/* Idukki Agro Index. Restrained: green-tinted neutrals + one cardamom-green accent.
   One family (Geist) for everything; Geist Mono for numbers and chemical names. */
:root {
  --bg: oklch(0.992 0.003 150);
  --surface: oklch(0.973 0.006 150);
  --surface-2: oklch(0.955 0.008 150);
  --line: oklch(0.915 0.008 150);
  --line-2: oklch(0.86 0.01 150);
  --fg: oklch(0.21 0.014 155);
  --fg-2: oklch(0.42 0.014 155);
  --fg-3: oklch(0.58 0.012 155);
  --accent: oklch(0.46 0.105 148);
  --accent-hover: oklch(0.4 0.1 148);
  --accent-soft: oklch(0.95 0.03 148);
  --accent-fg: oklch(0.985 0.006 148);
  --pick: oklch(0.5 0.13 310);
  --warn: oklch(0.57 0.15 38);
  --warn-soft: oklch(0.96 0.025 45);
  --best: oklch(0.55 0.1 85);
  --best-soft: oklch(0.96 0.04 90);

  --s-approved: var(--accent);
  --s-recommended: oklch(0.55 0.09 185);
  --s-common: oklch(0.7 0.14 75);
  --s-useful: oklch(0.56 0.08 245);
  --s-nutrition: oklch(0.56 0.08 245);
  --s-possible: oklch(0.62 0.04 60);
  --s-low: oklch(0.72 0.01 155);
  --s-irrelevant: oklch(0.6 0.15 35);
  --dry: oklch(0.78 0.12 85); --premon: oklch(0.72 0.11 135); --monsoon: oklch(0.6 0.08 235); --postmon: oklch(0.62 0.09 150);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ml: "Noto Sans Malayalam", sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 155 / .06);
  --shadow: 0 1px 2px oklch(0.2 0.02 155 / .05), 0 4px 16px oklch(0.2 0.02 155 / .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.6 var(--font); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 12px; text-wrap: pretty; }
code { font: 13px var(--mono); background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid transparent; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s var(--ease), border-color .15s var(--ease); }
.btn:hover { background: oklch(0.32 0.015 155); }
.btn.accent { background: var(--accent); color: var(--accent-fg); }
.btn.accent:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface); }
.link { color: var(--accent); text-decoration: none; font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.input, .select { height: 38px; width: 100%; border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--r); padding: 0 12px; font-size: 14px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.search .input { padding-left: 36px; }
.search.lg .input { height: 48px; font-size: 16px; border-radius: var(--r-lg); padding-left: 42px; }
.search.lg svg { left: 15px; }
.segs { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; font-weight: 500; color: var(--fg-2); cursor: pointer; transition: all .15s var(--ease); }
.seg:hover { color: var(--fg); border-color: var(--fg-3); }
.seg[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* status dot + label */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sc); flex: none; }
.s-approved { --sc: var(--s-approved); } .s-recommended { --sc: var(--s-recommended); } .s-common { --sc: var(--s-common); }
.s-useful, .s-nutrition { --sc: var(--s-useful); } .s-possible { --sc: var(--s-possible); } .s-low { --sc: var(--s-low); } .s-irrelevant { --sc: var(--s-irrelevant); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge.best { background: var(--best-soft); color: oklch(0.42 0.09 80); }
.badge.pick { background: oklch(0.95 0.03 310); color: var(--pick); }
.code { font: 500 11.5px/1 var(--mono); letter-spacing: .02em; color: var(--fg-2); border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--r-sm); padding: 4px 6px; white-space: nowrap; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand-mark { height: 28px; padding: 0 8px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font: 600 13px/1 var(--ml); padding-top: 2px; }
.nav { display: flex; gap: 2px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--fg-2); font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-sm); transition: color .15s var(--ease), background .15s var(--ease); }
.nav a:hover { color: var(--fg); background: var(--surface); }
.nav a.on { color: var(--fg); background: var(--surface-2); }
.top .search { margin-left: auto; width: 260px; }
.top .search .input { height: 34px; background: var(--surface); border-color: var(--line); }
@media (max-width: 900px) { .top .search { display: none; } }
@media (max-width: 640px) {
  .top-row { height: auto; flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { width: 100%; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: 0 -4px; }
  .nav::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 110px; }
}

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; padding-block: 72px 64px; }
.hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; max-width: 13em; }
.hero .lede { font-size: 17px; color: var(--fg-2); max-width: 36em; margin: 18px 0 28px; }
.hero .segs { margin-top: 14px; }
.hero .example { margin-top: 22px; font-size: 13.5px; color: var(--fg-2); }
.hero .example b { color: var(--fg); font-weight: 600; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.hero figcaption { font-size: 11.5px; color: var(--fg-3); margin-top: 8px; }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px; } .hero h1 { font-size: 38px; } .hero figure img { aspect-ratio: 16 / 10; } }

