:root {
  color-scheme: light;
  --paper: #f4f5f0;
  --surface: #fff;
  --ink: #202a24;
  --subtle: #58665d;
  --edge: #e0e5de;
  --green: #2d503e;
  --deep: #254438;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font: 16px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
svg { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
:focus-visible { outline: 3px solid #668f77; outline-offset: 3px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background: #fcfdf9; border-right: 1px solid var(--edge); position: sticky; top: 0;
  height: 100dvh; display: flex; flex-direction: column; padding: 29px 18px 20px; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 11px; margin: 0 8px 30px; font-size: 25px; font-weight: 760; letter-spacing: -.9px; line-height: 1.04; }
.brand img { width: 43px; height: 43px; }
.brand small { display: block; font-size: 10px; letter-spacing: .1em; font-weight: 700; color: var(--subtle); margin-top: 5px; }
.club-picker { position: relative; display: flex; gap: 10px; align-items: center; border-radius: 13px; border: 1px solid var(--edge); padding: 10px; background: white; margin-bottom: 30px; min-height: 63px; }
.club-picker label { flex: 1; min-width: 0; }
.club-picker > svg { pointer-events: none; position: absolute; right: 10px; color: var(--subtle); }
.club-picker select { width: 100%; min-height: 24px; padding: 0 17px 0 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; text-overflow: ellipsis; border-radius: 5px; }
.club-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #e7efe6; color: #365644; }
.overline { display: block; font-size: 12px; font-weight: 680; color: var(--subtle); }
.nav-caption { text-transform: uppercase; letter-spacing: .075em; margin: 0 0 10px 10px; }
.nav-item { display: flex; align-items: center; text-align: left; gap: 11px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #49584f; font-size: .93rem; font-weight: 580; margin-bottom: 4px; }
.nav-item:hover, .nav-item.current { background: #e7efe6; color: #234b37; }
.nav-item.current { font-weight: 740; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 16px 4px 0; border-top: 1px solid var(--edge); font-size: .85rem; }
.sidebar-footer b, .sidebar-footer small { display: block; }
.sidebar-footer small { color: var(--subtle); font-size: .78rem; margin-top: 2px; }
.club-icon.profile { font-weight: 750; background: #eee9db; color: #5c5032; }

.workspace { min-width: 0; }
.topbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 34px; background: #fcfdf9; border-bottom: 1px solid var(--edge); }
.breadcrumbs, .top-actions, .top-date { display: flex; align-items: center; gap: 12px; }
.breadcrumbs { color: var(--subtle); font-size: .89rem; }
.breadcrumbs strong { color: var(--ink); }
.breadcrumbs [data-action="menu"] { display: none; }
.top-actions { gap: 20px; }
.top-date { color: var(--subtle); font-size: .89rem; white-space: nowrap; text-transform: capitalize; gap: 7px; }
main { width: min(100%, 1460px); margin: 0 auto; padding: 29px 34px 44px; }
.btn { padding: 9px 14px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; border: 1px solid transparent; font-size: .88rem; font-weight: 700; line-height: 1.3; text-align: center; }
.btn.primary { background: var(--green); color: white; border-color: var(--green); }
.btn.primary:hover { background: #224332; border-color: #224332; }
.btn.secondary { background: #fff; border-color: #dce4dc; color: var(--deep); }
.btn.secondary:hover, .icon-btn:hover { background: #edf2eb; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--edge); border-radius: 8px; background: #fff; color: #405c4c; }

.hero {
  display: flex; align-items: center; min-height: 254px; overflow: hidden; padding: 28px 35px;
  border-radius: 16px; color: #fffdf3;
  background-color: #243c30;
  background-image: linear-gradient(90deg, #1a3025 0%, #1a3025e6 28%, #17302468 67%, #13261d15 100%), url('/arena.webp'), radial-gradient(ellipse at 95% 25%, #667d61, #243c30 66%);
  background-size: cover; background-position: center, center 51%, center;
}
.hero-content { position: relative; }
.hero-date { display: flex; align-items: center; gap: 8px; color: #e1e8db; font-size: .86rem; }
.hero-date::first-letter { text-transform: uppercase; }
.hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 5.5vw, 4.35rem); line-height: .99; font-weight: 500; letter-spacing: -.035em; margin: 12px 0 10px; }
.hero p { color: #ecf0e8; font-size: 1.06rem; }
.hero p span { margin: 0 4px; opacity: .65; }
.demo-label { display: inline-block; margin-top: 16px; padding: 4px 9px; border-radius: 5px; border: 1px solid #bac9b180; color: #eee8cd; background: #1c3629a6; font-size: .77rem; font-weight: 620; }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: 13px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.stat { display: grid; grid-template-columns: 45px minmax(0,1fr); text-align: left; align-items: center; gap: 1px 11px; min-height: 90px; padding: 13px; }
.stat:hover { border-color: #a3b8a7; }
.stat-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #e7efe6; color: #345d46; }
.stat .stat-icon { grid-row: 1 / 3; }
.stat-icon.sand { color: #775926; background: #f4eddf; }
.stat-icon.blue { color: #405f73; background: #e8eef0; }
.stat-icon.lilac { color: #6a526e; background: #f0e9f0; }
.stat-label { font-size: .82rem; color: var(--subtle); align-self: end; }
.stat strong { font-size: 1.58rem; font-weight: 730; line-height: 1; align-self: start; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(250px, 1fr); gap: 17px; align-items: start; }
.card-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 19px 20px; }
.card-header h2, .period h2 { font-size: 1.17rem; font-weight: 730; letter-spacing: -.018em; }
.card-header p { font-size: .86rem; color: var(--subtle); margin-top: 3px; }
.agenda-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; width: 100%; align-items: center; gap: 14px; padding: 14px 20px; border: 0; border-top: 1px solid #edf0eb; background: transparent; text-align: left; }
.agenda-row:hover { background: #f7f9f5; }
.agenda-row:last-child { border-radius: 0 0 12px 12px; }
.agenda-time strong, .agenda-time small, .agenda-detail strong, .agenda-detail small { display: block; }
.agenda-time strong { font-variant-numeric: tabular-nums; }
.agenda-detail strong { font-size: .94rem; overflow-wrap: anywhere; }
.agenda-row small { color: var(--subtle); font-size: .82rem; margin-top: 2px; overflow-wrap: anywhere; }
.status { display: inline-flex; width: fit-content; align-items: center; gap: 6px; white-space: nowrap; border-radius: 24px; padding: 4px 8px; font-size: .76rem; font-weight: 690; }
.status i { background: currentColor; width: 6px; height: 6px; border-radius: 50%; }
.status.scheduled { color: #584c2c; background: #f5eed9; }
.status.completed { color: #2c6547; background: #e6f2e9; }
.status.cancelled { color: #665d61; background: #f0ebed; }
.status.no_show { color: #893e38; background: #f8e9e7; }
.club-summary { padding-bottom: 18px; }
.club-summary > .btn, .club-info, .summary-time, .next-box { margin-inline: 19px; }
.club-summary > .btn { width: calc(100% - 38px); margin-top: 14px; }
.club-info { display: flex; gap: 10px; align-items: center; }
.club-info strong { display: block; overflow-wrap: anywhere; }
.club-info small { color: var(--subtle); display: flex; align-items: center; gap: 3px; font-size: .84rem; }
.summary-time { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--subtle); }
.next-box { display: grid; gap: 3px; margin-top: 15px; padding: 10px; border-radius: 8px; background: #f3f6ef; }
.next-box strong { font-size: .88rem; }
.next-box span { color: var(--subtle); font-size: .76rem; }

.page-head { display: flex; justify-content: space-between; gap: 15px; align-items: end; margin-bottom: 22px; }
.page-head h1 { font-family: var(--display); font-size: clamp(2.35rem, 5vw, 3.65rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 8px; }
.page-head p { color: var(--subtle); }
.schedule-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; padding: 19px; }
.period { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.period h2 { margin-inline: 2px; }
.period .btn { min-height: 35px; padding-block: 6px; }
.pager { display: flex; gap: 5px; }
.segmented { border: 1px solid var(--edge); background: #f3f6ef; border-radius: 9px; padding: 3px; display: flex; gap: 3px; }
.segmented button { border: none; background: transparent; border-radius: 6px; padding: 5px 10px; color: var(--subtle); font-weight: 670; font-size: .88rem; }
.segmented button.pressed { background: white; color: var(--green); box-shadow: 0 1px 3px #152e201a; }
.date-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding: 0 19px 16px; }
.date-tile { display: grid; gap: 2px; place-items: center; padding: 9px 3px; background: #fafbf8; border: 1px solid var(--edge); border-radius: 8px; }
.date-tile.pressed { background: #e7efe6; border-color: #a8bba9; color: #244d38; }
.date-tile span { font-size: .86rem; text-transform: uppercase; color: var(--subtle); }
.date-tile strong { font-size: 1.22rem; }
.date-tile small { font-size: .74rem; color: var(--subtle); }
.calendar-filters { border-top: 1px solid var(--edge); padding: 13px 19px; display: flex; flex-wrap: wrap; gap: 12px; }
.calendar-filters label { display: flex; align-items: center; gap: 7px; color: var(--subtle); font-size: .86rem; }
.calendar-filters select { min-width: 140px; }
.calendar-day h3 { padding: 11px 20px; font-size: .88rem; background: #f7f9f5; border-top: 1px solid var(--edge); }
.calendar-day h3::first-letter { text-transform: uppercase; }
.empty { text-align: center; padding: 32px 18px; }
.empty h2, .empty h3 { margin-top: 9px; font-size: 1.06rem; }
.empty p { color: var(--subtle); margin-top: 4px; }
.empty .btn { margin-top: 14px; }
.agenda-empty { border-top: 1px solid var(--edge); }
.loading { box-shadow: none; }

.directory-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.search { display: flex; align-items: center; gap: 6px; max-width: 370px; width: 100%; padding: 0 9px; border: 1px solid var(--edge); border-radius: 8px; color: var(--subtle); }
.search:focus-within { outline: 2px solid #668f77; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; padding-inline: 4px; }
.directory-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 36px; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--edge); }
.directory-row strong, .directory-row small { display: block; overflow-wrap: anywhere; }
.directory-row small { color: var(--subtle); margin-top: 2px; }
.entity-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: #e8efe6; color: #345741; border-radius: 9px; font-size: .87rem; font-weight: 750; }
.settings-card { max-width: 700px; }
.settings-card dl { padding: 0 20px 20px; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; border-bottom: 1px solid var(--edge); padding: 9px 0; }
dt { color: var(--subtle); font-size: .86rem; }
dd { margin: 0; overflow-wrap: anywhere; }

input, select, textarea { min-height: 39px; border: 1px solid #d8e1d8; border-radius: 7px; background: white; padding: 6px 9px; color: var(--ink); min-width: 0; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23405c4c' stroke-linecap='round' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 15px; padding-right: 28px; }
textarea { resize: vertical; }
dialog { width: min(530px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--edge); border-radius: 15px; color: var(--ink); box-shadow: 0 25px 90px #11271741; }
dialog::backdrop { background: #15291fb3; }
.modal-head { position: sticky; top: 0; background: white; display: flex; justify-content: space-between; gap: 10px; padding: 18px 21px 12px; border-bottom: 1px solid var(--edge); z-index: 1; }
.modal-head h2 { font-size: 1.24rem; }
.modal-head p, .field-hint { color: var(--subtle); font-size: .89rem; margin-top: 4px; }
.modal-head .icon-btn { flex: 0 0 36px; }
.modal-fields { display: grid; gap: 12px; padding: 16px 21px; }
.modal-fields label { display: grid; gap: 4px; color: var(--deep); font-size: .89rem; font-weight: 630; min-width: 0; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal-fields select { text-overflow: ellipsis; }
.modal-actions { padding: 12px 21px 18px; display: flex; justify-content: end; gap: 8px; border-top: 1px solid var(--edge); }
.form-error { background: #fbebea; border-radius: 7px; padding: 9px 11px; margin: 0 21px 12px; color: #812f28; font-size: .9rem; }
.boot { min-height: 82vh; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--subtle); padding: 24px; gap: 12px; }
.boot img { width: 55px; }
#toast { position: fixed; z-index: 4; right: 22px; bottom: 22px; padding: 11px 14px; border-radius: 9px; align-items: center; gap: 8px; display: flex; background: #264b37; color: white; opacity: 0; pointer-events: none; box-shadow: 0 4px 18px #0002; transform: translateY(4px); transition: opacity .15s, transform .15s; }
#toast.visible { opacity: 1; transform: none; }

@media (max-width: 1150px) {
  .layout { grid-template-columns: 214px minmax(0, 1fr); }
  main, .topbar { padding-inline: 22px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); }
  .stats { gap: 9px; }
}
@media (max-width: 930px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .top-date { display: none; }
  .agenda-row { padding-inline: 15px; }
}
@media (max-width: 690px) {
  .layout { display: block; }
  .sidebar { display: none; position: relative; height: auto; padding: 14px 15px; }
  .menu-open .sidebar { display: block; }
  .brand { margin-bottom: 12px; }
  .club-picker { margin-bottom: 10px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
  .sidebar-footer, .nav-caption { display: none; }
  .breadcrumbs [data-action="menu"] { display: grid; }
  .breadcrumbs > span, .breadcrumbs > svg { display: none; }
  .topbar { min-height: 61px; padding: 8px 12px; gap: 7px; }
  .breadcrumbs { gap: 7px; }
  main { padding: 13px 12px 24px; }
  .hero { padding: 19px; min-height: 222px; background-position: center, 60% 50%, center; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3.15rem); }
  .card-header { padding: 13px; }
  .card-header .btn { padding: 6px 8px; min-height: 35px; }
  .stats { margin: 12px 0; }
  .stat { min-height: 76px; padding: 8px; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 8px; }
  .stat .stat-icon { width: 36px; height: 36px; }
  .stat-label { font-size: .77rem; }
  .page-head { flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .period h2 { font-size: 1rem; }
  .schedule-header, .calendar-filters { padding-inline: 10px; }
  .date-strip { gap: 4px; padding-inline: 7px; }
  .date-tile span, .date-tile small { font-size: .69rem; }
  .date-tile strong { font-size: 1rem; }
  .agenda-row { gap: 5px 8px; grid-template-columns: 41px minmax(0, 1fr); padding: 10px 13px; }
  .agenda-row .status { grid-column: 2; }
  .agenda-row small { font-size: .76rem; }
  .calendar-filters label { flex: 1 1 120px; display: grid; }
  .calendar-filters select { min-width: 0; width: 100%; }
  .directory-toolbar { padding-inline: 9px; }
  .directory-toolbar select { max-width: 135px; font-size: .83rem; }
  .directory-row { gap: 7px; padding-inline: 9px; }
}
@media (max-width: 420px) {
  .form-columns { grid-template-columns: 1fr; }
  dl > div { grid-template-columns: 104px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.sidebar { padding-block: 23px 15px; }
.sidebar .brand { margin-bottom: 22px; }
.sidebar .club-picker { margin-bottom: 19px; }
.sidebar nav { min-height: 0; overflow-y: auto; padding: 0 2px 8px; scrollbar-width: thin; }
.sidebar nav > .btn { margin: 9px 4px 0; width: calc(100% - 8px); }
.sidebar-footer { flex-shrink: 0; }
.nav-item { min-height: 37px; margin: 2px 0; }
.pro-two, .onboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; align-items: start; }
.onboard-grid { margin-top: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.onboard-grid section > .btn { margin: 0 16px 16px; }
.pro-card { margin-bottom: 3px; overflow: hidden; }
.pro-row { padding: 12px 17px; border-top: 1px solid var(--edge); display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; }
.pro-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.pro-row strong, .pro-row small { display: block; }
.pro-row small { color: var(--subtle); font-size: .84rem; white-space: pre-wrap; }
.pro-row .btn { min-height: 35px; padding: 6px 10px; }
.pro-row-info, .pro-actions, .slot-indicators { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.slot-indicators { justify-content: end; }
.pro-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; margin: 0 0 15px; }
.pro-metric { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 4px 9px; padding: 13px; }
.pro-metric .stat-icon { grid-row: span 2; }
.pro-metric > span + span { font-size: .85rem; color: var(--subtle); align-self: end; }
.pro-metric strong { font-size: 1.32rem; align-self: start; }
.pro-period { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 14px 0; padding: 11px 14px; }
.pro-period label { display: grid; gap: 2px; color: var(--subtle); font-size: .85rem; }
.pro-period button { min-height: 39px; }
.pro-row progress { width: 78px; accent-color: #35634b; }
.pro-roster { border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; }
.pro-roster h3 { padding: 9px 12px; font-size: .94rem; background: #f6f8f4; }
.pro-roster .pro-row { padding-inline: 10px; }
.pro-roster .btn { font-size: .8rem; }
#pass-picker, #pro-answers { display: grid; gap: 10px; }
#invite-code { width: 100%; font-family: ui-monospace,monospace; font-size: .83rem; }
.public-shell { max-width: 1150px; }
.public-shell .hero { margin-bottom: 16px; }
.public-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.public-top .brand { margin: 0; }
.public-about { padding: 17px; margin-bottom: 15px; }
.public-about p { white-space: pre-wrap; margin-top: 6px; }
.public-shell .pro-two + .public-about { margin-top: 15px; }
.legacy-row:hover { background: transparent; }
@media (max-width: 1020px) { .pro-two { grid-template-columns: 1fr; } }
@media (max-width: 690px) {
  .sidebar { padding-block: 13px; }
  .sidebar .brand, .sidebar .club-picker { margin-bottom: 11px; }
  .sidebar nav { overflow: visible; }
  .pro-metrics { grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); }
  .onboard-grid { grid-template-columns: 1fr; }
  .pro-row { padding-inline: 10px; gap: 7px; }
  .pro-row .btn { min-width: 34px; padding-inline: 7px; font-size: .78rem; }
  .pro-row .btn svg { display: none; }
  .pro-row-info { gap: 3px; }
  .slot-indicators { grid-column: 2; justify-content: start; gap: 4px; }
  .pro-period { padding: 9px; gap: 6px; }
  .pro-period input { width: 128px; }
}
#pro-questions { display:grid; gap:11px; }
.question-editor { display:grid; gap:8px; border:1px solid var(--edge); margin:0; padding:10px; min-width:0; border-radius:8px; }
.question-editor > .btn { justify-self:start; }
[hidden] { display:none !important; }
.onboard-grid + .pro-actions { margin: 16px 0; }
.operator-shell .page-head { margin-top: 28px; }
.schedule-card + .pro-card { margin-top: 15px; }
.arena-track { border-top:1px solid var(--edge); }
.arena-track-heading { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:12px 17px; }
.arena-track-heading strong { margin-right:auto; }
.arena-track-heading progress { accent-color:var(--green); width:110px; }
.arena-free { margin:0; padding:0 17px 15px; color:var(--subtle); font-size:.86rem; }
.arena-days { display:flex; flex-wrap:wrap; gap:12px; padding:8px 10px; border:1px solid var(--edge); border-radius:8px; margin:0; }
.arena-days label { display:flex; align-items:center; gap:3px; }
.arena-days input { min-height:0; accent-color:var(--green); }
.timeline-board { overflow:auto; border-top:1px solid var(--edge); max-height:72vh; }
.time-grid { display:grid; grid-template-columns:54px repeat(var(--days),minmax(135px,1fr)); }
.timeline-zone,.timeline-heading { padding:9px 4px; border:none; background:#f7f9f5; min-height:38px; position:sticky; top:0; z-index:1; }
.timeline-zone { text-align:center; color:var(--subtle); font-size:.75rem; }
.timeline-heading { border-left:1px solid var(--edge); font-size:.83rem; font-weight:700; }
.timeline-heading:hover { background:#e5f0e7; }
.timeline-day { min-height:calc(66px * var(--rows)); position:relative; border-left:1px solid var(--edge); background:repeating-linear-gradient(to bottom,transparent 0 65px,var(--edge) 65px 66px); }
.clock-tick { height:66px; padding:3px 5px; text-align:right; color:var(--subtle); font-size:.72rem; font-variant-numeric:tabular-nums; }
.timeline-event { position:absolute; padding:1px 2px; }
.timeline-event .agenda-row { height:100%; width:100%; display:flex; gap:3px; flex-direction:column; justify-content:start; align-items:start; overflow:hidden; padding:2px 4px; background:#e9f2ea; border:1px solid #bdcfc1; border-radius:5px; text-align:left; }
.timeline-event .agenda-row:hover { background:#dcece0; }
.timeline-event .agenda-time { font-size:.67rem; line-height:1; display:flex; gap:4px; }
.timeline-event .agenda-time small { margin:0; font-size:.64rem; }
.timeline-event .agenda-detail strong { font-size:.72rem; line-height:1.15; }
.timeline-event .agenda-detail small, .timeline-event .slot-indicators, .timeline-event .status { display:none; }
@media (max-width:690px) { .time-grid { grid-template-columns:40px repeat(var(--days),minmax(116px,1fr)); } }
.signup-consent { grid-template-columns:auto 1fr; align-items:start; }
.signup-consent input { min-height:0; margin-top:.22rem; accent-color:var(--green); }
.signup-consent a { text-decoration:underline; }
.setup-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; padding:14px 17px; }
.setup-summary h2 { font-size:1.05rem; margin-bottom:4px; }
.setup-summary p { color:var(--subtle); font-size:.9rem; }
@media(max-width:540px) { .setup-summary { align-items:flex-start; flex-direction:column; } }
