/* CABINEX — پرونده‌ی تجهیز خونه (v2)
   Layout: one mobile column; dark «night» screens for moments of reward, warm paper screens for decisions. */
@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-FD-Regular.woff2) format("woff2"), url(fonts/Vazirmatn-FD-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-FD-Medium.woff2) format("woff2"), url(fonts/Vazirmatn-FD-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-FD-Bold.woff2) format("woff2"), url(fonts/Vazirmatn-FD-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-FD-Black.woff2) format("woff2"), url(fonts/Vazirmatn-FD-Black.ttf) format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --night: #1A0C0E;
  --night-2: #2A1316;
  --maroon: #620C16;
  --wine: #8C1D2B;
  --paper: #FBF7F1;
  --card: #FFFFFF;
  --ink: #23171A;
  --muted: #86746E;
  --line: #EADFD2;
  --gold: #C8A15A;
  --gold-hi: #E7CC8F;
  --gold-soft: #F5EBD6;
  --cream: #F4EADC;
  --ok: #2F7A52;
  --font: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  --r: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
button, input { font-family: inherit; color: inherit; }
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column;
  padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); padding-block: 0 20px; }
.app.dark { background: var(--night); color: var(--cream); }
body:has(.app.dark) { background: var(--night); }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; padding: 14px 0 8px; background: inherit; }
.app:not(.dark) .top { background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; }
.logo { height: 20px; }
.dark .logo { filter: brightness(0) saturate(100%) invert(80%) sepia(28%) saturate(560%) hue-rotate(358deg) brightness(92%); }
.back { border: 0; background: none; font-size: 14px; color: var(--muted); cursor: pointer; padding: 6px 0; }
.file-id { font-size: 12px; letter-spacing: .5px; color: var(--muted); direction: ltr; }
.dark .file-id { color: var(--gold); }
.prog { display: flex; gap: 4px; margin-top: 12px; }
.prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.prog i.done { background: var(--maroon); }
.prog i.now::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); background: var(--maroon); border-radius: 4px; }
.prog i.now::after { inset: 0 0 0 auto; }
.sec-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.sec-label b { color: var(--maroon); }