.block { padding-block: 56px; border-top: 1px solid var(--line); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.block-head h2 { font-size: 24px; letter-spacing: -0.025em; }
.block-head p { color: var(--fg-2); margin: 6px 0 0; max-width: 60ch; }
.kicker { font-size: 12.5px; font-weight: 500; color: var(--fg-3); margin-bottom: 6px; }

.month-now { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.month-now .m { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.month-now h3 { font-size: 13px; font-weight: 500; color: var(--fg-3); margin-bottom: 8px; }
.month-now ul { margin: 0; padding: 0; list-style: none; }
.month-now li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.month-now li:last-child { border-bottom: 0; }
@media (max-width: 860px) { .month-now { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .rows { grid-template-columns: minmax(0, 1fr); } }
.row-link { display: grid; grid-template-columns: 56px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; width: 100%; }
.row-link img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.row-link h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.row-link p { margin: 2px 0 0; color: var(--fg-2); font-size: 13.5px; }
.row-link .arr { color: var(--fg-3); transition: transform .2s var(--ease), color .2s; }
.row-link:hover .arr { transform: translateX(3px); color: var(--fg); }
.row-link:hover h3 { color: var(--accent); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.how > div { padding: 24px; border-right: 1px solid var(--line); }
.how > div:last-child { border-right: 0; }
.how .n { font: 500 12px var(--mono); color: var(--fg-3); }
.how h3 { font-size: 16px; margin: 10px 0 6px; }
.how p { color: var(--fg-2); font-size: 14px; margin: 0; }
@media (max-width: 760px) { .how { grid-template-columns: minmax(0, 1fr); } .how > div { border-right: 0; border-bottom: 1px solid var(--line); } .how > div:last-child { border-bottom: 0; } }

/* ---------- product grid ---------- */
.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 32px 80px; }
@media (max-width: 960px) { .catalog { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; } }
.filters { position: sticky; top: 84px; align-self: start; display: grid; gap: 22px; }
@media (max-width: 960px) { .filters { position: static; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; } }
.filters label > span, .fgroup > span { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-3); margin-bottom: 6px; }
.farm { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .farm { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 12px; } .farm p { grid-column: 1 / -1; } }
.farm .pair { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.farm .pair .input { width: 84px; height: 32px; text-align: right; font-family: var(--mono); }
.farm p { font-size: 12.5px; color: var(--fg-3); margin: 0; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 18px; }
.cat-head h1 { font-size: 22px; letter-spacing: -0.025em; }
.count { font: 13px var(--mono); color: var(--fg-3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 28px 20px; }
.item { display: flex; flex-direction: column; gap: 0; text-decoration: none; color: inherit; min-width: 0; }
.item .well { position: relative; aspect-ratio: 1; background: var(--surface); border-radius: var(--r-lg); display: grid; place-items: center; padding: 22px; overflow: hidden; transition: background .2s var(--ease); }
.item .well img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.item:hover .well { background: var(--surface-2); }
.item:hover .well img { transform: scale(1.03); }
.item .well.none { font: 500 20px var(--mono); color: var(--fg-3); }
.item .well .code { position: absolute; top: 10px; left: 10px; }
.item .well .badge { position: absolute; top: 10px; right: 10px; }
.item .name { margin-top: 12px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.item .comp { font: 12px/1.45 var(--mono); color: var(--fg-2); margin-top: 2px; overflow-wrap: anywhere; }
.item .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.item .price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.item .price b { font: 600 14.5px var(--mono); }
.item .price .pp { font: 500 12.5px var(--mono); color: var(--accent); }
.item .price .pp.none { color: var(--fg-3); font-family: var(--font); }
.item .sub { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.empty { padding: 48px 24px; text-align: center; color: var(--fg-2); border: 1px dashed var(--line-2); border-radius: var(--r-lg); grid-column: 1 / -1; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--fg-3); padding-top: 24px; }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.pdp { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; padding-block: 24px 80px; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pdp-media { position: sticky; top: 84px; align-self: start; }
@media (max-width: 900px) { .pdp-media { position: static; } }
.pdp-media .well { aspect-ratio: 1; background: var(--surface); border-radius: var(--r-lg); display: grid; place-items: center; padding: 36px; }
.pdp-media .well img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-media .well.none { font: 500 28px var(--mono); color: var(--fg-3); }
@media (max-width: 900px) { .pdp-media .well { aspect-ratio: auto; height: 240px; } }
.pdp-media dl { margin: 20px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 13.5px; }
.pdp-media dt { color: var(--fg-3); }
.pdp-media dd { margin: 0; text-align: right; }
.pdp h1 { font-size: 34px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.pdp .comp { font: 14px var(--mono); color: var(--fg-2); margin-top: 8px; }
.pdp .tags { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 14px; }
.take { margin-top: 24px; padding: 16px 18px; border-radius: var(--r-lg); background: oklch(0.975 0.012 310); }
.take h3 { font-size: 13px; font-weight: 600; color: var(--pick); margin-bottom: 6px; }
.take p { margin: 4px 0 0; font-size: 14.5px; }
.sec { margin-top: 44px; }
.sec > h2 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 14px; }
.sec > p.lead { color: var(--fg-2); margin: -6px 0 14px; font-size: 14px; }
.cost { border: 1px solid var(--line); border-radius: var(--r-lg); }
.cost-top { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--fg-2); }
.cost-top label { display: inline-flex; align-items: center; gap: 8px; }
.cost-top .input { width: 84px; height: 30px; font-family: var(--mono); text-align: right; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stats div { padding: 16px 18px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 600 22px var(--mono); letter-spacing: -0.02em; }
.stats b.hl { color: var(--accent); }
.stats span { font-size: 12.5px; color: var(--fg-3); }
.cost .src { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); margin: 0; }
@media (max-width: 560px) { .stats div { border-right: 0; border-bottom: 1px solid var(--line); } }

.ing { padding: 20px 0; border-top: 1px solid var(--line); }
.ing:first-of-type { border-top: 0; padding-top: 0; }
.ing .ih { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ing .ih a { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; text-decoration: none; }
.ing .ih a:hover { color: var(--accent); }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 20px; margin: 14px 0 0; font-size: 14.5px; }
.kv dt { color: var(--fg-3); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 10px; } }
.mech { margin-top: 18px; padding: 16px 18px; background: var(--surface); border-radius: var(--r-lg); }
.mech h4 { font-size: 14px; margin-bottom: 6px; }
.mech p { font-size: 14.5px; margin: 0; }
.mech .kv { font-size: 13.5px; grid-template-columns: 130px minmax(0, 1fr); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; text-decoration: none; cursor: pointer; transition: border-color .15s var(--ease); }
.chip:hover { border-color: var(--fg-3); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc, var(--fg-3)); }

.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; font-weight: 500; color: var(--fg-3); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; white-space: nowrap; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
tr.go { cursor: pointer; transition: background .12s; }
tr.go:hover td { background: var(--surface); }
tr.win td:first-child b { color: var(--accent); }

/* ---------- list pages ---------- */
.page { padding-block: 48px 80px; }
.page-h h1 { font-size: 34px; letter-spacing: -0.03em; }
.page-h p { color: var(--fg-2); max-width: 64ch; margin: 10px 0 0; font-size: 15.5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.toolbar .search { flex: 3 1 280px; }
.toolbar .select { flex: 1 1 170px; width: auto; }
.group-h { font-size: 13px; font-weight: 500; color: var(--fg-3); margin: 36px 0 4px; text-transform: capitalize; }
.list { border-top: 1px solid var(--line); }
.lrow { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.lrow:hover .lname { color: var(--accent); }
.lrow .lname { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.lrow .lsub { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; }
.lrow .ldesc { color: var(--fg-2); font-size: 14px; }
.lrow .lend { font: 12.5px var(--mono); color: var(--fg-3); white-space: nowrap; }
@media (max-width: 760px) { .lrow { grid-template-columns: minmax(0, 1fr); } .lrow .lend { order: -1; } }

.picks-sec { padding-top: 40px; }
.picks-sec h2 { font-size: 20px; letter-spacing: -0.02em; }
.picks-sec > p { color: var(--fg-2); max-width: 70ch; margin: 6px 0 12px; font-size: 14.5px; }
.prow { display: grid; grid-template-columns: 64px minmax(0, 240px) minmax(0, 1fr); gap: 4px 24px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.prow .well { width: 64px; height: 64px; background: var(--surface); border-radius: var(--r); display: grid; place-items: center; padding: 8px; }
.prow .well img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prow .well.none { font: 500 12px var(--mono); color: var(--fg-3); }
.prow b { font-weight: 600; }
.prow:hover b { color: var(--accent); }
.prow .why { font-size: 14px; color: var(--fg-2); }
@media (max-width: 760px) { .prow { grid-template-columns: 64px minmax(0, 1fr); } .prow .why { grid-column: 1 / -1; } }

/* ---------- docs (Learn) ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: 56px; padding-block: 32px 96px; }
@media (max-width: 1180px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .otp { display: none; } }
@media (max-width: 900px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 0; } .dnav { display: none; } }
.dnav, .otp { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; font-size: 13.5px; }
.dnav h4, .otp h4 { font-size: 12.5px; font-weight: 500; color: var(--fg-3); margin: 18px 0 6px; }
.dnav h4:first-child, .otp h4:first-child { margin-top: 0; }
.dnav a, .otp a { display: block; text-decoration: none; color: var(--fg-2); padding: 4px 10px; margin-left: -10px; border-radius: var(--r-sm); }
.dnav a:hover, .otp a:hover { color: var(--fg); background: var(--surface); }
.dnav a.on { color: var(--fg); background: var(--surface-2); font-weight: 500; }
.otp a { padding: 3px 10px; font-size: 13px; }
.doc { min-width: 0; max-width: 720px; }
.doc .crumbs { padding-top: 0; margin-bottom: 14px; }
.doc > h1 { font-size: 38px; letter-spacing: -0.035em; }
.doc .summary { font-size: 18px; color: var(--fg-2); margin: 12px 0 28px; max-width: 60ch; }
.doc h2.ah { font-size: 22px; letter-spacing: -0.025em; margin: 48px 0 12px; scroll-margin-top: 84px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.doc ul, .doc ol { padding-left: 20px; margin: 0 0 16px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); text-decoration: none; font-weight: 500; }
.doc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc .ilink { color: var(--accent); background: none; border: 0; padding: 0; font-weight: 500; cursor: pointer; }
.doc .ilink:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc figure { margin: 28px 0; }
.doc figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.doc figcaption, .cred { font-size: 13px; color: var(--fg-2); margin-top: 8px; }
.cred { display: block; font-size: 11.5px; color: var(--fg-3); margin-top: 3px; }
.cred a { color: inherit !important; font-weight: 400 !important; }
.doc ol.steps { list-style: none; padding: 0; counter-reset: st; }
.doc ol.steps li { counter-increment: st; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; margin: 10px 0; }
.doc ol.steps li::before { content: counter(st); font: 500 12px/24px var(--mono); text-align: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--fg-2); margin-top: 2px; }
.note { margin: 22px 0; padding: 14px 16px; border-radius: var(--r-lg); background: var(--accent-soft); font-size: 14.5px; }
.note.warn { background: var(--warn-soft); }
.note strong { display: block; font-size: 13px; margin-bottom: 4px; color: var(--accent); }
.note.warn strong { color: var(--warn); }
.facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); margin: 20px 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { color: var(--fg-3); padding-right: 16px; }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { border-bottom: 0; padding-bottom: 0; } }
.diagram { margin: 24px 0; background: var(--surface); border-radius: var(--r-lg); padding: 16px; }
.diagram svg { width: 100%; height: auto; }

.wiki-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: end; padding-block: 56px 40px; }
.wiki-head h1 { font-size: 44px; letter-spacing: -0.035em; }
.wiki-head p { font-size: 16.5px; color: var(--fg-2); max-width: 54ch; margin: 14px 0 24px; }
.wiki-head figure { margin: 0; }
.wiki-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 900px) { .wiki-head { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 36px; } .wiki-head h1 { font-size: 34px; } }
.wsec { padding: 28px 0 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
.wsec > h2 { font-size: 15px; letter-spacing: -0.01em; padding-top: 14px; }
@media (max-width: 760px) { .wsec { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.related { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); }
.related h3 { font-size: 13px; font-weight: 500; color: var(--fg-3); margin: 16px 0 0; }

.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 24px 28px; margin-top: 20px; }
.month h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.month h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.month h3 .now { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--pick); }
.month h4 { font-size: 12px; font-weight: 500; color: var(--fg-3); margin: 10px 0 2px; }
.month ul { margin: 0; padding-left: 16px; }
.month li { font-size: 13.5px; line-height: 1.5; margin: 3px 0; }
.month .watch li { color: var(--fg-2); }
.month.now h3 { color: var(--pick); }
.keys { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--fg-2); }
.keys span { display: inline-flex; align-items: center; gap: 6px; }
.keys span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.prob { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.prob.noimg { grid-template-columns: minmax(0, 1fr); }
.prob figure { margin: 0; }
.prob figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.prob figcaption { font-size: 12px; color: var(--fg-3); margin-top: 6px; line-height: 1.4; }
.prob h3 { font-size: 19px; letter-spacing: -0.02em; }
.prob .ml { font: 500 14px var(--ml); color: var(--fg-3); margin-left: 8px; }
.prob .kv { grid-template-columns: 110px minmax(0, 1fr); font-size: 14.5px; }
.prob .chips { margin-top: 14px; }
@media (max-width: 640px) { .prob { grid-template-columns: minmax(0, 1fr); gap: 14px; } .prob figure img { aspect-ratio: 16 / 9; } .prob .kv { grid-template-columns: minmax(0, 1fr); } }

.mode { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.mode .mh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mode h3 { font-size: 18px; letter-spacing: -0.02em; }
.mode > p { margin: 10px 0 0; font-size: 15px; }
.mode .kv { font-size: 14px; }
.mode .chips { margin-top: 14px; }
.fam { font-size: 13px; font-weight: 500; color: var(--fg-3); margin: 40px 0 0; text-transform: capitalize; }

.credits { font-size: 13px; padding-left: 18px; color: var(--fg-2); }
.credits li { margin: 4px 0; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--fg-3); }
.foot p { margin: 4px 0; max-width: 90ch; }

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

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .item .well { padding: 12px; border-radius: var(--r); }
  .item .well .code, .item .well .badge { top: 6px; }
  .item .well .code { left: 6px; font-size: 10.5px; padding: 3px 5px; }
  .item .well .badge { right: 6px; height: 20px; font-size: 11px; padding: 0 6px; }
  .item .price { flex-direction: column; gap: 2px; }
}

/* ---------- pests & diseases ---------- */
.r-good { --rc: var(--accent); } .r-fair { --rc: oklch(0.66 0.13 75); } .r-poor { --rc: oklch(0.6 0.1 40); } .r-none { --rc: var(--fg-3); }
.row-link .ph { width: 56px; height: 56px; border-radius: var(--r); background: var(--surface-2); display: grid; place-items: center; font-weight: 600; color: var(--fg-3); }
.ml-s { font: 500 0.6em var(--ml); color: var(--fg-3); letter-spacing: 0; margin-left: 4px; }
.pest-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 56px; padding-block: 20px 8px; align-items: start; }
.pest-head h1 { font-size: 40px; letter-spacing: -0.035em; }
.pest-head .sci { font-style: italic; color: var(--fg-3); margin: 6px 0 0; }
.pest-head .summary { font-size: 18px; color: var(--fg-2); margin: 14px 0 6px; max-width: 60ch; }
.pest-head figure { margin: 0; position: sticky; top: 84px; }
.pest-head figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.pest-head figcaption { font-size: 12.5px; color: var(--fg-2); margin-top: 8px; }
@media (max-width: 900px) { .pest-head { grid-template-columns: minmax(0, 1fr); gap: 20px; } .pest-head figure { position: static; order: -1; } .pest-head h1 { font-size: 32px; } }
.pest-body { max-width: 860px; padding-bottom: 80px; }
ul.plain { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
ol.rot { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: r; }
ol.rot li { counter-increment: r; display: grid; gap: 2px; padding: 12px 14px 12px 44px; position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 180px; font-size: 13px; }
ol.rot li::before { content: counter(r); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font: 500 12px/22px var(--mono); text-align: center; color: var(--fg-2); }
ol.rot li a:first-child { font-size: 14.5px; font-weight: 600; text-decoration: none; }
ol.rot li a { text-decoration: none; }
ol.rot li a:hover { color: var(--accent); }
.eff-g { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 28px 0 0; padding-bottom: 10px; }
.eff-g::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rc); }
.effs { border-top: 1px solid var(--line); }
.eff { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 8px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.eff-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eff-h a { font-size: 15.5px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.eff-h a:hover { color: var(--accent); }
.eff-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12.5px; }
.eff p { margin: 8px 0 0; font-size: 14.5px; color: var(--fg-2); max-width: 64ch; }
.eff-buy a { display: grid; gap: 1px; text-decoration: none; padding: 10px 12px; border-radius: var(--r); background: var(--surface); font-size: 12.5px; transition: background .15s var(--ease); }
.eff-buy a:hover { background: var(--surface-2); }
.eff-buy b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.eff-buy .mono { color: var(--accent); }
.eff-buy > .faint { font-size: 12.5px; display: block; padding-top: 10px; }
@media (max-width: 640px) { .eff { grid-template-columns: minmax(0, 1fr); } }
.worklist { display: grid; border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: 96px minmax(0, 200px) minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.work .wr { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.work .wr::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }
.work b { font-weight: 600; }
.work:hover b { color: var(--accent); }
.work .faint { font-size: 13px; }
@media (max-width: 640px) { .work { grid-template-columns: minmax(0, 1fr); } }

/* Compact reference photography and scientific diagrams. */
.compact-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 16px; }
.compact-section-head h2 { font-size: 20px; }
.section-hint { color: var(--fg-2); font-size: 12px; font-weight: 400; }
a.section-hint { color: var(--accent); text-underline-offset: 3px; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.media-figure { margin: 0; min-width: 0; }
.media-open { display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.media-open img { width: 100%; height: 148px; object-fit: contain; }
.media-figure.is-structure .media-open { background: oklch(0.999 0.001 150); }
.media-figure.is-structure .media-open img { padding: 12px; }
.media-figure figcaption { margin-top: 9px; color: var(--fg-2); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.media-figure figcaption p { margin: 4px 0 7px; }
.media-scope { display: block; color: var(--accent); font-size: 12px; font-weight: 500; }
.media-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 12px; }
.media-meta a { text-underline-offset: 3px; }
.media-attribution { min-width: 0; }
.media-attribution summary { color: var(--fg-2); cursor: pointer; }
.media-credit { display: block; color: var(--fg-2); font-size: 12px; margin-top: 6px; }
.media-credit > span { display: block; margin-top: 3px; }
.media-unavailable { display: block; margin-top: 8px; }
.media-unavailable[hidden] { display: none; }
.image-failed .media-open { display: none; }
.pest-head { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; padding-bottom: 12px; }
.pest-head > .media-figure { width: 100%; max-width: 280px; position: static; }
.pest-head > .media-figure .media-open img { width: 100%; height: 190px; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.pest-head > .media-figure figcaption { margin-top: 9px; }
.problem-facts { margin-top: 22px; }
.mechanism-story.sec { margin-top: 30px; }
.mechanism-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.mechanism-primary { margin: 0; min-width: 0; }
.mechanism-art { display: block; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: oklch(0.999 0.001 150); }
.mechanism-art img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.mechanism-primary figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; margin-top: 8px; font-size: 12px; color: var(--fg-2); }
.mechanism-primary figcaption a { color: var(--accent); text-underline-offset: 3px; }
.mechanism-explanation { min-width: 0; }
.mechanism-explanation > h3 { font-size: 16px; margin-bottom: 14px; }
.mechanism-points { list-style: none; counter-reset: mechanism; padding: 0; margin: 0; }
.mechanism-points li { counter-increment: mechanism; display: grid; grid-template-columns: 19px minmax(0, 1fr); column-gap: 9px; margin-top: 13px; }
.mechanism-points li::before { content: counter(mechanism); color: var(--accent); font: 500 12px/1.65 var(--mono); grid-row: span 2; }
.mechanism-points h4 { font-size: 14px; line-height: 1.4; letter-spacing: -.01em; }
.mechanism-points p { color: var(--fg-2); font-size: 13px; line-height: 1.65; margin: 4px 0 0; max-width: 48ch; }
.mechanism-extras { margin-top: 20px; border-top: 1px solid var(--line); }
.mechanism-extras > details { padding: 11px 0; border-bottom: 1px solid var(--line); }
.mechanism-extras summary, .field-notes > summary, .source-context > summary { cursor: pointer; font-size: 13px; font-weight: 500; }
.mechanism-walkthrough summary span { margin-left: 8px; color: var(--fg-2); font-weight: 400; font-size: 12px; }
.walkthrough-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 18px 0 6px; }
.walkthrough-grid figure { margin: 0; min-width: 0; }
.walkthrough-grid .mechanism-art img { height: 185px; }
.walkthrough-grid figcaption { font-size: 13px; line-height: 1.6; margin-top: 10px; color: var(--fg-2); }
.walkthrough-grid figcaption b { color: var(--fg); font-weight: 500; }
.walkthrough-grid figcaption p { margin: 4px 0 0; }
.mechanism-detail p { color: var(--fg-2); font-size: 14px; max-width: 72ch; margin: 14px 0 0; }
.illustration-note { color: var(--fg-2); font-size: 12px; line-height: 1.6; margin: 10px 0 0; }
.mechanism-link { display: inline-block; margin-top: 12px; font-size: 13px; }
.chemical-summary { font-size: 16px; color: var(--fg-2); max-width: 70ch; margin: 14px 0 0; }
.page-jumps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 13px; color: var(--accent); }
.page-jumps a { text-underline-offset: 4px; }
.ingredient-notes > p { color: var(--fg-2); font-size: 14px; max-width: 74ch; margin: 12px 0 14px; }
.field-notes { border-top: 1px solid var(--line); padding-top: 12px; }
.field-notes > .ing { margin-top: 16px; }
.field-notes .mechanism-link { display: none; }
.research-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; color: var(--fg-2); font-size: 13px; line-height: 1.65; margin: 20px 0; max-width: 75ch; }
.source-list { padding-left: 21px; margin: 14px 0 0; }
.source-list li { padding: 0 0 13px 6px; margin-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 13px; max-width: 78ch; }
.source-list li::marker { color: var(--fg-2); font: 12px var(--mono); }
.source-list li > a { font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.source-publisher, .source-section { display: block; font-size: 12px; color: var(--fg-2); margin-top: 4px; }
.source-context { margin-top: 14px; font-size: 13px; color: var(--fg-2); }
.source-context > summary { color: var(--fg); }
.source-context > p { margin: 14px 0; max-width: 74ch; }
.source-context dl { margin: 0; }
.source-context dt { font-weight: 500; color: var(--fg); margin-top: 14px; }
.source-context dd { margin: 5px 0 0; max-width: 74ch; }
@media (max-width: 900px) {
  .pest-head { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
  .pest-head > .media-figure { order: 0; }
  .pest-head > .media-figure .media-open img { height: 160px; }
}
@media (max-width: 640px) {
  .compact-section-head { gap: 6px 14px; margin-bottom: 14px; }
  .compact-section-head h2 { font-size: 18px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .media-open img { height: 116px; }
  .media-figure figcaption { font-size: 12px; }
  .media-scope { font-size: 12px; }
  .mechanism-overview { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mechanism-primary { max-width: 440px; width: 100%; }
  .mechanism-primary .mechanism-art img { max-height: 225px; }
  .mechanism-explanation > h3 { font-size: 16px; margin-bottom: 12px; }
  .mechanism-points li { margin-top: 12px; }
  .mechanism-points p { font-size: 14px; line-height: 1.6; max-width: none; }
  .mechanism-points h4 { font-size: 14px; }
  .walkthrough-grid { gap: 14px; }
  .walkthrough-grid .mechanism-art img { height: 116px; }
  .walkthrough-grid figcaption { font-size: 12px; }
  .pest-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pest-head > .media-figure { max-width: 340px; }
  .pest-head > .media-figure .media-open img { height: 185px; }
}

/* ---------- tank mix ---------- */
.mix-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; margin-top: 28px; align-items: start; }
@media (max-width: 960px) { .mix-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.picker { position: relative; }
.picker-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px; max-height: 420px; overflow: auto; }
.opt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--r); padding: 8px; cursor: pointer; }
.opt:hover, .opt:focus-visible { background: var(--surface); }
.opt b { display: block; font-weight: 600; font-size: 14px; }
.opt .mono { font-size: 12px; }
.opt-empty { padding: 12px; color: var(--fg-3); font-size: 14px; }
.well.xs, .well.sm { background: var(--surface); border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; }
.well.xs { width: 40px; height: 40px; padding: 4px; }
.well.sm { width: 52px; height: 52px; padding: 6px; border-radius: var(--r); }
.well.xs img, .well.sm img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.well.xs.none, .well.sm.none { font: 500 10px var(--mono); color: var(--fg-3); }
.picked { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
.pk { display: grid; grid-template-columns: 52px minmax(0, 1fr) 32px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pk-t a { display: block; font-weight: 600; text-decoration: none; }
.pk-t a:hover { color: var(--accent); }
.pk-t .mono { font-size: 12.5px; overflow-wrap: anywhere; }
.pk-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg-2); font-size: 18px; line-height: 1; cursor: pointer; }
.pk-x:hover { color: var(--fg); border-color: var(--fg-3); }
.picked .empty { margin-top: 16px; text-align: left; }
.v-no { --vc: oklch(0.55 0.17 30); --vb: oklch(0.965 0.025 30); }
.v-caution { --vc: oklch(0.6 0.13 70); --vb: oklch(0.97 0.035 85); }
.v-ok { --vc: var(--accent); --vb: var(--accent-soft); }
.verdict { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--vb); }
.verdict h2 { font-size: 20px; color: var(--vc); letter-spacing: -0.02em; }
.verdict p { margin: 4px 0 0; color: var(--fg-2); font-size: 14.5px; }
.issues { margin-top: 8px; }
.issue { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.issue .lvl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--vc); align-self: start; padding-top: 2px; }
.issue .lvl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vc); }
.issue h3 { font-size: 15.5px; letter-spacing: -0.01em; }
.issue p { margin: 4px 0 6px; font-size: 14.5px; color: var(--fg-2); }
@media (max-width: 560px) { .issue { grid-template-columns: minmax(0, 1fr); } }
.side-h { font-size: 17px; letter-spacing: -0.02em; }
ol.fill { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: f; border-top: 1px solid var(--line); }
ol.fill li { counter-increment: f; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
ol.fill li::before { content: counter(f); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font: 500 12px/22px var(--mono); text-align: center; color: var(--fg-2); }
ol.fill li b { font-weight: 600; }
ol.fill li .amt { color: var(--accent); font-weight: 500; text-align: right; }
ol.fill li .faint { grid-column: 2 / -1; font-size: 13px; }
.jar { margin-top: 24px; padding: 16px 18px; background: var(--surface); border-radius: var(--r-lg); }
.jar h3 { font-size: 14.5px; margin-bottom: 6px; }
.jar ol { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--fg-2); }
.jar li { margin: 4px 0; }

/* ---------- spray diary ---------- */
.dsum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.dsum > div { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border-right: 1px solid var(--line); font-size: 13px; }
.dsum > div:last-child { border-right: 0; }
.dsum b { font-size: 18px; letter-spacing: -0.02em; }
.dsum .ok b { color: var(--accent); }
.dsum .hold b { color: oklch(0.55 0.17 30); }
.dsum .input { height: 34px; max-width: 200px; }
.warn-t { color: oklch(0.55 0.17 30); font-weight: 500; }
@media (max-width: 760px) { .dsum { grid-template-columns: minmax(0, 1fr); } .dsum > div { border-right: 0; border-bottom: 1px solid var(--line); } .dsum > div:last-child { border-bottom: 0; } }
.diary-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; margin-top: 36px; align-items: start; }
@media (max-width: 960px) { .diary-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.dform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.dform label > span, .dform .lbl { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-3); margin-bottom: 6px; }
.dform .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .dform { grid-template-columns: minmax(0, 1fr); } }
.dpicked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; }
.dchip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font-size: 15px; line-height: 1; }
.dchip button:hover { background: var(--line); color: var(--fg); }
.dchip .code { padding: 2px 5px; font-size: 10.5px; }
.dprev { padding: 12px 14px; background: var(--surface); border-radius: var(--r-lg); }
.dw { margin: 0 0 6px; font-size: 13.5px; padding-left: 16px; position: relative; color: var(--fg-2); }
.dw::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--dc); }
.w-no { --dc: oklch(0.55 0.17 30); color: var(--fg); }
.w-caution { --dc: oklch(0.66 0.13 75); }
.w-info { --dc: var(--fg-3); }
.w-ok { --dc: var(--accent); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.groups { margin-top: 12px; border-top: 1px solid var(--line); }
.grow { display: grid; grid-template-columns: 90px minmax(0, 1fr) 30px; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.grow .faint { grid-column: 1 / -1; font-size: 12.5px; }
.gbar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.gbar i { display: block; height: 100%; background: var(--fg-2); border-radius: 3px; }
.dhead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dtools { display: flex; gap: 8px; flex-wrap: wrap; }
.dtools .btn { height: 32px; font-size: 13px; padding: 0 12px; }
.dlist { margin-top: 14px; border-top: 1px solid var(--line); }
.dentry { display: grid; grid-template-columns: 110px minmax(0, 1fr) 32px; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dentry .dd { display: grid; font-size: 13.5px; align-content: start; }
.dprods { font-size: 14.5px; }
.dprods a { font-weight: 600; text-decoration: none; }
.dprods a:hover { color: var(--accent); }
.dprods .code { padding: 2px 5px; font-size: 10.5px; }
.dmeta { font-size: 13px; margin: 4px 0 6px; }
.dnote { font-size: 13.5px; margin: 0 0 6px; color: var(--fg-2); }
@media (max-width: 560px) { .dentry { grid-template-columns: minmax(0, 1fr) 32px; } .dentry .dd { grid-column: 1; } .dentry > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } .dentry .pk-x { grid-column: 2; grid-row: 1; } }
.s-banned { --sc: oklch(0.55 0.2 25); }
.r-banned { --rc: oklch(0.55 0.2 25); }
.st.s-banned { color: oklch(0.5 0.18 25); font-weight: 600; }
