/* Denfence deck planner — styles
   Layout: dark "plan" side panel (steps + progress) beside a light working area; on phones the
   panel becomes a drawer opened from the top bar. Photos carry the page; chrome stays quiet. */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* color */
  --bg: #f3f4f1;
  --surface: #ffffff;
  --surface-2: #f8f9f7;
  --ink: #111a15;
  --ink-2: #47524c;
  --ink-3: #75807a;
  --line: #e1e5e0;
  --line-2: #cfd5cf;
  --brand: #1d4d3a;
  --brand-2: #276249;
  --brand-tint: #e5eee8;
  --side: #0f241c;
  --side-2: #17342a;
  --side-3: #22463a;
  --side-ink: #eef4f0;
  --side-mut: #9db2a7;
  --amber: #a8650f;
  --amber-tint: #fbf0dc;
  --err: #b42318;
  --err-tint: #fdeceb;
  --ok: #1f7a4d;
  --focus: #e0a23b;
  /* type */
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* shape */
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 26, 21, .05), 0 6px 20px -8px rgba(17, 26, 21, .12);
  --shadow-lg: 0 2px 4px rgba(17, 26, 21, .06), 0 18px 40px -16px rgba(17, 26, 21, .28);
  --side-w: 312px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); font-feature-settings: "ss01"; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--brand-2); }
h1, h2, h3, legend { font-family: var(--display); letter-spacing: -.015em; text-wrap: balance; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 90; border-radius: 8px; }
.skip:focus { left: 8px; }
.loading, .noscript { padding: 48px 20px; text-align: center; color: var(--ink-2); }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 16px; height: 16px; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- Shell ---------------------------------------------------------- */
.shell { display: block; }
.main-col { min-width: 0; }
.sidebar { display: none; }
@media (min-width: 1000px) {
  .shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
  .sidebar { display: flex; position: sticky; top: 0; height: 100vh; }
  .mtop { display: none !important; }
}

