/* Two versions: white on black (default) and black on white. Pink is only for what is selected or highlighted, and pink or grey fills carry black text. */
:root { color-scheme: dark; --ink: #fff; --muted: #a6a6a6; --accent: #ff2e8a; --accent-text: #ff2e8a; --on-accent: #000; --btn-hover: #d9d9d9; --event-shadow: #0009; --line: #2b2b2b; --field-line: #6e6e6e; --cream: #1a1a1a; --bg: #000; --panel: #101010; --ok: #fff; --warn: #d0d0d0; --c0: #e6e6e6; --c1: #b0b0b0; --c2: #929292; --c3: #757575;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-synthesis: none; scrollbar-color: var(--field-line) transparent; }
:root[data-theme="light"] { color-scheme: light; --ink: #000; --muted: #5f5f5f; --accent-text: #c9005f; --btn-hover: #333; --event-shadow: #0003; --line: #e2e2e2; --field-line: #858585; --cream: #f2f2f2; --bg: #fff; --panel: #fff; --ok: #000; --warn: #5c5c5c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
h1 { font-size: 24px; letter-spacing: -.5px; margin: 0 0 8px; } h2 { font-size: 17px; margin: 26px 0 10px; } h3 { font-size: 12px; margin: 0; }
p { margin: 0 0 12px; } a { color: var(--ink); }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: ui-monospace, Menlo, monospace; } .big { font-size: 18px; font-weight: 700; letter-spacing: .5px; } .lead { font-size: 18px; font-weight: 600; } .nowrap { white-space: nowrap; } .right { text-align: right; } .error { color: var(--accent-text); } .pad { padding: 24px; } .spacer { flex: 1; }
input, textarea, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font: inherit; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; } label[hidden] { display: none; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; margin: 0; } legend { font-size: 13px; font-weight: 600; padding: 0 4px; }
.check, .radio { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; text-align: center; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .btn.danger { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field-line); } .btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; cursor: pointer; text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stack { display: grid; gap: 14px; margin-top: 14px; } .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; } .inline { display: flex; gap: 8px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
.public-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 18px; }
.hp { position: absolute; left: -9999px; }
.plain { list-style: none; padding: 0; margin: 0; } .services li { display: grid; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.choices { display: grid; gap: 10px; margin-top: 12px; } .choice { display: grid; gap: 2px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: inherit; font: inherit; cursor: pointer; } .choice:hover { border-color: var(--field-line); } .choice span { font-size: 13px; }
.day { font-size: 14px; margin: 18px 0 8px; text-transform: capitalize; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot { padding: 9px 4px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; } .slot:hover { border-color: var(--ink); } .slot.picked { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slot-list { display: grid; gap: 8px; border: 0; padding: 0; }
.pay { margin: 16px 0; padding: 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); } .pay h2 { margin-top: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 6px; } .pill.confirmed { color: var(--ok); border-color: var(--ok); } .pill.held { color: var(--warn); border-color: var(--warn); } .pill.cancelled, .pill.expired { color: var(--muted); } .pill.soft { font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; padding: 11px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; z-index: 50; box-shadow: 0 8px 30px #0005; } .toast[data-kind=error] { background: var(--accent); color: var(--on-accent); } .toast[hidden] { display: none; }
.top { display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 8px; } .who { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 13px; }
nav { display: flex; gap: 4px; overflow-x: auto; max-width: 100%; } nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; white-space: nowrap; } nav a.active { background: var(--accent); color: var(--on-accent); }
.banner { background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 20px; font-size: 14px; } .banner a { color: var(--ink); font-weight: 650; }
.warn { padding: 10px 12px; margin: 10px 0; border-radius: 12px; border: 1px solid var(--warn); color: var(--warn); font-size: 14px; }
.day-body { touch-action: pan-y; cursor: crosshair; user-select: none; } .draw { position: absolute; left: 2px; right: 2px; border-radius: 8px; background: var(--accent); opacity: .55; color: var(--on-accent); font-size: 12px; padding: 2px 6px; pointer-events: none; z-index: 3; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.supply { display: grid; gap: 8px; } .pre { white-space: pre-wrap; flex: 1 1 240px; }
.chat { display: grid; gap: 8px; margin: 12px 0; } .bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; font-size: 15px; background: var(--panel); border: 1px solid var(--line); } .bubble.user { justify-self: end; background: var(--cream); color: var(--ink); border: 0; } .chat-input { display: flex; gap: 8px; } .chat-input input { flex: 1; min-width: 0; }
.ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 10px 0; } .step { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-align: left; color: inherit; font: inherit; cursor: pointer; } .step strong { display: block; font-size: 24px; line-height: 1.2; } .step span { font-size: 13px; color: var(--muted); } .step.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 8px 0 4px; } .meter i { display: block; height: 100%; background: var(--ok); }
.todo { display: grid; gap: 6px; margin: 10px 0; font-size: 14px; } .offer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--accent); border-radius: 12px; background: var(--panel); font-size: 14px; }
.notice { padding: 12px 14px; margin: 12px 0; border-radius: 12px; background: var(--cream); border-left: 3px solid var(--accent); font-size: 14px; }
.qr { margin: 16px 0; text-align: center; } .qr svg { width: min(240px, 100%); height: auto; border-radius: 12px; }
.count { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; text-align: center; } nav a.active .count { background: var(--on-accent); color: var(--accent); }
.closing { display: grid; gap: 12px; } .closing .card { padding: 16px; } .closing .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; align-items: end; } .pay-line { font-size: 15px; font-weight: 650; margin: 10px 0 0; }
.checkin { max-width: 480px; margin: 0 auto; text-align: center; } .checkin .btn { width: 100%; padding: 16px; font-size: 18px; } .checkin .kv { text-align: left; }
.pill.arrived { color: var(--ok); border-color: var(--ok); } .pill.no_show { color: var(--accent-text); border-color: var(--accent); }
.event.no_show { opacity: .5; text-decoration: line-through; }
.content { max-width: 1320px; margin: 0 auto; padding: 18px 20px 48px; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; } .toolbar h1 { margin: 0 0 0 6px; font-size: 20px; text-transform: capitalize; } .toolbar label.btn { display: inline-block; font-size: 14px; font-weight: 650; }
.week-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.week { display: grid; grid-template-columns: 48px repeat(7, minmax(120px, 1fr)); min-width: 900px; }
.hours { padding-top: 44px; font-size: 11px; color: var(--muted); } .hours span { display: block; text-align: right; padding-right: 6px; }
.day-col { border-left: 1px solid var(--line); } .day-col h3 { height: 44px; padding: 6px; font-weight: 600; text-transform: capitalize; line-height: 1.3; border-bottom: 1px solid var(--line); } .day-col.today h3 { color: var(--accent-text); }
.day-body { position: relative; background-image: repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent 48px); }
.event, .off { position: absolute; left: 3px; right: 3px; overflow: hidden; border: 0; border-radius: 8px; padding: 3px 6px; font: inherit; font-size: 12px; line-height: 1.3; text-align: left; color: var(--on-accent); cursor: pointer; } .event span { opacity: .9; }
.event.c0 { background: var(--c0); } .event.c1 { background: var(--c1); } .event.c2 { background: var(--c2); } .event.c3 { background: var(--c3); }
.event.held { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--warn); background-image: repeating-linear-gradient(45deg, transparent 0 6px, color-mix(in srgb, var(--warn) 16%, transparent) 6px 12px); }
.off { background: color-mix(in srgb, var(--muted) 25%, transparent); color: var(--ink); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px 0 8px; } .dot.c0 { background: var(--c0); } .dot.c1 { background: var(--c1); } .dot.c2 { background: var(--c2); } .dot.c3 { background: var(--c3); }
dialog { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); padding: 22px; width: min(560px, calc(100% - 24px)); max-height: 90vh; overflow-y: auto; } dialog::backdrop { background: #000000b8; backdrop-filter: blur(3px); }
.dialog-close { float: right; } dialog h2 { margin-top: 0; }
blockquote { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--line); white-space: pre-wrap; font-size: 14px; max-height: 220px; overflow-y: auto; overflow-wrap: anywhere; }
.triage { padding: 12px; background: var(--cream); border-radius: 12px; font-size: 14px; }
.mails { display: grid; gap: 8px; } .mail { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; font-size: 14px; } .mail:hover { border-color: var(--field-line); } .mail.done, .mail.proposed { opacity: .65; }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); } table { width: 100%; border-collapse: collapse; font-size: 14px; } th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; } th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } tr:last-child td { border-bottom: 0; } tr.dim { opacity: .55; } td select { width: auto; max-width: 220px; padding: 4px 8px; font-size: 13px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: end; } .wide { grid-column: 1 / -1; }
.hour-row { display: grid; grid-template-columns: 1fr 110px 10px 110px; gap: 8px; align-items: center; }
@media (max-width: 560px) { .content { padding: 14px 16px 40px; } .top { padding: 10px 16px; } .hour-row { grid-template-columns: 1fr 1fr; } .hour-row span { display: none; } .hour-row .check { grid-column: 1 / -1; } .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; } }
h1 { font-weight: 760; } ::selection { background: var(--accent); color: var(--on-accent); }
input, textarea, select { border-color: var(--field-line); background: var(--cream); } input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px #ff2e8a40; } ::placeholder { color: var(--muted); }
.btn { transition: transform .12s ease, background .12s ease, box-shadow .12s ease; } .btn:hover:not(:disabled) { background: var(--btn-hover); transform: translateY(-1px); } .btn:active:not(:disabled) { transform: translateY(0); }
.btn.ghost { box-shadow: inset 0 0 0 1px var(--field-line); } .btn.ghost:hover:not(:disabled), .btn.danger:hover:not(:disabled) { background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.top { background: var(--bg); border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
nav a { color: var(--muted); transition: color .12s ease, background .12s ease; } nav a:hover { color: var(--ink); background: var(--cream); } nav a.active, nav a.active:hover { background: var(--accent); color: var(--on-accent); font-weight: 650; }
.card, .step, .mail, .choice { transition: border-color .12s ease, box-shadow .12s ease; } .step:hover, .mail:hover, .choice:hover { border-color: var(--field-line); }
.step strong { letter-spacing: -.5px; } .step.on { box-shadow: inset 0 0 0 1px var(--accent); } .step.on strong { color: var(--accent-text); }
.meter i { background: var(--ink); }
.pill.confirmed { background: #e8e8ec14; } .pill.held { background: #ffffff0d; } .pill.no_show { background: #ff2e8a1f; }
.day-col.today h3 { font-weight: 760; box-shadow: inset 0 -2px 0 var(--accent); }
.event { font-weight: 550; box-shadow: 0 1px 6px var(--event-shadow); } .event.held { font-weight: 500; } .draw { opacity: .75; box-shadow: 0 0 18px #ff2e8a80; }
table th { letter-spacing: .3px; } tbody tr:hover { background: var(--cream); }
.qr svg { background: #fff; padding: 10px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .btn:hover:not(:disabled) { transform: none; } }
.dictate { margin-bottom: 12px; } .dictate .row { margin-top: 10px; } .dictate p { margin: 8px 0 0; } .closing .card.picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } .voucher-choice { margin-top: 10px; }
.theme-pick { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--field-line); border-radius: 999px; } .theme-pick button { border: 0; border-radius: 999px; padding: 2px 10px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; } .theme-pick button[aria-pressed=true] { background: var(--accent); color: var(--on-accent); font-weight: 650; } .public-head .theme-pick { margin-left: auto; }
.tabbar { display: none; } .more-list { display: grid; gap: 2px; margin: 8px 0 14px; } nav a .count { position: static; } .more-list a { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 550; } .more-list a:hover { background: var(--cream); } .more-list a.active { background: var(--accent); color: var(--on-accent); } .more-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.listening { position: fixed; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60; margin: 0 auto; max-width: 420px; padding: 16px; border: 2px solid var(--accent); border-radius: 16px; background: var(--panel); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 8px 30px #0006; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; } .stat { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .stat strong { font-size: 28px; line-height: 1.15; letter-spacing: -.5px; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; } .chart-card { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .chart-card h3 { font-size: 14px; font-weight: 650; margin-bottom: 4px; } .chart-card p { margin: 0 0 8px; } .chart-card details { margin-top: 8px; } .chart-card summary { cursor: pointer; padding: 6px 0; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; height: 150px; border-bottom: 0; } .bar { display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 4px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 10px; cursor: pointer; } .bar i { display: block; align-self: end; width: 100%; max-width: 26px; margin: 0 auto; background: var(--muted); border-radius: 4px 4px 0 0; } .bar.now i { background: var(--accent); } .bar span { white-space: nowrap; overflow: hidden; border-top: 1px solid var(--line); padding-top: 3px; text-align: center; } .bar:hover i { background: var(--ink); } .bar.now:hover i { background: var(--accent); }
.hbar { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; } .hbar .track { height: 12px; } .hbar i { display: block; height: 100%; background: var(--muted); border-radius: 0 4px 4px 0; } .hbar strong { min-width: 34px; text-align: right; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin: 8px 0; } .thumb { display: grid; gap: 2px; } .thumb img, .thumb video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--cream); } .post-card { margin-bottom: 10px; } .post-card .pre { margin: 6px 0; }
.chip.on { border-color: var(--accent); color: var(--accent-text); font-weight: 650; } .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .chip { padding: 9px 12px; min-height: 44px; border: 1px solid var(--field-line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; } .sources { display: block; margin-top: 6px; color: var(--muted); }
.pw-field { position: relative; display: block; } .pw-field input { padding-right: 84px; } .pw-field button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); min-height: 32px; }
.span-picker { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; } .span-head { display: flex; justify-content: space-between; font-size: 20px; } .span-head #span-len { color: var(--accent-text); } .span-bar { position: relative; height: 8px; border-radius: 4px; background: var(--cream); } .span-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); } .span-picker input[type=range] { width: 100%; height: 44px; accent-color: var(--accent); margin: 0; }
/* Phone first: a bottom menu in thumb reach, 44px and larger targets, 16px fields so iOS does not zoom, dialogs as bottom sheets, table rows as cards. */
@media (max-width: 760px) {
  .top { flex-wrap: nowrap; padding: max(8px, env(safe-area-inset-top)) 16px 8px; } .top nav, .top .who { display: none; } .hint { display: none; }
  .content { padding: 14px 16px calc(100px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-width: none; overflow: visible; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 2px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; font-weight: 550; text-decoration: none; cursor: pointer; }
  .tabbar a.active, .tabbar a.active:hover { background: transparent; color: var(--accent-text); font-weight: 700; } .tabbar a:hover { background: transparent; }
  .tabbar .count { position: absolute; top: 0; left: calc(50% + 6px); margin: 0; }
  .tabbar .talk { color: var(--ink); } .tabbar .talk i { display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 0 0 4px var(--bg); }
  input, textarea, select { font-size: 16px; min-height: 46px; } input[type=checkbox], input[type=radio] { min-height: 0; width: 22px; height: 22px; } .radio, .check { min-height: 40px; font-size: 15px; }
  .btn { min-height: 46px; padding: 12px 18px; } .row .btn { flex: 1 1 auto; } .link { display: inline-block; padding: 12px 0; } .slot { min-height: 46px; } .slots { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .row.two { grid-template-columns: 1fr 1fr; }
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 20px 20px 0 0; max-height: 92dvh; } .dialog-close button { padding: 6px 10px; font-size: 18px; text-decoration: none; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .toolbar h1 { order: -1; flex: 1 0 100%; margin: 0 0 4px; font-size: 21px; } .toolbar .spacer { display: none; } .toolbar .btn { flex: 1 1 auto; padding-left: 12px; padding-right: 12px; }
  .week-scroll { overflow: visible; } .week.one { grid-template-columns: 44px 1fr; min-width: 0; } .week.one .hours { padding-top: 0; } .week.one .day-col h3 { display: none; } .week.one .event { font-size: 14px; padding: 5px 8px; }
  .table { overflow: visible; } .table table, .table tbody, .table tr, .table td { display: block; width: 100%; } .table thead { display: none; } .table tr { padding: 10px 14px; border-bottom: 1px solid var(--line); } .table tr:last-child { border-bottom: 0; } .table td { padding: 3px 0; border: 0; } .table td:empty { display: none; } .table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; } .table td select { width: 100%; max-width: none; }
  .bubble { max-width: 92%; } .chat-input { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 8px 0; background: var(--bg); } .card { padding: 16px; }
}
@media (max-width: 760px) { .tabbar.two { grid-template-columns: 1fr 1fr; } }

.terms { margin: 12px 0; }
.terms summary { cursor: pointer; font-weight: 600; }
.terms-text { white-space: pre-wrap; font-size: 14px; margin-top: 8px; max-height: 50vh; overflow-y: auto; }

.stars { display: inline-flex; gap: 2px; margin: 8px 0; }
.star { background: none; border: 0; padding: 6px; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; min-width: 40px; min-height: 40px; }
.star.on { color: var(--accent-text); }
[hidden] { display: none !important; }
.row.wrap { flex-wrap: wrap; }
dialog form, dialog fieldset, dialog .row > label { min-width: 0; }
dialog input, dialog select, dialog textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
button.star { color: var(--muted); background: none; }
button.star.on { color: var(--accent-text); }
