/* 3d/upload.html: Hišni vodič design system v3 (tokens as on index.html, components from the design system's bundle.css).
   Fonts: ../fonts/fonts.css (self-hosted Instrument Sans). */
:root {
  --surface: #f5f6f4;        /* page ground */
  --surface-raised: #fcfcfb; /* cards, panels, inputs */
  --surface-sunken: #eaece9; /* photo frames, hovered row */
  --ink: #141715;            /* text, headings, prices, links */
  --ink-muted: #565d58;      /* secondary text */
  --line: #dfe2de;           /* hairlines */
  --border: #7f8581;         /* edges of controls */
  --action: var(--ink);      /* the primary button is ink, not a colour */
  --on-action: #fcfcfb;
  --accent: #1f45c4;         /* cobalt, the one accent: it means "you" (your match, selection, step) */
  --on-accent: #fcfcfb;
  --fit: var(--accent);
  --focus: var(--accent);
  --miss: #b23c0c;           /* unmet wish, always with icon and words */
  --shadow-pop: 0 12px 32px -12px rgba(20,23,21,.22);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 80px;
  --radius-sm: 10px; --radius-md: 16px; --radius-pill: 999px;
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E");
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z'/%3E%3C/svg%3E");
  --ico-question: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
  --ico-caret-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  --ico-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z'/%3E%3C/svg%3E");
  --ico-rows: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z'/%3E%3C/svg%3E");
  --ico-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z'/%3E%3C/svg%3E");
  --ico-cube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z'/%3E%3C/svg%3E");
  --ico-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z'/%3E%3C/svg%3E");
  --ico-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z'/%3E%3C/svg%3E");
  --ico-caret-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z'/%3E%3C/svg%3E");
  --ico-caret-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'/%3E%3C/svg%3E");
  --ico-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #121413; --surface-raised: #1a1d1b; --surface-sunken: #0c0e0d; --ink: #eceeeb; --ink-muted: #a3aaa5; --line: #2a2f2c; --border: #6f7772;
    --on-action: #121413; --accent: #8ea8ff; --on-accent: #0d1430; --miss: #ff9466; --shadow-pop: 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root {
  /* plan canvas (ReviewCanvas): paper in both themes; each opening type also has its own drawing symbol */
  --plan-paper: #fcfcfb; --plan-wall: rgba(28,36,32,.72); --plan-door: #007a5a; --plan-window: #b26b00; --plan-glazed: #a8487f;
  --plan-stairs: #4b5a52; --plan-room: rgba(31,69,196,.12); --plan-room-leak: rgba(178,60,12,.18); --plan-seed: #141715;
  --plan-select: #1f45c4; --plan-halo: rgba(252,252,251,.9); --plan-image-dim: .4; --opening-fill: .65;
}
.ico { display: inline-block; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -4px; }
* { box-sizing: border-box; }
/* Hišni vodič v3 components. Colours, spacing and radii come from tokens.css. */
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/27px var(--font-sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
a { color: var(--ink); text-decoration-color: var(--border); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.muted { color: var(--ink-muted); }
.hv-h1 { font: 600 44px/48px var(--font-sans); font-stretch: 90%; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.hv-h2 { font: 600 28px/34px var(--font-sans); letter-spacing: -.02em; margin: 0; }

/* Button */
.hv-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 0; font: 600 16px/1 var(--font-sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .16s cubic-bezier(.16,1,.3,1), background-color .16s, box-shadow .16s; }
.hv-btn:active { transform: scale(.97); }
.hv-btn--primary { background: var(--action); color: var(--on-action); }
.hv-btn--primary:hover { background: color-mix(in srgb, var(--action) 86%, var(--accent)); }
.hv-btn--secondary { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.hv-btn--secondary:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.hv-btn--text { background: none; padding: 0 var(--space-1); color: var(--ink); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
.hv-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hv-btn svg { width: 18px; height: 18px; flex: none; }
.hv-btn .hv-ico-go { transition: transform .2s cubic-bezier(.16,1,.3,1); }
.hv-btn:hover .hv-ico-go { transform: translateX(3px); }

/* Top bar */
.hv-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); background: var(--surface); }
.hv-brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); }
.hv-brand b { display: block; font: 700 18px/1.1 var(--font-sans); letter-spacing: -.02em; }
.hv-brand span { display: block; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-brand svg { width: 30px; height: 30px; flex: none; }
.hv-nav { display: flex; gap: var(--space-5); font: 500 15px/1 var(--font-sans); }
.hv-nav a { text-decoration: none; padding: var(--space-3) 0; }
.hv-nav a { color: var(--ink-muted); }
.hv-nav a:hover, .hv-nav a[aria-current] { color: var(--ink); }
.hv-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Promise (homepage hero): text left, two maker photos right */
.hv-promise { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: center; padding: var(--space-7) var(--space-4) var(--space-6); max-width: 1200px; }
.hv-promise h1 { font: 600 56px/58px var(--font-sans); font-stretch: 90%; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.hv-promise p { max-width: 34em; margin: var(--space-4) 0 var(--space-5); color: var(--ink-muted); }
.hv-promise p b { color: var(--ink); font-weight: 600; }
.hv-promise .row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hv-shots { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: var(--space-3); }
.hv-shots figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.hv-shots figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.hv-shots figure:last-child { grid-column: 2; aspect-ratio: 4 / 3; margin-top: calc(-1 * var(--space-7)); box-shadow: 0 0 0 6px var(--surface); }
.hv-shots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-shots figcaption { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); grid-column: 1; grid-row: 2; align-self: start; }
.hv-makers { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: var(--space-4) var(--space-4) 0; border-top: 1px solid var(--line); max-width: 1200px; font: 600 15px/22px var(--font-sans); color: var(--ink-muted); }
.hv-makers span:first-child { font-weight: 500; color: var(--ink-muted); }
@media (max-width: 768px) { .hv-promise { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } .hv-promise h1 { font-size: 38px; line-height: 40px; } .hv-shots figure:last-child { margin-top: 0; box-shadow: none; } }

/* House card */
.hv-card { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); text-decoration: none; position: relative; }
.hv-card:hover { border-color: var(--border); }
.hv-card .ph { aspect-ratio: 3 / 2; background: var(--surface-sunken); overflow: hidden; }
.hv-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.hv-card:hover .ph img { transform: scale(1.03); }
.hv-card .bd { padding: var(--space-4); display: grid; gap: var(--space-2); }
.hv-card .nm { font: 600 18px/24px var(--font-sans); }
.hv-card .mk { font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.hv-card .facts { display: flex; flex-wrap: wrap; gap: 2px var(--space-3); font: 400 15px/22px var(--font-sans); }
.hv-card .pr { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.hv-card .pr b.na { font-size: 17px; line-height: 24px; letter-spacing: 0; }
.hv-card .pr b { font: 600 26px/30px var(--font-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hv-card .pr small { display: block; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-fit { font: 600 15px/1 var(--font-sans); color: var(--fit); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hv-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1; background: var(--accent); color: var(--on-accent); font: 600 13px/1 var(--font-sans); padding: 8px 12px; border-radius: var(--radius-pill); }

/* Fit list */
.hv-fitlist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); font: 400 15px/22px var(--font-sans); }
.hv-fitlist li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2); align-items: start; }
.hv-fitlist svg { width: 20px; height: 20px; margin-top: 1px; }
.hv-fitlist .ok svg { color: var(--fit); }
.hv-fitlist .no svg { color: var(--miss); }
.hv-fitlist .no b { color: var(--miss); font-weight: 600; }
.hv-fitlist .unk { color: var(--ink-muted); }

/* Filter chips */
.hv-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; padding: 0; margin: 0; }
.hv-chips legend { font: 600 15px/22px var(--font-sans); margin-bottom: var(--space-2); padding: 0; }
.hv-chips label { position: relative; }
.hv-chips input { position: absolute; opacity: 0; }
.hv-chips span { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border); font: 500 15px/1 var(--font-sans); cursor: pointer; background: var(--surface-raised); }
.hv-chips input:checked + span { background: var(--ink); color: var(--surface); box-shadow: none; }
.hv-chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Price table */
.hv-table { width: 100%; border-collapse: collapse; font: 400 15px/22px var(--font-sans); background: var(--surface-raised); border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.hv-table th, .hv-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: left; }
.hv-table th { font: 600 13px/18px var(--font-sans); color: var(--ink-muted); background: var(--surface-raised); }
.hv-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.hv-table td.pr { font-weight: 600; }
.hv-table td small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.hv-table tbody tr:hover { background: var(--surface-sunken); }
.hv-table tr:last-child td { border-bottom: 0; }
.hv-table mark { background: none; color: var(--accent); font-weight: 600; }