/* Mobile top bar */
.mtop { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--side); color: var(--side-ink); padding-block: 8px; padding-left: var(--gut); padding-right: var(--gut-r); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--side); }
.mright { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mbrand { display: block; height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 560px) { .mbrand { display: none; } }
.steps-btn { display: flex; align-items: center; gap: 10px; background: var(--side-2); border: 1px solid var(--side-3); color: var(--side-ink); border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer; min-height: 44px; text-align: left; min-width: 0; }
.steps-btn-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.steps-btn-txt .sm { font-size: 11px; color: var(--side-mut); text-transform: uppercase; letter-spacing: .08em; }
.steps-btn-txt strong { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.ring { --p: 0; width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: conic-gradient(#7fd3a6 calc(var(--p) * 1%), var(--side-3) 0); position: relative; font-variant-numeric: tabular-nums; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--side-2); }
.ring span { position: relative; }

/* ---------- Side panel ------------------------------------------------------ */
.sidebar, .drawer-in { flex-direction: column; background: var(--side); color: var(--side-ink); overflow: hidden; }
.side-head { padding: 26px 24px 18px; display: flex; flex-direction: column; gap: 18px; }
.side-logo img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.plan-card { background: var(--side-2); border: 1px solid var(--side-3); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.plan-card .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--side-mut); }
.plan-card .who { font-family: var(--display); font-size: 19px; font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.plan-card .pid { font-size: 12px; color: var(--side-mut); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.pbar { height: 6px; border-radius: 99px; background: var(--side-3); overflow: hidden; }
.pbar span { display: block; height: 100%; background: linear-gradient(90deg, #5fbf8c, #9fe3bd); border-radius: 99px; transition: width .35s ease; }
.pmeta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--side-mut); font-variant-numeric: tabular-nums; }
.stepper { list-style: none; margin: 0; padding: 4px 12px 20px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--side-3) transparent; }
.stepper li { position: relative; }
.stepper li + li::before { content: ""; position: absolute; left: 27px; top: -10px; height: 18px; width: 2px; background: var(--side-3); }
.stepper li.done + li::before, .stepper li.done + li.current::before { background: #4f9d75; }
.st { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px 8px 12px; margin: 2px 0; background: none; border: 0; color: inherit; text-align: left; border-radius: 12px; cursor: pointer; }
.st:hover:not(:disabled) { background: var(--side-2); }
.st:disabled { cursor: not-allowed; }
.st-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 700;
  border: 2px solid var(--side-3); color: var(--side-mut); background: var(--side); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.st-txt { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; gap: 2px; }
.st-title { font-weight: 600; font-size: 15px; line-height: 1.25; }
.st-sum { font-size: 12.5px; color: var(--side-mut); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.st-warn { font-size: 12px; color: #f2c37a; display: flex; gap: 4px; align-items: center; }
li.done .st-ic { background: #3f8a63; border-color: #3f8a63; color: #fff; }
li.current .st { background: var(--side-3); }
li.current .st-ic { background: var(--side-ink); border-color: var(--side-ink); color: var(--side); }
li.current .st-title { color: #fff; }
li.locked .st-title { color: var(--side-mut); }
li.locked .st-ic { opacity: .6; }
.side-foot { padding: 14px 24px 22px; border-top: 1px solid var(--side-2); display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--side-mut); }
.side-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--side-3); color: var(--side-ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 13.5px; font-weight: 600; width: fit-content; }
.side-btn:hover { background: var(--side-2); }

/* Drawer (phones) */
.drawer { margin: 0; padding: 0; border: 0; height: 100%; max-height: 100%; width: min(92vw, 380px); max-width: none; background: var(--side); color: var(--side-ink); }
.drawer::backdrop { background: rgba(5, 12, 9, .55); }
.drawer[open] { animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-in { display: flex; height: 100%; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); }
.drawer-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--side-2); color: var(--side-ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }

/* ---------- Utility bar (desktop) ------------------------------------------ */
.util { display: none; }
@media (min-width: 1000px) {
  .util { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px clamp(24px, 4vw, 56px); background: rgba(243, 244, 241, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
  .util.scrolled { border-bottom-color: var(--line); }
}
.util-step { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.util-step strong { color: var(--ink); font-weight: 600; }
.util-right { display: flex; align-items: center; gap: 14px; }
.util-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.util-btn:hover { border-color: var(--brand); }
.util-btn[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.save-status { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.save-status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.save-status.saved { color: var(--ok); }
.save-status.error { color: var(--err); }
.save-status button { border: 1px solid currentColor; background: var(--surface); color: var(--err); border-radius: 999px; padding: 2px 10px; font-size: 13px; cursor: pointer; }
.mtop .save-status { color: var(--side-mut); font-size: 12.5px; }
.mtop .save-status.saved { color: #8fdcb3; }
.mtop .save-status.error { color: #ffb4a8; }
.mtop .save-status button { display: none; }

/* ---------- Main ------------------------------------------------------------ */
main { outline: none; }
.app, .banners { max-width: 1040px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.app { padding-block: 20px 24px; }
@media (min-width: 1000px) { .app, .banners { padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); } .app { padding-top: 12px; } }
.banners { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.banners:empty { display: none; }
.banner { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner.b-info { background: var(--brand-tint); color: var(--brand); }
.banner.b-warn { background: var(--amber-tint); color: #7a4a0a; }
.banner.b-err { background: var(--err-tint); color: var(--err); }
.banner > span { flex: 1 1 260px; }

.step-head { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 26px; max-width: 760px; }
.eyebrow { font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-2); }
.step-head h1 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; color: var(--ink); outline: none; }
.step-head p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 64ch; }
.tier-note { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 6px; align-items: flex-start; }
.tier-note .ic { margin-top: 2px; }

.q { margin: 0 0 40px; border: 0; padding: 0; min-width: 0; }
.q { position: relative; }
.q-browse { margin: -2px 0 4px; }
@media (min-width: 700px) { .q legend { padding-right: 200px; } .q-browse { position: absolute; top: 2px; right: 0; margin: 0; } }
.q legend, .q .q-label { font-size: 22px; font-weight: 650; padding-top: 0; padding-bottom: 0; padding-left: 0; color: var(--ink); display: block; width: 100%; margin-bottom: 4px; }
.q-help { margin: 2px 0 14px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.req { color: var(--err); }
.browse { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--brand-2); font-weight: 650; font-size: 14px; cursor: pointer; padding: 6px 0; }
.browse:hover { text-decoration: underline; }

/* ---------- Option cards ---------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); outline: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease, outline-color .15s; display: flex; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card > label { display: flex; flex-direction: column; cursor: pointer; width: 100%; border-radius: var(--r); overflow: hidden; }
.card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card .ph { aspect-ratio: 4 / 3; background: #e7ebe6; overflow: hidden; position: relative; max-width: 100%; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .ph img { transform: scale(1.025); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .title { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.card .desc { font-size: 14.5px; color: var(--ink-2); }
.card .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.benefits { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink); }
.benefits li { display: flex; gap: 7px; align-items: flex-start; }
.benefits .ic { color: var(--brand-2); margin-top: 3px; }
.card:has(input:checked) { outline: 2.5px solid var(--brand); box-shadow: 0 0 0 5px rgba(29, 77, 58, .12), var(--shadow); }
.card:has(input:focus-visible) { outline: 3px solid var(--focus); }
.card .check { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: rgba(255, 255, 255, .9); border: 1.5px solid var(--line-2); color: transparent; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); z-index: 2; }
.card.type-multi .check { border-radius: 8px; }
.card:has(input:checked) .check { background: var(--brand); border-color: var(--brand); color: #fff; }
.card .expand { position: absolute; z-index: 2; border: 0; cursor: zoom-in; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgba(10, 20, 15, .66); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(4px); }
.card .expand:hover { background: rgba(10, 20, 15, .85); }
.ribbon { position: absolute; bottom: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--amber-tint); color: var(--amber); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.card.no-img .body { padding: 18px 56px 18px 18px; }
.card.recommend { background: var(--surface-2); box-shadow: none; outline: 1.5px dashed var(--line-2); }
.card.recommend .title { display: flex; gap: 8px; align-items: center; }
.qmark { width: 26px; height: 26px; border-radius: 50%; background: var(--amber-tint); color: var(--amber); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: #eef0ed; color: var(--ink-2); white-space: nowrap; }
.badge.tier { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.badge.std { background: var(--brand-tint); color: var(--brand); }
.badge.up { background: #ece9fb; color: #4b3a99; }
.badge.flag { background: var(--amber-tint); color: #7a4a0a; }

/* ---------- Colors ---------------------------------------------------------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; margin-top: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 12px; background: var(--surface); border-radius: 14px; outline: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; text-align: center; font-size: 13.5px; font-weight: 650; height: 100%; line-height: 1.25; transition: transform .15s; }
.swatch label:hover { transform: translateY(-2px); }
.swatch .chip { width: 60px; height: 60px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .12); position: relative; overflow: hidden; }
.swatch .chip::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 9px), linear-gradient(160deg, rgba(255, 255, 255, .25), transparent 55%); }
.swatch input:checked + label { outline: 2.5px solid var(--brand); box-shadow: 0 0 0 5px rgba(29, 77, 58, .12); }
.swatch input:focus-visible + label { outline: 3px solid var(--focus); }
.swatch input:checked + label .chip { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--surface), 0 0 0 5px var(--brand); }
.swatch.rec .chip { background: var(--amber-tint); display: grid; place-items: center; color: var(--amber); font-size: 24px; font-weight: 800; }
.swatch.rec .chip::after { display: none; }

.color-detail { margin-top: 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); outline: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .color-detail { grid-template-columns: 1.35fr 1fr; } }
.cd-hero { border: 0; padding: 0; background: #e7ebe6; cursor: zoom-in; display: block; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.cd-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-side { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cd-side h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.cd-side .dotc { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.cd-side .sub { color: var(--ink-3); font-size: 14px; margin: -6px 0 0; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumb { border: 0; padding: 0; background: #e7ebe6; border-radius: 10px; overflow: hidden; cursor: zoom-in; display: flex; flex-direction: column; text-align: left; outline: 1px solid var(--line); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.thumb span { font-size: 11.5px; color: var(--ink-2); background: var(--surface); padding: 5px 7px; line-height: 1.3; flex: 1; }

/* ---------- Simple controls -------------------------------------------------- */
.check-row { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 14px; outline: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px; cursor: pointer; flex: 1; }
.check-row:has(input:checked) { outline: 2.5px solid var(--brand); }
.check-row input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.check-row .t { font-weight: 650; display: block; }
.check-row .h { font-size: 14px; color: var(--ink-2); font-weight: 400; display: block; margin-top: 2px; }
.check-wrap { margin-bottom: 28px; }
.check-wrap .mini { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.check-wrap .mini .thumb { width: 150px; flex: none; }
.check-wrap .mini .thumb img { aspect-ratio: 4 / 3; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; max-width: 560px; }
.field label { font-weight: 650; }
.field input, .field textarea, .comments textarea, .note-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 16px; }
.field input:focus, .field textarea:focus, .comments textarea:focus, .note-input:focus { border-color: var(--brand); outline: 3px solid rgba(29, 77, 58, .18); outline-offset: 0; }
.field .hint { font-size: 13.5px; color: var(--ink-3); }
.field .error, .error-text { color: var(--err); font-size: 14px; font-weight: 600; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); background: #fffafa; }
.form-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); outline: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); max-width: 640px; }
.hp { position: absolute; left: -5000px; }
.info { background: var(--surface); border-radius: 12px; padding: 12px 14px; margin: -6px 0 30px; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; outline: 1px solid var(--line); max-width: 760px; }
.info .ic { color: var(--brand-2); margin-top: 2px; }
.notice { background: var(--amber-tint); color: #7a4a0a; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; margin: 0 0 12px; }
.comments { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.comments summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--brand-2); list-style: none; padding: 6px 0; }
.comments summary::-webkit-details-marker { display: none; }
.comments summary .has { font-size: 12px; font-weight: 700; background: var(--brand-tint); color: var(--brand); padding: 1px 8px; border-radius: 99px; }
.comments .hint { font-size: 13.5px; color: var(--ink-3); margin: 6px 0 8px; max-width: 70ch; }
.comments textarea { min-height: 110px; resize: vertical; max-width: 760px; display: block; }
.count { font-size: 12px; color: var(--ink-3); margin-top: 4px; max-width: 760px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Bottom nav -------------------------------------------------------- */
.nav { position: sticky; bottom: 0; z-index: 20; margin-top: 30px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 12px; justify-content: space-between;
  background: linear-gradient(to top, var(--bg) 72%, rgba(243, 244, 241, 0)); }
.btn { border: 2px solid var(--brand); background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; cursor: pointer; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 15.5px; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.secondary { background: var(--surface); color: var(--brand); border-color: var(--line-2); }
.btn.secondary:hover { border-color: var(--brand); background: var(--surface); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand-2); padding-inline: 8px; }
.btn.link { background: none; border: 0; color: var(--brand-2); padding: 6px 0; min-height: 0; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.btn.big { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.nav .btn { flex: 0 1 auto; }
.nav .next { margin-left: auto; min-width: min(60%, 300px); box-shadow: 0 8px 20px -10px rgba(29, 77, 58, .7); }
.nav .next .nx { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.nav .next .nx small { font-weight: 500; opacity: .8; font-size: 12px; }

/* ---------- Welcome --------------------------------------------------------------- */
.welcome { display: flex; flex-direction: column; gap: 28px; }
.hero { position: relative; border-radius: 22px; overflow: hidden; min-height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end; background: var(--side); box-shadow: var(--shadow-lg); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 14, .82) 0%, rgba(8, 20, 14, .55) 45%, rgba(8, 20, 14, .05) 80%), linear-gradient(180deg, rgba(8, 20, 14, 0) 45%, rgba(8, 20, 14, .6) 100%); }
@media (max-width: 699px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .hero::after { display: none; }
  .hero-in { padding: 20px 20px 24px; }
}
.hero-in { position: relative; z-index: 1; padding: clamp(20px, 4vw, 40px); color: #fff; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.hero-in .eyebrow { color: #a9e6c4; }
.hero-in h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; outline: none; }
.hero-in p { margin: 0; font-size: clamp(16px, 1.8vw, 19px); color: #e4ece7; max-width: 58ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.hero-cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
.hero-cta .btn:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.hero-cta .time { color: #cfe0d6; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.how { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-item { background: var(--surface); border-radius: var(--r); padding: 18px; outline: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.how-item .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; font-family: var(--display); }
.how-item h3 { font-size: 17px; margin-bottom: 3px; }
.how-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.staff-note { background: var(--surface); border-radius: var(--r); padding: 18px 20px; outline: 1px solid var(--line); border-left: 5px solid var(--brand); display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.staff-note .eyebrow { font-size: 11.5px; }
.staff-note p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.resend { padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); outline: 1px dashed var(--line-2); max-width: 760px; }
.resend h2 { font-size: 19px; margin-bottom: 4px; }
.resend form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.resend input { flex: 1 1 220px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); min-width: 0; }
.pending-note { font-size: 12.5px; color: #7a4a0a; background: var(--amber-tint); padding: 7px 12px; border-radius: 10px; display: inline-block; max-width: 760px; }

/* ---------- Review / plan board --------------------------------------------------- */
.board { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
@media (min-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); outline: 1px solid var(--line); display: flex; flex-direction: column; }
.tile.lead { grid-column: 1 / -1; }
@media (min-width: 760px) { .tile.lead { flex-direction: row; } .tile.lead .tile-img { width: 58%; flex: none; aspect-ratio: 16 / 10; } }
.tile-img { aspect-ratio: 16 / 10; background: #e7ebe6; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; display: block; max-width: 100%; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile.lead .tile-body { padding: 22px; justify-content: center; gap: 8px; }
.tile-k { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.tile-v { font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.tile.lead .tile-v { font-family: var(--display); font-size: 28px; }
.tile .swatch-row { display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: 14px; }
.tile .swatch-row i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); display: inline-block; }
.sec-title { font-size: 24px; margin: 8px 0 14px; }
.review-sec { background: var(--surface); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; outline: 1px solid var(--line); }
.review-sec header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-sec h3 { font-size: 18px; }
.review-sec dl { margin: 0; }
.review-sec .row { padding: 9px 0; border-top: 1px solid #eef0ed; display: grid; grid-template-columns: 1fr; gap: 2px; }
.review-sec .row:first-child { border-top: 0; }
@media (min-width: 640px) { .review-sec .row { grid-template-columns: 240px minmax(0, 1fr); gap: 14px; } }
.review-sec dt { font-size: 14px; color: var(--ink-3); }
.review-sec dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; overflow-wrap: anywhere; }
.review-sec dd .det { flex-basis: 100%; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.kind { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.kind.default { background: #eef0ed; color: var(--ink-2); }
.kind.recommend { background: var(--amber-tint); color: var(--amber); }
.kind.none { background: #edf0f4; color: #4c5560; }
.kind.unanswered { background: var(--err-tint); color: var(--err); }
.review-sec .cmt { margin-top: 10px; font-size: 14.5px; background: var(--surface-2); padding: 10px 12px; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-sec .cmt.empty { color: var(--ink-3); background: none; padding: 4px 0 0; }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; font-size: 13.5px; color: var(--ink-2); align-items: center; }
.review-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: -10px 0 26px; }
.submit-box { background: var(--side); color: var(--side-ink); border-radius: 20px; padding: clamp(20px, 3vw, 30px); margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.submit-box h2 { font-size: 26px; color: #fff; }
.submit-box p { margin: 0; color: #cfe0d6; max-width: 70ch; }
.submit-box .notice { color: #7a4a0a; }
.submit-box .btn { background: #fff; color: var(--brand); border-color: #fff; align-self: flex-start; }
.submit-box .btn:hover { background: var(--brand-tint); }
.submit-box .error-text { color: #ffb4a8; }

/* ---------- Confirmation --------------------------------------------------------- */
.confirm { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.confirm-head { background: var(--side); color: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.confirm-head .tick { width: 52px; height: 52px; border-radius: 50%; background: #3f8a63; display: grid; place-items: center; }
.confirm-head h1 { font-size: clamp(28px, 4vw, 40px); outline: none; }
.confirm-head p { margin: 0; color: #cfe0d6; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border-radius: 14px; padding: 14px 16px; outline: 1px solid var(--line); }
.fact .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.fact .v { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.panel { background: var(--surface); border-radius: var(--r); padding: 18px 20px; outline: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.panel h2 { font-size: 19px; }
.delivery { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.delivery li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.st-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.st-pill.sent { background: #e2f1e7; color: var(--ok); }
.st-pill.pending, .st-pill.sending { background: #eef0ed; color: var(--ink-2); }
.st-pill.failed { background: var(--err-tint); color: var(--err); }
.linkbox { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--surface-2); padding: 10px 12px; border-radius: 12px; }
.linkbox code { flex: 1 1 220px; overflow-wrap: anywhere; font-size: 13px; min-width: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.q-muted { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Lightbox / full-screen browsing ----------------------------------------- */
.lightbox { border: 0; padding: 0; background: #0b120e; color: #fff; width: 100vw; height: 100%; max-width: 100vw; max-height: 100%; margin: 0; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lb { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; gap: 10px; }
.lb-top .count { color: #b9c6bf; font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 8px; position: relative; touch-action: pan-y; user-select: none; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.lb-info { padding: 14px clamp(16px, 4vw, 40px) 20px; display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.lb-info .tx { display: flex; flex-direction: column; gap: 4px; max-width: 760px; min-width: 0; }
.lb-info h2 { font-size: clamp(20px, 2.6vw, 28px); color: #fff; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lb-info h2 .badge.tier { color: #cdd8d2; border-color: #3a4a42; font-family: var(--body); font-size: 13px; }
.lb-info p { margin: 0; color: #cdd8d2; font-size: 15px; }
.lb-info .benefits { color: #e6eee9; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
.lb-info .benefits .ic { color: #8fdcb3; }
.lb-info .tier { color: #cdd8d2; border-color: #3a4a42; }
.lb-choose { background: #fff; color: var(--brand); border-color: #fff; }
.lb-choose.on { background: #3f8a63; border-color: #3f8a63; color: #fff; }
.lb-btn { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 99px; min-width: 46px; height: 46px; padding: 0 14px; cursor: pointer; display: inline-grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* ---------- Presentation mode (larger photos for showing on a screen) ---------------- */
body.present .comments, body.present .q-help, body.present .tier-note { display: none; }
body.present .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 22px; }
body.present .card .title { font-size: 19px; }
body.present .card .desc, body.present .benefits { font-size: 15.5px; }
body.present .step-head h1 { font-size: clamp(34px, 4.6vw, 52px); }
body.present .q legend { font-size: 26px; }
body.present .app { max-width: 1320px; }

/* ---------- Print: the plan as a clean handout -------------------------------------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .sidebar, .mtop, .util, .nav, .banners, .comments, .submit-box, .review-tools, .legend, .lightbox, .drawer, .review-sec header .btn, body::before { display: none !important; }
  .shell { display: block; }
  .app { max-width: none; padding: 0; }
  .card, .tile, .review-sec, .panel { box-shadow: none !important; outline: 1px solid #ccc; break-inside: avoid; }
  .tile.lead { flex-direction: row; }
  .board { grid-template-columns: repeat(3, 1fr); }
  .print-head { display: block !important; }
}
.print-head { display: none; margin-bottom: 16px; }
.print-head img { height: 24px; }

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

/* ---------- Version 3: live deck picture, packages, price notes, recommendations ---------- */
.deck-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #dfe7e4; aspect-ratio: 1000 / 620; margin-bottom: 2px; }
.deck-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.deck-zoom { position: absolute; left: 8px; bottom: 8px; display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; color: #fff; background: rgba(10, 20, 15, .7); padding: 4px 9px; border-radius: 99px; }
.deck-btn { display: block; padding: 0; border: 1px solid var(--side-3); border-radius: 8px; overflow: hidden; background: var(--side-2); cursor: pointer; width: 64px; height: 40px; flex: none; }
.deck-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-img.deck { aspect-ratio: 1000 / 620; }
.tile-img.deck img { object-fit: contain; background: #e6eef0; }
.ribbon.rec { background: var(--brand); color: #fff; }
.ribbon.inline { position: static; align-self: flex-start; margin: 14px 0 -6px 16px; }
.card .rec-toggle, .staff-row .rec-toggle { position: absolute; z-index: 3; top: 12px; right: 52px; display: inline-flex; align-items: center; gap: 5px; border: 1.5px dashed var(--amber); background: #fffaf0; color: var(--amber); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.staff-row { position: relative; min-height: 34px; }
.staff-row .rec-toggle { position: static; }
.rec-toggle.on { background: var(--brand); border-style: solid; border-color: var(--brand); color: #fff; }
.sw-rec { display: inline-flex; gap: 3px; align-items: center; font-size: 11px; color: var(--brand); font-weight: 700; }
.price-note { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 650; color: #6a4a12; background: var(--amber-tint); padding: 3px 9px; border-radius: 8px; align-self: flex-start; }
.lb-price { display: inline-flex; gap: 6px; align-items: center; color: #f6d48f !important; font-weight: 650; }
.badge.recb { background: var(--brand); color: #fff; font-family: var(--body); font-size: 13px; }
.promo { display: flex; gap: 10px; align-items: center; background: linear-gradient(90deg, var(--amber-tint), #fff7e8); color: #6a4a12; border-radius: 14px; padding: 12px 16px; font-weight: 650; outline: 1px solid #f1dfba; max-width: 760px; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14.5px; }
.contact a { display: inline-flex; gap: 6px; align-items: center; color: inherit; font-weight: 650; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact .ct-k { flex-basis: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.contact .ct-h { opacity: .8; }
.contact.side { color: var(--side-ink); font-size: 13.5px; }
.contact.wide { background: var(--surface); border-radius: var(--r); outline: 1px solid var(--line); padding: 14px 18px; max-width: 760px; }
.side-btn.primary { background: var(--side-ink); color: var(--side); border-color: var(--side-ink); }
.side-btn.primary:hover { background: #fff; }
.pkgs { display: flex; flex-direction: column; gap: 14px; }
.pk-head h2 { font-size: clamp(24px, 3vw, 32px); }
.pk-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 70ch; }
.pk-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .pk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pk { background: var(--surface); border-radius: var(--r); outline: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.pk.popular { outline: 2.5px solid var(--brand); }
.pk.current { box-shadow: 0 0 0 5px rgba(29, 77, 58, .14), var(--shadow); }
.pk-img { position: relative; border: 0; padding: 0; cursor: zoom-in; background: #e6eef0; aspect-ratio: 1000 / 620; display: block; max-width: 100%; }
.pk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-img .ribbon { top: 10px; bottom: auto; }
.pk-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pk-body h3 { font-size: 22px; }
.pk-body .pk-tag { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.pk-body .benefits { flex: 1; }
.pk-body .btn { align-self: stretch; margin-top: 4px; }
.pk.scratch { background: var(--surface-2); outline-style: dashed; box-shadow: none; justify-content: center; }
@media print { .deck-thumb, .promo, .contact { display: none !important; } .tile-img.deck img { object-fit: contain; } }

/* ---------- Version 4: trust, suggestions, cost comparison, next steps, referrals, HOA sheet ---------- */
.badge.fire { background: #fde8de; color: #8a2f0b; }
.fire-info { outline-color: #f1c4ae; background: #fff7f2; margin: 0 0 18px; }
.fire-info .ic { color: #b4441a; }

.trust { background: var(--surface); border-radius: var(--r); outline: 1px solid var(--line); padding: 22px 24px; margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.trust.compact { margin: 22px 0; padding: 18px 20px; }
.tr-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; }
.tr-head h2 { font-size: 22px; }
.trust.compact .tr-head h2 { font-size: 18px; }
.tr-rating { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 15px; color: var(--ink-2); }
.tr-rating strong { color: var(--ink); font-size: 17px; }
.tr-rating a { color: var(--brand); font-weight: 650; margin-left: 4px; }
.stars { display: inline-flex; gap: 1px; color: #d39b1c; }
.stars .ic { width: 17px; height: 17px; }
.stars .ic:not(.fill) { color: var(--line-2); }
.tr-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-badge { display: inline-flex; gap: 6px; align-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 650; font-size: 13.5px; padding: 5px 11px; border-radius: 99px; }
.tr-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-2); font-size: 15px; }
.tr-facts li { display: inline-flex; gap: 6px; align-items: center; }
.tr-facts .ic { color: var(--ok); }
.tr-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tr-quotes figure { margin: 0; background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.tr-quotes blockquote { margin: 0; font-size: 15px; line-height: 1.5; }
.tr-quotes figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); font-weight: 650; }
.tr-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.tr-photo { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--surface-2); }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nudges { margin: 30px 0 8px; }
.nudges > .q-muted { margin: -6px 0 14px; }
.nd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.nd { background: var(--surface); border-radius: var(--r); outline: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.nd > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--surface-2); }
.nd-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nd-body h3 { font-size: 17px; }
.nd-body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.nd-acts { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 4px; }

.cc { background: var(--surface); border-radius: var(--r); outline: 1px solid var(--line); margin: 6px 0 26px; max-width: 760px; }
.cc > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; gap: 10px; align-items: center; list-style: none; }
.cc > summary::-webkit-details-marker { display: none; }
.cc > summary::after { content: "Show"; margin-left: auto; font-size: 13px; font-weight: 650; color: var(--brand); }
.cc[open] > summary::after { content: "Hide"; }
.cc-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.cc-ctrl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-weight: 650; }
.cc-ctrl input { flex: 1 1 180px; accent-color: var(--brand); }
.cc-out { font-variant-numeric: tabular-nums; min-width: 84px; color: var(--ink-2); }
.cc-svg { width: 100%; height: auto; display: block; }
.cc-grid { stroke: var(--line); stroke-width: 1; }
.cc-ax { font: 12px var(--body); fill: var(--ink-3); }
.cc-line { fill: none; stroke-width: 3; stroke-linejoin: round; }
.cc-line.wood, .cc-dot.wood { stroke: #a8650f; fill: none; }
.cc-dot.wood { fill: #a8650f; }
.cc-line.comp { stroke: var(--brand); }
.cc-dot.comp { fill: var(--brand); stroke: none; }
.cc-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.cc-legend .lg::before { content: ""; display: inline-block; width: 18px; height: 4px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.cc-legend .wood::before { background: #a8650f; }
.cc-legend .comp::before { background: var(--brand); }
.cc-sum { margin: 2px 0 0; font-size: 15.5px; }
.cc-sum .wood-t { color: #8a520c; }
.cc-sum .comp-t { color: var(--brand); }
.cc-note { font-size: 13px; margin: 0; }

.next .nx-person { display: flex; gap: 14px; align-items: flex-start; }
.next .nx-person img, .nx-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.nx-av { display: inline-grid; place-items: center; background: var(--brand); color: #fff; font: 700 22px var(--display); }
.nx-person strong { display: block; font-size: 17px; }
.nx-person > div > span { color: var(--ink-3); font-size: 14px; }
.nx-person p { margin: 6px 0 0; color: var(--ink-2); }
.nx-steps { margin: 4px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.nx-steps li::marker { font-weight: 700; color: var(--brand); }
.refer .actions .btn { gap: 6px; }

.sheet { background: #fff; border-radius: var(--r); outline: 1px solid var(--line); padding: 26px 28px; max-width: 900px; }
.sheet-tools { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin: -4px 0 22px; }
.sh-head { display: flex; gap: 18px; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 14px; }
.sh-head img { height: 28px; }
.sh-head h1 { font-size: 24px; margin: 0; }
.sh-head p { margin: 2px 0 0; color: var(--ink-2); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.sh-meta th { width: 16%; color: var(--ink-3); font-weight: 650; }
.sh-visual { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin: 18px 0; align-items: start; }
.sh-visual figure { margin: 0; }
.sh-visual img { width: 100%; border-radius: 8px; background: #e6eef0; display: block; }
.sh-visual figcaption { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.sh-key h2 { font-size: 17px; margin-bottom: 6px; }
.sh-key p { margin: 4px 0; }
.sh-sw i { display: inline-block; width: 22px; height: 22px; border-radius: 5px; vertical-align: middle; margin-right: 8px; outline: 1px solid rgba(0, 0, 0, .15); }
.sh-fire { display: flex; gap: 6px; align-items: flex-start; color: #8a2f0b; font-size: 13.5px; }
.sh-table thead th { background: var(--surface-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.sh-table tbody th { font-weight: 650; width: 22%; }
.sh-table .det { display: block; font-size: 12.5px; color: var(--ink-3); }
.sh-note { font-size: 12.5px; color: var(--ink-2); margin: 14px 0 26px; }
.sh-sign { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.sh-sign div { border-top: 1px solid var(--ink); padding-top: 4px; font-size: 12px; color: var(--ink-3); margin-top: 36px; }
@media (max-width: 640px) {
  .sheet { padding: 18px 14px; }
  .sh-visual { grid-template-columns: 1fr; }
  .sh-meta th, .sh-meta td { display: block; width: auto; border: 0; padding: 2px 0; }
  .sh-meta tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
}
@media print {
  .trust, .nudges, .cc, .refer, .next .contact { display: none !important; }
  body.sheet-view .pending-note, .sheet-tools { display: none !important; }
  .sheet { outline: 0; padding: 0; max-width: none; }
  .sh-table tr { break-inside: avoid; }
}
.hero-cta .btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); gap: 6px; }
.hero-cta .btn.ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.side-btn .ic, .review-tools .btn .ic { flex: none; }
