/* EpoxyPlan — workshop meets precision instrument */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F3EC; --bg-2: #EFE9DD; --surface: #FFFFFF; --surface-2: #FBF9F4;
  --line: #E4DDCF; --line-strong: #D2C8B4;
  --ink: #16201F; --ink-2: #3B4745; --muted: #6A7370;
  --resin: #0E6A6A; --resin-600: #0B5959; --resin-700: #094848; --resin-900: #0A2E34; --resin-50: #E4F1EE; --resin-100: #CBE5E0;
  --amber: #B06A26; --amber-50: #F7EBDC; --wood: #C8925A;
  --warn: #7F4A06; --warn-bg: #FFF4E2; --warn-line: #F0D7AE;
  --info-bg: #EAF3F2; --info-line: #C9E1DD;
  --ok: #1C6A47;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22,32,31,.04), 0 10px 30px -16px rgba(22,32,31,.18);
  --shadow-lg: 0 2px 4px rgba(22,32,31,.05), 0 24px 48px -24px rgba(10,46,52,.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --header-h: 64px;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--resin); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--resin-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--resin) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246,243,236,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font-family: var(--font-display); font-weight: 750; font-size: 1.28rem; letter-spacing: -0.03em; }
.brand-word span { color: var(--resin); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .925rem; font-weight: 550; padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: rgba(14,106,106,.07); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--resin-700); background: var(--resin-50); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.project-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.project-link:hover { background: var(--resin-900); color: #fff; }
.project-link svg { width: 16px; height: 16px; }
.badge-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--resin-100); color: var(--resin-900); font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.badge-count:empty, .badge-count[data-count="0"] { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }

/* Units toggle */
.seg { display: inline-flex; background: #ECE6D9; border-radius: 10px; padding: 3px; gap: 2px; border: 1px solid #E3DBCB; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: .875rem; padding: 0 12px; height: 32px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22,32,31,.12), 0 0 0 1px rgba(22,32,31,.04); }
.seg button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.seg-lg button { height: 40px; padding: 0 16px; font-size: .95rem; }
.seg-block { display: flex; width: 100%; }
.seg-block button { flex: 1; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; display: none; box-shadow: 0 18px 30px -20px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 520px) {
  .header-inner { gap: 10px; }
  .brand-word { font-size: 1.15rem; }
  .project-link .label { display: none; }
  .project-link { padding: 0 11px; }
  .header-tools .seg button { padding: 0 9px; }
}

/* ---------- Buttons ---------- */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--radius-sm); font: inherit; font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--resin); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -8px rgba(14,106,106,.7); }
.btn-primary:hover { background: var(--resin-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--resin-900); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { height: 36px; padding: 0 12px; font-size: .875rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn .lock { width: 14px; height: 14px; opacity: .8; }
.btn-link { background: none; border: 0; padding: 0; height: auto; color: var(--resin); font-weight: 600; cursor: pointer; font: inherit; }
.btn-link:hover { color: var(--resin-700); text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Cards / layout ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 16px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 1.1rem; }
.step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--resin-50); color: var(--resin-700); font-weight: 700; font-size: .78rem; margin-right: 8px; font-family: var(--font-display); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--resin-700); margin-bottom: 12px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--amber); border-radius: 2px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--resin); }
.hero .lede { margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding: 0; list-style: none; color: var(--ink-2); font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--resin); }
.hero-visual { position: relative; }
.hero-table { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(60,40,20,.18)); }
.hero-readout { position: absolute; right: -6px; bottom: -22px; width: min(300px, 70%); }
@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-readout { right: 8px; bottom: -28px; width: min(260px, 72%); }
}

