#support-root{padding:14px 28px 28px}#support-root[hidden]{display:none}.support-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.support-toolbar input,.support-toolbar select{font-size:13px;min-height:38px}.support-toolbar .search input{width:260px;padding-left:12px}.support-count{font-size:12px;color:#7b8a9e;margin-left:auto}.support-connection{font-size:12px;color:#7b8a9e;margin:13px 0 22px}.support-connection.connected{color:#39846a}.support-board{display:grid;grid-template-columns:repeat(6,minmax(250px,1fr));gap:16px;overflow-x:auto;padding-bottom:16px}.support-column{min-width:0}.support-column h2{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;padding:0 5px 16px}.support-column h2 small{font-size:12px;font-weight:400;color:#8995a6}.support-stage-mark{height:15px;width:4px;border-radius:4px;background:#8799b4}.support-stage-mark.new{background:#739af3}.support-stage-mark.information{background:#e9af50}.support-stage-mark.working{background:#648ad9}.support-stage-mark.ready{background:#a18bd4}.support-stage-mark.testing{background:#bf8fce}.support-stage-mark.resolved{background:#4fa789}.support-ticket{display:flex;flex-direction:column;width:100%;text-align:left;background:#fff;border:1px solid #e1e7f0;border-radius:14px;padding:16px;margin-bottom:12px;box-shadow:0 3px 12px #26395408;gap:12px;transition:border-color 160ms,box-shadow 160ms}.support-ticket:hover{border-color:#9db5e2;box-shadow:0 4px 15px #26395412}.support-ticket-top,.support-ticket-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between}.support-ticket-top strong{font-size:12px;color:#6e819c;font-weight:500}.support-ticket-title{font-size:15px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.support-requester{font-size:12px;color:#7d8b9f;overflow-wrap:anywhere}.support-ticket-bottom{font-size:12px;color:#607087;flex-wrap:wrap}.support-ticket time{font-size:11px;color:#94a0b1}.support-priority{font-size:11px;border-radius:6px;padding:3px 6px;background:#f4f6f9;color:#7e8a9d}.support-priority.high{background:#fff1de;color:#a46a2e}.support-priority.urgent{background:#ffe9eb;color:#b64c5b}.support-empty{font-size:13px;color:#96a2b2;padding:12px 6px}.support-list{display:flex;flex-direction:column;gap:10px}.support-list .support-ticket{display:grid;grid-template-columns:130px minmax(180px,2fr) minmax(100px,1fr) minmax(100px,1fr);align-items:center;margin:0}.support-list .support-ticket time{grid-column:2}.support-dialog{width:min(800px,calc(100vw - 36px))}.support-dialog h2{font-size:20px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}.support-dialog-key{display:block;font-size:12px;color:#8493a9;margin-bottom:8px}.support-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.support-wide{grid-column:1/-1}.support-dialog .dialog-body{padding:20px 24px}.support-dialog .field{font-size:13px;color:#526681}.support-task-links{margin:18px 0;font-size:13px}.support-task-links summary,.support-history summary{cursor:pointer;color:#687e9e;padding:8px 0}.support-task-links .field{margin:12px 0}.support-task-links select{min-height:110px}.support-task-links .text-button{display:block}.support-created{font-size:12px;color:#8996a9;margin:18px 0}.support-conversation{margin:25px 0 18px}.support-conversation h3{font-size:15px;margin-bottom:16px}.support-message{background:white;border:1px solid #e1e8f1;border-radius:12px;padding:14px;margin:12px 0}.support-message.note{background:#fff9e8;border-color:#eee3bf}.support-message.system{background:#edf3fc;border-color:#e0e9f8}.support-message-heading{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:12px;color:#8996a9;margin-bottom:8px}.support-message-heading strong{font-size:13px;color:#415a7b;font-weight:600}.support-message-heading time{margin-left:auto}.support-message p{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.support-file{display:block;font-size:13px;margin-top:10px;overflow-wrap:anywhere}.support-file small{color:#8392a7}.support-delivery{display:block;color:#7388a5;font-size:11px;margin-top:12px}.support-delivery.sent{color:#3b8a70}.support-delivery.failed,.support-delivery.uncertain{color:#b24d4d}#support-compose{display:flex;flex-direction:column;gap:12px;border-top:1px solid #dfe7f2;padding-top:18px}#support-compose textarea{width:100%;line-height:1.6}#support-compose .button{align-self:flex-start}#support-send-hint{font-size:12px;line-height:1.5}.support-history{border-top:1px solid #dfe7f2;margin-top:26px;font-size:13px}.support-history .history-entry{margin-top:12px}.support-view .mode-label{visibility:hidden;pointer-events:none}.support-view .workspace-tools{display:none}.support-dialog{overscroll-behavior:contain}#support-error:empty{display:none}#support-error{line-height:1.6}
/* Full-height support columns, including empty space below the cards. */
#workspace-content:has(> #support-root:not([hidden]) #support-tickets-view:not([hidden]) .support-board){display:flex;flex-direction:column}
#support-root:not([hidden]):has(#support-tickets-view:not([hidden]) .support-board),#support-tickets-view:not([hidden]):has(.support-board){display:flex;flex-direction:column;flex:1 0 auto}
#support-tickets-view:has(.support-board)>:not(#support-results),.support-section-nav{flex-shrink:0}
#support-results:has(> .support-board){display:flex;flex-direction:column;flex:1}
.support-board{flex:1;align-items:stretch;min-height:260px}
.support-column{border-radius:10px;transition:background 150ms}
.support-column.support-drop-target{background:#e6eeff;outline:2px dashed #84adff}
.support-ticket.support-dragging{opacity:.35}
.support-drag-preview{position:fixed!important;z-index:1000;pointer-events:none;opacity:.9;box-shadow:0 14px 34px #25365330;transform:rotate(1deg)}
@media(max-width:800px){#support-root{padding:14px 16px 24px}.support-toolbar .search{width:100%}.support-toolbar .search input{width:100%}.support-toolbar select{flex:1;max-width:100%}.support-list .support-ticket{display:flex}.support-list .support-ticket-top{width:100%}.support-dialog .dialog-body{padding:16px}.support-dialog{width:calc(100vw - 16px)}.support-meta-grid{gap:10px}}

.support-list-status{display:block;font-size:12px;color:#42618d;margin-top:6px}
.support-attachment{min-width:0;margin-top:12px}.support-image-preview{display:block;width:100%;max-width:100%;height:auto;max-height:min(480px,65vh);object-fit:contain;object-position:left top;border:1px solid #e1e8f1;border-radius:10px;background:#f4f7fc}.support-image-preview[hidden]{display:none}.support-attachment .support-file{margin-top:7px}

.support-meta-grid>.field{min-width:0}.support-meta-grid input,.support-meta-grid select{width:100%}.support-dialog .task-heading>div{min-width:0;flex:1}
.support-toolbar .search{position:relative;overflow:visible}#support-search-results{position:absolute;left:0;top:calc(100% + 6px);width:min(520px,85vw);max-height:360px;overflow:auto;z-index:20;background:#fff;border:1px solid #cdd9ec;border-radius:12px;box-shadow:0 10px 28px #183b6e22;padding:5px}#support-search-results[hidden]{display:none}#support-search-results button{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;text-align:left;gap:4px 10px;padding:11px;border-radius:8px;border:0;background:transparent;color:#254267}#support-search-results button:hover,#support-search-results button[aria-selected=true]{background:#edf3ff}#support-search-results small{grid-column:2;color:#7c8da3}#support-search-results span{overflow-wrap:anywhere}#support-search-results p{padding:12px;color:#7c8da3}.support-confirm{width:min(660px,calc(100vw - 28px));max-height:85vh;overflow:auto}.support-confirm::backdrop{background:#24385470}.support-send-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7fc;border:1px solid #dce5f2;border-radius:12px;padding:16px;margin:18px 0;font-size:14px;line-height:1.6;max-height:35vh;overflow:auto}.support-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.support-confirm ul{overflow-wrap:anywhere}.support-confirm .dialog-body>p{line-height:1.6}

.support-ai-draft{border-top:1px solid #ecd99a;padding-top:12px;margin-top:12px}.support-ai-status{color:#6b7280;font-size:13px;margin:14px 0}.support-ai-status:empty{display:none}

.support-ai-sources{margin-bottom:10px}.support-ai-sources summary{cursor:pointer;color:#687e9e;font-size:13px;padding:4px 0;list-style:none;display:flex;align-items:center;gap:8px}.support-ai-sources summary::-webkit-details-marker{display:none}.support-ai-sources summary::before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform 240ms}.support-ai-sources[open]:not(.is-collapsing) summary::before{transform:rotate(45deg)}.support-ai-sources summary:focus-visible{outline:2px solid #739af3;outline-offset:3px;border-radius:3px}.support-ai-sources-body{padding:8px 0 2px}.support-ai-sources-body p+p{margin-top:6px}@media(prefers-reduced-motion:reduce){.support-ai-sources summary::before{transition:none}}
.support-meta-grid>.field>input,.support-meta-grid>.field>select{height:38px}.support-meta-grid>.coassignee-field{grid-column:auto}.support-meta-grid .coassignee-picker{border-radius:6px}.support-meta-grid .coassignee-picker>summary{min-height:36px;padding:8px 12px;font-size:13px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Support uses the task card frame, sections and fixed action bar. */
#support-dialog .task-heading-title h2{flex:1;min-width:0;font-size:21px;font-weight:550;line-height:1.45;padding:2px 0;margin:0}
#support-dialog .task-heading-title .task-id{font-size:12px;color:#8493a9}
#support-dialog .dialog-body{padding:18px 18px 12px}
#support-dialog .support-created{margin:0 5px 14px;color:#8290a5}
#support-dialog .task-section .field{font-size:12px;color:#68788e;gap:6px;font-weight:500}
#support-dialog .task-section input,#support-dialog .task-section select{font-size:14px;border-radius:9px;color:#25374e}
#support-dialog .support-meta-grid{gap:14px}
#support-dialog .support-meta-grid .coassignee-picker{border-radius:9px}
#support-dialog .support-meta-grid .coassignee-picker>summary{font-size:14px}
#support-dialog .support-actions{z-index:6}
#support-dialog .support-actions .support-ai-status{font-size:12px;line-height:1.5;margin:0 0 10px}
#support-dialog .support-actions .support-ai-status:empty{display:none}
#support-dialog .support-actions .support-delete{margin:0}
#support-dialog .support-conversation{margin:24px 6px 18px}
#support-dialog #support-compose,#support-dialog .support-history{margin-left:6px;margin-right:6px}
@media(max-width:700px){#support-dialog .dialog-body{padding:12px 10px}#support-dialog .task-heading-title h2{font-size:19px}#support-dialog .support-meta-grid{gap:10px}}

.support-toolbar .participant-filter{flex:0 1 200px;min-width:150px}.support-extra-filters{margin-top:12px}.support-extra-filters .field{flex:1;max-width:220px}.support-extra-filters .participant-filter{width:100%}.support-toolbar .participant-filter-panel>input{width:100%}
.participant-filter-choices label>span{min-width:0;overflow-wrap:anywhere}
#support-reset-filters{font-size:13px;margin:0 0 2px}
@media(max-width:800px){.support-toolbar .participant-filter{flex:1;min-width:150px}}

/* A read-only conversation journal alongside the existing ticket workspace. */
#support-tickets-view[hidden],#support-notes-view[hidden],#support-notes-view [hidden]{display:none}
.support-section-nav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 22px;padding:4px;border:1px solid #dce5f2;border-radius:12px;width:fit-content;background:#f0f4fa}
.support-section-button{border:0;border-radius:8px;background:transparent;padding:9px 14px;color:#647790;font-size:13px;font-weight:550;line-height:1.5;cursor:pointer}
.support-section-button[aria-pressed=true]{background:white;color:#315c9b;box-shadow:0 1px 5px #25365312}
.support-section-button:focus-visible,.support-chat-note-ticket:focus-visible{outline:2px solid #739af3;outline-offset:3px}
#support-notes-view{max-width:1000px}
.support-notes-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.support-notes-heading h2{margin:0 0 7px;font-size:19px;line-height:1.4;font-weight:550;color:#31465f}
.support-notes-heading p{margin:0;font-size:13px;line-height:1.65;color:#718199;max-width:640px}
.support-notes-heading>.button{flex-shrink:0}
.support-notes-caption{margin:16px 0;font-size:12px;color:#8190a5}
.support-notes-list{display:flex;flex-direction:column;gap:12px}
.support-chat-note{background:#fff;border:1px solid #e1e8f1;border-radius:12px;padding:16px 18px;min-width:0}
.support-chat-note-heading{display:flex;align-items:center;gap:9px 12px;flex-wrap:wrap;font-size:12px;color:#7d8b9f}
.support-chat-note-heading strong{font-size:13px;font-weight:550;color:#415a7b;overflow-wrap:anywhere;min-width:0}
.support-chat-note-heading time{margin-left:auto;font-size:12px;white-space:nowrap}
.support-chat-note-label{padding:4px 8px;border-radius:6px;font-size:11px;line-height:1.4;background:#f0f4fa;color:#647790}
.support-chat-note-label.gratitude{background:#eaf5ef;color:#357b5f}
.support-chat-note-label.clarification{background:#fff3dd;color:#986923}
.support-chat-note>p{margin:13px 0 0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#334962}
.support-chat-note-ticket{display:inline-block;margin-top:12px;font-size:12px;color:#426da8;text-underline-offset:3px}
.support-notes-status,.support-notes-error{margin:16px 0;font-size:13px;line-height:1.7}
.support-notes-status{color:#718199}.support-notes-error{color:#a54d4d}.support-notes-error .text-button{font-size:13px;margin-left:8px}
#support-notes-more{margin-top:18px}
#support-compose.support-compose-drop-active{background:#edf4ff;box-shadow:0 0 0 2px #83aaf6;border-radius:12px}
#support-compose.support-compose-drop-active textarea{border-color:#6e9aed;background:#f5f9ff}
#support-pending-files{display:flex;flex-direction:column;gap:7px}
#support-pending-files:empty{display:none}
.support-compose-drop-hint{font-size:12px;line-height:1.5;color:#7c8da5}
@media(max-width:600px){.support-section-nav{width:100%}.support-section-button{flex:1;padding:8px}.support-notes-heading{flex-wrap:wrap;gap:12px}.support-chat-note{padding:14px}.support-chat-note-heading time{margin-left:0}}
