@font-face { font-family: "Geist"; src: url(fonts/geist-latin.woff2) format("woff2"); font-weight: 100 900; font-display: block; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geistmono-latin.woff2) format("woff2"); font-weight: 100 900; font-display: block; }
:root {
  --brand: #12805c; --brand-ink: #0b5e43; --brand-tint: #e8f5ef; --brand-tint-2: #d4ece1;
  --ink: #17202a; --ink-2: #4b5662; --ink-3: #7d8792; --line: #e4e7eb; --line-2: #eef0f2;
  --bg: #ffffff; --bg-2: #f7f8f9; --bg-3: #f1f3f4; --neg: #c2410c; --blue: #3c6fd1;
  --rh: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font: 400 14px/1.4 "Geist", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; display: grid; grid-template-rows: 56px 44px 40px minmax(0, 1fr) 36px; height: 100vh; height: 100dvh; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

/* top bar */
.top { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mark { color: var(--brand); width: 32px; height: 32px; flex: none; }
.mark svg { width: 32px; height: 32px; }
.doc { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.crumb { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.crumb span { margin-left: 4px; color: #c3c9cf; }
.doc h1 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saved { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-size: 12px; color: var(--ink-3); padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--bg-2); white-space: nowrap; }
.saved svg { width: 14px; height: 14px; color: var(--brand); }
.saved.saving svg { opacity: .3; }
.top-right { display: flex; align-items: center; gap: 12px; }
.people { display: flex; }
.people img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.people img + img { margin-left: -8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 1px 2px rgba(11,94,67,.3); }
.btn.primary:hover { background: var(--brand-ink); }

/* toolbar */
.toolbar { display: flex; align-items: center; gap: 2px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.tb { height: 30px; min-width: 30px; padding: 0 7px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.tb svg { width: 16px; height: 16px; }
.tb.txt { font-family: "Geist Mono", monospace; font-size: 13px; }
.tb.b { font-family: "Geist", sans-serif; font-weight: 800; }
.tb:hover:not(:disabled) { background: #e9ecee; color: var(--ink); }
.tb[aria-pressed="true"] { background: var(--brand-tint-2); color: var(--brand-ink); }
.tb:disabled { opacity: .35; cursor: default; }
.sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.tb-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }

/* formula bar */
.fbar { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--bg); }
.ref { width: 92px; flex: none; display: flex; align-items: center; padding: 0 12px; font: 500 13px "Geist Mono", monospace; color: var(--ink); border-right: 1px solid var(--line); }
.fx { width: 36px; flex: none; display: grid; place-items: center; font: italic 600 13px Georgia, serif; color: var(--ink-3); border-right: 1px solid var(--line); }
.finput { flex: 1; min-width: 0; border: 0; padding: 0 12px; font: 400 13px "Geist Mono", monospace; color: var(--ink); background: transparent; outline: none; }
.finput:focus { background: var(--brand-tint); }

/* main */
.main { display: grid; grid-template-columns: minmax(0, 1fr) 352px; min-height: 0; }
.kpis-sm { display: none; }
.grid-wrap { overflow: auto; min-height: 0; position: relative; outline: none; overscroll-behavior: contain; background: var(--bg); }
.grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; min-width: 1074px; font-size: 13px; font-variant-numeric: tabular-nums; }
.c-rn { width: 44px; } .c-A { width: 210px; } .c-B, .c-C, .c-D, .c-E { width: 100px; } .c-F { width: 108px; } .c-G { width: 98px; } .c-H { width: 102px; } .c-I { width: 112px; }
.grid th, .grid td { height: var(--rh); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid thead th { position: sticky; top: 0; z-index: 3; height: 26px; background: var(--bg-2); color: var(--ink-3); font-weight: 500; font-size: 11px; border-bottom-color: var(--line); }
.grid .corner { left: 0; z-index: 5; }
.grid .rh { position: sticky; left: 0; z-index: 2; background: var(--bg-2); color: var(--ink-3); font-weight: 500; font-size: 11px; text-align: center; border-right-color: var(--line); cursor: default; }
.grid td { background: var(--bg); padding: 0 10px; text-align: right; cursor: cell; color: var(--ink); }
.grid td.cA { position: sticky; left: 44px; z-index: 1; text-align: left; border-right-color: var(--line); }
.grid td.txt { text-align: left; }
.grid td.bold { font-weight: 700; }
.grid td.pos { color: var(--brand); }
.grid td.neg { color: var(--neg); }
.grid td.zero { color: var(--ink-3); }
.grid td.err { color: var(--neg); font: 600 12px "Geist Mono", monospace; }
.grid td.cG, .grid td.cF { background: #fcfcfd; }
.grid td.cH { color: var(--ink-2); }

.r-head td { position: sticky; top: 26px; z-index: 2; background: #fff !important; font-weight: 600; color: var(--ink-2); font-size: 12px; border-bottom: 1px solid var(--line); text-align: right; }
.r-head td.cA { z-index: 4; text-align: left; }
.r-head .rh { position: sticky; top: 26px; z-index: 4; }
.r-section td { color: transparent; }
.r-section td.cA { color: var(--ink-3); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: 6px; }
.r-section td.cA::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--cat, var(--ink-3)); margin-right: 8px; vertical-align: 0; }
.g-inc.r-section td.cA::before { background: var(--brand); }
.g-sav.r-section td.cA::before { background: #0e9aa7; }
.g-sum.r-section td.cA::before { background: var(--ink); }
.r-sub td { font-weight: 600; background: var(--bg-2); }
.r-sub td.cF, .r-sub td.cG { background: #f3f5f6; }
.r-total td { font-weight: 700; background: var(--bg-3); border-top: 1px solid #d5dadf; }
.r-key td { font-weight: 700; background: var(--brand-tint); color: var(--brand-ink); }
.r-key td.cA::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: 2px; }
.r-pct td { color: var(--ink-2); }
.r-ref td.cA, .r-pct td.cA, .r-key td.cA { font-weight: 600; }

.grid td.in { background-image: linear-gradient(rgba(18,128,92,.09), rgba(18,128,92,.09)); }
.grid td.ref-hl { box-shadow: inset 0 0 0 1px rgba(60,111,209,.55); background-image: linear-gradient(rgba(60,111,209,.07), rgba(60,111,209,.07)); }
.grid td.sel { box-shadow: inset 0 0 0 2px var(--brand); background-image: none; }
.grid th.hl { background: var(--brand-tint-2); color: var(--brand-ink); }
.grid td.editing { padding: 0; overflow: visible; z-index: 6; }
.cell-input { width: 100%; height: 100%; border: 0; outline: 2px solid var(--brand); outline-offset: -2px; padding: 0 8px; font: 500 13px "Geist Mono", monospace; color: var(--ink); background: #fff; box-shadow: 0 6px 18px rgba(23,32,42,.16); border-radius: 0; }

/* side panel */
.side { border-left: 1px solid var(--line); background: var(--bg-2); padding: 16px; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; box-shadow: 0 1px 2px rgba(23,32,42,.04); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card h2 { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill.up { background: var(--brand-tint); color: var(--brand-ink); }
.pill.down { background: #fdeee6; color: var(--neg); }
.big { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.big.neg { color: var(--neg); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.kpi-row div + div { padding-left: 12px; border-left: 1px solid var(--line-2); }
.kpi-row span { display: block; font-size: 11px; color: var(--ink-3); }
.kpi-row b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); }
.sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sw + .sw, .legend .sw.exp { margin-left: 6px; }
.sw.inc { background: var(--brand); } .sw.exp { background: #2b3540; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: var(--line-2); stroke-width: 1; }
.chart .ax { font-size: 10px; fill: var(--ink-3); font-family: "Geist", sans-serif; font-variant-numeric: tabular-nums; }
.chart .ax-on { fill: var(--ink); font-weight: 600; }
.chart .b-inc { fill: var(--brand); } .chart .b-exp { fill: #2b3540; }
.chart .dim { opacity: .35; }
.chart .hit { cursor: pointer; }
.chart rect { transition: y .25s, height .25s, opacity .2s; }
.seg { display: inline-flex; background: var(--bg-3); border-radius: 8px; padding: 2px; }
.seg button { height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(23,32,42,.12); }
.cats { list-style: none; display: grid; gap: 10px; }
.cat-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cat-top .dot { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cat-top .nm { flex: 1; color: var(--ink); font-weight: 500; }
.cat-top .share { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.cat-top b { width: 64px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 6px; border-radius: 3px; background: var(--bg-3); margin-top: 6px; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; transition: width .25s; }
.plan { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; border-radius: 1px; background: var(--ink); opacity: .55; }
.plan.over { background: var(--neg); opacity: 1; }
.note { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--ink-3); }
.note .tick { width: 2px; height: 10px; background: var(--ink); opacity: .55; border-radius: 1px; }

/* footer */
.foot { display: flex; align-items: stretch; gap: 16px; padding: 0 12px 0 0; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 12px; color: var(--ink-3); }
.tabs { display: flex; }
.tab { padding: 0 16px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tab.on { background: #fff; color: var(--brand-ink); font-weight: 600; box-shadow: 1px 0 0 var(--line); }
.hint { display: flex; align-items: center; }
.stat { margin-left: auto; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b { color: var(--ink); font-weight: 600; margin-right: 10px; }
.stat b:last-child { margin-right: 0; }
.fx-tag { font: 500 11px "Geist Mono", monospace; color: var(--brand-ink); background: var(--brand-tint); padding: 1px 6px; border-radius: 4px; }
.toast { position: fixed; left: 50%; bottom: 52px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; font-size: 13px; padding: 8px 14px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 8px 24px rgba(23,32,42,.25); white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.grid-wrap:focus-visible { outline: none; }

/* the other sheets: transactions, bills, goals (views.js) */
body.v-alt { grid-template-rows: 56px minmax(0, 1fr) 36px; }
.adoovi-top body.v-alt { grid-template-rows: 40px 56px minmax(0, 1fr) 36px; }
body.v-alt .toolbar, body.v-alt .fbar, body.v-alt .main { display: none; }
.view { overflow: auto; min-height: 0; padding: 24px 28px 32px; background: var(--bg-2); }
.view[hidden] { display: none; }
.vh { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.vh h2 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.vh p { color: var(--ink-2); margin-top: 2px; max-width: 60ch; }
.btn { border: 1px solid transparent; }
.btn:not(.primary) { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12px; }
.addrow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 14px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.addrow[hidden] { display: none; }
.addrow label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.addrow input, .addrow select, .filters input, .filters select, select.inl { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font: 400 13px "Geist", sans-serif; color: var(--ink); background: #fff; }
.addrow input[type=text] { width: 200px; } .addrow input[type=number] { width: 110px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.filters input[type=search] { width: 240px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.chk input { width: 16px; height: 16px; accent-color: var(--brand); }
.tablewrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: auto; }
.list { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.list th { position: sticky; top: 0; background: var(--bg-2); text-align: left; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.list td { padding: 8px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.list tr:last-child td { border-bottom: 0; }
.list .r { text-align: right; } .list .c { text-align: center; }
.list .d { color: var(--ink-2); white-space: nowrap; }
.list .num { font-weight: 600; }
.list .empty { text-align: center; color: var(--ink-3); padding: 28px; }
.list .av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 650; font-size: 12px; margin-right: 10px; vertical-align: middle; }
.list tr.unrev td { background: #fffdf5; }
.list input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); }
select.inl { height: 30px; border-color: transparent; background: var(--bg-2); }
select.inl:hover, select.inl:focus { border-color: var(--line); }
.tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.tag.new { background: #fef3c7; color: #92400e; }
.sub { display: block; font-size: 12px; color: var(--ink-3); }
.vfoot { display: flex; justify-content: flex-end; gap: 12px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); }
.vfoot b { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.stat-card span { font-size: 12px; color: var(--ink-3); }
.stat-card b { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.stat-card em { font-size: 12px; color: var(--ink-2); }
.stat-card.warn { border-color: #fdba74; background: #fff7ed; }
.stat-card.warn b { color: var(--neg); }
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.status.paid { background: var(--brand-tint); color: var(--brand-ink); }
.status.due { background: #fef3c7; color: #92400e; }
.status.later { background: var(--bg-3); color: var(--ink-2); }
.status.over { background: #fdeee6; color: var(--neg); }
.list tr.flagged td { background: #fff7ed; }
.list tr.st-paid td { color: var(--ink-3); }
.list tr.st-paid b { color: var(--ink-2); font-weight: 500; }
.sw-toggle { position: relative; display: inline-block; width: 34px; height: 20px; }
.sw-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.sw-toggle span { position: absolute; inset: 0; border-radius: 999px; background: #d5dadf; transition: background .2s; pointer-events: none; }
.sw-toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.sw-toggle input:checked + span { background: var(--brand); }
.sw-toggle input:checked + span::after { transform: translateX(14px); }
.sw-toggle input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.goals { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.goal { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; background: color-mix(in srgb, var(--g) 7%, #fff); }
.goal-h { display: flex; justify-content: space-between; align-items: baseline; }
.goal h3 { font-size: 16px; font-weight: 650; }
.goal .pct { font-weight: 650; color: var(--g); }
.goal-amt { color: var(--ink-2); } .goal-amt b { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.bar { height: 8px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--g); border-radius: 4px; transition: width .3s; }
.goal-plan { font-size: 13px; color: var(--ink-2); }
.goal-add { display: flex; gap: 8px; }
.goal-add input { flex: 1; min-width: 0; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font: 400 13px "Geist", sans-serif; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.tab .sm { display: none; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.badge[hidden] { display: none; }
.badge.warn { background: #fdeee6; color: var(--neg); }
.feed-card { padding: 12px 14px 14px; }
body.v-alt .hint { display: none; }
.pace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center; margin-top: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pace h3 { font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.pace p { color: var(--ink-2); } .pace p b { color: var(--ink); }
.pace .sub { margin-top: 8px; }
.pace-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; height: 180px; }
.pb { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; gap: 4px; }
.pb-col { position: relative; width: 44px; height: 100%; }
.pb-col span { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 3px 3px; transition: height .3s; }
.pb-left { background: var(--brand-tint-2); }
.pb-sav { background: #0e9aa7; }
.pb b { font-size: 13px; } .pb em { font-size: 12px; color: var(--ink-3); }

/* phone */
@media (max-width: 760px) {
  body { height: auto; min-height: 100dvh; overflow: auto; display: block; }
  .top { height: 52px; padding: 0 12px; gap: 10px; }
  .crumb, .people, .hide-sm, .hint { display: none !important; }
  .doc h1 { font-size: 15px; }
  .saved { padding: 2px 6px; }
  .saved span { display: none; }
  .btn { padding: 0 10px; }
  .toolbar { height: 44px; padding: 0 8px; overflow: hidden; }
  .toolbar .tb { min-width: 36px; height: 34px; }
  .fbar { height: 40px; }
  .ref { width: 64px; padding: 0 10px; }
  .main { display: block; }
  .kpis-sm { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 8px; padding: 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .kpi-sm { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
  .kpi-sm span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
  .kpi-sm b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
  .kpi-sm:first-child b { color: var(--brand-ink); }
  .grid-wrap { height: calc(100dvh - 52px - 44px - 40px - 82px - 44px); min-height: 380px; }
  .grid { min-width: 860px; font-size: 13px; }
  .c-rn { width: 32px; } .c-A { width: 150px; } .c-B, .c-C, .c-D, .c-E { width: 86px; } .c-F { width: 94px; } .c-G { width: 88px; } .c-H { width: 90px; } .c-I { width: 100px; }
  .grid td.cA { left: 32px; }
  .side { border-left: 0; border-top: 1px solid var(--line); }
  .foot { position: sticky; bottom: 0; height: 44px; z-index: 10; padding: 0; }
  .tab { padding: 0 10px; flex: 1; justify-content: center; }
  .tabs { flex: 1; }
  .tab .lg { display: none; } .tab .sm { display: inline; }
  .stat { display: none; }
  .view { padding: 16px 12px 24px; min-height: calc(100dvh - 52px - 44px); }
  .vh { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat-card:last-child { grid-column: 1 / -1; }
  .filters input[type=search] { width: 100%; }
  .addrow input[type=text] { width: 100%; } .addrow label { flex: 1 1 140px; }
  .list { min-width: 620px; }
  .pace { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.r-head td.txt:not(.cA) { text-align: right; }

/* No italics anywhere (operator rule): accent words stay upright. */
*, *::before, *::after { font-style: normal !important; }
