/* ============================================================================
 * apprun.icu — planner pages (Brickyard)
 * ----------------------------------------------------------------------------
 * Shared by the ten planner / calculator pages. Built on assets/css/ds.css
 * (load it first). Each page picks a voxel material with <body data-mat="…">;
 * that one colour drives its banner sky, buttons, focus rings and highlights.
 *
 * A work surface, not a poster: white panels on a cool-sky page, one voxel
 * scene in the banner, figures set in tabular numerals of the same family as
 * the text (no monospace). The legacy token names below are kept as aliases so
 * the inline scripts and SVGs of the pages keep resolving.
 * ==========================================================================*/

:root {
  /* legacy aliases (the pages' inline CSS/JS still say var(--paper) etc.) */
  --paper: var(--page); --paper-2: var(--page-2); --paper-3: #d9e6f6;
  --body: var(--ink-2); --muted: var(--ink-3); --dim: #6a7aa3;
  --rule: var(--line); --soil: #9a6a3c;
  --accent: var(--m-ink); --accent-2: var(--m-side); --accent-soft: var(--m-soft);
  --accent-line: color-mix(in srgb, var(--m) 45%, #fff);
  --leaf-1: var(--grass-top); --leaf-3: var(--grass); --sand-2: var(--sand-side); --clay: var(--lava);
  --sky: var(--water-top); --sun: var(--sand-top);
  --warn-line: #f0d48a; --bad-line: #f2b8ae; --info-line: #b5cdf7;
  --serif: var(--display); --sans: var(--font-ui); --mono: var(--font-ui);
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px;
  --shadow-1: 0 1px 2px rgba(12, 21, 53, 0.06);
  --shadow-2: 0 1px 2px rgba(12, 21, 53, 0.06), 0 14px 30px -18px rgba(12, 21, 53, 0.38);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); background: var(--page); color: var(--ink-2); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; }
h4 { font-weight: 800; }
a { color: var(--m-ink); text-decoration: none; }
a:hover { color: var(--ink); }
.wrap { width: min(calc(100% - 2.5rem), 1180px); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 0; color: #fff; }

/* ============================ 2. Top bar ================================= */
.tbar { position: sticky; top: 0; z-index: 40; background: var(--page); border-bottom: 1px solid var(--line); }
.is-scrolled .tbar { box-shadow: 0 3px 0 var(--line-2); }
.tbar-in { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 8px 0; }
.tbrand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 900 1.12rem/1 var(--display); font-stretch: 122%; letter-spacing: -0.02em; }
.tbrand:hover { color: var(--ink); }
.tbrand svg { width: 32px; height: 32px; flex: 0 0 auto; transition: transform 0.4s var(--ease-pop); }
.tbrand:hover svg { transform: rotate(-8deg) translateY(-2px); }
.tbrand small { display: block; font: 800 0.72rem/1 var(--font-ui); font-stretch: 100%; letter-spacing: 0; color: var(--m-ink); margin-top: 4px; }
.tbar-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 14px; }
.tbar-nav a { position: relative; padding: 8px 12px; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.tbar-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 4px; background: var(--m); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.tbar-nav a:hover { color: var(--ink); }
.tbar-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 560px) {
  .tbar-nav { font-size: 12.5px; gap: 0; }
  .tbar-nav a { padding: 7px 8px; }
  .tbar-nav a::after { left: 8px; right: 8px; }
}

