.reply-tree{font-size:12px;margin:12px 0;min-width:0}.reply-tree-branch{border-top:1px solid var(--line);padding:4px 0}.reply-tree-branch>summary{display:list-item;cursor:pointer;padding:8px 3px;font-weight:650;overflow-wrap:anywhere}.reply-tree-branch>summary>small{margin-left:7px;color:var(--muted);font-size:10px;font-weight:500}.reply-tree-children{margin-left:8px;padding-left:9px;border-left:1px solid var(--line)}
.reply-tree-template{display:block;text-align:left;width:100%;padding:8px;border-radius:7px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.reply-tree-template:hover,.reply-tree-template:focus-visible{background:var(--blue-soft);color:var(--blue)}.reply-tree-template>small{display:block;font-size:9px;color:var(--muted);margin-top:3px}
.reply-group-actions{display:flex;gap:3px;align-items:center}.reply-group-actions>button{padding:6px 5px!important;font-size:10px!important;min-height:30px;border-radius:6px}.reply-group-actions>button:first-child{flex:1}.reply-group-actions>button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}.reply-group-actions>button:hover{background:var(--subtle)}.reply-tree-all{width:100%;display:flex;justify-content:space-between;background:var(--subtle);padding:10px;border-radius:8px;text-align:left}.reply-tree-all[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}
.support-knowledge-nav>.reply-tree{margin-top:14px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.support-knowledge-nav .reply-tree button{display:block}.support-knowledge-nav .reply-tree .reply-group-actions{display:flex}.support-knowledge-nav .reply-tree .reply-tree-all{display:flex}
[data-reply-group-field][hidden],[data-article-folder][hidden]{display:none}
.support-workspace .support-detail.history-collapsed{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}
.support-workspace .support-composer{box-sizing:border-box;min-width:0;background:var(--surface)}
.support-workspace .support-composer #support-reply{display:block;box-sizing:border-box;width:100%;min-height:80px;max-height:220px;resize:vertical;line-height:1.5;padding:12px;font-size:14px}
.support-workspace .support-message{box-sizing:border-box;width:88%;max-width:52rem;min-width:0}
.support-workspace .support-compose-footer{justify-content:space-between;align-items:center}
.support-workspace .support-composer .support-send{min-height:40px;min-width:140px}
.support-record-link{color:var(--blue);font:inherit;text-align:left;max-width:100%;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.support-record-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}
.chat-media-file{display:flex;flex-direction:column;gap:5px;color:var(--blue);padding:10px 12px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere;text-decoration:none}.chat-media-file small{font-size:11px;color:var(--muted)}
@media(max-width:1040px){.support-workspace .support-detail.history-collapsed{grid-template-columns:160px minmax(0,1fr)}.support-detail-toolbar>span{display:none}}
@media(max-width:760px){.support-workspace .support-composer #support-reply{font-size:16px;min-height:80px}.support-workspace .support-message{width:94%}}
.support-workspace .support-detail-toolbar{margin-bottom:10px}.support-detail-toolbar .button{min-height:34px;font-size:11px;padding:7px 10px}
.support-workspace .support-detail{grid-template-columns:minmax(150px,190px) minmax(300px,1fr) minmax(170px,210px);gap:12px;align-items:stretch;height:max(560px,calc(100dvh - 220px))}
.support-workspace .support-detail>aside{overflow:auto;padding:12px;min-height:0}.support-workspace .support-conversation{display:flex;flex-direction:column;min-height:0}.support-workspace .support-ticket-header{padding:12px 14px;flex-shrink:0;background:var(--surface)}
.support-workspace .support-ticket-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.support-workspace .support-ticket-title h2{font-size:15px;line-height:1.35;margin:0}.support-ticket-title .support-status{flex-shrink:0;max-width:135px;padding:3px 6px;font-size:9px}
.support-ticket-summary{display:flex;flex-wrap:wrap;gap:3px 12px;font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.support-ticket-summary>span:first-child{font-weight:600;color:var(--text)}
.support-workspace .support-ticket-actions{margin-top:8px;gap:6px;align-items:flex-start}.support-ticket-actions .button{padding:5px 9px;min-height:30px}.support-ticket-info{flex:1;font-size:11px;min-width:115px}.support-ticket-info>summary{padding:7px 4px;cursor:pointer;color:var(--muted)}.support-ticket-info[open]{flex-basis:100%}.support-workspace .support-meta{margin:6px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:11px}.support-meta dt{font-size:9px}
.support-workspace .support-messages{flex:1;min-height:180px;max-height:none;padding:16px;overflow:auto;background:var(--subtle)}.support-message{background:var(--surface)}.support-message p{font-size:13px}.support-workspace .support-composer{flex-shrink:0;padding:10px 12px}.support-workspace .support-composer textarea{min-height:68px;max-height:150px;font-size:13px}.support-compose-options{margin-bottom:7px}.support-compose-footer{margin-top:6px;gap:6px}.support-compose-footer .button{padding:6px 9px;min-height:32px}
.support-workspace .support-history{display:block;grid-column:auto}.support-history .support-search,.support-quick .support-search{min-width:0;max-width:none;flex:none;width:100%}.support-history .support-search input,.support-quick .support-search input{font-size:11px;padding:8px}.support-history .support-search .icon-btn,.support-quick .support-search .icon-btn{width:30px;flex-shrink:0}.support-history .support-search .icon,.support-quick .support-search .icon{width:16px;height:16px}.support-history-caption{font-size:10px!important;line-height:1.5;margin:9px 0!important}.support-workspace .support-history-item{width:100%;margin-top:9px;padding:10px;gap:6px}.support-history-pages{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:12px;font-size:10px}.support-history-pages .button{font-size:10px;padding:5px;min-height:30px}
.support-workspace .support-closed-at{display:block;font-size:11px;font-weight:750;line-height:1.5;color:var(--text);margin-top:5px}.support-workspace .support-closed-at time{font-size:inherit;font-weight:inherit;color:inherit}.support-history-item .support-closed-at{margin-top:0}.support-history-item .support-closed-at time{display:block}
@media(max-width:1040px){.support-workspace .support-detail{grid-template-columns:160px minmax(280px,1fr);height:auto}.support-workspace .support-conversation{height:max(560px,calc(100dvh - 210px))}.support-workspace .support-history{grid-column:1/-1;max-height:420px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.support-history>h2,.support-history>.support-search,.support-history>.support-history-caption,.support-history>.support-history-pages,.support-history>.support-error,.support-history>.support-empty{grid-column:1/-1}.support-workspace .support-history-item{margin:0}}
@media(max-width:760px){.support-workspace .support-detail{display:flex;height:auto}.support-workspace .support-conversation{height:max(560px,calc(100dvh - 165px))}.support-workspace .support-ticket-header{padding:10px 12px}.support-ticket-title .support-status{max-width:110px}.support-ticket-summary{font-size:11px}.support-ticket-actions .button,.support-ticket-info>summary{min-height:40px}.support-workspace .support-composer textarea{font-size:16px;min-height:64px;max-height:120px}.support-workspace .support-messages{padding:12px;min-height:160px}.support-message p{font-size:15px}.support-compose-footer .button{min-height:40px;width:auto;flex:1}.support-compose-options{font-size:10px}.support-workspace .support-history{display:block;max-height:500px}.support-workspace .support-history-item{margin-top:8px}.support-knowledge-nav{flex-wrap:wrap;overflow:visible}.support-knowledge-nav>.reply-tree{flex-basis:100%;width:100%;margin-top:8px}.reply-group-actions>button{min-height:40px}.reply-tree-template{font-size:13px;min-height:44px}.reply-tree-branch>summary{padding:12px 3px}}

/* Support workflow: one conversation canvas, compact composer and configurable views. */
.support-workspace .support-detail,.support-workspace .support-detail.history-collapsed{grid-template-columns:minmax(165px,210px) minmax(0,1fr)}
.support-workspace .support-quick{display:flex;flex-direction:column;max-height:calc(100dvh - 220px)}.support-quick-tree{overflow:auto;min-height:0}.support-template-add{margin-top:auto!important}
.support-workspace .support-message{width:min(92%,58rem);max-width:58rem;border-width:2px}.support-workspace .support-message.incoming{border-color:#17a86b}.support-workspace .support-message.outgoing{border-color:#226cea}
.support-history-inline{display:flex;flex-direction:column;gap:14px}.support-history-thread{display:flex;flex-direction:column;gap:12px;padding-bottom:18px;border-bottom:2px dashed var(--line)}.support-history-thread>header{position:sticky;top:-16px;z-index:1;display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:var(--surface);border:1px solid var(--line);border-radius:8px;font-size:11px}.support-history-empty,.support-current-thread{text-align:center;color:var(--muted);font-size:11px;padding:9px}.support-current-thread{border-bottom:1px solid var(--line);font-weight:650;color:var(--text)}
.support-project-state{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:7px;font-size:10px;font-weight:700;background:#fff0ea;color:#a34826}.support-project-state.active{background:#e8f8f1;color:#14734e}.support-unidentified{color:#a34826}
.support-compose-row{display:grid;grid-template-columns:auto minmax(120px,1fr) auto auto;align-items:end;gap:7px}.support-workspace .support-composer #support-reply{min-height:44px;max-height:120px;padding:10px 12px;resize:vertical}.support-send-mode select{height:42px;max-width:110px;padding:7px;font-size:10px}.support-workspace .support-composer .support-send{min-width:112px;height:42px}.support-compose-note{display:block;margin-top:5px;color:var(--muted);font-size:9px}.support-attachment-preview{margin-bottom:7px}.support-attach{width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--blue)}
.support-list{overflow:auto}.support-list-head,.support-list-row{display:grid;grid-template-columns:minmax(190px,2fr) repeat(var(--support-columns,7),minmax(105px,1fr));gap:12px;align-items:center;min-width:980px}.support-list-head{padding:9px 16px;background:var(--subtle);color:var(--muted);font-size:10px}.support-list-row{width:100%;padding:13px 16px;text-align:left;background:var(--surface);border-bottom:1px solid var(--line);font-size:11px}.support-list-row>strong{font-size:12px}
.support-view-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.support-view-settings fieldset,.open-line-reminders{border:1px solid var(--line);border-radius:10px;padding:14px}.support-view-settings legend,.open-line-reminders legend{font-weight:700}.support-view-settings .check-field{margin:10px 0}.open-line-reminder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}.open-line-reminder-grid label{display:grid;gap:4px;font-size:11px}.open-line-reminder-grid input{width:100%}
@media(max-width:760px){.support-compose-row{grid-template-columns:auto minmax(80px,1fr) auto}.support-send-mode{grid-column:2/4;grid-row:2}.support-send-mode select{max-width:none;width:100%}.support-workspace .support-composer .support-send{min-width:48px}.support-send span{display:none}.support-view-settings{grid-template-columns:1fr}.support-workspace .support-quick{max-height:none}}
