@charset "UTF-8";

:root {
  color-scheme: light;
  --canvas: #f5f8fa;
  --paper: #ffffff;
  --ink: #12303f;
  --muted: #5e707a;
  --muted-light: #8a99a2;
  --navy: #00587f;
  --navy-light: #0b6a94;
  --coral: #00a4ff;
  --coral-dark: #00587f;
  --coral-pale: #e6f6ff;
  --teal: #0077b6;
  --teal-pale: #e7f3fa;
  --line: #e2e8ec;
  --shadow: 0 3px 14px rgba(0, 61, 89, .04);
  --shadow-float: 0 18px 70px rgba(0, 61, 89, .16);
  --radius: 15px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.55 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; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
svg { vertical-align: middle; flex-shrink: 0; }
button svg, a svg { width: 18px; height: 18px; }
button { color: inherit; }
input, select, textarea { color: var(--ink); }
::selection { background: #bfe6ff; color: var(--ink); }
:focus-visible { outline: 3px solid #32918a; outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible), .modal:focus { outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: #478880; box-shadow: 0 0 0 3px #e4ecf1; }
.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; }

/* A quiet workspace, with room to breathe. */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 234px; position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; padding: 31px 21px 22px; background: var(--navy); color: #dce5e4; }
.brand, .sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 9px; }
.brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; }
.brand-name { font-size: 23px; font-weight: 600; letter-spacing: -.8px; color: #fff; line-height: 1.2; }
.brand-caption { color: #a6b8ba; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 7px; margin-top: 51px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; padding: 12px 14px; background: transparent; color: #bacbcd; border-radius: 9px; font-weight: 500; transition: background .16s, color .16s; }
.nav-item:hover { background: #0b6a94; color: #fff; }
.nav-item.is-active, .nav-item.active { background: #0f78a6; color: #fff; box-shadow: inset 3px 0 0 var(--coral); }
.nav-item.is-active .nav-icon, .nav-item.active .nav-icon { color: #9fdcff; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; opacity: .95; }
.nav-icon svg { width: 19px; height: 19px; }
.sidebar-bottom, .sidebar-footer { margin-top: auto; padding-top: 28px; }
.sidebar-note, .sidebar-tip { padding: 20px 15px; margin-bottom: 21px; background: #20383f; border: 1px solid #30464d; border-radius: 12px; }
.sidebar-note h3, .sidebar-tip h3 { font-size: 13px; font-weight: 600; color: #edf1f3; margin-bottom: 7px; }
.sidebar-note p, .sidebar-tip p { font-size: 12px; line-height: 1.7; color: #abc0c0; }
.sidebar-note svg { color: #9fdcff; margin-bottom: 12px; }
.profile-chip { display: flex; align-items: center; gap: 11px; padding: 19px 7px 0; border-top: 1px solid #30454b; min-width: 0; }
.avatar { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; background: #9fdcff; color: #00587f; font-size: 12px; font-weight: 600; }
.profile-chip strong { display: block; font-size: 13px; color: #eaeef0; font-weight: 500; }
.profile-chip small { display: block; font-size: 11px; color: #9db3b6; }
.profile-chip > div:not(.avatar) { min-width: 0; overflow: hidden; }
.profile-chip strong, .profile-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chip svg { margin-left: auto; color: #9db3b6; width: 16px; height: 16px; }
.main-content { width: calc(100% - 234px); margin-left: 234px; min-width: 0; }
.topbar { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 43px; background: rgba(255,255,255,.68); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.breadcrumb svg { width: 14px; height: 14px; color: #aab1b1; }
.topbar-actions { display: flex; align-items: center; gap: 17px; font-size: 12px; color: var(--muted); }
.topbar .avatar { width: 31px; height: 31px; background: #e9edf0; color: #525c62; font-size: 10px; }
.workspace-badge { display: inline-flex; align-items: center; gap: 7px; }
.workspace-badge::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #5c849d; border-radius: 50%; }
.topbar-profile { display: flex; align-items: center; gap: 9px; }
.topbar-profile .profile-name { color: #545f66; font-size: 11px; }
.page-content { max-width: 1450px; padding: 37px 43px 54px; margin: 0 auto; }
.main-content > .page-header, .main-content > .summary-grid, .main-content > .toolbar, .main-content > .event-grid, .main-content > .panel, .main-content > .availability-layout, .main-content > .settings-layout, .main-content > .meeting-list, .main-content > .tabs { margin-left: 43px; margin-right: 43px; }
.main-content > .page-header { margin-top: 37px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: 1.75px; color: #7a8585; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--coral); }
.page-title { font-size: 31px; line-height: 1.24; letter-spacing: -1px; font-weight: 600; }
.page-description { color: var(--muted); margin-top: 8px; font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 9px; }

/* Buttons, fields, and small details. */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 41px; padding: 9px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; transition: background .16s, border-color .16s, transform .16s, box-shadow .16s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 3px 4px rgba(0, 88, 127, .14); }
.btn-primary:hover { background: #00476a; border-color: #00476a; }
.btn-secondary { background: #fff; color: #34484d; border-color: #dbdee0; }
.btn-secondary:hover { border-color: #aab3b9; background: #f8fafb; }
.btn-ghost { background: transparent; color: #57696c; padding-left: 9px; padding-right: 9px; }
.btn-ghost:hover { background: #ebeff1; }
.btn-danger { background: #fff3f0; color: #a43b2d; border-color: #f5d7d0; }
.btn-danger:hover { background: #fce5df; }
.btn-small { min-height: 33px; font-size: 11px; padding: 6px 12px; gap: 6px; }
.btn-small svg { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.btn:disabled { transform: none; opacity: .5; box-shadow: none; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 31px; height: 31px; padding: 5px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: #748084; }
.icon-button:hover { background: #edf0f2; color: var(--ink); }
.icon-button svg { width: 18px; height: 18px; }
.text-button { background: transparent; border: none; color: var(--coral-dark); font-size: 12px; padding: 0; }
.pill, .status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; font-size: 10px; font-weight: 500; white-space: nowrap; background: #edf1f4; color: #35586e; }
.status-badge.cancelled, .status-badge.is-cancelled { background: #ecf0f2; color: #75797c; }
.status-badge.confirmed { background: #e9f4ec; color: #2c715a; }
.field-input, .field textarea, .field input, .field select { width: 100%; min-height: 42px; padding: 10px 12px; background: #fff; border: 1px solid #dbdee0; border-radius: 7px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.field-input, .field textarea { resize: vertical; min-height: 100px; line-height: 1.65; }
.field-input::placeholder { color: #939c9d; }
.field-input:disabled { background: #f3f5f7; color: #848e8e; }
.field-label, .field > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: #45555a; }
.field-hint { margin-top: 6px; font-size: 11px; color: #879293; }
.field-error { margin-top: 5px; font-size: 11px; color: #ab4334; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.form-field, .field { min-width: 0; }
.form-field.full-width, .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.input-with-prefix { display: flex; border: 1px solid #dbdee0; border-radius: 7px; overflow: hidden; }
.input-with-prefix span { display: flex; align-items: center; padding: 0 12px; background: #f4f6f8; color: #8b9696; font-size: 12px; white-space: nowrap; border-right: 1px solid #dbdee0; }
.input-with-prefix .field-input { border: 0; border-radius: 0; }
.switch { appearance: none; -webkit-appearance: none; width: 31px; height: 18px; min-height: 18px; padding: 0; flex-shrink: 0; background: #cfd4d7; border: 0; border-radius: 100px; position: relative; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; left: 3px; top: 3px; box-shadow: 0 1px 3px #0002; transition: transform .15s; }
.switch:checked, .switch.is-active, .switch[aria-checked="true"] { background: #47718b; }
.switch:checked::after, .switch.is-active::after, .switch[aria-checked="true"]::after { transform: translateX(13px); }
.switch-label { display: inline-flex; align-items: center; gap: 8px; color: #697877; font-size: 11px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; color: #697877; font-size: 11px; cursor: pointer; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; font-size: 10px; font-weight: 500; background: #edf1f4; color: #35586e; }
.badge-muted { background: #edf0f2; color: #7b8185; }

/* The event collection. */
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-bottom: 32px; }
.summary-card { min-height: 94px; display: flex; align-items: center; gap: 15px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow); }
.summary-icon { display: flex; align-items: center; justify-content: center; width: 41px; height: 41px; flex-shrink: 0; border-radius: 10px; background: #e6f6ff; color: #00587f; }
.summary-card:nth-child(2) .summary-icon { background: #edf1f4; color: #637c8c; }
.summary-card:nth-child(3) .summary-icon { background: #eeeff7; color: #8185ad; }
.summary-icon svg { width: 20px; height: 20px; }
.summary-label { color: #768284; font-size: 11px; margin-bottom: 2px; }
.summary-value { font-weight: 600; font-size: 23px; line-height: 1.3; letter-spacing: -.6px; }
.summary-value small { font-size: 12px; font-weight: 400; color: #828b90; margin-left: 7px; letter-spacing: 0; }
.summary-card > svg { width: 20px; height: 20px; color: #818d94; margin-left: auto; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.search-field { position: relative; display: flex; align-items: center; width: 270px; }
.search-field svg { position: absolute; left: 12px; width: 17px; height: 17px; color: #92999d; pointer-events: none; }
.search-field input { width: 100%; height: 37px; border: 1px solid #dce0e3; border-radius: 7px; background: #fff; padding: 7px 13px 7px 36px; font-size: 12px; }
.search-field input::placeholder { color: #8d9796; }
.toolbar-meta { display: flex; align-items: center; gap: 14px; color: #8a9493; font-size: 11px; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event-card { position: relative; min-height: 278px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dfe3e6; border-radius: 12px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.event-card:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(22,47,52,.06); }
.event-card.is-inactive { opacity: .7; }
.event-accent { height: 3px; background: var(--event-color, var(--coral)); }
.event-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 22px 16px; }
.event-icon { display: flex; align-items: center; justify-content: center; width: 41px; height: 41px; color: var(--event-color, var(--coral-dark)); background: color-mix(in srgb, var(--event-color, var(--coral)) 10%, white); border-radius: 11px; }
.event-icon svg { width: 20px; height: 20px; }
.event-menu { display: flex; align-items: center; gap: 2px; }
.event-card h2, .event-title { margin: 0 22px; font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: -.3px; }
.event-description { margin: 10px 22px 17px; color: #788587; font-size: 12px; line-height: 1.75; min-height: 42px; }
.event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 22px 19px; color: #677678; font-size: 11px; }
.event-meta > span { display: inline-flex; gap: 5px; align-items: center; }
.event-meta svg { width: 14px; height: 14px; color: #939ca2; }
.event-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid #eaeef0; background: #fbfdfe; padding: 11px 17px; margin-top: auto; }
.event-card-footer .btn { font-size: 11px; }
.event-card-footer .btn-ghost { color: #435c6b; }
.event-create-card { min-height: 278px; display: flex; flex-direction: column; gap: 11px; align-items: center; justify-content: center; padding: 30px; border: 1px dashed #cbd1d5; border-radius: 12px; background: #edf2f5; color: #747f86; }
.event-create-card:hover { border-color: #9fadb6; background: #e9eff3; }
.event-create-card > svg { width: 31px; height: 31px; }
.event-create-card strong { font-size: 13px; font-weight: 500; }
.event-create-card span { font-size: 11px; }
.link-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 29px; border: 1px solid #d9e0e5; background: #e7eef2; border-radius: 12px; padding: 21px 24px; }
.link-banner h3 { font-weight: 500; font-size: 13px; margin-bottom: 4px; }
.link-banner p { color: #788288; font-size: 11px; }
.link-banner-icon { color: #6c8493; margin-right: 16px; }
.link-banner > div { display: flex; align-items: center; }
.view-hint { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: #979da0; }
.view-hint svg { width: 13px; height: 13px; }
.helper-banner { display: flex; align-items: center; gap: 16px; padding: 19px 23px; margin-top: 27px; border: 1px solid #d8e1e6; border-radius: 11px; background: #e8eff3; }
.helper-banner > svg { width: 24px; height: 24px; color: #788f9e; }
.helper-banner h3, .helper-banner strong { color: #586770; font-size: 12px; font-weight: 500; }
.helper-banner p { color: #7b8a94; font-size: 11px; margin-top: 3px; }
.helper-banner .btn { margin-left: auto; }
.copy-url { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #dbe2e7; border-radius: 7px; background: #f7f9fb; font-size: 11px; color: #73838d; overflow-wrap: anywhere; }
.copy-url .icon-button { margin-left: auto; flex-shrink: 0; }

/* Meetings and availability. */
.panel { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 25px; border-bottom: 1px solid #e9edf0; }
.panel-header h2 { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.panel-header p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.panel-body { padding: 25px; }
.tabs { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab { background: none; border: none; border-bottom: 2px solid transparent; padding: 10px 17px 12px; color: #7b8888; font-size: 12px; font-weight: 500; }
.tab.is-active { color: #314856; border-color: #546d7c; }
.meeting-list { display: flex; flex-direction: column; }
.meeting-row { display: flex; align-items: center; gap: 24px; padding: 24px 26px; border-bottom: 1px solid #e9edf0; background: #fff; }
.meeting-row:last-child { border-bottom: 0; }
.meeting-date { width: 57px; min-height: 64px; flex: 0 0 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #eef2f5; border-radius: 10px; line-height: 1.35; }
.meeting-date span { font-size: 10px; color: #6c7880; letter-spacing: .8px; text-transform: uppercase; }
.meeting-date strong { font-size: 22px; font-weight: 500; color: #34454f; }
.meeting-content { flex: 1; min-width: 0; }
.meeting-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.meeting-content p { font-size: 12px; color: #788688; }
.meeting-content .meeting-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 7px; color: #8a9694; font-size: 11px; }
.meeting-meta span { display: inline-flex; align-items: center; gap: 5px; }
.meeting-meta svg { width: 13px; height: 13px; }
.meeting-actions { display: flex; align-items: center; gap: 10px; }
.meeting-row.is-cancelled .meeting-date { background: #f0f2f4; }
.availability-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); gap: 22px; align-items: start; }
.week-panel, .preferences-panel { min-width: 0; }
.week-panel > .panel-header svg, .preferences-panel > .panel-header svg { color: #818c93; }
.week-days { padding: 6px 25px; }
.day-row { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-bottom: 1px solid #e9edf0; }
.day-row:last-child { border-bottom: 0; }
.day-name { display: flex; align-items: center; gap: 9px; width: 96px; flex: 0 0 96px; min-height: 36px; font-size: 12px; font-weight: 500; }
.day-name input { accent-color: var(--teal); width: 14px; height: 14px; }
/* Narrow rows show "Wed"; the full name stays as the checkbox label for screen readers. */
.day-short { display: none; }
.interval-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.time-interval { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #959ca1; }
.time-input { min-width: 0; width: 91px; height: 36px; padding: 7px 8px; border: 1px solid #dce2e5; border-radius: 6px; background: #fff; font-size: 12px; }
.day-row > .icon-button { flex: 0 0 31px; margin-top: 2px; }
.unavailable-label { display: flex; align-items: center; min-height: 36px; color: #9aa0a4; font-size: 12px; }
.preferences-panel .panel-body, .preferences-body { display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.preference-note { display: flex; gap: 10px; padding: 13px; background: #eff3f6; border: 1px solid #dce3e8; border-radius: 8px; color: #778188; font-size: 11px; line-height: 1.7; }
.preference-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #738997; }
.availability-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.availability-preferences { display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.add-interval { padding: 5px; display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: #6c8391; }
.add-interval:hover { background: #e7eef3; }
.add-interval svg { width: 16px; height: 16px; }
.settings-layout { max-width: 820px; }
.settings-layout .panel + .panel { margin-top: 22px; }
.settings-layout .panel-body { padding: 25px; }
.profile-preview { display: flex; align-items: center; gap: 15px; padding-bottom: 24px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.profile-preview .avatar { width: 55px; height: 55px; font-size: 18px; }
.profile-preview h3 { font-size: 16px; font-weight: 500; }
.profile-preview p { color: #858c91; font-size: 12px; margin-top: 3px; }
.local-notice { display: flex; align-items: center; gap: 9px; color: #747f86; padding: 14px 16px; border: 1px solid #d7e1e8; background: #ecf2f5; border-radius: 8px; font-size: 12px; margin-bottom: 23px; }
.local-notice svg { width: 17px; height: 17px; }
.empty-state, .error-state, .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 285px; padding: 45px 30px; text-align: center; }
.empty-state > svg, .error-state > svg { width: 38px; height: 38px; padding: 9px; box-sizing: content-box; color: #8c9aa3; background: #edf2f5; border-radius: 17px; margin-bottom: 19px; }
.empty-state h2, .empty-state h3, .error-state h2 { font-size: 18px; font-weight: 500; margin-bottom: 9px; letter-spacing: -.3px; }
.empty-state p, .error-state p { color: #858c91; font-size: 12px; max-width: 360px; }
.empty-state .btn, .error-state .btn { margin-top: 20px; }
.error-state > svg { color: #bd7869; background: #fcf0ec; }
.loading-state { min-height: 100vh; color: #848d93; font-size: 12px; }
.loading-orbit { width: 35px; height: 35px; border: 2px solid #dfe5e8; border-top-color: var(--coral); border-radius: 50%; animation: orbit 1s linear infinite; margin-bottom: 15px; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* Clear, focused dialogs. */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(17,37,43,.4); backdrop-filter: blur(4px); animation: fade-in .15s ease; }
.modal { width: 100%; max-width: 560px; max-height: calc(100dvh - 48px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-float); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 27px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 20px; letter-spacing: -.5px; font-weight: 600; }
.modal-header p { font-size: 12px; color: #899094; margin-top: 4px; }
.modal-body { padding: 26px 27px; }
.modal-body .form-field + .form-field:not(.form-grid .form-field) { margin-top: 20px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 27px; border-top: 1px solid var(--line); background: #f8fafc; }
.color-picker { display: flex; align-items: center; gap: 11px; }
.color-option { width: 27px; height: 27px; border-radius: 50%; background: var(--event-color); border: 3px solid #fff; box-shadow: 0 0 0 1px transparent; }
.color-option.is-selected { box-shadow: 0 0 0 1px #707f89; }
#toast-container { position: fixed; z-index: 200; bottom: 26px; right: 26px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 13px 18px; border: 1px solid #ced9e0; border-radius: 10px; background: #f4f9fc; color: #364e5d; font-size: 12px; box-shadow: 0 5px 25px #203c3520; pointer-events: auto; animation: toast-in .2s ease; }
.toast svg { width: 18px; height: 18px; }
.toast-error { background: #fff4ee; border-color: #f1d0c5; color: #994a36; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* The booking page feels like an invitation. */
.booking-page { min-height: 100vh; padding: 35px 28px 29px; background: radial-gradient(ellipse at 0% 0%, #e6ecf0 0, transparent 44%), radial-gradient(ellipse at 100% 85%, #e3f4ff 0, transparent 37%), var(--canvas); }
.booking-brand { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 35px; }
.booking-brand .brand-name { color: var(--navy); font-size: 22px; }
.booking-brand .brand-caption { color: #878f94; }
.booking-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); margin: 0 auto; width: min(950px, 100%); min-height: 540px; background: #fff; border: 1px solid #dce2e6; border-radius: 18px; box-shadow: 0 15px 55px #1b34350b; overflow: hidden; }
.booking-summary { padding: 35px 30px; border-right: 1px solid #e5ebee; background: #fafcfe; }
.booking-summary .avatar { width: 43px; height: 43px; font-size: 13px; background: #cddde7; color: #4a5b66; margin-bottom: 23px; }
.booking-summary .avatar-row { display: flex; margin-bottom: 23px; }
.booking-summary .avatar-row .avatar { margin-bottom: 0; border: 2px solid #fff; }
.booking-summary .avatar-row .avatar + .avatar { margin-left: -12px; }
.booking-kicker { color: #92989c; font-size: 12px; margin-bottom: 7px; }
.booking-event-title, .booking-summary h1 { font-size: 27px; line-height: 1.3; letter-spacing: -.8px; font-weight: 500; margin-bottom: 17px; }
.booking-description { font-size: 12px; color: #848b90; line-height: 1.8; margin: 21px 0; }
.booking-facts { display: flex; flex-direction: column; gap: 14px; color: #66747c; font-size: 12px; margin-top: 20px; }
.booking-facts > div, .booking-facts > span { display: flex; align-items: flex-start; gap: 10px; }
.booking-facts svg { width: 17px; height: 17px; color: #89969e; margin-top: 1px; }
.booking-note { margin-top: 35px; padding-top: 20px; border-top: 1px solid #e3eaee; font-size: 11px; color: #9ca5aa; line-height: 1.75; }
.booking-main { padding: 32px 33px; min-width: 0; }
.booking-header { margin-bottom: 24px; }
.booking-header h2 { font-size: 18px; font-weight: 500; letter-spacing: -.35px; }
.booking-header p { font-size: 12px; color: #8a9398; margin-top: 6px; }
.booking-step { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #97a1a7; margin-bottom: 12px; letter-spacing: 1.1px; text-transform: uppercase; }
.booking-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; border-bottom: 1px solid #e7edf0; }
.booking-steps .booking-step { border: 0; background: none; padding: 0 0 11px; margin: 0; border-bottom: 2px solid transparent; letter-spacing: .4px; font-size: 10px; }
.booking-steps .booking-step.active, .booking-steps .booking-step.is-active { color: #4e6776; border-bottom-color: #668192; }
.timezone-select { margin-top: 24px; }
.timezone-select select { width: 100%; background: #f8fafc; border: 1px solid #d9e2e8; border-radius: 6px; min-height: 35px; padding: 7px 10px; font-size: 11px; color: #697b86; }
.calendar-layout { display: grid; grid-template-columns: minmax(0,1fr) 145px; gap: 20px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.calendar-header h3, .calendar-header strong { font-size: 13px; font-weight: 500; }
.calendar-controls { display: flex; gap: 5px; }
.calendar-controls .icon-button { background: #eff3f6; width: 27px; height: 27px; color: #73828b; }
.calendar-controls .icon-button:disabled { opacity: .4; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 7px 5px; }
.calendar-weekday { text-align: center; font-size: 9px; line-height: 28px; color: #9ba1a5; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.calendar-day { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; max-height: 43px; min-height: 30px; border: 0; border-radius: 50%; background: #ecf2f5; color: #4e6776; font-size: 12px; transition: background .15s, box-shadow .15s; position: relative; }
.calendar-day.is-available { background: #e0f2fd; color: #00587f; font-weight: 600; }
.calendar-day.is-available:hover { background: #c9e8fb; }
.calendar-day.is-unavailable { background: transparent; color: #6c7378; font-weight: 400; cursor: default; }
.calendar-day.is-selected { background: var(--coral); color: #00283b; font-weight: 600; box-shadow: 0 2px 5px #00a4ff33; }
.calendar-day.is-today::after { content: ""; position: absolute; left: calc(50% - 1.5px); bottom: 5px; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.calendar-day.is-disabled, .calendar-day:disabled { background: transparent; color: #bdc2c5; cursor: not-allowed; }
.calendar-day.is-empty { background: transparent; pointer-events: none; }
.timezone-field { margin-top: 23px; }
.timezone-field .field-label { font-size: 10px; color: #849097; font-weight: 400; margin-bottom: 5px; }
.timezone-field select { font-size: 11px; color: #6e7a82; padding: 7px 9px; min-height: 35px; border-color: #dfe6eb; }
.slot-section { margin-top: 25px; padding-top: 21px; border-top: 1px solid #e4eaee; }
.slot-section h3, .slots-heading { font-size: 12px; font-weight: 500; margin-bottom: 12px; color: #63747f; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.calendar-layout .slot-grid { grid-template-columns: 1fr; max-height: 334px; overflow: auto; padding: 2px 2px 2px 0; }
.slot-button { border: 1px solid #d2dde4; border-radius: 6px; background: #fff; color: #5d7381; padding: 9px 8px; min-height: 38px; font-size: 11px; font-weight: 500; transition: background .15s, border-color .15s; }
.slot-button:hover { background: #ecf2f6; border-color: #96acb9; }
.slot-button.is-selected { background: #e8eff4; border-color: #648599; color: #395363; box-shadow: inset 0 0 0 1px #648599; }
.slot-grid + .btn { margin-top: 16px; }
.slots-empty { grid-column: 1 / -1; color: #8f99a0; font-size: 12px; padding: 15px 0; line-height: 1.7; }
.booking-form { display: flex; flex-direction: column; gap: 21px; }
.booking-form .form-actions { margin-top: 4px; }
.booking-back { display: inline-flex; align-items: center; justify-content: center; padding: 5px; width: 29px; height: 29px; margin-bottom: 14px; border: 1px solid #dfe6eb; background: #fff; border-radius: 50%; color: #7c8a92; }
.booking-back svg { width: 15px; height: 15px; }
.booking-footer { text-align: center; margin-top: 26px; color: #a1aaaf; font-size: 10px; letter-spacing: .2px; }
.booking-footer a { color: #707f88; }
.booking-success { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 435px; text-align: center; padding: 20px; }
.success-icon { width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; background: #e8eff4; color: #4e7289; border-radius: 50%; margin-bottom: 23px; box-shadow: 0 0 0 9px #f4f8fb; }
.success-icon svg { width: 29px; height: 29px; }
.booking-success h1, .booking-success h2 { font-size: 28px; font-weight: 500; letter-spacing: -.8px; margin-bottom: 9px; }
.booking-success > p { color: #838e95; font-size: 12px; line-height: 1.8; max-width: 330px; }
.success-details { width: 100%; max-width: 360px; padding: 17px 21px; margin: 25px 0; text-align: left; background: #f2f6f9; border: 1px solid #dfe7ec; border-radius: 9px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #6c7d87; }
.success-details strong { color: #40515b; font-weight: 500; }
.success-details span { display: flex; align-items: center; gap: 8px; }
.success-details svg { width: 15px; height: 15px; }
.confirmation-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #6d7e89; padding: 8px 0; }
.confirmation-detail svg { width: 16px; height: 16px; color: #7e95a3; margin-top: 2px; }
.confirmation-detail strong { font-weight: 500; color: #455864; }
.public-events { max-width: 920px; margin: 0 auto; }
.public-header { text-align: center; margin: 20px 0 35px; }
.public-header h1 { font-size: 32px; font-weight: 500; letter-spacing: -1px; }
.public-header p { color: #889299; margin-top: 10px; font-size: 13px; }

/* Keep supporting text legible on both paper and the warm canvas. */
.eyebrow, .summary-label, .summary-value small, .event-description,
.toolbar-meta, .field-hint, .input-with-prefix span, .view-hint,
.meeting-content p, .meeting-content .meeting-meta, .profile-preview p,
.empty-state p, .error-state p, .loading-state, .modal-header p,
.booking-brand .brand-caption, .booking-kicker, .booking-description,
.booking-header p, .booking-step, .booking-footer, .public-header p,
.booking-success > p { color: #676f74; }
.link-banner p, .helper-banner p, .copy-url, .preference-note,
.unavailable-label, .local-notice, .booking-note, .slots-empty,
.success-details, .confirmation-detail { color: #5f6a71; }
.calendar-weekday, .timezone-field .field-label, .timezone-field select,
.timezone-select select, .slots-heading, .slot-section h3,
.booking-facts, .booking-footer a { color: #606c73; }
.slot-button { color: #485f6d; }
.search-field input::placeholder, .field-input::placeholder { color: #767d82; }
.status-badge.cancelled, .status-badge.is-cancelled, .badge-muted { color: #62686b; }
.event-create-card { color: #5f6d75; }

/* The app's content-specific details. */
.brand-caption { display: block; font-weight: 400; }
.workspace-label { font-size: 9px; letter-spacing: 1.7px; color: #91aaab; margin: 45px 14px 13px; }
.workspace-label + .sidebar-nav { margin-top: 0; }
.nav-count { display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; margin-left: auto; background: #3d555b; color: #d4dde2; border-radius: 5px; font-size: 10px; }
.sidebar > .sidebar-note { margin-top: auto; margin-bottom: 0; padding: 17px 15px; }
.sidebar-note strong { color: #e6ebee; font-weight: 500; }
.sidebar > .sidebar-bottom { display: flex; align-items: center; position: relative; margin-top: 0; padding-top: 25px; }
.sidebar-bottom .profile-chip { flex: 1; padding-right: 26px; }
.profile-chip > div > span { display: block; font-size: 11px; color: #aac0bf; }
.sidebar-settings { position: absolute; right: 4px; bottom: 7px; color: #98b0b2; }
.sidebar-settings svg { width: 15px; height: 15px; }
.local-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.status-dot { display: inline-block; background: #6d899b; width: 6px; height: 6px; border-radius: 50%; }
.stat-icon { display: flex; align-items: center; justify-content: center; width: 41px; height: 41px; flex-shrink: 0; border-radius: 10px; background: #e6f6ff; color: #00587f; }
.stat-icon.teal { background: #edf1f4; color: #546c7b; }
.stat-icon.indigo { background: #eeeff7; color: #6b7096; }
.stat-icon svg { width: 20px; height: 20px; }
.stat-label { display: block; color: #666f75; font-size: 11px; margin-bottom: 4px; }
.stat strong { display: block; font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.6px; }
.stat strong > span { font-weight: 400; font-size: 10px; color: #69747b; margin-left: 5px; letter-spacing: 0; }
.toolbar h2 { font-size: 15px; font-weight: 500; letter-spacing: -.25px; }
.toolbar > div > .toolbar-meta { margin-top: 4px; font-size: 11px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px; border-radius: 5px; background: #e3eaee; color: #65747e; font-size: 10px; font-weight: 400; }
.event-meta { margin-top: 10px; margin-bottom: 0; }
.event-description { margin-top: 14px; margin-bottom: 19px; }
.event-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 22px 18px; }
.event-slug { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #687279; }
.pill-muted { background: #edf0f2; color: #62686b; }
.pill-active { background: #edf1f4; color: #35586e; }
.card-buttons { display: flex; align-items: center; gap: 6px; }
.card-buttons .btn { min-height: 31px; padding: 6px 10px; font-size: 10px; border-color: #dbe1e5; }
.card-buttons .btn svg { width: 14px; height: 14px; }
.event-paused { opacity: .75; }
.preview-link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.helper-banner > div > span { display: block; margin-top: 3px; color: #5e6b73; font-size: 11px; line-height: 1.7; }
.helper-banner a { color: #465f6f; margin-left: 4px; font-weight: 500; }
.helper-banner a svg { width: 12px; height: 12px; }
.timezone-note { display: flex; align-items: center; gap: 6px; color: #69757c; font-size: 11px; margin-bottom: 16px; }
.timezone-note svg { width: 13px; height: 13px; }
.toolbar .tabs { margin: 0; border-bottom: 0; }
.meeting-date small { font-size: 9px; color: #68757d; }
.meeting-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 7px; }
.meeting-title-row h3 { margin-bottom: 0; }
.meeting-content > p { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.meeting-content > p > svg { width: 13px; height: 13px; color: #7b8c97; margin-right: 2px; }
.meeting-email { font-size: 11px; color: #6a7881; margin-left: 3px; }
.meeting-notes { font-size: 11px; color: #6b7a84; margin-top: 8px; }
.meeting-notes summary { cursor: pointer; color: #526b7b; }
.meeting-notes p { margin-top: 6px; max-width: 500px; white-space: pre-wrap; overflow-wrap: anywhere; }
.schedule-zone { margin: 21px 25px 7px; }
.schedule-zone .timezone-select { margin-top: 0; }
.schedule-days { padding: 6px 25px; }
.time-input { min-height: 36px; flex: 0 1 105px; width: 105px; }
.preferences-panel.availability-preferences { display: flex; gap: 0; padding: 0; }
.preferences-panel.availability-preferences > .panel-header { width: 100%; }
.preferences-panel.availability-preferences > .form-field { margin: 22px 24px 0; }
.availability-tip { display: flex; align-items: flex-start; gap: 9px; margin: 24px; padding: 13px; border-radius: 8px; background: #e9f0f5; color: #5a6b76; font-size: 11px; line-height: 1.75; }
.availability-tip svg { width: 16px; height: 16px; color: #657e8e; margin-top: 2px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 70px; }
.input-suffix > span { position: absolute; right: 12px; top: 11px; color: #6e7c85; font-size: 11px; }
.form-actions > .field-hint { margin-right: auto; align-self: center; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(250px,1fr); align-items: start; gap: 22px; max-width: 1020px; }
.settings-layout .panel + .panel { margin-top: 0; }
.settings-layout .profile-preview { margin: 25px 25px 0; padding-bottom: 22px; }
.settings-layout .profile-preview strong { font-size: 16px; display: block; font-weight: 500; }
.settings-layout .profile-preview span { display: block; color: #65727a; font-size: 12px; margin-top: 4px; }
.settings-layout .form-grid { padding: 24px 25px 25px; }
.field-wide { grid-column: 1 / -1; }
.field .timezone-select { margin-top: 0; }
.workspace-info { padding: 25px; }
.workspace-info .info-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; background: #e5edf2; color: #658396; margin-bottom: 18px; }
.workspace-info h2 { font-size: 16px; font-weight: 500; letter-spacing: -.3px; margin-bottom: 10px; }
.workspace-info p { font-size: 12px; color: #5f6e78; line-height: 1.85; }
.workspace-info .info-divider { height: 1px; background: #dfe8ed; margin: 20px 0; }
.workspace-info .pill { margin-top: 20px; font-size: 9px; white-space: normal; }
.color-fieldset { border: 0; margin: 22px 0 0; padding: 0; }
.color-options { display: flex; align-items: center; gap: 11px; }
.color-options .color-option { position: relative; width: 26px; height: 26px; border: 0; box-shadow: none; }
.color-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.color-option input:focus-visible + span { outline: 3px solid #425d6e; outline-offset: 4px; }
.color-option > span:not(.sr-only) { display: flex; align-items: center; justify-content: center; border-radius: 50%; width: 100%; height: 100%; border: 1px solid transparent; }
.color-option svg { display: none; width: 15px; height: 15px; color: #fff; }
.color-option input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #74838d; }
.color-option input:checked + span svg { display: block; }
.modal-open { overflow: hidden; }
.modal-body > .form-grid { margin: 22px 0; }
.boot-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }
.boot-screen .brand-name { color: var(--ink); }
.boot-screen .brand-caption { color: #6f7d86; }
.boot-screen .loading-state, .boot-screen .error-state { min-height: 160px; }
.spinner { display: inline-block; width: 25px; height: 25px; border: 2px solid #d9e2e8; border-top-color: var(--coral); border-radius: 50%; animation: orbit 1s linear infinite; margin-bottom: 15px; }
.spinner.small { width: 15px; height: 15px; margin-bottom: 0; }
.booking-brand > span { font-size: 11px; color: #65727a; border-left: 1px solid #d4dee4; margin-left: 15px; padding-left: 22px; }
.booking-brand .brand { padding: 0; }
.booking-brand .brand-caption { display: none; }
.host-name { display: block; color: #62717b; font-size: 11px; margin-bottom: 13px; }
.booking-facts > p { display: flex; align-items: flex-start; gap: 9px; }
.booking-summary-footer { display: flex; align-items: flex-start; gap: 12px; margin-top: 35px; padding-top: 23px; border-top: 1px solid #dce6ec; color: #637580; font-size: 11px; line-height: 1.8; }
.booking-description { margin-top: 0; }
.date-time-grid { display: grid; grid-template-columns: minmax(0,1fr) 148px; gap: 24px; align-items: start; }
.date-time-grid .calendar-grid { gap: 8px 3px; }
.calendar-day { width: 38px; height: 38px; min-height: 0; max-height: none; justify-self: center; }
.previous-month svg { transform: rotate(180deg); }
.calendar-header .icon-button { width: 26px; height: 26px; padding: 5px; color: #697b87; background: #edf3f6; margin-left: 5px; }
.calendar-header .icon-button:disabled { opacity: .4; }
.time-selection { border-left: 1px solid #e6edf1; padding-left: 18px; }
.time-selection h3 { font-size: 12px; font-weight: 500; margin-top: 4px; }
.slots-subtitle { font-size: 9px; color: #62727c; margin: 5px 0 17px; }
.date-time-grid .slot-grid { grid-template-columns: 1fr; max-height: 293px; overflow-y: auto; gap: 7px; padding: 2px 3px 3px 1px; }
.slot-button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.slot-button svg { width: 13px; height: 13px; }
.slot-button.is-current { background: #f1f3f4; border-style: dashed; border-color: #b6babd; color: #5f6163; cursor: default; }
.slot-button.is-current small { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.time-selection .slots-empty { display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; font-size: 11px; padding: 13px 3px; }
.time-selection .slots-empty > svg { width: 21px; height: 21px; color: #8395a0; }
.time-selection .slots-empty span { font-size: 10px; line-height: 1.7; }
.time-selection .error-state { min-height: 150px; }
.slot-loading { min-height: 170px; padding: 15px 3px; font-size: 10px; }
.booking-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 23px; margin-top: 25px; border-top: 1px solid #e0e9ee; }
.booking-reassurance { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: #5c707c; }
.booking-reassurance svg { width: 12px; height: 12px; }
.booking-footer { display: flex; align-items: center; justify-content: center; gap: 25px; }
.booking-footer strong { font-weight: 500; color: #465d6b; }
.back-link { display: flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 16px; border: 0; background: none; font-size: 10px; color: #5a6d79; }
.back-link svg { width: 14px; height: 14px; transform: rotate(180deg); }
.booking-privacy { font-size: 10px; color: #62747f; line-height: 1.75; margin-top: -3px; }
.optional { font-size: 10px; font-weight: 400; color: #67757d; margin-left: 2px; }
.booking-form .booking-actions { margin-top: 0; }
.booking-form .booking-actions > .field-hint { font-size: 10px; }
.booking-success.success-card { width: min(630px,100%); min-height: 610px; margin: 0 auto; padding: 38px 35px; border: 1px solid #d9e3e9; border-radius: 18px; background: #fff; box-shadow: 0 15px 55px #1b34350b; }
.confirmation-card { width: 100%; max-width: 385px; text-align: left; padding: 20px 23px; margin: 25px 0 24px; border: 1px solid #dce6ec; border-radius: 10px; background: #f4f7f9; }
.booking-success .confirmation-card h2 { font-size: 16px; font-weight: 500; margin-bottom: 10px; letter-spacing: -.3px; }
.confirmation-card .confirmation-detail { font-size: 11px; padding: 6px 0; overflow-wrap: anywhere; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.confirmation-reference { color: #667781; font-size: 9px; margin-top: 15px; }
.success-icon.cancelled { background: #f9ede8; color: #b5745f; box-shadow: 0 0 0 9px #fcf7f4; }
.booking-state { min-height: 400px; }

@media (min-width: 1500px) {
  .page-content { padding: 43px 60px 65px; }
  .event-grid { gap: 25px; }
  .event-card { min-height: 295px; }
  .topbar { padding: 0 60px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 213px; padding-left: 15px; padding-right: 15px; }
  .main-content { margin-left: 213px; width: calc(100% - 213px); }
  .topbar { padding-left: 29px; padding-right: 29px; }
  .page-content { padding: 31px 29px 45px; }
  .main-content > .page-header, .main-content > .summary-grid, .main-content > .toolbar, .main-content > .event-grid, .main-content > .panel, .main-content > .availability-layout, .main-content > .settings-layout, .main-content > .meeting-list, .main-content > .tabs { margin-left: 29px; margin-right: 29px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .availability-layout { grid-template-columns: minmax(0,1.5fr) minmax(250px,1fr); gap: 18px; }
  .week-days { padding-left: 18px; padding-right: 18px; }
  .day-name { width: 78px; flex-basis: 78px; }
  .day-name .day-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .day-name .day-short { display: inline; }
  .day-row { gap: 10px; }
  .time-input { width: 78px; padding: 7px 5px; }
  .summary-card { padding: 16px; gap: 12px; }
  .summary-icon { width: 35px; height: 35px; }
  .stat-icon { width: 35px; height: 35px; }
  .stat strong > span { display: none; }
  .schedule-days { padding-left: 18px; padding-right: 18px; }
  .schedule-zone { margin-left: 18px; margin-right: 18px; }
  .time-input { flex-basis: 82px; }
}
@media (max-width: 1000px) {
  .availability-layout { grid-template-columns: 1fr; }
  .preferences-panel .panel-body, .preferences-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .preference-note { grid-column: 1 / -1; }
  .day-name { width: 110px; flex-basis: 110px; }
  .day-name .day-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .day-name .day-short { display: none; }
  .time-input { width: 110px; padding: 7px 10px; }
  .summary-grid { gap: 12px; }
  .summary-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 17px; }
  .summary-card > svg { display: none; }
  .page-title { font-size: 28px; }
  .header-actions .btn { font-size: 11px; padding: 8px 12px; }
  .header-actions { gap: 7px; }
  .meeting-actions { flex-direction: column; align-items: flex-end; }
  .booking-layout { grid-template-columns: 280px minmax(0,1fr); }
  .booking-summary { padding: 30px 25px; }
  .booking-main { padding: 30px 25px; }
  .settings-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 18px; }
  .settings-layout .form-grid { grid-template-columns: 1fr; }
  .date-time-grid { grid-template-columns: minmax(0,1fr) 125px; gap: 15px; }
  .time-selection { padding-left: 14px; }
  .date-time-grid .calendar-day { width: 30px; height: 30px; font-size: 11px; }
  .time-input { flex-basis: 110px; }
}
@media (max-width: 780px) {
  .sidebar { width: 77px; padding: 25px 11px 19px; align-items: center; }
  .brand, .sidebar-brand { padding: 0; }
  .sidebar .brand-name, .sidebar .brand-caption, .nav-item .nav-label, .nav-item > span:not(.nav-icon), .sidebar-note, .sidebar-tip, .profile-chip > div:not(.avatar), .profile-chip > svg { display: none; }
  .sidebar-nav { width: 100%; margin-top: 34px; gap: 10px; }
  .nav-item { justify-content: center; padding: 12px 9px; font-size: 0; gap: 0; }
  .nav-item .nav-icon { font-size: initial; }
  .sidebar-bottom, .sidebar-footer { width: 100%; }
  .profile-chip { justify-content: center; padding-top: 18px; }
  .main-content { margin-left: 77px; width: calc(100% - 77px); }
  .topbar { min-height: 68px; padding: 0 24px; }
  .topbar-actions > span:not(.avatar), .workspace-badge { display: none; }
  .topbar-profile .profile-name { display: none; }
  .page-content { padding: 28px 24px 40px; }
  .main-content > .page-header, .main-content > .summary-grid, .main-content > .toolbar, .main-content > .event-grid, .main-content > .panel, .main-content > .availability-layout, .main-content > .settings-layout, .main-content > .meeting-list, .main-content > .tabs { margin-left: 24px; margin-right: 24px; }
  .page-header { align-items: flex-start; flex-direction: column; gap: 19px; }
  .summary-grid { margin-bottom: 26px; }
  .event-grid { gap: 15px; }
  .event-card-top { margin-left: 18px; margin-right: 18px; }
  .event-card h2, .event-title { margin-left: 18px; margin-right: 18px; font-size: 16px; }
  .event-description, .event-meta { margin-left: 18px; margin-right: 18px; }
  .event-meta { gap: 9px; }
  .event-card-footer { padding: 11px 12px; }
  .event-card-footer .btn { padding: 6px 7px; font-size: 10px; }
  .booking-page { padding-top: 25px; }
  .booking-layout { grid-template-columns: 245px minmax(0,1fr); }
  .booking-event-title, .booking-summary h1 { font-size: 25px; }
  .calendar-grid { gap: 6px 2px; }
  .calendar-day { min-height: 26px; font-size: 11px; }
  .workspace-label { display: none; }
  .workspace-label + .sidebar-nav { margin-top: 34px; }
  .sidebar-bottom .profile-chip { padding-right: 0; }
  .sidebar-settings { display: none; }
  .settings-layout { grid-template-columns: 1fr; }
  .stat strong > span { display: none; }
  .time-input { min-height: 36px; }
}
@media (max-width: 640px) {
  .sidebar { width: 100%; height: auto; bottom: auto; flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 17px; border-bottom: 1px solid #30454b; }
  .sidebar .brand-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .sidebar .brand-name { display: block; font-size: 20px; }
  .sidebar .brand-caption { display: none; }
  .brand, .sidebar-brand { gap: 8px; }
  .sidebar-nav { flex-direction: row; gap: 4px; margin-top: 0; width: auto; }
  .workspace-label + .sidebar-nav { margin-top: 0; }
  .nav-item { padding: 9px; width: 35px; height: 35px; }
  .nav-item.is-active, .nav-item.active { box-shadow: inset 0 -2px 0 var(--coral); }
  .nav-icon svg { width: 18px; height: 18px; }
  .sidebar > .sidebar-bottom, .sidebar-bottom, .sidebar-footer { display: none; }
  .main-content { width: 100%; margin-left: 0; padding-top: 59px; }
  .topbar { min-height: 54px; padding: 0 20px; }
  .breadcrumb { font-size: 11px; gap: 8px; }
  .topbar-actions { gap: 11px; }
  .topbar .avatar { width: 26px; height: 26px; font-size: 9px; }
  .page-content { padding: 27px 20px 35px; }
  .main-content > .page-header, .main-content > .summary-grid, .main-content > .toolbar, .main-content > .event-grid, .main-content > .panel, .main-content > .availability-layout, .main-content > .settings-layout, .main-content > .meeting-list, .main-content > .tabs { margin-left: 20px; margin-right: 20px; }
  .main-content > .page-header { margin-top: 27px; }
  .page-title { font-size: 29px; }
  .page-description { max-width: 310px; font-size: 12px; line-height: 1.75; }
  .page-header { margin-bottom: 24px; }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; justify-content: center; }
  .summary-grid { gap: 8px; }
  .summary-card { padding: 12px; gap: 9px; border-radius: 9px; }
  .summary-icon { width: 31px; height: 31px; border-radius: 8px; }
  .summary-icon svg { width: 17px; height: 17px; }
  .stat-icon { width: 31px; height: 31px; }
  .stat-icon svg { width: 17px; height: 17px; }
  .stat-label { font-size: 9px; }
  .stat strong { font-size: 21px; }
  .summary-label { font-size: 9px; }
  .summary-value { font-size: 21px; }
  .summary-value small { display: none; }
  .toolbar { gap: 10px; }
  .search-field { width: min(245px, 68%); }
  .toolbar-meta { font-size: 10px; gap: 7px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .search-field { width: 100%; }
  .toolbar h2 { font-size: 15px; }
  .toolbar .tabs { margin-bottom: 5px; }
  .event-grid { grid-template-columns: 1fr; gap: 17px; }
  .event-card { min-height: 253px; }
  .event-card h2, .event-title { font-size: 18px; }
  .event-card-top { margin: 20px 22px 15px; }
  .event-card h2, .event-title, .event-description, .event-meta { margin-left: 22px; margin-right: 22px; }
  .event-card-footer { padding: 11px 18px; }
  .event-card-footer .btn { padding: 6px 10px; font-size: 11px; }
  .event-create-card { min-height: 150px; }
  .link-banner { flex-direction: column; align-items: flex-start; padding: 19px; gap: 13px; }
  .link-banner-icon { margin-right: 13px; }
  .link-banner > .btn { width: 100%; }
  .helper-banner { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .helper-banner .btn { margin-left: 0; width: 100%; }
  .meeting-row { align-items: flex-start; gap: 14px; padding: 19px 17px; flex-wrap: wrap; }
  .meeting-date { width: 47px; flex-basis: 47px; min-height: 58px; }
  .meeting-content { flex-basis: calc(100% - 70px); }
  .meeting-actions { flex-direction: row; justify-content: flex-end; width: 100%; margin-top: 1px; }
  .meeting-content .meeting-meta { gap: 7px 11px; }
  .tabs { gap: 0; }
  .tab { font-size: 11px; padding-left: 12px; padding-right: 12px; }
  .panel-header { padding: 19px; }
  .panel-body, .settings-layout .panel-body { padding: 20px; }
  .week-days { padding: 3px 17px; }
  .day-row { gap: 9px; }
  .day-name { width: 66px; flex-basis: 66px; font-size: 11px; gap: 6px; }
  .day-name input { width: 13px; height: 13px; }
  .day-name .day-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .day-name .day-short { display: inline; }
  .time-input { width: 79px; font-size: 11px; padding: 7px 5px; }
  .time-input { flex-basis: 79px; }
  .schedule-days { padding-left: 17px; padding-right: 17px; }
  .schedule-zone { margin-left: 17px; margin-right: 17px; }
  .time-interval { gap: 6px; }
  .time-interval .icon-button { width: 26px; height: 26px; padding: 3px; }
  .day-row > .icon-button { flex-basis: 23px; width: 23px; padding: 3px; }
  .preferences-panel .panel-body, .preferences-body { grid-template-columns: 1fr; padding: 21px; }
  .preference-note { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .form-field.full-width, .span-2 { grid-column: auto; }
  .form-actions { flex-wrap: wrap; }
  .form-actions > .field-hint { width: 100%; }
  .settings-layout .form-grid { padding-left: 20px; padding-right: 20px; }
  .settings-layout .profile-preview { margin-left: 20px; margin-right: 20px; }
  .modal-backdrop { padding: 14px; }
  .modal { max-height: calc(100dvh - 28px); border-radius: 12px; }
  .modal-header { padding: 20px; }
  .modal-body { padding: 22px 20px; }
  .modal-footer { padding: 16px 20px; }
  #toast-container { left: 17px; right: 17px; bottom: 17px; }
  .toast { max-width: none; font-size: 11px; }
  .booking-page { padding: 23px 16px; }
  .booking-brand { margin-bottom: 24px; }
  .booking-brand > span { display: none; }
  .booking-layout { grid-template-columns: 1fr; border-radius: 14px; }
  .booking-summary { border-right: 0; border-bottom: 1px solid #e5ebee; padding: 25px; }
  .booking-summary .avatar { width: 35px; height: 35px; margin-bottom: 14px; }
  .booking-summary h1, .booking-event-title { font-size: 26px; margin-bottom: 14px; }
  .booking-facts { flex-direction: row; flex-wrap: wrap; gap: 13px 20px; font-size: 11px; margin-top: 16px; }
  .booking-description { margin: 17px 0 0; font-size: 11px; }
  .booking-note { display: none; }
  .booking-summary-footer { display: none; }
  .booking-main { padding: 27px 25px; }
  .calendar-grid { gap: 8px 5px; }
  .calendar-day { min-height: 34px; font-size: 12px; }
  .date-time-grid { grid-template-columns: 1fr; gap: 25px; }
  .date-time-grid .calendar-day { width: 36px; height: 36px; min-height: 36px; font-size: 12px; }
  .date-time-grid .calendar-grid { gap: 8px 3px; }
  .time-selection { border-left: 0; border-top: 1px solid #dfe8ed; padding-left: 0; padding-top: 20px; }
  .date-time-grid .slot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-height: 230px; }
  .slots-subtitle { margin-bottom: 13px; }
  .booking-actions { flex-wrap: wrap; margin-top: 20px; gap: 15px; }
  .booking-actions .btn { margin-left: auto; }
  .booking-reassurance { font-size: 10px; }
  .booking-footer > span + span { display: none; }
  .booking-success.success-card { padding: 35px 22px; min-height: 580px; border-radius: 13px; }
  .calendar-weekday { font-size: 10px; }
  .booking-success { min-height: 380px; padding: 10px 0; }
  .booking-success h1, .booking-success h2 { font-size: 26px; }
  .success-details { margin-top: 23px; }
  .calendar-layout { grid-template-columns: minmax(0,1fr) 120px; gap: 14px; }
  .calendar-layout .calendar-day { min-height: 25px; font-size: 10px; }
  .calendar-layout .calendar-grid { gap: 6px 3px; }
}
@media (max-width: 380px) {
  .sidebar { padding-left: 12px; padding-right: 10px; }
  .sidebar .brand-name { font-size: 18px; }
  .nav-item { width: 32px; padding: 8px; }
  .day-name { width: 58px; flex-basis: 58px; }
  .time-input { width: 70px; padding: 7px 4px; }
  .time-input { flex-basis: 70px; }
  .schedule-days { padding-left: 13px; padding-right: 13px; }
  .week-days { padding-left: 13px; padding-right: 13px; }
  .time-interval { gap: 4px; }
  .booking-main, .booking-summary { padding-left: 20px; padding-right: 20px; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .date-time-grid .slot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .date-time-grid .calendar-day { width: 30px; height: 30px; min-height: 30px; }
  .booking-actions .btn { width: 100%; }
  .booking-reassurance { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .sidebar .brand-caption, .workspace-label { display: none; }
  .sidebar { gap: 9px; }
  .sidebar-nav { flex-shrink: 0; }
  .summary-grid { grid-template-columns: 1fr; gap: 9px; }
  .summary-card { min-height: 67px; flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
  .stat-icon { width: 35px; height: 35px; }
  .stat-label { font-size: 10px; margin-bottom: 1px; }
  .stat strong { font-size: 21px; }
  .header-actions .btn { font-size: 11px; }
  .page-title { font-size: 27px; }
  .day-row { display: grid; grid-template-columns: 1fr 24px; gap: 7px; }
  .day-name { width: auto; min-height: 24px; }
  .day-name .day-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .day-name .day-short { display: none; }
  .day-row > .add-interval { grid-column: 2; grid-row: 1; margin-top: 0; }
  .day-row > .interval-list { grid-column: 1 / -1; }
  .time-interval { justify-content: flex-start; gap: 8px; }
  .time-input { flex: 1; width: auto; max-width: 94px; }
  .time-interval .icon-button { flex: 0 0 26px; }
  .event-meta { gap: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------------------
   Ovanova Book: hosted booking, guest manage page and multi-host admin.
   Same palette, type and spacing as the workspace above.
--------------------------------------------------------------------------- */
h1[tabindex="-1"]:focus, main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }
.noscript { max-width: 420px; margin: 40px auto; padding: 0 16px; text-align: center; color: var(--muted); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-float); }
.skip-link:focus { top: 12px; }
.inline-link { color: #2f6f68; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.inline-link:hover { color: #1f514c; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.struck { text-decoration: line-through; text-decoration-color: #b98b80; }
.form-error { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #fff3ef; border: 1px solid #f3d3c9; color: #9c3d2e; font-size: 12px; line-height: 1.6; }
.form-error[hidden] { display: none; }
.optional { font-size: 11px; font-weight: 400; color: #687075; margin-left: 2px; }
.required-mark { color: #b0442f; font-weight: 600; }
.spaced { margin-top: 20px; }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.state-actions .btn { margin-top: 0; }
.error-state.compact, .loading-state.inline-loading { min-height: 220px; padding: 34px 24px; }
.loading-state.page-loading { min-height: 50vh; }
.boot-loading { min-height: 160px; }
.btn-block { width: 100%; }
.icon-button[aria-disabled="true"], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
/* Busy controls stay focusable (aria-disabled, not disabled) so a re-render keeps keyboard focus on them. */
.btn[aria-busy="true"], .switch[aria-busy="true"] { cursor: progress; }
.switch[aria-disabled="true"] { opacity: .6; }
.btn-danger-text { color: #a43b2d; }
.btn-danger-text:hover { background: #fdf0ec; }
.btn[aria-busy="true"] .spinner { border-top-color: currentColor; }
.pill-warning { background: #fdf3e2; color: #7f5514; }
.pill-danger { background: #fdecea; color: #9c3326; }
.pill .icon { width: 12px; height: 12px; }
.avatar-photo { overflow: hidden; background: #e6eaec; }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 9px; font-size: 12px; line-height: 1.65; }
.notice svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.notice-warning { background: #fdf5e7; border: 1px solid #f0dfbb; color: #6c4b12; }
.notice-danger { background: #fff3ef; border: 1px solid #f3d3c9; color: #8f3627; }
.notice-info { background: #eef2f4; border: 1px solid #d6dfe5; color: #2f5b56; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 18px; height: 1px; background: var(--coral); }

/* Public directory and host pages. */
.public-events { width: min(860px, 100%); margin: 0 auto; }
.public-header { text-align: center; margin: 8px 0 32px; }
.public-header h1 { font-size: 32px; font-weight: 500; letter-spacing: -1px; line-height: 1.25; color: var(--ink); }
.public-header p { max-width: 460px; margin: 10px auto 0; }
.host-header .avatar { width: 64px; height: 64px; margin: 0 auto 18px; font-size: 20px; background: #cddde7; color: #40525d; box-shadow: 0 0 0 6px #fff, 0 6px 20px #1b343514; }
.host-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.host-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 16px; background: #fff; border: 1px solid #dce3e7; border-radius: 14px; box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s, border-color .16s; min-width: 0; }
.host-card:hover { transform: translateY(-2px); border-color: #c8d3da; box-shadow: 0 8px 24px #1b34350f; }
.host-card .avatar { width: 46px; height: 46px; font-size: 14px; background: #cddde7; color: #40525d; }
.host-card-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.host-card-text strong { font-size: 15px; font-weight: 600; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-card-text span { font-size: 11px; color: #666f75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-card-arrow { width: 17px; height: 17px; color: #8a949b; }
.public-event-list { display: flex; flex-direction: column; gap: 12px; }
.public-event-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px 20px 26px; background: #fff; border: 1px solid #dce3e7; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transition: transform .16s, box-shadow .16s, border-color .16s; }
.public-event-card:hover { transform: translateY(-2px); border-color: #c8d3da; box-shadow: 0 8px 24px #1b34350f; }
.public-event-card .event-accent { position: absolute; inset: 0 auto 0 0; width: 4px; height: auto; }
.public-event-body { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
.public-event-title { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.public-event-card .event-meta { margin: 0; color: #5f696f; }
.public-event-description { color: #636c71; font-size: 12px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.public-event-chevron { width: 18px; height: 18px; color: #8a949b; }
.booking-footer a { color: #4d5f6a; text-decoration: underline; text-underline-offset: 2px; }

/* Booking flow. */
.booking-summary .host-avatar { width: 43px; height: 43px; font-size: 13px; background: #cddde7; color: #4a5b66; margin-bottom: 18px; }
.booking-summary .host-name { display: inline-block; color: #4f5d66; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.booking-summary .host-name:hover { text-decoration: underline; }
.booking-event-title { position: relative; }
.booking-event-title::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--event-color, var(--coral)); margin-bottom: 14px; }
.booking-description { white-space: pre-line; margin-top: 22px; }
.chosen-time { padding: 12px 13px; border-radius: 10px; background: #eef4f7; border: 1px solid #dbe4ea; color: #3f525d; font-weight: 500; }
.chosen-time small { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #4f5d66; font-weight: 600; margin-bottom: 3px; }
.booking-steps { flex-wrap: wrap; }
.step-line { flex: 0 0 22px; height: 1px; background: #d9e1e6; margin-bottom: 12px; }
.booking-step svg { width: 12px; height: 12px; }
.booking-step.complete { color: #4e6776; }
.calendar-nav { display: flex; }
.calendar-header .icon-button[aria-disabled="true"] { opacity: .35; }
.calendar-grid.is-loading .calendar-day { opacity: .55; }
.calendar-day.is-unavailable:hover { background: #f1f4f6; }
.calendar-day:focus-visible { outline-offset: 2px; }
.calendar-status { margin-top: 12px; font-size: 11px; color: #5f6a71; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.calendar-error { color: #9c3d2e; }
.text-button { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.time-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.time-heading h3 { margin-top: 0; }
.hour-toggle { display: inline-flex; padding: 2px; border-radius: 7px; background: #edf1f4; }
.hour-toggle button { border: 0; background: transparent; padding: 3px 7px; border-radius: 5px; font-size: 10px; color: #5f6a71; min-height: 24px; }
.hour-toggle button[aria-pressed="true"] { background: #fff; color: #2d3f4b; font-weight: 600; box-shadow: 0 1px 2px #1b343522; }
.slots-subtitle { font-size: 10px; }
.slot-notice { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; padding: 9px 10px; border-radius: 8px; background: #fff3ef; border: 1px solid #f3d3c9; color: #8f3627; font-size: 11px; line-height: 1.55; }
.slot-notice svg { width: 15px; height: 15px; flex-shrink: 0; }
.slot-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #5f6a71; }
.slots-error .btn { margin-top: 4px; }
.slots-empty > svg { width: 21px; height: 21px; color: #8395a0; }
.time-selection > .slots-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 30px 6px; }
.tz-picker { position: relative; margin-top: 22px; }
.tz-picker .field-label { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #5f6a71; font-weight: 500; margin-bottom: 6px; }
.tz-picker .field-label svg { width: 14px; height: 14px; }
.tz-button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #d9e2e8; border-radius: 8px; background: #f8fafc; text-align: left; }
.tz-button:hover { border-color: #c1cdd4; }
.tz-button > svg { width: 15px; height: 15px; color: #6f7c84; margin-left: auto; }
.tz-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.tz-current strong, .tz-option strong { font-weight: 600; color: var(--ink); }
.tz-current small, .tz-option small { color: #666f75; font-size: 10px; }
.tz-meta { flex-shrink: 0; color: #5f6a71; font-size: 10px; white-space: nowrap; }
.booking-layout { overflow: visible; }
.booking-summary { border-radius: 18px 0 0 18px; }
.tz-panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); padding: 8px; background: #fff; border: 1px solid #d8e1e6; border-radius: 11px; box-shadow: var(--shadow-float); }
.tz-panel .field-input { min-height: 38px; font-size: 12px; }
.tz-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 260px; overflow-y: auto; }
.tz-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px; border-radius: 7px; cursor: pointer; font-size: 12px; }
.tz-option > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-option:hover, .tz-option.is-active { background: #e8eff4; }
.tz-option[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--coral); }
.tz-empty { padding: 14px 9px; color: #666f75; font-size: 12px; }
.booking-reassurance { font-size: 10px; }
.booking-form .form-field + .form-field { margin-top: 0; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { min-height: 65px; }
.turnstile-widget { max-width: 100%; }
.booking-privacy { margin-top: 0; }

/* Confirmation and manage page. */
.booking-success h1:focus { outline: none; }
.success-description { color: #5f696f; font-size: 13px; line-height: 1.75; max-width: 420px; }
.success-icon.past { background: #eef1f6; color: #5b6b87; box-shadow: 0 0 0 9px #f7f9fb; }
.confirmation-card h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.detail-zone { color: #5f696f; font-size: 10px; }
.success-actions .btn { white-space: normal; }
.manage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; padding-top: 16px; border-top: 1px solid #e8eef1; width: 100%; max-width: 420px; }
.manage-link-box { width: 100%; max-width: 420px; margin-top: 22px; text-align: left; }
.booking-success > .calendar-copy-hint { max-width: 420px; margin: -4px 0 13px; font-size: 11px; }
.booking-success > .manage-hint { max-width: 420px; margin: 10px 0 0; font-size: 11px; text-align: center; }
.bookings-closed-notice { margin: 0 0 18px; }
.schedule-zone .zone-note { margin-top: 10px; }
.overrides-panel .override-limit { padding-bottom: 0; color: #7f5514; }
.copy-row { display: flex; gap: 8px; }
.copy-row .field-input { min-width: 0; font-size: 11px; color: #4f5b63; background: #f7f9fb; }
.copy-row .btn { flex-shrink: 0; }
.reschedule-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 6px 0 4px; }
.compare-card { display: flex; flex-direction: column; gap: 3px; padding: 15px 16px; border-radius: 11px; border: 1px solid #dce4e9; background: #f7f9fb; font-size: 12px; color: #5f696f; min-width: 0; }
.compare-card strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.compare-card.is-old strong, .compare-card.is-old span:last-child { text-decoration: line-through; text-decoration-color: #c4a196; }
.compare-card.is-new { background: #edf3f6; border-color: #c6d6e0; }
.compare-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #59646b; }
.compare-arrow { width: 18px; height: 18px; color: #8a949b; }

/* Admin shell additions. */
.sidebar .brand-caption { letter-spacing: 1.6px; }
.nav-label { min-width: 0; }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-left: auto; }
.sidebar-bottom .avatar, .profile-chip .avatar { width: 36px; height: 36px; }
.profile-chip > div:not(.avatar) > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #4f5b63; font-weight: 500; padding: 7px 10px; border-radius: 7px; }
.topbar-link:hover { background: #ebeff1; }
.topbar-link svg { width: 15px; height: 15px; }
.topbar-avatar { display: inline-flex; border-radius: 50%; }
.topbar-avatar .avatar { width: 31px; height: 31px; font-size: 10px; background: #e9edf0; color: #525c62; }
.banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 43px 0; padding: 13px 16px; border-radius: 11px; font-size: 12px; line-height: 1.6; }
.banner > svg { width: 19px; height: 19px; flex-shrink: 0; }
.banner p { flex: 1; min-width: 220px; }
.banner-warning { background: #fdf5e7; border: 1px solid #f0dfbb; color: #6c4b12; }
.banner-info { background: #eef2f4; border: 1px solid #d6dfe5; color: #2f5b56; }
.banner-danger { background: #fff3ef; border: 1px solid #f3d3c9; color: #8f3627; }
.main-content:focus { outline: none; }
.toolbar .timezone-note { margin-bottom: 0; }
.event-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.event-card .event-icon svg { width: 20px; height: 20px; }
.event-card-footer .switch { margin-left: auto; }
.empty-state.panel { min-height: 260px; }
.event-grid > .empty-state { grid-column: 1 / -1; }
.load-more { display: flex; justify-content: center; margin-top: 18px; }
.meeting-actions .btn-ghost svg { width: 14px; height: 14px; }
.meeting-row.is-cancelled h3 { color: #6c7174; }
.panel-body p { font-size: 12px; color: #5f696f; line-height: 1.75; }
.panel-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.panel-actions > .field-hint { margin: 0 auto 0 0; }
.panel-actions.stacked { justify-content: flex-start; }
.panel-empty { padding: 4px 0; color: #5f696f; font-size: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.panel-empty .spinner { margin: 0; }
.overrides-panel .panel-empty { padding: 20px 25px; }

/* Modal content: event editor, choices, questions, drawer. */
.modal.event-modal { max-width: 680px; }
.modal-header .eyebrow { margin-bottom: 4px; }
.form-fieldset { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.form-fieldset > .field-hint:first-of-type { margin: -2px 0 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid #dbdee0; border-radius: 8px; background: #fff; font-size: 12px; color: #45555a; transition: border-color .15s, background .15s; }
.choice-chip span svg { width: 16px; height: 16px; color: #6f7c84; }
.choice-chip input:checked + span { border-color: #648599; background: #edf3f6; color: #2d3f4b; box-shadow: inset 0 0 0 1px #648599; }
.choice-chip input:focus-visible + span { outline: 3px solid #32918a; outline-offset: 2px; }
.fieldset-gap { margin-top: 14px; }
.form-fieldset .form-field.spaced { margin-top: 14px; }
.slug-preview { overflow-wrap: anywhere; }
.slug-preview strong { color: #3e4f5a; font-weight: 600; }
.compact-grid { gap: 16px 18px; }
.question-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.question-row { display: flex; gap: 10px; align-items: flex-start; padding: 13px; border: 1px solid #dde4e8; border-radius: 10px; background: #f9fbfc; }
.question-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.question-options { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.question-options select { width: auto; min-width: 150px; min-height: 36px; padding: 6px 10px; font-size: 12px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #45555a; }
.checkbox-label input, .checkbox-row input { accent-color: var(--teal); width: 15px; height: 15px; }
.question-tools { display: flex; flex-direction: column; gap: 2px; padding-top: 22px; }
.switch-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 13px 14px; border: 1px solid #dde4e8; border-radius: 10px; background: #f9fbfc; cursor: pointer; }
.switch-row span { display: flex; flex-direction: column; font-size: 12px; }
.switch-row strong { font-weight: 600; color: var(--ink); }
.switch-row small { color: #666f75; font-size: 11px; }
input.switch:focus-visible { outline: 3px solid #32918a; outline-offset: 3px; }
.color-option[data-color] { background: var(--event-color); }
.color-fieldset .color-options { flex-wrap: wrap; }
.drawer-backdrop { justify-content: flex-end; align-items: stretch; padding: 0; }
.modal.drawer { display: flex; flex-direction: column; max-width: 470px; height: 100dvh; max-height: 100dvh; border-radius: 16px 0 0 16px; animation: drawer-in .2s ease; }
.drawer .modal-header { align-items: flex-start; }
.drawer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 27px 26px; }
.drawer form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-list { margin: 0; display: flex; flex-direction: column; }
.drawer-row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eaeef1; }
.drawer-row:last-child { border-bottom: 0; }
.drawer-row > svg { width: 17px; height: 17px; color: #7d8b93; margin-top: 2px; }
.drawer-row > div { min-width: 0; }
.drawer-row dt { font-size: 11px; font-weight: 600; color: #5f696f; margin-bottom: 3px; }
.drawer-row dd { margin: 0; font-size: 13px; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.drawer-sub { display: block; font-size: 11px; color: #5f696f; margin-top: 4px; }
.drawer .notice { margin-top: 14px; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Availability. */
.time-input { appearance: auto; }
select.time-input { width: 118px; flex: 0 1 118px; padding: 7px 6px; }
.week-panel .schedule-zone select { min-height: 40px; }
.preferences-body { display: flex; flex-direction: column; gap: 20px; padding: 22px 24px 24px; }
.preferences-body .availability-tip { margin: 0; }
.overrides-panel { margin-top: 22px; }
.override-list { list-style: none; margin: 0; padding: 4px 25px; }
.override-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e9edf0; }
.override-row:last-child { border-bottom: 0; }
.override-row > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; }
.override-row strong { font-weight: 600; }
.override-row span { color: #5f696f; overflow-wrap: anywhere; }
.override-tools { display: flex; gap: 2px; flex-shrink: 0; }
.override-ranges { margin: 14px 0 12px; }
.save-bar { align-items: center; flex-wrap: wrap; padding-bottom: 16px; }
.save-bar.is-dirty { position: sticky; bottom: 0; z-index: 5; background: #f3faff; border-top-color: #bfe3f7; margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
.save-bar .field-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 0; }
.save-bar .field-hint svg { width: 14px; height: 14px; color: #00587f; }
.save-bar .form-error { flex-basis: 100%; order: 5; margin-top: 0; }

/* Settings. */
.settings-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.settings-panel .panel-body { padding: 22px 25px 24px; }
.settings-panel > .form-actions { margin: 0 25px; padding-bottom: 22px; }
.settings-panel .form-error { margin: 0 25px; }
.input-with-prefix:focus-within { border-color: #478880; box-shadow: 0 0 0 3px #e4ecf1; }
.input-with-prefix .field-input:focus-visible { box-shadow: none; }
/* Block (not flex) so a long host name ends in an ellipsis instead of being cut mid-character. */
.input-with-prefix span { display: block; flex: 0 1 auto; min-width: 0; max-width: 60%; line-height: 42px; overflow: hidden; text-overflow: ellipsis; }
.input-with-prefix .field-input { flex: 1 1 0; width: auto; min-width: 7em; }
.calendar-checklist { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 12px; }
.checkbox-row:hover { background: #f1f5f7; }
.checkbox-row input { margin-top: 2px; flex-shrink: 0; }
.checkbox-row span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.checkbox-row strong { font-weight: 500; }
.checkbox-row .form-error { flex-basis: 100%; margin-top: 4px; padding: 6px 9px; }
.share-url { font-weight: 600; color: var(--ink) !important; overflow-wrap: anywhere; }
.workspace-info .panel-actions { margin-top: 14px; }

/* Sign in. */
.signin-screen { padding: 24px 16px; background: radial-gradient(ellipse at 0% 0%, #e6ecf0 0, transparent 44%), radial-gradient(ellipse at 100% 85%, #e3f4ff 0, transparent 37%), var(--canvas); }
.signin-card { width: min(440px, 100%); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.signin-card h1 { font-size: 24px; font-weight: 600; letter-spacing: -.6px; line-height: 1.3; }
.signin-card > p { color: #5f696f; font-size: 13px; line-height: 1.7; }
.signin-card .eyebrow { margin-bottom: 0; }
.btn-google { min-height: 46px; background: #fff; color: #1f1f1f; border-color: #c8cccf; font-size: 13px; gap: 11px; }
.btn-google:hover { background: #f6f8fa; border-color: #9fa8ad; }
.btn-google .google-mark { width: 18px; height: 18px; }
.import-notes-modal .modal-body { display: flex; flex-direction: column; gap: 14px; max-height: min(60vh, 520px); overflow-y: auto; }
.import-notes-modal .modal-body > p { font-size: 13px; color: #5f696f; line-height: 1.6; }
.import-notes { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.import-notes > li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.import-notes strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.import-notes ul { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.6; color: #4f5b63; }
.dev-signin { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; border-top: 1px dashed var(--line); }
.dev-signin .copy-row .field-input { font-size: 13px; color: inherit; background: #fff; }
.signin-foot { font-size: 12px; color: #5f696f; padding-top: 12px; border-top: 1px solid var(--line); }

@media (max-width: 1200px) {
  .banner { margin-left: 29px; margin-right: 29px; }
  select.time-input { width: 104px; flex-basis: 104px; }
}
@media (max-width: 1000px) {
  .preferences-body { display: grid; grid-template-columns: 1fr 1fr; }
  .preferences-body .availability-tip { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .banner { margin-left: 24px; margin-right: 24px; }
  .topbar-link span { display: none; }
  .nav-dot { position: absolute; top: 6px; right: 6px; }
  .nav-item { position: relative; }
}
@media (max-width: 640px) {
  .banner { margin: 14px 16px 0; }
  .page-content { padding-left: 16px; padding-right: 16px; }
  .topbar { padding: 0 16px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .nav-count { display: none; }
  .public-header h1 { font-size: 26px; }
  .host-grid { grid-template-columns: 1fr; }
  .public-event-card { padding: 17px 16px 17px 20px; gap: 10px; }
  .booking-page { padding-left: 16px; padding-right: 16px; }
  .booking-main, .booking-summary { padding-left: 18px; padding-right: 18px; }
  .booking-summary { border-radius: 14px 14px 0 0; }
  .booking-summary .host-avatar { margin-bottom: 12px; }
  .booking-description { margin-top: 14px; }
  .date-time-grid .slot-grid { max-height: none; }
  .tz-panel { position: static; margin-top: 8px; box-shadow: none; }
  .booking-success.success-card { padding: 30px 18px; }
  .copy-row { flex-direction: column; }
  .reschedule-compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  .modal.drawer { max-width: 100%; border-radius: 0; }
  .drawer-body { padding: 18px 18px 22px; }
  .question-row { padding: 11px; }
  .question-tools { flex-direction: row; padding-top: 0; }
  .question-row { flex-direction: column; align-items: stretch; }
  .question-tools { align-self: flex-end; }
  .preferences-body { grid-template-columns: 1fr; }
  .override-list { padding: 4px 18px; }
  .settings-panel .panel-body { padding: 18px 20px 20px; }
  .settings-panel > .form-actions { margin: 0 20px; }
  .settings-panel .form-error { margin: 0 20px; }
  .save-bar.is-dirty { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .input-with-prefix { flex-direction: column; }
  .input-with-prefix span { max-width: none; line-height: 1.4; border-right: 0; border-bottom: 1px solid #dbdee0; padding: 7px 12px; }
  .input-with-prefix .field-input { flex: 0 0 auto; width: 100%; }
  .meeting-actions { gap: 6px; }
  .signin-card { padding: 26px 20px; }
}
@media (max-width: 400px) {
  select.time-input { flex: 1; width: auto; max-width: none; min-width: 0; }
  .booking-main, .booking-summary { padding-left: 16px; padding-right: 16px; }
  .date-time-grid .calendar-day { width: 32px; height: 32px; min-height: 32px; }
  .hour-toggle button { padding: 3px 6px; }
}
.settings-layout .profile-preview .avatar { display: flex; margin-top: 0; font-size: 18px; color: #4b342d; }
.choice-row + .field-hint { margin-top: 8px; }
legend.field-label { padding: 0; }

/* ---------------------------------------------------------------------------
   The Ovanova sigil and mission, and guest files (booking form, manage page, admin drawer).
--------------------------------------------------------------------------- */
.mission { display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.mission p, .public-header .mission p { margin: 0; max-width: none; font-size: 11px; line-height: 1.75; color: #5f696f; }
.mission-sigil { display: block; width: 24px; height: 24px; flex: 0 0 24px; margin-top: 2px; }
.mission-label { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #00587f; }
.directory-mission { max-width: 520px; margin: 24px auto 0; padding: 15px 18px; background: #fff; border: 1px solid #dce3e7; border-radius: 14px; box-shadow: var(--shadow); }
.booking-footer { flex-direction: column; gap: 16px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 25px; }
.footer-mission { max-width: 540px; gap: 10px; }
.footer-mission .mission-sigil { width: 20px; height: 20px; flex-basis: 20px; }
.footer-mission p { font-size: 10px; color: #666f75; }
.footer-mission .mission-label { font-size: 9px; }
@media (min-width: 641px) {
  .footer-mission.narrow-only { display: none; }
}
@media (max-width: 640px) {
  .booking-summary-footer.mission { display: none; }
  .directory-mission { margin-top: 20px; padding: 13px 14px; }
}

.file-picker { position: relative; display: inline-flex; flex-shrink: 0; }
.file-picker label { cursor: pointer; }
/* The input stays in the tab order (Space/Enter opens the file dialog); its label shows the focus. */
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.file-input:focus-visible + label { outline: 3px solid #32918a; outline-offset: 3px; }
.file-picker.is-disabled label { opacity: .45; cursor: not-allowed; }
/* The drop zone around the picker (uploads.js): dashed at rest, lit while files are dragged over it. */
.file-drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 16px 14px; border: 1.5px dashed #b8cad5; border-radius: 10px; background: #fafcfd; text-align: center; transition: background-color .15s, border-color .15s; }
.file-drop-icon { width: 18px; height: 18px; color: #6f8794; }
.file-drop-text { font-size: 12px; color: #5f696f; }
.file-drop.is-dragover { border-style: solid; border-color: #0082c5; background: #e6f6ff; }
.file-drop.is-dragover .file-drop-icon { color: #0082c5; }
.file-drop.is-disabled { border-color: #dce3e7; background: #f8fafc; }
.file-drop.is-disabled .file-drop-icon, .file-drop.is-disabled .file-drop-text { opacity: .55; }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-list:empty { display: none; }
.file-item, .drawer-file { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #f8fafc; border: 1px solid #dce6ec; border-radius: 9px; text-align: left; }
.file-icon { width: 17px; height: 17px; margin-top: 1px; color: #7d8b93; }
.file-item.is-done .file-icon { color: #3f657d; }
.file-item.is-failed { background: #fff6f2; border-color: #f3d3c9; }
.file-item.is-failed .file-icon { color: #a43b2d; }
.file-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.file-name { font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.file-meta { font-size: 11px; color: #5f696f; }
.file-status.is-error { color: #9c3d2e; font-weight: 600; }
.file-error { font-size: 11px; line-height: 1.6; color: #9c3d2e; }
.file-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.file-progress { display: block; width: 100%; height: 6px; margin-top: 5px; border: 0; border-radius: 99px; background: #e2e9ee; color: #0082c5; overflow: hidden; -webkit-appearance: none; appearance: none; }
.file-progress::-webkit-progress-bar { background: #e2e9ee; border-radius: 99px; }
.file-progress::-webkit-progress-value { background: #0082c5; border-radius: 99px; transition: width .2s; }
.file-progress::-moz-progress-bar { background: #0082c5; border-radius: 99px; }
.file-problems { margin-top: 8px; padding: 9px 12px; border-radius: 8px; background: #fdf5e7; border: 1px solid #f0dfbb; color: #6c4b12; font-size: 11px; line-height: 1.6; text-align: left; }
.file-problems[hidden] { display: none; }
.files-field .files-hint { margin: 0 0 10px; }
.files-field .file-list { margin-top: 10px; }
.files-card { width: 100%; max-width: 420px; margin: 0 0 18px; padding: 16px 18px; text-align: left; background: #fff; border: 1px solid #dce6ec; border-radius: 10px; }
.files-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.booking-success .files-card h2 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.2px; }
.files-card .field-hint { margin: 6px 0 12px; }
.files-card .file-problems { margin: 0 0 12px; }
.files-card .file-drop { margin: 0 0 12px; }
.files-empty { font-size: 12px; color: #5f696f; }
.upload-step .upload-list { width: 100%; max-width: 420px; margin: 22px 0 14px; }
.drawer-files { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-hash { font-size: 10px; line-height: 1.5; color: #6b747a; overflow-wrap: anywhere; }
.file-hash code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.drawer-sub.file-safety { margin-top: 10px; }
/* Meeting links (admin-meetings.js): another host's meeting, and the loading / not-found states in the drawer. */
.modal-header p.drawer-host { margin-top: 5px; font-size: 12px; font-weight: 500; color: #3f657d; }
.empty-state.drawer-state, .error-state.drawer-state { min-height: 280px; padding: 34px 12px; }
@media (max-width: 640px) {
  .drawer-file { flex-wrap: wrap; }
  .drawer-file .file-actions { width: 100%; justify-content: flex-end; }
  .files-card { padding: 14px; }
}
/* Voice notes: the recorder under the booking form's notes box (voice.js), the guest's confirmation line, and the
   player, summary and transcript in the Meetings drawer. */
.notes-field .voice-field { margin-top: 10px; }
.voice-field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.voice-field .voice-hint { margin: 0; }
.voice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.voice-error { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 8px; background: #fdf5e7; border: 1px solid #f0dfbb; color: #6c4b12; font-size: 11px; line-height: 1.6; }
.voice-error svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.voice-recording { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; width: 100%; padding: 9px 12px; border: 1px solid #f3d3c9; border-radius: 10px; background: #fff6f2; }
.voice-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: #d1432f; animation: voice-pulse 1.2s ease-in-out infinite; }
@keyframes voice-pulse { 50% { opacity: .3; } }
.voice-live { flex: 1; min-width: 120px; font-size: 12px; font-weight: 600; color: #8f3627; }
.voice-timer { font-variant-numeric: tabular-nums; }
.voice-limit { font-weight: 400; color: #8a6a63; font-variant-numeric: tabular-nums; }
.voice-take { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 12px; border: 1px solid #dce6ec; border-radius: 10px; background: #f8fafc; }
.voice-take-head { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink); }
.voice-take-head svg { width: 16px; height: 16px; color: #3f657d; }
.voice-take-head strong { font-weight: 600; }
.voice-length { color: #5f696f; font-variant-numeric: tabular-nums; }
.voice-take .field-hint { margin: 0; }
.voice-audio { display: block; width: 100%; max-width: 100%; height: 40px; }
.voice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.drawer-voice .voice-audio { margin: 6px 0 10px; }
.voice-summary { margin: 0 0 8px; font-size: 13px; line-height: 1.6; color: var(--ink); }
.voice-summary.is-quiet { font-size: 12px; font-style: italic; color: #5f696f; }
.voice-summary-label { display: block; margin-bottom: 1px; font-size: 10px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #5f696f; }
.voice-transcript { margin: 0 0 10px; font-size: 12px; }
.voice-transcript summary { width: fit-content; cursor: pointer; font-weight: 600; color: #2f6f68; }
.voice-transcript summary:focus-visible { outline: 3px solid #32918a; outline-offset: 2px; border-radius: 4px; }
.voice-transcript .when-open, .voice-transcript[open] .when-closed { display: none; }
.voice-transcript[open] .when-open { display: inline; }
.voice-transcript p { margin: 8px 0 0; max-height: 280px; overflow-y: auto; padding: 10px 12px; border: 1px solid #dce6ec; border-radius: 8px; background: #f8fafc; line-height: 1.65; }
.voice-card .file-list { margin-top: 0; }