/* ============================ 3. Banner ================================== */
.thero { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 85%, var(--page) 100%); padding: 0; border: 0; }
.thero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(1rem, 4vw, 3.5rem); padding: clamp(1.6rem, 4.5vw, 3.4rem) 0 clamp(2.8rem, 5vw, 4.2rem); }
.thero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; background: var(--page); z-index: 0; -webkit-mask: var(--strata-mask) repeat-x bottom / 520px 28px; mask: var(--strata-mask) repeat-x bottom / 520px 28px; --strata-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V10h20V18h20V24h20V20h20V20h20V24h20V24h20V12h20V20h20V12h20V20h20V12h20V24h20V24h20V24h20V24h20V20h20V16h20V4h20V8h20V16h20V24h20V24h20V24h20V24h20V12h20V28H0z'/%3E%3C/svg%3E"); }
.thero-in { position: relative; z-index: 1; max-width: 640px; }
.thero-scene { position: relative; z-index: 1; aspect-ratio: 1.2; min-height: 240px; max-height: 400px; width: 100%; touch-action: pan-y; }
.thero-scene .vx-canvas { position: absolute; inset: 0; }
.kicker { display: inline-flex; align-items: center; gap: 0.5em; font: 800 0.92rem/1 var(--font-ui); color: var(--ink); margin-bottom: 14px; }
.kicker::before { content: ""; width: 1.15em; height: 1.15em; flex: none; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: conic-gradient(from 300deg at 50% 50%, var(--m-top) 0 120deg, var(--m-side) 0 240deg, var(--m) 0 360deg); }
.thero h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-weight: 900; font-stretch: 120%; letter-spacing: -0.028em; line-height: 1.02; margin-bottom: 16px; }
.thero h1 em { font-style: normal; background: var(--m); color: var(--on-m); padding: 0 0.14em 0.03em; margin: 0 -0.03em; box-shadow: 0.06em 0.06em 0 var(--m-side); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: 1.06rem; color: var(--ink-2); max-width: 60ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 13.5px; color: var(--ink-2); }
.hero-facts > * { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-facts > *::before { content: ""; width: 0.95em; height: 0.95em; flex: none; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: conic-gradient(from 300deg at 50% 50%, var(--m-top) 0 120deg, var(--m-side) 0 240deg, var(--m) 0 360deg); }
.hero-facts b { color: var(--ink); font-weight: 800; }
@media (max-width: 860px) {
  .thero > .wrap { grid-template-columns: 1fr; }
  .thero-scene { order: -1; aspect-ratio: 1.6; max-height: 250px; min-height: 190px; }
}

/* ============================ 4. Layout ================================== */
.tsection { padding: 38px 0; position: relative; }
.tsection + .tsection { border-top: 0; }
.tsection:nth-of-type(even) { background: color-mix(in srgb, var(--m-soft) 38%, var(--page)); }
.sec-h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 850; font-stretch: 115%; margin-bottom: 8px; }
.sec-sub { color: var(--ink-3); font-size: 15px; max-width: 70ch; margin-bottom: 22px; }
.work { display: grid; grid-template-columns: minmax(320px, 410px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 940px) {
  .work { grid-template-columns: 1fr; }
  /* Mobile first-value. In a single column the live readings used to sit
     below every input card, so editing a field gave no visible feedback.
     Promote .results' children into the .work flex column, put the stats
     strip first and pin it under the sticky top bar. */
  .work { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
  .work > * { min-width: 0; }
  .controls { order: 2; }
  .results { display: contents; }
  .results > .stats { order: 1; position: sticky; top: 74px; z-index: 30; max-height: min(45vh, 340px); overflow-y: auto; overscroll-behavior: contain; }
  .results > *:not(.stats) { order: 3; }
}

/* ============================ 5. Panels ================================== */
.card { background: var(--card); border: 2px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: clip; }
.card + .card { margin-top: 20px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--m-soft); border-bottom: 2px solid var(--line-2); }
.card-h::before { content: ""; width: 1.05em; height: 1.05em; flex: none; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: conic-gradient(from 300deg at 50% 50%, var(--m-top) 0 120deg, var(--m-side) 0 240deg, var(--m) 0 360deg); }
.card-h h2, .card-h h3 { font: 850 1rem/1.2 var(--display); font-stretch: 112%; letter-spacing: -0.005em; }
.card-h .card-h-note { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--m-ink); }
.card-b { padding: 16px; }
.card-b.tight { padding: 12px 16px; }
.card.sticky { position: sticky; top: 76px; }

