/* Admin dossiers and private coaching — shared monochrome workspace. */
.workspace-page{--ws-bg:#111;--ws-panel:#181818;--ws-raised:#252525;--ws-border:#333;--ws-text:#f3f3f3;--ws-muted:#9c9c9c;color:var(--ws-text);max-width:1392px;margin:0 auto;padding:52px 44px 80px;font-size:14px;line-height:1.55;color-scheme:dark;min-width:0}.workspace-page *, .workspace-dialog *{box-sizing:border-box}.workspace-page button,.workspace-page input,.workspace-page textarea,.workspace-dialog button,.workspace-dialog input,.workspace-dialog textarea{font:inherit}.workspace-page button,.workspace-dialog button{cursor:pointer}.workspace-page button:disabled,.workspace-dialog button:disabled{opacity:.45;cursor:not-allowed}.workspace-page :focus-visible,.workspace-dialog :focus-visible{outline:2px solid #bdbdbd;outline-offset:4px}.workspace-page-heading{margin-bottom:36px}.workspace-page-heading h1{font-size:42px;font-weight:500;line-height:1.18;letter-spacing:-1.5px;margin:12px 0 13px}.workspace-page-heading h1>span{color:#7f7f7f}.workspace-page-heading p{font-size:15px;color:var(--ws-muted);margin:0}.workspace-eyebrow{text-transform:uppercase;font-size:10px;font-weight:500;letter-spacing:1.8px;color:#929292;line-height:1.5;display:block}.workspace-heading-row{display:flex;align-items:center;justify-content:space-between;gap:22px}.workspace-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #3c3c3c;border-radius:999px;padding:9px 16px;min-height:39px;background:#262626;color:#d5d5d5;font-size:12px!important;font-weight:500;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s;white-space:nowrap}.workspace-button:hover:not(:disabled){background:#303030;border-color:#555}.workspace-button-primary{background:#e9e9e9;color:#171717;border-color:#e9e9e9}.workspace-button-primary:hover:not(:disabled){background:#fff;color:#111;border-color:#fff}.workspace-icon-button{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;border:1px solid #383838;background:transparent;color:#bcbcbc;font-size:20px!important;flex-shrink:0}.workspace-icon-button:hover{background:#303030;color:#fff}.workspace-link-button,.workspace-back{padding:0;border:0;background:none;color:#c9c9c9;font-size:12px!important;text-decoration:none}.workspace-link-button:hover,.workspace-back:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}.workspace-back{margin-bottom:28px}.workspace-error{padding:12px 15px;border:1px solid #555;background:#252525;color:#eee;border-radius:12px;font-size:13px;overflow-wrap:anywhere;margin:14px 0}.workspace-muted{color:#969696;font-size:12px}.workspace-freshness{color:#777;font-size:10px;margin:12px 1px 32px;text-align:right}.workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace-metric{min-width:0;padding:22px 23px;background:linear-gradient(135deg,#1d1d1d,#171717);border:1px solid #323232;border-radius:18px;display:flex;flex-direction:column}.workspace-metric>span{color:#aaa;font-size:12px}.workspace-metric>strong{font-size:35px;font-weight:500;letter-spacing:-1px;line-height:1.25;margin:8px 0 10px}.workspace-metric>small{color:#777;font-size:10px;line-height:1.5}.workspace-metrics-four{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.workspace-metrics-four .workspace-metric{padding:18px 22px}.workspace-metrics-four .workspace-metric>strong{margin-bottom:0;font-size:30px}.workspace-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;min-width:0}.workspace-section-head>div{min-width:0}.workspace-section-head h2,.workspace-panel h2{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:5px 0 6px;overflow-wrap:anywhere}.workspace-section-head h3{font-size:18px;font-weight:500;margin:0;overflow-wrap:anywhere}.workspace-section-head p{color:#929292;font-size:12px;margin:5px 0 0}.workspace-total{font-size:12px;font-weight:400;letter-spacing:0;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:25px;padding:0 8px;border:1px solid #3c3c3c;border-radius:30px;margin-left:9px;color:#aaa;vertical-align:middle}.workspace-search{display:flex;align-items:center;gap:8px;min-width:0;position:relative}.workspace-search input{background:#222;border:1px solid #3a3a3a;color:#eee;border-radius:999px;padding:11px 16px;min-width:0;width:280px;max-width:100%;font-size:12px;line-height:1.4}.workspace-search input::placeholder{color:#888}.workspace-search small{color:#999;font-size:11px;white-space:nowrap}.workspace-table-scroll{overflow:auto;border:1px solid #303030;border-radius:17px;background:#171717}.workspace-client-table{width:100%;text-align:left;border-collapse:collapse;font-size:12px}.workspace-client-table thead{background:#1c1c1c}.workspace-client-table th{color:#929292;font-size:10px;font-weight:500;letter-spacing:.3px;padding:15px 18px;white-space:nowrap}.workspace-client-table td{border-top:1px solid #2b2b2b;padding:17px 18px;white-space:nowrap}.workspace-client-table td>small{display:block}.workspace-client-table tr:hover td{background:#1d1d1d}.workspace-client-name{display:flex;align-items:center;gap:12px;background:none;border:0;color:#eee;text-align:left;padding:0;max-width:330px}.workspace-client-name>span:last-child{min-width:0}.workspace-client-name strong{font-size:13px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-client-name small{font-size:11px;color:#8b8b8b;display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-avatar{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;background:#2d2d2d;color:#d4d4d4;border:1px solid #3c3c3c;border-radius:12px;font-weight:500;font-size:15px;flex-shrink:0}.workspace-status{display:inline-flex;align-items:center;gap:6px;border:1px solid #3a3a3a;border-radius:999px;padding:4px 9px;font-size:10px;line-height:1.5;color:#aaa;white-space:nowrap}.workspace-status i{width:5px;height:5px;background:#777;border-radius:50%}.workspace-status i.is-online{background:#eee;box-shadow:0 0 0 3px #ffffff10}.workspace-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:17px;color:#8f8f8f;font-size:11px}.workspace-pagination>div{display:flex;gap:8px}.workspace-pagination .workspace-button{min-height:32px;padding:7px 12px;font-size:11px!important}.workspace-empty{text-align:center;padding:52px 24px;border:1px dashed #333;border-radius:18px;color:#929292;margin:12px 0;line-height:1.65}.workspace-empty>svg{display:block;margin:0 auto 16px;color:#777}.workspace-empty h3{font-size:16px;font-weight:500;color:#c6c6c6;margin:0 0 7px}.workspace-empty p{font-size:12px;max-width:440px;margin:0 auto}.workspace-client-header{display:flex;align-items:center;gap:18px;margin:0 0 34px}.workspace-client-header>.workspace-avatar{width:60px;height:60px;border-radius:18px;font-size:23px}.workspace-client-header>div{min-width:0;flex:1}.workspace-client-header h1{font-weight:500;font-size:29px;letter-spacing:-.7px;margin:4px 0;line-height:1.3;overflow-wrap:anywhere}.workspace-client-header p{font-size:13px;color:#999;margin:0;overflow-wrap:anywhere}.workspace-tabs{display:flex;align-items:center;gap:7px;overflow:auto;padding:0 0 17px;border-bottom:1px solid #303030;margin-bottom:29px;scrollbar-width:thin;scrollbar-color:#444 #171717}.workspace-tabs button{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:9px 14px;background:none;color:#919191;font-size:12px;white-space:nowrap;flex-shrink:0}.workspace-tabs button:hover{color:#dedede}.workspace-tabs button.is-selected{background:#282828;border-color:#414141;color:#eee}.workspace-tabs button>span{font-size:10px;color:#aaa;background:#ffffff0a;border-radius:20px;padding:1px 6px}.workspace-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.workspace-panel{padding:25px;border:1px solid #333;background:#171717;border-radius:19px;min-width:0}.workspace-panel>h2{font-size:18px;margin:0 0 19px}.workspace-fields{margin:0;font-size:12px;min-width:0}.workspace-fields>div{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.3fr);gap:16px;padding:12px 0;border-bottom:1px solid #292929;min-width:0}.workspace-fields>div:last-child{border-bottom:0}.workspace-fields dt{color:#8e8e8e;font-size:11px}.workspace-fields dd{margin:0;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap;color:#ccc;line-height:1.6}.workspace-fields dd a{color:#ddd;text-decoration:underline;text-underline-offset:3px}.workspace-fields dd ul{margin:0;padding-left:16px}.workspace-fields dd dl{margin:0;white-space:normal}.workspace-fields dd dl>div{padding:4px 0}.workspace-fields dd dl dt{font-size:10px}.workspace-access-controls{border-top:1px solid #333;padding-top:20px;margin-top:15px;display:flex;flex-wrap:wrap;gap:8px}.workspace-access-controls p{flex-basis:100%;margin:0 0 9px;color:#aaa;font-size:12px}.workspace-profile-details{margin-top:25px;border-top:1px solid #323232;padding-top:15px}.workspace-profile-details>summary{font-size:12px;color:#aaa;cursor:pointer}.workspace-profile-details .workspace-fields{margin-top:12px}.workspace-records{display:grid;gap:12px}.workspace-record{background:#181818;border:1px solid #333;border-radius:15px;overflow:hidden}.workspace-record>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:19px 22px;gap:18px;cursor:pointer}.workspace-record>summary::-webkit-details-marker{display:none}.workspace-record>summary>span:first-child{min-width:0}.workspace-record>summary strong{font-weight:500;font-size:14px;display:block;overflow-wrap:anywhere}.workspace-record>summary small{display:block;font-size:11px;color:#888;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap;margin-top:3px}.workspace-record>summary>span:last-child{font-size:20px;color:#aaa}.workspace-record[open]>summary{border-bottom:1px solid #333}.workspace-record[open]>summary>span:last-child{transform:rotate(45deg)}.workspace-record>.workspace-fields{padding:6px 22px 14px}.workspace-history>.workspace-search{margin-bottom:18px}.workspace-history-list{display:grid;gap:8px;max-height:280px;overflow:auto;margin-bottom:24px;scrollbar-width:thin;scrollbar-color:#444 #171717}.workspace-history-list>button{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;background:#191919;border:1px solid #333;border-radius:12px;padding:14px 18px;color:#c8c8c8;min-width:0}.workspace-history-list>button>span:first-child{min-width:0}.workspace-history-list>button strong{display:block;font-size:12px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.workspace-history-list>button small{display:block;color:#858585;font-size:10px;margin-top:4px}.workspace-history-list>button:hover,.workspace-history-list>button.is-selected{background:#252525;border-color:#515151}.workspace-chat-history{margin-top:32px}.workspace-chat-message{border:1px solid #333;border-radius:16px;padding:23px;margin:12px 0;background:#191919;min-width:0}.workspace-chat-message.is-user{margin-left:38px;background:#252525}.workspace-chat-message-meta{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:#777;margin-bottom:16px}.workspace-chat-message-meta strong{color:#aaa;font-weight:500}.workspace-chat-message .chatbot-message-text{font-size:13px;color:#d3d3d3;line-height:1.8;overflow-wrap:anywhere}.workspace-chat-message .chatbot-message-text h1,.workspace-chat-message .chatbot-message-text h2,.workspace-chat-message .chatbot-message-text h3{font-size:16px}.workspace-admin-report.scanner-page,.workspace-admin-report.competitor-page{padding:0;margin:30px 0 0;max-width:none;min-height:0}.workspace-log-list{max-height:320px;overflow:auto;font-size:11px}.workspace-log-list time{color:#888}.workspace-calls-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:24px;align-items:start}.workspace-call-list{display:grid;gap:8px;max-height:660px;overflow:auto;scrollbar-width:thin;scrollbar-color:#444 #171717}.workspace-call-list>button{display:flex;align-items:center;gap:11px;padding:16px 14px;border:1px solid #333;border-radius:14px;background:#191919;color:#aaa;text-align:left;min-width:0}.workspace-call-list>button:hover,.workspace-call-list>button.is-selected{background:#272727;border-color:#555;color:#e2e2e2}.workspace-call-list>button>svg{flex-shrink:0}.workspace-call-list>button>span:nth-child(2){min-width:0;flex:1}.workspace-call-list strong{display:block;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.workspace-call-list small{font-size:10px;color:#858585;display:block;margin-top:5px}.workspace-call-view{background:#191919;border:1px solid #333;border-radius:20px;padding:25px;min-width:0}.workspace-call-view>.workspace-section-head{align-items:flex-start}.workspace-call-view .workspace-section-head h2{font-size:24px;line-height:1.3;margin-top:8px}.workspace-call-placeholder{margin:0;min-height:340px;display:flex;flex-direction:column;justify-content:center;align-items:center}.workspace-video{display:block;width:100%;max-height:560px;aspect-ratio:16/9;background:#090909;border:1px solid #353535;border-radius:12px;margin-bottom:25px;object-fit:contain}.workspace-empty-recording{display:flex;align-items:center;gap:13px;color:#777;border:1px dashed #3a3a3a;padding:22px;border-radius:13px;margin-bottom:25px;font-size:12px}.workspace-recording-link{display:flex;align-items:center;gap:14px;color:#dedede;border:1px solid #444;border-radius:13px;padding:20px;text-decoration:none;background:#252525;margin-bottom:25px}.workspace-recording-link>span:nth-child(2){flex:1;font-size:13px}.workspace-recording-link small{font-size:10px;color:#929292;display:block;margin-top:3px}.workspace-recording-link:hover{background:#303030;border-color:#666}.workspace-transcript{border-top:1px solid #333;padding-top:22px}.workspace-transcript .workspace-search{margin-bottom:20px}.workspace-transcript .workspace-search input{width:100%}.workspace-transcript-text{white-space:pre-wrap;font-size:13px;color:#bdbdbd;line-height:1.9;overflow-wrap:anywhere;max-height:700px;overflow:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#444 #171717}.workspace-transcript-text mark{background:#ddd;color:#111;border-radius:2px;padding:0 1px}.workspace-call-delete{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;border-top:1px solid #333;padding-top:18px;margin-top:25px;font-size:11px;color:#888}.workspace-call-delete .workspace-link-button{font-size:10px!important;color:#858585}.workspace-call-delete .workspace-error{width:100%;margin:0}.workspace-dialog{position:fixed;inset:0;margin:auto;width:min(680px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#191919;border:1px solid #444;border-radius:22px;padding:27px;color:#e5e5e5;font-family:inherit;font-size:13px;box-shadow:0 30px 100px #0009;color-scheme:dark;scrollbar-width:thin;scrollbar-color:#555 #222}.workspace-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.workspace-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.workspace-dialog-head h2{font-size:25px;letter-spacing:-.7px;font-weight:500;margin:7px 0 0}.workspace-editor-fields{display:grid;gap:18px}.workspace-editor-fields label{display:flex;flex-direction:column;gap:7px;color:#b6b6b6;font-size:12px}.workspace-editor-fields label input:not([type=checkbox]):not([type=file]),.workspace-editor-fields textarea{width:100%;border:1px solid #444;border-radius:10px;background:#242424;padding:12px 13px;color:#eee;font-size:13px;line-height:1.6;min-width:0}.workspace-editor-fields textarea{resize:vertical;min-height:140px}.workspace-editor-fields label small{font-size:10px;color:#858585;line-height:1.5}.workspace-editor-fields fieldset{border:1px solid #333;border-radius:12px;padding:17px;display:grid;gap:16px;min-width:0;margin:4px 0 0}.workspace-editor-fields legend{color:#aaa;font-size:11px;padding:0 7px}.workspace-editor-fields .workspace-file-label{position:relative;display:flex;flex-direction:row;align-items:center;gap:13px;border:1px dashed #555;border-radius:10px;padding:19px;cursor:pointer;overflow:hidden}.workspace-file-label>span{min-width:0;overflow-wrap:anywhere}.workspace-file-label small{display:block;margin-top:4px}.workspace-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.workspace-file-label:focus-within{outline:2px solid #bbb;outline-offset:3px}.workspace-editor-fields .workspace-checkbox{display:flex;flex-direction:row;align-items:center;gap:8px}.workspace-checkbox input{accent-color:#ccc}.workspace-dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;border-top:1px solid #333;padding-top:20px;margin-top:24px}.workspace-dialog-footer>span{margin-right:auto;color:#aaa;font-size:11px}.workspace-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1550px){.workspace-metrics:not(.workspace-metrics-four){grid-template-columns:repeat(6,minmax(0,1fr))}.workspace-metric{padding:20px 18px}.workspace-metric>small{min-height:30px}}
@media(max-width:1180px){.workspace-page{padding:38px 28px 60px}.workspace-calls-layout{grid-template-columns:210px minmax(0,1fr);gap:15px}.workspace-call-view{padding:20px}.workspace-two-columns{gap:15px}.workspace-panel{padding:20px}.workspace-client-table th,.workspace-client-table td{padding-left:13px;padding-right:13px}.workspace-client-name{max-width:260px}.workspace-metrics-four{gap:10px}.workspace-metrics-four .workspace-metric{padding:17px}}
@media(max-width:980px){.workspace-page-heading h1{font-size:35px}.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-metrics-four{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-two-columns{grid-template-columns:1fr}.workspace-calls-layout{grid-template-columns:1fr}.workspace-call-list{max-height:230px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-call-list>.workspace-muted{grid-column:1/-1}.workspace-section-head .workspace-search input{width:230px}.workspace-client-table{min-width:700px}}
@media(max-width:600px){.workspace-page{padding:29px 18px 55px}.workspace-page-heading{margin-bottom:27px}.workspace-page-heading h1{font-size:31px;letter-spacing:-1px}.workspace-page-heading p{font-size:13px}.workspace-heading-row{align-items:flex-start;flex-wrap:wrap;gap:17px}.workspace-heading-row>.workspace-button{margin-top:-4px}.workspace-metric{padding:18px 16px;border-radius:15px}.workspace-metric>strong{font-size:31px;margin:8px 0}.workspace-metric>span{font-size:11px}.workspace-metric>small{font-size:9px}.workspace-metrics{gap:10px}.workspace-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-section-head{align-items:flex-start;flex-wrap:wrap;gap:14px}.workspace-section-head h2{font-size:21px}.workspace-section-head .workspace-search{width:100%}.workspace-section-head .workspace-search input{width:100%}.workspace-freshness{text-align:left;font-size:9px;margin-bottom:28px}.workspace-client-header{gap:12px;flex-wrap:wrap;margin-bottom:25px}.workspace-client-header>.workspace-avatar{width:48px;height:48px;border-radius:14px;font-size:19px}.workspace-client-header h1{font-size:23px}.workspace-client-header p{font-size:11px}.workspace-client-header>.workspace-status{margin-left:60px;margin-top:-3px}.workspace-tabs{gap:4px;margin-right:-18px;padding-right:18px}.workspace-tabs button{padding:8px 12px;font-size:11px}.workspace-panel{padding:19px;border-radius:16px}.workspace-fields>div{grid-template-columns:1fr;gap:5px;padding:11px 0}.workspace-record>summary{padding:17px}.workspace-record>.workspace-fields{padding:4px 17px 12px}.workspace-call-list{grid-template-columns:1fr;max-height:270px}.workspace-call-view{padding:18px;border-radius:16px}.workspace-call-view .workspace-section-head h2{font-size:22px}.workspace-call-view .workspace-section-head .workspace-button{font-size:10px!important;padding:7px 12px;min-height:32px}.workspace-video{border-radius:8px}.workspace-transcript-text{font-size:12px;max-height:580px}.workspace-call-placeholder{min-height:240px}.workspace-transcript .workspace-search{flex-wrap:wrap}.workspace-transcript .workspace-search small{margin-left:2px}.workspace-chat-message{padding:18px}.workspace-chat-message.is-user{margin-left:16px}.workspace-chat-message-meta{flex-wrap:wrap;gap:4px}.workspace-chat-message .chatbot-message-text{font-size:12px}.workspace-dialog{padding:22px 19px;border-radius:18px;width:calc(100vw - 22px);max-height:93dvh}.workspace-dialog-footer{flex-wrap:wrap}.workspace-dialog-footer>span{width:100%;margin-bottom:4px}.workspace-pagination{font-size:10px;gap:8px}.workspace-pagination .workspace-button{font-size:10px!important;padding:6px 10px}.workspace-recording-link{padding:16px}.workspace-empty{padding:36px 18px}}
@media(prefers-reduced-motion:reduce){.workspace-page *,.workspace-dialog *{transition:none!important;scroll-behavior:auto!important}}
@media print{.workspace-tabs,.workspace-back,.workspace-dialog,.workspace-page button,.workspace-page input,.workspace-call-list{display:none!important}.workspace-page{padding:0;max-width:none}.workspace-transcript-text{max-height:none;overflow:visible}.workspace-call-view,.workspace-chat-message{break-inside:avoid}.workspace-calls-layout{display:block}}
.workspace-cleanup-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:13px 16px;border:1px solid #4b4b4b;border-radius:13px;background:#232323;color:#bdbdbd;font-size:11px;line-height:1.6}.workspace-cleanup-notice .workspace-button{font-size:10px!important;padding:7px 12px;min-height:32px}@media(max-width:600px){.workspace-cleanup-notice{align-items:flex-start;flex-direction:column;gap:10px}}
/* The existing shell is a flex item with min-width:auto. A horizontal tab rail
   or a client table must scroll locally, not set that ancestor's min-content width. */
.flex-1:has(> main .workspace-page){min-width:0}
.workspace-page{width:100%;min-width:0}
.workspace-client-content,.workspace-history,.workspace-calls,.workspace-admin-report{min-width:0;max-width:100%}
.workspace-tabs,.workspace-history-list,.workspace-call-list,.workspace-table-scroll{min-width:0}
.workspace-dialog form,.workspace-dialog-head>div,.workspace-editor-fields{min-width:0}