/* Quiz option */
.hv-q { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); border: 0; padding: 0; margin: 0; }
.hv-q legend { font: 600 28px/34px var(--font-sans); letter-spacing: -.02em; margin-bottom: var(--space-2); padding: 0; }
.hv-q .hint { grid-column: 1 / -1; margin: 0 0 var(--space-2); color: var(--ink-muted); font-size: 15px; }
.hv-q label { position: relative; }
.hv-q input { position: absolute; opacity: 0; }
.hv-q span { display: grid; gap: var(--space-1); padding: var(--space-4); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; font: 600 16px/22px var(--font-sans); }
.hv-q span small { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-q input:checked + span { box-shadow: inset 0 0 0 2px var(--fit); }
.hv-q input:checked + span::after { content: ""; position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--fit); }
.hv-q input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hv-steps { display: flex; gap: var(--space-1); margin-bottom: var(--space-4); align-items: center; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-steps i { width: 28px; height: 4px; border-radius: 2px; background: var(--line); }
.hv-steps i.done { background: var(--ink-muted); }
.hv-steps i.on { background: var(--accent); }
.hv-steps em { font-style: normal; margin-left: var(--space-2); }

/* Tool list (what else the guide does) */
.hv-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.hv-tools li { border-bottom: 1px solid var(--line); }
.hv-tools a { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--space-3); padding: var(--space-4) var(--space-2); text-decoration: none; }
.hv-tools a:hover { background: var(--surface-raised); }
.hv-tools b { font: 600 18px/24px var(--font-sans); }
.hv-tools span { grid-column: 1; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.hv-tools svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 20px; height: 20px; color: var(--ink-muted); transition: transform .2s cubic-bezier(.16,1,.3,1), color .2s; }
.hv-tools a:hover svg { transform: translateX(3px); color: var(--ink); }



