/* Staff screens beyond the shell: live reception, staff calendars, sign-in and shared components.
   Tokens live in base.css; the sidebar and top bar live in app.css and shell.js. */
body { font-family: var(--font); font-size: .9375rem; line-height: 1.6; background: var(--paper); color: var(--navy); }
a { text-decoration-thickness: 1px; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; }
h1 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.btn { border-radius: 999px; border-width: 1px; min-height: 44px; padding: 11px 20px; font-size: .875rem; font-weight: 700; line-height: 1.2; }
.btn-primary { border-color: var(--blue); }
.btn-small { min-height: 36px; padding: 8px 15px; font-size: .8125rem; }
.input, .select, .textarea, .field .input, .field .select, .field .textarea { border: 1px solid var(--control-border); border-radius: 8px; min-height: 46px; padding: 11px 13px; font-size: .875rem; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.field { gap: 8px; }
.field label, .field legend { font-size: .8125rem; font-weight: 700; }
.field small, .field .hint { font-size: .75rem; line-height: 1.6; color: var(--ink); }
.eyebrow { font: 800 .75rem/1.5 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--sand-ink); }
.pill { font-family: var(--font); padding: 3px 10px; border-width: 1px; font-size: .75rem; }
.panel, .metric, .ops-card { border: 1px solid var(--rule); border-radius: 14px; background: white; }
.panel-heading, .panel-body, .task-row { padding: 22px 24px; }
.panel-heading h2 { font-family: var(--font); font-size: .9375rem; font-weight: 800; letter-spacing: -.015em; }
.feedback, .ops-feedback, .ops-note, .boundary, .draft-notice { border-radius: 10px; }
.feedback, .ops-feedback { font-size: .875rem; }
.boundary { background: var(--sand-soft); border-left-color: var(--sand); padding: 22px 24px; font-size: .8125rem; }
.boundary strong { color: var(--navy); }
.boundary p { color: var(--sand-ink); }
.footnote { font-size: .75rem; line-height: 1.6; }
/* The workspace and operations console share the same navy navigation. */
.ops-brand { font-family: var(--font); font-size: 1.4rem; font-weight: 800; letter-spacing: -.045em; }
.auth-intro .ops-brand img { filter: brightness(0) invert(1); }
#breadcrumb { font-weight: 600; }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { font-family: var(--display); font-size: clamp(2.4rem, 3.5vw, 3.25rem); line-height: 1.05; margin: 11px 0 14px; font-weight: 500; }
.page-heading p { font-size: .875rem; max-width: 65ch; line-height: 1.75; }
.summary-grid { gap: 18px; margin-bottom: 28px; }
.metric { padding: 23px 24px; }
.metric-label { font-size: .75rem; font-weight: 600; }
.metric strong { font-family: var(--display); font-weight: 500; font-size: 2.75rem; letter-spacing: -.045em; margin: 10px 0 4px; }
.metric small { font-size: .75rem; }
.dashboard-grid, .stack { gap: 24px; }
.task-title h3 { font-size: .875rem; }
.task-icon { border-radius: 9px; background: var(--blue-tint); }
.task-summary, .panel-body > p { font-size: .8125rem; line-height: 1.75; }
.task-meta, .owner { font-size: .75rem; }
.task-footer .btn { min-height: 34px; padding: 7px 13px; font-size: .75rem; }
.empty-state { padding: 60px 24px; }
.empty-state h2 { font: 500 1.8rem/1.2 var(--display); }
.empty-state p { font-size: .875rem; line-height: 1.7; }
.message, .quick-prompts button { border-radius: 10px; }
.message { line-height: 1.75; }
.integration-card h2, .small-heading { font-family: var(--font); font-size: 1rem; font-weight: 800; }
.integration-icon { border-radius: 10px; background: var(--blue-tint); border-color: var(--blue-tint); color: var(--blue); }
/* Operations: one clear header, consistent cards, and navigation that stays usable on mobile. */
.ops-title { margin-bottom: 32px; }
.ops-title .eyebrow { margin-bottom: 12px; color: var(--sand-ink); }
.ops-title h1 { font-size: clamp(2.4rem, 3.5vw, 3.25rem); line-height: 1.08; margin-bottom: 16px; }
.ops-title > p:last-child { max-width: 72ch; font-size: .875rem; line-height: 1.75; }
.ops-grid { gap: 24px; align-items: start; }
.ops-grid + .ops-card { margin-top: 24px; }
.ops-card { padding: 28px; margin-bottom: 0; }
.ops-card h2 { font: 800 1rem/1.4 var(--font); margin-bottom: 20px; letter-spacing: -.015em; }
.ops-card p { font-size: .875rem; line-height: 1.75; }
.ops-card form { gap: 20px; }
.ops-note { font-size: .8125rem; line-height: 1.75; padding: 18px 22px; background: var(--blue-tint); }
.ops-actions { gap: 10px; }
.ops-live-log { border-radius: 10px; background: var(--paper); border-color: var(--rule); }
.ops-live-message { border-radius: 8px; font-size: .875rem; }
.ops-row { gap: 14px; }
.ops-table table { font-size: .8125rem; }
.ops-table th { color: var(--ink); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.ops-code { border-radius: 8px; font-size: .75rem; }
/* Sign in and first-run setup are part of the product, not a generic utility form. */
.auth-page { display: grid; place-items: center; padding: 44px; background: var(--navy); min-height: 100dvh; }
.auth-shell { width: min(1120px,100%); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.auth-intro { color: var(--on-navy-muted); padding: 24px 0; }
.auth-intro .ops-brand { color: white; margin-bottom: 76px; text-decoration: none; }
.auth-intro .eyebrow { color: var(--sand); margin-bottom: 24px; }
.auth-intro h2 { color: white; font-size: clamp(3rem,5vw,4.5rem); line-height: 1.03; margin-bottom: 26px; max-width: 9ch; }
.auth-intro h2 em { color: var(--sand); font-weight: 400; }
.auth-intro > p:last-child { font-size: .9375rem; line-height: 1.8; max-width: 36ch; }
.auth-card { padding: 40px; max-width: none; border-radius: 18px; border: 1px solid var(--navy-line); background: white; }
.auth-card > .eyebrow { margin-bottom: 12px; }
.auth-card h1 { font-size: 2.6rem; line-height: 1.08; margin: 0 0 16px; }
.auth-card > p { font-size: .875rem; line-height: 1.75; margin-bottom: 26px; color: var(--ink); }
.auth-card form { gap: 18px; }
.auth-card .btn-primary { width: 100%; min-height: 48px; margin-top: 6px; }
.auth-card #forgot-link { margin: 16px 0 0; }
/* Clear of the Sign in button and its focus ring. */
.auth-card form + p { margin: 22px 0 0; }
.auth-card .footnote { margin-top: 24px; margin-bottom: 0; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .75rem; }
.auth-card #feedback:not([hidden]) { border-radius: 8px; padding: 12px 14px; margin-bottom: 20px; }
@media (max-width: 1150px) {
  .ops-grid { grid-template-columns: minmax(0,1fr); }
  .auth-shell { gap: 36px; }
  .auth-card { padding: 32px; }
}
@media (max-width: 850px) {
  .auth-page { padding: 28px; }
  .auth-shell { max-width: 560px; grid-template-columns: 1fr; gap: 28px; }
  .auth-intro { padding: 0; }
  .auth-intro .ops-brand { margin-bottom: 24px; }
  .auth-intro .eyebrow, .auth-intro > p:last-child { display: none; }
  .auth-intro h2 { font-size: 2.6rem; max-width: 16ch; margin-bottom: 0; }
}
@media (max-width: 540px) {
  .page-heading h1, .ops-title h1 { font-size: 2.4rem; }
  .page-heading { margin-bottom: 26px; }
  .metric { padding: 18px; }
  .metric strong { font-size: 2.25rem; }
  .panel-heading, .panel-body, .task-row { padding: 20px; }
  .ops-card { padding: 22px; }
  .ops-grid { gap: 18px; }
  .ops-actions .btn { max-width: 100%; white-space: normal; }
  .auth-page { padding: 24px 16px; align-items: start; }
  .auth-shell { gap: 24px; }
  .auth-intro h2 { font-size: 2.3rem; }
  .auth-card { padding: 26px 22px; border-radius: 14px; }
  .auth-card h1 { font-size: 2.2rem; }
}

/* Staff booking setup keeps one person's calendar and rules together. */
.staff-calendars { margin: 36px 0; }
.staff-calendars-heading { max-width: 76ch; margin-bottom: 22px; }
.staff-calendars-heading h2 { font-size: 2rem; margin-bottom: 12px; }
.staff-calendars-heading p { color: var(--ink); font-size: .875rem; }
.staff-calendar-card { background: white; border: 1px solid var(--rule); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.staff-calendar-card > summary { cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.staff-calendar-card > summary::before { content: '+'; color: var(--blue); font-size: 1.2rem; flex: none; }
.staff-calendar-card[open] > summary::before { content: '−'; }
.staff-calendar-card > summary > span:first-of-type { flex: 1; min-width: 0; }
.staff-calendar-card summary strong { display: block; font-size: .9375rem; }
.staff-calendar-role { display: block; color: var(--ink); font-size: .75rem; margin-top: 4px; }
.staff-calendar-body { border-top: 1px solid var(--rule); padding: 26px; display: grid; gap: 24px; }
.staff-calendar-body form, .staff-calendar-body fieldset { display: grid; gap: 18px; min-width: 0; }
.staff-calendar-body fieldset { border: 0; padding: 0; margin: 0; }
.staff-calendar-body small { color: var(--ink); font-size: .75rem; }
.staff-calendar-body .ops-note { margin: 0; }
.staff-calendar-body .ops-note p { margin: 8px 0 0; }
.staff-account-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.staff-account-status > p { width: 100%; color: var(--ink); font-size: .8125rem; }
.staff-icloud-fields { display: grid; gap: 16px; width: 100%; }
.staff-booking-overrides { border: 1px solid var(--rule); border-radius: 10px; padding: 18px; }
.staff-booking-overrides > summary { cursor: pointer; font-weight: 700; font-size: .8125rem; }
.staff-booking-overrides > p { margin: 14px 0; font-size: .8125rem; color: var(--ink); }
.staff-booking-overrides > .field { margin-top: 20px; }
@media (max-width: 540px) {
  .staff-calendar-card > summary { padding: 18px; gap: 10px; flex-wrap: wrap; }
  .staff-calendar-card > summary > span:first-of-type { flex-basis: calc(100% - 32px); }
  .staff-calendar-card > summary .pill { margin-left: 24px; }
  .staff-calendar-body { padding: 18px; }
  .staff-calendars-heading h2 { font-size: 1.75rem; }
}

/* Live test: one conversation card beside what the receptionist captured. */
.live-workspace { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); gap: 24px; align-items: start; }
.live-context { min-width: 0; display: grid; gap: 24px; }
.live-stage, .live-card { min-width: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.live-stage { --audio-level: 0; display: flex; flex-direction: column; }
.live-status-bar { display: flex; align-items: center; gap: 14px; row-gap: 10px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.live-connection { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 650; color: var(--navy); }
.live-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--control-border); flex: none; }
.live-stage[data-state="connecting"] .live-status-dot, .live-stage[data-state="waiting-for-agent"] .live-status-dot, .live-stage[data-state="reconnecting"] .live-status-dot { background: var(--warn); }
.live-stage[data-state="connected"] .live-status-dot, .live-stage[data-state="listening"] .live-status-dot, .live-stage[data-state="thinking"] .live-status-dot, .live-stage[data-state="speaking"] .live-status-dot { background: var(--ok); }
.live-voice-bars { height: 28px; display: flex; align-items: center; gap: 3px; }
.live-voice-bars span { width: 3px; border-radius: 2px; background: var(--cobalt); height: 7px; transition: height .08s ease-out; }
.live-levels { flex-basis: 100%; order: 9; display: flex; align-items: center; gap: 16px; }
.live-levels[hidden] { display: none; }
.live-level { display: flex; align-items: center; gap: 7px; }
.live-level > span { font-size: .75rem; color: var(--ink); white-space: nowrap; }
.live-level meter { width: 72px; height: 6px; display: block; border: 0; border-radius: 3px; background: var(--mist); }
.live-level meter::-webkit-meter-bar { background: var(--mist); border: 0; border-radius: 3px; height: 6px; }
.live-level meter::-webkit-meter-optimum-value { background: var(--cobalt); border-radius: 3px; transition: width .08s linear; }
.live-level meter::-moz-meter-bar { background: var(--cobalt); border-radius: 3px; }
.live-status-right { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.live-channel { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--rule); }
.live-channel svg { width: 14px; height: 14px; }
.live-duration { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); }
.live-icon-button { background: transparent; border: 1px solid transparent; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; border-radius: var(--radius-sm); color: var(--ink); }
.live-icon-button:hover { border-color: var(--rule); }
.live-icon-button:disabled { opacity: .35; cursor: default; }
.live-icon-button svg { width: 15px; height: 15px; }
.live-helper { padding: 12px 20px 0; font-size: .8125rem; color: var(--ink); line-height: 1.6; }
.live-transcript { min-height: 260px; max-height: 440px; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 18px; scroll-behavior: smooth; }
.live-transcript-empty { margin: auto; text-align: center; max-width: 46ch; padding: 24px 0; color: var(--ink); font-size: .875rem; line-height: 1.7; }
.live-transcript-empty .live-try { margin-top: 10px; font-size: .8125rem; }
.ops-live-message.live-transcript-message { border: 0; border-radius: 0; margin: 0; padding: 0; background: transparent; font-size: .875rem; line-height: 1.7; }
.live-message-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.live-message-meta strong { font-size: .75rem; margin: 0; color: var(--cobalt-dark); }
.live-transcript-message.user .live-message-meta strong { color: var(--navy); }
.live-message-meta time { color: var(--ink); font-size: .75rem; }
.live-transcript-message.is-interim p { color: var(--ink); }
.live-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 20px 14px; }
.live-actions .btn { min-height: 40px; font-size: .8125rem; padding: 9px 16px; }
.live-actions svg { width: 16px; height: 16px; flex: none; }
.live-actions .btn[hidden] { display: none; }
.live-stage[data-state="idle"] .live-session-only, .live-stage[data-state="ended"] .live-session-only, .live-stage[data-state="disconnected"] .live-session-only { display: none; }
.live-stage:not([data-state="idle"]):not([data-state="ended"]):not([data-state="disconnected"]) .live-start { display: none; }
.live-actions .live-end { margin-left: auto; }
.live-actions .live-end:not(:disabled) { color: var(--bad); border-color: var(--bad); }
.live-composer { padding: 14px 20px; border-top: 1px solid var(--rule); display: flex; gap: 10px; }
.live-composer .input { flex: 1; min-width: 0; min-height: 40px; }
.live-composer .btn { flex: none; min-height: 40px; }
.live-footer { display: flex; align-items: center; flex-wrap: wrap; padding: 0 20px 14px; font-size: .75rem; color: var(--ink); }
.live-card { padding: 20px; }
.live-card h2 { font: 700 .9375rem/1.4 var(--font); letter-spacing: -.02em; margin-bottom: 12px; }
.live-captured-list { margin: 0; }
.live-captured-list > div { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.live-captured-list dt { font-size: .75rem; color: var(--ink); padding-top: 2px; }
.live-captured-list dd { margin: 0; min-width: 0; }
.live-captured-list strong { display: block; font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.live-captured-list small, .live-captured-list p { display: block; font-size: .75rem; color: var(--ink); line-height: 1.6; margin-top: 3px; overflow-wrap: anywhere; }
.live-captured-list small:empty { display: none; }
.live-outcome[data-status="confirmed"] strong { color: var(--ok); }
.live-outcome[data-status="pending"] strong { color: var(--warn); }
.live-outcome[data-status="failed"] strong, .live-outcome[data-status="declined"] strong { color: var(--bad); }
.live-hint { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .75rem; color: var(--ink); line-height: 1.6; }
.live-hint a { color: var(--cobalt); font-weight: 600; }
@media (max-width: 1050px) {
  .live-workspace { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 540px) {
  .live-status-bar, .live-transcript, .live-composer { padding-left: 16px; padding-right: 16px; }
  .live-status-bar { gap: 12px; }
  .live-helper, .live-actions, .live-footer { padding-left: 16px; padding-right: 16px; }
  .live-actions .live-end { margin-left: 0; }
  .live-card { padding: 16px; }
  .live-captured-list > div { grid-template-columns: 88px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .live-voice-bars span, .live-level meter::-webkit-meter-optimum-value { transition: none; }
  .live-transcript { scroll-behavior: auto; }
}

/* A focused product shell across every reception workspace screen. */
#breadcrumb { font-size: .75rem; font-weight: 550; color: var(--ink); }
.page-heading, .ops-title { margin-bottom: 28px; }
.page-heading h1, .ops-title h1 { font-weight: 650; font-size: clamp(1.75rem,2.4vw,2.35rem); line-height: 1.2; letter-spacing: -.055em; }
.page-heading .eyebrow, .ops-title .eyebrow { color: var(--ink); font-size: .75rem; font-weight: 750; letter-spacing: .15em; }
.page-heading p, .ops-title > p:last-child { font-size: .8125rem; line-height: 1.75; color: var(--ink); max-width: 70ch; }
.page-heading .btn { margin-top: 10px; }
.btn { border-radius: 9px; font-size: .8125rem; min-height: 40px; padding: 10px 17px; font-weight: 650; transition: background-color .16s, border-color .16s; }
.btn-small { min-height: 32px; padding: 7px 12px; font-size: .75rem; }
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); }
.btn-primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); }
.panel, .metric, .ops-card, .staff-calendar-card { border-color: var(--mist); border-radius: 13px; }
.panel-heading { border-color: var(--mist); padding: 19px 22px; }
.panel-heading h2 { font-size: .8125rem; font-weight: 750; }
.panel-heading a { font-size: .75rem; text-decoration: none; }
.panel-body { padding: 22px; }
.summary-grid { gap: 16px; margin-bottom: 24px; }
.metric { padding: 21px 22px; position: relative; }
.metric-label { color: var(--ink); font-size: .75rem; font-weight: 600; }
.metric strong { font: 600 2.2rem/1.3 var(--font); letter-spacing: -.065em; margin: 14px 0 8px; color: var(--navy-2); }
.metric small { font-size: .75rem; color: var(--ink); }
.metric:first-child { background: var(--navy-2); border-color: var(--navy-2); }
.metric:first-child .metric-label, .metric:first-child small { color: var(--on-navy-muted); }
.metric:first-child strong { color: var(--mist); }
.dashboard-grid, .stack { gap: 22px; }
.task-row { padding: 21px 22px; border-bottom-color: var(--mist); }
.task-title h3 { font-size: .8125rem; font-weight: 700; }
.task-icon { width: 32px; height: 32px; background: var(--mist); border-radius: 9px; color: var(--ink); }
.task-meta { font-size: .75rem; color: var(--ink); }
.task-summary { font-size: .8125rem; color: var(--ink); line-height: 1.75; }
.task-footer .btn { border-color: var(--rule); border-radius: 7px; font-size: .75rem; }
.pill { border: 1px solid transparent; border-radius: 6px; font-size: .75rem; padding: 3px 7px; line-height: 1.5; font-weight: 650; }
.pill-plain { background: var(--white); color: var(--ink); }
.pill-warn { background: var(--warn-tint); color: var(--warn); }
.pill-ok { background: var(--ok-tint); color: var(--ok); }
.pill-bad { background: var(--bad-tint); color: var(--bad); border-color: transparent; }
.empty-state { padding: 50px 22px; }
.empty-state h2 { font: 650 1.1rem/1.5 var(--font); letter-spacing: -.03em; color: var(--navy-line); }
.empty-state p { font-size: .75rem; color: var(--ink); }
.info-list { gap: 17px; }
.info-list li span:first-child { color: var(--ink); font-size: .75rem; }
.info-list li strong { font-size: .75rem; font-weight: 600; }
.boundary { background: var(--mist); border-left: 0; border: 1px solid var(--mist); border-radius: 12px; padding: 20px 22px; }
.boundary strong { font-size: .75rem; color: var(--ink); }
.boundary p { font-size: .75rem; color: var(--ink); line-height: 1.8; }
.activity-item strong { font-size: .75rem; font-weight: 600; }
.activity-item p, .activity-item time { font-size: .75rem; color: var(--ink); }
.activity-dot { background: var(--cobalt-soft); height: 5px; width: 5px; }
.field label, .field legend { font-size: .75rem; color: var(--ink); font-weight: 650; }
.input, .select, .textarea, .field .input, .field .select, .field .textarea { border-color: var(--control-border); background: var(--white); border-radius: 8px; min-height: 42px; font-size: .8125rem; color: var(--navy-line); }
.input::placeholder, .textarea::placeholder { color: var(--ink); }
.field .hint, .field small { color: var(--ink); font-size: .75rem; }
.form-actions { border-color: var(--mist); }
.form-actions small, .footnote { font-size: .75rem; color: var(--ink); }
.check { font-size: .75rem; color: var(--ink); }
.check input { width: 17px; height: 17px; }
.message { border: 0; border-radius: 10px; padding: 15px 17px; color: var(--ink); background: var(--mist); }
.message.user { background: var(--mist); color: var(--ink); border: 0; }
.message strong { font-size: .75rem; letter-spacing: .08em; }
.conversation-list { border-color: var(--mist); background: var(--white); }
.conversation-select { background: var(--white); border-color: var(--mist); }
.conversation-select[aria-pressed="true"] { background: var(--mist); border-left: 3px solid var(--cobalt-soft); }
.conversation-select strong { font-size: .75rem; color: var(--ink); }
.conversation-select small { font-size: .75rem; color: var(--ink); }
.knowledge-item, .staff-item { padding: 24px; border-color: var(--mist); }
.draft-notice { border-color: var(--rule); border-radius: 9px; background: var(--mist); color: var(--ink); }
.integration-card h2, .small-heading { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; }
.integration-card p { font-size: .75rem; line-height: 1.8; }
.integration-icon { border: 0; background: var(--mist); color: var(--ink); }
.toolbar .select, .search .input { border-color: var(--control-border); border-radius: 8px; }
.text-button { color: var(--cobalt); font-size: .75rem; text-decoration-thickness: 1px; }
.ops-card { padding: 24px; }
.ops-card h2 { font-size: .9375rem; letter-spacing: -.025em; }
.ops-card p { font-size: .8125rem; color: var(--ink); line-height: 1.8; }
.ops-note { padding: 18px 20px; border-left: 0; border: 1px solid var(--mist); background: var(--white); font-size: .75rem; }
.ops-note strong { font-size: .75rem; color: var(--ink); }
.ops-note p { font-size: .75rem; margin-top: 7px; color: var(--ink); }
.ops-table table { font-size: .75rem; }
.ops-table th { color: var(--ink); font-weight: 600; font-size: .75rem; letter-spacing: .03em; }
.ops-table th, .ops-table td { border-color: var(--mist); padding: 15px 10px; }
.staff-calendars-heading h2 { font-family: var(--font); font-size: 1.35rem; font-weight: 650; letter-spacing: -.04em; }
.staff-calendar-card summary strong { color: var(--navy-line); font-weight: 650; }
.staff-calendar-card > summary::before { font-size: 1rem; color: var(--cobalt-soft); }
.staff-booking-overrides { border-color: var(--mist); background: var(--white); }
.auth-page { background: var(--navy); }
.auth-shell { max-width: 1120px; column-gap: 100px; }
.auth-intro .eyebrow { color: var(--on-navy-muted); font-size: .75rem; }
.auth-intro h2 { font-family: var(--font); font-size: clamp(2.7rem,4.1vw,4.1rem); font-weight: 550; letter-spacing: -.065em; line-height: 1.12; max-width: 10ch; }
.auth-intro h2 em { font-style: normal; color: var(--on-navy-muted); font-weight: 550; }
.auth-intro > p { font-size: .8125rem; color: var(--on-navy-muted); line-height: 1.9; max-width: 34ch; }
.auth-intro .ops-brand { margin-bottom: 70px; }
.auth-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.auth-features span { font-size: .75rem; color: var(--on-navy-muted); border: 1px solid var(--navy-line); padding: 7px 10px; border-radius: 6px; }
.auth-signal { display: flex; align-items: center; height: 100px; gap: 7px; margin-top: 42px; opacity: .8; }
.auth-signal i { height: 12px; width: 5px; border-radius: 4px; background: var(--cobalt-soft); }
.auth-card { border: 1px solid var(--rule); border-radius: 18px; padding: 38px; }
.auth-card .eyebrow { color: var(--ink); font-size: .75rem; }
.auth-card h1 { font: 650 1.9rem/1.2 var(--font); letter-spacing: -.055em; margin: 13px 0 16px; }
.auth-card #description { color: var(--ink); font-size: .8125rem; line-height: 1.8; }
.auth-card .btn { min-height: 44px; border-radius: 9px; font-size: .8125rem; }
.auth-card .footnote { font-size: .75rem; color: var(--ink); }
.customer-reception-page { min-height: 100dvh; background: var(--white); }
.customer-reception-header { height: 76px; background: var(--navy); padding: 0 max(24px,calc((100vw - 1000px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-reception-header .ops-brand { color: white; font-size: 1.25rem; }
.customer-reception-header .ops-brand img { filter: brightness(0) invert(1); }
.customer-reception-header > span { color: var(--on-navy-muted); font-size: .75rem; letter-spacing: .14em; font-weight: 700; }
.customer-reception-card { max-width: 850px; margin: 42px auto; }
.customer-reception-card .ops-live-log { height: 350px; background: var(--white); border-color: var(--mist); }
.customer-reception-card details { margin-top: 28px; background: var(--white); }
.customer-reception-card details summary { font-size: .8125rem; font-weight: 650; cursor: pointer; }
.customer-reception-card > p { font-size: .8125rem; line-height: 1.9; color: var(--ink); }
.customer-reception-card #status { color: var(--ink); font-size: .75rem; font-weight: 700; }
@media (max-width: 850px) {
  .auth-shell { max-width: 560px; }
  .auth-intro .ops-brand { margin-bottom: 24px; }
  .auth-intro h2 { font-size: 2.5rem; max-width: 17ch; }
  .auth-features, .auth-signal { display: none; }
  .auth-intro > p { display: none; }
}
@media (max-width: 540px) {
  .page-heading h1, .ops-title h1 { font-size: 1.75rem; }
  .page-heading p, .ops-title > p:last-child { font-size: .75rem; }
  .summary-grid { gap: 10px; }
  .metric { padding: 17px; }
  .metric strong { font-size: 1.75rem; }
  .panel-heading, .panel-body, .task-row { padding: 19px; }
  .auth-card { padding: 26px; }
  .auth-card h1 { font-size: 1.7rem; }
  .auth-intro h2 { font-size: 2.15rem; }
  .customer-reception-header > span { display: none; }
  .customer-reception-card { margin: 24px 16px; width: auto; padding: 24px; }
}


.auth-signal .signal-height-24 { height: 24px; }
.auth-signal .signal-height-42 { height: 42px; }
.auth-signal .signal-height-64 { height: 64px; }
.auth-signal .signal-height-86 { height: 86px; }

/* Keep supporting text readable at the workspace's compact information density. */
.page-heading p, .ops-title > p:last-child, .task-meta, .owner, .metric small, .info-list li span:first-child, .activity-item p, .activity-item time, .field .hint, .field small, .form-actions small, .footnote, .conversation-select small, .auth-card #description, .auth-card .footnote, .live-message-meta time { color: var(--ink); }
.task-meta, .owner, .metric small, .activity-item p, .activity-item time { font-size: .75rem; }
.metric:first-child small { color: var(--on-navy-muted); }
.input::placeholder, .textarea::placeholder { color: var(--ink); }
:focus-visible { outline-color: var(--blue); }
.auth-intro :focus-visible { outline-color: var(--cobalt-soft); }

/* Readability is shared by forms, transcripts and metadata across the product. */
.page-heading p, .ops-title > p:last-child, .task-meta, .owner, .metric small, .info-list li span:first-child, .activity-item p, .activity-item time, .field .hint, .field small, .form-actions small, .footnote, .conversation-select small, .auth-card #description, .auth-card .footnote, .live-message-meta time { color: var(--ink); }
.eyebrow, .page-heading .eyebrow, .ops-title .eyebrow, .auth-intro .eyebrow, .auth-card .eyebrow { font-size: .75rem; }
.task-meta, .owner, .metric small, .activity-item strong, .activity-item p, .activity-item time, .field .hint, .field small, .form-actions small, .footnote, .auth-card .footnote, .conversation-select small, .message strong, .live-message-meta strong, .live-message-meta time, .staff-calendar-body small, .auth-features span { font-size: .75rem; }
.field label, .field legend, .metric-label, .info-list li span:first-child, .info-list li strong { font-size: .8125rem; }
.input, .select, .textarea, .field .input, .field .select, .field .textarea, .ops-card p, .task-summary, .panel-body > p, .live-transcript-message p { font-size: .875rem; }
.task-footer .btn, .text-button, .pill, .live-composer .btn { font-size: .75rem; }
.metric:first-child small, .metric:first-child .metric-label { color: var(--on-navy-muted); }
@media(max-width:540px) {
  .page-heading .eyebrow, .ops-title .eyebrow { font-size: .75rem; }
}


/* Shared form rhythm: legible labels, contained controls and distinct save actions. */
.form-grid, .ops-grid { gap: 24px; }
.field { min-width: 0; align-content: start; gap: 8px; }
.field label, .field legend { color: var(--navy); font-weight: 650; }
.input, .select, .textarea, .field .input, .field .select, .field .textarea {
  background: var(--white); border-color: var(--control-border); min-height: 46px; padding: 11px 14px; color: var(--navy);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--cobalt); outline: 3px solid var(--cobalt); outline-offset: 2px; }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--mist); color: var(--ink); cursor: not-allowed; }
.check { align-items: center; gap: 12px; color: var(--navy); line-height: 1.5; }
.check input, .ops-checks input { accent-color: var(--cobalt); width: 18px; height: 18px; flex: none; }
.form-actions { gap: 16px; }
.setup-return .btn-primary { background: var(--cobalt-soft); border-color: var(--cobalt-soft); color: var(--navy); }
.setup-return .btn-primary:hover { background: var(--white); border-color: var(--white); }
.working-days { border: 0; padding: 0; margin: 22px 0 0; }
.working-days legend { padding: 0; margin-bottom: 10px; font-size: .8125rem; font-weight: 650; }
.working-days .ops-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.working-days label { padding: 10px 12px; border: 1px solid var(--control-border); border-radius: 8px; font-size: .8125rem; cursor: pointer; }
.working-days label:has(input:checked) { background: var(--cobalt-tint); border-color: var(--cobalt); color: var(--cobalt-dark); }

.saved-calendar{overflow-wrap:anywhere}
.ops-card form > .btn { justify-self:start; }


/* Live test card: shared by the operations live screen and the guided setup launch step. */
.live-mount { min-width: 0; display: grid; }
.live-stage.is-compact .live-transcript { min-height: 180px; max-height: 300px; }
.live-stage.is-compact .live-transcript-empty { padding: 16px 0; }
.live-stage.is-compact .live-helper { padding-top: 10px; }

/* Connections, Account and Help: status first, controls second, technical details behind Advanced. */
.ops-title h1 { margin-bottom: 10px; }
.ops-title + .ops-note { margin-bottom: 24px; }
.ops-section { margin-bottom: 24px; max-width: 1100px; }
.ops-section h2 { font-size: 1.125rem; margin-bottom: 12px; }
.ops-section h3 { font: 700 .9375rem/1.4 var(--font); letter-spacing: -.02em; margin: 0 0 10px; color: var(--navy); }
.ops-section > p, .ops-section .provider-card > p { max-width: 70ch; }
.status-line { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 650; color: var(--navy); margin-bottom: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex: none; }
.status-line.is-ok .status-dot { background: var(--ok); }
.check-row { align-items: flex-start; }
.check-row > div:first-child { flex: 1 1 320px; min-width: 0; }
.check-row .pill { display: inline-block; margin-bottom: 8px; }
.check-row strong { display: block; font-size: .9375rem; }
.ops-steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; font-size: .875rem; line-height: 1.7; max-width: 70ch; }
.ops-steps li::marker { color: var(--cobalt); font-weight: 700; }
.backup-line { font-size: .9375rem; }
.provider-card { padding: 18px 0; border-top: 1px solid var(--rule); }
.provider-card:first-of-type, .ops-section > .provider-card:first-of-type { border-top: 0; padding-top: 0; }
.advanced-body .provider-card { border-top: 1px solid var(--rule); padding-top: 18px; }
.provider-card form { display: grid; gap: 16px; max-width: 560px; }
.provider-card code { display: block; font: .8125rem ui-monospace, monospace; padding: 10px 12px; background: var(--mist); border-radius: 6px; overflow-wrap: anywhere; }
.real-bookings { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 6px; }
.real-bookings .check { margin: 0; align-items: flex-start; }
.real-bookings .check input { margin-top: 2px; }
.real-bookings .check small { font-size: .8125rem; }
.staff-calendars { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.staff-calendars > p { font-size: .875rem; max-width: 70ch; margin-bottom: 16px; }
.staff-calendar-card { margin-bottom: 10px; }
.staff-calendar-card > summary { padding: 16px 20px; }
.staff-calendar-card > summary::before { content: none; }
.staff-calendar-open { flex: none; pointer-events: none; }
.staff-calendar-card[open] .staff-calendar-open { background: var(--mist); }
.message-list { margin-bottom: 8px; }
.message-row > div:first-child { flex: 1 1 300px; min-width: 0; }
.message-row strong { font-size: .875rem; overflow-wrap: anywhere; }
.message-row .ops-actions { margin-top: 0; }
.advanced { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 14px; }
.advanced > summary { display: inline-block; cursor: pointer; list-style: none; color: var(--cobalt); font-size: .8125rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.advanced > summary::-webkit-details-marker { display: none; }
.advanced > summary::after { content: ' +'; }
.advanced[open] > summary::after { content: ' −'; }
.advanced-body { margin-top: 16px; display: grid; gap: 16px; }
.advanced-body form { display: grid; gap: 16px; }
.advanced-body > p, .advanced-body .ops-actions { margin: 0; }
.advanced-inner { border-top: 0; padding-top: 0; margin-top: 0; }
.plan-summary { font-size: .8125rem; }
.ops-code { margin-top: 0; }
.copy-row { display: flex; gap: 10px; align-items: center; }
.copy-row .input { flex: 1; min-width: 0; font: .8125rem ui-monospace, monospace; }
.help-list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; font-size: .875rem; line-height: 1.7; }
.activity-card { max-width: 1100px; margin-top: 24px; }
.activity-card + .ops-card { margin-top: 24px; }
.activity-list { display: grid; gap: 14px; }
.activity-item { display: flex; gap: 12px; align-items: flex-start; }
.activity-item .activity-dot { margin-top: 8px; flex: none; border-radius: 50%; }
.activity-item p { margin: 2px 0; }
.activity-count { color: var(--ink); font-weight: 500; }
.select-small { min-height: 36px; padding: 6px 10px; font-size: .8125rem; }
.logins .ops-card + .ops-card { margin-top: 20px; }
.logins .ops-row > div:first-child { flex: 1 1 240px; min-width: 0; }
.logins .ops-row .ops-actions { margin-top: 0; }
.logins .ops-reset { flex-basis: 100%; }
.hours-form > fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.hours-form .form-grid { gap: 20px; }
.hours-form .working-days { margin: 0; }
.hours-form .check { align-items: flex-start; margin: 0; }
.hours-form .check input { margin-top: 2px; }
.hours-form .form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--rule); }
.hours-form .advanced { margin-top: 0; }
@media (max-width: 600px) {
  .form-grid, .hours-form .form-grid { grid-template-columns: minmax(0,1fr); }
  .staff-calendar-card > summary { flex-wrap: wrap; }
  .staff-calendar-open { margin-left: 0; }
}