/* ---------- Readout (instrument panel) ---------- */
.readout { background: radial-gradient(120% 140% at 0% 0%, #0F4A50 0%, #0A2E34 55%, #082429 100%); color: #E8F3F1; border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden; }
.readout::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(160,230,220,.45), transparent); }
.readout h2, .readout h3 { color: #fff; }
.ro-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #8FBDB7; }
.ro-main { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; flex-wrap: wrap; }
.ro-value { font-family: var(--font-display); font-weight: 650; font-size: clamp(2.6rem, 6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.ro-unit { font-size: 1.15rem; font-weight: 600; color: #BFE0DA; }
.ro-sub { color: #A9CBC6; font-size: .9rem; }
.ro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; margin: 18px 0 14px; }
.ro-grid > div { background: rgba(8,36,41,.55); padding: 12px 12px 11px; }
.ro-grid .v { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -0.01em; }
.ro-grid .u { font-size: .78rem; color: #8FBDB7; font-weight: 600; }
.ro-rows { margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.ro-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed rgba(255,255,255,.12); }
.ro-rows li span:last-child { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; text-align: right; }
.ro-rows li.total { border-top: 1px solid rgba(255,255,255,.25); font-weight: 700; }
.ro-rows li.total span:first-child { color: #fff; }
.ro-empty { color: #A9CBC6; padding: 20px 0 8px; font-size: .95rem; }
.ro-actions { display: grid; gap: 8px; margin-top: 18px; }
.ro-actions .btn { width: 100%; }
.ro-note { margin-top: 14px; font-size: .82rem; color: #8FBDB7; }
.ro-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(160,230,220,.12); color: #CBEDE7; border: 1px solid rgba(160,230,220,.22); border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.readout .alert { margin-top: 14px; }

/* ---------- Calculator layout ---------- */
.page-head { padding: 40px 0 26px; }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: 10px; }
.page-head .lede { font-size: 1.06rem; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--resin); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 28px; align-items: start; padding-bottom: 72px; }
.calc-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 940px) {
  .calc-grid { grid-template-columns: 1fr; gap: 20px; }
  .calc-side { position: static; }
}

/* ---------- Form controls ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-all { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field-label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.input { position: relative; display: flex; align-items: center; }
.input input, .input select, select.select, input.text { width: 100%; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 1.02rem; padding: 0 14px; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.input input { padding-right: 52px; }
.input .unit { position: absolute; right: 12px; font-size: .85rem; font-weight: 600; color: var(--muted); pointer-events: none; }
.input input:hover, select.select:hover { border-color: #BFB39B; }
.input input:focus, .input select:focus, select.select:focus, input.text:focus { outline: none; border-color: var(--resin); box-shadow: 0 0 0 3px rgba(14,106,106,.16); }
.input input.invalid { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194,65,12,.12); }
select.select, .input select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%233B4745' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; text-overflow: ellipsis; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--resin); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--resin-900); border-color: var(--resin-900); color: #fff; }
.inline-input { display: inline-flex; width: 120px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.subtle-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
details.more { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--ink-2); font-size: .92rem; list-style: none; display: flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
details.more[open] summary::before { transform: rotate(45deg); }
details.more .more-body { padding-top: 14px; }

/* Stations */
.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.station { display: grid; gap: 4px; }
.station label { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.station .input input { height: 44px; padding: 0 34px 0 11px; font-size: .98rem; }
.station .input .unit { right: 9px; font-size: .78rem; }
.river-preview { background: linear-gradient(180deg, #FBF7EF, #F5EEE1); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 14px; }
.river-preview svg { width: 100%; height: 120px; }
.preview-legend { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); padding: 4px 4px 0; font-variant-numeric: tabular-nums; }

/* Insert list */
.list-rows { display: grid; gap: 12px; }
.list-row { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 14px; }
.list-row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.list-row-head strong { font-size: .92rem; }
.icon-btn { appearance: none; border: 1px solid transparent; background: transparent; width: 36px; height: 36px; border-radius: 9px; display: inline-grid; place-items: center; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: #F1EBDF; color: var(--ink); border-color: var(--line); }
.icon-btn svg { width: 18px; height: 18px; }

/* Alerts */
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.45; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn); }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert.info { background: var(--info-bg); border-color: var(--info-line); color: #20504B; }
.alert + .alert { margin-top: 8px; }
.readout .alert { background: rgba(255,196,120,.1); border-color: rgba(255,196,120,.3); color: #FFDDB0; }
.readout .alert.info { background: rgba(160,230,220,.08); border-color: rgba(160,230,220,.22); color: #CBEDE7; }

/* ---------- Tool cards (home) ---------- */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s; min-height: 176px; }
.tool:hover { transform: translateY(-2px); border-color: #C9BEA7; color: var(--ink); box-shadow: var(--shadow-lg); }
.tool-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--resin-50); color: var(--resin-700); }
.tool-icon svg { width: 24px; height: 24px; }
.tool h3 { margin: 4px 0 0; font-size: 1.12rem; }
.tool p { margin: 0; color: var(--muted); font-size: .93rem; }
.tool .go { margin-top: auto; font-size: .88rem; font-weight: 650; color: var(--resin); display: inline-flex; align-items: center; gap: 6px; }
.tool .go svg { width: 16px; height: 16px; transition: transform .15s; }
.tool:hover .go svg { transform: translateX(3px); }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } .tool { min-height: 0; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact .fact-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.fact .ad { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(176,106,38,.7); font-weight: 600; }
.fact .sheet { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--resin-700); letter-spacing: -0.02em; }
.fact p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.fact .who { font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 4px; display: block; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 14px; }
.feature-list svg { width: 22px; height: 22px; color: var(--resin); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { display: block; margin-bottom: 2px; }
.feature-list span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 720px) { .feature-list { grid-template-columns: 1fr; } }

/* Unlock band */
.unlock-band { background: radial-gradient(120% 160% at 100% 0%, #11545A 0%, #0A2E34 60%); color: #E6F2F0; border-radius: 22px; padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.unlock-band h2 { color: #fff; margin-bottom: 10px; }
.unlock-band p { color: #B9D8D3; }
.unlock-band ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.unlock-band li { display: flex; gap: 10px; align-items: center; color: #E6F2F0; font-size: .95rem; }
.unlock-band li svg { width: 18px; height: 18px; color: #7FD3C7; flex-shrink: 0; }
.unlock-cta { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; text-align: center; }
.unlock-cta .btn { width: 100%; }
.unlock-cta p { font-size: .85rem; margin: 12px 0 0; color: #9FC4BE; }
@media (max-width: 820px) { .unlock-band { grid-template-columns: 1fr; padding: 28px 22px; } .unlock-band ul { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 14px 0 40px; font: inherit; }
.search input:focus { outline: none; border-color: var(--resin); box-shadow: 0 0 0 3px rgba(14,106,106,.16); }
.search svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ptable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ptable th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 14px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: var(--header-h); z-index: 1; }
.ptable td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: #FCFBF7; }
.p-name { min-width: 210px; }
.p-name .brand-name { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.p-name .prod { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; letter-spacing: -0.01em; }
.p-name .use { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.p-src { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.p-src a { color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--resin-50); color: var(--resin-700); white-space: nowrap; }
.tag.deep { background: #E2EEF3; color: #154A63; }
.tag.coating { background: var(--amber-50); color: #7A4614; }
.tag.casting { background: #ECE8F4; color: #4A3B78; }
.tag.art { background: #F4E6EA; color: #7A2E45; }
.tag.pick { background: #FFF1D6; color: #7A4A00; border: 1px solid #F1D49B; }
.depth-val { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; white-space: nowrap; }
.ratio-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ratio-val b { color: var(--ink); }
.p-note { margin-top: 10px; font-size: .8rem; line-height: 1.45; color: #6B4A1E; background: #FBF3E6; border: 1px solid #F0DFC3; border-radius: 8px; padding: 8px 10px; max-width: 420px; }
.p-note.community { color: #20504B; background: var(--info-bg); border-color: var(--info-line); }
.p-link { white-space: nowrap; font-weight: 650; font-size: .88rem; }
.pro-col { background: rgba(228,241,238,.25); }
.unlock-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--resin-50); border: 1px solid var(--resin-100); margin-bottom: 16px; color: var(--resin-900); font-size: .93rem; }
.unlock-strip svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .table-wrap { background: transparent; border: 0; box-shadow: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable thead { display: none; }
  .ptable tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; padding: 6px 0; }
  .ptable td { border: 0; padding: 8px 18px; display: grid; grid-template-columns: 128px 1fr; gap: 12px; }
  .ptable td::before { content: attr(data-label); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 2px; }
  .ptable td.p-name { display: block; padding-top: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 4px; }
  .ptable td.p-name::before { display: none; }
  .ptable tbody tr:hover td { background: transparent; }
  .pro-col { background: transparent; }
}

/* ---------- Guide / prose ---------- */
.prose { font-size: 1.03rem; color: var(--ink-2); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--amber); color: var(--ink); }
.cite { font-size: .82rem; color: var(--muted); }
.cite a { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.checklist input { width: 22px; height: 22px; accent-color: var(--resin); margin: 1px 0 0; flex-shrink: 0; }
.checklist .t { font-weight: 600; color: var(--ink); display: block; }
.checklist .d { color: var(--ink-2); font-size: .93rem; display: block; margin-top: 2px; }
.checklist input:checked + span .t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--resin); }
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tip h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.tip h3 svg { width: 22px; height: 22px; color: var(--amber); }
.tip ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); font-size: .95rem; }
.tip li { margin-bottom: .7em; }
.tip li:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .tip-grid { grid-template-columns: 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.toc a { text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; }
.toc a:hover { border-color: var(--resin); color: var(--resin); }

/* ---------- Project ---------- */
.item-list { list-style: none; margin: 0; padding: 0; }
.item-list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.item-list li:first-child { border-top: 0; padding-top: 4px; }
.item-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--resin-50); color: var(--resin-700); display: grid; place-items: center; }
.item-icon svg { width: 20px; height: 20px; }
.item-list .t { font-weight: 650; color: var(--ink); }
.item-list .s { font-size: .85rem; color: var(--muted); }
.item-list .v { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; white-space: nowrap; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--line-strong); }
.kit-opt { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); }
.kit-opt + .kit-opt { margin-top: 10px; }
.kit-opt .k { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.kit-opt .m { font-size: .85rem; color: var(--muted); }
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.saved-list li:first-child { border-top: 0; }
.name-input { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; border: 1px solid transparent; background: transparent; padding: 4px 8px; margin-left: -8px; border-radius: 8px; width: 100%; color: var(--ink); letter-spacing: -0.01em; }
.name-input:hover { border-color: var(--line); }
.name-input:focus { outline: none; border-color: var(--resin); background: var(--surface); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--resin); display: grid; place-items: center; }
.timeline .dot.filled { background: var(--resin); }
.timeline .dot.amber { border-color: var(--amber); }
.timeline .when { font-size: .8rem; font-weight: 700; color: var(--resin-700); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.timeline .what { font-weight: 650; color: var(--ink); }
.timeline .detail { font-size: .88rem; color: var(--ink-2); }
.timeline .window { display: inline-block; margin-top: 6px; font-size: .8rem; background: var(--resin-50); color: var(--resin-900); border-radius: 8px; padding: 4px 9px; font-variant-numeric: tabular-nums; }
.readout .timeline li::before { background: rgba(255,255,255,.15); }
.readout .timeline .dot { background: #0A2E34; border-color: #7FD3C7; }
.readout .timeline .dot.filled { background: #7FD3C7; }
.readout .timeline .dot.amber { border-color: #E2A865; }
.readout .timeline .when { color: #7FD3C7; }
.readout .timeline .what { color: #fff; }
.readout .timeline .detail { color: #A9CBC6; }
.readout .timeline .window { background: rgba(160,230,220,.1); color: #CBEDE7; }
.pour-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.pour-table th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 8px; border-bottom: 1px solid var(--line); }
.pour-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pour-table td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,30,34,.55); backdrop-filter: blur(3px); }
.modal-panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.modal-top { background: radial-gradient(140% 140% at 0% 0%, #11545A, #0A2E34 65%); color: #E6F2F0; padding: 26px 26px 22px; }
.modal-top h2 { color: #fff; font-size: 1.45rem; margin-bottom: 6px; }
.modal-top p { margin: 0; color: #B9D8D3; font-size: .95rem; }
.modal-perks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .88rem; }
.modal-perks li { display: flex; gap: 8px; align-items: center; }
.modal-perks svg { width: 16px; height: 16px; color: #7FD3C7; flex-shrink: 0; }
.modal-body { padding: 22px 26px 26px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: rgba(255,255,255,.2); }
.modal-close svg { width: 18px; height: 18px; }
.form-stack { display: grid; gap: 14px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .9rem; border-radius: 10px; padding: 10px 12px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #FDECEA; color: #8A2318; border: 1px solid #F5C6BF; }
.form-msg.ok { background: #E7F4EC; color: #1C5B3A; border: 1px solid #BFE2CC; }
.fine { font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .modal { padding: 0; align-items: flex-end; } .modal-panel { border-radius: 20px 20px 0 0; max-height: 92vh; } .modal-perks { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; font-weight: 550; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Mobile sticky readout */
.mobile-bar { display: none; }
@media (max-width: 940px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,46,52,.97); color: #fff; box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35); transform: translateY(110%); transition: transform .2s; }
  .mobile-bar.show { transform: translateY(0); }
  .mobile-bar .mb-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8FBDB7; font-weight: 700; }
  .mobile-bar .mb-value { font-family: var(--font-display); font-weight: 650; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .mobile-bar .mb-value small { font-size: .85rem; color: #BFE0DA; font-weight: 600; }
  .mobile-bar a { color: #fff; font-weight: 650; font-size: .9rem; border: 1px solid rgba(255,255,255,.25); padding: 8px 12px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
  body.has-mobile-bar .site-footer { padding-bottom: 96px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #EEE8DC; padding: 48px 0 32px; font-size: .9rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--resin); text-decoration: underline; }
.footer-about p { max-width: 340px; color: var(--muted); margin-top: 12px; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: grid; gap: 8px; color: var(--muted); font-size: .82rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Ad slots: reserved, render nothing until filled */
.ad-slot { display: block; margin: 32px auto; max-width: 970px; }
.ad-slot:empty { display: none; }

.print-only { display: none; }

/* ---------- Print: pour plan sheet ---------- */
@media print {
  @page { size: letter; margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .no-print, .mobile-bar, .modal, .toast, .ad-slot, .ro-actions, .calc-actions { display: none !important; }
  body.print-sheet-mode main > *:not(.print-only) { display: none !important; }
  body.print-sheet-mode .print-only { display: block !important; }
  .calc-grid { display: block; } .calc-side { position: static; }
  .sheet { font-family: var(--font); color: #111; }
  .sheet-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #0A2E34; padding-bottom: 8px; margin-bottom: 14px; }
  .sheet-head .brand-word { font-size: 16pt; }
  .sheet h1 { font-size: 20pt; margin: 0 0 2px; }
  .sheet h2 { font-size: 12pt; margin: 16px 0 6px; text-transform: uppercase; letter-spacing: .08em; color: #0A2E34; }
  .sheet table { width: 100%; border-collapse: collapse; font-size: 10pt; }
  .sheet th, .sheet td { border: 1px solid #bbb; padding: 5px 7px; text-align: left; vertical-align: top; }
  .sheet th { background: #f1f1ee; font-size: 8.5pt; text-transform: uppercase; letter-spacing: .06em; }
  .sheet .meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
  .sheet .meta div { border: 1px solid #bbb; padding: 6px 8px; }
  .sheet .meta b { display: block; font-size: 8pt; text-transform: uppercase; letter-spacing: .06em; color: #555; }
  .sheet .meta span { font-size: 12pt; font-weight: 700; }
  .sheet .box { display: inline-block; width: 11px; height: 11px; border: 1.5px solid #333; margin-right: 6px; vertical-align: -1px; }
  .sheet .lines div { border-bottom: 1px solid #bbb; height: 22px; }
  .sheet .foot { margin-top: 14px; font-size: 8.5pt; color: #555; }
  .sheet .warn { border: 1px solid #c90; background: #fff8e6; padding: 6px 8px; margin: 6px 0; font-size: 9.5pt; }
  a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.mt-lg { margin-top: 28px; }
.mt { margin-top: 16px; }
@media (max-width: 900px) { .ptable td[data-empty] { display: none; } }
.readout.hero-readout { position: absolute; }
.nowrap { white-space: nowrap; }
.ro-dim { opacity: .28; }
.stations > p { grid-column: 1 / -1; margin: 0; }
.qty-input { width: 64px; }
.qty-input input { height: 36px; padding: 0 10px; text-align: center; }
.list-row-head .row-between { gap: 8px; flex-wrap: nowrap; }
.ro-grid.two { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.ro-grid.two .v { font-size: 1.5rem; margin: 2px 0; }
.ro-label.mt { margin-top: 18px; }
.calc-side-static { position: static; }
.mb { margin-bottom: 16px; }
.facts-dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0; font-size: .9rem; }
.facts-dl dt { color: var(--muted); font-weight: 600; }
.facts-dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .facts-dl { grid-template-columns: 1fr; gap: 2px; } .facts-dl dd { margin-bottom: 8px; } }
.table-wrap { overflow: clip; }
.empty-row { padding: 28px; text-align: center; color: var(--muted); margin: 0; }
.container-wide { max-width: 1400px; }
.section-tight { padding-top: 28px; }
.check-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.check-group { font-size: 1.1rem; margin: 26px 0 12px; }
.check-group:first-of-type { margin-top: 8px; }
.tip li .cite { white-space: nowrap; }
.tip li .cite::before { content: "— "; }
@media print {
  body.print-checklist main > * { display: none !important; }
  body.print-checklist main > #checklist { display: block !important; padding: 0; }
  body.print-checklist #check-print, body.print-checklist #check-reset { display: none !important; }
  body.print-checklist .checklist li { border: 0; padding: 4px 0; }
}
.add-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.add-links .btn svg { width: 16px; height: 16px; }
.empty-li { display: block !important; }
.plain-rows { list-style: none; margin: 10px 0 0; padding: 0; }
.plain-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.plain-rows li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); text-align: right; }
.supplies { color: #CFE3E0; font-size: .9rem; }
.supplies summary { cursor: pointer; font-weight: 600; color: #fff; }
.supplies ul { margin: 8px 0 0; padding-left: 1.1em; }
.supplies li { margin-bottom: 4px; }
.kit-list .kit-opt { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.kit-list .kit-opt .k { color: #fff; }
.kit-list .kit-opt .m { color: #A9C8C4; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--resin); margin: 0 0 8px; }
.notfound { text-align: center; padding: 48px 20px 24px; }
.notfound .lede { margin: 0 auto; }
.notfound .btn-row { justify-content: center; }
.ro-link { appearance: none; background: none; border: 0; color: #A9CBC6; font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; justify-self: center; }
.ro-link:hover { color: #fff; }

.ptable tr.has-pro td { border-bottom: 0; }
.ptable .pro-row td { padding: 0 14px 16px; }
.pro-dl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; margin: 0; background: var(--resin-50); border: 1px solid var(--resin-100); border-radius: 10px; overflow: hidden; }
.pro-dl > div { padding: 10px 14px; border-left: 1px solid var(--resin-100); }
.pro-dl > div:first-child { border-left: 0; }
.pro-dl dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--resin-700); font-weight: 700; margin-bottom: 3px; }
.pro-dl dd { margin: 0; font-size: .86rem; color: var(--ink-2); }
.ptable tbody tr.has-pro:hover td, .ptable tbody tr.pro-row:hover td { background: transparent; }
@media (max-width: 900px) {
  .ptable tr.pro-row { border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 0 0 6px; }
  .ptable tr.has-pro { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: 0; box-shadow: none; }
  .ptable .pro-row td { display: block; padding: 4px 18px 14px; }
  .ptable .pro-row td::before { display: none; }
  .pro-dl { grid-auto-flow: row; grid-auto-columns: auto; }
  .pro-dl > div { border-left: 0; border-top: 1px solid var(--resin-100); }
  .pro-dl > div:first-child { border-top: 0; }
}
@media (max-width: 900px) {
  .ptable td[data-label="Buy"] { display: block; padding-top: 10px; padding-bottom: 12px; }
  .ptable td[data-label="Buy"]::before { display: none; }
  .ptable td[data-label="Buy"] .p-link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong); text-decoration: none; background: var(--surface); }
}
.field { min-width: 0; }
input.text[type="datetime-local"] { min-width: 0; width: 100%; }
.input-narrow { max-width: 260px; }
@media (max-width: 600px) { .form-grid .field-wide-m { grid-column: 1 / -1; } }
.unlock-strip > span { display: flex; align-items: center; gap: 10px; }
.unlock-strip > span svg { flex-shrink: 0; }
.pv-box { position: relative; }
.pv-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: .85rem; color: var(--muted); text-align: center; padding: 0 12px; }
.card-title { flex-wrap: wrap; row-gap: 10px; }
.card-title h2 { white-space: nowrap; }
.station label { font-size: .78rem; letter-spacing: .01em; }
@media (max-width: 600px) { .form-grid #waste-field { grid-column: 1 / -1; } }
@media (max-width: 420px) { .chip { padding: 0 13px; } .chips { gap: 6px; } }

/* Review round 2: inputs on the example card, weight notes, safety strip, affiliate notes */
.ro-inputs { margin: 10px 0 0; font-size: .74rem; line-height: 1.4; color: #A9CBC6; }
.ro-rows li.ro-fine span, .ro-rows li.ro-fine span:last-child { font-size: .78rem; color: #A9CBC6; font-weight: 400; text-align: left; }
.safety-strip { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; font-size: .82rem; line-height: 1.45; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #DDEDEA; }
.safety-strip svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #FFC478; }
.safety-strip a { color: #9FE3D8; }
.card .safety-strip, .subtle-box .safety-strip { background: #FFF7EA; border-color: #F0D9B0; color: #4A3A1E; }
.card .safety-strip a { color: var(--teal-700, #0F6D6C); }
.aff-note { margin-top: 4px; font-size: .74rem; color: var(--muted, #5E6B69); }
.aff-line { margin: 0 0 12px; color: var(--muted, #5E6B69); }
.kit-aff { margin-top: 8px; font-size: .8rem; color: #A9CBC6; }