/* screens */
.screen { flex: 1; display: flex; flex-direction: column; animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
h1 { font-size: 26px; font-weight: 900; line-height: 1.45; margin: 10px 0 8px; text-wrap: balance; }
h2 { font-size: 22px; font-weight: 900; line-height: 1.5; margin: 12px 0 4px; text-wrap: balance; }
.sub { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 14px; }
.dark .sub { color: #C9B6A8; }
.gold { color: var(--gold); }

/* intro */
.hero { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16/9; max-width: 100%; margin-top: 6px;
  background: #333 center/cover; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,12,14,.92) 8%, rgba(26,12,14,0) 60%); }
.hero .stamp { position: absolute; z-index: 1; bottom: 14px; right: 14px; left: 14px; display: flex; justify-content: space-between; align-items: end; }
.stamp .t { font-size: 13px; color: var(--gold-hi); letter-spacing: .3px; }
.stamp .n { direction: ltr; font-size: 12px; color: var(--cream); opacity: .8; }
.lockers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 6px; }
.locker { border: 1px solid rgba(200,161,90,.35); border-radius: 14px; padding: 10px 6px; text-align: center; font-size: 11px; line-height: 1.6; color: #D8C6B5; min-height: 84px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.locker .ic { font-size: 18px; color: var(--gold); }
.locker.open { background: linear-gradient(160deg, rgba(200,161,90,.25), rgba(200,161,90,.06)); border-color: var(--gold); color: var(--cream); }
.facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #C9B6A8; margin: 8px 0 4px; }

/* inputs */
.opts { display: grid; gap: 10px; }
.opt { width: 100%; text-align: right; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; transition: border-color .15s, box-shadow .15s, transform .1s; }
.opt:active { transform: scale(.985); }
.opt .l { font-size: 16px; font-weight: 700; }
.opt .s { grid-column: 1; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.opt .p { grid-row: 1 / span 2; grid-column: 2; font-size: 12px; color: var(--maroon); font-weight: 700; text-align: left; white-space: nowrap; }
.opt .badge { display: inline-block; margin-inline-start: 6px; font-size: 10.5px; font-weight: 700; color: var(--maroon); background: var(--gold-soft); border-radius: 20px; padding: 2px 8px; vertical-align: middle; }
.opt.sel { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(98,12,22,.08); background: #FFF9F7; }
.opt.sel .l::before { content: "✓ "; color: var(--maroon); }

.grid2 { grid-template-columns: 1fr 1fr; }
.grid3 { grid-template-columns: 1fr 1fr 1fr; }
.photo { padding: 0; overflow: hidden; display: block; }
.photo .ph { aspect-ratio: 4/5; max-width: 100%; background: #ddd center/cover; }
.photo .cap { padding: 10px 12px; }
.photo .cap .l { display: block; }
.photo .cap .s { display: block; }
.plan { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; text-align: center; }
.plan svg { width: 100%; max-width: 110px; color: var(--maroon); }
.plan .l { font-size: 14px; }

.dial { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 18px 18px; text-align: center; }
.dial .v { font-size: 52px; font-weight: 900; color: var(--maroon); line-height: 1.2; font-variant-numeric: tabular-nums; }
.dial .u { font-size: 15px; color: var(--muted); }
input[type=range] { width: 100%; accent-color: var(--maroon); margin-top: 16px; height: 28px; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; }
.stepper button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 26px; cursor: pointer; color: var(--maroon); }
.rooms { display: grid; gap: 10px; }
.room { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.room .t { display: flex; justify-content: space-between; font-size: 14px; }
.room .t b { color: var(--maroon); font-size: 18px; font-variant-numeric: tabular-nums; }
.room input[type=range] { margin-top: 6px; }

.tip { margin-top: 14px; background: var(--gold-soft); border-radius: 16px; padding: 13px 15px; font-size: 13.5px; line-height: 1.9; }
.tip b { color: #8A6420; display: block; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13.5px; color: #C9B6A8; }
.input { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid rgba(200,161,90,.35); background: var(--night-2); color: var(--cream); font-size: 17px; outline: none; }
.input:focus { border-color: var(--gold); }
.ltr { direction: ltr; text-align: left; letter-spacing: 1px; }
.err { color: #F1A3A3; font-size: 13.5px; min-height: 20px; }

/* buttons */
.foot { position: sticky; bottom: 0; padding: 14px 0 calc(6px + env(safe-area-inset-bottom, 0px)); margin-top: auto; background: linear-gradient(to top, var(--paper) 70%, rgba(251,247,241,0)); }
.dark .foot { background: linear-gradient(to top, var(--night) 70%, rgba(26,12,14,0)); }
.btn { width: 100%; border: 0; border-radius: 16px; padding: 17px; font-size: 17px; font-weight: 700; background: var(--maroon); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(98,12,22,.25); }
.btn:disabled { opacity: .45; box-shadow: none; cursor: default; }
.btn.gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--night); box-shadow: 0 10px 30px rgba(200,161,90,.3); }
.link { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* reward screen */
.reward { text-align: center; padding-top: 30px; }
.gift { margin: 22px auto 10px; max-width: 320px; border-radius: 20px; padding: 22px 18px; background: linear-gradient(160deg, #3A1A1D, #1E0F11); border: 1px solid var(--gold); box-shadow: 0 0 0 6px rgba(200,161,90,.07), 0 20px 40px rgba(0,0,0,.4); animation: pop .6s cubic-bezier(.2,1.4,.4,1) both .15s; }
@keyframes pop { from { transform: scale(.85) rotate(-2deg); } to { transform: none; } }
.gift .k { font-size: 12px; color: var(--gold); letter-spacing: .5px; }
.gift .t { font-size: 18px; font-weight: 900; margin: 6px 0 4px; color: var(--cream); }
.gift .n { font-size: 13px; color: #C9B6A8; }
.count { font-size: 13px; color: #C9B6A8; margin-top: 6px; }

/* result */
.total { margin-top: 6px; padding: 22px 18px; border-radius: 22px; background: linear-gradient(160deg, #351518, #1A0C0E); border: 1px solid rgba(200,161,90,.4); }
.total .k { font-size: 13px; color: var(--gold); }
.total .v { font-size: 27px; font-weight: 900; color: var(--cream); line-height: 1.35; margin: 6px 0; font-variant-numeric: tabular-nums; }
.total .v small { font-size: 15px; color: #C9B6A8; font-weight: 500; }
.total .n { font-size: 12.5px; color: #C9B6A8; line-height: 1.9; }
.lines { margin-top: 16px; display: grid; gap: 2px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid rgba(200,161,90,.15); }
.line .t { font-size: 14.5px; font-weight: 700; color: var(--cream); }
.line .d { font-size: 12px; color: #B9A597; grid-column: 1; }
.line .a { grid-row: 1 / span 2; grid-column: 2; font-size: 14px; color: var(--gold-hi); text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line.later .a { color: #B9A597; font-size: 12.5px; }
.h3 { font-size: 15px; font-weight: 900; color: var(--gold); margin: 22px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(200,161,90,.4); background: transparent; color: var(--cream); border-radius: 30px; padding: 9px 14px; font-size: 13.5px; cursor: pointer; }
.chip.sel { background: var(--gold); color: var(--night); border-color: var(--gold); font-weight: 700; }
.tierbar { display: flex; gap: 4px; margin-top: 8px; }
.tierbar span { flex: 1; text-align: center; font-size: 11px; padding: 7px 2px; border-radius: 10px; background: var(--night-2); color: #B9A597; }
.tierbar span.on { background: var(--gold); color: var(--night); font-weight: 900; }
.gal { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(-1 * max(18px, env(safe-area-inset-left, 0px))); padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
.gal figure { flex: 0 0 78%; margin: 0; scroll-snap-align: center; border-radius: 16px; overflow: hidden; background: var(--night-2); border: 1px solid rgba(200,161,90,.25); }
.gal img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gal figcaption { font-size: 12.5px; color: var(--cream); padding: 9px 12px; }
.done-box { text-align: center; padding: 18px; border: 1px solid var(--gold); border-radius: 18px; margin-top: 12px; }
.fine { font-size: 11.5px; color: #9F8C80; line-height: 1.9; text-align: center; margin-top: 14px; }
.phone-num { direction: ltr; display: inline-block; font-weight: 700; user-select: all; }

/* v4: compact chips, two steppers on one screen, «don't know» option */
.compact .opt { padding: 13px 12px; text-align: center; grid-template-columns: 1fr; }
.compact .opt .l { font-size: 15px; }
.pair { display: grid; gap: 10px; }
.pair .dial { padding: 14px 18px; }
.pair .dial > .u { margin-bottom: 6px; color: var(--ink); font-weight: 700; }
.pair .dial .v { font-size: 40px; }
.opt.idk { background: transparent; border-style: dashed; }
.opt.idk .l { font-weight: 500; color: var(--muted); }

/* v4: risks */
.risk-count { color: var(--wine); font-weight: 700; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.risk-screen { justify-content: center; }
.risk-toast { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--maroon); background: #FBEDEB; border-radius: 12px; padding: 7px 12px; animation: rise .4s both; }
.risk-card { margin: 24px 0 14px; border-radius: 20px; padding: 20px 18px; background: var(--card); border: 1.5px solid #E9C9C4; box-shadow: 0 14px 34px rgba(98,12,22,.12); animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.risk-card .k { font-size: 12.5px; font-weight: 700; color: var(--wine); }
.risk-card .t { font-size: 19px; font-weight: 900; margin: 8px 0 6px; line-height: 1.6; }
.risk-card p { font-size: 14.5px; line-height: 2; margin: 0 0 12px; }
.risk-card .loss { font-size: 13.5px; background: #FBEDEB; color: var(--maroon); border-radius: 12px; padding: 9px 12px; }
.risk-box { margin-top: 16px; padding: 20px 18px; border-radius: 22px; background: #2B0F13; border: 1px solid rgba(232,120,110,.45); }
.risk-box .k { font-size: 13px; font-weight: 700; color: #F0A49A; }
.risk-box .t { font-size: 20px; font-weight: 900; color: var(--cream); margin: 6px 0; line-height: 1.6; }
.risk-box p { font-size: 14px; line-height: 2; color: #D9C5B7; margin: 0 0 10px; }
.risk-box p b { color: #F6C7BF; }
.risk-box ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.risk-box li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--cream); padding: 8px 0; border-bottom: 1px solid rgba(232,120,110,.18); }
.risk-box li i { font-style: normal; font-size: 11.5px; color: var(--gold); white-space: nowrap; }
a.btn { display: block; text-align: center; text-decoration: none; }
.fit { margin: 2px 0 8px; font-size: 13.5px; color: #F0C9A0; line-height: 1.9; }
.fit.ok { color: #9FD9B5; }
.steps3 { display: grid; gap: 8px; margin-top: 8px; }
.steps3 div { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.8; color: var(--cream); }
.steps3 b { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font-weight: 900; }
.grp { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-hi); background: var(--night-2); border-radius: 10px; padding: 8px 12px; }
.grp + .lines { margin-top: 4px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.trust div { border: 1px solid rgba(200,161,90,.3); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.trust b { font-size: 14px; color: var(--gold-hi); }
.trust span { font-size: 11.5px; color: #C9B6A8; }
.sticky-cta { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); margin-top: 16px; z-index: 4; }

/* intro: what the tool does for the family */
.warn { font-size: 14px; line-height: 2; color: var(--cream); background: rgba(232,120,110,.12); border: 1px solid rgba(232,120,110,.35); border-radius: 16px; padding: 12px 14px; margin: 2px 0 12px; }
.warn b { color: #F6C7BF; }
.gets { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.gets li { position: relative; padding-inline-start: 26px; font-size: 14px; line-height: 1.9; color: var(--cream); }
.gets li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--gold); font-weight: 900; }

/* materials: brand line */
.opt .br { grid-column: 1; font-size: 11.5px; color: #8A6420; direction: rtl; }
.opt.check .l::before { content: "☐ "; color: var(--muted); }
.opt.check.sel .l::before { content: "☑ "; color: var(--maroon); }

/* styles: swipe a few photos of each style, then pick */
.style-card { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.style-card.sel { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(98,12,22,.08); }
.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 100%; width: 100%; aspect-ratio: 16/10; object-fit: cover; scroll-snap-align: center; display: block; }
.count-pill { position: absolute; top: 10px; left: 10px; font-size: 11px; background: rgba(26,12,14,.65); color: #fff; border-radius: 20px; padding: 3px 9px; pointer-events: none; }
.style-pick { width: 100%; border: 0; background: none; cursor: pointer; text-align: right; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 12px 16px; align-items: center; }
.style-pick .l { font-size: 16px; font-weight: 900; }
.style-pick .s { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.style-pick .go { grid-row: 1 / span 2; grid-column: 2; font-size: 13px; font-weight: 700; color: #fff; background: var(--maroon); border-radius: 12px; padding: 8px 14px; }

/* result: more project photos */
.link-btn { display: block; width: 100%; margin-top: 8px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(200,161,90,.5); background: none; color: var(--gold-hi); font-size: 14px; cursor: pointer; }
.gal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.gal-grid figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--night-2); }
.gal-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gal img, .gal-grid img { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 50; background: rgba(10,4,5,.92); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* FAQ under the first screen (search engines read it; hidden once the game starts) */
.seo { max-width: 480px; margin: 0 auto; padding: 8px 18px 32px; background: var(--night); color: #C9B6A8; }
.seo h2 { font-size: 16px; color: var(--gold); margin: 8px 0; }
.seo details { border-bottom: 1px solid rgba(200,161,90,.18); padding: 10px 0; }
.seo summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--cream); }
.seo p { font-size: 13px; line-height: 2; margin: 8px 0 0; }
.seo a { color: var(--gold); }
.seo[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { .screen, .gift, .risk-card, .risk-count { animation: none; } }
.invite { margin-top: 18px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, #351518, #1A0C0E); border: 1px solid rgba(200,161,90,.4); }

/* round 1 (review): material swatches, area hint, roadmap, share, sticky CTA, print */
.opt.has-sw { padding-left: 70px; position: relative; }
.sw { position: absolute; left: 14px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 9px; border: 1px solid rgba(0,0,0,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.sw-matte { background: #CFC6BA; }
.sw-gloss { background: linear-gradient(135deg, #F3F0EC 0%, #FFFFFF 38%, #D9D3CB 39%, #EEE9E3 100%); }
.sw-gloss2 { background: linear-gradient(135deg, #E9E6E1 0%, #FFFFFF 30%, #CFC8BF 31%, #F6F3EF 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 2px 6px rgba(0,0,0,.12); }
.sw-velvet { background: radial-gradient(circle at 30% 30%, #8E8478, #6E655B); }
.sw-frame { background: #E8DCCB; box-shadow: inset 0 0 0 5px #E8DCCB, inset 0 0 0 7px #CDBEA8; }
.sw-frame2 { background: #9AA79A; box-shadow: inset 0 0 0 5px #9AA79A, inset 0 0 0 7px #7E8B7E; }
.sw-mirror { background: linear-gradient(120deg, #3B2226 0%, #6A3A40 35%, #F2D9DC 40%, #5A2E34 46%, #2B171A 100%); }
.hint { font-size: 12.5px; line-height: 1.9; color: var(--wine); margin: 10px 0 0; min-height: 0; }
.hint:empty { display: none; }
.road { list-style: none; counter-reset: rd; padding: 0; margin: 6px 0 0; display: grid; gap: 2px; }
.road li { counter-increment: rd; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(200,161,90,.15); font-size: 13.5px; color: var(--cream); }
.road li::before { content: counter(rd); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 900; background: var(--night-2); color: var(--gold); border: 1px solid rgba(200,161,90,.4); }
.road li.par span { color: #D9C5B7; }
.road li i { font-style: normal; font-size: 12px; color: var(--gold-hi); white-space: nowrap; }
.share-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.sticky-cta { transition: opacity .2s, transform .2s; }
.sticky-cta.off { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media print {
  body, .app, .app.dark { background: #fff !important; color: #000 !important; }
  .top .back, .foot, .sticky-cta, .share-row, .chips, [data-act], .gal, .gal-grid, .link-btn, .seo { display: none !important; }
  .total, .risk-box, .invite, .line .t, .line .a, .line .d, .h3, .road li, .road li i, .sub, .fine, .risk-box p, .risk-box li, .steps3 div { color: #000 !important; background: #fff !important; border-color: #ccc !important; }
}
.shared-note { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--cream); background: var(--night-2); border: 1px solid rgba(200,161,90,.3); border-radius: 14px; padding: 10px 12px; }
.link-inline { border: 0; background: none; color: var(--gold); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.strip figure { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: center; }
.strip figure img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block; }
.strip figcaption { position: absolute; bottom: 8px; right: 10px; font-size: 11.5px; color: #fff; background: rgba(26,12,14,.6); border-radius: 20px; padding: 3px 10px; }