/* Calls & messages: type chips and the assignment control on each request. */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--control-border); background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: .75rem; font-weight: 650; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--cobalt-tint); border-color: var(--cobalt); color: var(--cobalt-dark); }
.task-owner { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--ink); }
.task-owner .select { min-height: 36px; padding: 6px 10px; width: auto; }
.full-record .hint { padding: 0 22px; }

/* Team: one row per person, opened to edit. */
.staff-list .staff-item { padding: 0; border: 0; border-bottom: 1px solid var(--mist); }
.staff-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.staff-item > summary::-webkit-details-marker { display: none; }
.staff-summary { display: grid; gap: 3px; min-width: 0; }
.staff-summary strong { font-size: .875rem; }
.staff-summary-meta { font-size: .75rem; color: var(--ink); }
.staff-item[open] .staff-edit { background: var(--mist); }
.staff-edit { pointer-events: none; flex: none; }
.staff-body { padding: 0 22px 22px; display: grid; gap: 18px; }
.appointment-type-item { padding: 24px; }

/* Answers show their first line without opening. */
.answer-row > summary { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.answer-preview { font-weight: 400; color: var(--ink); font-size: .75rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hours: closed dates are picked, not typed. */
.closed-add { display: flex; gap: 10px; align-items: center; }
.closed-add .input { width: auto; }
.closed-dates { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.closed-dates li { display: flex; gap: 12px; align-items: center; font-size: .8125rem; }
.field-label { font-size: .8125rem; color: var(--navy); font-weight: 650; }

/* Appointments: one choice, drawn like the wizard's options (setup.css is not loaded on the dashboard). */
.setup-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.setup-option { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 16px 18px; cursor: pointer; }
.setup-option:hover { border-color: var(--cobalt-soft); }
.setup-option:has(input:checked) { border-color: var(--cobalt); background: var(--cobalt-tint); }
.setup-option input { margin-top: 3px; accent-color: var(--cobalt); width: 18px; height: 18px; flex: none; }
.setup-option strong { display: block; color: var(--navy); }
.setup-option small { display: block; margin-top: 3px; color: var(--ink); font-size: .85rem; }
.setup-choice + .status-line { margin-top: 18px; margin-bottom: 0; }

/* Test: the captured-details column appears once a session starts. */
.live-workspace:has(.live-stage[data-state="idle"]) .live-context { display: none; }

/* Top bar: why the switch is disabled, and settings notices. */
.power-note { font-size: .75rem; color: var(--ink); }
.power-note a { color: var(--cobalt); font-weight: 650; }
.draft-pending { margin-bottom: 22px; }
.cover { margin: 22px 0 0; }
.form-actions > div { display: flex; gap: 14px; align-items: center; }
.advanced-body > .btn { justify-self: start; }

/* Sign-in pages: one centred card, no marketing column. */
.auth-shell.auth-single { grid-template-columns: minmax(0, 1fr); width: min(520px, 100%); column-gap: 0; }
.auth-card .ops-brand { color: var(--navy); margin-bottom: 28px; text-decoration: none; }
.auth-card .ops-brand img { filter: none; }
/* Two-step verification setup: a scannable code first, the key only if needed. */
.mfa-qr { margin: 12px 0 18px; }
.mfa-qr svg { display: block; width: 208px; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; }
.mfa-manual { margin-bottom: 18px; }
.mfa-manual > summary { cursor: pointer; color: var(--cobalt); font-size: .8125rem; font-weight: 650; }
.mfa-manual > p { margin: 10px 0; }

/* Usability pass, November 2026. Layout, focus, contrast and touch targets; no palette changes. */

/* Settings forms group their sections in a fieldset: no browser frame. */
fieldset.stack { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Control edges meet 3:1 against white and the page tint. */
.task-footer .btn, .toolbar .select, .task-owner .select, .chip { border-color: var(--control-border); }
.btn-quiet { border-color: transparent; background: none; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; padding-right: 4px; }
.btn-quiet:hover { background: none; border-color: transparent; color: var(--cobalt-dark); }
.task-footer .btn { min-height: 36px; }
.task-contact a, .task-meta a { color: var(--cobalt); font-weight: 700; }
.task-owner { font-weight: 600; }

/* Feedback is a toast fixed to the top of the window, so a message never moves the page. */
.workspace .feedback { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60; width: max-content; max-width: min(640px, calc(100vw - 32px)); margin: 0; padding: 12px 44px 12px 18px; border-width: 2px; border-radius: 10px; font-weight: 600; white-space: pre-line; cursor: pointer; }
.workspace .feedback::after { content: "\00d7"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.125rem; line-height: 1; }
.workspace .feedback[hidden] { display: none; }

/* Home: the queue leads; setup is one line; Live now is a quiet band unless a real conversation is in progress. */
.setup-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 18px; margin-bottom: 18px; }
.setup-strip .setup-strip-text { flex: 1 1 320px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.setup-strip h2 { margin: 0; font-family: var(--font); font-size: .9375rem; font-weight: 750; letter-spacing: -.01em; }
.setup-strip .setup-progress { font-weight: 700; }
.setup-strip .setup-strip-detail { flex-basis: 100%; margin: 0; font-size: .8125rem; color: var(--ink); }
.setup-strip-steps { order: 1; }
.setup-strip > .btn { order: 2; }
.setup-strip-steps[open] { order: 3; flex-basis: 100%; }
.setup-steps li small { font-size: .75rem; font-weight: 400; color: var(--ink); }
.setup-steps li.is-done small { display: none; }
.setup-strip-steps > summary { display: inline-block; cursor: pointer; }
.setup-strip-steps .setup-steps { margin-top: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.queue-panel { margin-bottom: 22px; }
.queue-panel .panel-heading { flex-wrap: wrap; }
.queue-panel .panel-heading h2 { margin-right: auto; }
.panel-more { padding: 14px 22px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--ink); }
.panel-more a { font-weight: 700; }
.board.is-compact { padding: 12px 18px; }
.board.is-compact .board-bar { border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
.board.is-compact .board-bar h2 { font-size: 1.0625rem; }
.board.is-compact .board-rest { padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.board.is-compact .board-rest-title { font: 700 .875rem/1.5 var(--font); }
.board.is-compact .board-rest p:not(.board-rest-title) { margin-top: 0; }
.board.is-compact .lanes { margin-top: 8px; }
.board.is-compact .lane { padding: 9px 12px; gap: 4px; }
.board.is-compact .board-recent { margin-top: 8px; }

/* Calls & messages */
.toolbar { gap: 10px 14px; }
.chip { min-height: 36px; }

/* Team: two lists that say what each is for; row links share one size. */
.panel-note { margin-top: 4px; font-size: .8125rem; font-weight: 400; color: var(--ink); max-width: 70ch; line-height: 1.6; }
.panel-heading > div { min-width: 0; }
.row-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.row-links .text-button, .row-links a.text-button { font-size: .8125rem; font-weight: 700; }
#team-form .form-actions { margin-top: 20px; }

/* Reports: what needs a look, beside the totals. */
.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--rule); font-size: .8125rem; }
.review-list li:last-child { border-bottom: 0; }
.review-count { font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.review-list .has-items .review-count { color: var(--bad); }
.review-title { display: block; font-weight: 700; }
.review-list small { color: var(--ink); font-size: .75rem; }
.review-list a { font-weight: 700; white-space: nowrap; }
.review-none { color: var(--ink); }
.report-next { margin-top: 12px; }

/* Customer reception page: one clear state when it cannot be used. */
.customer-reception-card.is-loading > :not(.eyebrow):not(h1):not(#greeting),
.customer-reception-card.is-unavailable > :not(.eyebrow):not(h1):not(#greeting) { display: none; }
.customer-reception-card.is-loading > .ops-composer, .customer-reception-card.is-unavailable > .ops-composer { display: none !important; }
.reception-notice { display: grid; gap: 6px; padding: 18px 20px; margin-top: 18px; border: 2px solid var(--warn); border-radius: 10px; background: var(--warn-tint); color: var(--navy); }
.reception-notice strong { font-size: 1rem; }
.reception-notice span { font-size: .875rem; line-height: 1.6; }
.customer-reception-card .ops-feedback { border-color: var(--control-border); background: var(--mist); color: var(--navy); }
.customer-reception-card .ops-feedback.error { border-color: var(--bad); background: var(--bad-tint); color: var(--bad); }
.customer-reception-card #status { font-size: .8125rem; }

/* Touch: 44px targets for the things staff tap all day. */
@media (max-width: 800px) {
  .task-footer { align-items: stretch; }
  .task-footer .btn, .task-owner .select, .toolbar .select, .chip, .btn-small, .tabs a, .nav-toggle, .workspace .sidebar nav a { min-height: 44px; }
  .toolbar .search { flex: 1 1 100%; max-width: none; }
  .search .input { min-height: 44px; }
  .task-owner { flex: 1 1 100%; }
  .task-owner .select { flex: 1; min-width: 0; font-size: .875rem; }
  .task-actions { flex: 1 1 100%; }
  .task-actions .btn { flex: 1 1 auto; font-size: .875rem; }
  .tabs a { display: inline-flex; align-items: center; }
  .row-links { gap: 4px 8px; }
  .row-links .text-button, .text-button, .staff-item > summary, .advanced > summary, .setup-strip-steps > summary, .report-problem > summary, .assignment > summary { min-height: 44px; display: inline-flex; align-items: center; }
  .row-links .text-button { padding: 0 10px 0 0; }
  .check, .ops-checks label { min-height: 44px; align-items: center; }
  .check input, .ops-checks input { width: 22px; height: 22px; }
  .workspace .sidebar-user-links a, .workspace .sidebar-user-links .text-button { min-height: 44px; display: inline-flex; align-items: center; }
  .review-list li { grid-template-columns: 36px minmax(0, 1fr); }
  .review-list li > a, .review-list li > .review-none { grid-column: 2; }
  /* One compact line, so the first request and its actions stay on the first screen. The steps are a tap away in setup. */
  .setup-strip { flex-wrap: nowrap; gap: 10px; padding: 8px 12px; margin-bottom: 12px; }
  .setup-strip .setup-strip-text { flex: 1 1 auto; }
  .setup-strip h2 { font-size: .875rem; }
  .setup-strip .btn { width: auto; flex: 0 0 auto; order: 2; }
  .setup-strip-steps, .setup-strip .setup-strip-detail { display: none; }
  .page-heading { margin-bottom: 12px; }
  .page-heading h1 { font-size: 1.75rem; }
  .page-heading p { margin-top: 4px; font-size: .8125rem; }
  .queue-panel .panel-heading { padding-top: 12px; padding-bottom: 10px; }
  .task-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  /* The security log reads as one card per event; nothing sits off-screen. */
  #security-log .toolbar { flex-wrap: nowrap; gap: 8px; }
  #security-log .toolbar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #security-log .toolbar .select { flex: 1 1 0; min-width: 0; }
  .security-table, .security-table tbody, .security-table tr, .security-table td { display: block; width: auto; }
  .security-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .security-table tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .security-table td { border: 0; padding: 2px 0; white-space: normal; overflow-wrap: anywhere; }
  .security-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); font-size: .75rem; }
  .workspace .feedback { top: 8px; }
}

/* Notices that sit ahead of the queue, and the administrators' security log. */
.attention-notice { margin: 0 0 12px; }
.attention-notice p { margin: 4px 0 8px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--control-border); text-align: left; vertical-align: top; }
.data-table th { font-weight: 700; white-space: nowrap; }
.data-table td:first-child { white-space: nowrap; }

/* Task forms open inside the row: a reason for declining, an outcome for a finished callback. */
.task-form { display: grid; gap: 8px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--control-border); border-radius: 10px; background: var(--mist); max-width: 560px; }
.task-form label { font-size: .8125rem; font-weight: 700; color: var(--navy); }
.task-form p { font-size: .8125rem; }
.task-form .task-actions { margin-top: 4px; }
.task-outcome { margin-top: 8px; }
.reply-tools { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.report-about { font-size: .8125rem; }
.workspace .feedback .feedback-action { margin-left: 10px; font-size: .875rem; font-weight: 700; color: inherit; }
