/* The same Onegin tile throughout the NEXT application. */
.workplace-brand{display:inline-block;flex-shrink:0;position:relative;width:40px;aspect-ratio:1;overflow:hidden;border-radius:22.3%;vertical-align:middle;line-height:0;isolation:isolate;background:#fff}
.workplace-brand img{display:block;position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none}
.workplace-brand-loading{animation:workplace-welcome 2.8s cubic-bezier(.45,0,.55,1) infinite;transform-origin:center}
.workplace-loading{display:grid;width:100%;height:100%;min-height:180px;place-items:center;padding:24px;color:inherit}
.workplace-loading .workplace-brand{width:64px}
.workplace-loading-screen{position:fixed;inset:0;z-index:100;width:100%;height:100dvh;min-height:0;padding:0;background:var(--background,#ffffff);color:var(--foreground,#25262a)}
.coach-workplace-theme{display:flex;align-items:center;gap:14px}
@keyframes workplace-welcome{0%,100%{transform:translateY(3px) rotate(-4deg) scale(.96)}50%{transform:translateY(-3px) rotate(4deg) scale(1.04)}}
@media(prefers-reduced-motion:reduce){.workplace-brand-loading{animation:none;transform:none}}

/* One shared, quiet palette for the workspace, native edges and embedded tools. */
@font-face{font-family:WorkplaceSans;src:url('/optimized/dm-sans-400.363673bbad1f.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:WorkplaceSans;src:url('/optimized/dm-sans-700.6022c4f37587.woff') format('woff');font-weight:600 800;font-display:swap}
html:root,html[data-theme=dark]:root,html.dark:root{
 --wp-font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--wp-heading:var(--wp-font);
 --wp-ink:#242831;--wp-paper:#FFFFFF;--wp-card:#FFFFFF;--wp-line:#E3E7ED;--wp-edge:#CFD6DF;
 --wp-green:#456A9A;--wp-green-hover:#365780;--wp-action:#456A9A;--wp-action-hover:#365780;--wp-tint:#E8EEF7;--wp-yellow:#DCE7F5;--wp-shadow:transparent;
 --wp-elevation:0 2px 12px #24283106;--wp-overlay-shadow:0 16px 48px #24283118;
 --background:var(--wp-paper);--foreground:var(--wp-ink);--card:var(--wp-card);--card-foreground:var(--wp-ink);
 --popover:var(--wp-card);--popover-foreground:var(--wp-ink);--primary:var(--wp-action);--primary-foreground:#FFFFFF;
 --secondary:#EEF1F5;--secondary-foreground:var(--wp-ink);--muted:#EEF1F5;--muted-foreground:#68717F;
 --accent:var(--wp-tint);--accent-foreground:var(--wp-green);--border:var(--wp-line);--input:var(--wp-edge);--ring:var(--wp-green);--radius:.75rem;
 --destructive:#B14D50;--recording-accent:#B75454;--recording-foreground:#FFFFFF;--success:#4B7963;
 --sidebar:var(--wp-paper);--sidebar-foreground:var(--wp-ink);--sidebar-primary:var(--wp-action);--sidebar-primary-foreground:#ffffff;
 --sidebar-accent:var(--wp-tint);--sidebar-accent-foreground:var(--wp-green);--sidebar-border:var(--wp-line);--sidebar-ring:var(--wp-green);
 --font-sans:var(--wp-font);--btw-glass:var(--wp-paper);--btw-glass-edge:transparent;--btw-glass-shadow:transparent;--btw-scrollbar:var(--wp-edge);
}
html[data-theme=dark]:root,html.dark:root{
 --wp-ink:#EDF0F5;--wp-paper:#15171C;--wp-card:#1D2027;--wp-line:#2B303A;--wp-edge:#424A58;
 --wp-green:#A7C3E8;--wp-green-hover:#BDD1ED;--wp-action:#A7C3E8;--wp-action-hover:#BDD1ED;
 --wp-tint:#253246;--wp-yellow:#31435D;--wp-shadow:transparent;
 --wp-elevation:0 2px 12px #00000014;--wp-overlay-shadow:0 16px 48px #00000045;
 --primary-foreground:#182536;--popover:var(--wp-card);--muted:#232831;--muted-foreground:#A5AEBD;--secondary:#232831;
 --sidebar:var(--wp-paper);--sidebar-primary-foreground:#182536;--input:var(--wp-edge);--btw-scrollbar:var(--wp-edge);
 --destructive:#E5A2A3;--recording-accent:#D98989;--recording-foreground:#2B1C1C;--success:#93B6A2;--ring:var(--wp-green);
 color-scheme:dark;
}
/* Installed shells before appearance v2 only paint white/black safe areas.
   Keep their canvas continuous until the updated native shell can share a color. */
html.btw-native-app:not([data-native-appearance="2"]):root {
 --wp-paper:#FFFFFF;--background:var(--wp-paper);--btw-glass:var(--wp-paper);--workspace-glass:rgba(255,255,255,.9);
}
html.btw-native-app:not([data-native-appearance="2"]):is([data-theme=dark],.dark):root {
 --wp-paper:#000000;--background:var(--wp-paper);--btw-glass:var(--wp-paper);--workspace-glass:rgba(0,0,0,.9);
}
html body{background:var(--background);color:var(--foreground);font-family:var(--wp-font);font-size:16px}
html:root,html body,html body #root,
html body :is(.btw-root-shell,.onegin-native-entry,.onegin-session-loading,[data-slot=sidebar-inset],.btw-chat-view,.onegin-workspace-view,.workplace-loading-screen){background-color:var(--background)}
html :is(button,input,textarea,select){font-family:inherit}
html ::selection{background:var(--wp-yellow);color:var(--foreground)}
html :is(.btw-root-shell,.onegin-native-entry) :is(h1,h2),html .workplace-page-heading{font-family:var(--wp-heading);font-weight:700;letter-spacing:-.025em}
html .workplace-page-heading,html .workplace-section h2,html .workplace-events>div>div:first-child h1{font-size:32px;line-height:1.2}
html :is(.btw-root-shell,.onegin-native-entry) :is(input,textarea)::placeholder{color:var(--muted-foreground);opacity:.85}
html :is(.btw-root-shell,.onegin-native-entry) [data-slot=input],html [data-slot=dialog-content] [data-slot=input]{background:var(--card);border-color:var(--input);border-radius:7px;box-shadow:none}
html :is(.btw-root-shell,.onegin-native-entry) :is(button,a,input,textarea):focus-visible{outline:2px solid var(--ring);outline-offset:3px}
html :is([data-slot=dialog-content],[data-slot=alert-dialog-content],[data-slot=dropdown-menu-content],[data-slot=select-content],.btw-sheet){border-color:var(--wp-edge);border-radius:10px;background:var(--card);color:var(--foreground);box-shadow:3px 4px 0 var(--wp-shadow)}
html [data-slot=dialog-title]{font-family:var(--wp-heading);font-size:24px;line-height:1.25;letter-spacing:-.02em}
html :is([data-slot=dropdown-menu-item],[data-slot=select-item]){border-radius:5px;font-size:14px;min-height:40px}
html :is([data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button]{border-radius:7px}
html :is(.btw-root-shell,.onegin-native-entry) [class~="bg-white"],html .btw-sheet [class~="bg-white"]{background-color:var(--card)}
html :is(.btw-root-shell,.onegin-native-entry) [class~="text-white"][class~="bg-[#ff4b00]"]{color:var(--primary-foreground)}
html .btw-root-shell [data-slot=sidebar]{background:var(--sidebar);color:var(--foreground);border-color:var(--border)}
html .btw-root-shell :is([data-slot=sidebar-header],[data-slot=sidebar-footer]){border-color:var(--border)}
html .btw-root-shell [data-slot=sidebar-content]{padding-top:18px}
html .btw-root-shell [data-slot=sidebar-menu-button]{height:46px;border:1px solid transparent;border-radius:7px;color:var(--muted-foreground);font-size:14px;padding-inline:13px;transition:background .16s,color .16s,border-color .16s}
html .btw-root-shell [data-slot=sidebar-menu-button]:hover{background:var(--muted);color:var(--foreground)}
html .btw-root-shell [data-slot=sidebar-menu-button][data-active=true]{background:var(--wp-card);color:var(--foreground);border-color:var(--wp-edge);font-weight:700;box-shadow:2px 2px 0 var(--wp-shadow)}
html .btw-root-shell [data-slot=sidebar-menu-button][data-active=true] svg{color:var(--wp-green)}
html .btw-root-shell [data-slot=sidebar-header] .workplace-brand{width:52px}
html .workplace-upgrade{border:1.5px solid var(--wp-action);background:var(--wp-action);color:var(--primary-foreground);border-radius:7px;box-shadow:2px 3px 0 var(--wp-shadow);font-size:14px}
html .workplace-upgrade:hover{background:var(--wp-action-hover);color:var(--primary-foreground)}
html .workplace-upgrade svg{color:inherit}
html .btw-root-shell [data-slot=sidebar-footer]>button{color:var(--muted-foreground);border-radius:7px}
html .btw-root-shell [data-slot=sidebar-footer]>button:hover{color:var(--foreground);background:var(--muted)}
html .btw-appearance{border-color:var(--border);background:var(--muted);border-radius:7px}
html :is(.btw-mobile-header,.btw-section-mobile-header){background:var(--wp-paper);border-color:var(--border);box-shadow:none;backdrop-filter:none}
html .workplace-mobile-menu{background:var(--sidebar);border-radius:0}
html .workplace-menu-sections>button{border:1px solid transparent;border-radius:7px}
html .workplace-menu-sections>button[aria-current=page]{background:var(--card);border-color:var(--wp-edge);box-shadow:2px 2px 0 var(--wp-shadow);font-weight:700}
html .workplace-menu-sections>button[aria-current=page] svg{color:var(--wp-green)}
html .workplace-menu-footer [data-slot=button]{border-radius:7px}
/* Working cards keep their existing grids and actions. */
html .workplace-section{padding-block:32px}
html .workplace-tool-card{border:1px solid var(--wp-edge);border-radius:9px;background:var(--card);padding:26px;box-shadow:3px 4px 0 var(--wp-shadow);transition:background .18s,border-color .18s,box-shadow .18s}
html .workplace-tool-card:hover{background:var(--wp-tint);border-color:var(--wp-green);box-shadow:3px 4px 0 var(--wp-shadow)}
html .workplace-tool-card>svg{color:var(--wp-green);padding:10px;width:46px;height:46px;background:var(--wp-tint);border:1px solid var(--border);border-radius:9px}
html .workplace-tool-card h3{font-family:var(--wp-heading);font-size:26px;line-height:1.2;letter-spacing:-.025em}
html .workplace-tool-card>span:last-child{color:var(--wp-green);font-weight:700}
html .onegin-workspace-view article{background:var(--card);border:1px solid var(--wp-line);border-radius:9px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .onegin-workspace-view article:has([data-slot=switch][data-state=checked]){border-color:var(--wp-edge);box-shadow:2px 3px 0 var(--wp-shadow)}
html .onegin-workspace-view .btw-scroll-view>div>div:has(>input){background:var(--card);border-color:var(--input);border-radius:7px;box-shadow:none}
html .onegin-filter-row button{border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--muted-foreground);font-weight:400}
html .onegin-filter-row button[aria-pressed=true]{background:var(--wp-tint);border-color:var(--wp-green);color:var(--wp-green);font-weight:700}
html .onegin-workspace-view [data-slot=switch]{background:var(--wp-edge)}
html .onegin-workspace-view [data-slot=switch][data-state=checked]{background:var(--wp-green)}
html .onegin-workspace-view [data-slot=switch-thumb]{background:var(--card)}
html .btw-content-first :is(.btw-composer,.onegin-section-composer){background:var(--background);border-color:var(--border)}
html .btw-content-first .btw-composer-field{border:1px solid var(--wp-edge);border-radius:12px;background:var(--card);box-shadow:2px 3px 0 var(--wp-shadow)}
html .btw-content-first .btw-composer-field .btw-composer-action{border-radius:8px}
html .btw-content-first .btw-composer-text{color:var(--foreground);font-size:16px;line-height:1.55}
html .btw-assistant-name{color:var(--wp-green);font-size:14px;font-weight:700}
html .btw-assistant-body{font-size:16px;line-height:1.7}
html .btw-chat-message[data-unread]{background:var(--wp-tint);outline-color:var(--wp-tint)}
html .btw-quick-action[data-compact=true]{border-radius:6px;background:var(--card);border-color:var(--border)}
html .btw-quick-icon{border-radius:5px;background:var(--wp-tint);color:var(--wp-green)}
/* Library and event detail preserve all content and the existing ordering. */
html .ll-container{padding-top:32px}
html .ll-header h1{font-family:var(--wp-heading);font-size:32px;letter-spacing:-.025em}
html .ll-eyebrow{font-size:12px;letter-spacing:.075em;color:var(--wp-green)}
html .ll-feature{background:var(--wp-tint);color:var(--foreground);border:1px solid var(--wp-edge);border-radius:10px;box-shadow:3px 4px 0 var(--wp-shadow)}
html .ll-feature:hover{box-shadow:4px 5px 0 var(--wp-shadow)}
html .ll-feature-kicker{color:var(--wp-green)}
html .ll-feature h2{font-family:var(--wp-heading);font-size:clamp(27px,3vw,38px);font-weight:700;letter-spacing:-.025em;line-height:1.15}
html .ll-feature p{color:var(--muted-foreground);font-size:16px}
html .ll-feature-action{color:var(--wp-green)}
html .ll-feature-action>span{background:var(--wp-action);color:var(--primary-foreground)}
html .ll-feature-portrait{border-left:1px solid var(--wp-edge)}
html .ll-feature-portrait>span{background:#fffdf7;color:#253247;border:1px solid #999fa7;border-radius:4px}
html .ll-library-top h2{font-family:var(--wp-heading);font-size:24px;letter-spacing:-.025em}
html .ll-search input{border-color:var(--input);border-radius:7px}
html .ll-filter-row button{border-radius:6px;min-height:40px;background:var(--card)}
html .ll-filter-row button[aria-pressed=true]{background:var(--wp-tint);border-color:var(--wp-green);color:var(--wp-green);font-weight:700}
html .ll-card{border-color:var(--wp-edge);border-radius:8px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .ll-card:hover{transform:translateY(-2px);border-color:var(--wp-green);box-shadow:3px 4px 0 var(--wp-shadow)}
html .ll-card h3{font-size:17px;font-weight:700;line-height:1.45}
html .ll-card-copy{padding:20px}
html .ll-card-collection{font-size:12px;color:var(--wp-green)}
html .ll-card-bottom{font-size:14px}
html .ll-playlist{border-color:var(--wp-edge);border-radius:8px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .ll-playlist-item.is-active{background:var(--wp-tint);box-shadow:inset 3px 0 var(--wp-green)}
html .ll-playlist-item.is-active .ll-track-number{color:var(--wp-green)}
html .ll-lesson-title{font-family:var(--wp-heading);font-size:30px;letter-spacing:-.025em;font-weight:700}
html .ll-surface :is(button,a):focus-visible{outline-color:var(--ring)}
html .workplace-events>div>article{background:var(--card);color:var(--foreground);border-color:var(--wp-edge);border-radius:10px;box-shadow:3px 4px 0 var(--wp-shadow)}
html .workplace-events>div>article>header{background:var(--wp-yellow)}
html .workplace-events>div>article>header h1{font-size:27px;line-height:1.2}
html .workplace-events summary:focus-visible{outline:2px solid var(--ring);outline-offset:-4px}
html .workplace-events :is(button,a).inline-flex{border-radius:7px}
/* Sign in and profile are part of the same paper-based account. */
html .onegin-native-entry .onegin-native-entry-card{max-width:432px;padding:30px;border:1px solid var(--wp-edge);background:var(--card);border-radius:10px;box-shadow:4px 5px 0 var(--wp-shadow)}
html .onegin-native-entry .onegin-native-entry-brand{margin-bottom:28px}
html .onegin-native-entry .onegin-auth-heading h2{font-family:var(--wp-heading);font-size:32px}
html .onegin-auth-form{font-family:var(--wp-font);--auth-text:var(--foreground);--auth-muted:var(--muted-foreground);--auth-border:var(--input);--auth-input:var(--card);--auth-accent:var(--wp-green)}
html .onegin-native-entry .onegin-auth-form.is-embedded{--auth-text:var(--foreground);--auth-muted:var(--muted-foreground);--auth-border:var(--input);--auth-input:var(--card);--auth-accent:var(--wp-green)}
html .onegin-auth-form :is(input,.onegin-google-button){border-radius:7px;background:var(--card);color:var(--foreground);border-color:var(--input)}
html .onegin-auth-form .onegin-email-submit{background:var(--wp-action);color:var(--primary-foreground);border:1px solid var(--wp-action);border-radius:7px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .onegin-auth-form .onegin-email-submit:hover{background:var(--wp-action-hover)}
html .onegin-auth-form input:focus-visible{outline-color:var(--wp-green);border-color:var(--wp-green)}
html .workplace-profile>div>section{background:var(--card);border-radius:8px;border-color:var(--wp-edge);box-shadow:2px 3px 0 var(--wp-shadow)}
html .workplace-profile>div>h1{font-size:32px;line-height:1.2}
html .workplace-profile section>button{border-radius:7px}
/* The embedded membership page uses the same reading rhythm and controls. */
html .workplace-membership{background:var(--background);color:var(--foreground);font-family:var(--wp-font)}
html .workplace-membership h1{font-family:var(--wp-heading);font-size:48px}
html .workplace-membership :is(h1 span,.workplace-membership-benefits svg){color:var(--wp-green)}
html .workplace-membership :is(.eyebrow,.workplace-membership-intro,.nextplus-small,.workplace-membership-price span){color:var(--muted-foreground)}
html .workplace-membership .button-orange{background:var(--wp-action);color:var(--primary-foreground);border:1px solid var(--wp-action);border-radius:7px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .workplace-membership-active{border-color:var(--wp-edge);background:var(--wp-tint);color:var(--foreground);border-radius:8px}
/* NEXT CMO: palette and surfaces, with the dashboard composition preserved. */
html :is(.cmo-entry-shell,.cmo-employee-entry,.cmo-entry-nav,.cmo-workplace-boot,.cmo-workspace-header){background:var(--background);color:var(--foreground);font-family:var(--wp-font);border-color:var(--border)}
html .cmo-employee-card{padding:24px;border:1px solid var(--wp-edge);border-radius:16px;background:var(--card);box-shadow:4px 5px 0 var(--wp-shadow)}
html .cmo-employee-card h1{font-family:var(--wp-heading);font-size:28px;letter-spacing:-.03em;line-height:1.15}
html .cmo-employee-eyebrow{font-size:12px;color:var(--wp-green)}
html .cmo-employee-card>p{color:var(--muted-foreground)}
html .cmo-entry-input{background:var(--card);border-color:var(--input);border-radius:12px;color:var(--muted-foreground)}
html .cmo-entry-input input{color:var(--foreground)}
html .cmo-entry-primary{background:var(--wp-action);color:var(--primary-foreground);border:1px solid var(--wp-action);border-radius:12px;box-shadow:2px 3px 0 var(--wp-shadow);font-size:15px}
html .cmo-entry-input:focus-within,html .cmo-entry-primary:focus-visible{outline-color:var(--wp-green)}
html .cmo-entry-resume{color:var(--wp-green)}
html .cmo-workplace-burger,html .cmo-workspace-actions{background:var(--card);color:var(--foreground);border-color:var(--wp-edge);border-radius:7px}
html .doctor-workspace.workplace-cmo{background:var(--background);color:var(--foreground);font-family:var(--wp-font);--background:var(--wp-paper);--card:var(--wp-card);--primary:var(--wp-action);--foreground:var(--wp-ink);--border:var(--wp-line)}
html .workplace-cmo :is(.workspace-inset,.workspace-main,.workspace-columns){background:var(--background);color:var(--foreground)}
html .workplace-cmo :is(.panel,.instant-products>div,.calm-details,.chat-screen,.chat-composer){background:var(--card);color:var(--foreground);border-color:var(--wp-line);border-radius:16px;box-shadow:none;backdrop-filter:none}
html .workplace-cmo .panel{box-shadow:2px 3px 0 var(--wp-shadow)}
html .workplace-cmo :is(h1,h2){font-family:var(--wp-heading);letter-spacing:-.025em}
html .workplace-cmo :is(.dashboard-business-heading h2,.cmo-section-heading h1){font-size:25px}
html .workplace-cmo [data-slot=button]{border-radius:12px}
html .workplace-cmo .chat-screen{border-left:1px solid var(--border)}
html .workplace-cmo :is(.chat-panel,.composer,.traffic-card){background:var(--card);color:var(--foreground);border-color:var(--wp-line);border-radius:16px;box-shadow:none}
html .workplace-cmo .chat-panel{border-radius:0}
html .workplace-cmo .chat-welcome h3{font-family:var(--wp-heading);color:var(--foreground)}
html .workplace-cmo :is(.chat-welcome p,.panel-heading span,.composer>div>span){color:var(--muted-foreground)}
html .workplace-cmo :is(.prompts button,.demo-banner){background:var(--wp-tint);color:var(--wp-green);border-color:var(--wp-line);border-radius:7px}
html .workplace-cmo .composer textarea{color:var(--foreground);background:transparent}
html .workplace-cmo .composer [data-slot=button]{background:var(--wp-action);color:var(--primary-foreground)}
html .btw-root-shell .assistant-markdown a,html .btw-root-shell .assistant-markdown ol>li::marker{color:var(--wp-green)}
/* Coach stages, illustration, timing and call layout are intentionally unchanged. */
html .reference-app{font-family:var(--wp-font);background:var(--background);color:var(--foreground)}
html:not([data-theme=dark]):not(.dark) .reference-app{background:var(--background);color:var(--foreground)}
html:not([data-theme=dark]):not(.dark) .reference-app :is(.reference-task,.reference-transcript,.reference-review,.level-strip){background:var(--card);border-color:var(--wp-edge);border-radius:8px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .reference-app .reference-situation h1{font-family:var(--wp-heading);font-weight:700;letter-spacing:-.025em}
html .reference-app :is(.reference-primary,.reference-secondary){border-radius:12px;font-weight:700}
html:not([data-theme=dark]):not(.dark) .reference-app .reference-primary{background:var(--wp-action);color:var(--primary-foreground);border:1px solid var(--wp-action);box-shadow:2px 3px 0 var(--wp-shadow)}
html:not([data-theme=dark]):not(.dark) .reference-app .reference-secondary{background:var(--card);color:var(--foreground);border-color:var(--wp-edge)}
@media(max-width:767px){
 html .workplace-page-heading,html .workplace-section h2,html .workplace-events>div>div:first-child h1,html .ll-header h1{font-size:28px}
 html .workplace-section{padding-top:24px}html .workplace-tool-card{padding:22px}
 html .btw-content-first .btw-composer-field{border-radius:10px;box-shadow:1px 2px 0 var(--wp-shadow)}
 html .onegin-native-entry .onegin-native-entry-card{padding:25px 22px}
 html .ll-container{padding-top:22px}html .ll-feature h2{font-size:26px}html .ll-feature-copy{padding:22px 17px}
 html .ll-feature-kicker{font-size:11px}html .ll-filter-row button{font-size:14px;min-height:44px}
 html .ll-lesson-title{font-size:27px}html .ll-card-copy{padding:18px}
 html .cmo-employee-entry{padding:24px 16px}html .cmo-employee-card{padding:25px 20px}html .cmo-employee-card h1{font-size:24px}
}
@media(prefers-reduced-motion:reduce){html .ll-card:hover{transform:none}html :is(.workplace-tool-card,.workplace-upgrade,.ll-feature){transition:none}}

/* Legacy Onegin utility colours resolve to the Workplace palette. Red error and warning treatments are retained. */
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="text-[#555861]"],[class~="text-[#555a64]"],[class~="text-[#555b66]"],[class~="text-[#5d6068]"],[class~="text-[#606671]"],[class~="text-[#666a74]"],[class~="text-[#666b75]"],[class~="text-[#676b75]"],[class~="text-[#686d77]"],[class~="text-[#696c74]"],[class~="text-[#696f7a]"],[class~="text-[#6f727b]"],[class~="text-[#747883]"],[class~="text-[#777982]"],[class~="text-[#777a83]"],[class~="text-[#777b85]"],[class~="text-[#777c86]"],[class~="text-[#777c87]"],[class~="text-[#7c8d82]"],[class~="text-[#7d818b]"],[class~="text-[#7e838e]"],[class~="text-[#7f838c]"],[class~="text-[#7f838d]"],[class~="text-[#81858e]"],[class~="text-[#858993]"],[class~="text-[#858a94]"],[class~="text-[#888c95]"],[class~="text-[#898e99]"],[class~="text-[#8a8d95]"],[class~="text-[#8b8d94]"],[class~="text-[#8b8e96]"],[class~="text-[#8b8e97]"],[class~="text-[#8b8f98]"],[class~="text-[#8c8f97]"],[class~="text-[#8c919b]"],[class~="text-[#8d8f97]"],[class~="text-[#8e939d]"],[class~="text-[#92949b]"],[class~="text-[#92959d]"],[class~="text-[#9296a0]"],[class~="text-[#9498a1]"],[class~="text-[#95979e]"],[class~="text-[#969aa4]"],[class~="text-[#979ba5]"],[class~="text-[#989ba4]"],[class~="text-[#999ca5]"],[class~="text-[#9a9ca3]"],[class~="text-[#9a9da5]"],[class~="text-[#9ca0aa]"],[class~="text-[#a0a3ab]"],[class~="text-[#a0a4ad]"]){color:var(--muted-foreground)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="border-[#cfe9d9]"],[class~="border-[#d9eee1]"],[class~="border-[#dedee3]"],[class~="border-[#dedfe4]"],[class~="border-[#dfe1e6]"],[class~="border-[#dfe2e8]"],[class~="border-[#e1e3e8]"],[class~="border-[#e2e4e8]"],[class~="border-[#e3e3e7]"],[class~="border-[#e3e4e8]"],[class~="border-[#e3e5e9]"],[class~="border-[#e3e5ea]"],[class~="border-[#e3e5eb]"],[class~="border-[#e5e5e9]"],[class~="border-[#e5e6ea]"],[class~="border-[#e5e7ed]"],[class~="border-[#e7e7ea]"],[class~="border-[#e7e7eb]"],[class~="border-[#e7e9ed]"],[class~="border-[#ececef]"],[class~="border-[#eceef1]"],[class~="border-[#eceef2]"],[class~="border-[#ededf0]"],[class~="border-[#efeff2]"],[class~="border-[#f0f0f2]"],[class~="border-[#f1d8cc]"]){border-color:var(--border)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="text-[#202126]"],[class~="text-[#20242d]"],[class~="text-[#25272d]"],[class~="text-[#272b34]"],[class~="text-[#272b35]"],[class~="text-[#292c33]"],[class~="text-[#30323a]"],[class~="text-[#343740]"],[class~="text-[#343945]"],[class~="text-[#3f424a]"],[class~="text-[#3f444e]"],[class~="text-[#41444d]"],[class~="text-[#42454d]"],[class~="text-[#454c47]"],[class~="text-[#4c4f57]"]){color:var(--foreground)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="bg-[#e2e4ea]"],[class~="bg-[#e8f2eb]"],[class~="bg-[#ececef]"],[class~="bg-[#eee4df]"],[class~="bg-[#eef0f4]"],[class~="bg-[#efeff1]"],[class~="bg-[#f0f0f2]"],[class~="bg-[#f0f2f6]"],[class~="bg-[#f0f9ff]"],[class~="bg-[#f1f1f3]"],[class~="bg-[#f2f2f4]"],[class~="bg-[#f2f3f5]"],[class~="bg-[#f4fbf7]"],[class~="bg-[#f5efe9]"],[class~="bg-[#f6f6f8]"],[class~="bg-[#f7f7f8]"],[class~="bg-[#f7f8fa]"],[class~="bg-[#f8f9fa]"],[class~="bg-[#ffe8dd]"],[class~="bg-[#ffe9df]"],[class~="bg-[#fff1eb]"],[class~="bg-[#fff6f1]"]){background-color:var(--muted)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="bg-[#e94400]"],[class~="bg-[#ec4c16]"],[class~="bg-[#ff4b00]"]){background-color:var(--wp-action);color:var(--primary-foreground)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="border-[#ff7b45]"],[class~="border-[#ff9d76]"],[class~="border-[#ffad88]"],[class~="border-[#ffb08e]"],[class~="border-[#ffc5ab]"]){border-color:var(--wp-edge)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="text-[#c94414]"],[class~="text-[#d94300]"],[class~="text-[#df4300]"],[class~="text-[#e64a08]"],[class~="text-[#e74600]"],[class~="text-[#ec4c16]"],[class~="text-[#ff4b00]"]){color:var(--wp-green)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="bg-[#fff0e9]"],[class~="bg-[#fff3ed]"],[class~="bg-[#fff5f0]"],[class~="bg-[#fff7f3]"],[class~="bg-[#fff8f4]"],[class~="bg-[#fff8f5]"],[class~="bg-[#fff9f6]"]){background-color:var(--wp-tint)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="bg-[#fafafa]"],[class~="bg-[#fafbfc]"],[class~="bg-[#fcfcfd]"]){background-color:var(--card)}
html body :is(.btw-root-shell,.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is([class~="border-[#ec4c16]"],[class~="border-[#ff4b00]"]){border-color:var(--wp-green)}
html body .workplace-upgrade[class]{background:var(--wp-action);color:var(--primary-foreground);border-color:var(--wp-action)}
html body .workplace-upgrade[class] svg{color:inherit}
/* Compact desktop chrome keeps the existing navigation easier to scan. */
@media(min-width:768px){
 html .btw-root-shell [data-slot=sidebar-header]{padding:16px}
 html .btw-root-shell [data-slot=sidebar-header] .workplace-brand{width:46px}
 html .btw-root-shell [data-slot=sidebar-header]>.mt-4{margin-top:10px}
 html .btw-root-shell [data-slot=sidebar-content]{padding:12px 16px}
 html .btw-root-shell [data-slot=sidebar-menu]{gap:2px}
 html .btw-root-shell [data-slot=sidebar-menu-button]{height:42px}
 html .btw-root-shell [data-slot=sidebar-content]>.mt-4,html .btw-root-shell [data-slot=sidebar-content]>.mt-6{margin-top:12px}
 html .btw-root-shell [data-slot=sidebar-footer]{padding:12px 16px}
 html .btw-root-shell [data-slot=sidebar-footer] .btw-appearance>p:first-child{font-size:13px;margin-bottom:6px}
 html .btw-root-shell [data-slot=sidebar-footer] .btw-appearance label{min-height:36px;border-radius:5px}
 html .btw-root-shell [data-slot=sidebar-footer] .btw-appearance [role=radiogroup]{border-radius:7px}
 html .btw-root-shell [data-slot=sidebar-footer]>button{height:38px}
}
html .btw-appearance{background:transparent}
html .btw-content-first .onegin-section-composer .btw-composer-field{border-radius:10px;background:var(--card);border-color:var(--wp-edge);box-shadow:2px 3px 0 var(--wp-shadow)}
html body .btw-root-shell :is([data-slot=sidebar-inset],.onegin-workspace-view,.btw-chat-view){background:var(--background)}
html:root,html[data-theme=dark]:root{--surface:var(--wp-paper);--ink:var(--wp-ink);--quiet:var(--muted-foreground);--panel:var(--wp-card);--line:var(--wp-line);--action:var(--wp-action);--action-hover:var(--wp-action-hover);--action-ink:var(--primary-foreground);--action-link:var(--wp-green);--control-focus:var(--ring)}
/* Real lecture frames retain their original widescreen composition. */
html .ll-card-art.ll-seth{aspect-ratio:16/9}
html .ll-card-art.ll-seth img{object-position:center}
@media(max-width:767px){
 html .btw-root-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}
 html .onegin-filter-row button{font-size:14px;min-height:44px}
 html :is(.onegin-native-entry,.btw-sheet,[data-slot=dialog-content]) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}
 html :is([data-slot=dialog-content],[data-slot=alert-dialog-content])>[data-slot=dialog-close]{width:44px;height:44px;top:6px;right:6px;display:grid;place-items:center}
 html [data-slot=dialog-title]{padding-right:30px;overflow-wrap:break-word}
 html .ll-watch-nav>button{min-height:44px}
 html .ll-player:has(.ll-player-message){aspect-ratio:auto;min-height:240px;overflow:visible}
 html .ll-player-message{position:relative;min-height:240px;border-radius:10px;padding:24px 18px}
 html .ll-player-message p{font-size:14px}
 html .ll-player-message :is(a,button){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 html .ll-description{font-size:16px}
}

/* The mobile CMO chat is portaled outside its workspace container. */
html .mobile-chat-sheet.workplace-cmo{background:var(--card);color:var(--foreground);font-family:var(--wp-font)}
html .workplace-cmo .floating-chat{background:var(--card);color:var(--wp-green);border-color:var(--wp-edge);border-radius:16px}
html .workplace-cmo .composer textarea{font-size:16px}

/* Apply the shared reading style to the account's information pages. */
html :is(.workplace-legal-page,.workplace-about-page){background:var(--background);color:var(--foreground);font-family:var(--wp-font)}
html :is(.workplace-legal-page>article,.workplace-about-page>div){background:var(--card);border-color:var(--wp-edge);border-radius:12px;box-shadow:3px 4px 0 var(--wp-shadow)}
html :is(.workplace-legal-page,.workplace-about-page) :is(h1,h2){font-family:var(--wp-heading);color:var(--foreground);line-height:1.2}
html .workplace-legal-page :is(header,footer){border-color:var(--border)}
html .workplace-legal-page article>div{color:var(--foreground);overflow-wrap:anywhere}
html .workplace-legal-page a{color:var(--wp-green)}
html .workplace-about-page article{background:var(--background);border-color:var(--border);border-radius:10px}
html .workplace-about-page .workplace-about-callout h2{color:inherit}
@media(max-width:600px){
 html .workplace-legal-page{padding:20px 16px}
 html .workplace-legal-page :is(header,article>div,footer){padding-inline:20px}
 html .workplace-legal-page article>div{font-size:16px;line-height:1.75}
 html .workplace-legal-page footer nav a{min-height:44px}
 html .workplace-about-page{padding:20px 16px}
}

html .workplace-about-page header>a:last-child{background:var(--wp-green);color:var(--primary-foreground);border-radius:7px;box-shadow:2px 3px 0 var(--wp-shadow)}
html .workplace-about-page section>p:first-child{color:var(--wp-green)}
html .workplace-about-page article>span{background:var(--wp-tint);color:var(--wp-green)}
html .workplace-about-page :is(header,footer){border-color:var(--border)}

html .workplace-cmo .cmo-next-steps{padding:22px;min-width:0}
html .workplace-cmo .cmo-next-steps h2{font-size:24px;line-height:1.25;margin-top:6px}
html .workplace-cmo .cmo-next-steps .note{font-size:13px;line-height:1.65;overflow-wrap:break-word}
@media(max-width:600px){html .workplace-cmo .cmo-next-steps{padding:20px 16px}}

/* Dark Workplace tools share the account's graphite surfaces and readable type.
   Scope these repairs to the embedded tools; public marketing pages keep their palette. */
/* Coach styles load after this file; keep their legacy gray canvas from winning. */
html[data-theme=dark]:root,html[data-theme=dark]:root body{background:var(--wp-paper)}
html[data-theme=dark] .reference-app{background:var(--wp-paper);color:var(--wp-ink)}
html[data-theme=dark] .reference-app :is(.reference-task,.reference-transcript,.reference-review,.level-strip){background:var(--wp-card);border-color:var(--wp-line);box-shadow:none}
html[data-theme=dark] .reference-app :is(.reference-primary,.transcript-latest){background:var(--wp-action);color:var(--primary-foreground);border-color:var(--wp-action)}
html[data-theme=dark] .reference-app .reference-secondary{background:var(--wp-card);color:var(--foreground);border-color:var(--wp-edge)}
html[data-theme=dark] .reference-app .reference-task :is(button,a){color:var(--wp-green)}
html[data-theme=dark] body .workplace-cmo :is(h1,h2,h3,h4,strong,b,dt,dd,th,td,label,summary){color:var(--foreground)}
html[data-theme=dark] body .workplace-cmo :is(p,small,time,.note,.eyebrow,.traffic-coverage,.panel-heading span,.section-heading>span,.health-metrics span,.health-score>span,.year-months span,.instant-art-caption>span){color:var(--muted-foreground)}
html[data-theme=dark] body .workplace-cmo :is(a,button){color:var(--wp-green)}
html[data-theme=dark] body .workplace-cmo :is(button,input,textarea,select){border-color:var(--wp-edge)}
html[data-theme=dark] body .workplace-cmo :is(.panel,.dashboard-business,.instant-creatives,.instant-creative,.instant-story,.compact-meta,.instant-ad-placeholder,.traffic-card,.site-health,.chat-panel,.panel-heading,.composer,.calm-details,.quiet-details,.department-card,.simple-department,.recommendation-card,.material-card,.result-card,.integration-card,.production-task,.activity-timeline,.creative-card,.office-handoffs,.office-selected){background:var(--card);border-color:var(--border);box-shadow:none}
html[data-theme=dark] body .workplace-cmo :is(.empty-chart,.year-months>div,.health-scores,.health-metrics>div,.health-device-switch,.instant-pending,.ad-placeholder-space,.instant-competitors th,.rival-traffic>div,.work-lane,.production-lanes>section,.work-empty,.calm-empty,.production-empty,.creative-empty,.health-brief,.counter,.loading-data){background:var(--muted);color:var(--muted-foreground);border-color:var(--border)}
html[data-theme=dark] body .workplace-cmo :is(.instant-competitors tr:hover td,.health-device-switch button[aria-pressed=true]){background:var(--wp-tint);color:var(--wp-green)}
html[data-theme=dark] body .workplace-cmo :is(.health-scores,.health-device,.health-score,.health-metrics,.health-signals,.health-issues,.instant-competitors th,.instant-competitors td,.social-row,.instant-art-caption,.instant-story>div){border-color:var(--border)}
html[data-theme=dark] body .workplace-cmo :is(.team-live-summary,.demo-banner,.prompts button){background:var(--wp-tint);color:var(--wp-green);border-color:var(--border)}
html[data-theme=dark] body .workplace-cmo :is(.team-live-copy>span,.team-live-progress,.team-live-queue small){color:var(--muted-foreground)}
html[data-theme=dark] body .workplace-cmo :is(.team-live-summary button,.team-live-queue>span,.health-card button,.site-health button,.section-heading button,[data-slot=button][data-variant=outline]){background:var(--card);color:var(--wp-green);border-color:var(--wp-edge)}
html[data-theme=dark] body .workplace-cmo :is(.composer button,[data-slot=button][data-variant=default]){background:var(--wp-action);color:var(--primary-foreground)}
html[data-theme=dark] body .workplace-cmo :is(.chat-close,.section-heading h3>svg,.site-health h2>svg){color:var(--muted-foreground)}
html[data-theme=dark] body .workplace-cmo :is(.team-live-alert,.instant-pending.failed){background:#3f3428;color:#eac996;border-color:#69523a}
html[data-theme=dark] body :is(.cmo-entry-error,.chat-send-error){background:#3d292b;color:#f1b3af;border-color:#795257}
html[data-theme=dark] .cmo-workspace-actions:is(:hover,[data-state=open]),html[data-theme=dark] .cmo-workspace-menu-item[data-highlighted]{background:var(--muted)}
html[data-theme=dark] .cmo-workspace-menu{background:var(--popover);color:var(--foreground);border-color:var(--wp-edge)}
html[data-theme=dark] .cmo-workspace-menu-separator{background:var(--border)}
html[data-theme=dark] .cmo-loading-grid>div{background:var(--card);border-color:var(--border)}
html[data-theme=dark] .cmo-loading-body>p,html[data-theme=dark] .cmo-employee-signin p{color:var(--muted-foreground)}
html[data-theme=dark][data-workplace-tool] .floating-chat{background:var(--card)!important;color:var(--foreground)!important;border-color:var(--wp-edge);box-shadow:0 4px 20px #0003}
html[data-theme=dark][data-workplace-tool] [data-slot=dialog-content].cmo-voice-dialog{background:var(--card);color:var(--foreground)}
html[data-theme=dark][data-workplace-tool] :is(.voice-header>span,.voice-header button,.voice-identity [data-slot=dialog-description],.voice-business,.voice-status time,.voice-caption>span,.voice-caption p,.voice-controls span,.voice-save,.voice-footnote){color:var(--muted-foreground)}
html[data-theme=dark][data-workplace-tool] :is(.voice-person,.voice-caption,.voice-controls .voice-mute){background:var(--muted);color:var(--foreground)}
html[data-theme=dark][data-workplace-tool] .voice-status{color:var(--wp-green)}
html[data-theme=dark][data-workplace-tool] :is(.cmo-voice-dialog .voice-start,.voice-finished button,.voice-save-error button){background:var(--wp-action);color:var(--primary-foreground)}
html[data-theme=dark] [data-slot=button][data-variant=destructive]{background:#ad4744;color:#fffdf7}

html[data-theme=dark] body .workplace-cmo :is(.research-status-badge.complete,.health-device-label,.social-count strong){color:var(--wp-green)}
html[data-theme=dark] body .workplace-cmo :is(.audit-progress>span:not(.research-status-badge),.source-research-status>span:not(.research-status-badge),.traffic-summary>span,.health-device-label>span){color:var(--muted-foreground)}
html[data-theme=dark] body .workplace-cmo .business-logo{background:var(--muted);color:var(--wp-green)}
html[data-theme=dark] body .workplace-cmo .doctor-chat .message.user{background:var(--wp-tint);color:var(--foreground)}
html[data-theme=dark] :is(.btw-sheet,[data-slot=dialog-content],[data-slot=dropdown-menu-content],.workplace-mobile-menu,.reference-app,.workplace-cmo) :is(button,a,input,textarea):focus-visible{outline:2px solid var(--ring);outline-offset:3px}

/* One measured row keeps the input and every action on the same centre line. */
html .btw-content-first .btw-composer-field{align-items:center;gap:4px;padding:6px}
html .btw-content-first .btw-composer-field .btw-composer-action{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;line-height:1}
html .btw-content-first .btw-composer-field .btw-composer-action svg{display:block;width:20px;height:20px;flex:none}
html .btw-content-first .btw-composer-field .btw-composer-text{box-sizing:border-box;min-height:44px;margin:0;padding:10px 4px;font-size:16px;line-height:24px;align-self:center}
@media(max-width:767px){html .btw-content-first .btw-composer-field{gap:2px;padding:4px}}

/* Current NEXT MBA finish. Only paint properties below: no layout, font metrics,
   border widths, media breakpoints or interaction changes. */
html .btw-root-shell [data-slot=sidebar-menu-button][data-active=true],
html .workplace-menu-sections>button[aria-current=page]{
 background:var(--wp-tint);border-color:var(--wp-edge);box-shadow:inset 3px 0 var(--wp-green);
}
html .workplace-upgrade,
html .onegin-auth-form .onegin-email-submit,
html .workplace-membership .button-orange,
html .cmo-entry-primary{box-shadow:none}
html .btw-root-shell :is([data-slot=sidebar-menu-button],.workplace-upgrade),
html .workplace-menu-sections>button,
html .onegin-auth-form :is(input,.onegin-google-button,.onegin-email-submit),
html .workplace-membership .button-orange,
html .cmo-entry-primary{border-radius:12px}
html .btw-root-shell [data-slot=sidebar-menu-button]:focus-visible,
html .workplace-upgrade:focus-visible{outline-color:var(--ring)}

html :is([data-slot=dialog-content],[data-slot=alert-dialog-content],
 [data-slot=dropdown-menu-content],[data-slot=select-content],.btw-sheet){
 border-color:var(--wp-line);border-radius:10px;box-shadow:var(--wp-overlay-shadow);
}
html .onegin-native-entry .onegin-native-entry-card,
html .workplace-profile>div>section,
html .cmo-employee-card,
html .onegin-workspace-view article,
html .workplace-events>div>article,
html :is(.ll-card,.ll-playlist,.ll-feature){
 border-color:var(--wp-line);border-radius:10px;box-shadow:var(--wp-elevation);
}
html .onegin-workspace-view article:has([data-slot=switch][data-state=checked]),
html :is(.ll-card,.ll-feature):hover{border-color:var(--wp-edge);box-shadow:var(--wp-elevation)}
html .btw-content-first .btw-composer-field,
html .btw-content-first .onegin-section-composer .btw-composer-field{
 border-color:var(--wp-edge);background:var(--card);box-shadow:var(--wp-elevation);border-radius:10px;
}
html .btw-content-first .btw-composer-field:focus-within{border-color:var(--wp-green)}
html .btw-content-first .btw-composer-field .btw-composer-action{border-radius:6px}
html .onegin-filter-row button,
html .ll-filter-row button{border-radius:5px}
html .ll-feature-portrait>span{background:var(--card);color:var(--foreground);border-color:var(--wp-line)}
html .workplace-events>div>article>header{background:var(--wp-tint)}
html .workplace-membership .nextplus-offer-info{background:var(--wp-tint);color:var(--foreground);border-color:var(--wp-edge)}
html .workplace-membership-price del{color:var(--muted-foreground)}

/* The same cards, characters and hit areas on a quieter, unified surface. */
html body .workplace-character-card{
 --card-accent:var(--wp-action);--card-wash:#e3e7ee;
 background:var(--card)!important;color:var(--foreground)!important;
 border-color:var(--wp-line)!important;border-radius:10px!important;box-shadow:var(--wp-elevation)!important;
}
html body .workplace-character-card.tone-language{--card-wash:#e7eced}
html body .workplace-character-card.tone-difficult{--card-wash:#eae7ef}
html body .workplace-character-card.tone-cmo{--card-wash:#e4edfc}
html body .workplace-character-card.tone-email{--card-wash:#edeae0}
html[data-theme=dark] body .workplace-character-card,
html.dark body .workplace-character-card{--card-wash:#26364b}
html[data-theme=dark] body .workplace-character-card.tone-language,
html.dark body .workplace-character-card.tone-language{--card-wash:#242e2e}
html[data-theme=dark] body .workplace-character-card.tone-difficult,
html.dark body .workplace-character-card.tone-difficult{--card-wash:#2e2932}
html[data-theme=dark] body .workplace-character-card.tone-cmo,
html.dark body .workplace-character-card.tone-cmo{--card-wash:#233958}
html[data-theme=dark] body .workplace-character-card.tone-email,
html.dark body .workplace-character-card.tone-email{--card-wash:#302e25}
html body .workplace-character-card:hover{border-color:var(--wp-green)!important;box-shadow:var(--wp-elevation)!important}
html .workplace-character-stage{border-color:var(--wp-line)}
html .workplace-character-quote{background:var(--card);color:var(--card-foreground);border-color:var(--wp-edge);border-radius:8px;box-shadow:var(--wp-elevation)}
html .workplace-card-mark{background:var(--card);color:var(--wp-green);border-color:var(--wp-line)}
html .workplace-card-action{background:var(--wp-action);color:var(--primary-foreground);border-radius:6px}
html .workplace-card-copy>p{color:var(--muted-foreground)}
html .workplace-card-tags span{background:var(--muted);color:var(--muted-foreground);border-color:var(--wp-line);border-radius:4px}
html .workplace-team-note{background:var(--wp-tint);color:var(--foreground);border-color:var(--wp-line)}
html body .workplace-team-eyebrow{color:var(--muted-foreground)!important}

/* Embedded tools consume the shared palette without touching their stages. */
html body .workplace-cmo :is(.panel,.instant-products>div,.calm-details,.chat-screen,.chat-composer,.chat-panel,.composer,.traffic-card){
 background:var(--card);color:var(--foreground);border-color:var(--wp-line);box-shadow:none;
}
html body .reference-app :is(.reference-task,.reference-transcript,.reference-review,.level-strip){
 background:var(--card);color:var(--foreground);border-color:var(--wp-line);box-shadow:var(--wp-elevation);
}
html body .reference-app .reference-primary{background:var(--wp-action);color:var(--primary-foreground);border-color:var(--wp-action);box-shadow:none}
html body .reference-app .reference-secondary{background:var(--card);color:var(--foreground);border-color:var(--wp-edge)}
/* Coach accent text needs an ink colour, not the shared accent surface. */
html .reference-app :is(.reference-participants strong small,.reference-line.user>div>span,.correction-card>strong,button.scene-brief-trigger,.scene-brief-heading>span,.scene-brief-roles section>span){color:var(--wp-green)}

/* Brand finish: existing widths, spacing and type sizes remain unchanged. */
@font-face{font-family:WorkplaceDisplay;src:url('/belfort-cinematic/shared/fonts/manrope-600.woff') format('woff');font-weight:400 800;font-display:swap}
html .btw-root-shell [data-slot=sidebar],html .workplace-mobile-menu{background:var(--wp-paper);color:var(--foreground)}
html .btw-root-shell [data-slot=sidebar-menu-button][data-active=true],html .workplace-menu-sections>button[aria-current=page]{background:var(--wp-tint);color:var(--wp-green);border-color:transparent;box-shadow:none}
html .btw-root-shell [data-slot=sidebar-menu-button][data-active=true] svg{color:inherit}
/* The mobile menu's base text is !important; keep its selected label and icons
   paired with the pale blue fill instead of inheriting dark-theme white. */
html .workplace-menu-sections>button[aria-current=page]{color:var(--wp-green)!important}
html .workplace-menu-sections>button[aria-current=page] svg{color:inherit}
html .workplace-upgrade{background:var(--wp-tint);color:var(--wp-green);border-color:transparent}
html .workplace-upgrade:hover{background:var(--secondary);color:var(--foreground)}
html .ll-feature{background:var(--wp-card);color:var(--foreground);border-color:var(--wp-line)}
html .ll-feature-copy p{color:var(--muted-foreground)}
html .ll-feature-kicker,html .ll-feature-action{color:var(--wp-green)}

/* One navigation control across the cabinet and its embedded tools. */
html body button.workplace-navigation-toggle.workplace-navigation-toggle{
 align-items:center;justify-content:center;flex:0 0 44px;
 width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;
 padding:0;margin:0;border:1px solid var(--wp-edge);border-radius:8px;
 background:var(--wp-card);color:var(--wp-ink);box-shadow:none;
 cursor:pointer;touch-action:manipulation;transition:background .15s,border-color .15s;
}
html body button.workplace-navigation-toggle.workplace-navigation-toggle:hover{background:var(--wp-tint);border-color:var(--wp-green)}
html body button.workplace-navigation-toggle.workplace-navigation-toggle:focus-visible{outline:2px solid var(--ring);outline-offset:3px}
html body button.workplace-navigation-toggle.workplace-navigation-toggle>svg{width:18px;height:18px;stroke-width:1.7;flex:none}

@media(max-width:767px){
 html body :is(.workplace-mobile-topbar,.cmo-workspace-header,.cmo-entry-nav){
  box-sizing:border-box;display:flex;align-items:center;gap:12px;flex-shrink:0;
  height:calc(52px + env(safe-area-inset-top,0px));min-height:calc(52px + env(safe-area-inset-top,0px));
  padding:calc(4px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 4px max(12px,env(safe-area-inset-left,0px));
  background:var(--wp-paper);color:var(--wp-ink);border:0;border-bottom:1px solid var(--wp-line);
 }
 html body :is(.workplace-mobile-title,.cmo-workspace-header h1,.cmo-entry-nav strong){
  flex:1;min-width:0;margin:0;font-family:var(--wp-font);font-size:15px;font-weight:600;line-height:1.25;letter-spacing:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 html body .cmo-workspace-actions{width:44px;height:44px;border-radius:8px}
}

/* Section names already live in the mobile navigation bar. Keep content titles. */
@media(max-width:767px){
 html .btw-root-shell :is(.workplace-page-heading,.workplace-team-heading>div>h2,.workplace-team-eyebrow,.ll-header>div,.bl-header h1,.bl-header .bl-kicker,.workplace-account-panel>div>h1),
 html .an-embedded .an-title-row>h1,
 html .cmo-entry-shell .cmo-employee-card>h1,
 html .lab-header .lab-brand,
 html .ac-header-brand :is(.workplace-navigation-toggle,.ac-wordmark){display:none}
 html .btw-root-shell :is(.workplace-page-heading+p,.workplace-team-heading>div>p:last-child){margin-top:0}
 html .btw-root-shell .workplace-team-heading{margin-bottom:20px}
 html .btw-root-shell .workplace-account-panel>div>h1+*{margin-top:0}
}

/* Navigation shares the canvas, including the area behind its controls. */
html .btw-root-shell .btw-desktop-navigation{
 --nav-surface:var(--background);--nav-ink:var(--foreground);--nav-muted:var(--muted-foreground);
 --nav-active:var(--wp-tint);--nav-hover:var(--muted);--nav-line:var(--border);
}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar]{background:var(--nav-surface);color:var(--nav-ink);border-color:var(--nav-line)}
html .btw-root-shell .btw-desktop-navigation .workplace-sidebar-header{padding:16px 14px 12px;gap:0;border:0}
.workplace-sidebar-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-left:6px}
.workplace-sidebar-home{display:flex;align-items:center;gap:10px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--nav-ink);cursor:pointer}
.workplace-sidebar-wordmark{font-size:18px;line-height:1;font-weight:700;letter-spacing:.035em}
html .btw-root-shell .btw-desktop-navigation .workplace-sidebar-home .workplace-brand{width:30px;border-radius:9px;background:#ff4f1f}
/* Reuse the vector mark, cropping only the white app-icon surround in this header. */
html .btw-root-shell .btw-desktop-navigation .workplace-sidebar-home .workplace-brand img{width:123.077%;height:123.077%;left:-11.538%;top:-9.615%}
html body .btw-desktop-navigation button.workplace-navigation-toggle.workplace-navigation-toggle{border:0;border-radius:12px;background:transparent;color:var(--nav-muted)}
html body .btw-desktop-navigation button.workplace-navigation-toggle.workplace-navigation-toggle:hover{background:var(--nav-hover);color:var(--nav-ink)}
html body .btw-desktop-navigation button.workplace-navigation-toggle.workplace-navigation-toggle>svg{width:18px;height:18px;stroke-width:1.7}
.workplace-sidebar-persona{margin-top:14px}
html .btw-desktop-navigation .workplace-sidebar-persona .btw-header-persona{gap:10px;min-height:52px;padding:6px;border-radius:12px}
html .btw-desktop-navigation .workplace-sidebar-persona .btw-header-persona:hover{background:var(--nav-hover)}
html .btw-desktop-navigation .btw-header-persona>span:first-child,
html .btw-desktop-navigation .btw-header-persona>span:first-child>*,
html .btw-desktop-navigation .btw-header-persona>span:first-child>span>span{width:36px;height:36px}
html .btw-desktop-navigation .btw-header-persona>span:last-child>span:first-child{font-size:14px;font-weight:600;color:var(--nav-ink)}
html .btw-desktop-navigation .btw-header-persona>span:last-child>span:last-child{font-size:11px;font-weight:400;color:var(--nav-muted)}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-content]{padding:6px 12px 16px}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu]{gap:3px}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button]{height:44px;gap:12px;padding-inline:12px;border:0;border-radius:11px;background:transparent;color:var(--nav-muted);font-size:14px;font-weight:400;box-shadow:none}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button]>svg{width:18px;height:18px;stroke-width:1.7;color:inherit}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button]:hover{background:var(--nav-hover);color:var(--nav-ink)}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button][data-active=true]{background:var(--nav-active);color:var(--nav-ink);font-weight:600;border-color:transparent;box-shadow:none}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button][data-active=true]>svg{color:var(--nav-ink)}
html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-footer]{padding:12px 14px;border-color:var(--nav-line)}
@media(prefers-reduced-motion:reduce){html .btw-root-shell .btw-desktop-navigation [data-slot=sidebar-menu-button]{transition:none}}

/* One finish for every section. Artwork, charts and native touch targets retain their geometry. */
html .btw-root-shell.btw-content-first {
  --workspace-gap: 20px;
  --workspace-radius: 16px;
  --workspace-control-radius: 12px;
}
html .btw-root-shell.btw-content-first :is(.workplace-page-heading,.workplace-apps-heading h2,.wl-header h1,.ll-header h1,.bl-header h1,.workplace-account-panel h1) {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.025em;
}
html .btw-root-shell.btw-content-first :is(.workplace-apps,.wl-inner) { padding: 16px var(--workspace-gap) 24px; }
html .btw-root-shell.btw-content-first :is(.workplace-apps-heading,.wl-header) { margin-bottom: 14px; }
html .btw-root-shell.btw-content-first .onegin-workspace-view > .btw-scroll-view { padding-top: 16px; }
html .btw-root-shell.btw-content-first :is(.onegin-workspace-view article,.mr-card,.wl-feature,.ll-card,.ll-playlist,.bl-card,.workplace-account-panel section) {
  border-radius: var(--workspace-radius);
  border-color: var(--border);
  box-shadow: var(--wp-elevation);
}
html .btw-root-shell.btw-content-first .workplace-app-card { padding: 16px; }
html .btw-root-shell.btw-content-first .workplace-app-top { margin-bottom: 12px; }
html .btw-root-shell.btw-content-first .workplace-app-icon { width: 40px; height: 40px; border-radius: 12px; }
html .btw-root-shell.btw-content-first .workplace-app-icon svg { width: 28px; height: 28px; }
html .btw-root-shell.btw-content-first .workplace-app-category { border-radius: 6px; }
html .btw-root-shell.btw-content-first :is(.wl-tabs,.onegin-filter-row,.ll-filter-row) { gap: 4px; }
html .btw-root-shell.btw-content-first :is(.wl-tabs button,.onegin-filter-row button,.ll-filter-row button) {
  border-radius: 10px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}
html .btw-root-shell.btw-content-first .wl-tabs { margin-bottom: 18px; }
html .btw-root-shell.btw-content-first .mr-header { padding: 16px 20px; gap: 12px; }
html .btw-root-shell.btw-content-first .mr-header h1 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
html .btw-root-shell.btw-content-first .mr-eyebrow { margin-bottom: 5px; letter-spacing: .12em; }
html .btw-root-shell.btw-content-first .mr-list { padding: 16px; }
html .btw-root-shell.btw-content-first .mr-card { padding-block: 14px; border-radius: 16px; }
html .btw-root-shell.btw-content-first .mr-card-icon { flex-basis: 40px; height: 40px; }
html .btw-root-shell.btw-content-first .my-recordings { --mr-accent: var(--wp-green); }
html .btw-root-shell.btw-content-first .mr-record:not(.mr-record-secondary) { background: var(--wp-action); color: var(--primary-foreground); box-shadow: none; }
html .btw-root-shell.btw-content-first .mr-record { border-radius: var(--workspace-control-radius); }
html .btw-root-shell.btw-content-first .mr-icon-button { border-radius: var(--workspace-control-radius); background: var(--card); }
html .btw-root-shell.btw-content-first .mr-card-icon { border-radius: 12px; }
html .btw-root-shell.btw-content-first .mr-empty-mic { width: 48px; height: 48px; border-radius: 16px; background: var(--muted); color: var(--mr-accent); box-shadow: none; }
html .btw-root-shell.btw-content-first .mt-scroll { padding: 16px 20px 20px; }
html .btw-root-shell.btw-content-first .mt-toolbar { margin-bottom: 14px; gap: 8px; }
html .btw-root-shell.btw-content-first .mt-tabs { padding: 3px; border-radius: 14px; background: var(--muted); border-color: var(--border); }
html .btw-root-shell.btw-content-first .mt-tab { border-radius: 10px; }
html .btw-root-shell.btw-content-first :is(.mt-tab[aria-selected=true],.mt-tab[aria-pressed=true]) { background: var(--card); color: var(--foreground); box-shadow: var(--wp-elevation); }
html .btw-root-shell.btw-content-first :is(.onegin-filter-row button,.wl-tabs button,.ll-filter-row button)[aria-pressed=true] { background: var(--wp-tint); color: var(--wp-green); border-color: transparent; }
html .btw-root-shell.btw-content-first :is(.wl-search,.ll-search input,.bl-search,.wl-topic) { background: var(--card); border-color: var(--input); border-radius: var(--workspace-control-radius); }
html .btw-root-shell.btw-content-first .wl-library :is(button,input,select,a):focus-visible { outline-color: var(--ring); }
html .btw-root-shell.btw-content-first .wl-search:focus-within { border-color: var(--ring); box-shadow: 0 0 0 2px color-mix(in srgb,var(--ring) 14%,transparent); }
html .btw-root-shell.btw-content-first .wl-search button { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 8px; }
html .btw-root-shell.btw-content-first .wl-feature { background: var(--card); color: var(--foreground); }
html .btw-root-shell.btw-content-first .wl-feature-copy :is(p,small),
html .btw-root-shell.btw-content-first .wl-feature-copy h2 em { color: var(--muted-foreground); }
html .btw-root-shell.btw-content-first .wl-feature .wl-open { color: var(--wp-green); border-color: var(--input); }
html .btw-root-shell.btw-content-first .wl-feature:hover .wl-open { color: var(--wp-green-hover); border-color: var(--wp-green); }
html .btw-root-shell.btw-content-first .wl-tabs button[aria-selected=true] { color: var(--wp-green); }
html .btw-root-shell.btw-content-first .wl-tabs button[aria-selected=true]::after { background: var(--wp-green); }
html .btw-root-shell.btw-content-first .wl-saved-filter[aria-pressed=true] { color: var(--wp-green); border-color: var(--input); background: var(--wp-tint); }
html .btw-root-shell.btw-content-first :is(.ai-mail-list,.ai-mail-reader,.ai-mail-toolbar,.ai-mail-notices) { background: var(--background); }
html .btw-root-shell.btw-content-first .ai-mail-notice { border-radius: var(--workspace-control-radius); }
html .btw-root-shell.btw-content-first :is(.onegin-workspace-view,.workplace-account-panel) [data-slot=button] { border-radius: var(--workspace-control-radius); }
html .btw-root-shell.btw-content-first .btw-desktop-navigation .workplace-sidebar-header { padding-block: 12px 8px; }
html .btw-root-shell.btw-content-first .workplace-sidebar-persona { margin-top: 8px; }
html .btw-root-shell.btw-content-first .btw-desktop-navigation [data-slot=sidebar-menu] { gap: 2px; }
html .btw-root-shell.btw-content-first .btw-desktop-navigation [data-slot=sidebar-footer] { padding-block: 10px; }
html .btw-root-shell.btw-content-first :is(.assistant-dock,.btw-composer,.onegin-section-composer) { padding-top: 6px; }
html .btw-root-shell.btw-content-first :is(button,a,[role=tab]) > svg.lucide,
html .workplace-mobile-menu button > svg.lucide { width: 18px; height: 18px; stroke-width: 1.7; flex-shrink: 0; }
html .btw-root-shell.btw-content-first :is(.assistant-control,.btw-composer-action,.mr-icon-button,.mr-record,.mt-tab,.ai-mail-toolbar button) svg { width: 18px; height: 18px; stroke-width: 1.7; }
html .btw-root-shell.btw-content-first :is(.mr-card-icon,.mr-empty-mic,.btw-quick-icon) > svg.lucide { width: 20px; height: 20px; stroke-width: 1.7; }
html .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field) { border-color: var(--input); }
html .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field):focus-within { border-color: var(--ring); }
html .btw-root-shell.btw-content-first .btw-composer-field[data-recording=true] { border-color: var(--destructive); }
@media (min-width: 768px) and (pointer: fine) {
  html .btw-root-shell.btw-content-first .btw-desktop-navigation [data-slot=sidebar-menu-button] { height: 40px; }
  html .btw-root-shell.btw-content-first :is(.onegin-filter-row button,.wl-tabs button,.ll-filter-row button,.wl-categories button,.wl-topic,.wl-saved-filter) { min-height: 36px; padding-block: 6px; }
  html .btw-root-shell.btw-content-first :is(.mr-record,.mr-icon-button,.mt-tab,.ai-mail-toolbar button) { min-height: 36px; }
}
@media (max-width: 767px) {
  html .btw-root-shell.btw-content-first { --workspace-gap: 12px; }
  html .btw-root-shell.btw-content-first :is(.workplace-apps,.wl-inner) { padding: 12px 12px 20px; }
  html .btw-root-shell.btw-content-first .mr-header { padding: 12px 16px; flex-wrap: wrap; }
  html .btw-root-shell.btw-content-first .mr-header h1 { font-size: 22px; }
  html .btw-root-shell.btw-content-first .mr-list { padding: 12px; }
  html .btw-root-shell.btw-content-first .mr-header-actions { margin-left: auto; }
  html .btw-root-shell.btw-content-first .mt-scroll { padding: 12px; }
  html .btw-root-shell.btw-content-first .mt-toolbar { margin-bottom: 12px; }
  html .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header) {
    min-height: calc(48px + var(--btw-safe-top, env(safe-area-inset-top, 0px)));
    height: auto;
    padding-top: calc(2px + var(--btw-safe-top, env(safe-area-inset-top, 0px)));
    padding-bottom: 2px;
  }
  html .btw-root-shell.btw-content-first .workplace-mobile-title { font-size: 15px; line-height: 20px; }
}
@media (pointer: coarse) {
  html .btw-root-shell.btw-content-first :is(.onegin-filter-row button,.wl-tabs button,.ll-filter-row button,.mt-tab,.wl-categories button,.wl-topic,.wl-saved-filter) { min-height: 44px; }
  html .btw-root-shell.btw-content-first :is(.assistant-control,.btw-composer-action) { min-width: 44px; min-height: 44px; }
  html .btw-root-shell.btw-content-first :is(.mr-record,.mr-icon-button,.ai-mail-toolbar button),html .workplace-mobile-menu button { min-height: 44px; }
  html .btw-root-shell.btw-content-first .wl-search { padding-block: 4px; }
  html .btw-root-shell.btw-content-first .wl-search button { min-width: 44px; min-height: 44px; }
}

/* One compact row until text wraps; then full-width text above small controls. */
html .btw-root-shell.btw-content-first [data-autogrow-composer] {
  display:flex;flex-wrap:nowrap;align-items:flex-end;gap:2px;padding:4px;border-radius:22px;
}
html .btw-root-shell.btw-content-first [data-autogrow-composer] > textarea {
  order:0;flex:1 1 0%;width:0;min-width:0;min-height:44px;max-height:160px;box-sizing:border-box;
  padding:10px 10px;margin:0;border:0;border-radius:0;appearance:none;resize:none;
  font-size:16px;line-height:24px;overflow-wrap:anywhere;overscroll-behavior:contain;
  outline:none;box-shadow:none;background:transparent;
}
html .btw-root-shell.btw-content-first [data-autogrow-composer] > textarea:placeholder-shown {white-space:nowrap;text-overflow:ellipsis}
html .btw-root-shell.btw-content-first [data-autogrow-composer] > :is(.btw-composer-action,.assistant-control) {
  flex:none;align-self:flex-end;width:44px;height:44px;min-width:44px;min-height:44px;margin-left:0;padding:0;border-radius:50%;box-shadow:none;
}
html .btw-root-shell.btw-content-first [data-autogrow-composer] > :is(.btw-composer-action,.assistant-control) svg {width:18px;height:18px;stroke-width:1.7}
html .btw-root-shell.btw-content-first [data-autogrow-composer][data-expanded=true] {flex-wrap:wrap}
html .btw-root-shell.btw-content-first [data-autogrow-composer][data-expanded=true] > textarea {order:-1;flex:1 0 100%;width:100%}
html .btw-root-shell.btw-content-first [data-autogrow-composer][data-expanded=true] > :is(.composer-dictation,.assistant-mic) {margin-left:auto}

/* Spacing-only finish: preserve content, routes and control order. */
html .btw-root-shell.btw-content-first {
  --workspace-gutter: 20px;
  --workspace-top: 16px;
  --workspace-utility-icon: 17px;
}
html .btw-root-shell.btw-content-first :is(.workplace-apps,.wl-inner,.mt-scroll,.workplace-events,.mr-list) {
  padding-top: var(--workspace-top);
  padding-left: max(var(--workspace-gutter),var(--btw-safe-left,0px));
  padding-right: max(var(--workspace-gutter),var(--btw-safe-right,0px));
}
html .btw-root-shell.btw-content-first .onegin-workspace-view > .btw-scroll-view {
  padding-top: var(--workspace-top);
  padding-left: max(var(--workspace-gutter),var(--btw-safe-left,0px));
  padding-right: max(var(--workspace-gutter),var(--btw-safe-right,0px));
}
html .btw-root-shell.btw-content-first :is(.assistant-dock,.btw-composer,.onegin-section-composer) {
  padding-left: max(var(--workspace-gutter),var(--btw-safe-left,0px));
  padding-right: max(var(--workspace-gutter),var(--btw-safe-right,0px));
}
html .btw-root-shell.btw-content-first :is(.wl-catalogue-tools,.wl-tabs) { margin-bottom: 16px; }
html .btw-root-shell.btw-content-first .wl-catalogue-tools { gap: 8px 12px; }
html .btw-root-shell.btw-content-first :is(.mt-toolbar,.mr-header-actions) { gap: 8px; }
html .btw-root-shell.btw-content-first .mr-card { gap: 12px; }
html .btw-root-shell.btw-content-first .mr-card-icon { flex-basis: 36px; height: 36px; border-radius: 11px; }
html .btw-root-shell.btw-content-first :is(.mr-swipe,.mr-moving) { border-radius: 16px; }
html .btw-root-shell.btw-content-first .mr-swipe { background: var(--card); }
html .btw-root-shell.btw-content-first .mr-moving .mr-card {
  border-radius: 16px 0 0 16px;
  border-right: 0;
  box-shadow: none;
}
html .btw-root-shell.btw-content-first .mr-note-options { width: 44px; border-radius: 0 16px 16px 0; }
html .btw-root-shell.btw-content-first .mr-note { padding: 20px 24px 40px; }
html .btw-root-shell.btw-content-first .mr-transcript-heading { gap: 12px; margin-block: 20px 16px; }
html .btw-root-shell.btw-content-first .ai-mail-standard .ai-mail-panes { gap: 16px; padding: 16px var(--workspace-gutter); }
html .btw-root-shell.btw-content-first :is(.assistant-control,.btw-composer-action,.mr-icon-button,.mr-note-options,.mr-back,.mr-detail-delete,.mr-transcript-heading button,.mt-icon,.mt-tab,.ai-mail-toolbar button,.wl-tabs button,.wl-search button,.wl-saved-filter,.onegin-filter-row button) svg.lucide,
html .btw-root-shell.btw-content-first [data-autogrow-composer] > :is(.assistant-control,.btw-composer-action) svg {
  width: var(--workspace-utility-icon);
  height: var(--workspace-utility-icon);
  stroke-width: 1.65;
  flex-shrink: 0;
}
html .btw-root-shell.btw-content-first :is(.mt-quick-actions button,.mt-dismiss) svg.lucide { width: 16px; height: 16px; }
/* A 36px painted circle inside the existing 44px touch target. */
html .btw-root-shell.btw-content-first [data-autogrow-composer] > :is(.assistant-control,.btw-composer-action) {
  box-sizing: border-box;
  border: 4px solid transparent;
  background-clip: padding-box;
}
@media (min-width: 768px) and (pointer: fine) {
  html .btw-root-shell.btw-content-first :is(.mt-icon,.mr-icon-button,.ai-mail-toolbar button[data-size^=icon]) { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  html .btw-root-shell.btw-content-first .mt-tab { min-height: 38px; padding-block: 6px; }
  html .btw-root-shell.btw-content-first .mr-note-options { width: 36px; }
}
@media (max-width: 767px) {
  html .btw-root-shell.btw-content-first { --workspace-gutter: 12px; --workspace-top: 12px; }
  html .btw-root-shell.btw-content-first .wl-catalogue-tools { gap: 8px; }
  html .btw-root-shell.btw-content-first .mr-note { padding: 12px 16px 32px; }
  html .btw-root-shell.btw-content-first .ai-mail-standard .ai-mail-panes { gap: 12px; padding: 12px; }
  html.btw-keyboard-open .btw-root-shell.btw-content-first .ai-mail-standard .ai-mail-panes { gap: 8px; padding: 8px; }
}

/* Liquid Glass-inspired web chrome; this is a browser material, not native Apple glass.
   Keep one backdrop per surface; never filter text, cards or a glass child. */
html:root {
  --onegin-glass-fill: color-mix(in srgb,var(--background) 20%,transparent);
  --onegin-glass-edge: rgba(255,255,255,.94);
  --onegin-glass-line: rgba(64,79,100,.17);
  --onegin-glass-shadow: 0 2px 10px rgba(24,36,54,.025);
  --onegin-glass-sheen: color-mix(in srgb,var(--background) 12%,transparent);
}
html:root:is([data-theme=dark],.dark) {
  --onegin-glass-fill: color-mix(in srgb,var(--background) 30%,transparent);
  --onegin-glass-edge: rgba(255,255,255,.19);
  --onegin-glass-line: rgba(210,224,245,.17);
  --onegin-glass-shadow: 0 2px 10px rgba(0,0,0,.12);
  --onegin-glass-sheen: color-mix(in srgb,var(--background) 8%,transparent);
}
/* The field, rather than its full-width footer, owns the material. */
html:root .btw-root-shell.btw-content-first :is(.assistant-dock,.btw-composer,.onegin-section-composer) {
  background: transparent; border-top-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar,.assistant-input-field,.btw-composer-field),
html:root .onegin-call-glass {
  background: var(--card); color: var(--foreground);
  border-color: var(--onegin-glass-line);
  box-shadow: inset 0 1px 0 var(--onegin-glass-edge), inset 0 -1px 0 color-mix(in srgb,var(--foreground) 5%,transparent), var(--onegin-glass-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar,.assistant-input-field,.btw-composer-field),
  html:root .onegin-call-glass {
    background: linear-gradient(145deg,var(--onegin-glass-sheen),transparent 55%),var(--onegin-glass-fill);
    -webkit-backdrop-filter: blur(var(--onegin-glass-blur,10px)) saturate(100%);
    backdrop-filter: blur(var(--onegin-glass-blur,10px)) saturate(100%);
  }
}
html:root .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field) {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
html:root .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field):focus-within {
  border-color: var(--ring);
  box-shadow: inset 0 1px 0 var(--onegin-glass-edge),0 0 0 2px color-mix(in srgb,var(--ring) 18%,transparent),var(--onegin-glass-shadow);
}
html:root .btw-root-shell.btw-content-first .btw-composer-field[data-recording=true] {
  border-color: var(--destructive);
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--destructive) 18%,transparent);
}
/* Thin interactive fills on the shared header material, with existing hit areas. */
html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar) button {
  border-radius: 999px;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}
html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar) button:active:not(:disabled) {
  background-color: color-mix(in srgb,var(--foreground) 10%,transparent);
  box-shadow: inset 0 1px 3px color-mix(in srgb,var(--foreground) 8%,transparent);
}
@media (prefers-reduced-motion: reduce) {
  html:root .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field),
  html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar) button { transition: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header,.ai-mail-toolbar,.assistant-input-field,.btw-composer-field),
  html:root .onegin-call-glass {
    background: var(--card); border-color: var(--input);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
  }
}

