/* ==========================================================================
   Malunggay Knowledgebase — Design System
   ========================================================================== */

:root {
  /* Colors */
  --bg:            #f6f8f4;
  --bg-soft:       #ffffff;
  --bg-alt:        #eef3ea;
  --ink:           #1c2419;
  --ink-soft:      #45523f;
  --ink-faint:     #6b7a63;
  --line:          #d9e2d2;
  --line-strong:   #c2d0b7;

  --green:         #2f7d32;
  --green-deep:    #1b5e20;
  --green-soft:    #e3f0e0;
  --lime:          #8bc34a;
  --amber:         #f0a12b;
  --amber-soft:    #fdf3df;
  --red:           #c0472e;
  --red-soft:      #fbe9e4;
  --blue:          #2a6f97;
  --blue-soft:     #e3eef5;

  --shadow-sm: 0 1px 3px rgba(28, 36, 25, .08);
  --shadow-md: 0 4px 14px rgba(28, 36, 25, .10);
  --shadow-lg: 0 10px 34px rgba(28, 36, 25, .14);

  --radius: 14px;
  --radius-sm: 9px;

  --font-display: "Avenir Next", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Cascadia Code", "SF Mono", Consolas, "Courier New", monospace;

  --max-w: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.22; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.015em; margin-bottom: .9rem; }
h3 { font-size: 1.28rem; margin: 1.6rem 0 .6rem; }
h4 { font-size: 1.06rem; margin: 1.2rem 0 .45rem; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }

ul, ol { padding-left: 1.45rem; margin-bottom: 1rem; color: var(--ink-soft); }
li { margin-bottom: .35rem; }
li::marker { color: var(--green); }
strong { color: var(--ink); }

code {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: .08em .42em;
  border-radius: 6px;
  font-size: .86em;
  color: var(--green-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  white-space: nowrap;
}
.brand .leaf {
  width: 34px; height: 34px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(28, 36, 25, .25));
  transition: transform .25s;
}
.brand:hover .leaf { transform: rotate(-6deg); }

