/* SuperZamio — стиль сайта. Бренд: тёмно-зелёный, кремовый, золото (как страница бренда).
   Образ — гербарий и полевой дневник: этикетки, паспорта растений, тонкие золотые линейки.
   Шрифты (OFL, свои файлы): Alegreya (заголовки), Alegreya Sans (текст). Внешних ресурсов нет. */
@font-face { font-family: "SZ Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/alegreya-cyrillic-var.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SZ Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/alegreya-latin-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SZ Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SZ Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SZ Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SZ Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --green: #17382A; --green2: #24503C; --green3: #2F6A4E;
  --cream: #F4EEDF; --cream2: #E9DFC6; --paper: #FBF8F0;
  --gold: #C49A3F; --gold-d: #8C6A1F; --gold-l: #E6CF95;
  --ink: #1E2B23; --muted: #57645B; --line: #D9CCAA; --pink: #C9705F;
  --tbd: #FFE58A;
  --serif: "SZ Alegreya", Georgia, "Times New Roman", serif;
  --sans: "SZ Sans", "Trebuchet MS", system-ui, sans-serif;
  --r: 8px;
  --shadow: 0 1px 2px rgba(23, 56, 42, .08), 0 6px 18px rgba(23, 56, 42, .07);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.6 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green3); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold-d); }
a.ext::after { content: "↗"; font-size: .8em; margin-left: .15em; color: var(--gold-d); }
[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--green); margin: 0 0 .5em; letter-spacing: -.005em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--cream2); padding: .05em .3em; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--green); padding: .5em 1em; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap-text { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
@media (min-width: 600px) { .wrap, .wrap-text { padding: 0 24px; } }
.sec { padding: 56px 0 8px; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.kicker { font: 700 .82rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 .7em; display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 46em; }
mark.tbd { background: var(--tbd); color: #4a3a00; padding: 0 .2em; border-radius: 3px; font-size: .86em; font-weight: 700; }
.lbl { display: inline-block; font: 700 .72rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 0 .5em; border-radius: 99px; border: 1px solid currentColor; vertical-align: .15em; }
.lbl-hyp { color: #8a5a00; background: #fff4d6; }
.lbl-direct { color: var(--green3); background: #e3f0e7; }
.lbl-own { color: var(--pink); background: #fbe9e4; }
.ic { width: 28px; height: 28px; flex: none; }
.ic-s { width: 18px; height: 18px; vertical-align: -3px; }

/* demo strip */
.demo-strip { margin: 0; background: var(--tbd); color: #4a3a00; text-align: center; font-size: .9rem; padding: 6px 16px; }

/* header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 var(--gold-l); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); margin-right: auto; min-width: 0; }
.brand .mark { flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-t b { font: 700 1.45rem/1 var(--serif); letter-spacing: .01em; }
.brand-t small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-main { display: none; gap: 4px; }
.nav-main a { text-decoration: none; color: var(--ink); padding: 8px 9px; border-radius: 6px; font-size: 1rem; white-space: nowrap; }
.nav-main a:hover { background: var(--cream2); color: var(--green); }
.nav-main a[aria-current] { color: var(--green); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-m { position: relative; }
.nav-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--cream); font-weight: 700; color: var(--green); }
.nav-m summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--green); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-m nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; }
.nav-m ul { list-style: none; margin: 0; padding: 0; }
.nav-m li a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 6px; }
.nav-m li a:hover { background: var(--cream2); }
@media (min-width: 1120px) { .nav-main { display: flex; } .nav-m { display: none; } }
@media (max-width: 380px) { .brand-t small { display: none; } .brand .mark { width: 36px; height: 36px; } }

.crumbs { font-size: .9rem; color: var(--muted); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.02rem/1.2 var(--sans); padding: 13px 22px; border-radius: 99px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #d4ac55; color: var(--green); }
.btn-line { border-color: currentColor; color: var(--green); background: transparent; }
.btn-s { padding: 7px 14px; font-size: .92rem; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green3); }

/* hero */
.hero { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% 10%, rgba(196, 154, 63, .18), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(47, 106, 78, .5), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--gold-l); font-style: italic; }
.hero .kicker { color: var(--gold-l); }
.hero .lead { color: #d8e1d6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero .btn-line { color: var(--cream); }
.hero-facts { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(230, 207, 149, .35); display: grid; gap: 14px; }
.hero-facts li { display: flex; gap: 14px; align-items: baseline; }
.hero-facts b { font: 700 1.6rem/1 var(--serif); color: var(--gold-l); min-width: 5.2em; }
.hero-facts span { color: #cfd9cd; font-size: .98rem; }
.hero-ph { position: relative; justify-self: center; max-width: 460px; width: 100%; }
.ph-hero { background: var(--cream); padding: 12px 12px 4px; border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transform: rotate(1.2deg); }
.ph-hero img { border-radius: 2px; }
.ph-hero figcaption { color: var(--muted) !important; }
.tag-plate { position: absolute; left: -10px; bottom: 40px; background: var(--paper); color: var(--green); border: 1px solid var(--gold); padding: 6px 12px 6px 10px; font-size: .82rem; border-radius: 3px; box-shadow: var(--shadow); transform: rotate(-2deg); max-width: 75%; }
.tag-plate b { font-family: var(--serif); color: var(--gold-d); margin-right: 6px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 72px; padding-bottom: 80px; } .hero-facts { grid-template-columns: repeat(3, 1fr); } .hero-facts li { flex-direction: column; gap: 4px; } }

/* figures */
figure.ph { margin: 0; }
figure.ph figcaption, .svgph figcaption { font-size: .9rem; color: var(--muted); padding: 8px 2px 6px; line-height: 1.4; }
.ph img { border-radius: 4px; background: var(--cream2); }
.ph-post img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-post { margin-bottom: 26px; }
.zoom { display: block; cursor: zoom-in; }

/* section heads */
.sec-h { margin-bottom: 26px; }
.sec-h.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; }
.grid3 { display: grid; gap: 22px; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.pillar .ic { color: var(--gold-d); width: 34px; height: 34px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); }

.values { background: var(--cream2); margin-top: 56px; padding-bottom: 48px; }
.vals { list-style: none; counter-reset: v; margin: 0; padding: 0; display: grid; gap: 18px; }
.vals li { counter-increment: v; background: var(--paper); border-radius: var(--r); padding: 22px 22px 18px 72px; position: relative; border-left: 3px solid var(--gold); }
.vals li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font: 700 1.6rem/1 var(--serif); color: var(--gold); }
.vals h3 { margin-bottom: .3em; }
.vals p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .vals { grid-template-columns: repeat(2, 1fr); } }

.test-card { display: grid; gap: 24px; background: var(--green2); color: var(--cream); border-radius: 12px; padding: 28px; align-items: center; }
.test-card h2 { color: var(--cream); }
.test-card .kicker { color: var(--gold-l); }
.test-card p { color: #d6dfd3; }
.test-card .more { color: var(--gold-l); }
.test-card figure { background: var(--cream); padding: 8px 8px 0; border-radius: 4px; max-width: 320px; justify-self: center; }
@media (min-width: 860px) { .test-card { grid-template-columns: 1fr 300px; padding: 40px; } }

/* cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card .ph img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 0; }
.card-b { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-b h3 { margin: 0 0 .2em; font-size: 1.25rem; }
.card-b p { margin: 0; color: var(--muted); font-size: 1rem; }
.card-b .meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.grid-arts { display: grid; gap: 22px; }
@media (min-width: 700px) { .grid-arts { grid-template-columns: repeat(2, 1fr); } .card-big { grid-column: 1 / -1; } .card-big .card-link { flex-direction: row; } .card-big .ph { flex: 1.2; } .card-big .ph img { height: 100%; aspect-ratio: auto; min-height: 320px; } .card-big .card-b { flex: 1; justify-content: center; padding: 28px; } .card-big h3 { font-size: 1.8rem; } }
@media (min-width: 1000px) { .grid-arts { grid-template-columns: repeat(3, 1fr); } }

.grid-var { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.var .ph img { aspect-ratio: 1 / 1; }
.svgph { background: radial-gradient(circle at 50% 45%, #fff 0, var(--cream) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.card .svgph { border-bottom: 1px solid var(--line); }
.leafsvg { width: 86%; height: auto; }
.svgph.big { aspect-ratio: auto; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 4px; }
.svgph.big .leafsvg { max-width: 360px; }
.badge { align-self: flex-start; font: 700 .72rem/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 0 8px; border-radius: 99px; background: var(--cream2); color: var(--muted); margin-bottom: 4px; }
.badge.b-own { background: var(--green); color: var(--gold-l); }
.aka { font-size: .92rem !important; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; margin-top: 8px !important; font-size: .88rem !important; }
.dots { display: inline-flex; gap: 4px; font-style: normal; }
.dots b { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--gold-d); }
.dots b.on { background: var(--gold); border-color: var(--gold); }
.dots-0 { font-size: .85rem; color: var(--muted); }

.journal-band { background: var(--green); margin-top: 56px; padding-bottom: 56px; }
.journal-band h2 { color: var(--cream); }
.journal-band .kicker, .journal-band .more { color: var(--gold-l); }
.pass .pid { font: 700 1.05rem/1 var(--serif); color: var(--gold-d); letter-spacing: .06em; }

.kb-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.kb-mini a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); line-height: 1.25; }
.kb-mini a:hover { border-color: var(--gold); }
.kb-mini .ic { color: var(--gold-d); }

/* waitlist */
.wait-band { background: var(--cream2); margin-top: 64px; padding: 56px 0; border-top: 2px solid var(--gold-l); }
.wait-in { display: grid; gap: 32px; }
@media (min-width: 960px) { .wait-in { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--green3); border-bottom: 2px solid var(--green3); transform: rotate(-45deg); }
.tg-box { display: flex; gap: 14px; background: var(--paper); border: 1px dashed var(--gold); border-radius: var(--r); padding: 16px; }
.tg-box .ic { color: var(--green3); }
.tg-box p { margin: 0; font-size: 1rem; }

.wl-form { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; min-width: 0; }
@media (min-width: 600px) { .wl-form { padding: 30px; } }
.wl-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kind { display: flex; background: var(--cream2); border-radius: 99px; padding: 4px; gap: 4px; }
.seg { flex: 1; position: relative; }
.seg input, .chip input { position: absolute; opacity: 0; left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 99px; cursor: pointer; font-weight: 700; color: var(--muted); }
.seg input:checked + span { background: var(--green); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span, .fld legend { font-weight: 700; font-size: .95rem; color: var(--green); padding: 0; }
input, select, textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(196, 154, 63, .25); }
[aria-invalid="true"] { border-color: #b3261e !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; cursor: pointer; font-size: .95rem; }
.chip input:checked + span { background: var(--green); color: var(--cream); border-color: var(--green); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.consent, .chk { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input, .chk input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--green); }
.lbl-q { display: none; }
.wl-form.is-q .lbl-q { display: inline; } .wl-form.is-q .lbl-wait, .wl-form.is-q .only-wait { display: none; }
.form-err { color: #b3261e; font-weight: 700; margin: 0; }
.form-ok { background: #e3f0e7; color: var(--green); border-radius: 8px; padding: 12px 14px; margin: 0; font-weight: 700; }
.wl-soon h3 { margin: 0 0 .4em; }
.wl-soon p:last-child { margin: 0; }
.wl-form button[disabled] { opacity: .6; cursor: progress; }
.contact-in { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-in { grid-template-columns: 1.4fr .6fr; align-items: start; } }
.contact-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }

/* page head */
.phead { padding-top: 26px; padding-bottom: 6px; }
.phead h1 { max-width: 22em; }

/* post / prose */
.post { padding-bottom: 40px; }
.post-h { padding-top: 26px; padding-bottom: 10px; }
.post-h h1 { margin-bottom: .35em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .85rem; background: var(--cream2); color: var(--green); padding: 2px 10px; border-radius: 99px; }
.prose { font-size: 1.15rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.7em; padding-top: .3em; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-d); }
.prose strong { color: var(--green); }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; padding: 16px 18px; margin: 0 0 1.3em; font-size: 1.05rem; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; line-height: 1.45; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--cream2); color: var(--green); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 30px; font-size: 1rem; }
.toc-h { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 4px 0; }
.related { margin-top: 36px; background: var(--cream2); border-radius: var(--r); padding: 20px 24px; }
.related h2 { font-size: 1.25rem; border: 0; margin: 0 0 .5em; padding: 0; }
.related ul { margin: 0; padding-left: 1.2em; }
.pn { display: grid; gap: 14px; margin-top: 30px; }
.pn a { display: block; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--green); font-family: var(--serif); font-weight: 700; }
.pn small { display: block; font: 700 .76rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } .pn-n { text-align: right; } }

/* KB */
.kb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.kbc a { display: block; height: 100%; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.kbc a:hover { border-color: var(--gold); transform: translateY(-2px); }
.kbc .ic { color: var(--gold-d); width: 32px; height: 32px; margin-bottom: 8px; }
.kbc h2 { font-size: 1.3rem; margin-bottom: .3em; }
.kbc p { margin: 0; color: var(--muted); font-size: 1rem; }
.kb-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.kb-layout > *, .var-body > *, .var-h > *, .wait-in > *, .contact-in > *, .hero-in > * { min-width: 0; }
.kb-side { display: none; }
@media (min-width: 1000px) {
  .kb-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .kb-side { display: block; position: sticky; top: 96px; align-self: start; font-size: .98rem; padding-top: 34px; }
  .kb-side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .kb-side a { display: block; padding: 5px 12px; text-decoration: none; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
  .kb-side a[aria-current] { color: var(--green); border-left-color: var(--gold); font-weight: 700; }
}
.kb-card { max-width: 760px; }
.glossary .prose h3 { font-size: 1.2rem; margin: 1.1em 0 .25em; color: var(--green); }
.glossary .prose h3 + p { margin-bottom: .6em; }

/* varieties */
.legend { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; font-size: 1rem; color: var(--muted); }
.legend p { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.fchip { font: 700 .95rem/1 var(--sans); padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); color: var(--green); cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }
.variety { padding-top: 22px; padding-bottom: 40px; }
.var-h { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .var-h { grid-template-columns: 1.3fr .7fr; } }
.facts { display: grid; gap: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--green); font-size: .95rem; }
.facts dd { margin: 0; font-size: 1rem; }
.var-body { display: grid; gap: 30px; margin-top: 30px; }
.var-body .prose { max-width: 760px; }
@media (min-width: 1000px) { .var-body { grid-template-columns: minmax(0, 1fr) 340px; } }
.own h2 { font-size: 1.3rem; }
.own-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.own-grid .ph img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.own-grid figcaption { display: none; }
.own-grid p { grid-column: 1 / -1; margin: 4px 0 0; }
.back { margin-top: 30px; }

/* tools */
.tools { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tools .ref { grid-column: 1 / -1; } }
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.calc h2 { font-size: 1.35rem; margin: 0; }
.res { display: block; font: 400 1.25rem/1.3 var(--serif); color: var(--green); background: var(--cream2); border-radius: 8px; padding: 12px 14px; }
.res b { font-size: 2rem; color: var(--green); }
.scale { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #cfdcc6 0, #9cc08a 20%, var(--gold-l) 45%, #e0a46e 70%, #c06a50 100%); }
.sc-mark { position: absolute; top: -4px; width: 4px; height: 20px; background: var(--green); border-radius: 2px; left: 0; transition: left .2s; }
.dl-note { margin: 0; font-size: 1rem; color: var(--muted); }
.qdates { margin: 0; padding-left: 1.3em; }
.qdates li { margin-bottom: 4px; }
.qdates b { color: var(--green); }

.checklist { display: grid; gap: 8px; margin-top: 18px; }
.cl-bar { position: sticky; top: 76px; z-index: 5; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.cl-prog { margin: 0; font-weight: 700; color: var(--green); }
.cl-track { height: 8px; background: var(--cream2); border-radius: 99px; overflow: hidden; }
.cl-fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.cl-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-g h2 { font-size: 1.3rem; margin: 20px 0 10px; }
.cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cl label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.cl input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--green); }
.cl input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }

/* journal / passport */
.passport { padding-top: 22px; padding-bottom: 40px; }
.pp-h { display: grid; gap: 20px; }
.pp-plate { background: var(--paper); border: 1px solid var(--gold); outline: 1px solid var(--gold-l); outline-offset: -7px; border-radius: 4px; padding: 26px 24px; position: relative; max-width: 760px; }
.pp-plate::after { content: ""; position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; border-radius: 50%; border: 2px dashed var(--gold); opacity: .6; }
.pp-k { font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 12px; }
.pp-id { font: 800 2.8rem/1 var(--serif); color: var(--green); letter-spacing: .04em; margin: 0 0 6px; }
.pp-plate h1 { font-size: 1.5rem; padding-right: 60px; }
.pp-hist { margin-top: 34px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tl-i { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.tl-i .ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tl-d { font: 700 1.1rem/1 var(--serif); color: var(--gold-d); margin-bottom: 8px; }
@media (min-width: 760px) { .tl-i { grid-template-columns: 300px 1fr; align-items: start; } }
.pp-notes { max-width: 760px; margin-top: 30px; }

/* gallery */
.gal-h { font-size: 1.5rem; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery .ph { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 8px 2px; }
.gallery .ph img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.zoom-dlg { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.zoom-dlg::backdrop { background: rgba(10, 20, 15, .86); }
.zoom-dlg img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 4px; }
.zoom-x { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--green); font-size: 1.6rem; cursor: pointer; }

/* footer */
.foot { background: var(--green); color: #cfd9cd; margin-top: 72px; padding: 46px 0 26px; font-size: 1rem; }
.foot-in { display: grid; gap: 30px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand .mark { flex: none; }
.foot-brand b { color: var(--cream); font-family: var(--serif); font-size: 1.3rem; }
.foot-h { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin: 0 0 10px; }
.foot-list { list-style: none; margin: 0 0 18px; padding: 0; }
.foot-list li { margin-bottom: 4px; }
.foot a { color: var(--cream); text-decoration: none; }
.foot a:hover { color: var(--gold-l); text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(230, 207, 149, .25); margin-top: 26px; padding-top: 16px; font-size: .9rem; color: #a9b8ac; }
.foot-note p { margin: 0; }
.empty { color: var(--muted); }

@media print {
  .top, .foot, .crumbs, .demo-strip, .cl-btns, .nav-m, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .cl-bar { position: static; box-shadow: none; }
  .cl label, .calc { border-color: #999; break-inside: avoid; }
}