/* Scroll beneath the existing mobile chrome so the material has a real backdrop.
   Measurements preserve the first message position and the last message clearance. */
@media (max-width: 767px) {
  html:root .btw-root-shell.btw-content-first[data-view=chat] :is(.btw-section-mobile-header,.btw-mobile-header) {
    position: relative; z-index: 42;
  }
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-view {
    overflow: visible;
  }
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-filter {
    position: relative; z-index: 41; pointer-events: none;
  }
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-filter :is([role=group],[role=radiogroup]) {
    pointer-events: auto;
    background: var(--card);
    border: 1px solid var(--onegin-glass-line);
    box-shadow: inset 0 1px 0 var(--onegin-glass-edge);
  }
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-scroll {
    margin-top: calc(-1 * var(--btw-chat-overlap, 0px));
    padding-top: calc(var(--btw-chat-overlap, 0px) + 12px);
    scroll-padding-top: calc(var(--btw-chat-overlap, 0px) + 12px);
    padding-bottom: calc(var(--btw-composer-height, 84px) + 16px);
    scroll-padding-bottom: calc(var(--btw-composer-height, 84px) + 16px);
  }
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-composer {
    position: absolute; inset: auto 0 0; z-index: 40;
  }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 767px) {
    html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-filter :is([role=group],[role=radiogroup]) {
      background: linear-gradient(145deg,var(--onegin-glass-sheen),transparent 55%),var(--onegin-glass-fill);
      -webkit-backdrop-filter: blur(var(--onegin-glass-blur,10px)) saturate(100%);
      backdrop-filter: blur(var(--onegin-glass-blur,10px)) saturate(100%);
    }
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  html:root .btw-root-shell.btw-content-first[data-view=chat] .btw-chat-filter :is([role=group],[role=radiogroup]) {
    background: var(--card); border-color: var(--input); box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

/* Match the canvas at both edges; only the floating controls carry glass. */
html:root .btw-root-shell.btw-content-first :is(.btw-mobile-header,.btw-section-mobile-header) {
  border-bottom-color: transparent;
  box-shadow: none;
}
html:root .btw-root-shell.btw-content-first :is(.assistant-input-field,.btw-composer-field) {
  --onegin-glass-fill: color-mix(in srgb,var(--background) 24%,transparent);
  --onegin-glass-sheen: color-mix(in srgb,var(--background) 6%,transparent);
  --onegin-glass-blur: 6px;
}
/* A solid menu canvas never picks up the scrim behind the drawer. */
html:root :is(.workplace-mobile-menu,.btw-navigation-menu) {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
  border-radius: 0 20px 20px 0;
  box-shadow: 8px 0 32px color-mix(in srgb,var(--foreground) 7%,transparent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html:root .workplace-menu-overlay { background: rgb(24 30 40 / .12); }
html:root:is([data-theme=dark],.dark) .workplace-menu-overlay { background: rgb(0 0 0 / .20); }
/* A quiet two-line mark without a painted disc or border. */
html:root body button.workplace-navigation-toggle.workplace-navigation-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0; margin: 0;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--foreground); box-shadow: none;
}
html:root body button.workplace-navigation-toggle.workplace-navigation-toggle:hover {
  background: color-mix(in srgb,var(--foreground) 4%,transparent);
}
html:root body button.workplace-navigation-toggle.workplace-navigation-toggle:active {
  background: color-mix(in srgb,var(--foreground) 7%,transparent);
  box-shadow: none;
}
html:root body button.workplace-navigation-toggle.workplace-navigation-toggle:focus-visible {
  outline: 2px solid var(--ring); outline-offset: 2px;
}
html:root body button.workplace-navigation-toggle.workplace-navigation-toggle > svg {
  width: 20px; height: 20px; stroke-width: 1.65; flex: none;
}
/* Retain responsive visibility of the desktop control. */
@media (max-width: 767px) {
  html:root body button.workplace-navigation-toggle.hidden { display: none; }
}

/* Compact Library navigation; retain full 44px touch targets. */
html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs {
  display:flex; width:fit-content; max-width:100%; gap:4px; padding:3px;
  margin-bottom:18px; border:1px solid color-mix(in srgb,var(--foreground) 7%,transparent);
  border-radius:16px; background:color-mix(in srgb,var(--foreground) 2%,var(--background));
}
html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs button {
  min-height:44px; min-width:0; gap:7px; padding:8px 12px; border-radius:12px;
  font-size:13px; line-height:18px; font-weight:500; white-space:nowrap;
  color:var(--muted-foreground); background:transparent; border:0; box-shadow:none;
}
html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs button[aria-selected=true] {
  background:var(--background); color:var(--foreground);
  box-shadow:0 1px 4px color-mix(in srgb,var(--foreground) 8%,transparent);
}
html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs button svg {width:16px;height:16px;stroke-width:1.65}
html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs button > span {
  padding:0; margin-left:1px; background:transparent; color:var(--muted-foreground);
  border-radius:0; font-size:11px; line-height:18px; font-variant-numeric:tabular-nums;
}
@media(max-width:767px) {
  html:root .btw-root-shell.btw-content-first .wl-library .wl-header {display:none}
  html:root .btw-root-shell.btw-content-first .wl-library .wl-inner {padding-top:8px}
  html:root .btw-root-shell.btw-content-first[data-view=library] .btw-section-mobile-header {gap:8px;padding-inline:12px}
  html:root .btw-root-shell.btw-content-first[data-view=library] .workplace-mobile-title {font-size:16px;font-weight:600;letter-spacing:-.2px}
  html:root .btw-root-shell.btw-content-first[data-view=library] .btw-section-mobile-header > button:last-child {
    width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
    border:4px solid transparent;background:color-mix(in srgb,var(--foreground) 4%,transparent);
    background-clip:padding-box;color:var(--foreground);box-shadow:none;
  }
  html:root .btw-root-shell.btw-content-first[data-view=library] .btw-section-mobile-header > button:last-child svg {width:18px;height:18px;stroke-width:1.65}
}
@media(max-width:359px) {
  html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs {gap:2px}
  html:root .btw-root-shell.btw-content-first .wl-library .wl-tabs button {font-size:12px;gap:5px;padding-inline:8px}
}

.next-action-spinner{display:inline-block;width:16px;height:16px;flex:0 0 16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-3px;animation:next-action-turn .7s linear infinite}
[data-next-loading]{cursor:progress!important}
[data-next-loading]::after{content:"";display:inline-block;width:13px;height:13px;flex:0 0 13px;margin-left:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:next-action-turn .7s linear infinite}
.next-navigation-status{position:fixed;z-index:2147483000;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid #d8dade;border-radius:999px;background:#fafaf8;color:#292d33;box-shadow:0 4px 18px #18223016;font:500 14px/1.4 system-ui,sans-serif;pointer-events:none}
@keyframes next-action-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.next-action-spinner,[data-next-loading]::after{animation-duration:1.8s}}
.coach-workplace-burger{display:none}
.coach-brand-with-menu,.coach-brand-wrap{min-width:0;display:flex;align-items:center;flex:1}
@media(max-width:767px){.reference-header .coach-brand-with-menu>.arena-brand{display:none}.reference-header .coach-workplace-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border:1px solid var(--line,#dedee2);border-radius:12px;background:var(--surface,#fafafa);color:var(--ink,#282c34);cursor:pointer}.coach-workplace-burger:focus-visible{outline:2px solid #e34610;outline-offset:3px}.reference-header .nextplus-access{min-height:36px;font-size:12px}}