/* ---------- Plan upload → 3D ---------- */
.hv-panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.hv-label { display: block; font: 600 15px/22px var(--font-sans); margin-bottom: var(--space-2); }
.hv-hint { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); margin: var(--space-2) 0 0; }
.hv-err { font: 500 13px/18px var(--font-sans); color: var(--miss); margin: var(--space-2) 0 0; display: flex; gap: var(--space-1); }
.hv-ico { width: 18px; height: 18px; flex: none; fill: currentColor; }
.hv-spin { animation: hv-spin .9s linear infinite; }
@keyframes hv-spin { to { transform: rotate(360deg); } }

/* Step progress: Naloži → Merilo → Pregled → 3D */
.hv-flow { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hv-flow li { flex: 1; counter-increment: s; }
.hv-flow a, .hv-flow span { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-2); border-top: 4px solid var(--line); font: 500 15px/20px var(--font-sans); color: var(--ink-muted); text-decoration: none; }
.hv-flow a::before, .hv-flow span::before { content: counter(s); font: 600 13px/1 var(--font-sans); }
.hv-flow .done a { border-color: var(--ink-muted); color: var(--ink); }
.hv-flow .on span { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.hv-flow .off span { opacity: .5; }
.hv-flow-s { display: none; font: 600 15px/20px var(--font-sans); }
@media (max-width: 520px) { .hv-flow { display: none; } .hv-flow-s { display: block; } }

/* Privacy note */
.hv-privacy { display: flex; gap: var(--space-3); align-items: start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface-sunken); font: 400 15px/22px var(--font-sans); }
.hv-privacy b { font-weight: 600; }
.hv-privacy .hv-ico { margin-top: 2px; color: var(--fit); }
.hv-privacy-more { margin-top: var(--space-1); }
.hv-privacy-more summary { cursor: pointer; text-decoration: underline; }
.hv-privacy-more[open] summary { margin-bottom: var(--space-1); }

/* Dropzone */
.hv-drop { display: grid; place-items: center; gap: var(--space-2); text-align: center; min-height: 180px; padding: var(--space-5); border: 2px dashed var(--border); border-radius: var(--radius-md); background: var(--surface-raised); }
.hv-drop.over { border-style: solid; border-color: var(--fit); background: var(--surface-sunken); }
.hv-drop.bad { border-color: var(--miss); }
.hv-drop b { font: 600 18px/24px var(--font-sans); }
.hv-drop .hv-ico { width: 32px; height: 32px; color: var(--ink-muted); }
.hv-loaded { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; }
@media (max-width: 520px) { .hv-loaded { grid-template-columns: 96px minmax(0, 1fr); } .hv-loaded .hv-btn { grid-column: 1 / -1; } }
.hv-thumb { aspect-ratio: 4/3; border-radius: var(--radius-sm); background: var(--plan-paper); border: 1px solid var(--line); overflow: hidden; }
.hv-thumb svg { width: 100%; height: 100%; display: block; }