.main-nav { display: flex; align-items: center; gap: .18rem; flex-wrap: wrap; }
.nav-item { position: relative; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
  padding: .42rem .66rem;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-top {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: .42rem .66rem;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.nav-top:hover,
.nav-top[aria-expanded="true"] { background: var(--green-soft); color: var(--green-deep); }
.main-nav a[aria-current="page"],
.nav-item.has-current > .nav-top { background: var(--green-deep); color: #fff; }
.nav-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: .45rem;
  z-index: 120;
}
.nav-item.open .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 7px;
  font-size: .9rem;
}
.nav-drop a:hover { background: var(--green-soft); }
.nav-drop a[aria-current="page"] { background: var(--green-soft); color: var(--green-deep); }
@media (max-width: 860px) {
  .nav-drop { position: static; box-shadow: none; border: none; padding: 0 0 0 .9rem; min-width: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(139, 195, 74, .28), transparent 60%),
    radial-gradient(700px 380px at -8% 110%, rgba(47, 125, 50, .16), transparent 55%),
    linear-gradient(160deg, #102515 0%, #1e4d24 55%, #2f7d32 100%);
  color: #eef7ea;
  padding: clamp(3.4rem, 8vw, 6.2rem) 1.4rem clamp(3.2rem, 7vw, 5.4rem);
  overflow: hidden;
}
.hero::after {
  content: "🌿";
  position: absolute;
  right: -1.2rem;
  bottom: -2.4rem;
  font-size: clamp(9rem, 20vw, 17rem);
  opacity: .07;
  transform: rotate(14deg);
  pointer-events: none;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero .eyebrow {
  display: inline-block;
  background: rgba(139, 195, 74, .18);
  border: 1px solid rgba(139, 195, 74, .45);
  color: #d3eda9;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .hl { color: var(--lime); }
.hero .lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: #cfe3c6;
  max-width: 62ch;
  margin-bottom: 1.8rem;
}
.hero .meta-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.hero .meta-row span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .82rem;
  padding: .34rem .85rem;
  color: #dcead2;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }

/* Hero (light variant for interior pages) */
.hero-sub {
  position: relative;
  background: linear-gradient(155deg, #14301c 0%, #245a29 60%, #2f7d32 100%);
  color: #eaf5e4;
  padding: clamp(2.4rem, 5.5vw, 4rem) 1.4rem clamp(2.4rem, 5.5vw, 3.6rem);
  overflow: hidden;
}
.hero-sub::after {
  content: "🌿";
  position: absolute;
  right: -.8rem;
  bottom: -2.2rem;
  font-size: clamp(7rem, 15vw, 12rem);
  opacity: .07;
  transform: rotate(12deg);
  pointer-events: none;
}
.hero-sub .inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero-sub h1 { color: #fff; margin-bottom: .7rem; }
.hero-sub .lede { color: #cfe3c6; max-width: 68ch; margin-bottom: 0; }
.crumbs { font-size: .84rem; margin-bottom: 1rem; color: #a9c89e; }
.crumbs a { color: #cfe6b8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
main { max-width: var(--max-w); margin: 0 auto; padding: 2.4rem 1.4rem 4rem; }
.narrow { max-width: 860px; }

.section { padding: 2.2rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.2rem 0; }

.kicker {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0; font-size: 1.12rem; }
.card p { margin-bottom: .4rem; font-size: .95rem; }
.card .icon { font-size: 1.7rem; margin-bottom: .55rem; display: block; }

.card a { text-decoration: none; }
.card.link-card { display: block; }
.card .go { color: var(--green); font-weight: 700; font-size: .88rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .68rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--lime); color: #17310d; box-shadow: 0 3px 12px rgba(139, 195, 74, .35); }
.btn-primary:hover { background: #9ccb5f; color: #17310d; box-shadow: 0 5px 16px rgba(139, 195, 74, .45); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #eaf5e4; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-outline { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.1rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .93rem; }
th, td { padding: .62rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--green-deep);
  color: #e9f5df;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .02em;
  position: sticky;
  top: 0;
}
tbody tr:nth-child(even) { background: #f4f8f0; }
tbody tr:hover { background: var(--green-soft); }
tbody tr:last-child td { border-bottom: none; }
caption { caption-side: bottom; text-align: left; font-size: .82rem; color: var(--ink-faint); padding: .55rem .85rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Callouts ---------- */
.note {
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .95rem 1.2rem;
  margin: 1.15rem 0;
  font-size: .96rem;
}
.note .note-title { font-weight: 800; color: var(--green-deep); display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; }
.note p { margin: .2rem 0; }
.note-warn { border-left-color: var(--amber); background: var(--amber-soft); }
.note-warn .note-title { color: #8a5a10; }
.note-danger { border-left-color: var(--red); background: var(--red-soft); }
.note-danger .note-title { color: var(--red); }
.note-info { border-left-color: var(--blue); background: var(--blue-soft); }
.note-info .note-title { color: var(--blue); }

/* ---------- Stat blocks ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; margin: 1.4rem 0; }
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--green-deep); line-height: 1.15; }
.stat .l { font-size: .82rem; color: var(--ink-faint); margin-top: .2rem; }

/* ---------- Definition lists ---------- */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.1rem; margin: 1rem 0; font-size: .96rem; }
dl.facts dt { font-weight: 700; color: var(--green-deep); }
dl.facts dd { color: var(--ink-soft); }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dt { margin-top: .4rem; } }

/* ---------- Accordion ---------- */
details.acc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .7rem;
  overflow: hidden;
}
details.acc summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .95rem 1.2rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: background .15s;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::before { content: "▸"; color: var(--green); transition: transform .2s; flex-shrink: 0; }
details.acc[open] summary::before { transform: rotate(90deg); }
details.acc summary:hover { background: var(--green-soft); }
details.acc .acc-body { padding: .2rem 1.2rem 1.1rem; color: var(--ink-soft); }
details.acc .acc-body p { margin-bottom: .6rem; }
details.acc .acc-body :last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 1.4rem 0; padding-left: 1.9rem; border-left: 3px solid var(--line-strong); }
.timeline .t-item { position: relative; margin-bottom: 1.4rem; }
.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -2.55rem;
  top: .35rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline .t-when { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--green-deep); }
.timeline .t-what { color: var(--ink-soft); font-size: .96rem; margin-top: .15rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; margin: 1.3rem 0; }
.step {
  counter-increment: step;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem 1.1rem 3.9rem;
  margin-bottom: .8rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1.05rem; top: 1.15rem;
  width: 2rem; height: 2rem;
  background: var(--green-deep);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
}
.step h4 { margin: 0 0 .3rem; }
.step p { margin-bottom: .35rem; font-size: .95rem; }
.step :last-child { margin-bottom: 0; }

/* ---------- Product-process diagrams ---------- */
.process-fig {
  margin: 1.4rem 0 .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: .8rem .9rem .7rem;
  overflow-x: auto;
}
.process-fig img { display: block; width: 100%; height: auto; }
.process-fig figcaption {
  margin-top: .55rem;
  font-size: .85rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: .55rem;
}
.process-fig figcaption strong { color: var(--green-deep); }
/* ---------- Animated slideshow (built by app.js) ---------- */
.flow-stage { display: none; margin-top: .7rem; }
.process-fig.is-flowable .flow-stage { display: block; }

.flow-lanes { display: grid; gap: .9rem; }
.flow-lane-name {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .3rem;
}
.flow-nodes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 1.6rem;
  overflow-x: auto;
  padding-bottom: .3rem;
}
.flow-nodes::-webkit-scrollbar { height: 6px; }
.flow-nodes::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.flow-node {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green-deep);
  border-radius: 12px;
  padding: .7rem .6rem .65rem;
  text-align: center;
  opacity: .35;
  transform: scale(.97);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.flow-node.is-done { opacity: .78; transform: none; }
.flow-node.is-active {
  opacity: 1;
  transform: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.flow-icon { display: block; font-size: 1.25rem; margin: .15rem 0 .2rem; }
.flow-label { display: block; font-weight: 700; font-size: .82rem; }
.flow-sub { display: block; font-size: .74rem; color: var(--ink-faint); }

/* While playing, the animated stage replaces the static poster */
.process-fig.is-playing > img { display: none; }

.flow-controls {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .6rem;
  flex-wrap: wrap;
}
.flow-play {
  border: 1px solid var(--line-strong);
  background: var(--green-deep);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  padding: .32rem .85rem;
  border-radius: 999px;
  cursor: pointer;
}
.flow-play:hover { background: var(--green); }
.flow-play[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #1c2419; }
.flow-dots { display: flex; gap: .3rem; flex-wrap: wrap; }
.flow-dot {
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background .2s ease, transform .2s ease;
}
.flow-dot.is-on { background: var(--green-deep); transform: scale(1.35); }

/* ---------- Charts & inline SVG figures ---------- */
.chart-fig {
  margin: 1.4rem 0 .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 1rem 1.1rem .8rem;
  box-shadow: var(--shadow-sm);
}
.chart-fig svg, .chart-fig img { display: block; width: 100%; height: auto; }
.chart-fig .chart-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--green-deep);
  margin-bottom: .1rem;
}
.chart-fig figcaption {
  margin-top: .7rem;
  font-size: .85rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: .55rem;
}
.chart-fig figcaption strong { color: var(--green-deep); }
.chart-fig .src-note { font-size: .78rem; color: var(--ink-faint); }
html.dark-mode .chart-fig { background: #182218; border-color: #3d5038; }
html.dark-mode .chart-fig figcaption { color: #a7b89c; }
html.dark-mode .chart-fig .chart-title { color: #9ccc65; }

/* ---------- Embedded videos ---------- */
.video-fig {
  margin: 1.4rem 0 .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 1rem 1.1rem .8rem;
  box-shadow: var(--shadow-sm);
}
.video-fig .video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  overflow: hidden;
  background: #000;
}
.video-fig iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-fig figcaption { font-size: .85rem; color: var(--ink-faint); margin-top: .55rem; line-height: 1.45; }
html.dark-mode .video-fig { background: #182218; border-color: #3d5038; }
html.dark-mode .video-fig figcaption { color: #a7b89c; }

/* Inline SVGs drawn with currentColor / tokens pick these up automatically;
   fixed-fill charts use the .chart-fig dark surface above. */

/* Animated chart stage — mirrors the process-flow slideshow pattern */
.chart-fig.is-flowable .flow-stage { display: block; }
.chart-fig.is-playing > img { display: none; }
.chart-stage-holder svg [data-step] {
  opacity: .15;
  transform: translateY(5px);
  transition: opacity .45s ease, transform .45s ease;
}
.chart-stage-holder svg [data-step].is-shown {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .chart-stage-holder svg [data-step] { transition: none; }
}

/* ---------- Diagnostic decision trees (built by app.js) ---------- */
.diag-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem 1.3rem;
  margin: 1.4rem 0;
  box-shadow: var(--shadow-sm);
}
.diag-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  margin: 0 0 .3rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.diag-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
  margin: .2rem 0 .9rem;
}
.diag-chip {
  font-size: .74rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 999px;
  padding: .16rem .6rem;
}
.diag-arrow { color: var(--ink-faint); font-size: .8rem; }
.diag-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 .75rem;
  color: var(--ink);
}
.diag-options {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.diag-opt {
  text-align: left;
  font: inherit;
  font-size: .93rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .6rem .8rem;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.diag-opt:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.diag-opt:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.diag-result-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-deep);
  margin: 0 0 .35rem;
}
.diag-result ul { margin: .5rem 0 .7rem; }
.diag-result li { font-size: .93rem; }
.diag-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .2rem; }
.diag-links a { font-size: .88rem; font-weight: 600; }
.diag-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.diag-btn {
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .34rem .85rem;
  cursor: pointer;
}
.diag-btn:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.diag-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Theme toggle (header) ---------- */
.theme-toggle {
  margin-left: .45rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { background: var(--green-soft); border-color: var(--green); transform: rotate(15deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Flow dots as buttons ---------- */
.flow-dot {
  appearance: none;
  border: none;
  padding: 0;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.flow-dot:hover { background: var(--green); transform: scale(1.25); }
.flow-dot.is-on { background: var(--green-deep); transform: scale(1.35); }
.flow-dot:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Dark theme (token + component overrides) ---------- */
/* Two entry points share one set of values:
   1. html.dark-mode       — set before first paint by the inline <head> script,
                             which reads localStorage or the OS preference.
   2. prefers-color-scheme — the block at the end of this file, so the dark theme
                             still applies if JS never runs.
   An explicit light choice writes data-theme="light", opting out of (2). */
html.dark-mode {
  --bg:          #131b12;
  --bg-soft:     #1b261a;
  --bg-alt:      #22301f;
  --ink:         #e8f0e2;
  --ink-soft:    #c3d2ba;
  --ink-faint:   #a7b89c;
  --line:        #2a3a27;
  --line-strong: #3d5038;
  --green-deep:  #9ccc65;
  --green:       #a5d6a7;
  --green-soft:  #2a3a27;
  --amber-soft:  #332b14;
  --red-soft:    #3a2019;
  --blue-soft:   #1a2c38;
  color-scheme: dark;
}
html.dark-mode .hero { background: #10251a; }
html.dark-mode .site-header {
  background: rgba(27, 38, 26, .92);
  border-bottom-color: #2a3a27;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
html.dark-mode .main-nav a,
html.dark-mode .nav-top { color: #c3d2ba; }
html.dark-mode .brand { color: #e8f0e2; }
html.dark-mode .nav-drop a[aria-current="page"] { color: #9ccc65; }
html.dark-mode .process-fig { background: #182218; border-color: #3d5038; }
html.dark-mode .process-fig figcaption { color: #a7b89c; }
html.dark-mode .flow-node {
  background: #22301f;
  border-color: #3d5038;
  border-top-color: #9ccc65;
}
html.dark-mode .flow-node.is-active {
  border-color: #8bc34a;
  box-shadow: 0 0 0 3px rgba(139, 195, 74, .18);
}
html.dark-mode .flow-play { background: #2f7d32; border-color: #3d5038; }
html.dark-mode .flow-play[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #1c2419; }
html.dark-mode .nav-drop { background: #1b261a; border-color: #2a3a27; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
html.dark-mode .theme-toggle { background: #1b261a; color: #c3d2ba; }
html.dark-mode .theme-toggle:hover { background: #2a3a27; }
html.dark-mode thead th { background: #245a29; color: #e9f5df; }
html.dark-mode .step::before,
html.dark-mode .flow-num { color: #1c2419; }
html.dark-mode .note-warn .note-title { color: #f0c970; }
html.dark-mode .note-danger .note-title { color: #e0684a; }
html.dark-mode .note-info .note-title { color: #7fb8d8; }
html.dark-mode .chip-amber { color: #f0c970; border-color: #55461c; }
html.dark-mode .chip-red { color: #e8a18f; border-color: #5c2f24; }
html.dark-mode .chip-blue { color: #8ec4e4; border-color: #2c4a60; }
html.dark-mode .note-info { border-left-color: #4a90b8; }

html.dark-mode tbody tr:nth-child(even) { background: #1e2a1c; }
html.dark-mode .preset-btn:hover { background: #2a3a27; }
html.dark-mode .field input, html.dark-mode .field select { background: #1b261a; border-color: #3d5038; color: var(--ink); }


/* ---------- Dark theme: automatic (system preference) ---------- */
/* Generated copy of the block above with the class swapped for a system-preference
   guard, so the dark theme needs no JS at all. Keep the two in sync. */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg:          #131b12;
    --bg-soft:     #1b261a;
    --bg-alt:      #22301f;
    --ink:         #e8f0e2;
    --ink-soft:    #c3d2ba;
    --ink-faint:   #a7b89c;
    --line:        #2a3a27;
    --line-strong: #3d5038;
    --green-deep:  #9ccc65;
    --green:       #a5d6a7;
    --green-soft:  #2a3a27;
    --amber-soft:  #332b14;
    --red-soft:    #3a2019;
    --blue-soft:   #1a2c38;
    color-scheme: dark;
  }
  html:not([data-theme="light"]) .hero { background: #10251a; }
  html:not([data-theme="light"]) .site-header {
    background: rgba(27, 38, 26, .92);
    border-bottom-color: #2a3a27;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  }
  html:not([data-theme="light"]) .main-nav a,
  html:not([data-theme="light"]) .nav-top { color: #c3d2ba; }
  html:not([data-theme="light"]) .brand { color: #e8f0e2; }
  html:not([data-theme="light"]) .nav-drop a[aria-current="page"] { color: #9ccc65; }
  html:not([data-theme="light"]) .process-fig { background: #182218; border-color: #3d5038; }
  html:not([data-theme="light"]) .process-fig figcaption { color: #a7b89c; }
  html:not([data-theme="light"]) .flow-node {
    background: #22301f;
    border-color: #3d5038;
    border-top-color: #9ccc65;
  }
  html:not([data-theme="light"]) .flow-node.is-active {
    border-color: #8bc34a;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, .18);
  }
  html:not([data-theme="light"]) .flow-play { background: #2f7d32; border-color: #3d5038; }
  html:not([data-theme="light"]) .flow-play[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #1c2419; }
  html:not([data-theme="light"]) .nav-drop { background: #1b261a; border-color: #2a3a27; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
  html:not([data-theme="light"]) .theme-toggle { background: #1b261a; color: #c3d2ba; }
  html:not([data-theme="light"]) .theme-toggle:hover { background: #2a3a27; }
  html:not([data-theme="light"]) thead th { background: #245a29; color: #e9f5df; }
  html:not([data-theme="light"]) .step::before,
  html:not([data-theme="light"]) .flow-num { color: #1c2419; }
  html:not([data-theme="light"]) .note-warn .note-title { color: #f0c970; }
  html:not([data-theme="light"]) .note-danger .note-title { color: #e0684a; }
  html:not([data-theme="light"]) .note-info .note-title { color: #7fb8d8; }
  html:not([data-theme="light"]) .chip-amber { color: #f0c970; border-color: #55461c; }
  html:not([data-theme="light"]) .chip-red { color: #e8a18f; border-color: #5c2f24; }
  html:not([data-theme="light"]) .chip-blue { color: #8ec4e4; border-color: #2c4a60; }
  html:not([data-theme="light"]) .note-info { border-left-color: #4a90b8; }
  
  html:not([data-theme="light"]) tbody tr:nth-child(even) { background: #1e2a1c; }
  html:not([data-theme="light"]) .preset-btn:hover { background: #2a3a27; }
  html:not([data-theme="light"]) .field input, html:not([data-theme="light"]) .field select { background: #1b261a; border-color: #3d5038; color: var(--ink); }
  
}

/* A deliberate light choice must beat a dark OS preference. */
html[data-theme="light"] { color-scheme: light; }
/* ---------- Print ---------- */
@media print {
  .theme-toggle, .flow-stage, .flow-controls { display: none !important; }
  .process-fig > img, .chart-fig > img { display: block !important; visibility: visible !important; }
}

/* ---------- Badges / chips ---------- */
.chip {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  padding: .18rem .62rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid var(--line-strong);
  margin: 0 .25rem .35rem 0;
}
.chip-amber { background: var(--amber-soft); color: #8a5a10; border-color: #ecd9ad; }
.chip-red   { background: var(--red-soft);   color: var(--red);     border-color: #f0cbc0; }
.chip-blue  { background: var(--blue-soft);  color: var(--blue);    border-color: #c5dcea; }

/* ---------- TOC box ---------- */
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}
.toc .toc-title { font-family: var(--font-display); font-weight: 800; font-size: .88rem; text-transform: uppercase; letter-spacing: .09em; color: var(--green-deep); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.3rem; column-count: 2; column-gap: 2.2rem; }
.toc li { margin-bottom: .3rem; font-size: .93rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 620px) { .toc ol { column-count: 1; } }

/* ---------- Page nav (prev / next) ---------- */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.page-nav a {
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  max-width: 46%;
  transition: box-shadow .15s, transform .15s;
}
.page-nav a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.page-nav .dir { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.page-nav .title { font-family: var(--font-display); font-weight: 700; color: var(--green-deep); }
.page-nav .next { margin-left: auto; text-align: right; }

/* ---------- Home chapter cards ---------- */
.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.2rem; }
.chapter-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.chapter-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.chapter-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .1em;
  color: var(--green);
  display: block;
  margin-bottom: .5rem;
}
.chapter-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--ink); }
.chapter-card p { font-size: .93rem; margin-bottom: .8rem; }
.chapter-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #10251a;
  color: #a7c39b;
  padding: 2.6rem 1.4rem 2rem;
  margin-top: 3rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #e4f0d8; font-size: .95rem; margin-bottom: .7rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; font-size: .9rem; }
.footer-grid a { color: #a7c39b; text-decoration: none; }
.footer-grid a:hover { color: #d3eda9; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.3rem;
  font-size: .82rem;
  color: #7d9b70;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  justify-content: space-between;
}
.footer-bottom p { color: inherit; margin: 0; }

/* ---------- Search ---------- */
.search-box { position: relative; max-width: 520px; margin: 0 auto; }
.search-box input {
  width: 100%;
  padding: .8rem 1.1rem .8rem 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .98rem;
  background: var(--bg-soft);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.search-box input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.search-box .s-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
#search-results {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0; right: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 340px;
  overflow-y: auto;
  z-index: 90;
  display: none;
}
#search-results.open { display: block; }
#search-results a {
  display: block;
  padding: .6rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
#search-results a:last-child { border-bottom: none; }
#search-results a:hover { background: var(--green-soft); }
#search-results .r-title { font-weight: 700; font-size: .92rem; }
#search-results .r-snippet { font-size: .8rem; color: var(--ink-faint); }

/* ---------- Misc ---------- */
.ref-list { font-size: .88rem; color: var(--ink-faint); }
.ref-list li { margin-bottom: .55rem; }
.ref-list a { word-break: break-all; }

.tag-pill-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 70ch; }
.muted { color: var(--ink-faint); font-size: .9rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.small { font-size: .88rem; }

.price-up { color: var(--green-deep); font-weight: 700; }
.price-note { font-size: .82rem; color: var(--ink-faint); }

.formula {
  background: var(--bg-alt);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .9rem 1.2rem;
  margin: 1rem 0;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--ink);
  overflow-x: auto;
}

/* ---------- Calculator ---------- */
.calc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1.7rem;
  margin: 1.4rem 0 2rem;
}
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-faint); }
.field input, .field select {
  font: inherit;
  font-size: .95rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--green); border-color: var(--green); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.calc-presets { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1.2rem; }
.preset-btn {
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .38rem .85rem;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.preset-btn:hover { background: #d5e8cf; box-shadow: var(--shadow-sm); }

.calc-actions { display: flex; gap: .7rem; margin-top: 1.2rem; flex-wrap: wrap; }

.calc-results {
  background: linear-gradient(160deg, #14301c, #245a29);
  border-radius: var(--radius);
  color: #eaf5e4;
  padding: 1.5rem 1.6rem;
  margin-top: 1.4rem;
}
.calc-results h3 { color: #fff; margin-top: 0; }
.calc-results .grid { gap: .8rem; }
.kpi {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
}
.kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #d3eda9; line-height: 1.2; }
.kpi .l { font-size: .78rem; color: #b9d3ab; margin-top: .15rem; }
.kpi-wide { grid-column: 1 / -1; }
.kpi-wide .v { font-size: 1.7rem; }

.assumption-list { font-size: .85rem; color: var(--ink-faint); margin-top: 1rem; }
.assumption-list li { margin-bottom: .25rem; }

@media print {
  .site-header, .site-footer, .page-nav, .hero-sub::after { display: none; }
  body { font-size: 12px; }
  main { max-width: 100%; padding: 0; }
}

/* ---------- Cut calendar (calculator page, built by app.js) ---------- */
.cal-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .35rem;
  margin: 1rem 0 .6rem;
}
.cal-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .5rem .2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: .78rem;
  color: var(--ink-faint);
  text-align: center;
}
.cal-month.wet { background: var(--blue-soft); }
.cal-month.has-cut {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
}
/* A cut landing in the rainy window is the combination worth noticing, so it
   gets the warning palette rather than either marker's colour. */
.cal-month.has-cut.wet { border-color: var(--amber); background: var(--amber-soft); color: #8a4b00; }
.cal-name { font-size: .78rem; }
.cal-count { font-size: .72rem; font-weight: 800; }
.cal-summary { font-size: .92rem; color: var(--ink-soft); margin: .2rem 0 .7rem; }
.cal-legend { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; font-size: .78rem; color: var(--ink-faint); }
.cal-legend-item { display: inline-flex; align-items: center; gap: .35rem; }
.cal-key { display: inline-block; width: .85rem; height: .85rem; border-radius: 4px; border: 1px solid var(--line-strong); }
.cal-key.dry { background: var(--bg-alt); }
.cal-key.wet { background: var(--blue-soft); }
html.dark-mode .cal-month { background: #22301f; border-color: #2a3a27; color: #a7b89c; }
html.dark-mode .cal-month.wet { background: #1a2c38; }
html.dark-mode .cal-month.has-cut { background: #2a3a27; border-color: #9ccc65; color: #cfe6b8; }
html.dark-mode .cal-month.has-cut.wet { background: #332b14; border-color: #f0a12b; color: #f0c98a; }
html.dark-mode .cal-key.dry { background: #22301f; }
html.dark-mode .cal-key.wet { background: #1a2c38; }
@media (max-width: 720px) {
  .cal-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Mobile hamburger ---------- */
.menu-toggle {
  display: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink-soft);
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.menu-toggle:hover { background: var(--green-soft); border-color: var(--green); }
.menu-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Hamburger breakpoint: the 7-item primary nav needs ~600px on one line, so
   anything narrower than this would wrap the nav out of the sticky header.
   Keep in sync with MOBILE_BREAKPOINT in app.js. */
@media (max-width: 1000px) {
  .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; padding-top: .7rem; padding-bottom: .7rem; }
  .theme-toggle { margin-left: auto; }
  .menu-toggle { display: inline-flex; margin-left: .5rem; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: .6rem;
    padding-top: .4rem;
    border-top: 1px solid var(--line);
  }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav .nav-item { width: 100%; }
  .main-nav a, .main-nav .nav-top {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .55rem .6rem;
    font-size: .95rem;
  }
  .nav-drop a { padding-left: 1.4rem; }
}

/* ---------- Skip link (keyboard users) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  padding: .7rem 1.15rem;
  background: #1b5e20;
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; outline: 2px solid var(--lime); outline-offset: 3px; }
html.dark-mode .skip-link { background: var(--lime); color: #131b12; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .skip-link { background: var(--lime); color: #131b12; }
}
