.support-case-workspace{margin:24px 0 32px;color:var(--ui-ink,#223043);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sc-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.sc-heading h3{font-size:26px;letter-spacing:-.8px;margin:8px 0}.sc-heading p,.sc-dialog p{color:var(--ui-ink-secondary,#718095);line-height:1.7}.sc-kicker{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--ui-ink-tertiary,#8190a4)}.sc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sc-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:26px 0}.sc-metrics>div{padding:0 22px;border-right:1px solid var(--ui-line,#e2e7ed)}.sc-metrics>div:first-child{padding-left:0}.sc-metrics>div:last-child{border:0}.sc-metrics span,.sc-metrics small{display:block;color:var(--ui-ink-secondary,#718095);font-size:12px}.sc-metrics strong{display:block;font-size:30px;margin:7px 0}.sc-panel{background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#e2e7ed);border-radius:14px;overflow:hidden}.sc-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--ui-line,#e2e7ed)}.sc-panel-heading h4{margin:0;font-size:16px}.sc-fresh{font-size:12px;color:var(--ui-ink-secondary,#718095)}.sc-toolbar{padding:16px 24px;display:flex;gap:12px;border-bottom:1px solid var(--ui-line,#e2e7ed)}.sc-toolbar label:first-child{flex:1;max-width:460px}.sc-toolbar input,.sc-toolbar select,.sc-dialog input:not([type=checkbox]),.sc-dialog textarea{box-sizing:border-box;width:100%;padding:11px 13px;border-radius:7px;border:1px solid var(--ui-line,#e2e7ed);background:var(--ui-surface,#fff);color:var(--ui-ink,#223043);font:inherit}.sc-case{display:flex!important;align-items:flex-start;gap:16px;text-align:left;width:100%;padding:22px 24px!important;background:transparent!important;color:var(--ui-ink,#223043)!important;border:0!important;border-bottom:1px solid var(--ui-line,#e2e7ed)!important;border-radius:0!important;box-shadow:none!important;font:inherit;cursor:pointer}.sc-case:hover{background:var(--ui-blue-soft,#edf3fe)!important}.sc-case>span:nth-child(2){flex:1;min-width:0}.sc-case strong{display:block;font-size:14px;overflow-wrap:anywhere}.sc-case small{display:block;color:var(--ui-ink-secondary,#718095);font-size:12px;margin-top:6px;overflow-wrap:anywhere}.sc-case-icon{display:grid;place-items:center;border-radius:8px;background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6);width:34px;height:34px;flex:none}.sc-status{display:inline-block;background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6);font-size:11px;padding:6px 9px;border-radius:6px;font-weight:600;white-space:nowrap}.sc-resolved{background:var(--ui-green-soft,#eaf6f0);color:var(--ui-green,#18745a)}.sc-empty{padding:24px;color:var(--ui-ink-secondary,#718095)}.sc-dialog{box-sizing:border-box;border:1px solid var(--ui-line,#e2e7ed);border-radius:16px;width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 36px);padding:28px;background:var(--ui-surface,#fff);color:var(--ui-ink,#223043);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;box-shadow:0 20px 80px #11223830}.sc-dialog::backdrop{background:#17283d66;backdrop-filter:blur(3px)}.sc-dialog .sc-heading{align-items:flex-start}.sc-dialog .sc-heading h3{font-size:23px;overflow-wrap:anywhere}.sc-dialog label{display:block;margin:18px 0 10px;font-weight:600}.sc-dialog input:not([type=checkbox]),.sc-dialog textarea{display:block;margin-top:8px}.sc-dialog textarea{min-height:105px;resize:vertical}.sc-dialog .sc-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px}.sc-dialog h4{margin:28px 0 14px;font-size:16px}.sc-dialog button,.support-case-workspace button,.sc-help-button{cursor:pointer}.sc-dialog button:focus-visible,.sc-case:focus-visible{outline:3px solid #76a8ff;outline-offset:-3px}.sc-dialog button:disabled{cursor:wait;opacity:.6}.sc-evidence{border-left:3px solid var(--ui-blue,#2768d6);padding:14px;background:var(--ui-surface-muted,#f3f5f7);font:12px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.sc-drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;border-radius:0;width:610px;max-width:100vw;padding:28px}.sc-kv{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--ui-line,#e2e7ed);font-size:13px}.sc-kv span{color:var(--ui-ink-secondary,#718095)}.sc-kv strong{text-align:right;overflow-wrap:anywhere;min-width:0}.sc-message{padding:16px 18px;margin:14px 0;border:1px solid var(--ui-line,#e2e7ed);border-radius:10px;background:var(--ui-surface-muted,#f3f5f7)}.sc-message p{white-space:pre-wrap;overflow-wrap:anywhere}.sc-message small,.sc-timeline small{display:block;color:var(--ui-ink-secondary,#718095);font-size:11px;overflow-wrap:anywhere}.sc-timeline{border-left:2px solid var(--ui-line,#e2e7ed);padding-left:16px}.sc-retention{font-size:11px;margin-top:26px}.sc-detail-message,.sc-form-message{color:var(--ui-red,#ba414e)!important}.sc-help-button{position:fixed;bottom:30px;right:24px;z-index:80;background:var(--ui-surface,#fff)!important;box-shadow:0 3px 18px #1c36501a!important;font-size:12px!important}.sc-dialog footer{margin-top:22px;justify-content:flex-end}@media(max-width:650px){.sc-heading{flex-direction:column;align-items:flex-start}.sc-heading h3{font-size:23px}.sc-panel-heading{align-items:flex-start;flex-direction:column}.sc-toolbar{flex-wrap:wrap;padding:16px}.sc-metrics>div{padding:0 12px}.sc-case{padding:18px 14px!important;gap:10px}.sc-case .sc-status{font-size:10px;white-space:normal;max-width:78px}.sc-dialog{padding:20px}.sc-dialog .sc-heading{flex-direction:row}.sc-help-button{bottom:18px;right:15px}.sc-metrics small{font-size:10px}}
.sc-tabs{display:flex;gap:22px;border-bottom:1px solid var(--ui-line,#e2e7ed);margin:24px 0;overflow:auto}.sc-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--ui-ink-secondary,#718095);padding:14px 0;white-space:nowrap;font:600 13px inherit;cursor:pointer}.sc-tabs button[aria-pressed=true]{border-bottom-color:var(--ui-blue,#2768d6);color:var(--ui-blue,#2768d6)}.sc-operation{padding:20px 24px;border-bottom:1px solid var(--ui-line,#e2e7ed);display:flex;align-items:center;justify-content:space-between;gap:18px}.sc-operation>div{min-width:0;overflow-wrap:anywhere}.sc-operation small{display:block;margin-top:7px;color:var(--ui-ink-secondary,#718095);font-size:12px}.sc-operational[hidden],.sc-panel[hidden]{display:none!important}@media(max-width:650px){.sc-operation{align-items:flex-start;flex-direction:column}}
.support-case-workspace,.sc-panel,.sc-heading,.sc-tabs,.sc-toolbar,.sc-toolbar label{min-width:0;max-width:100%}.support-case-workspace{width:100%}.sc-heading>div{min-width:0}.sc-toolbar input{min-width:0!important}.admin-console .support-case-workspace .sc-metrics{display:none}.admin-console .support-case-workspace .sc-heading h3{font-size:22px}

/* Customer inbox: intentionally separate from the administrator's casework. */
.sc-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;padding:2px 5px;margin-left:auto;border-radius:7px;background:#1766d6;color:#fff;font-size:11px;line-height:1.2;font-weight:700}
.sc-unread-badge[hidden]{display:none!important}
#appShell #btnSupport{position:relative}
#appShell #btnSupport>.sc-unread-badge{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin:0}
#appShell.is-sidebar-collapsed #btnSupport>.sc-unread-badge{right:0;top:0;transform:none;min-width:15px;min-height:15px;padding:1px 3px;font-size:9px}
.sc-customer .sc-case.sc-unread{background:var(--ui-blue-soft,#edf3fe)!important;border-left:3px solid var(--ui-blue,#2768d6)!important}
.sc-unread-label{display:inline-block;margin-left:6px;color:var(--ui-blue,#2768d6);font-size:11px;font-weight:600}
.sc-upload{padding:12px 0;border-top:1px solid var(--ui-line,#e2e7ed);border-bottom:1px solid var(--ui-line,#e2e7ed);margin:18px 0}
.sc-upload label{margin:0 0 8px}.sc-upload small{display:block;color:var(--ui-ink-secondary,#718095);font-size:11px}
.sc-upload-preview{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}.sc-upload-preview img{max-width:180px;max-height:120px;border:1px solid var(--ui-line,#e2e7ed);border-radius:8px;object-fit:contain}
.sc-upload-status{font-size:12px;overflow-wrap:anywhere}.sc-image-dialog{width:1000px}.sc-image-content{margin-top:18px}.sc-image-content img{display:block;width:100%;height:auto;object-fit:contain}
.sc-customer{margin:12px 0 56px}
.sc-customer-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}
.sc-customer-heading h2{margin:0 0 8px;font-size:28px;line-height:1.25;letter-spacing:-.8px;font-weight:700}
.sc-customer-heading p{margin:0;color:var(--ui-ink-secondary,#718095);font-size:14px}
.sc-customer .sc-new-request{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;min-height:42px;padding:10px 18px;border-radius:9px}
.sc-new-request>span{font-size:20px;line-height:1;font-weight:400}
.sc-customer-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:start}
.sc-customer-layout>*{min-width:0}
.sc-customer .sc-panel{border-radius:14px;box-shadow:0 3px 12px #142b4810}
.sc-customer .sc-panel-heading{padding:18px 22px;flex-direction:row;align-items:center}
.sc-customer .sc-panel-heading h3{margin:0;font-size:16px;letter-spacing:-.2px}
.sc-customer .sc-refresh{font-size:12px;min-height:34px;padding:7px 12px;box-shadow:none}
.sc-customer .sc-toolbar{padding:14px 22px;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sc-customer .sc-toolbar select[hidden]{display:none!important}
.sc-filters{display:flex;align-items:center;gap:3px;padding:3px;border-radius:9px;background:var(--ui-surface-muted,#f3f5f7);max-width:100%}
.sc-customer .sc-filters button{border:0;box-shadow:none;border-radius:7px;background:transparent;color:var(--ui-ink-secondary,#718095);font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;padding:9px 13px;min-height:34px;cursor:pointer}
.sc-customer .sc-filters button[aria-pressed=true]{background:#1766d6;color:#fff}
.sc-customer .sc-filters button:hover:not([aria-pressed=true]){background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6)}
.sc-customer .sc-filters button:focus-visible,.sc-customer a:focus-visible{outline:2px solid var(--ui-blue,#2768d6);outline-offset:3px}
.sc-customer .sc-search{flex:1 1 180px;max-width:280px}
.sc-customer .sc-search input{font-size:13px;padding:10px 12px;height:40px}
.sc-customer .sc-case{align-items:center;padding:22px!important;gap:14px;min-height:98px}
.sc-customer .sc-case:last-child{border-bottom:0!important}
.sc-customer .sc-case-icon{width:38px;height:38px;border:1px solid var(--ui-line,#e2e7ed);background:var(--ui-surface-muted,#f3f5f7);color:var(--ui-ink-secondary,#718095);border-radius:10px}
.sc-customer svg{width:22px;height:22px;display:block}
.sc-customer .sc-case strong{font-size:14px;line-height:1.5}
.sc-customer .sc-case small{font-size:11px;line-height:1.6;margin-top:5px}
.sc-customer .sc-case small span{padding:0 4px}
.sc-customer .sc-status{font-size:11px;border-radius:6px;padding:5px 9px;white-space:normal;max-width:120px;text-align:center;flex-shrink:0}
.sc-row-arrow{color:var(--ui-ink-tertiary,#8190a4);font-size:18px}
.sc-list-footer{padding:13px 22px;border-top:1px solid var(--ui-line,#e2e7ed);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--ui-ink-secondary,#718095);font-size:11px;background:var(--ui-surface-muted,#f3f5f7)}
.sc-list-footer .sc-fresh{font-size:11px;overflow-wrap:anywhere}
.sc-help-panel{padding:8px 0}
.sc-help-panel h3{margin:0 0 12px;font-size:14px}
.sc-customer .sc-resource{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--ui-line,#e2e7ed);color:var(--ui-ink,#223043);text-decoration:none;cursor:pointer}
.sc-resource strong{display:block;font-size:13px;font-weight:600}
.sc-resource small{display:block;font-size:12px;line-height:1.6;margin-top:5px;color:var(--ui-ink-secondary,#718095)}
.sc-resource>span:last-child{color:var(--ui-blue,#2768d6)}
.sc-resource:hover strong{text-decoration:underline;text-underline-offset:4px;color:var(--ui-blue,#2768d6)}
.sc-help-note{padding:20px 0}
.sc-help-note h4{font-size:13px;margin:0 0 8px}
.sc-help-note p{font-size:12px;line-height:1.8;margin:0 0 10px;color:var(--ui-ink-secondary,#718095)}
.sc-help-note small{font-size:11px;line-height:1.7;display:block;color:var(--ui-ink-secondary,#718095)}
.sc-customer .sc-email{font-size:12px;line-height:1.8;color:var(--ui-ink-secondary,#718095);text-decoration:none}
.sc-email span{display:block;color:var(--ui-blue,#2768d6);font-weight:600}
.sc-email:hover span{text-decoration:underline}
.sc-empty-state{padding:48px 24px 52px;text-align:center}
.sc-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6);border-radius:15px}
.sc-empty-state h4{font-size:17px;margin:0 0 9px;letter-spacing:-.3px}
.sc-empty-state p{max-width:350px;margin:0 auto 20px;font-size:13px;line-height:1.8;color:var(--ui-ink-secondary,#718095)}
.sc-empty-state button{font-size:13px}
@media(max-width:1100px){.sc-customer-layout{grid-template-columns:minmax(0,1fr)}.sc-help-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.sc-help-panel h3{grid-column:1/-1}.sc-help-note{padding-bottom:0}.sc-email{align-self:center}}
@media(max-width:650px){.sc-customer-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:22px}.sc-customer-heading h2{font-size:24px}.sc-customer-heading p{font-size:13px;line-height:1.7}.sc-customer .sc-panel-heading{padding:16px}.sc-customer .sc-toolbar{padding:12px 16px}.sc-customer .sc-search{max-width:none;flex-basis:100%}.sc-customer .sc-filters{width:100%}.sc-customer .sc-filters button{flex:1;padding:9px 7px}.sc-customer .sc-case{display:grid!important;grid-template-columns:30px minmax(0,1fr);gap:8px 12px;padding:18px 16px!important}.sc-customer .sc-case-icon{width:30px;height:30px;align-self:start}.sc-customer .sc-status{grid-column:2;justify-self:start;max-width:none}.sc-row-arrow{display:none}.sc-list-footer{padding:12px 16px}.sc-help-panel{display:block}.sc-help-note{padding:20px 0}.sc-empty-state{padding:32px 18px}.sc-customer-layout{gap:24px}}
.sc-chat-drawer{width:740px}.sc-chat-drawer>.sc-heading{position:sticky;top:-28px;background:var(--ui-surface,#fff);z-index:1;padding:12px 0;border-bottom:1px solid var(--ui-line,#e2e7ed);margin-bottom:16px}.sc-chat-summary{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--ui-ink-secondary,#718095)}.sc-request-details{margin:16px 0;padding:12px 0;border-bottom:1px solid var(--ui-line,#e2e7ed)}.sc-request-details>summary,.sc-chat-attach>summary{cursor:pointer;color:var(--ui-ink-secondary,#718095);font-size:12px}.sc-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.sc-chat-heading h4{margin:0}.sc-chat-heading span{font-size:11px;color:var(--ui-ink-secondary,#718095)}.sc-chat-thread{display:flex;flex-direction:column;gap:16px;max-height:44dvh;min-height:160px;overflow:auto;overscroll-behavior:contain;padding:16px 10px;background:var(--ui-surface-muted,#f3f5f7);border-radius:12px}.sc-chat-message{max-width:85%;min-width:140px;margin:0;padding:12px 15px;background:var(--ui-surface,#fff);border-radius:14px 14px 14px 4px;align-self:flex-start}.sc-chat-message strong{font-size:11px;display:block;overflow-wrap:anywhere}.sc-chat-message p{margin:8px 0;color:var(--ui-ink,#223043);line-height:1.6}.sc-chat-own{align-self:flex-end;background:var(--ui-blue-soft,#edf3fe);border-radius:14px 14px 4px 14px;border-color:var(--ui-blue-soft,#edf3fe)}.sc-chat-message small{font-size:10px}.sc-chat-composer{margin-top:12px;padding:14px;border:1px solid var(--ui-line,#e2e7ed);border-radius:12px;background:var(--ui-surface,#fff)}.sc-chat-composer label{margin:0;font-size:12px}.sc-chat-composer textarea{min-height:76px;max-height:180px}.sc-chat-attach{margin-top:12px}.sc-chat-send{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px}.sc-chat-send small{font-size:11px;color:var(--ui-ink-secondary,#718095);max-width:65%}.sc-chat-send button{white-space:nowrap}.sc-chat-composer .sc-upload{margin-top:12px}@media(max-width:650px){.sc-chat-drawer>.sc-heading{top:-20px}.sc-chat-message{max-width:92%}.sc-chat-heading span{display:none}.sc-chat-thread{max-height:40dvh}.sc-chat-send{gap:8px}}
.sc-studio .sc-customer-layout{display:block}.sc-studio-layout{display:grid;grid-template-columns:290px minmax(0,1fr);height:clamp(620px,76dvh,940px);border:1px solid var(--ui-line,#e2e7ed);border-radius:14px;background:var(--ui-surface,#fff);overflow:hidden;box-shadow:0 8px 30px #1b293c05}.sc-studio-layout[hidden]{display:none}.sc-studio-layout>.sc-panel{border:0;border-radius:0;border-right:1px solid var(--ui-line,#e2e7ed);display:flex;flex-direction:column;min-height:0;min-width:0}.sc-studio .sc-panel-heading{padding:20px 18px;gap:10px;flex-direction:row;align-items:center}.sc-studio .sc-panel-heading h3,.sc-studio .sc-panel-heading h4{font-size:14px}.sc-studio .sc-toolbar{padding:12px 16px;flex-wrap:wrap;gap:10px}.sc-studio .sc-toolbar label,.sc-studio .sc-search{max-width:none;width:100%;flex-basis:100%}.sc-studio .sc-toolbar input,.sc-studio .sc-toolbar select{width:100%;font-size:12px}.sc-studio .sc-filters{width:100%;display:flex}.sc-studio .sc-filters button{flex:1;font-size:11px}.sc-studio .sc-list{overflow:auto;flex:1;min-height:0}.sc-studio .sc-case{display:flex!important;flex-wrap:wrap;gap:8px;padding:20px!important;position:relative}.sc-studio .sc-case>span:nth-child(2){flex-basis:100%}.sc-studio .sc-case-icon,.sc-studio .sc-row-arrow{display:none}.sc-studio .sc-case strong{font-size:12px}.sc-studio .sc-case small{font-size:10px;line-height:1.7}.sc-studio .sc-case[aria-pressed=true]{background:var(--ui-blue-soft,#edf3fe)!important}.sc-studio .sc-case[aria-pressed=true]:before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:3px;background:var(--ui-blue,#2768d6);border-radius:0 3px 3px 0}.sc-studio .sc-case .sc-status{font-size:10px;max-width:none;padding:3px 7px}.sc-studio .sc-list-footer{display:block;padding:14px 18px;font-size:10px}.sc-studio .sc-list-footer>span{display:block}.sc-studio-layout>.sc-drawer{position:relative;inset:auto;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;width:100%;height:100%;max-width:none;max-height:none;min-width:0;overflow:hidden;grid-column:2;grid-row:1}.sc-studio-layout>.sc-drawer[open]{display:flex;flex-direction:column}.sc-studio-layout>.sc-drawer:not([open]){display:none}.sc-studio .sc-drawer>.sc-heading{position:static;flex:none;display:flex;flex-direction:row;align-items:center;gap:10px;margin:0;padding:20px 26px;border-bottom:1px solid var(--ui-line,#e2e7ed);background:var(--ui-surface,#fff)}.sc-studio .sc-drawer>.sc-heading>div{flex:1;min-width:0}.sc-studio .sc-drawer>.sc-heading h3{font-size:17px;margin:3px 0;letter-spacing:-.5px}.sc-studio .sc-kicker{font-size:9px;letter-spacing:1px}.sc-studio .sc-details-toggle{order:1;font-size:11px}.sc-studio .sc-drawer>.sc-heading>[data-close]{order:2;padding:6px 10px}.sc-studio .sc-detail{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 26px 18px}.sc-studio .sc-chat-summary{flex:none;padding:13px 0;font-size:10px}.sc-studio .sc-chat{display:flex;flex:1;flex-direction:column;min-height:0}.sc-studio .sc-chat-heading{display:none}.sc-studio .sc-chat-thread{flex:1;min-height:100px;max-height:none;gap:20px;background:transparent;border-radius:0;padding:18px 6px;scrollbar-width:thin}.sc-studio .sc-chat-message{background:var(--ui-surface-muted,#f3f5f7);max-width:80%;padding:13px 17px;flex-shrink:0}.sc-studio .sc-chat-message p{font-size:13px;line-height:1.8}.sc-studio .sc-chat-message strong{font-size:10px}.sc-studio .sc-chat-message small{font-size:9px}.sc-studio .sc-chat-own{background:#2766eb;color:#fff;border-color:#2766eb}.sc-studio .sc-chat-own p,.sc-studio .sc-chat-own small,.sc-studio .sc-chat-own strong{color:#fff}.sc-studio .sc-chat-own small{opacity:.8}.sc-studio .sc-chat-composer{flex:none;margin:12px 0 0;padding:13px 15px;border-radius:12px;max-height:48%;overflow:auto;box-shadow:0 4px 18px #17283d04}.sc-studio .sc-chat-composer textarea{min-height:65px;border:0;padding:6px 0;box-shadow:none;resize:vertical;font-size:13px}.sc-studio .sc-chat-composer:focus-within{border-color:#9abafb}.sc-studio .sc-chat-composer label{font-size:11px}.sc-studio .sc-chat-send{gap:10px}.sc-studio .sc-chat-send small{font-size:10px}.sc-studio .sc-chat-send button{font-size:12px}.sc-studio .sc-detail-message{flex:none;margin:0;padding:0 26px 12px;font-size:12px}.sc-studio .sc-detail-message:empty{display:none}.sc-studio .sc-request-details{display:none}.sc-studio .sc-request-details[open]{display:block;position:absolute;z-index:3;right:0;top:0;bottom:0;width:310px;max-width:100%;margin:0;padding:24px;background:var(--ui-surface,#fff);border:0;border-left:1px solid var(--ui-line,#e2e7ed);box-shadow:-16px 0 40px #17283d12;overflow:auto}.sc-studio .sc-request-details>summary{font-size:14px;font-weight:600;color:var(--ui-ink,#223043);padding-bottom:16px}.sc-studio .sc-kv{font-size:11px;gap:12px}.sc-studio .sc-request-details h4{font-size:12px}.sc-studio .sc-request-details p{font-size:11px}.sc-studio .sc-details-close{margin-top:20px}.sc-studio-welcome{grid-column:2;grid-row:1;align-self:center;text-align:center;padding:30px;color:var(--ui-ink-secondary,#718095)}.sc-studio-welcome svg{width:42px;height:42px;color:var(--ui-blue,#2768d6)}.sc-studio-welcome h3{font-size:18px;color:var(--ui-ink,#223043);letter-spacing:-.5px}.sc-studio-welcome p{font-size:12px}.sc-studio-layout:has(>.sc-drawer[open])>.sc-studio-welcome{display:none}.sc-studio .sc-help-panel{display:flex;align-items:center;gap:24px;border:0;padding:18px 0;margin:0;flex-wrap:wrap}.sc-studio .sc-help-panel h3,.sc-studio .sc-help-note{display:none}.sc-studio .sc-resource{flex:1;min-width:160px;padding:10px 0}.sc-studio .sc-resource strong{font-size:12px}.sc-studio .sc-resource small{font-size:10px}.sc-studio .sc-email{font-size:11px}.sc-studio .sc-composer-modes{display:flex;gap:5px;order:-1;padding:12px 0 0;flex:none}.sc-studio .sc-composer-modes button{padding:6px 11px;font-size:11px;border-radius:6px;color:var(--ui-ink-secondary,#718095)}.sc-studio .sc-composer-modes button[aria-pressed=true]{background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6)}.sc-studio .sc-private-panel{display:none}.sc-studio .sc-note-mode .sc-chat{display:none}.sc-studio .sc-note-mode .sc-private-panel{display:flex;flex-direction:column;flex:1;min-height:0}.sc-studio .sc-private-panel h4{font-size:13px;margin:12px 0}.sc-studio .sc-private-thread{flex:1;min-height:40px;overflow:auto}.sc-studio .sc-private-thread .sc-message{border-left:3px solid #bf943d;background:var(--ui-surface-muted,#f3f5f7)}.sc-studio [data-form=note]{flex:none;padding:14px;border:1px solid #bf943d66;border-radius:10px;max-height:48%;overflow:auto}.sc-studio [data-form=note] label{margin:0 0 10px;font-size:11px}.sc-studio [data-form=note] textarea{min-height:70px}.sc-studio .sc-fresh{font-size:10px}.sc-studio .sc-panel-heading>.sc-fresh{max-width:110px}.sc-studio .sc-metrics{margin:16px 0}.sc-studio .sc-metrics strong{font-size:24px}@media(max-width:1100px){.sc-studio-layout{grid-template-columns:245px minmax(0,1fr)}.sc-studio .sc-detail{padding:0 16px 16px}.sc-studio .sc-drawer>.sc-heading{padding:18px 16px}.sc-studio .sc-chat-message{max-width:90%}}@media(max-width:760px){.sc-studio-layout{display:block;height:calc(100dvh - 210px);min-height:540px;position:relative}.sc-studio-layout>.sc-panel{height:100%;border:0}.sc-studio-layout>.sc-drawer[open]{position:absolute;inset:0;z-index:1;background:var(--ui-surface,#fff)}.sc-studio-welcome{display:none}.sc-studio-layout:has(>.sc-drawer[open])>.sc-panel{visibility:hidden}.sc-studio .sc-chat-message{max-width:92%}.sc-studio .sc-drawer>.sc-heading h3{font-size:15px}.sc-studio .sc-request-details[open]{width:100%}.sc-studio .sc-case>span:nth-child(2){flex-basis:100%}.sc-studio .sc-help-panel{gap:12px}.sc-studio .sc-detail-message{padding:0 16px 10px}}
.sc-studio .sc-sync-state{display:block;color:var(--ui-ink-secondary,#718095);font-size:10px;font-weight:400;line-height:1.5}
.sc-studio .sc-chat-thread{gap:26px;padding:24px 6px}
.sc-studio .sc-chat-message{display:flex;align-items:flex-start;gap:12px;max-width:94%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ui-ink,#223043)}
.sc-studio .sc-chat-own{flex-direction:row-reverse}
.sc-studio .sc-chat-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6);font-size:10px;font-weight:700}
.sc-studio .sc-chat-content{min-width:0;max-width:100%}
.sc-studio .sc-chat-byline{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:2px 0 9px}
.sc-studio .sc-chat-own .sc-chat-byline{justify-content:flex-end}
.sc-studio .sc-chat-byline strong{font-size:11px;color:var(--ui-ink,#223043)}
.sc-studio .sc-chat-byline time{font-size:10px;color:var(--ui-ink-secondary,#718095)}
.sc-studio .sc-chat-bubble p{margin:0;font-size:13px;line-height:1.85;color:var(--ui-ink,#223043)}
.sc-studio .sc-chat-own .sc-chat-bubble{background:var(--ui-surface-muted,#f3f5f7);border:1px solid var(--ui-line,#e2e7ed);border-radius:12px 3px 12px 12px;padding:14px 18px}
.sc-studio .sc-chat-bubble [data-attachment]{margin-top:10px;font-size:11px}
.sc-studio .sc-composer-modes{order:initial;padding:14px 0 0;margin:0 0 8px;flex-shrink:0}
.sc-studio .sc-chat-composer{margin-top:10px;padding:16px 18px;border-radius:12px}
.sc-studio .sc-composer-modes+.sc-chat-composer{margin-top:0}
.sc-studio .sc-chat-composer>label{font-size:0}
.sc-studio .sc-chat-composer textarea{font-size:13px;min-height:82px;margin-top:0;line-height:1.7}
.sc-studio .sc-chat-send{margin-top:14px}
.sc-studio .sc-chat-send .btn{background:#25354c!important;border-color:#25354c!important;color:#fff!important;border-radius:8px;padding:10px 17px;box-shadow:none}
.sc-studio .sc-chat-send .btn:hover{background:#345073!important}
@media(max-width:760px){.sc-studio .sc-chat-thread{gap:22px;padding:18px 0}.sc-studio .sc-chat-message{gap:8px;max-width:100%}.sc-studio .sc-chat-avatar{width:25px;height:25px;font-size:9px}.sc-studio .sc-chat-own .sc-chat-bubble{padding:11px 13px}.sc-studio .sc-chat-bubble p{font-size:12px}.sc-studio .sc-chat-byline{gap:7px}.sc-studio .sc-chat-composer{padding:12px}.sc-studio .sc-chat-byline time{font-size:9px}}
.sc-inbox-popup{width:min(1360px,94vw);height:min(860px,90dvh);max-width:94vw;max-height:90dvh;padding:0;border:1px solid var(--ui-line,#e2e7ed);border-radius:16px;background:var(--ui-surface,#fff);color:var(--ui-ink,#223043);box-shadow:0 25px 100px #14243840;overflow:hidden}
.sc-inbox-popup::backdrop{background:#13233d66;backdrop-filter:blur(4px)}
.sc-inbox-popup[open]{display:flex;flex-direction:column}
.sc-popup-header{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid var(--ui-line,#e2e7ed);flex:none;font-size:14px}
.sc-popup-header button{padding:5px 11px;font-size:18px;cursor:pointer}
.sc-inbox-popup .support-case-workspace{margin:0;padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
.sc-inbox-popup .sc-customer-heading,.sc-inbox-popup #supportCaseWorkspace>.sc-heading{margin:0;padding:10px 18px;flex-direction:row;justify-content:flex-end;gap:10px;flex:none}
.sc-inbox-popup .sc-customer-heading>div,.sc-inbox-popup #supportCaseWorkspace>.sc-heading>div:first-child,.sc-inbox-popup .sc-help-panel,.sc-inbox-popup .sc-metrics{display:none}
.sc-inbox-popup .sc-customer-layout{flex:1;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0}
.sc-inbox-popup .sc-studio-layout{height:auto;min-height:0;flex:1;border:0;border-radius:0;box-shadow:none;grid-template-columns:270px minmax(0,1fr)}
.sc-inbox-popup .sc-panel-heading{padding:16px}.sc-inbox-popup .sc-toolbar{padding:10px 14px;gap:8px}
.sc-inbox-popup .sc-case{padding:15px 17px!important}.sc-inbox-popup .sc-case small{font-size:10px}
.sc-inbox-popup .sc-drawer>.sc-heading{padding:17px 24px}.sc-inbox-popup .sc-drawer>.sc-heading h3{font-size:17px}
.sc-inbox-popup .sc-chat-thread{padding:18px 10px}.sc-inbox-popup .sc-chat-composer{padding:12px 15px;box-shadow:0 3px 16px #25364c04}
.sc-inbox-popup .sc-chat-composer textarea{min-height:48px;max-height:120px;border:0!important;background:transparent!important;outline-offset:1px;box-shadow:none!important;padding:5px 0!important}
.sc-inbox-popup .sc-chat-composer>label{font-size:0!important}.sc-inbox-popup .sc-chat-attach{margin-top:6px}.sc-inbox-popup .sc-chat-attach>summary{box-shadow:none;background:none;font-size:11px}
.sc-inbox-popup .sc-chat-send{margin-top:8px}.sc-inbox-popup .sc-chat-send .btn{background:#2867eb!important;border-color:#2867eb!important}.sc-inbox-popup .sc-chat-send .btn:disabled{background:var(--ui-surface-muted,#f3f5f7)!important;border-color:var(--ui-line,#e2e7ed)!important;color:var(--ui-ink-secondary,#718095)!important;cursor:default}
.sc-inbox-popup .sc-tabs{margin:0;padding:0 18px;flex:none}.sc-inbox-popup .sc-operational{overflow:auto;min-height:0}
.sc-inbox-launcher{padding:26px 0;color:var(--ui-ink,#223043)}.sc-inbox-launcher p{color:var(--ui-ink-secondary,#718095)}
#appToolbarInbox{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;cursor:pointer}
#appToolbarInbox svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.sc-header-badge{position:absolute;top:-5px;right:-5px;background:#2766eb;color:white;font-size:10px;line-height:18px;min-width:18px;padding:0 4px;text-align:center;border-radius:10px;border:2px solid var(--ui-surface,#fff)}.sc-header-badge[hidden]{display:none}
/* The conversation must fill the grid, not shrink to its message contents. */
#appShell .sc-inbox-popup .sc-studio-layout{width:100%;align-self:stretch}
#appShell .sc-inbox-popup .sc-popup-header{position:absolute;right:16px;top:16px;z-index:4;padding:0;border:0}
#appShell .sc-inbox-popup .sc-popup-header strong{display:none}
#appShell .sc-inbox-popup .sc-customer-heading{display:none}
#appShell .sc-inbox-popup .sc-drawer>.sc-heading{padding:24px 76px 22px 28px;min-height:108px}
#appShell .sc-inbox-popup .sc-panel-heading{padding:24px 18px 16px;border:0;min-height:76px}
#appShell .sc-inbox-popup .sc-new-request{min-width:30px;padding:4px 9px;background:var(--ui-blue-soft,#edf3fe);color:var(--ui-blue,#2768d6);border:0;border-radius:8px;font-size:22px;box-shadow:none}
#appShell .sc-inbox-popup .sc-search input{background:var(--ui-surface-muted,#f3f5f7);border:1px solid transparent;border-radius:9px;padding:12px}
#appShell .sc-inbox-popup .sc-list{padding:12px}
#appShell .sc-inbox-popup .sc-case{border:0!important;border-radius:10px!important;margin-bottom:8px;padding:15px 12px!important}
#appShell .sc-inbox-popup .sc-case[aria-pressed=true]:before{display:none}
#appShell .sc-inbox-popup .sc-chat-own .sc-chat-bubble{background:var(--ui-blue-soft,#edf3fe);border-color:transparent}
#appShell .sc-inbox-popup .sc-detail{padding:0 28px 22px}
#appShell .sc-inbox-popup .sc-chat-thread{padding:20px 8px;gap:28px}
#appShell .sc-inbox-popup .sc-list-footer .sc-refresh{margin-top:8px;font-size:11px;padding:5px 10px}
#appShell .sc-inbox-popup .sc-tabs{padding-right:76px}
#appShell .sc-inbox-popup #supportCaseWorkspace>.sc-heading{padding-right:76px}
@media(max-width:760px){#appShell .sc-inbox-popup .sc-drawer>.sc-heading{padding:18px 66px 18px 16px}#appShell .sc-inbox-popup .sc-panel-heading{padding-right:70px}#appShell .sc-inbox-popup .sc-detail{padding:0 16px 16px}}
@media(max-width:760px){.sc-inbox-popup{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;inset:0}.sc-inbox-popup .sc-studio-layout{display:block;position:relative;min-height:0}.sc-inbox-popup .sc-customer-layout{display:flex}.sc-inbox-popup .sc-drawer>.sc-heading{padding:14px}.sc-inbox-popup .sc-popup-header{padding:12px 16px}.sc-inbox-popup .sc-chat-thread{padding:15px 0}}

/* Inbox 05: quiet conversation rail, viewer-relative bubbles, compact composer. */
#appShell .sc-inbox-popup{width:min(1380px,94vw);height:min(850px,90dvh);border-radius:20px;box-shadow:0 32px 100px #24334d26}
#appShell .sc-inbox-popup::backdrop{background:#52617b55;backdrop-filter:blur(8px)}
#appShell .sc-inbox-popup .sc-studio-layout{grid-template-columns:300px minmax(0,1fr)}
#appShell .sc-inbox-popup .sc-studio-layout>.sc-panel{background:var(--ui-surface-muted,#f5f7fa);box-shadow:none}
#appShell .sc-inbox-popup .sc-panel-heading{padding:26px 26px 20px;min-height:80px}
#appShell .sc-inbox-popup .sc-panel-heading :is(h3,h4){font-size:22px;letter-spacing:-.8px}
#appShell .sc-inbox-popup .sc-loaded-count{font-size:11px;color:var(--ui-ink-secondary,#7b899c);letter-spacing:0;margin-left:8px;font-weight:400;vertical-align:middle}
#appShell .sc-inbox-popup .sc-member-email{display:block;margin-top:6px;font-size:11px;color:var(--ui-ink-secondary,#7b899c);overflow-wrap:anywhere}
#appShell .sc-dialog .sc-request-type{min-width:0;border:0;padding:0;margin:16px 0;background:transparent}
#appShell .sc-dialog .sc-request-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;background:var(--ui-surface-muted,#f3f5f7);border-radius:12px}
.sc-request-type legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#appShell .sc-dialog .sc-request-type label{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:44px;text-align:center;margin:0;padding:10px 8px;border-radius:8px;cursor:pointer;font-size:13px;line-height:1.4}
.sc-dialog .sc-request-type input[type=radio]{position:absolute;opacity:0;width:1px;min-height:0;height:1px;padding:0;margin:0}
#appShell .sc-dialog .sc-request-type label:has(:checked){background:#1671ec;color:#fff}
.sc-request-type label:has(:focus-visible){outline:3px solid #80b5ff;outline-offset:2px}
.sc-request-type label:has(:disabled){opacity:.6;cursor:wait}
#appShell .sc-inbox-popup .sc-new-request{background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#e9edf3);color:var(--ui-ink,#253247);border-radius:9px}
#appShell .sc-inbox-popup .sc-toolbar{padding:0 16px 18px;border-bottom:0;gap:14px}
#appShell .sc-inbox-popup .sc-search input{background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#e9edf3);font-weight:400;padding:10px 12px}
#appShell .sc-inbox-popup .sc-filters{background:transparent;padding:0;gap:3px}
#appShell .sc-inbox-popup .sc-filters button{background:transparent!important;color:var(--ui-ink-secondary,#7b899c)!important;border:0!important;box-shadow:none!important;padding:6px;min-height:30px;font-weight:400}
#appShell .sc-inbox-popup .sc-filters button[aria-pressed=true]{background:var(--ui-surface,#fff)!important;color:var(--ui-ink,#253247)!important;box-shadow:0 2px 5px #1d2e4b08!important;font-weight:600}
#appShell .sc-inbox-popup .sc-list{padding:0 16px}
#appShell .sc-inbox-popup .sc-case{padding:15px 13px!important;border:1px solid transparent!important;border-radius:11px!important;gap:7px}
#appShell .sc-inbox-popup .sc-case[aria-pressed=true]{background:var(--ui-surface,#fff)!important;border-color:var(--ui-line,#e9edf3)!important;box-shadow:0 3px 12px #1d2e4b06!important}
#appShell .sc-inbox-popup .sc-case strong{font-size:12px;line-height:1.6}
#appShell .sc-inbox-popup .sc-case small{font-size:10px;font-weight:400;line-height:1.6}
#appShell .sc-inbox-popup .sc-list-footer{background:transparent;border:0;padding:18px 26px;color:var(--ui-ink-secondary,#7b899c)}
#appShell .sc-inbox-popup .sc-drawer>.sc-heading{padding:26px 78px 23px 32px;min-height:108px}
#appShell .sc-inbox-popup .sc-drawer>.sc-heading h3{font-size:21px;line-height:1.35;letter-spacing:-.7px;margin:9px 0 0}
#appShell .sc-inbox-popup .sc-kicker{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.4px}
#appShell .sc-inbox-popup .sc-kicker .sc-status{letter-spacing:0;font-size:9px;padding:3px 7px}
#appShell .sc-inbox-popup .sc-details-toggle{padding:7px 11px;font-size:11px}
#appShell .sc-inbox-popup :is(.sc-details-toggle,.sc-details-close,.sc-popup-header button,.sc-drawer>.sc-heading>[data-close],.sc-refresh){background:var(--ui-surface,#fff)!important;color:var(--ui-ink,#253247)!important;border:1px solid var(--ui-line,#e9edf3)!important;box-shadow:none!important}
#appShell .sc-inbox-popup .sc-popup-header{top:26px;right:22px}
#appShell .sc-inbox-popup .sc-popup-header button{width:32px;height:32px;padding:0;display:grid;place-items:center;border-radius:9px;font-size:18px}
#appShell .sc-inbox-popup .sc-detail{padding:0 clamp(24px,5vw,70px) 23px}
#appShell .sc-inbox-popup .sc-chat-thread{padding:26px 0 12px;gap:25px}
#appShell .sc-inbox-popup .sc-chat-message{max-width:94%;gap:12px}
#appShell .sc-inbox-popup .sc-chat-avatar{width:29px;height:29px;border-radius:10px;font-size:10px}
#appShell .sc-inbox-popup .sc-chat-own .sc-chat-avatar{background:var(--ui-surface-muted,#f5f7fa);color:var(--ui-ink-secondary,#7b899c)}
#appShell .sc-inbox-popup .sc-chat-bubble{padding:13px 17px;background:var(--ui-surface-muted,#f5f7fa);border:1px solid var(--ui-line,#e9edf3);border-radius:3px 13px 13px 13px}
#appShell .sc-inbox-popup .sc-chat-bubble p{font-size:13px;line-height:1.8}
#appShell .sc-inbox-popup .sc-chat-own .sc-chat-bubble{background:#326bef;border-color:#326bef;border-radius:13px 3px 13px 13px;color:#fff}
#appShell .sc-inbox-popup .sc-chat-own .sc-chat-bubble p{color:#fff}
#appShell .sc-inbox-popup .sc-chat-own .sc-chat-bubble [data-attachment]{background:transparent;color:#fff;border-color:#ffffff80}
#appShell .sc-inbox-popup .sc-chat-composer{padding:15px 17px;border-radius:13px;margin-top:8px;box-shadow:0 3px 16px #21345304}
#appShell .sc-inbox-popup .sc-chat-composer textarea{min-height:58px;font-size:13px;font-weight:400}
#appShell .sc-inbox-popup .sc-chat-send{margin-top:9px}
#appShell .sc-inbox-popup .sc-chat-send .btn{background:#326bef!important;border-color:#326bef!important;font-size:11px;padding:9px 15px}
#appShell .sc-inbox-popup .sc-chat-send .btn:disabled{background:var(--ui-surface-muted,#f5f7fa)!important;border-color:var(--ui-line,#e9edf3)!important}
#appShell .sc-inbox-popup .sc-conversation-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:var(--ui-ink-secondary,#7b899c);margin-top:10px;flex:none}
#appShell .sc-inbox-popup .sc-conversation-footer .sc-sync-state{font-size:9px}
#appShell .sc-inbox-popup .sc-request-details[open]{z-index:5;width:320px;padding:26px;background:var(--ui-surface,#fff)}
#appShell .sc-help-button{bottom:calc(46px + env(safe-area-inset-bottom,0px))}
/* Comfortable auto-growing reply composer; upload behavior remains shared. */
#appShell .sc-inbox-popup .sc-chat-composer{padding:0;border-radius:16px;overflow:auto;box-shadow:0 5px 24px #24334d07;transition:border-color .16s,box-shadow .16s}
#appShell .sc-inbox-popup .sc-chat-composer:focus-within{border-color:#84a8f8;box-shadow:0 0 0 3px #326bef0c,0 6px 25px #24334d08}
#appShell .sc-inbox-popup .sc-compose-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px 0;font-size:11px;font-weight:600}
#appShell .sc-inbox-popup .sc-compose-label span:last-child{font-size:10px;font-weight:400;color:var(--ui-ink-secondary,#7b899c)}
#appShell .sc-inbox-popup .sc-chat-composer>label{display:block;margin:0}
#appShell .sc-inbox-popup .sc-chat-composer textarea{min-height:92px;max-height:180px;padding:16px 20px 12px!important;line-height:1.75;font-size:14px;border-radius:0;resize:none;overflow-y:auto;box-sizing:border-box}
#appShell .sc-inbox-popup .sc-chat-composer textarea::placeholder{color:var(--ui-ink-secondary,#7b899c);font-weight:400}
#appShell .sc-inbox-popup .sc-chat-send{padding:11px 13px 11px 16px;margin:0;border-top:1px solid var(--ui-line,#e9edf3);background:var(--ui-surface-muted,#f5f7fa)}
#appShell .sc-inbox-popup .sc-compose-tools{display:flex;align-items:center;gap:10px;min-width:0}
#appShell .sc-inbox-popup .sc-attach-button{display:flex;align-items:center;gap:6px;padding:7px 9px;font-size:11px;color:var(--ui-ink-secondary,#7b899c);background:transparent;border:0;box-shadow:none}
#appShell .sc-inbox-popup .sc-attach-button:hover{background:var(--ui-surface,#fff);color:var(--ui-ink,#253247)}
#appShell .sc-inbox-popup .sc-attach-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
#appShell .sc-inbox-popup .sc-character-count{font-size:10px;color:var(--ui-ink-secondary,#7b899c);white-space:nowrap}
#appShell .sc-inbox-popup .sc-chat-send .btn{font-size:12px;border-radius:9px;padding:9px 14px}
#appShell .sc-inbox-popup .sc-chat-send .btn span{margin-left:8px}
#appShell .sc-inbox-popup .sc-chat-attach{margin:0 20px 12px}
#appShell .sc-inbox-popup .sc-chat-attach:not([open]){display:none}
#appShell .sc-inbox-popup .sc-chat-attach>summary,#appShell .sc-inbox-popup .sc-chat-attach .sc-upload>label{display:none}
@media(max-width:760px){#appShell .sc-inbox-popup .sc-compose-label{padding:12px 14px 0}#appShell .sc-inbox-popup .sc-compose-label span:last-child{font-size:9px}#appShell .sc-inbox-popup .sc-chat-composer textarea{padding:12px 14px!important}#appShell .sc-inbox-popup .sc-chat-send{padding:9px}#appShell .sc-inbox-popup .sc-character-count{font-size:9px}#appShell .sc-inbox-popup .sc-compose-tools{gap:3px}#appShell .sc-inbox-popup .sc-attach-button{padding:7px 4px}}
@media(max-width:1100px){#appShell .sc-inbox-popup .sc-studio-layout{grid-template-columns:260px minmax(0,1fr)}#appShell .sc-inbox-popup .sc-detail{padding:0 24px 20px}}
@media(max-width:760px){#appShell .sc-inbox-popup{width:100vw;height:100dvh;border-radius:0}#appShell .sc-inbox-popup .sc-panel-heading{padding:22px 70px 18px 26px}#appShell .sc-inbox-popup .sc-drawer>.sc-heading{padding:18px 64px 18px 16px;min-height:100px}#appShell .sc-inbox-popup .sc-drawer>.sc-heading h3{font-size:16px}#appShell .sc-inbox-popup .sc-kicker{flex-wrap:wrap;gap:5px;font-size:9px}#appShell .sc-inbox-popup .sc-popup-header{top:18px;right:16px}#appShell .sc-inbox-popup .sc-detail{padding:0 16px 16px}#appShell .sc-inbox-popup .sc-chat-thread{padding:20px 0 12px}#appShell .sc-inbox-popup .sc-chat-message{max-width:100%;gap:8px}#appShell .sc-inbox-popup .sc-chat-avatar{width:24px;height:24px;font-size:8px}#appShell .sc-inbox-popup .sc-chat-bubble{padding:11px 13px}#appShell .sc-inbox-popup .sc-chat-bubble p{font-size:12px}#appShell .sc-inbox-popup .sc-conversation-footer>span{display:none}#appShell .sc-inbox-popup .sc-request-details[open]{width:100%}#appShell .sc-help-button{bottom:calc(34px + env(safe-area-inset-bottom,0px))}}
/* Internal incident casework is separate from the customer inbox. */
#adminPanelIncidents .sc-tabs { margin:20px 0; display:flex; gap:8px; flex-wrap:wrap; }
#adminIncidentStatus { display:block; padding:12px 24px; }
#adminIncidentList .sc-case > span:first-child { flex:1; min-width:0; }
#adminIncidentList .sc-case > .sc-status { flex:none; }
body.admin-console .sc-incident-popup { width:min(800px,calc(100vw - 32px)); padding:24px; }
body.admin-console .sc-incident-popup > .sc-drawer { position:static; inset:auto; width:100%; max-width:100%; height:auto; max-height:none; margin:0; padding:0; border:0; border-radius:0; box-shadow:none; }
body.admin-console .sc-incident-popup .sc-request-details { margin:16px 0; }
body.admin-console .sc-incident-popup .sc-private-panel { display:block; }
@media(max-width:600px){#adminIncidentCases .sc-toolbar{flex-direction:column}body.admin-console .sc-incident-popup{padding:16px}}
.sc-file-item { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:10px 12px; border:1px solid var(--ui-line,#dce3ee); border-radius:10px; }
.sc-file-item > span { min-width:0; overflow-wrap:anywhere; font-size:13px; }
.sc-file-item > button { flex-shrink:0; }
.sc-file-download { display:block; max-width:100%; margin-top:8px; text-align:left; white-space:normal; overflow-wrap:anywhere; }
.sc-upload > small { display:block; margin:8px 0; line-height:1.5; }
.sc-upload input[type=file] { max-width:100%; }
.sc-screenshot-upload { margin-top:16px; }
#appShell .sc-inbox-popup .sc-compose-tools { flex-wrap:wrap; }
@media(max-width:600px){#appShell .sc-inbox-popup .sc-compose-tools .sc-character-count{flex-basis:100%;padding-left:4px}}
#appShell .sc-inbox-popup .sc-chat-composer { display:flex; flex-direction:column; overflow:hidden; }
#appShell .sc-inbox-popup .sc-chat-composer > label,
#appShell .sc-inbox-popup .sc-compose-label,
#appShell .sc-inbox-popup .sc-chat-send { flex:none; }
#appShell .sc-inbox-popup .sc-chat-attach { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; }
