@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('/client-assets/Geist-Variable.woff2') format('woff2')}
/* Brand v4 tokens copied from demo.css; this preview has no remote fonts or assets. */
:root {
  --paper:#FFFFFF; --tint:#F5F7FB; --ink:#0A0B0F; --ink-2:#3B404C; --muted:#5B606D;
  --line:#E3E6ED; --line-2:#CDD2DC; --blue:#0047FF; --blue-ink:#0036C4; --blue-tint:#EEF3FF;
  --ok:#1B7F3B; --warn:#B3261E;
  --font:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 16px/1.6 var(--font); -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:var(--blue); text-underline-offset:4px; }
button:disabled { opacity:.55; cursor:default; }
:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-weight:600; letter-spacing:-.045em; line-height:1.12; }
h1 { font-size:clamp(36px,4.5vw,68px); }
h2 { font-size:clamp(24px,2.5vw,32px); }
h3 { font-size:19px; letter-spacing:-.02em; }
.blue { color:var(--blue); }
.muted { color:var(--muted); }
.small { font-size:14px; }
.hint { font-size:13px; color:var(--muted); margin-top:12px; }
.eyebrow { color:var(--muted); font-size:12px; letter-spacing:.09em; font-weight:600; margin-bottom:14px; }
.lead { color:var(--ink-2); margin-top:16px; max-width:58ch; }
.preview { background:var(--blue-tint); color:var(--blue-ink); padding:10px 16px; font-size:11px; font-weight:600; letter-spacing:.08em; }
.preview span { display:block; font-size:12px; font-weight:400; letter-spacing:0; margin-top:2px; }
.bar { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:18px 16px; border-bottom:1px solid var(--line); }
.wordmark { color:var(--ink); font-size:27px; font-weight:600; letter-spacing:-1.7px; text-decoration:none; line-height:1; }
.wordmark span { font-size:11px; vertical-align:top; padding-left:2px; }
.bar-label { font-size:13px; color:var(--muted); padding-left:16px; border-left:1px solid var(--line-2); }
nav { display:flex; align-items:center; margin-left:auto; gap:20px; font-size:14px; }
nav a { text-decoration:none; }
#account-nav a[aria-current="page"] { color:var(--blue-ink); background:var(--blue-tint); border-radius:8px; padding:6px 10px; }
.text-button { border:0; padding:8px 0; background:none; color:var(--blue); font-size:14px; text-decoration:underline; text-underline-offset:4px; min-height:44px; }
.skip { position:absolute; top:-100px; left:16px; z-index:3; background:white; padding:10px; }
.skip:focus { top:8px; }
main { padding:32px 16px 0; }
.page-status { padding:48px 0; }
.page-status p { margin:16px 0; }
.login-layout { display:grid; gap:36px; padding:24px 0 56px; }
.login-intro h1 { max-width:17ch; }
.sample-note { display:flex; align-items:flex-start; gap:12px; margin-top:32px; font-size:14px; color:var(--muted); }
.dot { flex:none; width:8px; height:8px; border-radius:50%; background:var(--ok); display:inline-block; margin-top:8px; }
.card { border:1px solid var(--line); border-radius:18px; padding:24px; }
.login-card { background:var(--tint); border-color:transparent; }
.login-card h2 { margin-bottom:8px; }
form label { display:block; font-size:14px; font-weight:500; margin:22px 0 7px; }
input,select,textarea { display:block; width:100%; min-height:48px; border:1px solid var(--line-2); border-radius:10px; background:white; padding:10px 12px; color:var(--ink); }
textarea { resize:vertical; }
.button { display:inline-flex; gap:20px; align-items:center; justify-content:center; min-height:48px; padding:12px 22px; border-radius:999px; border:1px solid var(--line-2); background:white; color:var(--ink); font-weight:500; }
.primary { background:var(--blue); color:white; border-color:var(--blue); }
.primary:hover { background:var(--blue-ink); }
.login-card .primary { width:100%; margin-top:24px; }
.button span { margin-left:auto; }
.form-links { display:flex; justify-content:space-between; gap:12px; margin-top:8px; }
.feedback { margin-top:16px; font-size:14px; color:var(--ink-2); }
.feedback.error { color:var(--warn); }
.code-preview { padding:12px; background:var(--blue-tint); color:var(--blue-ink); border-radius:8px; margin-top:16px; font-size:14px; }
.workspace-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; padding:8px 0 32px; }
.workspace-heading h1 { font-size:clamp(34px,4vw,54px); }
.receptionist-status { display:flex; gap:10px; align-self:flex-start; }
.receptionist-status strong,.receptionist-status span:not(.dot) { display:block; }
.receptionist-status span:not(.dot) { color:var(--muted); font-size:12px; }
.toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-bottom:20px; }
.segmented { display:inline-flex; background:var(--tint); border:1px solid var(--line); padding:4px; border-radius:999px; }
.segmented button { border:0; min-height:40px; padding:7px 20px; border-radius:999px; color:var(--muted); background:transparent; font-size:14px; }
.segmented button[aria-pressed=true] { background:var(--ink); color:white; }
.metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
.metric { padding:18px 16px; border:1px solid var(--line); border-radius:14px; border-top:3px solid var(--blue); }
.metric p { font-size:13px; color:var(--ink-2); }
.metric strong { display:block; font-size:46px; font-weight:500; letter-spacing:-.06em; line-height:1.3; margin:7px 0; }
.metric > span { font-size:12px; color:var(--muted); display:block; }
.period { font-size:11px; display:block; color:var(--muted); }
.summary { display:grid; gap:20px; background:var(--tint); border-color:transparent; margin-bottom:40px; }
.summary .eyebrow { margin-bottom:8px; }
.summary-links { display:flex; flex-wrap:wrap; gap:6px 20px; margin-top:12px; font-size:14px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.section-heading .eyebrow { margin-bottom:8px; }
.call { display:grid; gap:14px; padding:22px 0; border-top:1px solid var(--line); scroll-margin-top:20px; }
.call-time { font-size:14px; color:var(--muted); }
.call-time strong { display:block; color:var(--ink); font-weight:500; }
.call-content p { margin-top:8px; color:var(--ink-2); font-size:15px; }
.badges { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.badge { background:var(--tint); color:var(--ink-2); padding:3px 9px; border-radius:6px; font-size:12px; }
.badge.booked { background:var(--blue-tint); color:var(--blue-ink); }
.badge.urgent { background:#FFF1EE; color:var(--warn); }
.call-actions { display:flex; gap:16px; flex-wrap:wrap; align-items:start; }
.call-actions .button { font-size:13px; min-height:44px; padding:8px 16px; }
details { font-size:14px; margin-top:12px; }
summary { color:var(--blue); cursor:pointer; min-height:32px; }
.report-status { display:block; color:var(--muted); font-size:12px; margin-top:8px; }
.empty { padding:32px 0; border-top:1px solid var(--line); }
.settings { margin:44px 0; display:grid; gap:24px; scroll-margin-top:24px; }
dl { margin:0; display:grid; gap:16px; }
dt { font-size:12px; color:var(--muted); }
dd { margin:4px 0 0; font-size:15px; }
footer { color:var(--muted); font-size:12px; padding:24px 0; border-top:1px solid var(--line); }
dialog { width:calc(100% - 32px); max-width:560px; max-height:90dvh; overflow:auto; border:1px solid var(--line); border-radius:18px; padding:24px; color:var(--ink); }
dialog::backdrop { background:#0A0B0F66; }
.dialog-heading { display:flex; justify-content:space-between; gap:16px; align-items:start; }
.dialog-heading h2 { font-size:26px; }
.icon-button { border:0; background:var(--tint); min-width:44px; min-height:44px; border-radius:50%; font-size:24px; }
#report-context { margin-top:12px; }
#save-report { margin-top:20px; width:100%; }
@media(min-width:760px) {
  .preview { padding:8px 32px; }
  .preview span { display:inline; margin-left:12px; }
  .bar { padding:22px 32px; }
  main { padding:40px 32px 0; }
  .login-layout { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); align-items:start; gap:64px; padding:48px 0 80px; }
  .login-card { padding:32px; }
  .metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .metric { padding:22px 24px; }
  .period { display:inline; margin-left:3px; }
  .summary { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); padding:30px; gap:40px; }
  .call { grid-template-columns:110px minmax(0,1fr) 160px; gap:24px; padding:26px 0; }
  .call-actions { justify-content:flex-end; }
  .settings { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:30px; }
  dl { grid-template-columns:1fr 1fr; gap:24px; }
}
@media(prefers-reduced-motion:no-preference) { .button { transition:background .15s; } }
@media(max-width:380px) { .bar-label { display:none; } .card { padding:20px; } }

/* Plan, value, day navigation, filters, customize (28 Oct 2026) */
.plan-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:16px; margin:8px 0 40px; }
.plan-grid .card { padding:28px; }
.usage-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.usage h2 { font-size:clamp(30px,3vw,40px); }
.usage h2 .muted { font-size:.55em; letter-spacing:-.01em; font-weight:500; }
.meter { position:relative; display:flex; height:12px; border-radius:99px; background:var(--tint); border:1px solid var(--line); overflow:hidden; margin:18px 0 20px; }
.meter span:first-child { background:var(--blue); }
.meter #meter-forecast { background:repeating-linear-gradient(135deg,#9DB6FF 0 6px,#C9D7FF 6px 12px); }
.meter #meter-forecast.over { background:repeating-linear-gradient(135deg,#F2B8B5 0 6px,#F9DEDC 6px 12px); }
.usage-facts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.usage-facts span { display:block; font-size:12px; color:var(--muted); }
.usage-facts strong { font-size:18px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.forecast { margin-top:16px; font-size:15px; padding:12px 14px; border-radius:10px; }
.forecast.ok { background:#EAF6EE; color:#145C2B; }
.forecast.warn { background:#FDECEA; color:#8C1D18; }
.plan-advice { margin-top:10px; font-size:14px; padding:12px 14px; border-radius:10px; background:var(--blue-tint); color:var(--blue-ink); }
.value h2 { font-size:clamp(28px,2.8vw,36px); }
.value-list { list-style:none; margin:16px 0 0; padding:0; display:grid; gap:10px; }
.value-list li { display:flex; gap:12px; align-items:baseline; border-top:1px solid var(--line); padding-top:10px; }
.value-list strong { min-width:52px; font-size:22px; letter-spacing:-.03em; font-variant-numeric:tabular-nums; color:var(--blue); }
.value-list span { color:var(--ink-2); font-size:14px; }
.toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.day-nav { display:flex; align-items:center; gap:6px; }
.day-nav input { border:1px solid var(--line-2); border-radius:10px; padding:6px 10px; color:var(--ink); background:var(--paper); }
.filters { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 8px; }
.filters button { border:1px solid var(--line-2); background:var(--paper); color:var(--ink-2); border-radius:99px; padding:6px 14px; font-size:14px; }
.filters button[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.settings { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.settings .button.primary { margin-top:20px; }
.history-title { margin:24px 0 10px; font-size:16px; }
.changes { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.changes li { display:grid; grid-template-columns:auto 1fr; gap:2px 10px; align-items:center; }
.changes li .muted { grid-column:2; }
.change-status { grid-row:span 2; font-size:12px; font-weight:600; padding:3px 9px; border-radius:99px; background:var(--tint); color:var(--ink-2); }
.change-status.live { background:#EAF6EE; color:#145C2B; }
.change-status.testing { background:var(--blue-tint); color:var(--blue-ink); }
.change-status.review { background:#FFF4E5; color:#7A4A00; }
.change-status.failed { background:#FDECEA; color:#8C1D18; }
.billing { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:16px; }
dialog.editor-dialog { max-width:1000px; width:min(1000px,96vw); max-height:94vh; padding:24px; border:1px solid var(--line); border-radius:18px; }
.editor-dialog iframe { width:100%; min-height:60vh; border:0; margin-top:12px; }
.editor-actions { display:flex; justify-content:flex-end; margin-top:12px; position:sticky; bottom:0; background:var(--paper); padding-top:12px; }
@media (max-width:820px) {
  .plan-grid, .settings { grid-template-columns:1fr; }
  .usage-facts { grid-template-columns:repeat(2,1fr); }
  .billing { flex-direction:column; align-items:flex-start; }
}
.editor-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; border-bottom:1px solid var(--line); padding-bottom:10px; }
.editor-tabs button { border:0; background:none; padding:6px 12px; border-radius:99px; color:var(--ink-2); font-size:14px; }
.editor-tabs button[aria-pressed="true"] { background:var(--blue-tint); color:var(--blue-ink); font-weight:600; }
.voice-pane { margin-top:14px; }
/* Niko, 30 Nov 2026: Customize matches the demo's "Make it yours": "Optional" tags on tabs and the voice filter. */
.editor-tabs .optional { display:inline-block; margin-left:4px; padding:1px 6px; border-radius:999px; background:var(--blue-tint); color:var(--muted); font-size:11px; line-height:16px; font-weight:500; }
.voice-pane h3 { margin:0 0 4px; font-size:16px; }
.voice-filter { display:inline-flex; gap:2px; margin-top:12px; padding:3px; border:1px solid var(--line); border-radius:999px; }
.voice-filter button { border:0; background:none; min-height:40px; padding:0 16px; border-radius:999px; color:var(--ink-2); font-size:14px; font-weight:500; }
.voice-filter button[aria-pressed="true"] { background:var(--blue-tint); color:var(--blue-ink); }
.voice-filter[hidden] { display:none; }
.voice-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; margin-top:10px; }
.voice { border:1px solid var(--line); border-radius:12px; padding:12px; display:grid; gap:8px; }
.voice.chosen { border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.voice-pick { border:0; background:none; text-align:left; padding:0; display:grid; }
.voice-pick span { font-size:13px; color:var(--muted); }
.voice audio { width:100%; height:32px; }

.phone-connection { margin-bottom:24px; }
.phone-connection h2 { margin:4px 0 8px; }
.phone-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:20px 0; }
.phone-facts dt { color:var(--muted); font-size:14px; margin-bottom:6px; }
.phone-facts dd { margin:0; font-size:22px; font-weight:600; overflow-wrap:anywhere; }
@media (max-width:600px) { .phone-facts { grid-template-columns:1fr; } }

.onboarding-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;}
.onboarding-fields input,.onboarding-fields select {width:100%;min-width:0;}
.onboarding-fields [aria-invalid=true] {border-color:#b42318;}
@media(max-width:600px){.onboarding-fields{grid-template-columns:1fr;}}

/* Suppress retired preview chrome in existing local sessions without resetting accounts. */
body:has(> .test-mode-banner){padding-top:0!important}
body > .test-mode-banner{display:none!important}

/* Keep reporting periods on the right, with compact touch targets on phones. */
.toolbar .segmented { margin-left:auto; order:3; }
@media (max-width:480px) { .toolbar .segmented { width:100%; margin-left:0; } .toolbar .segmented button { flex:1; padding:7px 10px; } }

/* Selected Option 1: daily overview, using the existing authenticated workspace. */
#workspace { max-width:none; margin:0; }
#workspace .workspace-heading h1 { font-size:clamp(28px,3vw,38px); }
#workspace .workspace-heading { padding:8px 0 20px; }
#workspace .workspace-heading .lead { margin-top:8px; font-size:14px; }
#workspace .eyebrow { margin-bottom:8px; }
#workspace h2 { font-size:20px; line-height:1.3; letter-spacing:-.03em; }
.attention-strip { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:20px 24px; background:var(--blue-tint); border:1px solid #DCE5FF; border-radius:16px; margin:0 0 24px; }
.attention-strip strong { font-size:16px; }
.attention-strip .button { white-space:nowrap; }
.overview-split { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; margin-bottom:24px; align-items:stretch; }
.overview-split>* { min-width:0; }
.overview-split .plan-grid { display:block; margin:0; }
.overview-split .usage { height:100%; }
.overview-split .usage-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.activity-card .section-heading { align-items:center; gap:16px; margin-bottom:20px; }
.activity-card a,.recent-card a { font-size:13px; white-space:nowrap; }
.activity-graph { display:block; width:100%; min-height:210px; margin-top:28px; }
.activity-graph text { fill:var(--muted); font:12px var(--font); }
.chart-empty { min-height:180px; display:flex; align-items:center; justify-content:center; color:var(--muted); text-align:center; padding:24px; }
.recent-list { list-style:none; margin:0; padding:0; }
.recent-list li { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; border-bottom:1px solid var(--line); padding:20px 0; }
.recent-list li:last-child { border-bottom:0; }
.recent-list p { color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.recent-list li>div:last-child { text-align:right; }
.overview-split .phone-connection { margin:0; }
.phone-facts dd { overflow-wrap:anywhere; }
.test-voice-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:24px; margin-bottom:24px; padding:24px 28px; }
.test-voice-copy { min-width:0; }
.test-voice-copy .eyebrow { margin-bottom:6px; }
.test-voice-copy h2 { margin-bottom:6px; }
.test-voice-panel>.button { white-space:nowrap; align-self:center; }
.test-voice-panel>#test-voice-status { grid-column:1/-1; padding-top:14px; border-top:1px solid var(--line); }
.test-voice-panel>#test-voice-status:empty { display:none; }
.hours-overview { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.hours-overview-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px; }
.hours-overview-heading .eyebrow { margin-bottom:4px; }
.hours-overview-heading h3 { font-size:18px; }
.hours-today { flex:none; padding:5px 10px; border-radius:999px; background:var(--blue-tint); color:var(--blue-ink); font-size:12px; font-weight:600; }
.hours-schedule { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 16px; }
.hours-row { display:grid; grid-template-columns:minmax(72px,.8fr) minmax(0,1.2fr); gap:10px; padding:9px 0; border-top:1px solid var(--line); font-size:13px; }
.hours-row.today { color:var(--blue-ink); font-weight:600; }
.hours-row span:last-child { text-align:right; overflow-wrap:anywhere; }
.hours-unstructured { color:var(--ink-2); font-size:14px; line-height:1.5; padding:12px 14px; background:var(--tint); border-radius:10px; }
.settings-hours { grid-column:1/-1; }
.settings-hours .hours-schedule,.settings-hours .hours-unstructured { margin-top:8px; }
.monthly-details { border:1px solid var(--line); border-radius:16px; padding:16px 24px; margin-bottom:24px; }
.monthly-details summary { cursor:pointer; font-weight:500; }
.monthly-results { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:20px; }
#workspace .metric { background:white; border:1px solid var(--line); border-radius:16px; padding:20px; }
#workspace .metric>strong { font-size:32px; letter-spacing:-.04em; }
#workspace .metric>span { font-size:12px; }
.receptionist-status .dot { background:var(--muted); }
.receptionist-status[data-connected=true] .dot { background:var(--ok); }
@media(max-width:800px) { .overview-split,.monthly-results { grid-template-columns:1fr; gap:16px; } .attention-strip { padding:16px; gap:16px; } .test-voice-panel { grid-template-columns:1fr; align-items:start; } .test-voice-panel>.button { justify-self:start; } }
@media(max-width:480px) { .attention-strip { align-items:flex-start; flex-direction:column; } #workspace .metric { padding:16px 12px; } #workspace .metric>strong { font-size:28px; } .recent-list li { gap:8px; } .overview-split .card { padding:20px 16px; } .receptionist-status { display:flex; min-width:0; max-width:100%; padding:8px 10px; border:1px solid var(--line); border-radius:10px; background:#fff; gap:8px; } .receptionist-status>div { min-width:0; } .receptionist-status strong,.receptionist-status span:not(.dot) { overflow-wrap:anywhere; } .receptionist-status span:not(.dot) { font-size:11px; line-height:1.4; } .test-voice-panel { padding:20px 16px; gap:18px; } .test-voice-panel>.button { width:100%; white-space:normal; } .hours-schedule { grid-template-columns:1fr; } }
.usage-ring { width:124px; height:124px; margin:16px auto; }
.usage-ring svg { display:block; width:100%; height:100%; }
.usage-ring text { fill:var(--ink); font:600 24px var(--font); }
/* Long business details and edit forms stay readable without crowding. */
#workspace :is(input,select,textarea) { max-width:100%; min-width:0; }
#settings form { display:grid; gap:12px; margin-top:24px; min-width:0; }
#settings form label { margin:8px 0 0; }
#settings form .button { justify-self:start; }
.phone-facts>div { min-width:0; }
.monthly-details .calls-section { padding-top:24px; }
.recent-list strong,.settings dd { overflow-wrap:anywhere; }
.settings-compact{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px}.settings-compact h2,.settings-compact p{margin:0}.settings-compact .eyebrow{margin-bottom:6px}.settings-compact .button{flex:none}.customer-settings-tools{display:grid;gap:16px;min-width:min(100%,420px)}.customer-settings-tools>.button{justify-self:end}.customer-settings-tools .business-hours-panel,.customer-settings-tools .test-voice-panel{margin:0;padding:18px;grid-column:1/-1}.customer-settings-tools .business-hours-panel .hours-schedule{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-settings-tools .business-hours-panel .hours-row{min-height:58px;padding:8px}.customer-settings-tools .test-voice-panel{grid-template-columns:minmax(0,1fr);gap:12px}.customer-settings-tools .test-voice-panel>#test-voice-status{padding-top:8px}@media(max-width:640px){.settings-compact{align-items:stretch;flex-direction:column;padding:20px}.customer-settings-tools{width:100%;min-width:0}.customer-settings-tools>.button{justify-self:stretch;width:100%}.customer-settings-tools .business-hours-panel .hours-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}}
.settings-compact>.plan-grid{flex:0 0 100%;width:100%;grid-column:1/-1}

/* Client workspace uses the full viewport; keep brand chrome compact and content breathable. */
body[data-product-screen="client"] main { max-width:none; width:100%; margin:0; padding:22px clamp(20px,3.2vw,56px) 48px; }
body[data-product-screen="client"] .preview { padding:5px clamp(20px,3.2vw,56px); font-size:10px; letter-spacing:.06em; }
body[data-product-screen="client"] .bar { min-height:58px; padding:10px clamp(20px,3.2vw,56px); gap:12px; }
body[data-product-screen="client"] .wordmark { font-size:24px; }
body[data-product-screen="client"] #workspace { width:100%; max-width:none; }
body[data-product-screen="client"] #workspace .workspace-heading { padding:4px 0 22px; }
.business-hours-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px 28px; align-items:start; margin:0 0 24px; padding:24px 28px; }
.business-hours-heading { grid-column:1/-1; display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.business-hours-heading .eyebrow { margin-bottom:4px; }
.business-hours-heading h2 { margin-bottom:4px; }
.business-hours-now { display:grid; gap:2px; justify-items:end; text-align:right; }
.business-hours-now strong { padding:6px 11px; border-radius:999px; font-size:13px; background:var(--tint); color:var(--ink-2); }
.business-hours-now .is-open { color:var(--ok); background:#EAF6EF; }
.business-hours-now .is-closed { color:var(--warn); background:#FFF2EA; }
.business-hours-now span { color:var(--muted); font-size:13px; }
.business-hours-panel .hours-schedule { grid-column:1/-1; grid-template-columns:repeat(7,minmax(0,1fr)); gap:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.business-hours-panel .hours-row { display:flex; min-height:74px; flex-direction:column; justify-content:center; gap:3px; padding:12px 14px; border-top:0; border-right:1px solid var(--line); font-size:12px; }
.business-hours-panel .hours-row:last-child { border-right:0; }
.business-hours-panel .hours-row.today { background:var(--blue-tint); }
.business-hours-panel .hours-row span:last-child { text-align:left; font-size:13px; }
.business-hours-panel .hours-unstructured { grid-column:1/-1; margin:0; }
.business-hours-panel>.button { justify-self:start; }
@media(max-width:1050px){.business-hours-panel .hours-schedule{grid-template-columns:repeat(4,minmax(0,1fr))}.business-hours-panel .hours-row:nth-child(n+5){border-top:1px solid var(--line)}}
@media(max-width:620px){body[data-product-screen="client"] main{padding:18px 16px 36px}.business-hours-panel{padding:20px 16px;gap:16px}.business-hours-heading{flex-direction:column;gap:12px}.business-hours-now{justify-items:start;text-align:left}.business-hours-panel .hours-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}.business-hours-panel .hours-row{border-top:1px solid var(--line)}.business-hours-panel .hours-row:nth-child(-n+2){border-top:0}.business-hours-panel .hours-row:nth-child(even){border-right:0}.business-hours-panel>.button{width:100%}}

/* Approved customer view (Joan, 18 Nov 2026): one compact row of five numbers */
.metrics.metrics-compact{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid #E3E6ED;border-radius:12px;background:#fff;overflow:hidden}
.metrics.metrics-compact .metric{border:0;border-left:1px solid #E3E6ED;border-radius:0;padding:14px 20px;box-shadow:none;min-height:0}
.metrics.metrics-compact .metric:first-child{border-left:0}
.metrics.metrics-compact .metric strong{font-size:20px;line-height:28px}
@media(max-width:760px){.metrics.metrics-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics.metrics-compact .metric:nth-child(4){border-left:0}}

/* ======================================================================
   Workspace v6 (Joan approved the look on 20 Nov 2026: docs/product/client-panel-v2).
   White, Evo blue and black; red only for urgent. Light + dark. Frosted cards
   over a soft blue glow. Every number comes from the real store.
   ====================================================================== */
:root{--bg:#F3F5FA;--surface:#FFFFFF;--surface-2:#F6F8FB;--line:#E4E8F0;--line-2:#D3D9E4;--text:#0A0B0F;--fog:#353A46;--dim:#5E6574;
 --blue:#0047FF;--blue-deep:#0033B8;--mist:#EDF2FF;--red:#C8272A;--red-bg:#FDEBEB;--grey-bg:#EEF0F4;
 --glass:rgba(255,255,255,.82);--glass-line:rgba(255,255,255,.95);--shadow-v6:0 1px 2px rgba(10,11,15,.04),0 8px 24px rgba(20,40,90,.06);
 --glow-op:.30;--hero:linear-gradient(135deg,#0047FF 0%,#2F6BFF 42%,#0A1B5C 100%);--side-w:264px}
:root[data-theme="dark"]{--bg:#000;--surface:#0B0D12;--surface-2:#11141B;--line:#1F2430;--line-2:#2B3140;--text:#F4F6FA;--fog:#C9CED8;--dim:#9AA1B0;
 --blue:#5B8FFF;--blue-deep:#3B72F0;--mist:#0E1A3A;--red:#FF7376;--red-bg:#2A1012;--grey-bg:#161A23;--glass:rgba(11,13,18,.80);--glass-line:rgba(255,255,255,.07);
 --shadow-v6:0 1px 2px rgba(0,0,0,.6),0 8px 24px rgba(0,0,0,.4);--glow-op:.16;--hero:linear-gradient(135deg,#0A2A9E 0%,#0047FF 45%,#02040C 100%);color-scheme:dark}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--bg:#000;--surface:#0B0D12;--surface-2:#11141B;--line:#1F2430;--line-2:#2B3140;--text:#F4F6FA;--fog:#C9CED8;--dim:#9AA1B0;
 --blue:#5B8FFF;--blue-deep:#3B72F0;--mist:#0E1A3A;--red:#FF7376;--red-bg:#2A1012;--grey-bg:#161A23;--glass:rgba(11,13,18,.80);--glass-line:rgba(255,255,255,.07);
 --shadow-v6:0 1px 2px rgba(0,0,0,.6),0 8px 24px rgba(0,0,0,.4);--glow-op:.16;--hero:linear-gradient(135deg,#0A2A9E 0%,#0047FF 45%,#02040C 100%);color-scheme:dark}}

/* shell: login keeps its layout; the sidebar only exists inside the workspace */
.glow,.side{display:none}
html body.in-workspace{background:var(--bg);color:var(--text)}
html body.in-workspace .bar,html body.in-workspace .preview{display:none}
html body.in-workspace.is-preview .preview{display:block}
body.in-workspace .glow{display:block;position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
body.in-workspace .glow i{position:absolute;border-radius:50%;filter:blur(120px);opacity:var(--glow-op)}
body.in-workspace .glow i:nth-child(1){width:620px;height:620px;left:-220px;top:-280px;background:#4D80FF}
body.in-workspace .glow i:nth-child(2){width:520px;height:520px;right:-200px;top:40px;background:#8FB0FF}
body.in-workspace .glow i:nth-child(3){width:600px;height:600px;left:40%;bottom:-380px;background:#0047FF}
body.in-workspace .app{position:relative;z-index:1;display:grid;grid-template-columns:var(--side-w) minmax(0,1fr);min-height:100vh}
body.in-workspace.side-collapsed .app{--side-w:84px}
html body.in-workspace main{max-width:1180px;width:100%;margin:0 auto;padding:28px 32px 56px}

/* sidebar */
body.in-workspace .side{display:flex;flex-direction:column;gap:6px;position:sticky;top:0;height:100vh;padding:16px 14px;margin:12px 0 12px 12px;height:calc(100vh - 24px);border-radius:22px;background:var(--glass);border:1px solid var(--glass-line);box-shadow:var(--shadow-v6);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4)}
.side-top{display:flex;align-items:center;gap:12px;padding:6px 6px 14px}
.avatar{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0047FF,#0A1B5C);color:#fff;font-weight:600;font-size:15px;letter-spacing:.02em}
.avatar.sm{width:38px;height:38px;border-radius:12px;font-size:13px;background:var(--grey-bg);color:var(--fog)}
.avatar.sm.urgent{background:var(--red-bg);color:var(--red)}
.side-id{display:grid;min-width:0}.side-id strong{font-size:15px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.side-id span{font-size:13px;color:var(--dim)}
.side-collapse{margin-left:auto;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;flex:none;cursor:pointer}
.side-collapse svg,.ico,.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.side-collapse svg{width:16px;height:16px}
body.in-workspace #account-nav{display:flex;flex-direction:column;gap:4px;flex:1}
body.in-workspace #account-nav[hidden]{display:none}
html body.in-workspace .nav-item{display:flex;align-items:center;gap:14px;min-height:48px;padding:0 14px;border-radius:14px;color:var(--fog);font-size:16px;font-weight:500;text-decoration:none;border:0;background:none;width:100%;text-align:left;cursor:pointer}
html body.in-workspace .nav-item:hover{background:var(--surface-2);color:var(--text)}
html body.in-workspace .nav-item[aria-current="page"]{background:var(--surface);color:var(--blue);box-shadow:var(--shadow-v6)}
.nav-badge{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--red);color:#fff;font-size:12px;font-weight:600;display:inline-grid;place-items:center}
.nav-group{margin:14px 14px 4px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
html body.in-workspace .sign-out{margin-top:auto;color:var(--dim)}
body.side-collapsed .side-id,body.side-collapsed .nav-item span,body.side-collapsed .nav-group{display:none}
body.side-collapsed .side-top{flex-direction:column}body.side-collapsed .side-collapse{margin:0;transform:rotate(180deg)}
body.side-collapsed .nav-item{justify-content:center;padding:0}

/* heading */
.ws-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}
.ws-title .eyebrow{margin:0 0 2px;color:var(--dim);font-size:13px;font-weight:600}
html body.in-workspace .ws-title h1{margin:0;font-size:32px;line-height:38px;letter-spacing:-.025em;color:var(--text)}
.ws-meta{margin:4px 0 0;color:var(--dim);font-size:14px}
.ws-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
html body.in-workspace .receptionist-status{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:var(--glass);border:1px solid var(--glass-line);box-shadow:var(--shadow-v6);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);max-width:440px}
html body.in-workspace .receptionist-status .dot{width:9px;height:9px;border-radius:50%;background:var(--dim);flex:none}
html body.in-workspace .receptionist-status[data-connected="true"] .dot{background:var(--blue);box-shadow:0 0 0 4px var(--mist)}
html body.in-workspace .receptionist-status div{display:flex;gap:6px;flex-wrap:wrap;align-items:baseline;min-width:0}
html body.in-workspace .receptionist-status strong{font-size:14px;color:var(--text)}
html body.in-workspace .receptionist-status span:not(.dot){font-size:13px;color:var(--dim)}
.theme-toggle{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--glass-line);background:var(--glass);color:var(--text);box-shadow:var(--shadow-v6);cursor:pointer}
.theme-toggle .ico-sun{display:none}.theme-toggle[aria-pressed="true"] .ico-sun{display:block}.theme-toggle[aria-pressed="true"] .ico-moon{display:none}

/* cards */
html body.in-workspace .card.glass,html body.in-workspace .view .card{background:var(--glass);border:1px solid var(--glass-line);border-radius:22px;box-shadow:var(--shadow-v6);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4);color:var(--text)}
html body.in-workspace .card.glass{padding:20px 22px}
.view{display:grid;gap:16px}.view[hidden]{display:none}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
html body.in-workspace .card-head h2{margin:0;font-size:17px;line-height:24px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px}
.card-link{color:var(--blue);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}.card-link:hover{text-decoration:underline}
.count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--red-bg);color:var(--red);font-size:13px;font-weight:600}
.view-head{margin:4px 0 2px}.view-head p{margin:4px 0 0;color:var(--dim)}
html body.in-workspace .view-title{margin:0;font-size:24px;line-height:30px;color:var(--text)}

/* setup bar */
.setup-bar{display:grid;grid-template-columns:auto minmax(150px,auto) 1fr auto;align-items:center;gap:18px}
.setup-ring svg{width:56px;height:56px;display:block}
.setup-ring .track{stroke:var(--line-2)}.setup-ring .done{stroke:var(--blue)}.setup-ring text{fill:var(--text);font-size:15px;font-weight:600}
.setup-copy h2{margin:0;font-size:16px;color:var(--text)}.setup-copy p{margin:2px 0 0;color:var(--dim);font-size:14px}
.setup-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.setup-steps li{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-size:14px;color:var(--fog)}
.setup-steps li::before{content:"";width:16px;height:16px;border-radius:50%;border:2px solid var(--line-2);flex:none}
.setup-steps li.done::before{border-color:var(--blue);background:var(--blue);box-shadow:inset 0 0 0 3px var(--surface)}
.setup-steps li.done{color:var(--text)}
.setup-steps li.current{border-color:var(--blue);color:var(--text);font-weight:600}
html body.in-workspace .setup-bar .button{white-space:nowrap}

/* home grid */
.home-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1fr);gap:16px}
.home-grid.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html body.in-workspace .card.hero{position:relative;overflow:hidden;color:#fff;background:var(--hero);border:0;border-radius:22px;padding:22px 24px;min-height:196px;display:flex;flex-direction:column;box-shadow:0 18px 44px rgba(0,71,255,.26)}
.hero>*{position:relative}
.hero .silver{position:absolute;left:-90px;top:-120px;width:380px;height:300px;border-radius:50%;background:radial-gradient(closest-side,rgba(235,240,255,.7),rgba(200,214,245,.3) 45%,transparent 75%);filter:blur(4px);pointer-events:none}
.hero .dots{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.12) 1px,transparent 1px);background-size:18px 18px;-webkit-mask-image:linear-gradient(110deg,transparent 50%,#000);mask-image:linear-gradient(110deg,transparent 50%,#000);pointer-events:none}
.hero .sheen{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.18) 50%,transparent 65%);background-size:250% 100%;background-position:120% 0}
.hero .pill{display:inline-flex;align-self:flex-start;margin:0;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.18);font-size:13px;font-weight:500;color:#fff}
.hero .pair{display:flex;gap:44px;margin-top:16px}
.hero .pair b{display:block;font-size:48px;line-height:1;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.hero .pair span{font-size:15px;opacity:.95}
.hero .sp{position:absolute;right:22px;top:58px;width:40%;height:72px;overflow:visible}
.hero .sp polyline{fill:none;stroke:rgba(255,255,255,.92);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.hero .sp polygon{fill:rgba(255,255,255,.12)}
.hero .foot{margin:auto 0 0;padding-top:16px;font-size:14px;line-height:20px;opacity:.95;color:#fff}
.stat-card{display:flex;flex-direction:column}
.stat-big{font-size:44px;line-height:1;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--text);margin:2px 0 14px}
.split-bar{width:100%;height:8px;display:block;border-radius:4px;overflow:hidden}
.split-bar .ok{fill:var(--blue)}.split-bar .miss{fill:var(--red)}.split-bar .none{fill:var(--line-2)}
.stat-note{margin:10px 0 0;color:var(--dim);font-size:14px;line-height:20px}
.stat-note strong{color:var(--text)}
.chip{padding:4px 10px;border-radius:999px;background:var(--mist);color:var(--blue);font-size:12.5px;font-weight:600;white-space:nowrap}
.chip.warn{background:var(--red-bg);color:var(--red)}
.minutes-body{display:flex;align-items:center;gap:16px}
.home-ring svg{width:104px;height:104px;display:block}
.home-ring .track{stroke:var(--line-2)}.home-ring .used{stroke:var(--blue)}.home-ring .used.over{stroke:var(--red)}
.home-ring .big{fill:var(--text);font-size:22px;font-weight:600}.home-ring .small{fill:var(--dim);font-size:11px}

/* lists */
.needs-list,.who-list{display:grid;gap:8px}
.row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--text);text-decoration:none}
.row:hover{border-color:var(--line-2);box-shadow:var(--shadow-v6)}
.row.urgent{border-color:color-mix(in srgb,var(--red) 35%,transparent);background:color-mix(in srgb,var(--red-bg) 70%,var(--surface))}
.row strong{display:block;font-size:15px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row p{margin:1px 0 0;color:var(--dim);font-size:14px;line-height:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .side-info{display:grid;justify-items:end;gap:4px;text-align:right}
.row .when{color:var(--dim);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.who-list .row{grid-template-columns:auto minmax(120px,.9fr) minmax(0,1.4fr) auto}
.who-list .summary-col{color:var(--fog);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--grey-bg);color:var(--fog);font-size:12.5px;font-weight:600;white-space:nowrap}
.tag.booked,.tag.answered{background:var(--mist);color:var(--blue)}
.tag.urgent{background:var(--red-bg);color:var(--red)}
.empty-note{margin:0;padding:18px;border-radius:16px;border:1px dashed var(--line-2);color:var(--dim);font-size:14px;text-align:center}
.empty-note strong{display:block;color:var(--text);font-size:15px;margin-bottom:2px}
.week-bars svg{width:100%;height:170px;display:block}
.week-bars .b-calls{fill:color-mix(in srgb,var(--blue) 22%,var(--surface))}.week-bars .b-booked{fill:var(--blue)}.week-bars .b-future{fill:var(--line)}
.week-bars text{fill:var(--dim);font-size:11px}.week-bars text.n{fill:var(--text);font-weight:600}
.legend{display:flex;align-items:center;gap:6px;color:var(--dim);font-size:13px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:6px}
.legend .lg-calls{background:color-mix(in srgb,var(--blue) 22%,var(--surface))}.legend .lg-booked{background:var(--blue)}

/* existing sections inside the new views */
html body.in-workspace :is(.muted,.hint,.small){color:var(--dim)}
html body.in-workspace :is(h2,h3){color:var(--text)}
html body.in-workspace .view .card{padding:22px 24px}
html body.in-workspace .metric{background:var(--surface);border-color:var(--line);color:var(--text);border-radius:18px}
html body.in-workspace .metric p,html body.in-workspace .metric span{color:var(--dim)}
html body.in-workspace .metric strong{color:var(--text)}
html body.in-workspace .metrics.metrics-compact{border:0;gap:12px;background:none}
html body.in-workspace .attention-strip{background:var(--glass);border:1px solid var(--glass-line);border-radius:18px;color:var(--text)}
html body.in-workspace .segmented{background:var(--surface-2);border-color:var(--line)}
html body.in-workspace .segmented button{color:var(--fog)}
html body.in-workspace .segmented button[aria-pressed="true"]{background:var(--blue);color:#fff}
html body.in-workspace .filters button{background:var(--surface);border-color:var(--line);color:var(--fog);border-radius:999px}
html body.in-workspace .filters button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
html body.in-workspace .call{background:var(--surface);border-color:var(--line);border-radius:18px;color:var(--text)}
html body.in-workspace .badge{background:var(--grey-bg);color:var(--fog);border-color:transparent}
html body.in-workspace .badge.booked{background:var(--mist);color:var(--blue)}
html body.in-workspace .badge.urgent{background:var(--red-bg);color:var(--red)}
html body.in-workspace .button.primary,html body.in-workspace .primary{background:var(--blue);border-color:var(--blue);color:#fff;border-radius:12px}
html body.in-workspace .button:not(.primary){background:var(--surface);color:var(--text);border-color:var(--line-2);border-radius:12px}
html body.in-workspace :is(input,select,textarea){background:var(--surface);color:var(--text);border-color:var(--line-2)}
html body.in-workspace .icon-button{background:var(--surface);color:var(--text);border-color:var(--line)}
html body.in-workspace :is(.hours-row,.business-hours-panel,.test-voice-panel,.phone-facts>div,.usage-facts>div){background:var(--surface-2);border-color:var(--line);color:var(--text)}
html body.in-workspace .activity-graph line{stroke:var(--line)}html body.in-workspace .activity-graph text{fill:var(--dim)}
html body.in-workspace .activity-graph polygon{fill:var(--mist)}html body.in-workspace .activity-graph polyline{stroke:var(--blue)}
html body.in-workspace a{color:var(--blue)}
html body.in-workspace footer{color:var(--dim);border-color:var(--line)}
html body.in-workspace dialog{color-scheme:light;background:#fff;color:#0A0B0F}
html body.in-workspace .call-time{color:var(--dim)}html body.in-workspace .call-time strong{color:var(--text)}

/* tablet + phone */
@media (max-width:1100px){.home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-grid .hero{grid-column:1/-1}.setup-bar{grid-template-columns:auto 1fr}.setup-steps{grid-column:1/-1}.setup-bar .button{grid-column:1/-1;justify-self:start}}
@media (max-width:900px){
 body.in-workspace .app{display:block}
 html body.in-workspace main{padding:18px 16px 96px}
 body.in-workspace .side{position:fixed;left:8px;right:8px;bottom:8px;top:auto;height:auto;margin:0;padding:6px;border-radius:20px;z-index:20}
 body.in-workspace .side-top,body.in-workspace .nav-group{display:none}
 body.in-workspace #account-nav{flex-direction:row;gap:2px}
 html body.in-workspace .nav-item{flex:1;flex-direction:column;justify-content:center;gap:2px;min-height:54px;padding:4px 2px;font-size:11.5px;border-radius:14px;text-align:center;position:relative}
 html body.in-workspace .sign-out{margin-top:0}
 .nav-badge{position:absolute;top:2px;right:calc(50% - 22px);min-width:18px;height:18px;font-size:11px}
 body.side-collapsed .nav-item span{display:inline}
 .ws-head{flex-direction:column;gap:12px}.ws-actions{justify-content:space-between;width:100%;flex-wrap:nowrap}
 html body.in-workspace .receptionist-status{max-width:none;flex:1;min-width:0;border-radius:16px}
 html body.in-workspace .ws-title h1{font-size:26px;line-height:32px}
}
@media (max-width:700px){
 .home-grid,.home-grid.two{grid-template-columns:1fr}
 .hero .sp{display:none}.hero .pair{gap:28px}.hero .pair b{font-size:42px}
 .who-list .row{grid-template-columns:auto minmax(0,1fr) auto}.who-list .summary-col{display:none}
 .setup-steps li{font-size:13px;padding:7px 10px}
 html body.in-workspace .card.glass,html body.in-workspace .view .card{padding:18px 16px}
}

/* v6 refinements after the first browser pass */
html body.in-workspace a.row{color:var(--text);text-align:left}
html body.in-workspace a.row:hover{text-decoration:none}
.hero .sp circle{fill:#fff}
.side-id strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:19px}
.side-id span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-top{align-items:flex-start}.side-collapse{margin-top:6px}
.home-grid.two>.card{display:flex;flex-direction:column}
.home-grid.two .week-bars{flex:1;display:flex;align-items:flex-end}
.home-grid.two .week-bars svg{height:auto;max-height:240px}
#view-billing .plan-grid{display:block;max-width:none}
#view-billing .plan-grid>.card{max-width:none;width:100%}
@media (max-width:700px){
 .row,.who-list .row{grid-template-columns:auto minmax(0,1fr)}
 .row .side-info{grid-column:2;justify-items:start;text-align:left;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
 .row strong,.row p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .row strong{-webkit-line-clamp:1}
}
.who-list .summary-col{justify-self:start;text-align:left;max-width:100%}
html body.in-workspace main:focus,html body.in-workspace main:focus-visible{outline:none}
html body.in-workspace a.button{text-decoration:none}html body.in-workspace a.button.primary{color:#fff}
.setup-bar{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ring copy action" "steps steps steps";row-gap:14px}
.setup-ring{grid-area:ring}.setup-copy{grid-area:copy}.setup-steps{grid-area:steps}.setup-bar .button{grid-area:action}
.setup-steps li.done::before{content:"✓";display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800;line-height:1;background:var(--blue);border-color:var(--blue);box-shadow:none}
.home-grid.two .week-bars:has(.empty-note){align-items:stretch}.week-bars .empty-note{width:100%}
/* Home spacing (Niko, 30 Nov 2026, Joan's v6 mockup): cards 16px apart on every side (the hero no longer sits on Needs you),
   even 20/22px card padding, the day-by-day card only as tall as its chart, compact Needs you rows (tag and time beside the
   text, then Call back / Done; all on one line when the card is wide enough for the phone number in the button). */
html body.in-workspace #home-dashboard{display:grid;gap:16px;align-content:start}
html body.in-workspace #home-dashboard[hidden]{display:none}
html body.in-workspace #home-dashboard .card.glass,html body.in-workspace #home-dashboard .card.hero{padding:20px 22px}
html body.in-workspace #home-dashboard .home-grid.two{align-items:start}
#home-dashboard .needs-list{container-type:inline-size}
html body.in-workspace #home-dashboard .needs-list .row{padding:10px 12px 10px 14px}
#home-dashboard .needs-list .row-actions{row-gap:8px;margin-top:-2px}
@container (min-width:440px){html body.in-workspace #home-dashboard .needs-list .row-main{grid-template-columns:minmax(0,1fr) auto}html body.in-workspace #home-dashboard .needs-list .row-main .side-info{display:grid;justify-items:end;text-align:right;gap:4px}}
@container (min-width:700px){html body.in-workspace #home-dashboard .needs-list .row{flex-wrap:nowrap}#home-dashboard .needs-list .row-actions{flex:none;flex-wrap:nowrap;padding-left:0;margin-top:0}}
@media (max-width:1100px){html body.in-workspace #home-dashboard .home-grid.two{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){html body.in-workspace #home-dashboard .card.glass,html body.in-workspace #home-dashboard .card.hero{padding:16px}}
@media (max-width:1100px){.setup-bar{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"ring copy" "steps steps" "action action"}.setup-bar .button{justify-self:start}}

/* v6 pass 2: other views and sign-in */
#workspace:not([data-view="home"]) .ws-title h1,#workspace:not([data-view="home"]) .ws-meta{display:none}
#workspace:not([data-view="home"]) .ws-head{align-items:center;margin-bottom:8px}
html body.in-workspace .view-title{font-size:28px;line-height:34px;letter-spacing:-.02em}
html body.in-workspace .activity-graph{max-height:230px;width:100%}
html body.in-workspace .calls-section{background:var(--glass);border:1px solid var(--glass-line);border-radius:22px;box-shadow:var(--shadow-v6);padding:22px 24px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
html body.in-workspace .calls-section .section-heading{margin-bottom:12px}
html body.in-workspace .filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
html body.in-workspace .filters button{min-height:36px;padding:6px 14px;font-size:14px;font-weight:500}
html body.in-workspace .call{grid-template-columns:130px minmax(0,1fr) auto;align-items:start;gap:18px;padding:16px 18px;margin:0 0 10px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
html body.in-workspace .call:target{border-color:var(--blue);box-shadow:0 0 0 3px var(--mist)}
html body.in-workspace .call-time{font-size:13px;line-height:19px}
html body.in-workspace .call-time strong{font-size:16px;color:var(--text)}
html body.in-workspace .call-content h3{margin:4px 0 0;font-size:16px;color:var(--text)}
html body.in-workspace .call-content p{color:var(--fog);margin-top:4px}
html body.in-workspace .call details summary{color:var(--blue);font-size:14px;font-weight:500;margin-top:8px}
html body.in-workspace .call-actions .button{min-height:36px;padding:6px 12px;font-size:13px;color:var(--dim);background:transparent;border-color:var(--line)}
html body.in-workspace .badges .badge{border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600}
html body.in-workspace .settings,html body.in-workspace .phone-connection,html body.in-workspace .billing,html body.in-workspace .summary{border-radius:22px}
@media (max-width:700px){
 html body.in-workspace .metrics.metrics-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.in-workspace .call{grid-template-columns:1fr;gap:8px}
 html body.in-workspace .call-actions{justify-content:flex-start}
 html body.in-workspace .calls-section{padding:16px 14px}
}
/* sign-in page: same tokens, glow and glass card */
html body[data-product-screen="client"]:not(.in-workspace){background:var(--bg);color:var(--text)}
body:not(.in-workspace) .glow{display:block;position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
body:not(.in-workspace) .glow i{position:absolute;border-radius:50%;filter:blur(120px);opacity:var(--glow-op)}
body:not(.in-workspace) .glow i:nth-child(1){width:620px;height:620px;left:-220px;top:-280px;background:#4D80FF}
body:not(.in-workspace) .glow i:nth-child(2){width:520px;height:520px;right:-200px;top:40px;background:#8FB0FF}
body:not(.in-workspace) .glow i:nth-child(3){width:600px;height:600px;left:40%;bottom:-380px;background:#0047FF}
body:not(.in-workspace) .app,body:not(.in-workspace) .bar{position:relative;z-index:1}
html body:not(.in-workspace) .bar{background:transparent;border-color:transparent}
html body:not(.in-workspace) .login-card{background:var(--glass);border:1px solid var(--glass-line);border-radius:22px;box-shadow:var(--shadow-v6);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4);color:var(--text)}
html body:not(.in-workspace) .login-intro h1{font-size:44px;line-height:50px;letter-spacing:-.03em;color:var(--text)}
html body:not(.in-workspace) .login-intro .lead{font-size:18px;color:var(--fog)}
html body:not(.in-workspace) :is(.login-card h2,label){color:var(--text)}
html body:not(.in-workspace) :is(.muted,.hint,.eyebrow,.bar-label){color:var(--dim)}
html body:not(.in-workspace) :is(input,select){background:var(--surface);color:var(--text);border-color:var(--line-2);border-radius:12px;min-height:46px}
html body:not(.in-workspace) .button.primary{border-radius:12px;min-height:48px;background:var(--blue);border-color:var(--blue);color:#fff}
:root[data-theme="dark"] .wordmark img{filter:invert(1) hue-rotate(180deg)}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .wordmark img{filter:invert(1) hue-rotate(180deg)}}


/* ======================================================================
   v7 consistency pass (24 Nov 2026, senior UI review).
   Type scale: 12 · 13 · 14 · 16 · 18 · 24 · 32.  Spacing: 4 · 8 · 12 · 16 · 24 · 32.
   Cards: 20px radius, 24px padding (16px on phones). Controls: 44px tall.
   ====================================================================== */
html body.in-workspace main{padding:24px 32px 48px}
/* sidebar: every item on the same grid, active item does not shift */
body.in-workspace .side{padding:16px 12px}
.side-top{padding:4px 4px 16px;gap:12px}
html body.in-workspace #account-nav .nav-item,html body.in-workspace #account-nav a[aria-current="page"]{min-height:44px;padding:0 12px;gap:12px;border-radius:12px;font-size:15px;line-height:20px}
.nav-group{margin:16px 12px 4px;font-size:12px;line-height:16px}
/* page header: same position on every view */
.ws-head,#workspace:not([data-view="home"]) .ws-head{align-items:flex-start;gap:16px}
.ws-head{margin-bottom:24px}
#workspace:not([data-view="home"]) .ws-head{margin-bottom:8px}
.ws-title .eyebrow{font-size:13px;line-height:20px;margin:0 0 4px}
.ws-meta{font-size:14px;line-height:20px;margin-top:4px}
html body.in-workspace .receptionist-status{min-height:44px;padding:8px 16px}
/* views: one 16px rhythm between blocks; no stray outer margins */
.view{gap:16px}
.view-head{margin:0 0 8px}
#workspace .view-title,html body.in-workspace #workspace .view-title{font-size:32px;line-height:38px;letter-spacing:-.025em}
.view-head p{font-size:15px;line-height:22px}
html body.in-workspace .view :is(.settings,.phone-connection,.plan-grid,.metrics,.attention-strip,.summary,.business-hours-panel,.monthly-details,.toolbar){margin:0}
html body.in-workspace .view .test-voice-panel{margin:0}
html body.in-workspace .view footer,html body.in-workspace #workspace>footer{margin-top:24px;padding:16px 0}
/* cards */
html body.in-workspace .card.glass,html body.in-workspace .view .card,html body.in-workspace .calls-section,html body.in-workspace .card.hero{border-radius:20px;padding:24px}
.card-head{margin-bottom:16px}
html body.in-workspace #workspace .card h2,html body.in-workspace #workspace .calls-section h2,html body.in-workspace .card-head h2{font-size:18px;line-height:24px;letter-spacing:-.015em}
#workspace .card .eyebrow,#workspace .calls-section .eyebrow{font-size:12px;line-height:16px;letter-spacing:.02em;margin:0 0 4px}
html body.in-workspace .card p.hint,html body.in-workspace .hint{font-size:13px;line-height:20px;margin-top:12px}
/* home */
.stat-big{font-size:40px;margin:0 0 16px}
.stat-note{font-size:14px;line-height:20px;margin-top:12px}
.minutes-body{gap:16px}
.home-grid.two .week-bars svg{max-height:200px}
html body.in-workspace .who-list .row,html body.in-workspace .needs-list .row{text-align:left;padding:12px 16px;gap:12px;border-radius:14px}
.who-list .summary-col{justify-self:stretch!important;text-align:left!important}
.row strong{font-size:15px;line-height:20px}.row p{font-size:14px;line-height:20px;margin-top:2px}
.row .side-info{gap:4px}
html body.in-workspace .summary{padding:24px;gap:24px}
/* calls view */
.toolbar{gap:12px 16px}
.day-nav{gap:8px}
html body.in-workspace .day-nav input{min-height:44px;padding:0 12px;border-radius:12px}
html body.in-workspace .icon-button{min-width:44px;min-height:44px;font-size:20px}
html body.in-workspace .attention-strip{padding:16px 24px;gap:16px}
.attention-strip strong{font-size:16px;line-height:22px}
html body.in-workspace .metrics.metrics-compact{gap:12px}
html body.in-workspace #workspace .metrics-compact .metric{padding:16px 20px;border-radius:16px}
#workspace .metrics-compact .metric p{font-size:13px;line-height:18px}
#workspace .metrics-compact .metric>strong{font-size:28px;line-height:34px;margin:4px 0;letter-spacing:-.03em}
#workspace .metrics-compact .metric>span{font-size:13px;line-height:18px}
html body.in-workspace .activity-graph{max-height:none;min-height:0;height:auto;margin-top:8px}
.activity-card .section-heading{margin-bottom:8px}
html body.in-workspace .calls-section .section-heading{margin-bottom:16px}
html body.in-workspace .filters{gap:8px;margin:0 0 16px}
html body.in-workspace .filters button{min-height:36px;padding:0 14px;font-size:14px}
html body.in-workspace .call{grid-template-columns:112px minmax(0,1fr) auto;gap:16px;padding:16px 20px;margin:0 0 8px;border-radius:16px}
html body.in-workspace .call-time{font-size:13px;line-height:20px}
html body.in-workspace .call-time strong{font-size:15px;line-height:22px}
html body.in-workspace .call .badges{gap:6px;margin:0 0 6px}
html body.in-workspace .call-content h3{margin:0;font-size:16px;line-height:22px;letter-spacing:-.01em}
html body.in-workspace .call-content p{font-size:14px;line-height:20px;margin-top:2px}
html body.in-workspace .call details{margin-top:6px;font-size:14px}
html body.in-workspace .call details summary{min-height:0;margin-top:0;font-size:13px;line-height:20px}
html body.in-workspace .call-actions .button{min-height:32px;padding:0 12px;font-size:13px;border-radius:10px}
/* receptionist view */
.settings-compact{align-items:flex-start;gap:24px}
.customer-settings-tools{min-width:min(100%,520px)}
.business-hours-now strong{white-space:nowrap}
html body.in-workspace .business-hours-panel,html body.in-workspace .customer-settings-tools .business-hours-panel{padding:16px 20px;border-radius:16px}
.phone-connection h2{margin:0 0 4px}
.phone-facts{gap:12px;margin:16px 0}
html body.in-workspace .phone-facts>div,html body.in-workspace .usage-facts>div{padding:12px 16px;border-radius:12px}
.phone-facts dt{font-size:13px;line-height:18px;margin-bottom:4px}
.phone-facts dd{font-size:24px;line-height:30px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
/* plan & billing view */
#workspace .usage h2,html body.in-workspace #workspace .usage h2{font-size:32px;line-height:38px;letter-spacing:-.025em}
#workspace .usage h2 .muted{font-size:16px;letter-spacing:0}
.meter{margin:16px 0}
.usage-facts{gap:12px;padding-top:16px}
.usage-facts span{font-size:13px;line-height:18px}
.usage-facts strong{font-size:20px;line-height:28px}
.forecast,.plan-advice{font-size:14px;line-height:20px;padding:12px 16px;border-radius:12px;margin-top:16px}
#workspace .value h2{font-size:24px;line-height:30px}
.value-list{margin-top:16px;gap:0}
.value-list li{padding:12px 0;align-items:center}
.value-list strong{min-width:56px;font-size:24px;line-height:28px}
.value-list span{font-size:14px;line-height:20px}
.monthly-results{gap:16px;margin:0}
.week-facts{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:4px 16px}
.week-facts>p:not(.muted){font-size:13px;line-height:18px;color:var(--dim);grid-row:1}
.week-facts>strong{grid-row:2;font-size:32px;line-height:38px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.week-facts>p.muted{grid-column:2;grid-row:3;margin-top:4px;font-size:13px;line-height:18px}
html body.in-workspace .billing{padding:24px;gap:24px;margin:0}
html body.in-workspace .billing .lead{font-size:15px;line-height:22px;margin-top:8px;max-width:64ch}
/* sign-in */
html body:not(.in-workspace) .login-card{padding:32px}
html body:not(.in-workspace) .login-card .eyebrow{font-size:13px;letter-spacing:.02em;margin-bottom:12px}
html body:not(.in-workspace) .login-card h2{font-size:24px;line-height:30px;letter-spacing:-.02em;margin-bottom:4px}
html body:not(.in-workspace) .login-card form label{font-size:14px;margin:24px 0 8px}
html body:not(.in-workspace) :is(input,select){min-height:48px}
html body:not(.in-workspace) .login-intro .eyebrow{font-size:13px;letter-spacing:.02em;margin-bottom:16px}
html body:not(.in-workspace) .login-intro .lead{margin-top:16px}
.code-preview{padding:12px 16px;border-radius:12px}
/* tablet + phone */
@media (max-width:900px){
 html body.in-workspace main{padding:16px 16px 104px}
 html body.in-workspace .side #account-nav .nav-item,html body.in-workspace .side #account-nav a[aria-current="page"]{flex-direction:column;gap:2px;min-height:56px;padding:6px 2px;font-size:12px;line-height:16px;white-space:nowrap;letter-spacing:-.01em}
 html body.in-workspace .side .nav-item span{font-size:12px}
 .ws-head{margin-bottom:16px}
 #workspace .view-title,html body.in-workspace #workspace .view-title{font-size:26px;line-height:32px}
 html body.in-workspace #workspace .metrics-compact .metric:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:700px){
 html body.in-workspace .card.glass,html body.in-workspace .view .card,html body.in-workspace .calls-section,html body.in-workspace .card.hero{padding:16px;border-radius:18px}
 html body.in-workspace .call{grid-template-columns:1fr;gap:8px;padding:16px}
 .call-time strong{display:inline;margin-right:8px}
 .week-facts>p.muted{grid-column:1/-1}
 .phone-facts dd{font-size:20px;line-height:26px}
 .usage-facts strong{font-size:18px}
 html body.in-workspace .attention-strip{padding:16px}
 .setup-bar{gap:12px}
}
@media (max-width:480px){
 .toolbar .segmented{width:100%}
 html body:not(.in-workspace) .login-card{padding:24px 16px}
}
@media (max-width:900px){html body.in-workspace #workspace .metrics-compact .metric:nth-child(5){grid-column:1/-1}}
/* Who called: same columns on every row so summaries and tags line up */
@media (min-width:701px){html body.in-workspace .who-list .row{grid-template-columns:38px minmax(140px,.7fr) minmax(0,1.6fr) 190px}}
/* week chart fills its card instead of floating in empty space */
.home-grid.two .week-bars svg{max-height:280px;width:100%}
/* When your minutes run out (Joan, 24 Nov 2026) */
.limit-choice{margin-top:16px;display:grid;gap:16px}
.limit-choice h2{margin:0}.limit-choice .lead{margin:4px 0 0}
.limit-options{display:grid;gap:12px}
.limit-option{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line,#e3e6ed);border-radius:14px;cursor:pointer;background:var(--surface,#fff)}
.limit-option:has(input:checked){border-color:var(--blue,#0047ff);box-shadow:0 0 0 1px var(--blue,#0047ff) inset}
.limit-option input{margin-top:3px;flex:none;width:18px;height:18px;accent-color:var(--blue,#0047ff)}
.limit-option>span{display:grid;gap:2px}.limit-option b{font-size:16px}
.limit-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.limit-actions .hint{margin:0}
/* MSA 7.3: change the fallback number (Plan & billing). */
.fallback-form{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#e3e6ed)}
/* Niko, 30 Nov 2026: Retry on the minutes card, and "Change plan" on Plan & billing. */
.limit-retry{margin-top:12px}
.plan-change{margin-top:16px;display:grid;gap:16px}
.plan-change h2{margin:0}.plan-change .lead{margin:4px 0 0}.plan-change .hint{margin:8px 0 0}
.plan-change-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.plan-picker{display:grid;gap:16px}
.plan-option>span{position:relative;width:100%}.plan-option .plan-tag{justify-self:start;margin-top:4px}
.plan-option:has(input:disabled){cursor:default;background:var(--tint,#f5f7fb)}
.plan-review{display:grid;gap:8px;padding:16px;border-radius:14px;background:var(--tint,#f5f7fb);font-size:15px;line-height:22px}.plan-review p{margin:0}
.fallback-form label{display:grid;gap:4px}.fallback-row{display:flex;gap:8px;flex-wrap:wrap}.fallback-row input{flex:1 1 200px;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line,#cdd2dc);border-radius:10px;font:inherit}

/* ======================================================================
   v8 audit pass (24 Nov 2026, ThinkEvo UI/UX audit): functional and layout rules only.
   Joan's approved v6 look (colours, radii, shadows, glass, glow) is kept; the glow and the
   hero sheen are static (X7: nothing on a daily screen moves on its own).
   ====================================================================== */
:root{--ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1)}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* rows: avatar · text · actions. Text columns shrink, avatars and actions never do (X11). */
html body.in-workspace .row,html body.in-workspace .who-list .row,html body.in-workspace .needs-list .row{display:flex;align-items:center;gap:12px}
.row>.avatar{flex-shrink:0}
.row-main{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;color:inherit;text-decoration:none;border-radius:inherit}
html body.in-workspace a.row-main{color:var(--text);text-decoration:none}
.row-text{min-width:0}
.who-list .row-main{grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr) auto}
.needs-list .row{flex-wrap:wrap}
.needs-list .row-main{grid-template-columns:minmax(0,1fr)}
.needs-list .row-main .side-info{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-items:start;text-align:left}
.row-actions{display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%;padding-left:50px}
.row .side-info{flex-shrink:0}
.row strong,.row-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
@media (max-width:700px){.who-list .row-main{grid-template-columns:minmax(0,1fr)}.who-list .row-main .side-info{display:flex;gap:8px;flex-wrap:wrap;justify-items:start;text-align:left}.row-actions{padding-left:0}}
.button.sm{min-height:36px;padding:0 12px;font-size:14px;gap:6px}
/* calls: Call back is the primary action of a call */
html body.in-workspace .call-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
html body.in-workspace .call-actions .button{min-height:40px;padding:0 14px;font-size:14px;color:var(--text)}
html body.in-workspace .call-actions .button.primary{background:var(--blue);border-color:var(--blue);color:#fff}
html body.in-workspace .call-actions .text-button{min-height:32px;padding:0;font-size:13px;color:var(--dim)}
.call-back .num,.num,.stat-big,.hero .pair b,.metric strong,.usage-facts strong,.when,.call-time,.phone-facts dd,#minutes-used,#minutes-included,.value-list strong,.week-facts>strong{font-variant-numeric:tabular-nums}
html body.in-workspace .call-content h3 .num{font-weight:400;font-size:14px;margin-left:6px}
@media (max-width:700px){html body.in-workspace .call-actions{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start}}
/* banners: one per problem, at the top of the page */
.banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid color-mix(in srgb,var(--red) 30%,transparent);background:var(--red-bg);color:var(--red);border-radius:16px;margin:0 0 16px}
.banner p{margin:0;font-size:14px;line-height:20px}.banner strong{color:inherit}
.banner.warn{border-color:#F1D3A6;background:#FFF5E5;color:#8A4B08}
.banner .button{flex-shrink:0;min-height:36px}
@media (max-width:600px){.banner{flex-direction:column;align-items:flex-start}}
/* sign-in: card first on phones; one password field with Show */
.reveal-row{position:relative}.reveal-row input{padding-right:72px}
.reveal{position:absolute;right:4px;top:50%;transform:translateY(-50%);min-height:40px;padding:0 12px;border:0;background:none;color:var(--blue);font-size:14px;font-weight:500;border-radius:8px}
@media (max-width:759px){.login-layout{display:flex;flex-direction:column;gap:24px}.login-card{order:-1}}
/* sign out: in the page header on phones, not a fifth tab */
.sign-out-top{display:none}
@media (max-width:900px){html body.in-workspace .side .sign-out{display:none}.sign-out-top{display:inline-flex;align-items:center;min-height:44px;font-size:14px;white-space:nowrap}
 html body.in-workspace .side #account-nav .nav-item,html body.in-workspace .side .nav-item span{font-size:13px}}
/* 44px targets on touch screens (X13) */
@media (pointer:coarse),(max-width:600px){
 html body.in-workspace .call-actions .button,html body.in-workspace .filters button,html body.in-workspace .segmented button,.button.sm,.text-button,html body.in-workspace .day-nav input,.reveal{min-height:44px}
 html body.in-workspace .call-actions .text-button{min-height:44px}
}
/* motion (X4–X8): press feedback; hovers only on real pointers */
@media (prefers-reduced-motion:no-preference){
 .button,.text-button,.icon-button,.row-main,.nav-item,.filters button,.segmented button,.reveal,.theme-toggle{transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease,transform 140ms var(--ease-out)}
 .button:active:not(:disabled),.icon-button:active:not(:disabled),.theme-toggle:active,.filters button:active,.segmented button:active,.nav-item:active,.row-main:active{transform:scale(.97)}
 .reveal:active{transform:translateY(-50%) scale(.97)}
}
@media (hover:none),(pointer:coarse){
 .primary:hover,html body.in-workspace .button.primary:hover{background:var(--blue)}
 html body.in-workspace .nav-item:hover{background:none;color:var(--fog)}
 html body.in-workspace .nav-item[aria-current="page"]:hover{background:var(--surface);color:var(--blue)}
 .row:hover{border-color:var(--line);box-shadow:none}.card-link:hover{text-decoration:none}
}

/* ======================================================================
   Dashboards plan §3 (Niko, 24 Nov 2026): Calls page range control, call Sheet, minutes tick bar, invoices.
   30 Nov 2026 (Niko): Home is back on Joan's approved v6 look (glass cards and glow, the blue "This week" hero,
   minutes ring); the 24 Nov KPI strip, plain cards and the dense chart dashboard were removed.
   ====================================================================== */
.tickbar svg{display:block;width:100%;height:8px}
.tickbar.big svg{height:12px}.tickbar.big{margin:16px 0 20px}
.tickbar .track{fill:var(--line)}.tickbar .fill{fill:var(--blue)}.tickbar .fill.warn{fill:#D98A00}.tickbar .fill.over{fill:var(--red)}
.tickbar .tick{stroke:var(--fog);stroke-width:.6;vector-effect:non-scaling-stroke}
.chip.warn{background:#FFF5E5;color:#8A4B08}
.home-limit{display:grid;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.home-limit p{margin:0;font-size:13px;color:var(--fog)}
.seg-small{display:flex;gap:6px;flex-wrap:wrap}
.seg-small .button[aria-pressed="true"]{background:var(--mist);border-color:var(--blue);color:var(--blue)}
/* Calls page: one range control, a custom-range popover, search on the server */
html body.in-workspace #view-calls .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;position:relative;margin-bottom:16px}
.segmented button[aria-pressed="true"]{background:var(--mist);color:var(--blue)}
.popover{position:absolute;top:calc(100% + 6px);left:0;z-index:20;display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(10,11,15,.12);min-width:280px}
.popover .button{grid-column:1/-1}
.popover[hidden]{display:none}
.call-search{flex:1 1 240px;max-width:360px}
.call-search input{min-height:40px;border-radius:999px;padding:0 16px;background:var(--surface);color:var(--text);border:1px solid var(--line-2)}
.calls-bars-card{margin-bottom:16px}
.calls-bars-card .week-bars svg{width:100%;height:auto;max-height:200px}
.link-button{border:0;background:none;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.link-button:hover{text-decoration-color:currentColor}
/* Call detail Sheet: a right-hand drawer, full screen on phones */
dialog.sheet{margin:0 0 0 auto;width:min(880px,100vw);max-width:none;height:100dvh;max-height:none;border-radius:0;border:0;border-left:1px solid var(--line);padding:0;background:var(--surface);color:var(--text)}
dialog.sheet::backdrop{background:rgba(10,11,15,.35)}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface)}
.sheet-head h2{margin:2px 0 0;font-size:22px}
.sheet-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:24px}
.sheet-summary{font-size:16px;line-height:24px;margin:0 0 12px}
.sheet-dl{display:grid;gap:0;margin:16px 0;border-top:1px solid var(--line)}
.sheet-dl div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.sheet-dl dt{color:var(--dim);font-size:13px}.sheet-dl dd{margin:0;font-variant-numeric:tabular-nums}
.sheet-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sheet-media h3{margin:0 0 12px;font-size:15px}
.sheet-media audio{width:100%;margin-bottom:12px}
.transcript{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/20px 'Geist Mono',ui-monospace,monospace;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:12px 14px;max-height:60dvh;overflow:auto;margin:0 0 8px}
@media (prefers-reduced-motion:no-preference){dialog.sheet[open]{animation:te-sheet-in 280ms cubic-bezier(0.23,1,0.32,1)}}
@keyframes te-sheet-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:760px){dialog.sheet{width:100vw;border-left:0}.sheet-body{grid-template-columns:minmax(0,1fr);padding:16px}.sheet-head{padding:16px}}
/* Invoices as a table */
.invoice-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}
.invoice-table th{text-align:left;font-weight:600;color:var(--dim);font-size:12.5px;padding:8px 8px 8px 0;border-bottom:1px solid var(--line)}
.invoice-table td{padding:10px 8px 10px 0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.invoice-table .num{text-align:right}
#next-bill-amount{display:block}

/* ======================================================================
   Chart colours (24 Nov 2026), used by the Calls page share bar and day bars (Home charts removed 30 Nov).
   Categorical slots validated with the dataviz validator (CVD ΔE ≥ 8.4, light #fff and dark #0B0D12); light
   aqua/yellow sit under 3:1, so every chart carries a visible legend with counts. No chart animates.
   ====================================================================== */
:root{--viz-1:#2a78d6;--viz-2:#eb6834;--viz-3:#1baf7a;--viz-4:#eda100;--viz-other:#C4C9D4;--viz-grid:#E4E8F0;--viz-axis:#5E6574}
:root[data-theme="dark"]{--viz-1:#3987e5;--viz-2:#d95926;--viz-3:#199e70;--viz-4:#c98500;--viz-other:#4A5160;--viz-grid:#1F2430;--viz-axis:#9AA1B0}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--viz-1:#3987e5;--viz-2:#d95926;--viz-3:#199e70;--viz-4:#c98500;--viz-other:#4A5160;--viz-grid:#1F2430;--viz-axis:#9AA1B0}}
.viz svg{display:block;width:100%;height:auto;overflow:visible}
.viz text{font-family:inherit;font-variant-numeric:tabular-nums}
.viz .ax{fill:var(--viz-axis);font-size:11px}
.viz .g{stroke:var(--viz-grid);stroke-width:1}
.viz .hit .hitbox,.hour-bars .bg{fill:transparent}
.viz .hit line{stroke:var(--line-2);stroke-width:1;opacity:0}
.viz .hit circle{fill:var(--blue);stroke:var(--surface);stroke-width:2;opacity:0}
.viz .hit:hover line,.viz .hit:hover circle{opacity:1}
.viz-tip{position:fixed;z-index:60;pointer-events:none;max-width:260px;padding:6px 10px;border-radius:8px;background:var(--text);color:var(--surface);font-size:12.5px;font-weight:500;line-height:1.35;font-variant-numeric:tabular-nums;box-shadow:0 4px 16px rgba(10,11,15,.18)}
.viz-tip[hidden]{display:none}
.seg.v1{stroke:var(--viz-1);fill:var(--viz-1)}.seg.v2{stroke:var(--viz-2);fill:var(--viz-2)}.seg.v3{stroke:var(--viz-3);fill:var(--viz-3)}.seg.v4{stroke:var(--viz-4);fill:var(--viz-4)}.seg.vo{stroke:var(--viz-other);fill:var(--viz-other)}
.sw{display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0}
.sw.v1{background:var(--viz-1)}.sw.v2{background:var(--viz-2)}.sw.v3{background:var(--viz-3)}.sw.v4{background:var(--viz-4)}.sw.vo{background:var(--viz-other)}
/* calls page share bar */
.calls-outcomes{margin:0 0 12px}.calls-outcomes .share{width:100%;height:10px;border-radius:5px;overflow:hidden}
.share-legend{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--fog)}
.share-legend li{display:flex;align-items:center;gap:6px}.share-legend b{color:var(--text);font-variant-numeric:tabular-nums}
.week-bars .b-calls[data-tip]:hover{fill:color-mix(in srgb,var(--blue) 40%,var(--surface))}

/* hero: the sparkline sits under the numbers, never over them */
html body.in-workspace .card.hero .sp{position:static;width:100%;height:40px;margin-top:10px}
/* phones: caller names
   keep their width (X11) — the status tag and time move under the name, the summary column hides. */
@media (max-width:600px){
 html body.in-workspace .row-main,html body.in-workspace .who-list .row-main,html body.in-workspace .needs-list .row-main{grid-template-columns:minmax(0,1fr)}
 html body.in-workspace .who-list .row{grid-template-columns:none}
 html body.in-workspace .who-list .summary-col{display:none}
 html body.in-workspace .row .side-info{grid-column:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px;text-align:left;justify-items:start}
 html body.in-workspace .row-text strong{white-space:normal}
}

/* ---- connect-guide:start ---- "Connect my phone" (#connect; drawn by ConnectGuide in panel.js). Brand v4.1: Evo blue,
   Geist, 4/8/12/16/24/32 spacing, 12–20px radii. Copied into the standalone preview by tools/build-forwarding-guide.mjs. */
.cg{display:grid;gap:24px;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.cg h3,.cg h4,.cg p{margin:0}
.cg .eyebrow{margin:0 0 4px}
.cg-intro h3{font-size:22px;line-height:28px;letter-spacing:-.02em;margin:0 0 8px}
.cg-intro>p{font-size:15px;line-height:22px;color:var(--fog);max-width:64ch}
.cg-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-top:16px;padding:16px;border-radius:16px;background:var(--mist)}
.cg-number span{font-size:13px;line-height:20px;color:var(--fog)}
.cg-number b{font:600 24px/32px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--blue-deep);letter-spacing:.01em}
.cg-what{margin-top:8px}
.cg-what summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;color:var(--blue);font-size:14px;font-weight:500}
.cg-what p{font-size:14px;line-height:22px;color:var(--fog);max-width:64ch}
.cg-q{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start}
.cg-qn{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--text);color:var(--surface);font-weight:600;font-size:14px}
html body .cg .cg-ql{display:block;padding:0;margin:4px 0;font-size:16px;line-height:24px;font-weight:600;letter-spacing:-.01em}
.cg .cg-qh{font-size:14px;line-height:20px;color:var(--dim);margin:0 0 12px}
.cg fieldset{border:0;margin:0;padding:0;min-width:0}
html body .cg select{display:block;width:100%;max-width:560px;min-height:48px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);padding:10px 12px;font-size:16px}
.cg-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .cg label.cg-mode{position:relative;display:block;margin:0;padding:12px 16px 12px 44px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font-weight:400}
html body .cg .cg-mode input{position:absolute;left:16px;top:15px;display:block;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--blue)}
.cg-mode b{display:block;font-size:15px;line-height:22px;font-weight:600}
.cg-mode span{display:block;margin-top:2px;font-size:13px;line-height:18px;color:var(--dim)}
.cg-mode:has(input:checked){border-color:var(--blue);background:var(--mist)}
.cg-result{display:grid;gap:16px;margin-top:8px}
.cg-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;counter-reset:cg}
.cg-step{counter-increment:cg;display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:16px 24px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.cg-step.cg-wide{grid-template-columns:minmax(0,1fr) 264px}
.cg-step:not(:has(.cg-pic)){grid-template-columns:1fr}
.cg-step-body{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start}
.cg-step-body::before{content:counter(cg);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;font-weight:600;font-size:14px}
.cg-test .cg-step-body::before{content:'✓';background:var(--ok,#1B7F3B)}
.cg-step h4{margin:4px 0 8px;font-size:16px;line-height:24px;font-weight:600;letter-spacing:-.01em}
.cg-covers{display:inline-block;padding:0 8px;border-radius:999px;background:var(--mist);color:var(--blue);font-size:13px;line-height:22px;font-weight:500;vertical-align:1px}
.cg-step p,.cg-box p,.cg-note p{font-size:15px;line-height:22px;color:var(--fog);margin:0 0 8px}
.cg-step p:last-child,.cg-box p:last-child,.cg-note p:last-child{margin-bottom:0}
.cg .cg-small{font-size:13px;line-height:20px;color:var(--dim)}
.cg-sep{padding:0 4px;color:var(--dim)}
.cg-code{display:inline-flex;flex-wrap:wrap;gap:0 6px;margin:0 0 8px;padding:8px 12px;border-radius:10px;background:var(--mist);color:var(--blue-deep);font:600 22px/30px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em;overflow-wrap:anywhere}
.cg-code.cg-code-sm{margin:0 2px;padding:0 8px;font-size:15px;line-height:24px;vertical-align:1px}
.cg-pic{justify-self:center;width:100%;max-width:168px}
.cg-wide .cg-pic{max-width:264px}
.cg-svg{display:block;width:100%;height:auto}
.cg-svg text{font-family:var(--font,"Geist",system-ui,sans-serif)}
.cg-svg .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.cg-svg .strong{font-weight:600}
.cg-svg .b{fill:var(--surface);stroke:var(--line-2);stroke-width:1.5}
.cg-svg .s2{fill:var(--surface-2)}
.cg-svg .ln{fill:var(--line-2)}
.cg-svg .mi{fill:var(--mist)}
.cg-svg .bl{fill:var(--blue)}
.cg-svg .wh{fill:#fff}
.cg-svg .tx{fill:var(--text)}
.cg-svg .dm{fill:var(--dim)}
.cg-svg .tb{fill:var(--blue)}
.cg-svg .k{fill:var(--surface);stroke:var(--line)}
.cg-svg .kon{fill:var(--mist);stroke:var(--blue);stroke-width:1.5}
.cg-svg .field{fill:var(--surface);stroke:var(--line-2)}
.cg-svg .tap{fill:var(--blue);opacity:.16}
.cg-svg .okf{fill:var(--ok,#1B7F3B)}
.cg-svg .okring{fill:none;stroke:var(--ok,#1B7F3B);stroke-width:2;opacity:.3}
.cg-svg .cursor{fill:var(--text);stroke:var(--surface);stroke-width:1.2}
.cg-svg .dmf{fill:var(--dim)}
.cg-svg :is(.wh-st,.tx-st,.bl-st,.dm-st){fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cg-svg .wh-st{stroke:#fff}.cg-svg .tx-st{stroke:var(--text)}.cg-svg .bl-st{stroke:var(--blue)}.cg-svg .dm-st{stroke:var(--dim)}
.cg-alt{border:1px dashed var(--line-2);border-radius:16px;padding:0 16px}
.cg-alt summary{display:flex;align-items:center;min-height:48px;cursor:pointer;color:var(--blue);font-size:15px;font-weight:500}
.cg-alt[open]{padding-bottom:16px}
.cg-alt-steps{counter-reset:none}.cg-alt-steps .cg-step-body{grid-template-columns:1fr}.cg-alt-steps .cg-step-body::before{display:none}
.cg-boxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cg-box{padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}
.cg-box h4,.cg-good h4{margin:0 0 8px;font-size:15px;line-height:22px;font-weight:600}
.cg-note{padding:16px;border-radius:16px;background:var(--mist);border-left:4px solid var(--blue)}
.cg-good ul{margin:0;padding-left:20px;display:grid;gap:4px;font-size:14px;line-height:22px;color:var(--fog)}
.cg-empty{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;padding:16px;border:1px dashed var(--line-2);border-radius:16px;color:var(--dim);font-size:15px}
.cg a{color:var(--blue);text-underline-offset:4px}
@media (max-width:760px){
 .cg-modes,.cg-boxes{grid-template-columns:1fr}
 .cg-step,.cg-step.cg-wide{grid-template-columns:1fr}
 .cg-pic{max-width:200px}.cg-wide .cg-pic{max-width:320px}
 .cg-q{grid-template-columns:1fr;gap:8px}
 .cg-code{font-size:19px;line-height:26px}
}
/* ---- connect-guide:end ---- */
/* ---- Emails page (#notifications, THI-95, 26 Nov 2026): plain cards like "This week", one row per optional email ---- */
html body.in-workspace #view-notifications .card{background:var(--surface);border:1px solid var(--line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:16px;padding:20px 24px;margin-top:16px}
#view-notifications .notify-intro{margin:4px 0 0;color:var(--dim)}
.notify-list{display:grid;margin-top:8px}
.notify-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:start;padding:16px 0;border-top:1px solid var(--line)}
.notify-row:first-child{border-top:0}
.notify-copy{display:grid;gap:4px;min-width:0}.notify-copy b{font-size:15px;line-height:22px;font-weight:600;color:var(--text)}.notify-copy .muted{color:var(--dim);line-height:20px}
.notify-fields{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end}
.notify-field{display:grid;gap:4px;font-size:13px;line-height:20px;color:var(--dim)}
.notify-field select{min-width:200px}.notify-to{flex:1 1 280px;max-width:420px}
#notify-form label{margin:0;font-weight:400}
.notify-field input,.notify-field select{box-sizing:border-box;height:44px;min-height:44px;padding:0 12px;border-radius:8px;background:var(--surface);color:var(--text);border:1px solid var(--line-2);font-size:15px}
.notify-field input[aria-invalid="true"]{border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset}
.notify-row.off .notify-fields{opacity:.55}
.notify-error{flex-basis:100%;margin:0;font-size:13px;line-height:20px;color:var(--red)}
.switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;min-height:40px;font-size:13px;color:var(--dim);user-select:none}
.switch input{position:absolute;opacity:0;width:44px;height:24px;margin:0;cursor:pointer}
.switch-track{position:relative;flex:none;width:44px;height:24px;border-radius:999px;background:var(--line-2);transition:background-color 150ms ease}
.switch-track::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(10,11,15,.2);transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.switch input:checked+.switch-track{background:var(--blue)}.switch input:checked+.switch-track::after{transform:translateX(20px)}
.switch input:focus-visible+.switch-track{outline:2px solid var(--blue);outline-offset:2px}
.switch-text{min-width:24px}
.notify-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}
.notify-actions .hint{margin:0}
.notify-always{list-style:none;margin:12px 0 0;padding:0;display:grid}
.notify-always li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:15px;color:var(--text)}
.notify-always li:first-child{border-top:0}.notify-check{color:var(--ok);font-weight:600}
@media (max-width:640px){html body.in-workspace #view-notifications .card{padding:16px}.notify-row{gap:12px}.notify-field,.notify-field select,.notify-to{min-width:0;max-width:none;flex:1 1 100%}.notify-actions .button{width:100%}.switch{min-height:44px}}
@media (prefers-reduced-motion:reduce){.switch-track,.switch-track::after{transition:none}}
/* ---- Emails page:end ---- */

/* 26 Nov 2026 client walk-through: the Receptionist page stacks (intro, tools, setup) instead of three squeezed
   columns; the confirm checkbox is a normal checkbox next to its sentence; setup fields in two columns on wide screens. */
html body.in-workspace #settings.settings-compact { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
#settings .customer-settings-tools { display:grid; gap:16px; justify-items:start; min-width:0; }
#settings .customer-settings-tools > :not(.button) { width:100%; }
#onboarding-case { min-width:0; border-top:1px solid var(--line, #E3E6ED); padding-top:24px; }
@media (min-width: 900px) { #onboarding-case .onboarding-fields { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
#settings form label.confirm-check { display:flex; align-items:flex-start; gap:10px; margin:8px 0 0; font-weight:400; }
#settings form label.confirm-check input[type=checkbox] { width:18px; height:18px; min-height:0; margin:2px 0 0; padding:0; flex:none; accent-color:var(--blue, #0047FF); }
/* One primary button per screen (brand book v4.1 §12): while the setup form is open, Confirm is the primary action. */
#settings:has(#onboarding-profile-form) #customize { background:#fff; color:var(--blue, #0047FF); border:1px solid #CDD2DC; }

/* Brand v4.1 weights (26 Nov 2026): bold text is 600, never the browser default 700. */
b, strong, th, h1, h2, h3, h4 { font-weight: 600; }

.notify-always-tag { align-self: center; }

/* Bug hunt 26 Nov 2026: dark mode kept the light-mode muted, ink and blue-tint colours, so some text was unreadable
   (e.g. "Now: Keep answering", billing text, today's hours row). Readable values in dark mode. */
@media (prefers-color-scheme:dark){:root:not([data-theme]){--muted:#A3AAB8;--ink:#F4F6FA;--ink-2:#C9CED8;--blue-tint:#12224A;--blue-ink:#9DB8FF}}
:root[data-theme="dark"]{--muted:#A3AAB8;--ink:#F4F6FA;--ink-2:#C9CED8;--blue-tint:#12224A;--blue-ink:#9DB8FF}
/* The shared product-screen sheet sets these on body[data-product-screen]; override there too (higher specificity). */
@media (prefers-color-scheme:dark){html:not([data-theme]) body[data-product-screen]{--muted:#A3AAB8;--ink:#F4F6FA;--ink-2:#C9CED8;--blue-tint:#12224A;--blue-ink:#9DB8FF}}
html[data-theme="dark"] body[data-product-screen]{--muted:#A3AAB8;--ink:#F4F6FA;--ink-2:#C9CED8;--blue-tint:#12224A;--blue-ink:#9DB8FF}
@media (prefers-color-scheme:dark){html:not([data-theme]) .notify-check{color:#3DD598}}
html[data-theme="dark"] .notify-check{color:#3DD598}

/* ---- Setup screen (Niko, 30 Nov 2026): Home until the receptionist is live. Four steps, each done / current / next;
   "Book your setup meeting" with a day and time picker; "One thing before your meeting" holds the forwarding guide.
   Brand v4.1: Evo blue for the current step and the one primary button, Geist, weights up to 600, 4/8/12/16/24/32
   spacing, 12-20 px radii, 44 px targets; one column on phones (375 px, no sideways scroll). ---- */
.setup-screen{display:grid;gap:16px;min-width:0}
.setup-screen[hidden],#home-dashboard[hidden]{display:none}
html body.in-workspace #workspace .ss-head h2{margin:0 0 4px;font-size:24px;line-height:32px;letter-spacing:-.02em}
.ss-head .eyebrow{margin:0 0 4px}
.ss-head>p.muted{margin:0;font-size:15px;line-height:22px;max-width:64ch}
.ss-callout{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 16px;border-radius:12px;background:var(--mist);color:var(--text)}
.ss-callout[hidden]{display:none}
.ss-callout p{margin:0;font-size:14px;line-height:20px}
.ss-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;min-width:0}
html body.in-workspace .view .card.ss-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:16px;align-items:start;min-width:0}
html body.in-workspace .view .card.ss-step.is-current{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset,var(--shadow-v6)}
.ss-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--grey-bg);color:var(--dim);font-size:14px;font-weight:600}
.is-current .ss-mark{background:var(--blue);color:#fff}
.is-done .ss-mark{background:var(--ok,#1B7F3B);color:#fff}
.ss-body{min-width:0}
.ss-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:32px}
html body.in-workspace .ss-top h3{margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-.01em}
.ss-state{display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:var(--grey-bg);color:var(--dim);font-size:13px;line-height:24px;font-weight:500}
.is-current .ss-state{background:var(--mist);color:var(--blue)}
.is-done .ss-state{background:#EAF6EF;color:var(--ok,#1B7F3B)}
:root[data-theme="dark"] .is-done .ss-state{background:#0F2A1C;color:#3DD598}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .is-done .ss-state{background:#0F2A1C;color:#3DD598}}
.ss-by{font-size:13px;line-height:20px;color:var(--dim)}
.is-next .ss-top h3{color:var(--fog)}
.ss-text{margin:8px 0 0;font-size:15px;line-height:22px;color:var(--fog);max-width:64ch}
.ss-small{margin:8px 0 0;font-size:13px;line-height:20px;color:var(--dim)}
.ss-label{margin:16px 0 8px;font-size:13px;line-height:20px;font-weight:600;color:var(--text)}
.ss-note{margin:12px 0 0;padding:12px 16px;border-radius:12px;background:#FFF5E5;color:#8A4B08;font-size:14px;line-height:20px}
.ss-cover{margin:16px 0;padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}
.ss-cover .ss-label{margin:0 0 8px}
.ss-cover ul{margin:0;padding-left:20px;display:grid;gap:4px;font-size:15px;line-height:22px;color:var(--text)}
.ss-step .button{margin-top:4px}
.ss-picker{margin-top:8px;min-width:0}
.ss-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin-top:12px}
.ss-day,.ss-time{display:grid;place-items:center;min-height:44px;padding:6px 8px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;line-height:20px;cursor:pointer}
.ss-day{min-height:56px;gap:0}
.ss-day span{font-size:12px;line-height:16px;color:var(--dim)}
.ss-day b{font-size:14px;line-height:20px;font-weight:600}
.ss-day[aria-pressed="true"],.ss-time[aria-pressed="true"]{border-color:var(--blue);background:var(--mist);color:var(--blue)}
.ss-day[aria-pressed="true"] span{color:var(--blue)}
.ss-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;font-variant-numeric:tabular-nums}
.ss-confirm{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin-top:16px;padding:16px;border-radius:16px;background:var(--mist)}
.ss-confirm p{margin:0;font-size:15px;line-height:22px;color:var(--text)}
.ss-confirm .button{margin:0}
html body.in-workspace .ss-meeting{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:12px 0 0;border-top:1px solid var(--line);max-width:640px}
.ss-meeting div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.ss-meeting dt{color:var(--dim);font-size:13px;line-height:22px}
.ss-meeting dd{margin:0;font-size:15px;line-height:22px;color:var(--text);overflow-wrap:anywhere}
.ss-guide.cg{margin-top:16px;padding-top:16px}
@media (prefers-reduced-motion:no-preference){.ss-day,.ss-time{transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease}}
@media (max-width:600px){
 html body.in-workspace .view .card.ss-step{grid-template-columns:28px minmax(0,1fr);gap:12px}
 .ss-mark{width:28px;height:28px;font-size:13px}
 html body.in-workspace #workspace .ss-head h2{font-size:22px;line-height:28px}
 .ss-confirm .button{width:100%}
 .ss-meeting div{grid-template-columns:1fr;gap:2px}
}
/* Setup meeting: guests, "Propose another time", proposals waiting for answers (Niko, 30 Nov 2026, PLAN-MEETINGS items 3–5).
   Shared by the setup screen and the Calendar detail. */
.mt{display:grid;gap:12px;margin-top:16px;max-width:640px;min-width:0}
.mt .ss-label{margin:0 0 4px}
.mt .ss-small{margin:0}
.mt .ss-note{margin:0}
.mt-guests{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--line)}
.mt-guests li{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:22px;color:var(--text);overflow-wrap:anywhere}
.mt-guests b{font-weight:600}
.mt-guests span{font-size:13px;line-height:20px;color:var(--dim)}
/* Crucial / Optional people (Niko, 30 Nov 2026; must_agree true / false). */
.mt-tag{font-style:normal;font-size:12px;line-height:18px;font-weight:600;padding:0 8px;border-radius:999px;background:var(--line);color:var(--dim)}
.mt-tag.is-agree{background:#E8EEFF;color:#0036C4}
.mt-agree{border:1px solid var(--line-2);border-radius:12px;margin:0;padding:8px 12px 10px;display:grid;gap:8px;min-width:0}
.mt-agree legend{padding:0 4px;font-size:13px;line-height:20px;font-weight:600;color:var(--dim)}
.mt-agree label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start;font-size:15px;line-height:22px;color:var(--text);cursor:pointer}
html body .mt-agree input{width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0}
.mt-agree b{font-weight:600}
.mt-agree small{display:block;font-size:13px;line-height:20px;color:var(--dim)}
.mt-agree small.mt-default{display:inline}
.mt-change{display:grid;gap:8px;padding:16px;border-radius:16px;background:var(--mist);border:1px solid color-mix(in srgb,var(--blue) 25%,transparent)}
.mt-change p{margin:0}
.mt-change-head{font-size:15px;line-height:22px;color:var(--text)}
.mt-old{color:var(--dim);text-decoration:line-through}
.mt-change.is-off{background:var(--surface-2);border-color:var(--line)}
.mt-change.is-off p{font-size:15px;line-height:22px;color:var(--text)}
.mt-resp{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mt-resp li{display:inline-flex;align-items:center;gap:8px;padding:2px 4px 2px 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:14px;line-height:24px;color:var(--text)}
.mt-state{padding:0 8px;border-radius:999px;font-size:12px;line-height:20px;font-weight:600;background:var(--grey-bg);color:var(--dim)}
.mt-state.is-accepted{background:#EAF6EF;color:var(--ok,#1B7F3B)}
.mt-state.is-declined{background:var(--red-bg);color:var(--red)}
:root[data-theme="dark"] .mt-state.is-accepted{background:#0F2A1C;color:#3DD598}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .mt-state.is-accepted{background:#0F2A1C;color:#3DD598}}
.mt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body .mt-actions .button{margin:0;min-height:44px}
.mt-form{display:grid;gap:8px;padding:16px;border-radius:16px;border:1px solid var(--line-2);background:var(--surface);min-width:0}
.mt-form .ss-picker{margin-top:0}
.mt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-fields label{display:grid;gap:4px;font-size:13px;line-height:20px;color:var(--dim);min-width:0}
html body .mt-fields input{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:0 12px;border-radius:8px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font:inherit;font-size:15px}
.cal-dialog .mt{margin:0 0 16px}
@media (max-width:600px){
 .mt-fields{grid-template-columns:1fr}
 html body .mt-actions .button{flex:1 1 auto}
}
/* ---- Setup screen:end ---- */
/* ---- Calendar page and Team (#calendar, Niko 30 Nov 2026, H4): plain cards like the Emails page ---- */
html body.in-workspace #view-calendar .card{background:var(--surface);border:1px solid var(--line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:16px;padding:20px 24px;margin-top:16px;min-width:0}
html body.in-workspace #view-calendar h3,.team-pane h3{margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-.01em;color:var(--text)}
#view-calendar .card>.muted.small,.team-pane>.muted.small{margin:4px 0 0;color:var(--dim);line-height:20px}
.cal-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.cal-nav{display:flex;gap:8px}
.cal-nav .button{min-width:44px;min-height:44px;justify-content:center}
.cal-source{margin:8px 0 0}
.cal-empty{margin-top:16px;padding:16px;border-radius:12px;background:var(--mist);color:var(--text);font-size:15px;line-height:22px}
.cal-empty p{margin:0}.cal-empty p+p{margin-top:4px}
/* Grid (Niko 30 Nov 2026, calendar like Google Calendar; v6 look: white/blue/black, frosted cards). */
html body.in-workspace #view-calendar .card.cal-main{background:var(--glass);border:1px solid var(--glass-line);box-shadow:var(--shadow-v6);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4);border-radius:22px}
.cal-head{justify-content:flex-start}
.cal-head h3{flex:1 1 auto;min-width:0}
.cal-modes{display:inline-flex;padding:4px;gap:2px;border-radius:14px;background:var(--grey-bg)}
.cal-modes button{min-height:36px;min-width:64px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--fog);font-size:14px;font-weight:500}
.cal-modes button[aria-pressed="true"]{background:var(--surface);color:var(--text);box-shadow:var(--shadow-v6)}
.cal-actions{display:flex;gap:8px;flex-wrap:wrap}
.cal-actions .button,.cal-nav .button{min-height:44px;padding:8px 16px;font-size:14px}
.cal-workers{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cal-workers:empty{display:none}
.cal-wchip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px 0 10px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font-size:13px;font-weight:500}
.cal-wchip i{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--wc)}
.cal-wchip[aria-pressed="false"]{color:var(--dim);background:transparent;border-style:dashed}
.cal-wchip[aria-pressed="false"] i{background:transparent;box-shadow:inset 0 0 0 2px var(--wc)}
.cal-grid-wrap{margin-top:12px;overflow-x:auto;overscroll-behavior-x:contain;min-width:0;border-top:1px solid var(--line)}
.cal-grid-wrap>.muted{padding:16px 0}
.kg{display:grid;position:relative;min-width:0}
.kg-corner{border-bottom:1px solid var(--line)}
.kg-head{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;padding:8px 4px 10px;border-bottom:1px solid var(--line);font-size:13px;line-height:16px;color:var(--fog);min-width:0;text-align:center}
.kg-head b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:19px;font-weight:600;color:var(--text);letter-spacing:-.02em}
.kg-head.is-today span{color:var(--blue);font-weight:600}
.kg-head.is-today b{background:var(--blue);color:#fff}
.kg-wname{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kg-wname .avatar{flex:none;width:24px;height:24px;border-radius:50%;font-size:10px;background:color-mix(in srgb,var(--wc) 14%,transparent);color:var(--wc)}
.kg-hr.kg-allday-label{font-size:11px;color:var(--dim);text-align:right;padding:6px 8px 6px 0;border-bottom:1px solid var(--line)}
.kg-allday{display:grid;gap:2px;padding:4px 2px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.kg-chip{display:block;width:100%;text-align:left;border:0;border-radius:6px;padding:2px 6px;font-size:12px;line-height:18px;background:color-mix(in srgb,var(--wc) 12%,var(--surface));color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kg-hours{position:relative}
.kg-hours span{position:absolute;right:8px;transform:translateY(-8px);font-size:11px;line-height:16px;color:var(--dim);white-space:nowrap;font-variant-numeric:tabular-nums}
.kg-col{position:relative;border-left:1px solid var(--line);background-image:linear-gradient(var(--line) 1px,transparent 1px);background-size:100% var(--hour,48px);cursor:cell;touch-action:pan-x pan-y;min-width:0}
.kg-col.is-today{background-color:color-mix(in srgb,var(--blue) 3%,transparent)}
.kg-ev{position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:0;overflow:hidden;padding:4px 6px 4px 8px;border:0;border-left:3px solid var(--wc);border-radius:8px;background:color-mix(in srgb,var(--wc) 12%,var(--surface));color:var(--text);text-align:left;font-size:12px;line-height:16px;cursor:pointer;z-index:1;transition:box-shadow .2s,transform .2s}
.kg-ev>*{flex:none}
.kg-ev:hover,.kg-ev:focus-visible{box-shadow:var(--shadow-v6);z-index:3}
.kg-ev b{font-size:12.5px;line-height:16px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kg-ev .kg-time,.kg-ev .kg-who{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fog)}
.kg-ev .kg-time{font-variant-numeric:tabular-nums}
.kg-ev.is-short{flex-direction:row;gap:6px;align-items:center;padding-top:1px;padding-bottom:1px}
.kg-tag{margin-top:2px;padding:0 6px;border-radius:999px;font-size:10.5px;line-height:16px;font-weight:600;background:var(--surface);color:var(--dim)}
.kg-ev.is-short .kg-tag{margin-top:0}
.kg-ev.is-blocked{background:repeating-linear-gradient(135deg,var(--grey-bg) 0 6px,color-mix(in srgb,var(--grey-bg) 55%,var(--surface)) 6px 12px);border-left-color:var(--line-2);color:var(--fog)}
.kg-ev.is-blocked b{color:var(--fog)}
.kg-ev.is-google{background:var(--surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--wc) 35%,var(--line));border-left-style:dashed}
.kg-ev.is-google .kg-tag{color:var(--blue);background:var(--mist)}
.kg-ev.is-meeting{--wc:#0B8F62}
.kg-ev.is-cancelled{opacity:.55}.kg-ev.is-cancelled b{text-decoration:line-through}
.kg-now{position:absolute;left:0;right:0;height:2px;background:var(--red);z-index:4;pointer-events:none}
.kg-now::before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--red)}
.kg-ghost{position:absolute;left:2px;right:2px;border-radius:8px;background:color-mix(in srgb,var(--blue) 16%,transparent);border:1px dashed var(--blue);z-index:5;pointer-events:none}
.cal-grid-wrap>.cal-none{margin:12px 0 0;font-size:14px;line-height:20px;color:var(--dim)}
.cm-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}
.cm-head span{padding:8px 6px;font-size:12px;color:var(--dim);text-align:center}
.cm-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.cm-day{display:flex;flex-direction:column;gap:2px;min-height:104px;padding:4px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.cm-day:nth-child(7n){border-right:0}
.cm-day.is-other{background:color-mix(in srgb,var(--grey-bg) 45%,transparent)}
.cm-day.is-other .cm-date{color:var(--dim)}
.cm-date{align-self:center;width:28px;height:28px;border:0;border-radius:50%;background:none;font-size:13px;font-weight:600;color:var(--text);cursor:pointer}
.cm-day.is-today .cm-date{background:var(--blue);color:#fff}
.cm-ev{display:flex;align-items:center;gap:4px;width:100%;border:0;border-radius:6px;padding:1px 4px;background:none;font-size:12px;line-height:18px;color:var(--text);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;min-width:0}
.cm-ev:hover{background:var(--grey-bg)}
.cm-ev i{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--wc)}
.cm-ev.is-blocked i{background:var(--line-2)}
.cm-ev span{color:var(--dim);font-variant-numeric:tabular-nums}
.cm-more{align-self:flex-start;border:0;background:none;padding:0 4px;font-size:12px;color:var(--blue);cursor:pointer}
dialog.cal-dialog{max-width:560px}
.cal-dlg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-left:12px;border-left:4px solid var(--wc,var(--blue))}
.cal-dlg-head h2{font-size:24px;margin-top:2px}
.cal-dlg-head .eyebrow{margin:0}
html body .cal-dialog dl.cal-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:16px 0;border-top:1px solid var(--line)}
.cal-dialog .cal-facts>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.cal-facts dt{color:var(--dim);font-size:13px;line-height:22px}
.cal-facts dd{margin:0;font-size:15px;line-height:22px;overflow-wrap:anywhere}
.cal-facts dd a{color:var(--blue)}
.cal-money{font-weight:600;font-variant-numeric:tabular-nums}
.cal-est{display:inline-block;white-space:nowrap;margin-left:8px;padding:0 8px;border-radius:999px;background:var(--mist);color:var(--blue);font-size:12px;line-height:20px;font-weight:600}
.cal-dlg-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cal-dlg-actions .button{min-height:44px}
.bk-form{display:grid;gap:16px;margin-top:16px}
.bk-when{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:12px}
.bk-form select{box-sizing:border-box;width:100%;height:44px;padding:0 12px;border-radius:8px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font-size:15px}
.bk-details{padding:16px;border:1px solid var(--line-2);border-radius:12px}
html body.in-workspace dialog.cal-dialog{color-scheme:inherit;background:var(--surface);color:var(--text);border-color:var(--line)}
.cal-dialog .cal-chip{background:color-mix(in srgb,var(--wc,var(--blue)) 12%,var(--surface));color:var(--wc,var(--blue))}
.cal-conn{display:grid;gap:12px;margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.cal-conn h3{margin:0;font-size:16px;line-height:22px}
.cal-conn>div:first-child p{margin-top:2px}
.cal-conn-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.cal-conn-on{font-size:14px;color:var(--text);font-weight:500}
.cal-conn-list{list-style:none;margin:0;padding:0;display:grid}
.cal-conn-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px 0;border-top:1px solid var(--line)}
.g-mark{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#fff;color:#0047FF;font-weight:700;font-size:12px}
.cal-connect-pane{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:8px;justify-items:start}
.cal-connect-pane h3{margin:0}
.cal-time{font-size:13px;line-height:20px;color:var(--dim);font-variant-numeric:tabular-nums}
.cal-chip{display:inline-flex;white-space:nowrap;max-width:100%;align-items:center;gap:6px;padding:2px 10px 2px 2px;border-radius:999px;background:var(--mist);color:var(--blue);font-size:13px;line-height:20px;font-weight:500}
.cal-chip .avatar{width:20px;height:20px;border-radius:50%;font-size:10px}
.cal-chip.is-none{padding:2px 10px;background:var(--grey-bg);color:var(--dim)}
.cal-calls{list-style:none;margin:12px 0 0;padding:0;display:grid}
.cal-calls li{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:4px 16px;align-items:center;padding:10px 0;border-top:1px solid var(--line);font-size:14px;line-height:20px;color:var(--fog)}
.cal-calls li b{color:var(--text)}
.team-pane{padding:16px 0 8px}
.team-editor{margin-top:12px;min-width:0}
.team-rows{list-style:none;margin:0 0 12px;padding:0;display:grid}
.team-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px 16px;align-items:center;padding:12px 0;border-top:1px solid var(--line);min-width:0}
.team-row:first-child{border-top:0}
.team-row.is-editing{grid-template-columns:minmax(0,1fr)}
.team-row.is-off .avatar{background:var(--grey-bg);color:var(--dim)}
.team-copy{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0}
.team-copy b{font-size:15px;line-height:22px;font-weight:600;color:var(--text)}
.team-meta{flex-basis:100%;font-size:14px;line-height:20px;color:var(--dim)}
.team-phone{font-size:14px;line-height:20px}
.team-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.team-confirm{font-size:14px;color:var(--text)}
.button.danger{border-color:var(--red,#B3261E);color:var(--red,#B3261E)}
.team-empty{margin:0 0 12px;font-size:15px;line-height:22px;color:var(--fog)}
.team-form{display:grid;gap:16px;margin:0 0 12px;padding:16px;border:1px solid var(--line-2);border-radius:12px;min-width:0}
.team-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.team-field{display:grid;gap:4px;font-size:13px;line-height:20px;color:var(--dim);margin:0;font-weight:400;min-width:0}
.team-field input,.team-hours input{box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:0 12px;border-radius:8px;background:var(--surface);color:var(--text);border:1px solid var(--line-2);font-size:15px}
.team-field input[aria-invalid="true"],.team-hours input[aria-invalid="true"]{border-color:var(--red,#B3261E);box-shadow:0 0 0 1px var(--red,#B3261E) inset}
.team-group{display:grid;gap:6px;min-width:0}
.team-label{font-size:13px;line-height:20px;color:var(--dim)}
.team-checks{display:flex;flex-wrap:wrap;gap:8px}
.team-checks label,.team-active{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line-2);border-radius:8px;font-size:14px;color:var(--text);margin:0;font-weight:400;cursor:pointer}
.team-checks input,.team-active input{width:18px;height:18px;margin:0;accent-color:var(--blue)}
.team-active{justify-self:start}
.team-hours{display:flex;align-items:center;gap:8px;max-width:340px}
.team-hours span{font-size:14px;color:var(--dim)}
.team-help{margin:0;font-size:13px;line-height:20px;color:var(--dim)}
/* Team list: each worker's calendar (connect link by email, 30 Nov 2026) */
.team-cal{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:6px;min-width:0}
.team-cal-state{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:20px;color:var(--dim);overflow-wrap:anywhere;min-width:0}
.team-cal-state i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.team-cal.is-connected .team-cal-state{color:var(--text)}.team-cal.is-connected .team-cal-state i{background:var(--ok,#1B7F3B)}
.team-cal.is-link_sent .team-cal-state i{background:var(--blue)}
.team-cal.is-needs_reconnect .team-cal-state{color:var(--red,#B3261E)}.team-cal.is-needs_reconnect .team-cal-state i{background:var(--red,#B3261E)}
.team-cal-actions{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.team-cal-actions .team-help{flex-basis:auto}
.team-error{margin:0;font-size:13px;line-height:20px;color:var(--red,#B3261E)}
.team-form-actions{display:flex;flex-wrap:wrap;gap:8px}
.team-status{margin:8px 0 0;font-size:13px;line-height:20px;color:var(--dim)}
.team-status:empty{display:none}
@media (max-width:640px){
 html body.in-workspace #view-calendar .card{padding:16px}
 .cal-head h3{flex-basis:100%;order:-1;font-size:17px}
 .cal-nav,.cal-modes{flex:1 1 auto}
 .cal-modes button{flex:1;min-width:0}
 .cal-actions{flex:1 1 100%}
 .cal-actions .button{flex:1}
 .cm-day{min-height:72px;padding:2px}
 .cm-ev{font-size:0;padding:2px;justify-content:center}.cm-ev i{width:7px;height:7px}
 .cm-ev span{display:none}
 .cal-dialog .cal-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}
 .bk-when{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .bk-when label:first-child{grid-column:1/-1}
 .cal-calls li{grid-template-columns:minmax(0,1fr)}
 .team-row{grid-template-columns:44px minmax(0,1fr)}
 .team-actions{grid-column:1/-1}
 .team-fields{grid-template-columns:minmax(0,1fr)}
 .team-checks label{flex:1 1 calc(33% - 8px);justify-content:flex-start}
 .team-days label{flex:1 1 calc(25% - 8px)}
 .team-form-actions .button{flex:1}
}
/* ---- Calendar page:end ---- */
/* H4: six menu items on a phone (Calendar added): each item shares the bar; long labels wrap to two short lines. */
@media (max-width:480px){
 html body.in-workspace .side #account-nav .nav-item,html body.in-workspace .side #account-nav a[aria-current="page"]{flex:1 1 0;min-width:0;padding:6px 1px;white-space:normal}
 html body.in-workspace .side .nav-item span{font-size:11px;line-height:13px;text-align:center;overflow-wrap:anywhere}
}
.cal-calls li.muted{display:block}
/* His own meetings (30 Nov 2026): New meeting form, people with Crucial / Optional tags, free times, detail forms. */
.kg-ev.is-cmeet{background:color-mix(in srgb,var(--wc) 14%,var(--surface))}
.om-form{display:grid;gap:16px;margin-top:16px}
.om-when{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px 16px}
.om-form select,.om-sub select,.om-list select{box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:0 12px;border-radius:8px;background:var(--surface);color:var(--text);border:1px solid var(--line-2);font-size:15px}
.om-people{margin:0;padding:0;border:0;min-width:0;display:grid;gap:8px}
.om-people legend{padding:0;margin:0 0 8px;font-size:13px;line-height:20px;color:var(--dim)}
.om-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.om-person{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:8px;min-height:44px;padding:4px 4px 4px 12px;border:1px solid var(--line-2);border-radius:8px}
.om-person.is-on{border-color:color-mix(in srgb,#1E3A8A 45%,var(--line-2));background:color-mix(in srgb,#1E3A8A 5%,var(--surface))}
.om-person:has(.text-button){grid-template-columns:minmax(0,1fr) 120px auto}
.om-check{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;color:var(--text);font-weight:400;cursor:pointer;min-width:0}
.om-check input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--blue)}
.om-check span,.om-guest{display:grid;min-width:0;overflow-wrap:anywhere}
.om-check small,.om-guest small{font-size:12px;line-height:18px;color:var(--dim)}
.om-check input:disabled+span{color:var(--dim)}
.om-guest-add{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px 12px;align-items:end}
.om-guest-add .button{min-height:44px}
.om-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin-top:8px;font-variant-numeric:tabular-nums}
.om-time{min-height:44px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px;cursor:pointer}
.om-time:hover{border-color:var(--blue)}
.om-time[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.om-tag{font-style:normal;font-size:12px;line-height:18px;font-weight:600;padding:0 8px;border-radius:999px;background:var(--line);color:var(--dim);white-space:nowrap}
.om-tag.is-crucial{background:#E8EEFF;color:#0036C4}
:root[data-theme="dark"] .om-tag.is-crucial{background:#12224A;color:#9DB8FF}
.om-who li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:4px 0}
.om-who .om-guest{flex:1 1 180px}
.om-state{font-size:12px;line-height:18px;color:var(--dim)}
.om-state.is-accepted{color:#0D6A45}.om-state.is-declined{color:var(--red,#B3261E)}
.om-note{margin:0 0 16px;padding:12px 16px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line)}
.om-note.is-wait{border-color:color-mix(in srgb,#1E3A8A 35%,var(--line))}
.om-note p{margin:0;font-size:14px;line-height:22px}
.om-sub{display:grid;gap:12px;margin:0 0 16px;padding:16px;border-radius:12px;border:1px solid var(--line)}
.om-sub h3{margin:0;font-size:17px}
.om-sub p{margin:0}
.om-day{max-width:240px}
.om-agree{display:grid;gap:8px}
.om-agree label{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:1px solid var(--line-2);border-radius:8px;margin:0;font-size:14px;font-weight:400;color:var(--text);cursor:pointer}
.om-agree input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--blue)}
.team-active.is-off{color:var(--dim);cursor:default}
@media (max-width:640px){
 .om-when,.om-guest-add{grid-template-columns:minmax(0,1fr)}
 .om-person,.om-person:has(.text-button){grid-template-columns:minmax(0,1fr) 112px}
 .om-person .text-button{grid-column:1/-1;justify-self:start}
}
@media (max-width:640px){.cal-actions #cal-connect{flex-basis:100%}}
