.cw-preferences-trigger{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0!important;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:24px!important;cursor:pointer}
.cw-experience-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(600px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 35px 110px #15122d55;font-family:var(--cw-font,system-ui);overscroll-behavior:contain}
.cw-experience-dialog::backdrop{background:#14112799;backdrop-filter:blur(7px)}
.cw-experience-brand{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-inline-end:24px}.cw-experience-brand img{display:block;width:190px;height:87px;object-fit:contain}.cw-experience-brand>span{font-size:9px;letter-spacing:.14em;color:var(--muted);max-width:105px;line-height:1.6}
html[data-resolved-theme=dark] .cw-experience-brand img{filter:brightness(0) invert(1)}
.cw-experience-dialog h2{font-family:var(--cw-heading,inherit);font-size:clamp(27px,4vw,36px);letter-spacing:-.04em;line-height:1.15;margin:21px 0 12px}.cw-experience-dialog .cw-experience-intro{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 24px}
.cw-experience-close{position:absolute;inset-block-start:12px;inset-inline-end:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--paper);color:var(--ink);font-size:28px;cursor:pointer}
.cw-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cw-preference-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:14px;color:var(--ink);font-weight:650}.cw-preference-field select{box-sizing:border-box;min-width:0;width:100%;min-height:48px;padding:9px 12px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:15px;font-weight:500}
.cw-experience-dialog .cw-preference-note{font-size:12px;line-height:1.65;color:var(--muted);margin:22px 0 0}.cw-preference-status{font-size:13px;color:var(--accent);margin:8px 0;min-height:1px}.cw-preference-save{display:block;width:100%;min-height:50px;padding:12px 18px;margin-top:15px;border:0;border-radius:11px;background:var(--accent);color:var(--on-accent);font-family:inherit;font-size:15px;font-weight:750;cursor:pointer}.cw-preference-save:disabled{opacity:.6;cursor:wait}
.cw-workspace-palette{max-width:1440px;margin:0 auto;padding:8px 28px 14px;font-size:13px}.cw-workspace-palette summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:10px;color:var(--muted)}.cw-workspace-palette summary::before{content:'◐';font-size:21px;color:var(--accent)}.cw-workspace-swatches{display:flex;flex-wrap:wrap;gap:8px;padding-top:5px}.cw-workspace-swatches button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:13px;cursor:pointer}.cw-workspace-swatches button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.cw-palette-dot{width:14px;height:14px;flex-shrink:0;border-radius:50%;background:#8d76d1}.cw-palette-sky .cw-palette-dot{background:#3593b1}.cw-palette-forest .cw-palette-dot{background:#468e68}.cw-palette-sand .cw-palette-dot{background:#be8c49}.cw-palette-slate .cw-palette-dot{background:#6a7f98}
html[data-cw-workspace=sky] body.workspace-app{--paper:#eff7fc;--surface:#fbfdff;--line:#c8dce8;--accent:#0d698a;--accent-dark:#075473;--accent-soft:#deeff7}
html[data-cw-workspace=forest] body.workspace-app{--paper:#eff7f2;--surface:#fbfefc;--line:#c9ddd1;--accent:#196d4f;--accent-dark:#105539;--accent-soft:#dfeee4}
html[data-cw-workspace=sand] body.workspace-app{--paper:#fbf6ed;--surface:#fffdf9;--line:#e6d8c1;--accent:#8d5a20;--accent-dark:#70430e;--accent-soft:#f4e9d5}
html[data-cw-workspace=slate] body.workspace-app{--paper:#f0f3f7;--surface:#fcfdff;--line:#d0d8e3;--accent:#425b7c;--accent-dark:#304663;--accent-soft:#e3eaf3}
html[data-resolved-theme=dark][data-cw-workspace=sky] body.workspace-app{--paper:#0d1b29;--surface:#14283a;--line:#2d4559;--accent:#7dd4fa;--accent-dark:#b0e7ff;--accent-soft:#18394c}
html[data-resolved-theme=dark][data-cw-workspace=forest] body.workspace-app{--paper:#101f1a;--surface:#1b2d24;--line:#354c3f;--accent:#87dfb4;--accent-dark:#b1f0cf;--accent-soft:#234432}
html[data-resolved-theme=dark][data-cw-workspace=sand] body.workspace-app{--paper:#241c14;--surface:#32291e;--line:#514432;--accent:#e9be80;--accent-dark:#f6d6a7;--accent-soft:#48351e}
html[data-resolved-theme=dark][data-cw-workspace=slate] body.workspace-app{--paper:#161e28;--surface:#222d3c;--line:#3b4b62;--accent:#b9cbe7;--accent-dark:#d4e1f5;--accent-soft:#304159}
html[data-cw-workspace] body.workspace-app{--ws-bg:var(--paper);--ws-text:var(--ink);--ws-panel:var(--surface);--ws-muted:var(--muted);--ws-line:var(--line);--ws-blue:var(--accent)}
html[data-cw-text=large] body{font-size:19px}html[data-cw-text=large] :is(p,li,label){font-size:max(1em,17px)}html[data-cw-text=large] :is(input,textarea,select){font-size:18px}
html[data-cw-motion=reduced]{scroll-behavior:auto!important}html[data-cw-motion=reduced] *,html[data-cw-motion=reduced] *::before,html[data-cw-motion=reduced] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
.cw-control-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.cw-control-icon svg,.cw-menu-icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.header-appearance{display:flex;align-items:center;gap:7px}.header-staff{gap:8px}.menu-toggle{gap:8px;align-items:center}
html .wordmark img,html .cw-topbar-logo{width:220px;height:100px;max-width:none}html .masthead{padding-block:10px}.cw-topbar-brand{gap:20px}.cw-nav-clock,.cw-header-clock{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 8px;font-size:12px;line-height:1.45;font-variant-numeric:tabular-nums;white-space:normal;min-width:0}.cw-clock-date{grid-column:1/-1;color:var(--muted);font-size:11px}.cw-clock-time{font-size:15px;font-weight:750}.cw-clock-zone{color:var(--muted);font-size:10px;max-width:170px;overflow-wrap:anywhere}.cw-topbar{flex-wrap:wrap}.cw-topbar-tools{margin-inline-start:auto}
@media(max-width:1200px){html .wordmark img,html .cw-topbar-logo{width:190px;height:87px}.cw-topbar-nav{gap:14px}.cw-topbar-tools{gap:8px}.cw-nav-clock{margin-inline-start:8px}.cw-header-clock{max-width:190px}}
@media(max-width:760px){.cw-experience-dialog{padding:24px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.cw-experience-brand img{width:170px;height:78px}.cw-experience-brand>span{display:none}.cw-preference-grid{gap:14px}.cw-experience-dialog h2{margin-top:15px}.cw-workspace-palette{padding-inline:20px}html .wordmark img,html .cw-topbar-logo{width:180px;height:82px}.cw-nav-clock,.cw-header-clock{font-size:11px}.cw-clock-date{font-size:10px}.cw-clock-zone{max-width:145px}.cw-topbar-brand{gap:8px}.cw-topbar-tools{flex-wrap:wrap;justify-content:flex-end}.cw-topbar{gap:10px;padding-block:10px}.cw-topbar-nav{order:3;width:100%}}
@media(max-width:420px){.cw-preference-grid{grid-template-columns:1fr}.cw-experience-dialog{padding:22px}.cw-experience-brand img{width:175px;height:80px}.cw-topbar-brand{width:100%;justify-content:space-between}.cw-topbar-tools{margin-inline-start:0;width:100%;justify-content:space-between}.cw-header-clock{max-width:130px}.cw-clock-time{font-size:14px}.cw-clock-zone{max-width:130px}.cw-nav-clock{max-width:150px}}
.cw-footer-preferences{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;margin-block:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-family:inherit;font-size:14px;cursor:pointer}.cw-footer-preferences::before{content:'⚙';font-size:20px}
@media(max-width:1200px){.cw-topbar-tools label>.cw-control-icon{display:inline-flex}html .masthead #primary-nav{max-height:calc(100dvh - var(--cw-toolbar-height) - 12px)}}
@media(max-width:600px){
 html .masthead{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;padding-block:10px}
 html .wordmark{grid-column:1/3;grid-row:1}html .header-tools{display:contents}
 html .header-tools .cw-preferences-trigger,.cw-topbar-tools .cw-preferences-trigger{display:none}
 html .header-staff{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 html .header-staff>span:not(.cw-control-icon),.cw-topbar-tools>a>[data-cw-staff-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html .header-appearance{grid-column:2;grid-row:3;gap:5px}html .header-appearance select{width:86px}
 html .locale-button{grid-column:1;grid-row:3;min-width:0;width:100%;max-width:145px;justify-content:center}
 html .menu-toggle{grid-column:3;grid-row:3;font-size:0;width:44px;padding:0;justify-content:center}
 .cw-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:0;padding-block:10px}
 .cw-topbar-brand{grid-column:1;grid-row:1;width:auto;display:flex;justify-content:flex-start;min-width:0}
 .cw-topbar-tools{display:contents}.cw-topbar-tools>a{grid-column:2;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 .cw-topbar-tools .cw-language-trigger{grid-column:1;grid-row:3;min-width:0;max-width:170px;min-height:44px}
 .cw-topbar-tools label{grid-column:2;grid-row:3;justify-self:end;gap:5px}.cw-topbar-tools select{width:90px;min-height:44px}
 .cw-header-clock,.cw-nav-clock{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:3px 8px;width:100%;max-width:none;margin:0;text-align:center;line-height:1.45}
 .cw-clock-date{font-size:10px}.cw-clock-time{font-size:14px}.cw-clock-zone{font-size:10px;max-width:none;overflow-wrap:normal}
}
@media(max-width:360px){html .locale-button>img{display:none}html .header-appearance .cw-control-icon{display:none}}
:root{--paper:#efedf7;--surface:#fff;--line:#cbc4dd;--muted:#565a72}
html[data-resolved-theme=dark]{--paper:#101724;--surface:#202b3d;--line:#46536a;--muted:#c0c9d9}
.cw-experience-dialog{border-width:2px}.cw-experience-brand{padding:12px 26px 12px 12px;background:var(--accent-soft);border:1px solid var(--line);border-radius:14px}.cw-preference-note{padding:12px 14px;background:var(--paper);border-inline-start:3px solid var(--accent);border-radius:7px}.cw-preference-caption{display:flex;align-items:center;gap:8px}.cw-preference-field-icon{display:inline-grid;place-items:center;min-width:22px;color:var(--accent);font-size:18px;font-weight:750}.cw-preference-field select{border-width:2px}
html .masthead .header-staff,html .cw-topbar-tools>a[data-cw-staff]{background:#08645d;color:#fff;border:1px solid #07534e;box-shadow:0 3px 0 #053e3820}
html[data-resolved-theme=dark] .masthead .header-staff,html[data-resolved-theme=dark] .cw-topbar-tools>a[data-cw-staff]{background:#17675f;color:#effffb;border-color:#6cb5a8}
html .masthead .header-client,html .cw-topbar-tools>a[data-cw-client]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border-radius:9px;background:#a94121;color:#fff;border:1px solid #8c3217;font-size:13px;text-decoration:none;white-space:nowrap}
html[data-resolved-theme=dark] .masthead .header-client,html[data-resolved-theme=dark] .cw-topbar-tools>a[data-cw-client]{background:#a4482c;color:#fff6f0;border-color:#e5a18a}
.cw-theme-trigger,.cw-app-menu-trigger{display:none;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:24px;cursor:pointer}
.cw-topbar{min-height:88px}
@media(max-width:1200px){
 html .masthead{display:grid;grid-template-columns:minmax(0,1fr) auto 44px 44px;gap:8px;padding-block:10px}
 html .masthead .wordmark{grid-column:1/3;grid-row:1}html .masthead .header-tools{display:contents}
 html .masthead .header-staff{grid-column:4;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 html .masthead .header-client{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 html .masthead .header-staff>span:not(.cw-control-icon),html .masthead .header-client>span:not(.cw-control-icon){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html .masthead .cw-header-clock{grid-column:1/-1;grid-row:2;justify-self:center;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:3px 8px;width:100%;max-width:none;margin:0;line-height:1.45}
 html .masthead .locale-button{grid-column:1/3;grid-row:3;justify-self:start;width:auto;max-width:180px}
 html .masthead .header-appearance{display:none}
 html .masthead .cw-theme-trigger{display:inline-flex;grid-column:3;grid-row:3}
 html .masthead .menu-toggle{display:inline-flex;grid-column:4;grid-row:3;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;font-size:0}
 html .masthead .header-tools>.cw-preferences-trigger{display:none}
 .cw-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto 44px 44px;gap:8px;min-height:0}
 .cw-topbar-brand{grid-column:1/3;grid-row:1;display:flex;width:auto;min-width:0;justify-content:flex-start}
 .cw-topbar .cw-topbar-tools{display:contents}.cw-topbar-tools>a[data-cw-staff]{grid-column:4;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 .cw-topbar-tools>a[data-cw-client]{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;min-width:44px;padding:0}
 .cw-topbar-tools>a[data-cw-staff]>[data-cw-staff-label],.cw-topbar-tools>a[data-cw-client]>[data-cw-client-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .cw-topbar .cw-nav-clock{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:3px 8px;width:100%;max-width:none;margin:0}
 .cw-topbar-tools .cw-language-trigger{grid-column:1/3;grid-row:3;justify-self:start;max-width:180px;width:auto}
 .cw-topbar .cw-topbar-tools label,.cw-topbar .cw-topbar-tools>.cw-preferences-trigger{display:none}
 .cw-topbar-tools>.cw-theme-trigger{display:inline-flex;grid-column:3;grid-row:3}.cw-topbar-tools>.cw-app-menu-trigger{display:inline-flex;grid-column:4;grid-row:3}
 .cw-topbar .cw-topbar-nav{display:none}.cw-topbar .cw-topbar-nav.cw-nav-open{display:flex;position:absolute;inset-inline:0;top:100%;padding:18px 24px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 15px 25px #14132422;z-index:71;flex-direction:column;align-items:flex-start;gap:8px}
}
@media print{.cw-experience-dialog,.cw-workspace-palette,.cw-preferences-trigger,.cw-footer-preferences,.cw-theme-trigger,.cw-app-menu-trigger{display:none!important}}

/* Private CRM stays visually distinct from the personal whiteboard. */
.ws-client-layout{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.7fr);gap:28px}.ws-client-row,.ws-client-thread{display:block;width:100%;text-align:start;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:13px 16px;margin:9px 0;min-height:46px;font:inherit}.ws-client-row b,.ws-client-row span,.ws-client-row small{display:block;overflow-wrap:anywhere}.ws-client-row b{font-size:15px}.ws-client-row span,.ws-client-row small{font-size:11px;color:var(--muted);margin-top:5px}.ws-client-profile h3{font:750 24px var(--cw-heading);margin:25px 0 16px}.ws-client-profile dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:9px;font-size:13px}.ws-client-profile dt{color:var(--muted)}.ws-client-profile dd{margin:0;overflow-wrap:anywhere}.ws-client-messages{max-height:420px;overflow:auto;padding:8px 0}.ws-client-messages article{padding:15px 18px;border:1px solid var(--line);border-radius:10px;background:var(--paper);margin:12px 0;overflow-wrap:anywhere}.ws-client-messages article.from-staff{background:var(--accent-soft)}.ws-client-messages time{display:block;font-size:11px;color:var(--muted);margin-top:5px}.ws-client-messages p{font-size:14px!important}.ws-client-grants{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}.ws-client-grants summary,.ws-client-new summary{min-height:44px;cursor:pointer;font-size:15px}.ws-client-grant-form{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--line)}.ws-client-grant-form>span{font-size:12px;color:var(--muted)}.ws-client-grant-form label{display:flex;align-items:center;gap:7px;font-size:13px!important}.ws-client-grant-form input{width:18px!important;min-height:18px!important}.ws-client-grant-form button{width:auto;margin:0;font-size:13px}.ws-client-management .ws-submit{width:auto;font-size:14px;padding:12px 20px;margin-top:15px}.ws-client-management textarea,.ws-client-management input{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit}.ws-client-management label{display:block;font-size:14px;margin:14px 0}.ws-client-management [hidden]{display:none!important}
@media(max-width:760px){.ws-client-layout{grid-template-columns:1fr;gap:16px}.ws-client-profile dl{grid-template-columns:90px minmax(0,1fr);font-size:12px}.ws-client-management .ws-submit{width:100%}}

@media(min-width:1201px){html .masthead{row-gap:0;padding-block:8px 0}html .masthead nav#primary-nav{margin:0;width:100%;padding:4px 0;min-width:0;justify-content:flex-end}.cw-mega-menu>summary{min-height:44px}}

/* OFL country-flag glyph subset: native picker flags work without an OS emoji font. */
@font-face{font-family:CwLanguageFlags;src:url('./ui-fonts/cw-language-flags.woff2?v=regions-20261105') format('woff2');font-weight:400;font-display:swap;unicode-range:U+1F1E6-1F1FF}
.cw-experience-dialog select,.cw-experience-dialog option{font-family:CwLanguageFlags,var(--cw-font,system-ui)}

/* Canonical full-name wordmark; real alpha, clear contrast and purposeful crop. */
html .wordmark img,html .cw-topbar-logo,html .cw-experience-brand img{width:300px;height:76px;max-width:100%;object-fit:cover!important;object-position:center;background:transparent!important;padding:0!important}
html .cw-experience-brand img{filter:none;flex-shrink:1;min-width:0}
html[data-resolved-theme=dark] .cw-experience-brand img{filter:brightness(0) invert(1)}
@media(max-width:1200px){html .wordmark img,html .cw-topbar-logo{width:270px;height:68px}}
@media(max-width:760px){html .masthead .wordmark{grid-column:1/-1;grid-row:1;justify-self:center;min-width:0;max-width:100%}html .wordmark img,html .cw-topbar-logo{width:288px;height:72px;max-width:100%}html .masthead .header-client{grid-column:3;grid-row:2}html .masthead .header-staff{grid-column:4;grid-row:2}html .masthead .cw-header-clock{grid-column:1/3;grid-row:2;justify-self:start;justify-content:flex-start;font-size:11px}html .masthead .cw-clock-date{width:100%;font-size:10px}html .masthead .cw-clock-zone{font-size:9px}html .cw-topbar-brand{min-width:0;max-width:100%;flex-wrap:wrap}html .cw-topbar-logo{flex-shrink:1}html .cw-experience-brand img{width:288px;height:72px}}

@media(max-width:760px){html .cw-topbar .cw-topbar-brand{grid-column:1/-1;grid-row:1;justify-self:center}html .cw-topbar .cw-topbar-tools>a[data-cw-client]{grid-column:3;grid-row:2}html .cw-topbar .cw-topbar-tools>a[data-cw-staff]{grid-column:4;grid-row:2}html .cw-topbar .cw-nav-clock{grid-column:1/3;grid-row:2;justify-content:flex-start;font-size:11px}html .cw-topbar .cw-clock-date{width:100%;font-size:10px}html .cw-topbar .cw-clock-zone{font-size:9px}}

/* Role badges keep a readable role name on compact headers, not two similar people. */
.cw-role-short{display:none}.cw-role-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1200px){html .masthead,html .cw-topbar{grid-template-columns:minmax(0,1fr) auto 72px 72px}html .masthead .header-client,html .masthead .header-staff,html .cw-topbar .cw-topbar-tools>a[data-cw-client],html .cw-topbar .cw-topbar-tools>a[data-cw-staff]{width:72px;height:60px;min-height:60px;display:flex;flex-direction:column;gap:3px;padding:5px 3px}html .masthead .header-client>.cw-role-short,html .masthead .header-staff>.cw-role-short,html .cw-topbar .cw-topbar-tools>a>.cw-role-short{display:block!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip-path:none!important;white-space:normal;overflow-wrap:anywhere;max-width:65px;font-size:10px;line-height:1.15;font-weight:750;text-align:center}}
@media(max-width:760px){html .masthead .cw-theme-trigger,html .cw-topbar .cw-topbar-tools>.cw-theme-trigger{grid-column:3;grid-row:2;justify-self:center}html .masthead .menu-toggle,html .cw-topbar .cw-topbar-tools>.cw-app-menu-trigger{grid-column:4;grid-row:2;justify-self:center}html .masthead .header-client,html .cw-topbar .cw-topbar-tools>a[data-cw-client]{grid-column:3;grid-row:3}html .masthead .header-staff,html .cw-topbar .cw-topbar-tools>a[data-cw-staff]{grid-column:4;grid-row:3}html .masthead .locale-button,html .cw-topbar .cw-language-trigger{max-width:100%;font-size:11px;gap:4px;padding:8px 6px}html .cw-clock-zone{font-size:10px;overflow-wrap:normal;line-height:1.25}html .masthead .cw-header-clock,html .cw-topbar .cw-nav-clock{min-width:0;font-size:11px;line-height:1.2}}

/* Keep compact navigation visibly named; older narrow-screen rules hid these spans. */
@media(max-width:1200px){html .masthead .menu-toggle>.cw-control-icon{display:inline-flex;align-items:center;justify-content:center}html .masthead .menu-toggle .cw-control-icon svg{display:block;width:22px;height:22px}}
@media(max-width:760px){html .masthead .locale-button>span:first-of-type{display:inline;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}html .masthead .locale-button{min-width:90px;justify-content:center}html .cw-topbar .cw-language-trigger>span{display:inline;max-width:none;overflow:visible;text-overflow:clip}}

/* Mobile date shares the time's leading edge and size without moving the clock. */
@media(max-width:760px){html .masthead .cw-clock-date,html .cw-topbar .cw-clock-date{text-align:start;font-size:15px}}
@media(max-width:600px){html .masthead .cw-clock-date,html .cw-topbar .cw-clock-date{font-size:14px}}

/* WebKit in-app browsers must not independently inflate the mobile clock. */
@media(max-width:760px){html .masthead [data-cw-clock],html .cw-topbar [data-cw-clock]{-webkit-text-size-adjust:100%;text-size-adjust:100%;text-align:start}html .masthead .cw-clock-date,html .cw-topbar .cw-clock-date{white-space:nowrap}}

/* Dedicated one-click theme control, then a separate preferences button. */
.cw-header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;direction:ltr;flex-shrink:0}.cw-native-appearance{display:none!important}
html .cw-header-actions>.cw-theme-trigger,html .cw-header-actions>.cw-preferences-trigger{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;flex-shrink:0;padding:0;grid-column:auto;grid-row:auto}
@media(max-width:1200px){html .masthead .cw-header-actions,html .cw-topbar .cw-header-actions{display:flex;grid-column:3/5;grid-row:3;width:100%;min-width:0;justify-self:end;gap:6px}html .cw-header-actions>.menu-toggle,html .cw-header-actions>.cw-app-menu-trigger{display:inline-flex;flex-shrink:0;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;align-items:center;justify-content:center}}
@media(max-width:760px){html .masthead .cw-header-actions,html .cw-topbar .cw-header-actions{grid-row:2}}

/* Current-language labels, compact status and an original connected-controls motif. */
html .cw-clock-status-button{min-height:22px;padding:2px 7px;border:1px solid var(--line);border-radius:999px;background:var(--surface);text-decoration:none!important;font-size:10px;line-height:1.3;gap:5px}
html [data-clock-state=verified] .cw-clock-status-button::before{content:'';display:inline-block;flex-shrink:0;width:5px;height:5px;border-radius:50%;background:#25a486}
html .cw-clock-status-button:hover{border-color:var(--accent)}
html .cw-preference-field-icon svg{display:block;width:21px;height:21px}
html .cw-preference-field-icon svg circle{fill:var(--surface)}
html .cw-experience-dialog .cw-experience-brand{gap:16px;padding:12px;align-items:center}
html .cw-experience-dialog .cw-experience-brand img{width:260px;height:auto;max-width:calc(100% - 80px)}
html .cw-experience-brand>.cw-experience-network{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:64px;max-width:64px;height:48px;color:var(--accent)}
html .cw-experience-network svg{display:block;width:64px;height:44px}
html .cw-experience-network svg circle{fill:var(--surface)}
html .cw-experience-network svg circle:first-of-type{fill:#56bba8;stroke:#56bba8}
@media(min-width:761px){
 html .masthead .cw-header-clock{display:grid;grid-template-columns:auto minmax(85px,135px);align-items:center;gap:2px 12px;max-width:280px;margin-inline-start:0;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
 html .masthead .cw-clock-date{grid-column:1;grid-row:1;font-size:11px;line-height:1.3;white-space:nowrap}
 html .masthead .cw-clock-time{grid-column:1;grid-row:2;font-size:15px;line-height:1.3}
 html .masthead .cw-clock-zone{grid-column:2;grid-row:2;max-width:none;font-size:10px;line-height:1.3}
 html .masthead .cw-clock-status{grid-column:2;grid-row:1;justify-self:start;line-height:1.3}
 html .masthead .cw-clock-status-button{white-space:nowrap}
}
@media(max-width:760px){
 html .cw-experience-dialog .cw-experience-brand img{width:230px;max-width:calc(100% - 76px)}
}

/* An equal-height preference grid, with actual device-local accent customisation. */
html .cw-experience-dialog .cw-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
html .cw-experience-dialog .cw-preference-field{display:grid;grid-template-rows:24px 48px;gap:8px;margin:0;min-width:0;align-content:start}
html .cw-experience-dialog .cw-preference-caption{display:flex;align-items:center;gap:8px;min-height:24px;margin:0;line-height:1.35}
html .cw-experience-dialog .cw-preference-field select{box-sizing:border-box;width:100%;height:48px;min-height:48px;max-height:48px;margin:0;padding:8px 12px;font-size:16px;line-height:1.4}
html .cw-experience-dialog .cw-preference-field select option{background:#fff;color:#142b42;-webkit-text-fill-color:#142b42;color-scheme:light}
html[data-cw-accent=violet],html[data-cw-accent=violet] body:is(.workspace-app,.client-portal){--accent:#6146d8;--accent-dark:#4b30b8;--accent-soft:#eeebfc;--on-accent:#fff}
html[data-cw-accent=blue],html[data-cw-accent=blue] body:is(.workspace-app,.client-portal){--accent:#1556b4;--accent-dark:#0e4291;--accent-soft:#e6efff;--on-accent:#fff}
html[data-cw-accent=teal],html[data-cw-accent=teal] body:is(.workspace-app,.client-portal){--accent:#086b5e;--accent-dark:#075448;--accent-soft:#e1f2ed;--on-accent:#fff}
html[data-cw-accent=amber],html[data-cw-accent=amber] body:is(.workspace-app,.client-portal){--accent:#8a510b;--accent-dark:#6e3e07;--accent-soft:#fff0da;--on-accent:#fff}
html[data-resolved-theme=dark][data-cw-accent=violet],html[data-resolved-theme=dark][data-cw-accent=violet] body:is(.workspace-app,.client-portal){--accent:#b29bff;--accent-dark:#c9b9ff;--accent-soft:#2d2547;--on-accent:#211735}
html[data-resolved-theme=dark][data-cw-accent=blue],html[data-resolved-theme=dark][data-cw-accent=blue] body:is(.workspace-app,.client-portal){--accent:#8dbbff;--accent-dark:#b5d2ff;--accent-soft:#1d2d49;--on-accent:#10203b}
html[data-resolved-theme=dark][data-cw-accent=teal],html[data-resolved-theme=dark][data-cw-accent=teal] body:is(.workspace-app,.client-portal){--accent:#82dcc8;--accent-dark:#aff0e1;--accent-soft:#163c35;--on-accent:#0b2821}
html[data-resolved-theme=dark][data-cw-accent=amber],html[data-resolved-theme=dark][data-cw-accent=amber] body:is(.workspace-app,.client-portal){--accent:#f2c078;--accent-dark:#ffd397;--accent-soft:#3e3020;--on-accent:#24200f}
@media(max-width:540px){html .cw-experience-dialog .cw-preference-grid{grid-template-columns:minmax(0,1fr)}}

/* Shared spatial rhythm. Content stays readable; controls retain touch room. */
:root{--cw-layout-gap:clamp(16px,2vw,28px);--cw-card-pad:clamp(20px,2.2vw,30px)}
html .cw-topbar{padding-block:10px}
html .section-card,html .owner-card,html .wizard-panel,html .quiet-card{padding:var(--cw-card-pad);border-radius:16px}
html .section-card,html .owner-card,html .wizard-panel{margin-bottom:20px}
html .section-heading{gap:12px;margin-bottom:20px}
html .section-heading h2{font-size:clamp(25px,2.2vw,30px);line-height:1.2}
html .field-grid{gap:16px 20px}
html .field{min-width:0}
html .field input:not([type=checkbox]):not([type=radio]),html .field select{width:100%;min-width:0;max-width:100%}
html .preset-grid{gap:12px;margin-bottom:20px}
html .preset{height:100%;padding:16px;display:flex;flex-direction:column;gap:6px;text-align:start}
html .preset b,html .preset small{margin:0}
html .client-main>.hero{gap:28px;padding-block:28px;margin-bottom:24px}
html .client-main>.hero h1{font-size:clamp(34px,3.5vw,50px);margin-block:12px 16px}
html .client-main>.hero p{margin-block:10px 16px;line-height:1.65}
html .client-main>.hero .hero-visual{min-height:200px;max-height:260px;border-radius:16px}
html .client-layout{gap:24px}
html .quote-card{padding:24px;border-radius:16px}
html .quote-card h3{margin-block:10px 16px}
html .wizard-navigation{padding:16px;gap:12px}
html .studio-main{padding-block:28px 32px}
html .studio-top{margin-bottom:24px;align-items:flex-start}
html .studio-top h1{font-size:clamp(30px,3vw,40px);margin-block:8px}
html .metric{padding:20px;border-radius:14px}
html .login .login-card{margin:28px auto;padding:clamp(24px,3vw,36px);border-radius:20px}
html .login h1{font-size:clamp(34px,4vw,44px);margin-block:20px 16px}
html body.workspace-app:not(.dashboard-ready) #workspace-main{padding-block:44px 56px;gap:clamp(28px,6vw,76px);align-items:start}
html .ws-intro h1{font-size:clamp(40px,4.6vw,68px);margin:18px 0 20px}
html .ws-intro>p{font-size:17px;line-height:1.65}
html .ws-steps{margin-block:24px;gap:10px}
html .ws-panel{padding:var(--cw-card-pad);border-radius:16px}
html .ws-panel h2{font-size:clamp(26px,2.6vw,32px);margin-bottom:16px}
html .ws-panel label{margin-block:18px;gap:7px}
html .ws-tabs{margin-bottom:20px}
html .ws-submit{margin-top:20px;min-height:48px}
html .dashboard-ready #workspace-main{padding-block:28px 44px}
html .ws-dash-welcome{gap:24px;margin-bottom:24px}
html .ws-dash-welcome h1{font-size:clamp(32px,4vw,50px);margin-block:12px 16px}
html .ws-quicklinks{gap:16px;margin-bottom:24px;align-items:stretch}
html .ws-quicklinks a{padding:20px;gap:7px}
html .ws-board-card{padding:24px;border-radius:16px}
html .ws-clock-card{padding:20px;border-radius:16px}
html .portal-main{padding-block:24px 44px}
html .portal-card,html .portal-auth{padding:var(--cw-card-pad);border-radius:18px}
html .portal-auth{max-width:680px;margin:12px auto}
html .portal-auth h1,html .portal-card h1{font-size:clamp(30px,3.5vw,42px);margin-block:12px 16px;line-height:1.15}
html .portal-auth>p{margin-block:12px;line-height:1.65}
html .portal-auth form p{margin-block:16px}
html .portal-auth-links{margin-block:16px;gap:8px 20px}
html .portal-security-note{padding-top:16px}
html .portal-dashboard-grid{gap:20px;align-items:start}
html .portal-welcome{gap:28px;padding-block:20px 32px}
html .portal-welcome h1{font-size:clamp(34px,4vw,54px);margin-block:12px 16px}
html .portal-card h2{font-size:clamp(25px,2.5vw,30px);margin-block:12px 18px}
html .portal-card dl{gap:12px 16px}
html .portal-palette{margin-top:24px;padding-block:20px}
html .portal-footer,html .client-footer,html .ws-footer,html .studio-footer{padding-block:18px;gap:12px 22px}
@media(max-width:760px){
 html .section-card,html .owner-card,html .wizard-panel,html .quiet-card{padding:20px;margin-bottom:16px}
 html .section-heading{margin-bottom:18px}
 html .client-main>.hero{gap:20px;padding-block:24px;margin-bottom:20px}
 html .client-main>.hero .hero-visual{min-height:180px}
 html .client-layout{gap:16px}
 html .quote-card{padding:20px}
 html .preset{padding:14px}
 html .studio-main{padding-block:24px}
 html body.workspace-app:not(.dashboard-ready) #workspace-main{padding-block:28px 36px;gap:28px}
 html .ws-intro h1{font-size:clamp(38px,8vw,52px)}
 html .ws-board-card,html .ws-clock-card{padding:20px}
 html .ws-quicklinks{gap:12px}
 html .ws-quicklinks a{padding:16px}
 html .portal-main{padding-block:20px 32px}
 html .portal-card,html .portal-auth{padding:22px}
 html .portal-auth{margin-block:4px}
 html .portal-welcome{gap:20px;padding-block:16px 24px}
 html .login .login-card{margin-block:20px;padding:24px}
}
@media(max-width:380px){
 html .section-card,html .wizard-panel,html .owner-card,html .portal-auth,html .portal-card{padding:18px}
 html .field-grid{gap:16px}
 html .ws-board-card{padding:16px}
}

/* Real local variable body weights; unique font URL refreshes the old bold-only cache. */
@font-face{font-family:CwSans;src:url('./ui-fonts/instrument-sans.woff2?v=20261031-variable') format('woff2');font-weight:400 700;font-display:swap}

/* Compact, evidence-backed pricing trust strip; no decorative "live" claim. */
.price-sync{--sync-ink:#936120;--sync-fill:#f9e7c5;--sync-border:#c89245;margin:0 0 22px;border:1px solid var(--sync-border);border-radius:16px;background:var(--surface,#fff);color:var(--text,#15233a);overflow:hidden}
.price-sync[data-state="synced"]{--sync-ink:#116644;--sync-fill:#e1f5eb;--sync-border:#6aaf8c}
.price-sync[data-state="checking"]{--sync-ink:#596579;--sync-fill:#e9edf4;--sync-border:#a5afbf}
.price-sync>summary{display:flex;align-items:center;gap:14px;min-height:76px;padding:14px 18px;cursor:pointer;list-style:none;background:linear-gradient(105deg,var(--sync-fill),transparent 80%)}
.price-sync>summary::-webkit-details-marker{display:none}.price-sync>summary:focus-visible{outline:3px solid var(--accent,#8558d7);outline-offset:-4px}
.sync-symbol{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid var(--sync-border);border-radius:50%;background:var(--sync-fill);color:var(--sync-ink);font-weight:700;font-size:21px}
.sync-heading{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.sync-heading strong{font-size:17px;color:var(--sync-ink);line-height:1.3}.sync-heading>span{font-size:12px;line-height:1.45;color:var(--text,#15233a)}
.sync-count{padding:6px 10px;border-radius:8px;background:var(--sync-fill);color:var(--sync-ink);font-size:16px;white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums}.sync-action{font-size:12px;white-space:nowrap}.sync-chevron{font-size:22px;transition:transform .15s}.price-sync[open] .sync-chevron{transform:rotate(180deg)}
.sync-details{padding:0 18px 18px;border-top:1px solid var(--sync-border)}.sync-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.sync-source-grid article{padding:11px;border:1px solid var(--line,#d4dbe5);border-radius:10px;min-width:0}.sync-source-grid article>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px;justify-content:space-between}.sync-source-grid a{font-size:13px;font-weight:600}.sync-source-grid small{display:block;margin-top:7px;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.sync-source-grid .badge{font-size:10px}
.market-reference{margin-top:18px;padding:16px;border-radius:12px;background:var(--surface-soft,#f0f3f8);border:1px solid var(--line,#d4dbe5)}.market-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.market-heading h3{margin:0 0 5px;font-size:17px}.market-heading p{margin:0;font-size:12px}.market-state{font-size:11px;padding:6px 9px;border-radius:6px;background:#e1f5eb;color:#116644}.market-state.needs-review{background:#f9e7c5;color:#795018}.market-samples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin:14px 0}.market-samples article{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line,#d4dbe5);padding:12px;border-radius:9px;background:var(--surface,#fff)}.market-samples article>span,.market-samples small{font-size:11px;line-height:1.5}.market-samples strong{font-size:20px}.market-samples strong small{font-weight:400}.market-source-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px;font-weight:600}.market-source-details summary:before{content:'+';margin-right:8px}.market-source-details[open]>summary:before{content:'−'}.market-source{border-top:1px solid var(--line,#d4dbe5);padding:10px 0;overflow-wrap:anywhere}.market-source>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.market-source a{font-size:13px}.market-source small{display:block;font-size:11px;margin:4px 0}.market-source li{font-size:13px;line-height:1.6}.market-source ul{padding-left:18px}
:root[data-resolved-theme="dark"] .price-sync{--sync-ink:#f3cf8e;--sync-fill:#30291d;--sync-border:#80653c;background:#111e30;color:#e8eef8}:root[data-resolved-theme="dark"] .price-sync[data-state="synced"]{--sync-ink:#88e1b4;--sync-fill:#122e2a;--sync-border:#39745d}:root[data-resolved-theme="dark"] .price-sync[data-state="checking"]{--sync-ink:#becadb;--sync-fill:#202c3e;--sync-border:#53637b}:root[data-resolved-theme="dark"] .sync-heading>span{color:#c9d7e7}:root[data-resolved-theme="dark"] .market-reference{background:#142238;color:#e8eef8}:root[data-resolved-theme="dark"] .market-samples article{background:#101c2e}:root[data-resolved-theme="dark"] .market-state{background:#12382c;color:#99e6bc}:root[data-resolved-theme="dark"] .market-state.needs-review{background:#3b2d16;color:#f3cf8e}
@media(max-width:640px){.price-sync>summary{padding:12px;gap:10px;flex-wrap:wrap;min-height:82px}.sync-heading{flex-basis:calc(100% - 105px)}.sync-heading strong{font-size:15px}.sync-heading>span{font-size:11px}.sync-action{margin-left:44px;flex:1}.sync-chevron{margin-right:2px}.sync-count{font-size:14px;padding:5px 7px}.sync-details{padding:0 12px 12px}.sync-source-grid{grid-template-columns:1fr}.market-reference{padding:12px}.market-heading h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){.sync-chevron{transition:none}}
@media(max-width:640px){.price-sync>summary{flex-wrap:nowrap;gap:8px}.sync-heading{flex:1;flex-basis:auto}.sync-action{display:none}.sync-chevron{font-size:18px;flex:none}.sync-count{padding:5px 6px}}

/* Regional language labels and original-identity brand refresh. */
html .cw-language-flags,html .locale-button>.cw-language-flags{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;max-width:none;overflow:visible;white-space:normal}
html .cw-language-flags img{display:block;width:22px;height:16px;object-fit:cover;flex-shrink:0}
html .language-grid a>span:not(.cw-language-flags),html .cw-language-grid a>span:not(.cw-language-flags){min-width:0;white-space:normal;overflow-wrap:anywhere}
html .wordmark img,html .cw-topbar-logo,html .cw-experience-brand img{object-fit:contain!important}
html .cw-footer-logo{width:360px;max-width:100%;height:auto;object-fit:contain;filter:none}
html[data-resolved-theme=dark] .wordmark img,html[data-resolved-theme=dark] .cw-topbar-logo,html[data-resolved-theme=dark] .cw-footer-logo{filter:brightness(0) invert(1)}
@media(max-width:760px){html .cw-language-flags img{width:17px;height:13px}html .locale-button>.cw-language-flags{display:inline-flex;gap:3px}html .cw-footer-logo{width:300px}}
@media(max-width:540px){html .language-grid,html .cw-language-grid{grid-template-columns:minmax(0,1fr)}html .language-grid a,html .cw-language-grid a{gap:10px;min-height:52px}html .cw-preference-grid{grid-template-columns:minmax(0,1fr)}}

/* Outrank legacy mobile span:first-of-type display rules: keep paired flags horizontal. */
html .masthead .locale-button>span.cw-language-flags,html .cw-topbar .cw-language-trigger>span.cw-language-flags{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;white-space:nowrap;gap:4px}
@media(max-width:760px){html .masthead .locale-button>span.cw-language-flags,html .cw-topbar .cw-language-trigger>span.cw-language-flags{gap:3px}}

/* 2026-11-05: content-sized cards, one sticky layer, understandable planning. */
html{scroll-padding-top:calc(var(--cw-toolbar-height,100px) + 18px)}
html main :is(h1,h2,h3,h4,p,label,legend,li,dt,dd){overflow-wrap:break-word}
html main :is(.field-grid,.client-layout,.preset-grid,.portal-dashboard-grid,.ws-quicklinks)>*{min-width:0}
html main :is(input,select,textarea){max-width:100%}
html main :is(.section-card,.portal-card,.ws-panel,.wizard-panel){min-width:0}
html .client-main .selection-summary,html .line-list li>span:first-child{min-width:0;overflow-wrap:anywhere}
html .client-main .line-list li{gap:16px;align-items:start}
html .client-main .line-list li>span:last-child{flex-shrink:0;white-space:nowrap}
html .selection-mode-bar{position:relative;top:auto;z-index:1;background:var(--surface);backdrop-filter:none}
html .selection-mode-inner{padding-block:14px 8px;flex-wrap:wrap;gap:12px}
html .mode-caption{font-size:12px;letter-spacing:.06em;line-height:1.5}
html .mode-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
html .mode-controls button{white-space:normal;min-width:0;min-height:48px;font-size:14px;padding:10px 16px}
html .selection-mode-help{max-width:1360px;margin:0 auto;padding:0 34px 14px;font-size:13px;line-height:1.6;color:var(--muted)}
html .client-main .preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
html .client-main .preset{min-width:0;max-width:100%;padding:20px;text-align:start;color:var(--ink);overflow-wrap:break-word}
html[data-resolved-theme] .client-main .preset.selected{color:var(--ink);background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
html .client-main .preset.selected:after{content:none}
html .client-main .preset :is(b,small){white-space:normal;min-width:0;max-width:none;overflow-wrap:break-word}
html .client-main .preset b{font-size:clamp(18px,1.5vw,22px);line-height:1.35;color:var(--ink)}
html .client-main .preset small{font-size:14px;line-height:1.6;color:var(--muted);margin-top:8px}
html .client-main .preset>.preset-icon{display:inline-grid;place-items:center;width:36px;height:36px;margin:0 0 14px;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:23px}
html .client-main .preset>.preset-copy{display:block;width:auto;height:auto;background:none;color:inherit;font:inherit;margin:0}
html .client-main .preset>.preset-selected{display:none;width:auto;height:auto;max-width:100%;font-size:12px;line-height:1.4;padding:5px 10px;border-radius:20px;background:var(--accent);color:var(--on-accent);margin:14px 0 0}
html .client-main .preset.selected>.preset-selected{display:inline-flex}
html .planner-start-note{font-size:14px;line-height:1.6;margin:0 0 16px}
html .wizard-panel,html .client-main .section-card{scroll-margin-top:calc(var(--cw-toolbar-height,100px) + 18px)}
html .wizard-intro h2{line-height:1.25;letter-spacing:-.025em}
html .wizard-count{font-size:13px;line-height:1.5;white-space:normal;max-width:110px;padding-top:0}
html .wizard-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html .wizard-step{display:flex;flex-direction:row;align-items:center;min-width:0;min-height:50px;gap:10px;font-size:14px;padding:10px}
html .wizard-step b{min-width:0;font-size:inherit;line-height:1.4;white-space:normal;overflow-wrap:break-word}
html .wizard-step.current{color:var(--ink);border-width:2px}
html .wizard-navigation{padding:16px;flex-wrap:wrap;gap:12px}
html .wizard-navigation .primary{white-space:normal;min-height:48px;min-width:0;max-width:100%;text-align:center;justify-content:center;line-height:1.5;font-size:14px}
html .wizard-navigation .secondary{min-height:48px;font-size:14px}
html .client-main .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;position:static;height:auto;background:var(--surface);padding:12px;border:1px solid var(--line);border-radius:14px}
html .client-main .steps[hidden]{display:none}
html .client-main .steps a{min-width:0;display:flex;align-items:center;gap:8px;min-height:46px;padding:8px;white-space:normal;font-size:14px;line-height:1.45}
html .mobile-quote-strip{background:var(--surface);color:var(--ink);border-color:var(--line)}
html .mobile-quote-strip strong{color:var(--ink);font-size:18px;line-height:1.3;letter-spacing:-.02em}
html .mobile-quote-strip small{display:block;color:var(--muted);font-size:12px;line-height:1.4}
html .mobile-quote-strip>div>span{color:var(--muted);font-size:9px;letter-spacing:.07em;line-height:1.3;margin-bottom:4px}
html .mobile-quote-strip button,html .mobile-quote-strip a{background:var(--accent);color:var(--on-accent);font-size:13px;line-height:1.4;min-height:48px;white-space:normal;border:1px solid var(--accent);padding:9px 12px;min-width:0;max-width:46%;text-align:center;justify-content:center}
html .mobile-quote-strip .mobile-wizard-back{min-width:44px;max-width:44px;width:44px;padding:9px;background:var(--paper);color:var(--ink);border-color:var(--line);font-size:20px}
html .quote-rail{top:calc(var(--cw-toolbar-height,100px) + 18px)}
@media(max-width:760px){
 html .client-main .preset-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 html .client-main .preset{display:grid;grid-template-columns:38px minmax(0,1fr);gap:0 14px;align-content:start;padding:16px}
 html .client-main .preset>.preset-icon{grid-column:1;grid-row:1 / span 2;margin:0}
 html .client-main .preset>.preset-copy{grid-column:2;grid-row:1}
 html .client-main .preset>.preset-selected{grid-column:2;grid-row:2;justify-self:start;margin-top:10px}
 html .client-main .preset b{font-size:19px}
 html .client-main .preset small{font-size:14px;margin-top:6px}
 html .selection-mode-inner{padding:12px 16px 8px}
 html .mode-caption{width:100%}
 html .mode-controls{width:100%}
 html .mode-controls button{font-size:14px}
 html .selection-mode-help{padding:0 16px 14px;font-size:13px}
 html .wizard-steps,html .client-main .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 html .wizard-step{font-size:13px}
 html .wizard-count{max-width:88px;font-size:12px}
 html .client-main>.hero.wizard-compact{padding:18px;margin-bottom:18px}
 html .wizard-mode .wizard-navigation{margin-bottom:20px}
 html .mobile-quote-strip{gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));align-items:center}
 html .mobile-quote-strip .mobile-estimate{flex:1;min-width:0}
 html .mobile-quote-strip #mobileWizardNext{flex:0 1 145px;min-width:100px}
 html body.client-app{padding-bottom:112px}
 /* One compact sticky header, with no overlaid planner mode bar. */
 html .cw-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:8px 14px;min-height:0}
 html .cw-topbar .cw-topbar-brand{grid-column:1;grid-row:1;min-height:48px;width:auto;align-items:start;justify-content:center}
 html .cw-topbar .cw-topbar-logo{width:142px;height:44px;max-width:100%}
 html .cw-topbar .cw-nav-clock{grid-column:2;grid-row:1;margin:0;padding:6px 8px;max-width:155px;justify-self:end}
 html .cw-topbar-tools{display:contents}
 html .cw-topbar .cw-header-actions{grid-column:2;grid-row:2;display:flex;justify-self:end;gap:6px}
 html .cw-topbar .cw-header-actions button{display:flex;min-width:44px;width:44px;min-height:44px;height:44px;padding:5px;font-size:20px}
 html .cw-topbar .cw-language-trigger{grid-column:1;grid-row:2;max-width:140px;min-height:44px;justify-self:start;padding:7px 10px}
 html .cw-topbar .cw-topbar-tools>a:is([data-cw-client],[data-cw-staff]){display:flex;flex-direction:row;gap:8px;min-width:0;width:100%;height:44px;min-height:44px;padding:7px 12px;justify-self:stretch;max-width:none}
 html .cw-topbar .cw-topbar-tools>a[data-cw-client]{grid-column:1;grid-row:3}
 html .cw-topbar .cw-topbar-tools>a[data-cw-staff]{grid-column:2;grid-row:3}
 html .cw-topbar .cw-role-icon{width:21px;height:21px}
 html .cw-topbar .cw-role-short{font-size:12px}
 html .cw-topbar .cw-topbar-nav{grid-column:1/-1;grid-row:4}
}
@media(max-width:360px){
 html .cw-topbar{padding-inline:12px;gap:6px}
 html .cw-topbar .cw-topbar-logo{width:126px}
 html .cw-topbar .cw-nav-clock{max-width:146px}
 html .wizard-step{gap:6px;padding:9px 7px;font-size:12px}
 html .mobile-quote-strip #mobileWizardNext{font-size:12px;flex-basis:118px}
 html .mobile-quote-strip strong{font-size:16px}
}
@media print{html .selection-mode-bar,html .mobile-quote-strip{display:none!important}}

/* Orbit clock: date + live seconds + local zone, without a sync badge. */
html :is(.cw-nav-clock,.cw-header-clock){position:relative;display:grid;grid-template-columns:27px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;gap:1px 8px;padding:8px 12px;min-width:0;max-width:230px;margin-inline:0;border:1px solid var(--line);border-radius:14px;background:linear-gradient(130deg,var(--accent-soft),var(--surface));box-shadow:0 4px 18px color-mix(in srgb,var(--accent) 10%,transparent);overflow:hidden;white-space:normal;isolation:isolate}
html :is(.cw-nav-clock,.cw-header-clock)::before{content:none!important}
html .cw-clock-orbit{grid-column:1;grid-row:1 / span 3;display:block;position:relative;width:27px;height:27px;border:1px solid color-mix(in srgb,var(--accent) 50%,transparent);border-radius:50%;background:radial-gradient(circle,var(--accent-soft) 40%,transparent 42%)}
html .cw-clock-orbit::before{content:'';position:absolute;inset:4px;border:1px dashed color-mix(in srgb,var(--accent) 55%,transparent);border-radius:50%;animation:cw-orbit 60s linear infinite}
html .cw-clock-orbit::after{content:'';position:absolute;inset:0;border-radius:50%;border:2px solid transparent;border-top-color:var(--accent);transform:rotate(var(--cw-clock-angle,0deg));transition:transform .75s linear}
html .cw-clock-date{grid-column:2;grid-row:1;font-size:9px;line-height:1.35;letter-spacing:.06em;font-weight:650;color:var(--muted);white-space:normal}
html .cw-clock-time{grid-column:2;grid-row:2;font-size:20px;line-height:1.2;font-weight:750;color:var(--ink);letter-spacing:.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
html .cw-clock-time .cw-clock-seconds{font-size:.7em;color:var(--accent);font-weight:650}
html .cw-clock-zone{grid-column:2;grid-row:3;max-width:none;font-size:9px;line-height:1.4;letter-spacing:0;color:var(--muted);overflow-wrap:anywhere}
html .cw-clock-status,html .cw-clock-status-button{display:none!important}
@keyframes cw-orbit{to{transform:rotate(360deg)}}
@media(max-width:760px){
 html :is(.cw-nav-clock,.cw-header-clock){grid-template-columns:20px minmax(0,1fr);gap:0 6px;padding:6px 8px;border-radius:11px;max-width:160px}
 html .cw-clock-orbit{width:20px;height:20px}
 html .cw-clock-time{font-size:17px}
 html .cw-clock-date{font-size:8px;letter-spacing:.02em}
 html .cw-clock-zone{font-size:8px;line-height:1.3}
}
@media(prefers-reduced-motion:reduce){html .cw-clock-orbit::before{animation:none}html .cw-clock-orbit::after{transition:none}}
/* Explicitly outrank earlier header-scoped flex/row clock rules. */
html :is(.masthead,.cw-topbar) [data-cw-clock]{display:grid;grid-template-columns:27px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;justify-content:start;width:auto;height:auto;gap:1px 8px}
html :is(.masthead,.cw-topbar) .cw-clock-orbit{grid-column:1;grid-row:1 / span 3}
html :is(.masthead,.cw-topbar) .cw-clock-date{grid-column:2;grid-row:1;width:auto;font-size:9px;line-height:1.35;white-space:normal;text-align:start}
html :is(.masthead,.cw-topbar) .cw-clock-time{grid-column:2;grid-row:2;font-size:20px;line-height:1.2;white-space:nowrap}
html :is(.masthead,.cw-topbar) .cw-clock-zone{grid-column:2;grid-row:3;font-size:9px;line-height:1.4;max-width:none;white-space:normal}
@media(max-width:760px){
 html :is(.masthead,.cw-topbar) [data-cw-clock]{grid-template-columns:20px minmax(0,1fr);gap:0 6px}
 html :is(.masthead,.cw-topbar) .cw-clock-date{font-size:8px}
 html :is(.masthead,.cw-topbar) .cw-clock-time{font-size:17px}
 html :is(.masthead,.cw-topbar) .cw-clock-zone{font-size:8px;line-height:1.3}
}
html .client-footer .brand.company-full-name{white-space:normal;min-width:0;max-width:100%;overflow-wrap:break-word}
html .client-main .evidence-tags{min-width:0;max-width:100%;flex-wrap:wrap}
html .client-main .evidence-tags>*{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Explicit 12-hour period in both interface languages. */
html .cw-clock-time .cw-clock-period{font-size:.54em;font-weight:750;letter-spacing:.02em;color:var(--accent);white-space:nowrap}

/* Reserve room for the explicit period; keep narrow header controls separate. */
html :is(.masthead,.cw-topbar) [data-cw-clock]{min-width:164px}
@media(max-width:760px){html :is(.masthead,.cw-topbar) [data-cw-clock]{min-width:128px}}
@media(max-width:360px){html .masthead{padding-inline:8px;column-gap:8px}}

/* Native top-layer navigation: one canonical nav, outside sticky/grid stacking. */
html .cw-navigation-dialog{position:fixed;inset:12px 12px 12px auto;margin:0;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:fit-content;max-height:calc(100dvh - 24px);padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 22px 70px #090b2866;overflow:auto;overscroll-behavior:contain}
html .cw-navigation-dialog::backdrop{background:#080d1b99}
html .cw-navigation-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
html .cw-navigation-heading h2{margin:0;font-size:21px;line-height:1.35;overflow-wrap:anywhere}
html .cw-navigation-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font:28px/1 var(--cw-font);cursor:pointer}
html .cw-navigation-dialog .cw-topbar-nav{display:flex;position:static;inset:auto;grid-area:auto;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
html .cw-navigation-dialog .cw-topbar-nav a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
html .cw-navigation-dialog .cw-topbar-nav a:hover{background:var(--accent-soft);color:var(--ink)}
html .cw-navigation-dialog :is(a,button):focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:1200px){html .cw-topbar>.cw-topbar-nav{display:none}html .cw-topbar .cw-app-menu-trigger{display:inline-flex}}
@media(min-width:1201px){html .cw-topbar .cw-app-menu-trigger{display:none}}

/* John: every English navigation word starts with a capital; acronyms retain their spelling. */
html :is(.masthead,.cw-topbar,.cw-navigation-dialog,.portal-nav,.studio-nav,.ws-nav,footer nav) :is(a,summary,button){text-transform:capitalize}

/* Quiet editorial clock: stable minutes, a restrained period, date and local offset. */
html :is(.masthead,.cw-topbar) [data-cw-clock].cw-clock-clean{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;
 width:max-content;min-width:0;max-width:100%;height:auto;margin:0;padding:0 0 0 18px;
 border:0;border-inline-start:1px solid var(--line);border-radius:0;background:none;box-shadow:none;
 overflow:visible;isolation:auto;text-align:start;white-space:normal;animation:none;transition:none;
}
html :is(.masthead,.cw-topbar) [data-cw-clock].cw-clock-clean::before,
html :is(.masthead,.cw-topbar) [data-cw-clock].cw-clock-clean::after{content:none!important;display:none!important}
html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-time{
 display:flex;align-items:baseline;gap:6px;min-width:0;width:max-content;max-width:100%;
 font-family:var(--cw-font,system-ui);font-size:23px;line-height:1.08;font-weight:600;
 letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap;
 padding:0;margin:0;text-align:start;
}
html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-period{
 display:inline;font-size:10px;line-height:1;font-weight:550;letter-spacing:.025em;
 color:var(--muted);padding:0;margin:0;white-space:nowrap;
}
html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-meta{
 display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;flex-wrap:wrap;
 font-family:var(--cw-font,system-ui);font-size:10px;line-height:1.4;font-weight:400;
 letter-spacing:0;color:var(--muted);white-space:normal;
}
html :is(.masthead,.cw-topbar) .cw-clock-clean :is(.cw-clock-date,.cw-clock-zone){
 display:inline;position:static;width:auto;min-width:0;max-width:100%;padding:0;margin:0;
 font:inherit;color:inherit;letter-spacing:0;line-height:inherit;text-align:start;white-space:nowrap;
}
html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-divider{display:inline;color:var(--muted);font-size:10px;line-height:1}
html .cw-clock-clean :is(.cw-clock-orbit,.cw-clock-seconds,.cw-clock-status){display:none!important}
@media(max-width:760px){
 html :is(.masthead,.cw-topbar) [data-cw-clock].cw-clock-clean{padding:0;border:0;gap:4px;max-width:100%;width:max-content;min-width:0}
 html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-time{font-size:21px;line-height:1.08;gap:5px}
 html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-meta{font-size:10px;gap:4px;line-height:1.35}
 html :is(.masthead,.cw-topbar) .cw-clock-clean .cw-clock-period{font-size:10px}
}