/* ============================ 6. Fields ================================== */
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > label, .legend { display: block; font-size: 13px; font-weight: 750; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-size: 12px; color: var(--ink-3); margin-top: 5px; line-height: 1.45; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .fgrid, .fgrid.three { grid-template-columns: 1fr; } }
input[type="text"], input[type="number"], input[type="search"], select, textarea { width: 100%; font-family: var(--font-ui); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); background: #fff; border: 2px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 11px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
textarea { font-weight: 500; resize: vertical; min-height: 76px; }
input:hover, select:hover, textarea:hover { border-color: var(--m); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--m); box-shadow: 0 0 0 4px var(--m-soft); }
input[aria-invalid="true"] { border-color: var(--bad); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 17px) calc(50% + 1px), calc(100% - 11px) calc(50% + 1px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.unit { display: flex; align-items: stretch; }
.unit input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.unit span { display: flex; align-items: center; padding: 0 11px; font-size: 13px; font-weight: 800; color: var(--m-ink); background: var(--m-soft); border: 2px solid var(--line-2); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; white-space: nowrap; }
.range { width: 100%; accent-color: var(--m); height: 22px; cursor: pointer; }
.range-out { font-size: 13px; color: var(--ink); font-weight: 800; }
.check { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; font-size: 14px; cursor: pointer; line-height: 1.4; }
.check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--m); cursor: pointer; }
.check span small { display: block; color: var(--ink-3); font-size: 12px; }
.check-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--page-2); border: 2px solid var(--line-2); border-radius: var(--r-sm); }
.seg button { font: inherit; font-size: 13px; font-weight: 750; color: var(--ink-2); background: transparent; border: 0; border-radius: 2px; padding: 6px 12px; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s var(--ease); }
.seg button:hover { color: var(--ink); background: #fff; }
.seg button[aria-pressed="true"] { background: var(--m); color: var(--on-m); box-shadow: 0 3px 0 var(--m-side); transform: translateY(-1px); }

/* ============================ 7. Buttons ================================= */
/* extruded blocks (see ds.css .btn); default is a white block, .btn-p takes the page material */
.btn { --d: 4px; --face: #fff; --side: var(--line-2); --under: var(--line); color: var(--ink); font: 800 0.9rem/1 var(--display); font-stretch: 106%; padding: 0.7em 1.05em; gap: 0.5em; margin: 0 6px 6px 0; }
.btn:hover { color: var(--ink); }
.btn-p { --face: var(--m); --side: var(--m-side); --under: var(--m-side); color: var(--on-m); }
.btn-p:hover { color: var(--on-m); }
.btn-sm { font-size: 0.8rem; padding: 0.55em 0.85em; --d: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; }

/* ============================ 8. Results ================================= */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 2px; background: var(--line-2); border: 2px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--card); padding: 13px 15px; position: relative; }
.stat-v { font: 850 1.45rem/1.15 var(--display); font-stretch: 108%; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-v small { font-size: 0.62em; color: var(--ink-3); font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
.stat-l { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.stat.hl { background: var(--m); }
.stat.hl .stat-v, .stat.hl .stat-v small, .stat.hl .stat-l { color: var(--on-m); }
.readout { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.readout b { color: var(--ink); font-weight: 800; }

/* ============================ 9. Messages ================================ */
.msg { display: flex; gap: 10px; padding: 11px 13px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; border: 2px solid var(--line-2); background: #fff; color: var(--ink-2); }
.msg + .msg { margin-top: 8px; }
.msg i { font-style: normal; flex: 0 0 auto; font: 900 12px/1 var(--font-ui); width: 20px; height: 20px; display: grid; place-items: center; background: var(--line-2); color: var(--ink); margin-top: 1px; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.msg b { color: var(--ink); }
.msg-warn { background: var(--warn-soft); border-color: var(--warn-line); color: #5f3d00; }
.msg-warn i { background: var(--sand); color: var(--ink); }
.msg-bad { background: var(--bad-soft); border-color: var(--bad-line); color: #7a1d17; }
.msg-bad i { background: var(--bad); color: #fff; }
.msg-ok { background: var(--ok-soft); border-color: #a8dcb8; color: #0f5a2c; }
.msg-ok i { background: var(--ok); color: #fff; }
.msg-info { background: var(--info-soft); border-color: var(--info-line); color: #123f8c; }
.msg-info i { background: var(--info); color: #fff; }
.msgs:empty { display: none; }
.msgs { margin-top: 14px; }
.rec { border-left: 4px solid var(--m); padding: 2px 0 2px 13px; font-size: 14px; margin-bottom: 12px; }
.rec:last-child { margin-bottom: 0; }
.rec b { display: block; color: var(--ink); margin-bottom: 2px; }
.rec span { color: var(--ink-2); }

/* ============================ 10. Table ================================== */
.tblwrap { overflow-x: auto; border: 2px solid var(--line-2); border-radius: var(--r-md); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--m-soft); border-bottom: 2px solid var(--line-2); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--m-soft) 50%, #fff); }
.tbl td .swatch { display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -1px; }

/* ============================ 11. Visuals =============================== */
.viz { background: #fff; border: 2px solid var(--line-2); border-radius: var(--r-md); padding: 12px; overflow: hidden; }
.viz svg, .viz canvas { display: block; width: 100%; height: auto; }
.viz-cap { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.viz-cap span { display: inline-flex; align-items: center; gap: 6px; }
.viz-cap i { width: 11px; height: 11px; display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 2px; background: var(--page-2); border: 2px solid var(--line-2); color: var(--ink-2); }
.chip b { color: var(--ink); font-weight: 800; }
.chip.ok { background: var(--ok-soft); border-color: #a8dcb8; color: #0f5a2c; }
.chip.warn { background: var(--warn-soft); border-color: var(--warn-line); color: #5f3d00; }
.chip.bad { background: var(--bad-soft); border-color: var(--bad-line); color: #7a1d17; }

/* ============================ 12. Lists ================================= */
.plain { list-style: none; }
.plain li { position: relative; padding: 5px 0 5px 22px; font-size: 14.5px; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 10px; height: 10px; background: var(--m); box-shadow: 3px 3px 0 var(--m-side); transform: translate(-1px, -1px); }
.plain li b { color: var(--ink); }
.plain li:last-child { padding-bottom: 0; }
.checklist { list-style: none; counter-reset: ck; }
.checklist li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 18px; height: 18px; border: 2px solid var(--ink); background: #fff; }
.checklist li b { color: var(--ink); }
.checklist li small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ============================ 13. FAQ + related ========================= */
.faq { max-width: 80ch; }
.qa { border-bottom: 2px solid var(--line); padding: 16px 0; }
.qa:first-child { border-top: 2px solid var(--line); }
.qa h3 { font: 850 1.05rem/1.25 var(--display); font-stretch: 108%; margin-bottom: 6px; }
.qa p { font-size: 15px; color: var(--ink-2); }
.qa code { font-size: 13px; background: var(--m-soft); color: var(--m-ink); padding: 1px 6px; font-weight: 700; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.rel-card { --d: 4px; position: relative; display: block; padding: 15px 16px 16px; background: #fff; border: 2px solid var(--ink); color: inherit; box-shadow: 4px 4px 0 var(--m); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.rel-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--m); color: inherit; }
.rel-card b { display: block; color: var(--ink); font: 850 1.02rem/1.15 var(--display); font-stretch: 112%; margin-bottom: 4px; }
.rel-card span { font-size: 13.5px; color: var(--ink-2); display: block; line-height: 1.45; }
.rel-card i { display: inline-block; margin-top: 9px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--m-ink); }

/* ============================ 14. Footer ================================ */
.tfoot { position: relative; background: var(--ink); color: #b4c3e6; margin-top: 64px; padding: 40px 0 44px; font-size: 14px; }
.tfoot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 28px; background: var(--ink); -webkit-mask: var(--strata-mask) repeat-x bottom / 520px 28px; mask: var(--strata-mask) repeat-x bottom / 520px 28px; --strata-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V18h20V24h20V24h20V24h20V24h20V24h20V24h20V24h20V24h20V24h20V20h20V16h20V24h20V24h20V24h20V12h20V20h20V24h20V20h20V12h20V16h20V16h20V12h20V4h20V12h20V24h20V28H0z'/%3E%3C/svg%3E"); }
.tfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .tfoot-grid { grid-template-columns: 1fr; } }
.tfoot h4 { font: 800 0.9rem/1 var(--font-ui); color: var(--sand-top); margin-bottom: 12px; }
.tfoot ul { list-style: none; }
.tfoot li { margin-bottom: 7px; }
.tfoot a { color: #dbe6fb; }
.tfoot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tfoot strong { color: #fff; }
.tfoot-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid #25325f; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: #8ea1cc; }

/* ============================ 15. Toast ================================= */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; font-weight: 700; font-size: 14px; box-shadow: 5px 5px 0 var(--m); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s var(--ease-pop); z-index: 90; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============================ 16. Print ================================= */
.print-only { display: none; }
@media print {
  .tbar, .tfoot, .thero-scene, .scroll-blocks, .toast, .skip-link, .btn-row { display: none !important; }
  .thero { background: none; }
  .thero::after { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 480px) {
  .tbrand { font-size: 0.98rem; gap: 8px; }
  .tbrand svg { width: 28px; height: 28px; }
  .tbrand small { display: none; }
  .tbar-nav a:last-child { display: none; }
}