/* Floor picker */
.hv-floors { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: 2px; }
.hv-floor { display: grid; gap: 2px; min-width: 132px; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); font: 600 15px/20px var(--font-sans); text-align: left; cursor: pointer; border: 0; color: var(--ink); }
.hv-floor small { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); display: flex; gap: var(--space-1); align-items: center; }
.hv-floor[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.hv-floor.ok small { color: var(--fit); }
.hv-floor.no small { color: var(--miss); }
.hv-floor.empty { box-shadow: inset 0 0 0 1px var(--border); border: 0; background: none; outline: 1px dashed var(--border); outline-offset: -1px; }

/* Inputs */
.hv-input { display: flex; align-items: center; min-height: 48px; border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); max-width: 220px; }
.hv-input input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 var(--space-3); font: 400 17px/1 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; outline: none; }
.hv-input span { padding-right: var(--space-3); color: var(--ink-muted); }
.hv-input:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.hv-input.bad { box-shadow: inset 0 0 0 2px var(--miss); }
.hv-input.sug { box-shadow: inset 0 0 0 1px var(--border); background: var(--surface-sunken); }
.hv-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-2); font: 400 15px/22px var(--font-sans); }

/* Canvas (2D review) */
.hv-canvas { position: relative; background: var(--plan-paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.hv-canvas.scanning::after { /* the plan being read: a soft band sweeps over it (off with reduced motion) */
  content: ''; position: absolute; inset: -25% 0 auto; height: 25%; pointer-events: none;
  background: linear-gradient(transparent, color-mix(in srgb, var(--accent) 7%, transparent) 70%, color-mix(in srgb, var(--accent) 22%, transparent) calc(100% - 2px), var(--accent) calc(100% - 2px));
  animation: hv-scan 2.6s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes hv-scan { to { transform: translateY(500%); } }
/* the plan stays white in dark theme: pin the tokens its labels and marks use */
.hv-canvas, .hv-thumb { --ink: #1c2420; --ink-muted: #585f59; --plan-seed: #1c2420; --plan-select: #2250a8; --miss: #8a5a00; }
.hv-canvas svg { display: block; width: 100%; height: auto; }
.hv-canvas .img { opacity: var(--plan-image-dim); }
.pl-wall { fill: var(--plan-wall); }
.pl-door, .pl-win, .pl-glz { stroke-width: 2; fill-opacity: var(--opening-fill); }
.pl-door { fill: var(--plan-door); stroke: var(--plan-door); }
.pl-win { fill: var(--plan-window); stroke: var(--plan-window); }
.pl-glz { fill: var(--plan-glazed); stroke: var(--plan-glazed); }
.pl-sym { fill: none; stroke-width: 1.5; }
.pl-sym.d { stroke: var(--plan-door); } .pl-sym.w { stroke: var(--plan-window); } .pl-sym.g { stroke: var(--plan-glazed); }
.pl-room { fill: var(--plan-room); }
.pl-leak { fill: var(--plan-room-leak); stroke: var(--miss); stroke-width: 2; stroke-dasharray: 6 4; }
.pl-seed { fill: var(--plan-seed); }
.pl-seed.leak { fill: var(--miss); }
.pl-stairs { fill: none; stroke: var(--plan-stairs); stroke-width: 1.5; }
.pl-sel { fill: none; stroke: var(--plan-select); stroke-width: 3; paint-order: stroke; }
.pl-selhalo { fill: none; stroke: var(--plan-paper); stroke-width: 7; }
.pl-unsure { stroke-dasharray: 3 3; }
.pl-measure { stroke: var(--plan-seed); stroke-width: 2; }
.pl-measurehalo { stroke: var(--plan-paper); stroke-width: 6; }
.pl-handle { fill: var(--plan-paper); stroke: var(--plan-seed); stroke-width: 2; }
.pl-label { font: 600 12px/1 var(--font-sans); fill: var(--ink); }
.pl-label-s { font: 400 11px/1 var(--font-sans); fill: var(--ink-muted); }
.pl-plate { fill: var(--plan-halo); }
.pl-badge { fill: var(--plan-halo); stroke: var(--ink); stroke-width: 1; }
.pl-badge-t { font: 700 10px/1 var(--font-sans); fill: var(--ink); }
.pl-measure-t { font: 600 12px/1 var(--font-sans); fill: var(--ink); }

/* Legend / layer toggles */
.hv-legend { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hv-layer { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); font: 500 15px/1 var(--font-sans); color: var(--ink); border: 0; cursor: pointer; }
.hv-layer svg { width: 22px; height: 14px; background: var(--plan-paper); border-radius: 2px; }
.hv-layer[aria-pressed="false"] { color: var(--ink-muted); text-decoration: line-through; box-shadow: inset 0 0 0 1px var(--line); }
.hv-layer[aria-pressed="false"] svg { opacity: .35; }

/* Popover / bottom sheet */
.hv-pop { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); padding: var(--space-3); display: grid; gap: var(--space-2); max-width: 320px; }
.hv-pop h4 { margin: 0; font: 600 15px/22px var(--font-sans); }
.hv-seg { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.hv-seg button { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm); border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font: 500 15px/1 var(--font-sans); color: var(--ink); cursor: pointer; }
.hv-seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: none; }
.hv-seg button:disabled { opacity: .45; cursor: not-allowed; }
.hv-seg svg { width: 20px; height: 14px; }
.hv-sheet { background: var(--surface-raised); border-radius: var(--radius-md) var(--radius-md) 0 0; box-shadow: var(--shadow-pop); padding: var(--space-2) var(--space-4) var(--space-4); max-width: 420px; }
.hv-sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto var(--space-3); }

/* Tool bar (wall edit) */
.hv-tools-bar { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); }
.hv-tools-bar button { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; padding: 0 var(--space-3); border: 0; border-radius: 4px; background: none; color: var(--ink); font: 500 15px/1 var(--font-sans); cursor: pointer; }
.hv-tools-bar button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

