:root {
  --bg: #f6f1ef;
  --surface: #fffaf8;
  --surface-2: #f1e8e5;
  --card-hover: #f7ece9;
  --ink: #2b2124;
  --muted: #86767b;
  --faint: #b9a9ad;
  --body: #e7dbd7;
  --wax: #e0607e;
  --wax-soft: #f8d9e0;
  --aft: #7b6cf6;
  --aft-soft: #e2defd;
  --ok: #3f9b6e;
  --warn: #c98a2b;
  --shadow: 0 10px 30px rgba(80, 40, 50, .10), 0 2px 6px rgba(80, 40, 50, .06);
  --glass: rgba(255, 250, 248, .78);
  --radius: 18px;
  --bar-h: 60px;
  --gap: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141113; --surface: #1e191c; --surface-2: #2a2327; --card-hover: #262024;
    --ink: #f3ebee; --muted: #a8989e; --faint: #6d5f64; --body: #3a3136;
    --wax: #ff7c98; --wax-soft: #4a2731; --aft: #a093ff; --aft-soft: #2f2a55;
    --shadow: 0 10px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); --glass: rgba(30, 25, 28, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141113; --surface: #1e191c; --surface-2: #2a2327; --card-hover: #262024;
  --ink: #f3ebee; --muted: #a8989e; --faint: #6d5f64; --body: #3a3136;
  --wax: #ff7c98; --wax-soft: #4a2731; --aft: #a093ff; --aft-soft: #2f2a55;
  --shadow: 0 10px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); --glass: rgba(30, 25, 28, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { overflow: hidden; overscroll-behavior: none; }
body {
  background: var(--bg); color: var(--ink);
  font: 14px/1.4 Inter, system-ui, -apple-system, sans-serif;
  overflow: hidden; overscroll-behavior: none;
  display: flex; flex-direction: column;
}
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }

/* floating surfaces (bar, pane, sheet, toast share one look) */
.float {
  background: var(--glass); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* app bar */
.bar {
  margin: 12px 12px 0; height: var(--bar-h); flex: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 12px 0 16px; position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 600 18px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.month-nav { display: flex; align-items: center; gap: 6px; }
.month-nav h1 { margin: 0 6px; min-width: 11ch; text-align: center;
  font: 600 22px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.bar-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; transition: background .15s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#theme .moon { fill: currentColor; stroke: none; }
#theme .sun { display: none; }
:root[data-theme="dark"] #theme .moon { display: none; }
:root[data-theme="dark"] #theme .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #theme .moon { display: none; }
  :root:not([data-theme="light"]) #theme .sun { display: block; }
}

.chip-btn, .ghost-btn {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 0;
  background: var(--surface-2); font-weight: 500; transition: background .15s, color .15s;
}
.chip-btn:hover, .ghost-btn:hover { background: var(--card-hover); color: var(--wax); }
.ghost-btn { display: inline-flex; align-items: center; gap: 8px; }
.ghost-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.ghost-btn.ok .dot { background: var(--ok); }
.ghost-btn.warn .dot { background: var(--warn); }
.ghost-btn.busy .dot { background: var(--wax); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.cta {
  height: 40px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--wax); color: #fff; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wax) 35%, transparent);
  transition: background .15s, box-shadow .15s;
}
.cta-short { display: none; }
.cta:hover { background: color-mix(in srgb, var(--wax) 82%, #fff);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--wax) 55%, transparent); }
.cta:focus-visible, button:focus-visible { outline: 2px solid var(--wax); outline-offset: 2px; }

/* stage: calendar + side pane, fills the rest of the screen */
.stage { flex: 1; min-height: 0; display: flex; gap: var(--gap); padding: var(--gap) 12px 12px; }
.cal { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.dows { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0 2px 6px; }
.dows span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-left: 10px; }
.grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }

.day {
  position: relative; min-height: 0; border-radius: 14px; background: var(--surface);
  padding: 8px 10px; display: flex; flex-direction: column; overflow: hidden;
  border: 0; text-align: left; transition: background .15s; container-type: inline-size;
}
@container (max-width: 165px) {
  .day .meta .pill { display: none; }
  .day .body-row { gap: 4px; }
}
.day .nr { display: flex; align-items: center; gap: 6px; }
.day.out { background: transparent; }
.day.out .num { color: var(--faint); }
.day.has { cursor: pointer; }
.day.has:hover { background: var(--card-hover); }
.day.sel { background: var(--card-hover); box-shadow: inset 0 0 0 2px var(--wax); }
.day .num { font-weight: 600; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.day.today .num b { background: var(--wax); color: #fff; border-radius: 999px; padding: 1px 7px; }
.day .num b { font-weight: 600; }
.day .body-row { flex: 1; min-height: 0; display: flex; align-items: center; gap: 8px; }
.day .body-row .body { height: 100%; max-height: 92px; width: auto; flex: none; }
.day .meta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.amt.wax { color: var(--wax); } .amt.aft { color: var(--aft); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; width: fit-content; }
.pill.wax { background: var(--wax-soft); color: var(--wax); }
.pill.aft { background: var(--aft-soft); color: var(--aft); }
.pill.booked { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.amt { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; }
.flag { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }

.cal-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 0; color: var(--muted); font-size: 13px; min-height: 26px; }
.legend { display: flex; gap: 14px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.empty-hint {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px; border-radius: 999px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
}
.empty-hint span { color: var(--muted); }

/* body svg */
.body .bp { fill: var(--body); transition: fill .15s; }
.body .bp.pick { cursor: pointer; }
.body .bp.pick:hover { fill: color-mix(in srgb, var(--body) 70%, var(--wax)); }
.body .bl { font: 600 11px Inter, sans-serif; fill: var(--muted); text-anchor: middle; text-transform: uppercase; letter-spacing: .08em; }

/* side pane */
.pane { width: min(380px, 34vw); flex: none; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
.pane-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pane h2 { margin: 0; font: 600 21px/1.15 Fraunces, Georgia, serif; }
.pane .sub { color: var(--muted); margin-top: 3px; }
.pane .fig { flex: 1; min-height: 120px; display: flex; justify-content: center; }
.pane .fig .body { height: 100%; width: auto; max-width: 100%; }
.rows { display: flex; flex-direction: column; gap: 4px; }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--surface); }
.row .n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .v { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.row.total { background: var(--wax-soft); font-weight: 600; }
.row.total .v { color: var(--ink); }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: 6px; }
.notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.notes li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); margin-right: 8px; }
.small { font-size: 12px; color: var(--faint); }
.pane-actions { display: flex; gap: 8px; }

/* records overlay */
.overlay { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sheet { width: min(1240px, 100%); height: min(780px, 100%); padding: 22px 24px; display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr; grid-template-rows: auto 1fr auto; gap: 16px 24px; overflow: hidden; }
.sheet-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.answer h2 { margin: 0; font: 600 26px/1.15 Fraunces, Georgia, serif; }
.answer p { margin: 4px 0 0; color: var(--muted); }
.heat { display: flex; flex-direction: column; min-height: 0; gap: 10px; }
.heat .body { flex: 1; min-height: 0; width: 100%; }
.heat-key { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; justify-content: center; }
.heat-key .ramp { width: 120px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--wax) 18%, var(--body)), var(--wax)); }
.side { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-height: 0; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--surface); border-radius: 14px; padding: 12px 14px; }
.stat .k { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.stat .k i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.stat .v { font: 600 24px/1.2 Fraunces, Georgia, serif; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .s { color: var(--muted); font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-content: start; gap: 10px; min-height: 0; }
.tile { background: var(--surface); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto 1fr; gap: 2px 12px; align-items: start; transition: background .15s; }
.tile:hover { background: var(--card-hover); }
.tile .body { grid-row: 1 / span 3; width: 76px; height: auto; align-self: center; }
.tile .m { align-self: end; margin-top: 6px; }
.tile .t { font-weight: 600; }
.tile .d { color: var(--muted); font-size: 12px; }
.tile .m { font-variant-numeric: tabular-nums; font-size: 13px; }
.months { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 74px; }
.mbar { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; cursor: pointer; border: 0; background: transparent; padding: 0; }
.mbar .b { width: 70%; max-width: 34px; border-radius: 6px 6px 3px 3px; background: var(--wax); min-height: 3px; display: flex; flex-direction: column-reverse; overflow: hidden; }
.mbar .b .a { background: var(--aft); }
.mbar.zero .b { background: var(--surface-2); }
.mbar span { font-size: 11px; color: var(--muted); }
.mbar:hover span { color: var(--ink); }

/* manual entry form (single panel, centred) */
.form-card { width: min(560px, 100%); padding: 22px; display: grid; gap: 14px; }
.form-card h2 { margin: 0; font: 600 22px/1.2 Fraunces, Georgia, serif; }
.seg { justify-self: start; display: inline-flex; background: var(--surface-2); padding: 3px; border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 30px; padding: 0 14px; border-radius: 999px; font-weight: 500; }
.seg button.on { background: var(--surface); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.fields input { height: 36px; border-radius: 10px; border: 0; background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; }
.fields .wide { grid-column: 1 / -1; }
.picker { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; }
.picker .body { width: 170px; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.chips button { height: 28px; padding: 0 11px; border-radius: 999px; border: 0; background: var(--surface-2); font-size: 13px; }
.chips button.on { background: var(--wax); color: #fff; }
.form-card.aft .chips button.on { background: var(--aft); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.err { color: var(--wax); font-size: 13px; min-height: 18px; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30; padding: 12px 18px; max-width: min(640px, 92vw); }

/* phones and short windows: fall back to normal scrolling */
@media (max-width: 760px) {
  html, body { overflow: auto; }
  .bar { grid-template-columns: 1fr auto; height: auto; padding: 10px 12px; row-gap: 8px; }
  .month-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; min-width: 0; }
  .month-nav h1 { min-width: 0; font-size: 19px; }
  .bar { margin: 8px 8px 0; }
  .stage { padding: 10px 8px 8px; }
  html, body { overflow-x: hidden; }
  .bar-right .ghost-btn .lbl { display: none; }
  .cta { padding: 0 16px; }
  .cta-long { display: none; } .cta-short { display: inline; }
  .bar-right { gap: 4px; }
  .grid, .dows { gap: 4px; }
  .dows span { padding-left: 4px; font-size: 11px; }
  .day { padding: 6px; border-radius: 10px; }
  .day .nr .amt { display: none; }
  .brand span { display: none; }
  .stage { flex-direction: column; }
  .grid { grid-auto-rows: 74px; }
  .day .body-row .body { max-height: 40px; }
  .pane { width: auto; }
  .sheet { grid-template-columns: 1fr; height: auto; overflow: auto; }
  .totals { grid-template-columns: 1fr 1fr; }
  .fields, .picker { grid-template-columns: 1fr; }
}

/* moved / cancelled sessions */
.pill.gone { color: var(--muted); opacity: .8; }

/* timeline overlay */
.sheet.tl { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.tl-key { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-right: 8px; }
.tl-key span { display: inline-flex; align-items: center; gap: 5px; }
.tl-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tl-key i.ring { box-shadow: inset 0 0 0 1.5px var(--wax); }
.tl-key i.ring.gone { box-shadow: inset 0 0 0 1.5px var(--faint); width: 7px; height: 7px; }
.tl-fig { min-height: 0; min-width: 0; overflow: hidden; }
.tl-svg { display: block; }
.tl-band { fill: var(--surface); }
.tl-band.alt { fill: color-mix(in srgb, var(--surface) 60%, var(--surface-2)); }
.tl-month { stroke: var(--surface-2); stroke-width: 1; }
.tl-mlab { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.tl-mlab.yr { font-weight: 600; fill: var(--ink); }
.tl-today { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .5; }
.tl-todaylab { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.tl-name { font: 600 15px Fraunces, Georgia, serif; fill: var(--ink); }
.tl-type { font: 600 11px Inter, system-ui, sans-serif; letter-spacing: .04em; }
.tl-stat { font-size: 11.5px; fill: var(--muted); }
.tl-gap { stroke: var(--c); stroke-width: 2.5; opacity: .45; stroke-linecap: round; }
.tl-gap.fut, .tl-gap.open { stroke-dasharray: 4 5; }
.tl-gap.long { stroke: var(--warn); opacity: .95; stroke-width: 3.5; }
.tl-wk { font-size: 11px; font-weight: 600; fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.tl-wk.long { fill: var(--warn); font-size: 12px; }
.tl-dot { cursor: pointer; }
.tl-dot circle { fill: var(--c); stroke: var(--surface); stroke-width: 2; transition: stroke .15s; }
.tl-dot.part circle:first-child { fill: color-mix(in srgb, var(--c) 55%, var(--surface)); }
.tl-dot.booked circle:first-child { fill: var(--surface); stroke: var(--c); stroke-width: 2.2; }
.tl-dot.gone circle:first-child { fill: var(--surface); stroke: var(--faint); stroke-width: 1.6; }
.tl-dot path { stroke: var(--faint); stroke-width: 1.4; stroke-linecap: round; }
.tl-dot .hit { fill: transparent; stroke: none; }
.tl-dot:hover circle:first-child { stroke: var(--ink); }
@media (max-width: 760px) { .tl-key { display: none; } .sheet.tl { height: 100%; } }
.ghost-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chip-btn, .ghost-btn, .cta { white-space: nowrap; flex: none; }
@media (max-width: 1240px) and (min-width: 761px) {
  #timeline { padding: 0 11px; }
  #timeline .lbl { display: none; }
  .cta-long { display: none; } .cta-short { display: inline; }
}
@media (max-width: 1000px) and (min-width: 761px) { .brand span { display: none; } }

/* expected (ideal-interval) slots */
.pill.expected { background: transparent; box-shadow: none; border: 1.5px dashed currentColor; opacity: .85; }
.tl-key i.ring.exp { box-shadow: none; border: 1.5px dashed var(--wax); width: 9px; height: 9px; }
.tl-gap.exp { stroke-dasharray: 1 5; opacity: .6; }
.tl-wk.exp { font-weight: 500; }
.tl-dot.exp circle:first-child { fill: var(--surface); stroke: var(--c); stroke-width: 1.8; stroke-dasharray: 3 2.5; }
.tl-dot.exp.late circle:first-child { stroke: var(--warn); }

/* life events (e.g. a piercing) */
.ev-tag { margin-left: 6px; font-size: 10.5px; font-weight: 600; color: var(--ev); background: color-mix(in srgb, var(--ev) 16%, transparent); padding: 1px 7px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pill.ev { background: color-mix(in srgb, var(--ev) 16%, transparent); color: var(--ev); }
.tl-ev line { stroke: var(--ev); stroke-width: 1.4; stroke-dasharray: 6 4; opacity: .8; }
.tl-ev-lab { font-size: 11px; font-weight: 600; fill: var(--ev); }
.tl-ev-top { font-size: 11px; font-weight: 600; fill: var(--ev); text-anchor: middle; }
.tl-key i.evk { border-radius: 2px; width: 3px; height: 12px; background: var(--ev); }
:root { --ev: #2f9aa8; }
:root[data-theme="dark"] { --ev: #5cc6d3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ev: #5cc6d3; } }

/* estimates at standard price */
.amt.est { opacity: .6; font-weight: 500; }
.est { color: var(--muted); }
.row.total.est .v { color: var(--muted); }

/* price index */
.sheet.prices { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; width: min(980px, 100%); }
.ptable-wrap { min-height: 0; overflow: hidden; }
.ptable { width: 100%; height: 100%; border-collapse: separate; border-spacing: 0 6px; font-variant-numeric: tabular-nums; }
.ptable thead th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 0 14px; }
.ptable thead th.wax { color: var(--wax); } .ptable thead th.aft { color: var(--aft); }
.ptable tbody tr > * { background: var(--surface); padding: 6px 14px; vertical-align: middle; }
.ptable tbody tr > :first-child { border-radius: 12px 0 0 12px; } .ptable tbody tr > :last-child { border-radius: 0 12px 12px 0; }
.ptable tbody tr:not(.mine) > * { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.ptable tbody th { text-align: left; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ptable tbody th .body { width: 34px; height: 30px; flex: none; }
.ptable tbody tr:not(.mine) th { color: var(--muted); font-weight: 500; }
.ptable td b { font: 600 17px/1.1 Fraunces, Georgia, serif; margin-right: 10px; }
.ptable td .tr { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.2px currentColor; color: var(--muted); margin-right: 8px; }
.ptable td.wax .tr.used { color: var(--wax); } .ptable td.aft .tr.used { color: var(--aft); }
.ptable td .you { font-size: 12px; color: var(--muted); }
.ptable td.mine.wax b { color: var(--wax); } .ptable td.mine.aft b { color: var(--aft); }
.pfoot { text-align: center; }
@media (max-width: 760px) { .sheet.prices { height: 100%; overflow: auto; } .ptable-wrap { overflow: visible; } }
.row.total.est { background: var(--surface-2); color: var(--muted); }
.tl-key span { white-space: nowrap; }

/* Static (public) build: edit and sync controls are local-only. */
[data-mode="static"] .dev-only { display: none !important; }