/* Room list */
.hv-rooms { list-style: none; margin: 0; padding: 0; }
.hv-rooms li { display: grid; grid-template-columns: 1fr auto auto; gap: var(--space-3); align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font: 400 15px/22px var(--font-sans); }
.hv-rooms li:last-child { border-bottom: 0; }
.hv-rooms li b { font-weight: 600; display: block; }
.hv-rooms li small { color: var(--ink-muted); font-size: 13px; }
.hv-rooms li.sel { box-shadow: inset 3px 0 0 var(--focus); padding-left: var(--space-2); }
.hv-rooms li.warn small { color: var(--miss); }
.hv-rooms .num { color: var(--ink); }
.hv-iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--radius-sm); color: var(--ink-muted); cursor: pointer; }
.hv-iconbtn:hover { background: var(--surface-sunken); color: var(--ink); }

/* Picture cards (roof) */
.hv-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-3); }
.hv-pic { position: relative; }
.hv-pic input { position: absolute; opacity: 0; }
.hv-pic > span { display: grid; gap: var(--space-2); padding: var(--space-3); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); font: 600 15px/20px var(--font-sans); cursor: pointer; text-align: center; }
.hv-pic > span small { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-pic svg { width: 100%; height: 56px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.hv-pic input:checked + span { box-shadow: inset 0 0 0 2px var(--fit); }
.hv-pic input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hv-tag { display: inline-block; font: 600 12px/1 var(--font-sans); padding: 5px 8px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); }

/* Processing */
.hv-proc { display: grid; gap: var(--space-2); }
.hv-proc .top { display: flex; justify-content: space-between; gap: var(--space-3); font: 600 15px/22px var(--font-sans); }
.hv-proc .top span { font-weight: 400; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.hv-bar-track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hv-bar-track i { display: block; height: 100%; background: var(--ink); width: var(--p, 40%); }
.hv-bar-track.ind i { width: 30%; animation: hv-ind 1.4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes hv-ind { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.hv-substeps { list-style: none; margin: var(--space-1) 0 0; padding: 0; display: grid; gap: var(--space-1); font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-substeps li { display: flex; gap: var(--space-2); align-items: center; }
.hv-substeps .ok { color: var(--ink); }
.hv-substeps .ok .hv-ico { color: var(--fit); }
.hv-substeps .now { color: var(--ink); font-weight: 600; }

/* Status line */
.hv-status { display: grid; grid-template-columns: 20px 1fr auto; gap: var(--space-2); align-items: start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font: 400 15px/22px var(--font-sans); }
.hv-status .hv-ico { width: 20px; height: 20px; margin-top: 1px; }
.hv-status b { font-weight: 600; }
.hv-status.info .hv-ico { color: var(--ink-muted); }
.hv-status.ok .hv-ico { color: var(--fit); }
.hv-status.warn { box-shadow: inset 0 0 0 1px var(--miss); }
.hv-status.warn .hv-ico, .hv-status.err .hv-ico { color: var(--miss); }
.hv-status.err { box-shadow: inset 0 0 0 2px var(--miss); }
.hv-status a { white-space: nowrap; font-weight: 600; }

/* Viewer handover */
.hv-viewer { position: relative; aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.hv-viewer .back { position: absolute; top: max(var(--space-3), env(safe-area-inset-top)); left: var(--space-3); }
.hv-viewer .state { position: absolute; top: var(--space-3); right: var(--space-3); background: var(--surface-raised); border-radius: var(--radius-sm); padding: 8px 12px; font: 500 13px/18px var(--font-sans); box-shadow: var(--shadow-pop); }
.hv-viewer .joy { position: absolute; left: var(--space-5); bottom: var(--space-5); width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--border); }
.hv-viewer svg.house { position: absolute; inset: 20% 25% 15%; width: 50%; height: 65%; fill: none; stroke: var(--ink-muted); stroke-width: 1.5; }

/* Empty / error state */
.hv-empty { display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); max-width: 480px; }
.hv-empty h3 { margin: 0; font: 600 24px/30px var(--font-sans); letter-spacing: -.02em; }
.hv-empty p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.hv-empty .hv-ico { width: 28px; height: 28px; color: var(--miss); }
.hv-btn[aria-busy="true"] { pointer-events: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Catalogue: filter bar, house grid, house header ---------- */
.hv-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.hv-drop-pill { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-3) 0 var(--space-4); border-radius: var(--radius-pill); border: 0; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border); color: var(--ink); font: 500 15px/1 var(--font-sans); cursor: pointer; white-space: nowrap; }
.hv-drop-pill b { font-weight: 600; }
.hv-drop-pill.set { background: var(--ink); color: var(--surface); box-shadow: none; }
.hv-drop-pill svg { width: 14px; height: 14px; }
.hv-fbar .sp { flex: 1; }
.hv-count { font: 500 15px/22px var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
.hv-count b { color: var(--ink); font-weight: 600; }
.hv-fbar-phone { display: none; }
@media (max-width: 640px) { .hv-fbar > :not(.hv-fbar-phone):not(.hv-count) { display: none; } .hv-fbar-phone { display: inline-flex; } .hv-fbar .hv-count { margin-left: auto; } }
.hv-sheet .grp { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.hv-sheet .grp > b { font: 600 15px/22px var(--font-sans); }
.hv-sheet .go { width: 100%; justify-content: center; }

.hv-view { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border); background: var(--surface-raised); }
.hv-view button { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 34px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink-muted); font: 500 14px/1 var(--font-sans); cursor: pointer; }
.hv-view button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.hv-view svg { width: 16px; height: 16px; }

.hv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-5); }
.hv-grid .hv-card .bd { gap: var(--space-1); }
.hv-grid .hv-card .pr { margin-top: var(--space-2); }
.hv-more { display: grid; justify-items: center; gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 880px) { .hv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }
/* phones: compact rows, photo left, so 12 houses fit in a few screens */
@media (max-width: 640px) {
  .hv-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .hv-grid .hv-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .hv-grid .hv-card .ph { aspect-ratio: auto; height: 100%; min-height: 104px; }
  .hv-grid .hv-card .bd { padding: var(--space-3); }
  .hv-grid .hv-card .mk, .hv-grid .hv-card .facts { font-size: 13px; line-height: 18px; }
  .hv-grid .hv-card .pr { padding-top: var(--space-2); }
  .hv-grid .hv-card .pr b { font-size: 19px; line-height: 24px; }
  .hv-grid .hv-card .pr { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .hv-grid .hv-card .pr small { font-size: 12px; line-height: 16px; }
}

.hv-house { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: start; }
.hv-house .photo { margin: 0; display: grid; gap: var(--space-3); }
.hv-house .photo .img { aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.hv-house .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-house .photo figcaption { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-house h1 { font: 600 44px/48px var(--font-sans); font-stretch: 90%; letter-spacing: -.03em; margin: 0; }
.hv-house .mk { color: var(--ink-muted); margin-top: var(--space-1); }
.hv-house .facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: var(--space-5) 0; padding: var(--space-4) 0; border-block: 1px solid var(--line); }
.hv-house .facts div { display: grid; gap: 2px; }
.hv-house .facts span { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-house .facts b { font: 600 19px/24px var(--font-sans); font-variant-numeric: tabular-nums; }
.hv-house .price b { display: block; font: 600 34px/38px var(--font-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hv-house .price small { display: block; margin-top: var(--space-1); font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.hv-house .acts { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-5); }
@media (max-width: 768px) { .hv-house { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } .hv-house h1 { font-size: 32px; line-height: 36px; } }

/* top bar: sticky on desktop only; on phones it scrolls away and the descriptor stays visible */
.hv-bar.sticky { position: sticky; top: 0; z-index: 20; }
@media (max-width: 640px) { .hv-bar.sticky { position: relative; } }
/* the menu is one row, or behind one "Meni" button under 1000 px; never wrapped, never scrolled sideways
   (docs/plot-phone-design-handover.md, chapter 3; the same rules as part 10 of styles/site.css). The button sits directly before the nav. */
.hv-menu { display: none; }
@media (max-width: 999px) {
  .hv-bar { position: relative; z-index: 20; }  /* the open menu needs the bar as its frame; .sticky and the site's own bar rules still win */
  .hv-bar, .hv-bar .wrap { flex-wrap: nowrap; gap: 12px; }
  .hv-bar .hv-brand { flex: 1 1 auto; }
  .hv-menu { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: none; color: var(--ink); font: 600 15px/1 var(--font-sans); cursor: pointer; }
  .hv-menu:hover { background: var(--surface-raised); }
  .hv-menu svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
  .hv-menu .x, .hv-menu[aria-expanded="true"] .ls { display: none; }
  .hv-menu[aria-expanded="true"] .x { display: block; }
  .hv-bar .hv-nav { display: none; position: absolute; z-index: 1; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap; gap: 0; max-height: calc(100dvh - 100% - 16px); overflow-y: auto; overscroll-behavior: contain;
    padding: 0 0 8px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-pop); font: 500 16px/1.2 var(--font-sans); }
  .hv-menu[aria-expanded="true"] + .hv-nav { display: flex; }
  .hv-bar .hv-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); color: var(--ink); }
  .hv-bar .hv-nav a:hover { background: var(--surface-raised); }
  .hv-bar .hv-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
  .hv-bar .hv-nav a:focus-visible { outline-offset: -3px; }
}
:target, [id] { scroll-margin-top: 88px; }

/* Promise as the homepage band: full height on ink, carousel of real houses */
.hv-band { --b-ground: #141715; --b-raised: #1a1d1b; --b-line: #2a2f2c; --b-ink: #eceeeb; --b-muted: #a3aaa5; background: var(--b-ground); color: var(--b-ink); min-height: calc(100svh - 72px); display: flex; flex-direction: column; }
.hv-band .hv-bar { background: transparent; border-color: var(--b-line); }
.hv-band .hv-brand { color: var(--b-ink); } .hv-band .hv-brand span, .hv-band .hv-nav a { color: var(--b-muted); } .hv-band .hv-nav a:hover, .hv-band .hv-nav a[aria-current] { color: var(--b-ink); }
.hv-band .hv-promise { flex: 1; align-content: center; margin: 0 auto; width: 100%; }
.hv-band .hv-promise p { color: var(--b-muted); } .hv-band .hv-promise p b { color: var(--b-ink); }
.hv-band .hv-btn--primary { background: var(--b-ink); color: var(--b-ground); }
.hv-band .hv-btn--secondary { background: transparent; color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-muted); }
.hv-reel { display: grid; gap: var(--space-3); }
.hv-reel .frame { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; background: var(--b-raised); }
.hv-reel .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-reel .prog { height: 2px; }
.hv-reel .prog i { display: block; height: 100%; width: var(--p, 0%); background: var(--b-muted); }
.hv-reel .cap { display: flex; align-items: center; gap: var(--space-3); min-height: 40px; font: 500 15px/22px var(--font-sans); }
.hv-reel .cap a { color: var(--b-ink); text-decoration-color: var(--b-muted); }
.hv-reel .cap b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hv-reel .cap button { margin-left: auto; width: 40px; height: 40px; border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-line); display: grid; place-items: center; cursor: pointer; }
