/* ═══════════════════════════════════════════════════════════════════════════
   HereFishyFishy — stylesheet
   ───────────────────────────────────────────────────────────────────────────
   CASCADE LAYERS

   Layer order is declared once, below. LATER LAYERS WIN over earlier ones
   regardless of selector specificity. That means you never again need to
   out-specify an old rule (or reach for !important) to restyle something:
   just write the new rule in a later layer.

     app        every rule that existed before layers were introduced.
                Do not add to this. It is frozen history.
     overrides  new work goes here. A bare `.rrank-card { ... }` in this
                layer beats `#results .rrank-card { ... }` in `app`.

   ONE CAVEAT — !important inverts layer order. A declaration marked
   !important in `app` will still beat a normal declaration in `overrides`.
   There are 38 such declarations left in `app`. The known ones that bite:

     .species-btn-img      width/height !important   (the 44x28 thumb)
     .hero-photo           height !important         (the 160px photo hero)
     .bdet/.rra... group   font-size !important      (the 11px minimum)

   When an override mysteriously does nothing, grep app.css for
   `!important` on that property. Migrating those 38 into their own layer
   is the next planned pass.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Inter, self-hosted (one variable file, weights 100 to 900). The whole site uses Inter only (TJ, 2026-11-04). */
@font-face{font-family:Inter;src:url(/assets/fonts/inter-latin-wght.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

@layer tokens, app, patches, overrides;

/* ═══════════════════════════════════════════════════════════════════════════
   TOKENS — the design system. Every new rule should read from these; add a
   token here rather than writing a literal colour, size or font in a rule.

   Two surfaces share one palette:
     paper  the editorial page (landing, results chrome, river + guide pages)
     panel  the dark instrument panel that holds live readings on results
   Status colours exist in both an on-paper and an on-panel form, because the
   paper values are unreadable on the dark panel and vice versa.

   Breakpoints (custom properties can't be used in @media, so these are the
   agreed values to write by hand): 600px phone · 900px tablet · 1200px wide.
   ═══════════════════════════════════════════════════════════════════════════ */
@layer tokens {
:root {
  /* palette — warm river morning */
  --deep:    #0d1f2d;
  --moss:    #1a3a4a;
  --fern:    #1e7a6e;
  --sage:    #4a8c7a;
  --water:   #247a90;
  --mist:    #9ecfca;
  --foam:    #e0f4f0;
  --cream:   #faf8f4;
  --white:   #ffffff;
  --amber:   #e07b2a;
  --amber-l: #f0a058;
  --gold:    #e8b84a;
  --red:     #c0392b;
  --ink:     #1a2e3a;
  --border:  rgba(30,122,110,0.15);
  --text:    #2c3e50;

  /* editorial paper */
  --ed-ink:   #1a2e3a;
  --ed-text:  #31414c;
  --ed-muted: #6b7d86;
  --ed-rule:  #e2ded6;
  --ed-paper: #fbf9f5;

  /* surfaces */
  --surface-page:  var(--ed-paper);
  --surface-card:  var(--white);
  --surface-sunk:  #f3f0ea;
  --rule:          var(--ed-rule);
  --text-strong:   var(--ed-ink);
  --text-body:     var(--ed-text);
  --text-muted:    var(--ed-muted);
  --link:          var(--fern);

  /* instrument panel */
  --panel-bg:     var(--deep);
  --panel-raised: rgba(158,207,202,0.07);
  --panel-rule:   rgba(158,207,202,0.16);
  --panel-text:   var(--cream);
  --panel-muted:  #a9c9c5;

  /* status — on paper */
  --good:      #1e7a6e;
  --warn:      #e07b2a;
  --warn-d:    #a85518;
  --bad:       #c0392b;
  --good-tint: #e3efe9;
  --warn-tint: #f8ecdc;
  --bad-tint:  #f6e0dd;

  /* status — on panel */
  --good-on-panel: #7fcf9c;
  --warn-on-panel: #f0a058;
  --bad-on-panel:  #f08a80;

  /* type */
  --font-serif:   Inter,system-ui,-apple-system,sans-serif;
  --font-display: Inter,system-ui,-apple-system,sans-serif;
  --font-body:    Inter,system-ui,-apple-system,sans-serif;
  --font-mono:    Inter,system-ui,-apple-system,sans-serif;
  --ed-serif:     var(--font-serif);

  --fs-label: max(11px,0.688rem);
  --fs-sm:    0.8rem;
  --fs-base:  0.9rem;
  --fs-md:    1.05rem;
  --fs-lg:    1.3rem;
  --fs-xl:    1.75rem;
  --fs-num:   2.6rem;
  --tracking-label: 0.12em;

  /* shape + space */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --gutter: 2rem;
  --content-max: 1140px;
  /* side padding that centres a --content-max column inside a full-width band */
  --band-pad: max(var(--gutter), calc((100% - var(--content-max)) / 2));
}
@media (max-width:600px) { :root { --gutter: 1.1rem; } }
}

@layer app {

* { margin:0; padding:0; box-sizing:border-box; }
.ac-summary, .tg-header, .more-river-toggle, .regs-details-toggle, .regs-link, .dp-card, .forecast-btn, button { -webkit-tap-highlight-color: rgba(45,74,50,0.12); touch-action: manipulation; }
body { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:400; background:var(--cream); color:var(--ink); min-height:100vh; overflow-x:hidden; }

/* ========== LANDING ========== */
#landing { min-height:100vh; display:flex; flex-direction:column; background:var(--cream); }

/* HEADER */
.land-header {
  position:absolute; top:0; left:0; right:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding: max(1rem, env(safe-area-inset-top, 1rem)) 2rem 0.75rem;
  background:rgba(13,37,53,0.60);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(139,181,160,0.12);
}
.logo-wrap { display:flex; align-items:center; gap:0.65rem; }
.logo-wave {
  display:flex; flex-direction:column; gap:2px; opacity:0.9;
}
.logo-wave span {
  display:block; height:1.5px; background:var(--mist); border-radius:2px;
  transform-origin:left;
}
.logo-wave span:nth-child(1) { width:18px; }
.logo-wave span:nth-child(2) { width:14px; }
.logo-wave span:nth-child(3) { width:18px; }
.logo-name { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.2rem; font-weight:700; color:var(--cream); }
.logo-region { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.6rem; letter-spacing:0; text-transform:none; color:var(--mist); opacity:0.7; }
.land-date { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.65rem; letter-spacing:0.1em; color:var(--mist); opacity:0.7; }

/* HERO — river photo */
.hero-photo {
  position:relative;
  height:260px;
  overflow:hidden;
  flex-shrink:0;
}
.hero-photo-bg {
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(
      87deg,
      rgba(30,160,150,0) 0px, rgba(30,160,150,0.05) 2px, rgba(30,160,150,0) 4px
    ),
    repeating-linear-gradient(
      93deg,
      rgba(46,143,168,0) 0px, rgba(46,143,168,0.04) 3px, rgba(46,143,168,0) 6px
    ),
    radial-gradient(ellipse 120% 80% at 30% 60%, rgba(20,120,140,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(13,80,120,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(10,70,90,0.3) 0%, transparent 70%),
    linear-gradient(175deg, #0d3d4a 0%, #0a2d3d 25%, #0e3d48 50%, #082535 75%, #0d2f40 100%);
  animation: river-drift 12s ease-in-out infinite alternate;
}
@keyframes river-drift {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 40px 5px, -20px 8px, 0 0, 0 0, 0 0, 0 0; }
}
/* foam/ripple streaks */
.hero-photo-bg::before {
  content:'';
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(
      88deg,
      transparent 0%, transparent 18%,
      rgba(180,220,200,0.03) 18.5%, rgba(180,220,200,0.03) 19%,
      transparent 19.5%
    ),
    repeating-linear-gradient(
      92deg,
      transparent 0%, transparent 25%,
      rgba(150,200,180,0.025) 25.2%, rgba(150,200,180,0.025) 25.7%,
      transparent 26%
    );
  animation: foam-drift 8s linear infinite;
}
@keyframes foam-drift {
  from { transform:translateX(-30px) skewX(-1deg); }
  to   { transform:translateX(30px) skewX(1deg); }
}
/* dark overlay gradient */
.hero-photo-bg::after {
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(14,26,20,0.3) 0%, rgba(14,26,20,0.1) 40%, rgba(14,26,20,0.5) 100%);
}
.hero-copy {
  position:absolute;
  bottom: 2rem; left:2rem; right:2rem;
  z-index:2;
  /* Ensure copy doesn't extend above the nav bar */
  max-height:calc(100% - 4rem);
  overflow:hidden;
}
.hero-copy h1 {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: 22px;
  font-weight: 400;
  color:var(--cream);
  line-height:1.1;
  margin-bottom: 1.25rem;
  text-shadow:0 2px 20px rgba(0,0,0,0.4);
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-align: center;
  font-style:normal;
}
.hero-copy p {
  font-size:0.9rem;
  color:rgba(212,232,220,0.75);
  line-height:1.6;
  max-width:420px;
  font-weight:300;
}

/* FORM CARD */
.form-card {
  background:var(--white);
  border-radius:18px;
  box-shadow:0 6px 48px rgba(30,122,110,0.12), 0 2px 8px rgba(30,122,110,0.08);
  margin:0 2rem 3rem;
  padding:2rem 2rem 2rem;
  display:flex;
  flex-direction:column;
  gap:1.75rem;
  position:relative;
  top:-20px;
}

/* top row: date + location */
.form-top { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding-top:1.1rem; border-top:1px solid var(--border); margin-top:.25rem; }
.field-group { display:flex; flex-direction:column; gap:0.1rem; }
.field-lbl {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--sage);
}
.field-input {
  border:1.5px solid rgba(45,74,50,0.18);
  border-radius:6px;
  background:var(--white);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.95rem;
  font-weight:400;
  padding:0.7rem 0.9rem;
  height:48px;
  box-sizing:border-box;
  outline:none;
  transition:border-color 0.2s;
  color-scheme:light;
}
.field-input:focus { border-color:var(--sage); }
.field-input::placeholder { color:rgba(74,122,82,0.35); }

/* RIVER CHIPS */
.river-section { display:flex; flex-direction:column; gap:0.65rem; }
.river-lbl-row {
  display:flex; align-items:center; justify-content:space-between;
}
.river-sublbl {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.58rem;
  letter-spacing:0;
  text-transform:none;
  color:var(--sage);
  opacity:0.8;
}
.river-chips {
  display:flex;
  gap:0.6rem;
  overflow-x:auto;
  padding-bottom:0.25rem;
  scrollbar-width:none;
}
.river-chips::-webkit-scrollbar { display:none; }
.river-chip {
  flex-shrink:0;
  border:1.5px solid rgba(45,74,50,0.18);
  border-radius:8px;
  padding:0.7rem 1rem;
  cursor:pointer;
  transition:all 0.15s;
  background:var(--white);
  min-width:140px;
  position:relative;
  user-select:none;
}
.river-chip:hover { border-color:rgba(45,74,50,0.4); background:rgba(45,74,50,0.03); }
.river-chip.active { background:var(--moss); border-color:var(--moss); color:var(--cream); }
.river-chip.active .rc-time { color:var(--mist); }
.river-chip.active .rc-loc { color:rgba(139,181,160,0.7); }
.rc-time {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.58rem;
  letter-spacing:0.08em;
  color:var(--sage);
  margin-bottom:0.3rem;
}
.rc-name {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.88rem;
  font-weight:600;
  line-height:1.2;
  margin-bottom:0.15rem;
}
.rc-sub {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.56rem;
  letter-spacing:0.06em;
  opacity:0.7;
  line-height:1.3;
}
.river-chip.rc-auto .rc-name::before {
  content:'\2605\00a0';
  opacity:0.8;
}
.rc-loc {
  font-size:0.68rem;
  color:var(--sage);
  opacity:0.7;
}

/* TECHNIQUE CHIPS */
.tech-section { display:flex; flex-direction:column; gap:0.65rem; }
.tech-lbl-row {
  display:flex; align-items:center; justify-content:space-between;
}
.clear-all {
  font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:600;
  font-size:0.58rem;
  letter-spacing:0.08em;
  color:var(--sage);
  opacity:0.6;
  cursor:pointer;
  background:none;
  border:none;
  transition:opacity 0.15s;
}
.clear-all:hover { opacity:1; }
.tech-chips {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0.5rem;
}
.tech-chip {
  border:1.5px solid rgba(30,122,110,0.18);
  border-radius:12px;
  padding:0.85rem 0.5rem 0.65rem;
  cursor:pointer;
  transition:all 0.15s;
  background:var(--white);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.4rem;
  user-select:none;
}
.tech-chip:hover { border-color:rgba(45,74,50,0.4); }
.tech-chip.active { background:var(--moss); border-color:var(--moss); }
.tech-chip.active .tc-lbl { color:var(--cream); }
.tech-chip.active .tc-icon svg { stroke:var(--cream); }
.tc-icon { width:28px; height:28px; display:flex; align-items:center; justify-content:center; }
.tc-icon svg { width:24px; height:24px; stroke:var(--sage); fill:none; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; transition:stroke 0.15s; }
.tc-lbl {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.52rem;
  letter-spacing:0;
  text-transform:none;
  color:var(--sage);
  text-align:center;
  line-height:1.3;
  transition:color 0.15s;
}

/* BOTTOM ROW */
.form-bottom { display:flex; flex-direction:column; gap:1.25rem; }
.field-select {
  border:1.5px solid rgba(45,74,50,0.18);
  border-radius:6px;
  background:var(--white);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.9rem;
  font-weight:300;
  padding:0.7rem 0.9rem;
  outline:none;
  cursor:pointer;
  appearance:none;
  flex:1;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a7a52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 0.9rem center;
  padding-right:2.5rem;
  transition:border-color 0.2s;
}
.field-select:focus { border-color:var(--sage); }

.forecast-btn {
  background:var(--moss);
  color:var(--cream);
  border:none;
  border-radius:6px;
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:0.9rem;
  font-weight:500;
  padding:0.85rem 1.75rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.6rem;
  white-space:nowrap;
  transition:background 0.15s, transform 0.1s;
  width:100%;
}
.forecast-btn:hover { background:var(--fern); }
.forecast-btn:active { transform:scale(0.98); }
.forecast-btn svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; }

/* ========== RESULTS PAGE ========== */
#results {
  display:none;
  background:var(--cream);
  color:var(--ink);
}
#results.active {
  display:block;
}

/* results header */
.res-header {
  background:var(--deep);
  color:var(--cream);
  padding:0 2rem;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  position:sticky; top:0; z-index:100;
  border-bottom:2px solid var(--fern);
}
.res-logo-wrap { display:flex; align-items:center; gap:0.6rem; padding:0.8rem 0; }
.res-logo-wave { display:flex; flex-direction:column; gap:2px; }
.res-logo-wave span { display:block; height:1.5px; background:var(--mist); border-radius:2px; opacity:0.7; }
.res-logo-wave span:nth-child(1){width:16px;} .res-logo-wave span:nth-child(2){width:12px;} .res-logo-wave span:nth-child(3){width:16px;}
.res-logo-name { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.1rem; font-weight:700; font-style:normal; color:var(--cream); }
.res-center { text-align:center; padding:0.8rem 2rem; border-left:1px solid rgba(139,181,160,0.15); border-right:1px solid rgba(139,181,160,0.15); }
.res-center-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.52rem; letter-spacing:0; text-transform:none; color:var(--mist); opacity:0.5; }
.res-center-val { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.8rem; font-weight:500; color:var(--cream); margin-top:0.1rem; }
.res-center-date { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.52rem; letter-spacing:0; text-transform:none; color:var(--gold-light); opacity:0.75; margin-top:0.2rem; }
.res-right { text-align:right; }
.back-btn { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.75rem;font-weight:600; letter-spacing:.01em; text-transform:none; color:var(--mist); background:transparent; border:1px solid rgba(139,181,160,0.2); padding:0.4rem 0.85rem; border-radius:4px; cursor:pointer; transition:all 0.15s; }
.back-btn:hover { border-color:var(--mist); color:var(--cream); }

/* summary strip */
.summary-strip { background:var(--moss); color:var(--cream); padding:1.25rem 2rem; display:grid; grid-template-columns:repeat(4,1fr); border-bottom:2px solid var(--fern); }
.sum-item { padding:0 1.5rem; border-right:1px solid rgba(139,181,160,0.12); }
.sum-item:first-child { padding-left:0; }
.sum-item:last-child { border-right:none; }
.sum-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.52rem; letter-spacing:0; text-transform:none; color:var(--mist); opacity:0.5; margin-bottom:0.3rem; }
.sum-val { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; font-style:normal; line-height:1.2; }
.sum-val.good { color:#6dbf8a; } .sum-val.warn { color:var(--amber-l); } .sum-val.bad { color:#e07070; }
.sum-note { font-size:0.68rem; color:var(--mist); opacity:0.5; margin-top:0.2rem; }

/* section label */
.sec-label { background:var(--cream); border-bottom:1px solid var(--border); padding:1.2rem 2rem; display:flex; align-items:center; gap:1rem; border-top:2px solid var(--fern); margin-top:1px; }
.sec-num { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.5rem; font-weight:700; font-style:normal; color:var(--amber); line-height:1; flex-shrink:0; }
.sec-label h3 { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; color:var(--moss); }
.sec-label p { font-size:0.75rem; color:var(--sage); margin-top:0.1rem; }

/* conditions grid */
.cgrid { display:grid; grid-template-columns:1fr 1fr 1fr; border-bottom:2px solid var(--border); background:var(--white); }
.col { padding:1.75rem 2rem; border-right:1px solid var(--border); }
.col:last-child { border-right:none; }
.col-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.65rem; font-weight:700; letter-spacing:0; text-transform:none; color:var(--ink); margin-bottom:1rem; padding-bottom:0.5rem; border-bottom:1px solid var(--border); }
.bnum-wrap { display:flex; align-items:baseline; gap:0.3rem; margin-bottom:0.2rem; }
.bnum { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:3rem; font-weight:700; line-height:1; color:var(--moss); }
.bnum-u { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.8rem; color:var(--sage); }
.bnum-l { font-size:0.72rem; color:var(--sage); line-height:1.4; margin-bottom:0.75rem; }
.trd { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.7rem; margin-left:0.3rem; }
.trd.up{color:var(--good);} .trd.down{color:var(--bad);} .trd.stable{color:var(--warn-d);}
.gw { margin-bottom:1.1rem; }
.gh { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:0.4rem; }
.gn { font-size:0.77rem; font-weight:700; color:var(--ink); }
.gv { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.88rem; color:var(--moss); }
.gt { height:5px; background:rgba(45,74,50,0.1); border-radius:10px; overflow:hidden; margin-bottom:0.25rem; }
.gf { height:100%; border-radius:10px; transition:width 0.8s cubic-bezier(0.4,0,0.2,1); }
.gf.good{background:var(--good);} .gf.warn{background:var(--warn);} .gf.bad{background:var(--bad);}
.gr { display:flex; justify-content:space-between; font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.54rem; color:var(--sage); opacity:0.6; }
.gs { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; letter-spacing:0; text-transform:none; margin-top:0.2rem; font-weight:500; }
/* Sky period timeline strip */
.sps { display:flex; border-radius:10px; overflow:hidden; border:1px solid rgba(45,74,50,0.12); }
.spc { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; padding:9px 4px 7px; }
.spc:not(:last-child) { border-right:1px solid rgba(45,74,50,0.1); }
.spc-icon { line-height:1; }
.spc-time { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.5rem; letter-spacing:0; text-transform:none; font-weight:600; }
.spc-label { font-size:0.48rem; opacity:0.85; }
.spc-good  { background:rgba(30,122,110,0.13); }
.spc-good  .spc-time,.spc-good  .spc-label { color:#1e7a6e; }
.spc-warn  { background:rgba(30,122,110,0.07); }
.spc-warn  .spc-time,.spc-warn  .spc-label { color:#2d7a6e; }
.spc-bad   { background:rgba(232,168,90,0.13); }
.spc-bad   .spc-time,.spc-bad   .spc-label { color:#9a6a00; }
.gs.good{color:var(--good);} .gs.warn{color:var(--warn-d);} .gs.bad{color:var(--bad);}
.cl { list-style:none; display:flex; flex-direction:column; gap:0.55rem; }
.cl li { display:flex; align-items:flex-start; gap:0.55rem; font-size:0.77rem; line-height:1.45; color:var(--moss); }
.ci { font-size:0.7rem; margin-top:0.1rem; flex-shrink:0; width:14px; }
.ci.good{color:var(--good);} .ci.warn{color:var(--warn-d);} .ci.bad{color:var(--bad);}
.divr { border:none; border-top:1px solid var(--border); margin:1rem 0; }
.routine { display:flex; flex-direction:column; gap:0.85rem; }
.rs { display:grid; grid-template-columns:22px 1fr; gap:0.6rem; align-items:start; }
.rn { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.2rem; font-weight:700; color:var(--amber); line-height:1; font-style:normal; }
.rt { font-size:0.77rem; font-weight:500; margin-bottom:0.15rem; color:var(--moss); }
.rd { font-size:0.7rem; color:var(--sage); line-height:1.45; }

/* methods */
.mgrid { display:grid; grid-template-columns:repeat(3,1fr); background:var(--white); border-bottom:2px solid var(--border); }
.mc { padding:1.5rem 2rem; border-right:1px solid var(--border); }
.mc:last-child { border-right:none; }
.mpr { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.56rem; letter-spacing:0; text-transform:none; margin-bottom:0.5rem; }
.mpr.p1{color:var(--good);} .mpr.p2{color:var(--warn-d);} .mpr.p3{color:var(--sage);}
.mn { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.15rem; font-weight:600; margin-bottom:0.4rem; color:var(--moss); }
.md { font-size:0.76rem; color:var(--sage); line-height:1.55; margin-bottom:0.75rem; }
.mcond { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; color:var(--sage); opacity:0.75; line-height:1.5; }
.mcond span { display:block; padding:0.15rem 0; border-top:1px solid var(--border); }
.rnote { display:inline-block; margin-top:0.6rem; font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.54rem; color:var(--warn-d); border:1px solid rgba(184,115,51,0.35); padding:0.15rem 0.4rem; border-radius:4px; }

/* baits */
.bsec { border-bottom:2px solid var(--border); padding:1.75rem 2rem; background:var(--cream); }
.btabs { display:flex; border:1.5px solid var(--border); width:fit-content; margin-bottom:1.25rem; border-radius:6px; overflow:hidden; }
.btab { font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:600; font-size:0.6rem; letter-spacing:0.08em; text-transform:uppercase; padding:0.4rem 1rem; cursor:pointer; border-right:1px solid var(--border); transition:background 0.15s,color 0.15s; background:transparent; border-top:none; border-bottom:none; border-left:none; color:var(--sage); }
.btab:last-child { border-right:none; }
.btab.active { background:var(--moss); color:var(--cream); }
.btab:hover:not(.active) { background:rgba(45,74,50,0.06); }
.bgrid { display:grid; grid-template-columns:repeat(3,1fr); border:1.5px solid var(--border); border-radius:12px; overflow:hidden; }
.bi { padding:1rem 1.25rem; background:var(--white); border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.brank { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.5rem; font-weight:700; color:rgba(45,74,50,0.08); float:right; line-height:1; margin-left:0.5rem; font-style:normal; }
.bname { font-size:0.84rem; font-weight:500; margin-bottom:0.2rem; color:var(--moss); }
.bdet { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; color:var(--sage); line-height:1.5; }
.bcond { font-size:0.7rem; color:var(--sage); margin-top:0.35rem; font-style:normal; line-height:1.4; opacity:0.8; }
.bpanel{display:none;} .bpanel.active{display:block;}

/* access */
.asec { border-bottom:2px solid var(--border); padding:1.75rem 2rem; background:var(--cream); }
.agrid { display:grid; grid-template-columns:1fr 380px; gap:0; background:var(--border); border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
.agrid-cards { display:flex; flex-direction:column; overflow-y:auto; max-height:600px; }
.agrid-map { position:sticky; top:0; height:600px; background:var(--deep); overflow:hidden; }
.agrid-map iframe { width:100%; height:100%; border:none; }
.map-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.75rem; color:var(--mist); opacity:.5; }
.map-pin-list { padding:1rem; display:flex; flex-direction:column; gap:.5rem; }
.map-pin { display:flex; align-items:center; gap:.6rem; font-size:.72rem; color:var(--cream); cursor:pointer; padding:.4rem .6rem; border-radius:4px; transition:background .15s; }
.map-pin:hover { background:rgba(255,255,255,.08); }
.map-pin-dot { width:10px; height:10px; border-radius:50%; background:var(--amber); flex-shrink:0; }
.map-pin-dot.low { background:#6dbf8a; }
.map-pin-dot.med { background:var(--amber-l); }
.map-pin-dot.high { background:#e07070; }
@media(max-width:900px){ .agrid { grid-template-columns:1fr; } .agrid-map { display:none; } }
.ac { padding:1.25rem 1.5rem; background:var(--white); }
.act { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:0.4rem; }
.aname { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; line-height:1.2; color:var(--moss); }
.acrowd { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.52rem; letter-spacing:0; text-transform:none; padding:0.15rem 0.45rem; border:1px solid currentColor; border-radius:4px; white-space:nowrap; flex-shrink:0; margin-left:0.5rem; }
.acrowd.low{color:var(--good);} .acrowd.med{color:var(--warn-d);} .acrowd.high{color:var(--bad);}
.aloc { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; color:var(--sage); margin-bottom:0.55rem; opacity:0.7; }
.adesc { font-size:0.76rem; color:var(--sage); line-height:1.55; margin-bottom:0.6rem; }
.atags { display:flex; flex-wrap:wrap; gap:0.3rem; margin-bottom:0.5rem; }
.atag { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.52rem; letter-spacing:0; text-transform:none; padding:0.15rem 0.4rem; background:rgba(45,74,50,0.07); color:var(--sage); border-radius:4px; }
.abest { font-size:0.7rem; color:var(--sage); font-style:normal; line-height:1.4; margin-bottom:0.5rem; opacity:0.75; }
.afnote { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; padding:0.25rem 0.5rem; border-left:2px solid var(--sage); color:var(--water); line-height:1.4; }

/* dam */
.dam { background:var(--moss); color:var(--cream); padding:1.5rem 2rem; display:grid; grid-template-columns:auto 1fr; gap:1.5rem; align-items:start; border-bottom:2px solid rgba(255,255,255,0.06); }
.dam-icon { width:46px; height:46px; border:1px solid rgba(139,181,160,0.2); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.dlbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.56rem; letter-spacing:0; text-transform:none; color:var(--gold); opacity:0.8; margin-bottom:0.4rem; }
.dam h3 { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; margin-bottom:0.35rem; }
.dam p { font-size:0.76rem; opacity:0.55; line-height:1.6; max-width:600px; }
.dlinks { display:flex; gap:1rem; margin-top:0.75rem; flex-wrap:wrap; }
.dl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.6rem; color:var(--gold); text-decoration:none; border-bottom:1px solid rgba(212,169,74,0.35); padding-bottom:0.1rem; transition:opacity 0.2s; }
.dl:hover { opacity:0.7; }

/* species */
.ssec { padding:1.5rem 2rem; border-bottom:2px solid var(--border); background:var(--cream); }
.sshdr { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:1rem; }
.sshdr h3 { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; color:var(--moss); }
.sshdr span { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; color:var(--sage); opacity:0.6; letter-spacing:0; text-transform:none; }
.srail { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
.sc { padding:0.85rem 1rem; background:var(--white); cursor:pointer; transition:background 0.15s; border-right:1px solid var(--border); }
.sc:last-child{border-right:none;} .sc:hover{background:rgba(45,74,50,0.04);} .sc.active{background:var(--moss);color:var(--cream);}
.stag { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.5rem; letter-spacing:0; text-transform:none; opacity:0.4; margin-bottom:0.3rem; }
.sname { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.88rem; font-weight:600; font-style:normal; line-height:1.2; }
.slat { font-size:0.58rem; opacity:0.4; margin-top:0.15rem; }
.sst { margin-top:0.5rem; font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.54rem; font-weight:500; letter-spacing:0; text-transform:none; }
.sst.on{color:var(--good);} .sc.active .sst.on{color:var(--foam);} .sst.soon{color:var(--warn);} .sst.wip{color:#999;}

/* footer */
.res-footer { padding:1.25rem 2rem; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border); background:var(--cream); }
.res-footer p { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.58rem; color:var(--sage); opacity:0.5; letter-spacing:0.05em; }
.res-flogo { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.9rem; font-weight:700; font-style:normal; color:var(--sage); opacity:0.3; }

.err { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.62rem; color:var(--warn-d); }
.fi { opacity:0; transform:translateY(8px); animation:fu 0.45s ease forwards; }
@keyframes fu { to { opacity:1; transform:translateY(0); } }
.fi:nth-child(1){animation-delay:.04s} .fi:nth-child(2){animation-delay:.1s} .fi:nth-child(3){animation-delay:.16s}
.fi:nth-child(4){animation-delay:.22s} .fi:nth-child(5){animation-delay:.28s} .fi:nth-child(6){animation-delay:.34s}
.fi:nth-child(7){animation-delay:.4s} .fi:nth-child(8){animation-delay:.46s} .fi:nth-child(9){animation-delay:.52s}
.fi:nth-child(10){animation-delay:.58s} .fi:nth-child(11){animation-delay:.64s}

@media(max-width:900px){
  .form-top{grid-template-columns:1fr 1fr;}
  .tech-chips{grid-template-columns:repeat(3,1fr);}
  .cgrid,.mgrid{grid-template-columns:1fr;}
  .col,.mc{border-right:none;border-bottom:1px solid var(--border);}
  .summary-strip{grid-template-columns:1fr 1fr;}
  .res-header{grid-template-columns:1fr auto;} .res-center{display:none;}
  .form-card{margin:0 1rem 2rem;} .land-header,.hero-copy{padding-left:1.25rem;padding-right:1.25rem;}
}

.regs-panel{margin-top:.85rem;border:1px solid rgba(45,74,50,.15);border-radius:6px;overflow:hidden;font-size:.72rem;}
.regs-header{display:flex;align-items:center;gap:.6rem;background:var(--fern);color:var(--cream);padding:.45rem .75rem;}
.regs-zone{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.55rem;letter-spacing:0;text-transform:none;background:rgba(255,255,255,.15);padding:.1rem .4rem;border-radius:3px;flex-shrink:0;}
.regs-title{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.58rem;letter-spacing:0;text-transform:none;flex:1;opacity:.85;}
.regs-link{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.6rem;color:var(--gold-light);text-decoration:none;opacity:.8;flex-shrink:0;padding:.4rem .3rem;margin:-.4rem -.3rem;min-height:32px;display:inline-flex;align-items:center;}
.regs-link:hover{opacity:1;}
.regs-plain{font-size:0.82rem;line-height:1.55;color:var(--ink);margin:0;padding:0.65rem 0.75rem 0.5rem;}
.regs-details-toggle{background:none;border:none;color:var(--fern);font-size:0.82rem;font-family:Inter,system-ui,-apple-system,sans-serif;letter-spacing:0;cursor:pointer;padding:0.5rem 0.75rem 0.6rem;margin:0;text-decoration:underline;text-underline-offset:2px;display:block;min-height:36px;width:100%;text-align:left;}
.regs-details-toggle:hover{color:var(--moss);}
.regs-species-list{background:var(--white);border-bottom:1px solid rgba(45,74,50,.1);}
.reg-row{padding:.45rem .75rem;border-bottom:1px solid rgba(45,74,50,.07);display:grid;grid-template-columns:120px 1fr 90px;gap:.4rem;align-items:start;}
.reg-row:last-child{border-bottom:none;}
.reg-species{font-weight:500;color:var(--moss);font-size:.72rem;}
.reg-season{color:var(--sage);font-size:.68rem;line-height:1.4;}
.reg-limit{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.62rem;color:var(--fern);font-weight:500;text-align:right;}
.reg-note{grid-column:1/-1;font-size:.65rem;color:var(--sage);font-style:normal;line-height:1.4;margin-top:.15rem;opacity:.85;}
.regs-specials{background:rgba(45,74,50,.04);padding:.5rem .75rem;display:flex;flex-direction:column;gap:.3rem;}
.reg-special{font-size:.65rem;color:var(--moss);line-height:1.4;padding:.2rem 0;border-bottom:1px solid rgba(45,74,50,.07);}
.reg-special:last-child{border-bottom:none;}
.map-legend-lbl{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.52rem;letter-spacing:0;text-transform:none;color:var(--mist);opacity:.5;margin-bottom:.4rem;padding:0 .6rem;}

.species-btn-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;}
.species-btn{display:flex;flex-direction:column;align-items:center;gap:.3rem;background:rgba(255,255,255,0.04);border:1.5px solid rgba(139,181,160,0.2);border-radius:8px;padding:.5rem .2rem;cursor:pointer;transition:all .15s;color:var(--mist);}
.species-btn:hover{border-color:rgba(139,181,160,0.5);background:rgba(255,255,255,0.07);color:var(--cream);}
.species-btn.active{border-color:var(--amber);background:rgba(200,131,58,0.14);color:var(--cream);}
.species-btn-icon{width:44px;height:24px;display:flex;align-items:center;justify-content:center;}
.species-btn-icon svg{width:40px;height:22px;}
.species-btn.active .species-btn-icon svg{stroke:var(--amber-l);}
.species-btn-img{width:44px;height:26px;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.species-btn-img svg{width:48px;height:30px;}
.species-btn-name{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.6rem;font-weight:700;letter-spacing:.01em;text-transform:none;text-align:center;line-height:1.3;}
.bi-img-wrap{width:100%;height:140px;overflow:hidden;border-radius:4px;margin-bottom:.55rem;background:rgba(45,74,50,0.06);display:flex;align-items:center;justify-content:center;}
.bi-img-wrap img{width:100%;height:100%;object-fit:cover;}
.bi-img-ph{display:flex;flex-direction:column;align-items:center;opacity:.3;}
.bi-img-ph svg{width:28px;height:16px;color:var(--sage);}
@media(max-width:700px){.species-btn-grid{grid-template-columns:repeat(4,1fr);}}
.sc-absent { opacity: 0.38; filter: grayscale(0.6); }

/* SPECIES RAIL - SEASONAL */
.srail { display:grid; grid-template-columns:repeat(5,1fr); border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
.sc-species { padding:1rem; background:var(--white); border-right:1px solid var(--border); transition:background .15s; display:flex; flex-direction:column; gap:.3rem; }
.sc-species:last-child { border-right:none; }
.sc-species.active { background:var(--moss); color:var(--cream); }
.sc-absent { opacity:.32; filter:grayscale(.5); }
.sc-note { font-size:.65rem; color:var(--sage); line-height:1.4; margin-top:.2rem; font-style:normal; }
.sc-species.active .sc-note { color:var(--mist); opacity:.75; }
/* Season bar */
.season-bar { display:flex; gap:1px; margin-top:.5rem; height:6px; border-radius:3px; overflow:hidden; }
.seg { flex:1; border-radius:0; }
.seg-peak   { background:var(--good); }
.seg-good   { background:#7db87d; }
.seg-slow   { background:rgba(45,74,50,.2); }
.seg-absent { background:rgba(45,74,50,.08); }
.seg-now    { outline:2px solid var(--amber); outline-offset:-1px; z-index:1; }
.sc-species.active .seg-slow   { background:rgba(255,255,255,.15); }
.sc-species.active .seg-absent { background:rgba(255,255,255,.08); }
.season-bar-labels { display:flex; justify-content:space-between; margin-top:.25rem; }
.season-bar-labels span { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.48rem; color:var(--sage); opacity:.6; }
.sc-species.active .season-bar-labels span { color:var(--mist); opacity:.5; }
@media(max-width:900px){ .srail { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .srail { grid-template-columns:1fr 1fr; } }

/* MODE TOGGLE */
.mode-toggle{display:flex;gap:0;background:rgba(45,74,50,.08);border-radius:8px;padding:3px;margin-bottom:1.25rem;}
.mode-btn{flex:1;padding:.6rem .75rem;border:none;border-radius:8px;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:15px;font-weight:600;letter-spacing:.01em;text-transform:none;cursor:pointer;background:none;color:var(--sage);transition:all .18s;}
.mode-btn.active{background:var(--white);color:var(--moss);box-shadow:0 1px 4px rgba(0,0,0,.10);}

/* BEGINNER MODE — hide river picker */
.form-card.mode-beginner #river-section,
.form-card.mode-beginner #river-placeholder{}
.form-card.mode-beginner .expert-only{}
.form-card.mode-expert   .beginner-only{}

/* TOP PICK BAND */
.tpband{background:var(--moss);color:var(--cream);padding:1.5rem 2rem;border-bottom:1px solid rgba(139,181,160,.12);}
.tpband-inner{max-width:1100px;margin:0 auto;}
.tp-eyebrow{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.55rem;letter-spacing:0;text-transform:none;opacity:.55;margin-bottom:.5rem;}
.tp-headline{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:1.45rem;font-weight:700;line-height:1.25;margin-bottom:.6rem;}
.tp-headline em{font-style:normal;color:var(--gold-light);}
.tp-why{font-size:.85rem;font-weight:300;line-height:1.6;opacity:.88;max-width:680px;margin-bottom:1rem;}
.tp-chips{display:flex;flex-wrap:wrap;gap:.5rem;}
/* Conditions tile grid (hero) */
/* Staging strength bar — hero, staging mode only */
.tp-strength { margin:.85rem 0 .2rem; }
.tp-str-top { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:.4rem; }
.tp-str-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.58rem; letter-spacing:0;
  text-transform:none; color:var(--mist); opacity:.8; }
.tp-str-val { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:700; font-size:1.02rem; color:var(--gold); white-space:nowrap; }
.tp-str-bar { height:6px; border-radius:3px; background:rgba(224,244,240,.13); overflow:hidden; }
.tp-str-bar i { display:block; height:100%; border-radius:3px;
  background:linear-gradient(90deg,var(--amber),var(--gold)); transition:width .35s ease; }
.tp-str-scale { display:flex; justify-content:space-between; margin-top:.3rem;
  font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem; letter-spacing:.1em; color:var(--mist); opacity:.5; }
@media(prefers-reduced-motion:reduce){ .tp-str-bar i { transition:none; } }
.tp-staging-note { margin:.7rem 0 .1rem; font-size:.86rem; line-height:1.55;
  color:var(--foam); opacity:.8; max-width:92ch; }
.tp-tiles { display:flex; gap:6px; margin:.5rem 0 .25rem; }
.tp-tile { flex:1; min-width:0; border-radius:10px; overflow:hidden; background:rgba(255,255,255,0.04); border:1px solid rgba(158,207,202,0.12); }
.tp-tile-bar { height:4px; background:var(--mist); opacity:.5; }
.tp-tile.good   .tp-tile-bar { background:#6dbf8a; opacity:1; }
.tp-tile.ok     .tp-tile-bar { background:#e8a85a; opacity:1; }
.tp-tile.poor   .tp-tile-bar { background:#e07070; opacity:1; }
.tp-tile.na     .tp-tile-bar { background:var(--mist); opacity:.45; }
.tp-tile-body { padding:9px 8px; }
.tp-tile-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.58rem; font-weight:700; letter-spacing:0; color:var(--mist); opacity:.85; text-transform:none; margin-bottom:4px; }
.tp-tile-val { font-size:1.05rem; font-weight:700; color:#fff; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tp-tile-val.sm { font-size:.92rem; }
.tp-tile.na .tp-tile-val { color:var(--mist); }
.tp-tile-meaning { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem; margin-top:3px; text-transform:none; }
.tp-tile.good .tp-tile-meaning { color:#6dbf8a; }
.tp-tile.ok   .tp-tile-meaning { color:#e8a85a; }
.tp-tile.poor .tp-tile-meaning { color:#e07070; }
.tp-tile.na   .tp-tile-meaning { color:var(--mist); opacity:.8; }
.tp-chip{display:inline-flex;align-items:center;gap:.35rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:.28rem .7rem;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.6rem;letter-spacing:.05em;}
.tp-chip.warn{background:rgba(232,168,90,.15);border-color:rgba(232,168,90,.3);color:var(--amber-l);}
.tp-chip.good{background:rgba(109,191,138,.12);border-color:rgba(109,191,138,.25);color:#7dcf96;}
.tp-chip.bad{background:rgba(224,112,112,.12);border-color:rgba(224,112,112,.25);color:#e09090;}

/* RIVER RANKER (beginner mode results) */

.rrank-inner{max-width:1100px;margin:0 auto;}
.rrank-lbl{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.55rem;letter-spacing:0;text-transform:none;color:var(--sage);margin-bottom:.9rem;}
.rrank-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;}
.rrank-card{background:var(--white);border:1.5px solid var(--border);border-radius:8px;padding:.85rem 1rem;cursor:pointer;transition:border-color .15s,box-shadow .15s;}
.rrank-card:hover{border-color:var(--fern);box-shadow:0 2px 8px rgba(45,74,50,.1);}
.rrank-card.rr-top{border-color:var(--fern);box-shadow:0 2px 10px rgba(45,74,50,.12);}
.rrank-num{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.52rem;letter-spacing:.1em;color:var(--sage);opacity:.55;margin-bottom:.2rem;}
.rrank-name{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.95rem;font-weight:600;color:var(--moss);margin-bottom:.15rem;}
.rrank-drive{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.58rem;color:var(--sage);margin-bottom:.5rem;}
.rrank-verdict{font-size:.72rem;color:var(--text);line-height:1.4;}
.rrank-badge{display:inline-block;margin-top:.4rem;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.52rem;padding:.15rem .45rem;border-radius:10px;letter-spacing:.05em;}
.rrank-badge.good{background:rgba(109,191,138,.15);color:#3a8a50;}
.rrank-badge.warn{background:rgba(232,168,90,.15);color:#a07020;}
.rrank-badge.bad{background:rgba(224,112,112,.12);color:#a04040;}

.acard-recommended{box-shadow:0 2px 12px rgba(45,74,50,.15);}
.acard-rec-badge{display:inline-block;background:var(--fern);color:var(--cream);font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.52rem;letter-spacing:0;text-transform:none;padding:.18rem .5rem;border-radius:10px;margin-bottom:.5rem;}
.tech-family-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:.25rem;}
.tech-family-btn{border:1.5px solid var(--border);border-radius:10px;padding:.6rem .4rem;background:var(--white);cursor:pointer;text-align:center;transition:all .15s;font-size:.88rem;font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:600;color:var(--moss);}
.tech-family-btn.active{border-color:var(--fern);background:rgba(45,74,50,.08);}
.travel-row{padding:.75rem 0 .25rem;}

/* GEAR SETUP CARD */
.gear-card { background:var(--white); border:1.5px solid var(--border); border-radius:10px; padding:1.25rem 1.5rem; margin:0 2rem 1.5rem; }
.gear-header { display:flex; gap:.85rem; align-items:center; margin-bottom:1rem; }
.gear-icon { font-size:1.4rem; line-height:1; }
.gear-eyebrow { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.52rem; letter-spacing:0; text-transform:none; color:var(--sage); opacity:.7; margin-bottom:.2rem; }
.gear-title { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1rem; font-weight:600; color:var(--moss); }
.gear-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:.75rem; }
.gear-item { background:var(--off); border-radius:8px; padding:.7rem .85rem; }
.gear-item-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem; letter-spacing:0; text-transform:none; color:var(--sage); opacity:.65; margin-bottom:.25rem; }
.gear-item-val { font-size:.82rem; color:var(--text); font-weight:500; line-height:1.4; }
.gear-item-note { font-size:.68rem; color:var(--sage); margin-top:.2rem; font-style:normal; }

/* TECHNIQUE & GEAR ACCORDION */
/* ── TECHNIQUE · GEAR · BAIT (three pillars) ────────────────────────────────
   The old single bordered container made everything read as equally important.
   Each pillar now stands alone, with technique carrying the most visual weight
   because it's the judgement that makes the other two make sense. */
.closed-notice { background:rgba(192,57,43,.06); border:1px solid rgba(192,57,43,.28);
  border-radius:8px; padding:.9rem 1rem; margin:1rem 2rem 0; }
.closed-notice .cn-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.56rem; letter-spacing:0;
  text-transform:none; color:var(--red); margin-bottom:.5rem; }
.closed-notice ul { margin:0 0 .5rem 1.1rem; }
.closed-notice li { font-size:.86rem; line-height:1.55; color:var(--text); margin-bottom:.25rem; }
.closed-notice .cn-foot { font-size:.74rem; color:var(--text); opacity:.7; line-height:1.5; }
@media(max-width:620px){ .closed-notice { margin:1rem 1.1rem 0; } }
.tgsec { margin:0 2rem 1.5rem; background:none; border:0; }
.pillar { margin-bottom:1.15rem; }
.pillar:last-child { margin-bottom:0; }
.p-head { display:flex; align-items:center; gap:.5rem; margin-bottom:.55rem; }
.p-step { width:19px; height:19px; border-radius:50%; background:var(--fern); color:#fff; flex:none;
  font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.58rem; display:flex; align-items:center; justify-content:center; }
.p-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.57rem; letter-spacing:0;
  text-transform:none; color:var(--sage); }
.p-card { background:var(--white); border:1px solid var(--border); border-radius:8px; padding:.95rem 1rem; }
.p-tech { background:var(--moss); border:0; color:var(--foam); }
.p-tech h4 { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:700; font-size:1.2rem; line-height:1.25;
  color:var(--white); margin-bottom:.35rem; }
.p-tech p { font-size:.87rem; line-height:1.55; opacity:.9; }
.p-tmeta { display:flex; flex-wrap:wrap; gap:.32rem; margin-top:.75rem; }
.p-tmeta span.chip-cr { background:rgba(224,123,42,.22); border-color:rgba(240,160,88,.55);
  color:#f7d3ae; }
.p-tmeta span.chip-closed { background:rgba(192,57,43,.28); border-color:rgba(224,110,95,.6);
  color:#ffd7d0; font-weight:600; }
.p-tmeta span { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.53rem; letter-spacing:0;
  text-transform:none; background:rgba(255,255,255,.07); border:1px solid rgba(158,207,202,.18);
  border-radius:3px; padding:.22rem .48rem; color:var(--foam); }
/* gear */
.p-gearname { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:700; font-size:1.02rem; color:var(--ink);
  margin-bottom:.6rem; padding-bottom:.55rem; border-bottom:1px solid var(--border); }
.p-gearGrid { display:grid; grid-template-columns:1fr 1fr; gap:.55rem .9rem; }
.gear-item.wide { grid-column:1 / -1; }
.gear-item-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.52rem; letter-spacing:0;
  text-transform:none; color:var(--sage); margin-bottom:.1rem; }
.gear-item-val { font-size:.86rem; color:var(--ink); line-height:1.35; }
.gear-item-note { font-size:.75rem; color:var(--text); opacity:.68; line-height:1.4; margin-top:.1rem; }
.p-gearnote { font-size:.76rem; color:var(--text); opacity:.75; margin-top:.6rem; line-height:1.5; font-style:normal; }
.p-gearsec { margin-top:.7rem; padding-top:.6rem; border-top:1px solid rgba(30,122,110,.09);
  font-size:.78rem; color:var(--text); opacity:.68; line-height:1.5; }
.p-gearsec b { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.52rem; letter-spacing:0;
  text-transform:none; color:var(--sage); font-weight:400; opacity:1; }
/* bait */
.p-bait-top { display:flex; gap:.8rem; align-items:flex-start; }
.p-bimg { width:80px; height:60px; flex:none; border-radius:5px; background:#eef3f1;
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
  background-size:cover; background-position:center; overflow:hidden; }
.p-bimg svg { width:26px; height:16px; color:#b9cfc9; }
.p-bimg img { width:100%; height:100%; object-fit:cover; display:block; }
.p-badge { display:inline-block; font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem;
  letter-spacing:0; text-transform:none; background:var(--amber); color:#fff;
  padding:.16rem .4rem; border-radius:3px; margin-bottom:.3rem; }
.p-bait h5 { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:700; font-size:1.05rem; line-height:1.2; color:var(--ink); }
.p-bspec { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.6rem; color:var(--text); opacity:.72; margin-top:.15rem; }
.p-how { margin-top:.75rem; padding-top:.7rem; border-top:1px solid var(--border);
  display:grid; grid-template-columns:auto 1fr; gap:.3rem .7rem; align-items:baseline; }
.p-how dt { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.52rem; letter-spacing:0;
  text-transform:none; color:var(--sage); white-space:nowrap; }
.p-how dd { font-size:.84rem; line-height:1.5; color:var(--text); }
.p-alts { margin-top:.15rem; }
.p-altwrap { border-top:1px solid rgba(30,122,110,.09); }
.p-alt { width:100%; display:flex; justify-content:space-between; align-items:center; gap:.6rem;
  background:none; border:0; padding:.62rem 0;
  cursor:pointer; text-align:left; font-family:inherit; }
.p-alt:hover { background:rgba(30,122,110,.03); }
.p-alt:focus-visible { outline:2px solid var(--fern); outline-offset:-2px; }
.p-alt-right { display:flex; align-items:center; gap:.5rem; flex:none; }
.p-alt-chev { font-size:.6rem; color:var(--sage); transition:transform .18s ease; display:inline-block; }
.p-alt.is-open .p-alt-chev { transform:rotate(180deg); }
.p-altbody { display:none; padding:0 0 .85rem; }
.p-altbody.open { display:block; }
@media(prefers-reduced-motion:reduce){ .p-alt-chev { transition:none; } }
.p-alt-name { font-family:Inter,system-ui,-apple-system,sans-serif; font-weight:700; font-size:.9rem; color:var(--ink); display:block; }
.p-alt-sub { font-size:.74rem; color:var(--text); opacity:.72; margin-top:.05rem; display:block; }
.p-alt-when { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem; letter-spacing:0;
  text-transform:none; color:var(--sage); white-space:nowrap; flex:none; }
.p-more { width:100%; background:none; border:0; border-top:1px solid rgba(30,122,110,.09);
  font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.55rem; letter-spacing:0; text-transform:none;
  color:var(--fern); padding:.55rem 0; cursor:pointer; }
.p-baitfoot { font-size:.75rem; color:var(--text); opacity:.65; margin-top:.6rem; line-height:1.5; }
.p-empty { font-size:.82rem; color:var(--text); opacity:.7; line-height:1.55; }
@media(max-width:620px){
  .tgsec { margin:0 1.1rem 1.5rem; }
  .p-gearGrid { grid-template-columns:1fr 1fr; gap:.5rem .7rem; }
}
.tg-item { border-bottom:1px solid var(--border); }
.tg-item:last-child { border-bottom:none; }
.tg-header { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.25rem; cursor:pointer; user-select:none; transition:background .12s; }
.tg-header:hover { background:rgba(45,74,50,.03); }
.tg-item.tg-open .tg-header { background:rgba(45,74,50,.04); }
.tg-header-left { flex:1; }
.tg-label { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.5rem; letter-spacing:0; text-transform:none; color:var(--sage); margin-bottom:.2rem; }
.tg-name { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:1.05rem; font-weight:600; color:var(--moss); }
.tg-chevron { font-size:1rem; color:var(--sage); margin-left:.75rem; transition:transform .2s; }
.tg-body { padding:0 1.25rem 1.25rem; }
.tg-body-collapsed { display:none; }
.tg-desc { font-size:.88rem; color:var(--text); line-height:1.6; margin-bottom:.75rem; }
.tg-cond { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
.tg-cond:empty { display:none; }
.tg-cond span { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.6rem; background:var(--off); padding:.2rem .5rem; border-radius:4px; color:var(--sage); }
.tg-gear { margin:1rem 0; }
.tg-gear-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:.52rem; letter-spacing:0; text-transform:none; color:var(--sage); opacity:.7; margin-bottom:.65rem; }
.tg-baits { margin-top:1.25rem; border-top:1px solid var(--border); padding-top:1rem; }

/* ── ACCESSIBILITY FIXES ─────────────────────────────────────────────────── */

/* 1. Sage colour — darken for sufficient contrast on white backgrounds
      Old: #4a7a52 (~3.4:1)  New: #2d5a36 (5.1:1 on white) */
:root {
  --sage: #2d5a36;          /* was #4a7a52 — now passes WCAG AA */
  --sage-subtle: #4a7a52;   /* keep original for decorative use only */
}

/* 2. Minimum font sizes — nothing below 11px */
.bdet, .rrank-drive, .tg-label, .gear-item-note,
.btab, .slat, .season-bar-labels span,
.rrank-num, .acard-rec-badge,
.tp-eyebrow, .gear-eyebrow, .tg-gear-lbl,
.field-lbl, .sec-label p,
.map-legend-lbl, .map-pin span,
.brank, .stag, .sst, .sc-note,
.reg-note, .aloc, .atags, .atag,
.tp-chip, .rrank-badge, .v-meta-lbl {
  line-height: 1.5;
}

/* Bait condition text — was 11.2px sage, increase + darken */
.bcond {
  line-height: 1.6;
}

/* 3. Touch targets — minimum 44px for all interactive elements */
button, .btab, .tech-family-btn, .species-btn,
.mode-btn, .cta-btn, select, input[type="date"],
input[type="range"], .river-chip,
.acard-rec-badge, .rrank-card, .tg-header,
.btab, .clear-all {
  min-height: 44px;
}

/* Accordion header specifically */
.tg-header {
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.tg-header:focus-visible {
  outline: 2px solid var(--fern);
  outline-offset: -2px;
}

/* Mode toggle buttons */
.mode-btn { min-height: 40px; padding: .5rem .75rem; }

/* Species buttons */
.species-btn { min-height: 80px; }

/* Bait tabs */
.btab {
  min-height: 40px;
  padding: .4rem .8rem;
  font-size: 0.78rem;
}

/* New Search button */
.new-search-btn, #new-search-btn, [href="#landing"], button[onclick*="goBack"] {
  min-height: 44px;
  padding: .5rem 1.25rem;
}

/* 4. Focus styles — visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--fern);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Remove focus style on mouse click (only show for keyboard) */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Select and date inputs */
select:focus-visible, input:focus-visible {
  outline: 2px solid var(--fern);
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(45,74,50,.15);
}

/* 5. River ranker cards — tap target */
.rrank-card {
  min-height: 80px;
  padding: 1rem;
}

/* 6. Section label sub-paragraph — was too light */
.sec-label p {
  color: var(--sage);
}

/* 7. Gear note — was 10.88px, too small */
.gear-item-note {
  color: var(--sage);
  line-height: 1.5;
}

/* 8. Accordion label — was 8px (absurdly small) */
.tg-label {
  letter-spacing: .08em;
}

/* 9. Mobile — larger tap targets and text on small screens */
@media (max-width: 600px) {
  .btab { min-height: 44px; font-size: 0.82rem; }
  .tech-family-btn { min-height: 64px; }
  .tg-header { min-height: 56px; }
  .aname, .tg-name { font-size: 1rem; }
  .tg-desc { font-size: 0.9rem; }
  .gear-item-val { font-size: 0.88rem; }
  .bcond { }
  .bname { font-size: 0.88rem; }
  /* Accordion body padding */
  .tg-body { padding: 0 1rem 1rem; }
}

/* 10. Desktop — comfortable spacing */
@media (min-width: 1024px) {
  .tg-header { padding: 1rem 1.5rem; }
  .tg-body { padding: 0 1.5rem 1.5rem; }
  .gear-item { padding: .85rem 1rem; }
}

.skip-link{position:absolute;top:-40px;left:0;background:var(--moss);color:var(--cream);padding:.5rem 1rem;border-radius:0 0 6px 0;font-size:.9rem;z-index:9999;text-decoration:none;}.skip-link:focus{top:0;}
.logo-region, .land-date, .river-sublbl, .rc-time,
.sec-num, .vsig, .acrowd, .atag, .bi-img-ph, .brank,
.sum-method, .sum-window, .gs, .g-unit, .v-meta-lbl {
}

/* SPECIES BUTTON ACCESSIBILITY FIX */
.species-btn-name {
  font-family: Inter,system-ui,-apple-system,sans-serif; font-weight: 700;   /* was .46rem = 7.36px — now 11.5px */
  letter-spacing: .02em;
  text-transform: none;
  text-align: center;
  line-height: 1.4;  /* bright cream — readable on dark moss */
}

/* Active state — amber */
.species-btn.active .species-btn-name {
  font-weight: 600;
}

/* Hover state — brighten */
.species-btn:hover .species-btn-name {
}

/* Responsive grid — 3 cols on mobile, 6 on desktop */
.species-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

@media (min-width: 600px) {
  .species-btn-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Give buttons a bit more breathing room */
.species-btn {
  padding: .65rem .3rem .55rem;
  gap: .4rem;
}

/* Section label above species — make sure it's readable too */
.field-group .field-lbl {
  font-weight: 600;
  margin-bottom: .5rem;
}

/* SPECIES BUTTON NAME — dark text on white card */
.species-btn-name {
  font-weight: 400;            /* regular — not a heading */
  font-family: Inter,system-ui,-apple-system,sans-serif;
  letter-spacing: .04em;
  text-transform: none;
  text-align: center;
  line-height: 1.4;
}
.species-btn:hover .species-btn-name {
}
.species-btn.active .species-btn-name {
  font-weight: 700;
}

/* TECHNIQUE + TRAVEL LABELS — match Target Species heading size */
.tech-section .field-lbl,
.tech-section .beginner-only .field-lbl,
.travel-row label,
.travel-row .field-lbl {
}

/* REGS GLOSSARY */
.regs-glossary {
  border-top: 1px solid var(--border);
  margin-top: .75rem;
  padding: .75rem 1rem 0 1rem;
}
.regs-glossary-title {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .6rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--sage);
  margin-bottom: .5rem;
}
.regs-glossary-row {
  display: flex;
  gap: .75rem;
  margin-bottom: .4rem;
  align-items: baseline;
}
.rg-term {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .7rem;
  color: var(--moss);
  font-weight: 600;
  white-space: nowrap;
  min-width: 7rem;
  flex-shrink: 0;
}
.rg-def {
  font-size: .78rem;
  color: var(--text);
  line-height: 1.5;
}

/* MODE TOGGLE DESCRIPTIONS */
/* old mode-desc removed */

/* METHOD TIP */
.tg-tip {
  background: rgba(45,74,50,.06);
  border-left: 3px solid var(--fern);
  padding: .5rem .75rem;
  border-radius: 0 6px 6px 0;
  font-size: .82rem;
  color: var(--moss);
  line-height: 1.5;
  margin-bottom: .75rem;
}
.tg-tip:empty { display:none; }
.tg-tip:empty { display: none; }

/* TOP PICK DRIVE TIME */
.tp-drive-time {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .75rem;
  color: var(--fern);
  font-weight: 600;
  margin: .35rem 0 .6rem;
  letter-spacing: .02em;
}
@media (min-width: 600px) {
  .tp-drive-time { font-size: .82rem; }
}

/* ACCESS CARD COLLAPSE */
.ac-collapsed { cursor: default; }
.ac-summary {
  cursor: pointer;
  user-select: none;
  padding: .75rem 0 .75rem;
  align-items: center;
}
.ac-summary:hover .aname { color: var(--fern); }
.ac-chevron {
  font-size: .9rem;
  color: var(--sage);
  transition: transform .15s;
  flex-shrink: 0;
}
.ac-open .ac-chevron { transform: rotate(90deg); }
.ac-detail { padding-top: .5rem; border-top: 1px solid var(--border); margin-top: .25rem; }

/* RIVER RANKER — compact bottom strip */
.more-river-wrap { border-top: 1px solid var(--border); margin-top: 0; }
.more-river-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; padding:1rem 2rem; background:none; border:none; cursor:pointer; font-family:Inter,system-ui,-apple-system,sans-serif; font-size:0.85rem; font-weight:600; color:var(--moss); text-align:left; }
.more-river-toggle:hover { background:rgba(45,74,50,0.04); }
.more-river-label { }
.more-river-chev { font-size:0.7rem; color:var(--sage); flex-shrink:0; }
.rrank-section {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.rrank-toggle-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .72rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--sage);
  text-align: left;
}
.rrank-toggle-btn:hover { color: var(--moss); }
.rrank-toggle-chev { font-size: .8rem; transition: transform .15s; }
.rrank-inner { padding: 0 1.5rem 1.5rem; }
.rrank-lbl { font-size: .72rem; color: var(--sage); margin-bottom: .75rem; font-family: Inter,system-ui,-apple-system,sans-serif; letter-spacing: .04em; }
.rrank-grid { display: flex; flex-direction: column; gap: .5rem; }
.rrank-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.rrank-card:hover { border-color: var(--fern); box-shadow: 0 2px 8px rgba(45,74,50,.1); }
.rrank-num { font-family: Inter,system-ui,-apple-system,sans-serif; font-size: .6rem; color: var(--sage); min-width: 1.2rem; }
.rrank-name { font-family: Inter,system-ui,-apple-system,sans-serif; font-size: .9rem; font-weight: 600; color: var(--moss); flex: 1; }
.rrank-drive { font-family: Inter,system-ui,-apple-system,sans-serif; font-size: .62rem; color: var(--sage); white-space: nowrap; }
.rrank-badge { font-family:Inter,system-ui,-apple-system,sans-serif; font-size: .55rem; letter-spacing:0; text-transform:none; padding: .15rem .4rem; border-radius: 8px; white-space: nowrap; }
.rrank-badge.good { background: rgba(45,74,50,.1); color: var(--fern); }
.rrank-badge.warn { background: rgba(210,160,60,.12); color: #a07820; }
.rrank-badge.bad  { background: rgba(180,60,60,.1);  color: #a03030; }
.rr-top { border-color: var(--fern); }

/* STOCKING SECTION */
.stocking-grid { display: flex; flex-direction: column; gap: .5rem; padding: 0 2rem 1rem; }
.stocking-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .6rem .85rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
}
.stocking-row.stocking-future { opacity: .7; }
.stocking-row.stocking-active { border-color: var(--fern); background: rgba(45,74,50,.03); }
.stocking-badge.past { background: rgba(100,100,120,.06); color: var(--sage); }

.stocking-species {
  font-family: Inter,system-ui,-apple-system,sans-serif; font-size: .9rem; font-weight: 600; color: var(--moss);
  flex: 1;
}
.stocking-detail {
  font-family: Inter,system-ui,-apple-system,sans-serif; font-size: .62rem; color: var(--sage);
  white-space: nowrap;
}
.stocking-badge {
  font-family:Inter,system-ui,-apple-system,sans-serif; font-size: .58rem; letter-spacing:0;
  text-transform:none; padding: .18rem .45rem; border-radius: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.stocking-badge.now  { background: rgba(45,74,50,.1); color: var(--fern); }
.stocking-badge.soon { background: rgba(210,160,60,.12); color: #a07820; }
.stocking-badge.future { background: rgba(100,100,120,.08); color: var(--sage); }
.stocking-source {
  font-size: .68rem; color: var(--sage); padding: .25rem 2rem .75rem;
  opacity: .7;
}

/* ── MOBILE PORTRAIT FIXES (≤600px) ─────────────────────────────────────── */
@media (max-width: 600px) {

  /* Form card — reduce side margins so it doesn't overflow */
  .form-card {
    margin: 0 1rem 2rem;
    padding: 1.5rem 1.25rem;
  }

  /* Date + Location — side by side on mobile */
  .form-top {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding-top: .9rem;
  }

  /* CTA button — full width */
  .forecast-btn {
    white-space: normal;
  }
  .form-bottom {
    align-items: stretch;
  }

  /* Hero section padding */
  .hero-copy {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  /* Stocking badge — allow wrapping, don't overflow */
  .stocking-row {
    flex-wrap: wrap;
    gap: .5rem;
  }
  .stocking-badge {
    white-space: normal;
    text-align: right;
    max-width: 120px;
    line-height: 1.3;
    font-size: .55rem;
  }
  .stocking-species {
    font-size: .82rem;
  }

  /* River ranker cards — no overflow */
  .rrank-card {
    flex-wrap: wrap;
  }

  /* Access cards — reduce padding */
  .ac { padding: 1rem; }

  /* Top pick band — reduce padding */
  .tpband-inner { padding: 1.25rem 1.25rem 1rem; }
  .tp-headline { font-size: 1.35rem; }

  /* Technique accordion */
  .tgsec { margin: 0 1rem 1.5rem; }
  .tg-header { padding: .85rem 1rem; }
  .tg-body { padding: 0 1rem 1rem; }

  /* Gear grid — single column on small screens */
  .gear-grid {
    grid-template-columns: 1fr;
  }

  /* Flow gauge bar section */
  .cgrid { padding: 1rem; }

  /* Section labels */
  .sec-label { padding: 1rem 1.25rem .5rem; }

  /* Map */
  .agrid { flex-direction: column; }
  .agrid-map { width: 100%; }
  #access-map iframe { height: 260px; }

  /* Stocking grid */
  .stocking-grid { padding: 0 1rem .75rem; }

  /* Pre-trip routine */
  .rgrid { padding: 0 1rem; }
  .rs { gap: .75rem; }
}

/* Safe area + nav overlap fixes */
.land-header {
  padding-top: max(0.75rem, env(safe-area-inset-top));
}

/* Ensure hero copy doesn't get hidden behind status bar on iOS */
.hero-copy {
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;
}
@media (max-width: 600px) {
  .hero-photo { }
  .hero-copy {
    bottom: 1rem;
    left: 1.25rem;
    right: 1.25rem;
  }
  .hero-copy h1 {
    font-weight: 400;
    font-style:normal;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0;
  }
  .land-header {
    padding: max(0.75rem, env(safe-area-inset-top)) 1.25rem 0.75rem;
  }
}

/* Bait section inside accordion — remove extra top gap */
.tg-baits {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: .85rem;
}
.tg-baits .tg-gear-lbl {
  margin-bottom: .5rem;
}

/* ── CONFIDENCE BADGE ────────────────────────────────────────────────────── */
.tp-confidence {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing:0;
  text-transform:none;
  padding: .25rem .7rem;
  border-radius: 20px;
  display: inline-block;
  margin: .4rem 0 .75rem;
}
.conf-excellent { background: rgba(30,122,110,.15); color: #0e6b5e; }
.conf-good      { background: rgba(30,122,110,.1);  color: #1e7a6e; }
.conf-marginal  { background: rgba(180,140,30,.12); color: #8a6800; }
.conf-tough     { background: rgba(180,60,60,.1);  color: #a03030; }

/* Reuse on rrank cards */
.conf-badge { font-size: .58rem; padding: .15rem .45rem; }

/* ── DEFAULT RIVER PREVIEW (landing) ─────────────────────────────────────── */
#default-preview {
  display: none;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: .25rem;
}
.dp-label {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: 0.72rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: .85rem;
  padding: 0;
}
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.dp-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: .6rem .75rem;
  cursor: pointer;
  transition: border-color .15s;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.dp-card:active { border-color: var(--fern); }
.ac-summary:active { background: rgba(45,74,50,0.05); }
.tg-header:active { background: rgba(45,74,50,0.05); }
.more-river-toggle:active { background: rgba(45,74,50,0.08); }
.regs-details-toggle:active { color: var(--moss); }
.regs-link:active { opacity: 1; }
.dp-name {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--moss);
  line-height: 1.2;
}
.dp-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .25rem;
}
.dp-species {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .6rem;
  color: var(--sage);
  opacity: .85;
}
.dp-fishability-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
  flex-shrink: 0;
}
.dp-fishability-lbl {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .5rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--sage);
  opacity: .7;
}
.dp-conf {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .06em;
  padding: .1rem .3rem;
  border-radius: 8px;
  flex-shrink: 0;
  line-height: 1;
}

.dp-source {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .55rem;
  color: var(--sage);
  opacity: .7;
  letter-spacing: .03em;
  text-transform: none;
  font-weight: normal;
}

/* ── STATUS DOTS ──────────────────────────────────────────────────────────── */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}
.dot-good { background: #3a9a4a; }
.dot-warn { background: #d4a012; }
.dot-bad  { background: #c0392b; }

/* Update gs to use flex for dot + label alignment */
.gs {
  display: flex;
  align-items: center;
}

/* Column header dot — shown next to col-lbl */
.col-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0;
  transition: opacity .3s;
}
.col-status-dot.visible { opacity: 1; }
.col-status-dot.dot-good { background: #3a9a4a; }
.col-status-dot.dot-warn { background: #d4a012; }
.col-status-dot.dot-bad  { background: #c0392b; }

.sky-badge { margin-bottom: .25rem; }

/* ── DEFAULT PREVIEW WRAPPER ────────────────────────────────────────────── */
/* ===== HOMEPAGE GUIDE CARDS (Direction B — Run Calendar) ===== */
.guides-wrap{max-width:1180px;margin:0 auto;padding:2.5rem 1.5rem 3.25rem}
.guides-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.guides-eyebrow{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.6rem;letter-spacing:0;text-transform:none;color:var(--sage);margin-bottom:.35rem}
.guides-title{font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:700;font-size:1.5rem;line-height:1.2;color:var(--ink)}
.guides-all{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.82rem;font-weight:500;color:var(--fern);text-decoration:none;border-bottom:1px solid rgba(30,122,110,.3);padding-bottom:1px}
.guides-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:1.4rem}
.guides-stack{display:grid;grid-template-rows:auto auto;gap:1.4rem;align-content:start}
.gcard{position:relative;background:var(--white);border:1px solid var(--border);border-radius:6px;overflow:hidden;text-decoration:none;color:inherit;display:flex;transition:box-shadow .18s ease,border-color .18s ease}
.gcard:hover{box-shadow:0 10px 26px rgba(26,58,74,.13);border-color:rgba(30,122,110,.35)}
.gcard:focus-visible{outline:2px solid var(--fern);outline-offset:2px}
.gspine{width:5px;flex:none;background:var(--sage)}
.gcard.live .gspine{background:linear-gradient(180deg,var(--amber),var(--gold))}
.gcard-lead{flex-direction:column}
.gcard-lead .gspine{width:100%;height:5px}
/* background-color is set separately from the gradient: the inline style writes
   background-image, which would otherwise wipe the gradient shorthand and leave the tile
   white when an image 404s. This way a missing file degrades to moss, not blank. */
.gimg{background-color:var(--moss);
background-image:linear-gradient(150deg,var(--moss),var(--water) 55%,var(--sage));
background-size:cover;background-position:center;position:relative}
.gcard-lead .gimg{aspect-ratio:16/9;max-height:420px}
/* Side cards stack image-over-text at every width. A 104px-wide slice of a 16:9
   thumbnail stretched to card height is an unreadable crop, and it looked worst on
   wide screens where the card is tallest. */
.gcard-side{flex-direction:column}
.gcard-side .gspine{width:100%;height:5px;flex:none}
.gcard-side .gimg{width:100%;aspect-ratio:16/9;flex:none}
.ginner{padding:1.15rem 1.25rem 1.3rem;display:flex;flex-direction:column;flex:1}
.gmonths{display:flex;gap:2px;margin-bottom:.75rem}
.gm{flex:1;height:15px;border-radius:2px;background:rgba(30,122,110,.09);font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.44rem;color:transparent;display:flex;align-items:center;justify-content:center}
.gm.on{background:rgba(74,140,122,.42)}
.gm.peak{background:var(--amber);color:#fff}
.gm.cur{outline:1.5px solid var(--ink);outline-offset:1px}
.gmonths.lbl .gm{color:var(--text);opacity:.55}
.gmonths.lbl .gm.peak{color:#fff;opacity:1}
.gcard h3{font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:700;font-size:1.02rem;line-height:1.28;margin-bottom:.4rem;color:var(--ink)}
.gcard-lead h3{font-size:1.3rem}
.gcard p{font-size:.84rem;line-height:1.55;color:var(--text);opacity:.85;flex:1;font-weight:300}
.gstatus{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.55rem;letter-spacing:0;text-transform:none;color:var(--sage);margin-top:.85rem}
.gcard.live .gstatus{color:var(--amber)}
.gvid{position:absolute;right:.5rem;bottom:.5rem;z-index:2;width:22px;height:22px;border-radius:50%;background:rgba(13,31,45,.72);display:flex;align-items:center;justify-content:center}
.gvid svg{width:9px;height:9px;fill:var(--cream)}
@media(max-width:900px){
  .guides-grid{grid-template-columns:1fr}
  .guides-stack{grid-template-rows:auto auto}
}
@media(max-width:620px){
  .guides-wrap{padding:2rem 1.1rem 2.5rem}
  .gcard-lead h3{font-size:1.15rem}
}

.default-preview-wrap {
  width: 100%;
  box-sizing: border-box;
}
/* preview box styles moved to #default-preview rule */

/* Tablet: 3 columns */
@media (min-width: 600px) {
  .dp-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Desktop: 6 columns in one row */
@media (min-width: 1024px) {
  .dp-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: .75rem;
  }
  .dp-card {
    padding: .75rem .85rem;
  }
}

/* CONDITIONS CARD — matches tgsec box style */
.cond-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 2rem 1.5rem;
  background: var(--white);
}
/* Remove bottom border from cgrid since cond-card provides the border */
.cond-card .cgrid {
  border-bottom: none;
}
@media (max-width: 600px) {
  .cond-card { margin: 0 1rem 1.5rem; }
}

/* ── TP-WHY STRUCTURED ROWS ─────────────────────────────────────────────── */
#tp-why { display: flex; flex-direction: column; gap: .35rem; margin: .5rem 0 .75rem; }
.why-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--text);
}
.why-icon {
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}
.why-good  { color: #2a7a30; }
.why-warn  { color: #a07820; }
.why-bad   { color: #b03030; }
.why-label {
  font-weight: 600;
  color: var(--moss);
  flex-shrink: 0;
}
.why-detail {
  color: var(--sage);
  font-size: .78rem;
}
@media (max-width: 600px) {
  .why-row { font-size: .78rem; }
  .why-detail { font-size: .72rem; }
}

/* ── BAIT SHOW MORE ──────────────────────────────────────────────────────── */
.bait-show-more {
  display: block;
  width: 100%;
  padding: .6rem 1rem;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .65rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--sage);
  cursor: pointer;
  text-align: center;
  transition: color .15s, background .15s;
}
.bait-show-more:hover { color: var(--moss); background: rgba(45,74,50,.03); }

/* Steelhead species button — silver-blue palette */
.sb-steelhead { filter: hue-rotate(180deg) saturate(0.6); }

/* ── DRIVE WORTHINESS VERDICT ───────────────────────────────────────────── */
#tp-drive-time {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.drive-time {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: .03em;
}

@media (max-width: 600px) {
  .form-card {
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1.25rem;
    top: -30px;
  }
  .hero-photo { height: 160px; }
  .hero-copy h1 { font-weight: 400; font-style:normal; line-height: 1.2; }
  .mode-toggle { margin-bottom: 0; }
}

/* Species tiles: a season chip top right (word chip, TJ 2026-10-30), tiles ordered best first (updateSpeciesGrid). */
.species-btn { position: relative; }
.sp-badge { --c: #9aa6ad; --t: #fff; position: absolute; top: 4px; right: 4px;
  font-family:Inter,system-ui,-apple-system,sans-serif; font-weight: 600; font-size: .48rem; letter-spacing:0; text-transform:none;
  line-height: 1; padding: .14rem .35rem; border-radius: 999px; color: var(--t); background: var(--c); }
.sp-badge[data-s="prime"]  { --c: var(--fern); }
.sp-badge[data-s="good"]   { --c: #8fd1b8; --t: #0d3b30; }
.sp-badge[data-s="slow"]   { --c: var(--gold); --t: #4a3608; }
.sp-badge[data-s="out"]    { --c: #c9d1d6; --t: #46545e; }
.sp-badge[data-s="closed"] { --c: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Add to home screen hint (bottom of the homepage on phones, see app.js) */
.a2hs {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  margin: 0 auto; max-width: 520px; box-sizing: border-box;
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem max(1rem, env(safe-area-inset-right, 0px)) calc(.8rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  background: var(--white); color: var(--text-body);
  border-top: 1px solid var(--rule); border-radius: 12px 12px 0 0; box-shadow: 0 -6px 24px rgba(13,31,45,.12);
}
.a2hs[hidden] { display: none; }
.a2hs img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.a2hs-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; font-size: .82rem; line-height: 1.35; }
.a2hs-text strong { color: var(--text-strong); font-size: .88rem; }
.a2hs-share { width: 13px; height: 16px; vertical-align: -3px; color: var(--water); }
.a2hs-add { flex-shrink: 0; background: var(--fern); color: #fff; border: 0; border-radius: 8px; padding: .5rem .9rem; font: 600 .85rem Inter,system-ui,-apple-system,sans-serif; cursor: pointer; }
.a2hs-x { flex-shrink: 0; background: none; border: 0; color: var(--text-muted); font-size: 1.4rem; line-height: 1; padding: 0; cursor: pointer; width: 44px; height: 44px; margin: -.4rem -.5rem -.4rem 0; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.a2hs-add:focus-visible, .a2hs-x:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

#tech-family-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:.4rem; }
.method-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
}
.method-row .tech-family-btn {
  min-height: unset;
  font-size: .88rem;
  padding: .55rem .25rem;
  gap: .25rem;
}
.method-row .tc-icon { font-size: .8rem; }
.method-row .tc-icon svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .species-btn-name {
  }
  .species-btn-img { }
}

.sp-any-link {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .65rem;
  font-weight: 600;
  color: var(--sage);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .15rem .5rem;
  cursor: pointer;
  transition: all .15s;
}
.sp-any-link:hover, .sp-any-link.active-any {
  color: var(--fern);
  border-color: var(--fern);
}

/* ── DESKTOP MAX WIDTH ───────────────────────────────────────────────────── */
@media (min-width: 900px) {
  /* Hero photo spans full width but content is centred */
  .hero-copy {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
  }

  /* Form card — centred, capped width */
  .form-card {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }

  /* River preview — inside form-card, no extra constraints */
}

@media (min-width: 1200px) {
  .form-card {
    max-width: 1040px;
  }
  .hero-copy {
    max-width: 1040px;
  }
}

/* ── RIVER PAGE DESKTOP WIDTH CONSTRAINT ───────────────────────────────── */
@media (min-width: 900px) {
  /* All content blocks — match tpband-inner 1100px */
  .cond-card,
  .tgsec,
  #tg-section,
  #stocking-section,
  #species-section,
  .rrank-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Access section — slightly wider for map */
  .asec {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* sec-label stays full-width as visual divider — moved to @layer patches */

  /* tpband already constrained via tpband-inner */
}

/* ── NOTIFY ME PANEL ─────────────────────────────────────────────────────── */
.notify-panel {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: var(--foam);
  margin-top: .5rem;
  transition: opacity .2s;
}
.notify-header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
}
.notify-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.notify-title {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--moss);
}
.notify-sub {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .72rem;
  color: var(--sage);
  margin-top: .15rem;
}
.notify-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--sage);
  font-size: .75rem;
  cursor: pointer;
  padding: .1rem .3rem;
  flex-shrink: 0;
  opacity: .6;
}
.notify-dismiss:hover { opacity: 1; }
.notify-form {
  display: flex;
  gap: .5rem;
}
.notify-input {
  flex: 1;
  padding: .55rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.notify-input:focus { border-color: var(--fern); }
.notify-submit {
  padding: .55rem 1rem;
  background: var(--fern);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.notify-submit:hover { background: var(--sage); }
.notify-submit:disabled { opacity: .6; cursor: default; }
.notify-success {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .82rem;
  color: var(--good);
  font-weight: 600;
  padding: .25rem 0;
}
.notify-panel.dismissed { display: none; }

/* ── NOTIFY BAR — river page persistent bottom bar ──────────────────────── */
.notify-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--moss);
  border-top: 2px solid var(--fern);
  box-shadow: 0 -4px 24px rgba(13,31,45,0.25);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
  padding: .85rem 1.25rem;
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .notify-bar {
      padding-bottom: calc(.85rem + env(safe-area-inset-bottom));
    }
  }
}
.notify-bar.visible {
  transform: translateY(0);
}
.notify-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.notify-bar-icon { font-size: 1.2rem; flex-shrink: 0; }
.notify-bar-text {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 1;
  min-width: 200px;
}
.notify-bar-title {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
}
.notify-bar-sub {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .72rem;
  color: var(--mist);
  margin-top: .1rem;
}
.notify-bar-form {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.notify-bar-input {
  padding: .5rem .75rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 200px;
  outline: none;
  transition: border-color .15s;
}
.notify-bar-input::placeholder { color: rgba(255,255,255,0.4); }
.notify-bar-input:focus { border-color: var(--fern); }
.notify-bar-submit {
  padding: .5rem 1rem;
  background: var(--fern);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.notify-bar-submit:hover { background: var(--sage); }
.notify-bar-submit:disabled { opacity: .6; cursor: default; }
.notify-bar-success {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .85rem;
  color: #7dda8a;
  font-weight: 600;
}
.notify-bar-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: .85rem;
  cursor: pointer;
  padding: .25rem .4rem;
  flex-shrink: 0;
  margin-left: auto;
  transition: color .15s;
}
.notify-bar-dismiss:hover { color: #fff; }
@media (max-width: 600px) {
  .notify-bar-input { width: 150px; }
  .notify-bar-title { font-size: .8rem; }
}

/* ── HERO SUBTEXT ─────────────────────────────────────────────────────────── */
.hero-sub {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.7);
  margin: 0.5rem 0 0;
  line-height: 1.4;
  text-align: center;
}
/* One line on what the app does, on phones too (TJ, 2026-11-01; replaced the Free / No account pills). */
.hero-sub { max-width: 34rem; margin-left: auto; margin-right: auto; }
/* Desktop only (TJ, 2026-11-02: redundant on phones). */
@media (max-width: 600px) { .hero-sub-more { display: none; } }
/* Phones: the Date/Location row, the Method section's top padding and the Method label's margin stacked into a
   ~50 px gap (more on iOS), pushing "Find my best spot" below the fold (TJ, 2026-11-02). */
@media (max-width: 600px) {
  #landing .form-card .form-top { padding-bottom: 0.4rem; }
  #landing .form-card .tech-section { padding-top: 0; }
  #landing .tech-section .beginner-only > .field-lbl:first-child { margin-top: 0.5rem !important; }
}
/* Link to /outlook/ (the monthly outlook page) under the badges (TJ, 2026-11-01). */
.hero-outlook {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0 0.25rem;
  font: 600 0.92rem/1.2 Inter,system-ui,-apple-system,sans-serif;
  color: #1e7a6e;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30,122,110,0.4);
}
.hero-outlook:hover, .hero-outlook:focus-visible { color: #145a51; text-decoration-color: #145a51; }

/* ── SITE FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  border-top: 1px solid rgba(158,207,202,0.1);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.site-footer-brand {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-style:normal;
  font-weight: 700;
  color: #fff;
  font-size: .9rem;
  text-decoration: none;
}
.site-footer-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.site-footer-nav a {
  font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size: .58rem;
  letter-spacing:0;
  text-transform:none;
  color: var(--mist);
  opacity: .7;
  text-decoration: none;
}
.site-footer-nav a:hover { opacity: 1; }
.site-footer-copy {
  font-family: Inter,system-ui,-apple-system,sans-serif;
  font-size: .55rem;
  color: var(--mist);
  opacity: .4;
  width: 100%;
}
@media (max-width: 600px) {
  .site-footer { padding: 1rem 1.25rem; }
  .site-footer-copy { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   LANDING PAGE — EDITORIAL RESTYLE
   Appended last so these rules win at equal specificity. Scoped to landing
   elements only: the results page and its dark dashboard are untouched, which
   is deliberate — the colour shift marks the move from browsing to using the
   tool. Structure, fields and behaviour are unchanged.
   ══════════════════════════════════════════════════════════════════════════ */
#landing, .landing-wrap{background:var(--ed-paper)}
#landing{position:relative}
body:has(#landing:not([style*="display: none"])){background:var(--ed-paper)}

/* masthead — .land-header is position:absolute so it can float over the hero photo.
   With the photo hidden it had nothing to sit on and dropped onto the mode toggle.
   Return it to normal flow. */
#landing .land-header{position:static;background:var(--ed-paper);backdrop-filter:none;
  border-bottom:1px solid var(--ed-rule);padding:1rem 1.3rem;
  max-width:900px;margin:0 auto;width:100%}
/* The header is capped at 900 px so its content lines up with the page, which also cut its bottom rule short on
   wide screens. Draw the rule edge to edge: border-image-outset paints past the box without adding page width. */
#landing .land-header{border-image:linear-gradient(var(--ed-rule),var(--ed-rule)) 0 0 1 0 / 0 0 1px 0 / 0 100vw}
#landing .logo-wrap{background:none;border:0;box-shadow:none;padding:0}
/* the wordmark and wave were drawn light for a dark photo backdrop */
#landing .logo-wave span{background:var(--ed-muted);opacity:.5}
/* the region line was cream for the dark photo backdrop */
#landing .logo-region{color:var(--ed-muted);font-family:Inter,system-ui,-apple-system,sans-serif;
  font-size:.6rem;letter-spacing:0;text-transform:none}
#landing .logo-name{font:700 1.1rem/1.15 var(--ed-serif);color:var(--ed-ink)}
#landing .logo-name{font:700 1.1rem/1 var(--ed-serif);color:var(--ed-ink);letter-spacing:0}
#landing .land-date{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.62rem;letter-spacing:0;
  text-transform:none;color:var(--ed-muted)}

/* hero */
/* .hero-copy is a CHILD of .hero-photo, so hiding the photo hid the headline too.
   Keep the container, drop only the photographic background and its fixed height. */
/* A mobile rule sets .hero-photo{height:160px !important}. That was right when this held
   a fixed-height photo; with the photo gone the copy is taller than 160px and spilled
   over the form. !important here is required to beat it. */
#landing .hero-photo{position:static;min-height:0;
  overflow:visible;background:none;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
#landing .hero-photo-bg{display:none}
#landing .hero-photo::before,#landing .hero-photo::after{display:none}
/* The base rule centres this with `left:50%; transform:translateX(-50%)`, which only
   works while it is absolutely positioned. Now that it is in normal flow that transform
   shifts the whole block bodily left by half its width — which is what was breaking the
   centring. Clear the transform along with the offsets. */
#landing .hero-copy{max-width:660px;margin-left:auto;margin-right:auto;
  padding:3.4rem 1.3rem 2.2rem;text-align:center;background:none;position:static;
  bottom:auto;left:auto;right:auto;transform:none}
/* A later base rule sets .hero-copy h1{text-align:left}, so centring has to be stated
   here on the element itself rather than inherited from the container. */
#landing .hero-copy h1{color:var(--ed-ink);
  letter-spacing:-.018em;margin-bottom:.8rem;text-shadow:none;text-align:center;
  font-style:normal}
/* The subtitle is an <h3 class="hero-sub">, not a <p> — it was still cream-coloured for
   the old dark photo backdrop, which made it near-invisible on paper. */
#landing .hero-copy p,#landing .hero-sub{font:400 1.12rem/1.6 var(--ed-serif);
  color:var(--ed-text);max-width:46ch;margin:0 auto;text-shadow:none;text-align:center;
  font-weight:400}
/* masthead nav, matching the guide pages */
#landing .land-nav{display:flex;gap:1.3rem;align-items:center}
#landing .land-nav a{font-family:var(-Inter,system-ui,-apple-system,sans-serif);font-size:.78rem;
  font-weight:500;color:var(--ed-muted);text-decoration:none;letter-spacing:0}
#landing .land-nav a:hover{color:var(--ed-ink)}
#landing .land-date{display:none}
@media(max-width:520px){#landing .land-nav{gap:.95rem}
  #landing .land-nav a{font-size:.74rem}}

/* form */
#landing .form-card{max-width:660px;margin:1.6rem auto 1rem;padding:0 1.3rem;background:none;
  border:0;box-shadow:none;border-radius:0}
/* If the hero copy is ever empty or hidden, the form still needs clearance
   from the masthead — this is a floor, not a total. */
#landing .land-header + *{margin-top:0}
#landing .hero-photo:empty{min-height:1.6rem}
#landing .form-card > *{background:none}
#landing .form-top,#landing .tech-section{background:var(--white);border:1px solid var(--ed-rule);
  border-radius:4px;padding:1.25rem}
#landing .tech-section{border-top:0;border-radius:0 0 4px 4px;margin-top:-1px}
#landing .form-top{border-radius:4px 4px 0 0}
#landing .field-lbl{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.62rem;letter-spacing:0;
  text-transform:none;color:var(--ed-muted);font-weight:500}
#landing .field-input{border:1px solid var(--ed-rule);border-radius:3px;background:var(--ed-paper);
  padding:.72rem .8rem;font-family:var(--ed-serif);font-size:.98rem;color:var(--ed-ink);box-shadow:none}
#landing .field-input:focus{outline:2px solid rgba(30,122,110,.35);outline-offset:-1px;border-color:var(--ed-rule)}

/* mode toggle — two words with a rule under the active one */
/* .mode-wrap has no rule of its own in the base stylesheet, which is why the toggle
   sat left. Make it the full width of the form and split it evenly so neither label
   ("Find my spot" / "Check by river") wraps onto a second line. */
#landing .mode-wrap{display:block;width:100%;margin:0 0 1.4rem}
#landing .mode-toggle{background:none;border:0;border-bottom:1px solid var(--ed-rule);
  border-radius:0;padding:0;gap:0;display:grid;grid-template-columns:1fr 1fr;
  width:100%;margin:0;box-shadow:none}
#landing .mode-btn{background:none;border:0;border-radius:0;padding:.1rem 0 .7rem;
  font-size:.86rem;font-weight:500;color:var(--ed-muted);border-bottom:2px solid transparent;
  margin-bottom:-1px;box-shadow:none;text-align:center;white-space:nowrap;
  min-height:0;flex:none;line-height:1.3}
#landing .mode-btn.active{background:none;color:var(--ed-ink);font-weight:600;
  border-bottom-color:var(--fern);box-shadow:none}
@media(max-width:380px){
  /* only at the very narrowest does the label need to shrink rather than wrap */
  #landing .mode-btn{font-size:.78rem}
}

/* species + technique tiles */
#landing .species-btn,#landing .tech-family-btn{border:1px solid var(--ed-rule);
  background:var(--ed-paper);border-radius:3px;box-shadow:none;
  font-family:var(--sans,inherit);color:var(--ed-text)}
#landing .species-btn.active,#landing .tech-family-btn.active{border-color:var(--fern);
  background:rgba(30,122,110,.06);color:var(--ed-ink);box-shadow:none}
/* Base is 44x26 and mobile forces 44x28 !important — a landscape strip. A 50% radius on
   a non-square box is what produced the squashed ovals. Force a square so the circle is
   round and object-fit:cover keeps the fish's aspect ratio at every width. */
#landing .species-btn-img{aspect-ratio:1/1;
  border-radius:50%;overflow:hidden;border:1px solid var(--ed-rule);background:#dfe7e4;
  padding:0;display:block;margin:0 auto;flex:none}
#landing .species-btn-img img{width:100%;height:100%;object-fit:cover;display:block}
#landing .species-btn.active .species-btn-img{border-color:var(--fern);
  box-shadow:0 0 0 2px rgba(30,122,110,.18)}
#landing .species-btn-name{font-size:.72rem;font-weight:500}
#landing .species-btn.active .species-btn-name{font-weight:600}

/* section chips */
#landing .river-chip{border:1px solid var(--ed-rule);background:var(--ed-paper);
  border-radius:3px;box-shadow:none}
#landing .river-chip.active{border-color:var(--fern);background:rgba(30,122,110,.06)}
#landing .rc-name{color:var(--ed-ink)}

#landing .forecast-btn{background:var(--fern);border-radius:3px;box-shadow:none;
  font-weight:600;letter-spacing:0}
#landing .forecast-btn:hover{background:#186358}

/* today's rivers + guides */
#landing .default-preview-wrap{background:none;max-width:660px;margin:0 auto;padding:0 1.3rem}
#landing .guides-wrap{max-width:660px;padding:0 1.3rem 3rem}
#landing .guides-title{font-family:var(--ed-serif);font-weight:700;color:var(--ed-ink)}
#landing .guides-eyebrow{font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--ed-muted)}
/* Guides: one lead with a full-width image, then every other guide as a compact row.
   Nothing is hidden — the old lead-plus-two layout showed three of six. */
#landing .guides-grid{display:block;grid-template-columns:none}
#landing .guides-list{display:block}
#landing .gcard,#landing .gcard-lead,#landing .gcard-side{background:none;border:0;
  border-bottom:1px solid var(--ed-rule);border-radius:0;box-shadow:none;margin:0;
  padding:1.15rem 0;gap:1rem;align-items:flex-start}
#landing .gcard:hover{box-shadow:none;transform:none}
#landing .gspine{display:none}
/* the lead: stacked, image on top */
#landing .gcard-lead{display:block;padding:0 0 1.3rem}
#landing .gcard-lead .gimg{width:100%;aspect-ratio:16/9;height:auto;max-height:none;
  border-radius:3px;margin-bottom:.9rem;flex:none}
#landing .gcard-lead h3{font:700 1.45rem/1.22 var(--ed-serif);color:var(--ed-ink);
  margin:.3rem 0 .35rem}
#landing .gcard-lead p{font:400 1rem/1.55 var(--ed-serif);color:var(--ed-text);opacity:1}
/* the rest: thumbnail beside text */
#landing .gcard-side{display:flex;flex-direction:row}
#landing .gcard-side .gimg{width:88px;height:60px;aspect-ratio:auto;flex:none;
  border-radius:3px;max-height:none}
#landing .ginner{padding:0;flex:1;min-width:0}
#landing .gcard-side h3{font:700 1.05rem/1.32 var(--ed-serif);color:var(--ed-ink);
  margin:.28rem 0 .22rem}
#landing .gcard-side p{font:400 .9rem/1.5 var(--ed-serif);color:var(--ed-text);opacity:1}
#landing .gmonths{display:none}
#landing .gstatus{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.61rem;letter-spacing:.11em;
  color:var(--ed-muted);margin-top:.4rem;order:-1}
#landing .gcard.live .gstatus{color:var(--amber)}
#landing .guides-all{color:var(--fern);border-bottom:2px solid rgba(30,122,110,.3)}

#landing .site-footer{background:var(--ed-paper);border-top:1px solid var(--ed-rule)}
#landing .site-footer-brand{font:700 .95rem/1 var(--ed-serif);color:var(--ed-ink)}
#landing .site-footer-nav a,#landing .site-footer-copy{color:var(--ed-muted);
  font-family:var(--sans,inherit);text-transform:none;letter-spacing:0;font-size:.78rem}

@media(max-width:520px){
  #landing .hero-copy h1{font-size:1.85rem}
  #landing .hero-copy{padding:2.2rem 1.1rem 1.5rem}
  #landing .gcard-lead h3{font-size:1.25rem}
}



/* ══════════════════════════════════════════════════════════════════════════
   MOBILE FORM STABILITY
   Two separate problems, both visible once a river is picked in expert mode:

   1. HORIZONTAL OVERFLOW. .form-card is `display:flex; flex-direction:column`,
      so .river-section is a flex item, and flex items default to
      `min-width:auto` — they refuse to shrink below their content. The section
      chips are `min-width:140px; flex-shrink:0`, so four of them give that item
      a ~580px min-content width, which drags the whole card (and the page) past
      the viewport. `overflow-x:auto` on .river-chips never engages because no
      ancestor is ever constrained. `min-width:0` on the flex items is the fix;
      the chips then scroll inside the card as intended.

   2. THE FORM JUMPS. Picking a river swaps a one-line placeholder for a
      label-plus-chips block, and reveals the river select, so the card grows
      and the CTA is pushed off screen. Both slots are now reserved, so the
      content changes inside a stable box instead of resizing it.
   ══════════════════════════════════════════════════════════════════════════ */

/* 1 ── let the flex chain shrink, so overflow-x:auto can do its job ───────── */
#landing .form-card,
#landing .mode-wrap,
#landing .form-top,
#landing .tech-section,
#landing .river-section,
#landing #river-section-picker,
#landing .field-group,
#landing .travel-row{min-width:0}
/* .mode-wrap is the load-bearing one: it is left unclosed in the markup, so it
   wraps the whole form and is the flex item that was refusing to shrink. */
#landing .river-chips{min-width:0;max-width:100%;
  /* momentum scrolling + a hint that there is more to the right */
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
#landing .field-input,#landing select.field-input{max-width:100%}
/* belt and braces: nothing on the landing page may scroll the page sideways */
#landing{overflow-x:clip}

/* 2 ── the section row is a MIDDLE SEGMENT of the same white panel ────────
   .form-top and .tech-section were given the panel treatment in the landing
   restyle; .river-section sits between them and never was, so it fell out of
   the box onto the paper background. It joins the panel here: side borders,
   no top border, no radius, and -1px so the borders overlap rather than
   double up. The placeholder gets the same treatment so the box does not
   change shape when one swaps for the other. Inline styles on the
   placeholder need !important to beat. */
#landing .river-section,
#landing #river-placeholder{
  background:var(--white);
  border:1px solid var(--ed-rule);
  border-top:0;
  border-radius:0;
  margin-top:-1px;   /* matches .form-top / .tech-section */
}
/* the chips strip bleeds to the panel edges, so a half-visible chip at the
   right edge signals there is more to swipe */
#landing .river-chips{
  margin-left:-1.25rem;margin-right:-1.25rem;
  padding-left:1.25rem;padding-right:1.25rem;
}

/* reserve the slot so picking a river doesn't resize the card */
@media(max-width:700px){
  /* one shared height for "no river yet" and "here are the sections" */
  #landing #river-placeholder,
  #landing .river-section{min-height:7rem}
  #landing #river-placeholder{align-items:center}
  /* the chips strip is the scrollable part, not the card */
  #landing .river-chips{overflow-x:auto;flex-wrap:nowrap;gap:.45rem;
    padding-bottom:.35rem;scroll-snap-type:x proximity}
  #landing .river-chip{min-width:9.5rem;scroll-snap-align:start;
    padding:.55rem .7rem}
  #landing .rc-name{font-size:.82rem}
  #landing .rc-sub{font-size:.54rem}
}

/* 3 ── tighten the rest so the whole form still fits one screen ──────────── */
@media(max-width:600px){
  #landing .form-card{padding:0 .9rem}
  #landing .form-top,#landing .tech-section{padding:.95rem}
  #landing .river-section,#landing #river-placeholder{}
  #landing .river-chips{margin-left:-.95rem;margin-right:-.95rem;
    padding-left:.95rem;padding-right:.95rem}
  #landing .form-top{gap:.6rem}
  #landing .tech-section{gap:.5rem}
  #landing .mode-toggle{margin-bottom:1rem}
  #landing .hero-copy{padding:1.6rem 1.1rem 1.1rem}
  #landing .hero-copy h1{font-size:1.6rem;margin-bottom:.5rem}
  /* labels and tiles: smaller, and allowed to wrap rather than force width */
  #landing .field-lbl{font-size:.58rem}
  #landing .field-lbl.block{margin:.9rem 0 .45rem}
  #landing .method-row,#landing .species-btn-grid{gap:.35rem}
  #landing .tech-family-btn,#landing .species-btn{min-width:0;
    overflow-wrap:anywhere;hyphens:auto}
  #landing .method-row .tech-family-btn{font-size:.78rem;padding:.5rem .2rem;
    min-height:3.4rem}
  #landing .species-btn{min-height:4.3rem;padding:.45rem .2rem .4rem}
  #landing .species-btn-name{line-height:1.25}
  #landing .forecast-btn{margin-top:1rem;padding:.8rem}
}


/* 4 ── audited overflow fixes across the rest of the landing page ─────────
   Numbers below are min-content widths at a 390px viewport, panel inner
   328.8px (card padding .9rem + panel border 1px + panel padding .95rem). */

/* NOTE: #river-field-group is only ever visible in expert mode, where the
   location select is hidden — so .form-top is always exactly two items.
   Do not span it across both columns; that would cost a whole extra row. */

/* nothing inside the landing page may be intrinsically wider than its box */
#landing img,#landing svg,#landing video,#landing iframe{max-width:100%}
#landing .method-row,#landing .species-btn-grid,
#landing .form-top,#landing .mode-toggle,#landing .form-bottom{min-width:0}
#landing .species-btn-name,#landing .tech-family-btn{min-width:0}

@media(max-width:600px){
  /* masthead: logo name (113px) + region (87px) + nav (161px) = 372px against
     350px of available width. Stacking the two logo lines drops it to 274px. */
  /* One row on phones (TJ, 2026-11-02: the stacked logo, name and "South Ontario" took ~100 px). The region line is
     hidden so logo + name + nav fit: 32 + 7 + ~113 + 12 + ~150 = ~314 px, inside 320 at a 360 px screen. */
  #landing .land-header{gap:.75rem;align-items:center;padding-top:.6rem;padding-bottom:.6rem}
  #landing .logo-wrap{flex-direction:row;align-items:center;gap:.45rem;min-width:0}
  #landing .logo-region{display:none}
  #landing .land-nav{flex-shrink:0}
}
@media(max-width:380px){
  #landing .land-header{padding-left:1rem;padding-right:1rem;gap:.5rem}
  #landing .logo-wrap img{height:28px!important}
  #landing .logo-name{font-size:1rem}
  #landing .land-nav{gap:.7rem}
  #landing .land-nav a{font-size:.72rem}
}
@media(max-width:340px){
  /* "Conditions" links to this page; drop it so the row still fits on 320 px screens. */
  #landing .land-nav a[href="/"]{display:none}

  /* the two selects would otherwise size to their widest option
     ("— Select your city —" is ~208px intrinsic against a 159.6px track) */
  #landing .form-top .field-group{min-width:0}
  #landing select.field-input{width:100%;
    text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
  #landing input.field-input{width:100%;box-sizing:border-box}

  /* method labels wrap to two lines inside a 69.6px text box; let them break
     cleanly rather than forcing the track open */
  #landing .method-row .tech-family-btn{overflow-wrap:break-word;word-break:normal}
}

/* 5 ── vertical pass: reclaim whitespace only, no content removed ─────────
   Expert mode measured 963px to the bottom of the CTA at 390px wide, against
   ~740px of visible viewport on an iPhone 14. Everything below is padding,
   leading and one image box — no control is removed or hidden. */
@media(max-width:600px){
  /* hero: 196px -> ~164px */
  #landing .hero-copy{padding:1.05rem 1.1rem .85rem}
  #landing .hero-copy h1{font-size:1.45rem;margin-bottom:.45rem}
  #landing .hero-copy p,#landing .hero-sub{font-size:1rem;line-height:1.5}

  /* gaps between the masthead, the hero and the form */
  #landing .form-card{margin-top:.9rem}
  #landing .mode-toggle{margin-bottom:.55rem}

  /* the select sizes its text to the widest option; .9rem keeps real river
     names ("Ganaraska River") inside a 159.6px track instead of truncating */
  #landing .field-input{font-size:.9rem;padding:.62rem .7rem}

  /* the species thumbnail is a 44px circle forced with !important upstream;
     the touch target is the whole 93px tile, so the image can come down */
  #landing .species-btn-img{}

  /* label-to-control and control-to-CTA breathing room */
  #landing .tech-section .field-lbl,
  #landing .field-group .field-lbl{margin-bottom:.35rem}
  #landing .form-bottom{gap:.9rem}
  #landing .forecast-btn{margin-top:.6rem}
  #landing .method-row .tech-family-btn{padding:.4rem .2rem}
}

}

/* ═══════════════════════════════════════════════════════════════════════════
   PATCHES — batch 1
   Rules that used to carry !important purely to out-rank an earlier rule in
   `app`. Layer order now does that job, so the flag is gone. Same selector,
   same value, same media query — only the !important was dropped.
   ═══════════════════════════════════════════════════════════════════════════ */

@layer patches {

  /* ── batch 2: the remaining 40 ──────────────────────────────────────────
     Moved as one group in their original source order, so the winner among
     them is unchanged: inside a layer the cascade is still specificity then
     source order, exactly as it was when they all carried !important in
     `app` together.
     7 keep the flag — three `display` rules that JS overrides with inline
     styles, two label rules whose elements carry inline letter-spacing and
     text-transform, and two padding rules against #river-placeholder's
     inline padding. A layer cannot outrank a style attribute; only
     !important can. Nothing in `app` carries !important now, so these seven
     are unopposed.
     ──────────────────────────────────────────────────────────────────── */
  .form-card.mode-beginner #river-section, .form-card.mode-beginner #river-placeholder{display:none !important;}
  .form-card.mode-beginner .expert-only{display:none !important;}
  .form-card.mode-expert .beginner-only{display:none !important;}
  .acard-recommended{border-color:var(--fern);}
  .bdet, .rrank-drive, .tg-label, .gear-item-note, .btab, .slat, .season-bar-labels span, .rrank-num, .acard-rec-badge, .tp-eyebrow, .gear-eyebrow, .tg-gear-lbl, .field-lbl, .sec-label p, .map-legend-lbl, .map-pin span, .brank, .stag, .sst, .sc-note, .reg-note, .aloc, .atags, .atag, .tp-chip, .rrank-badge, .v-meta-lbl{font-size:max(11px, 0.688rem);}
  .bcond{font-size:0.8rem;}
  .sec-label p{font-size:0.82rem;}
  .gear-item-note{font-size:0.72rem;}
  .tg-label{font-size:0.68rem;}
  @media (max-width: 600px) {
    .bcond{font-size:0.82rem;}
  }
  .logo-region, .land-date, .river-sublbl, .rc-time, .sec-num, .vsig, .acrowd, .atag, .bi-img-ph, .brank, .sum-method, .sum-window, .gs, .g-unit, .v-meta-lbl{font-size:max(11px, 0.688rem);}
  .species-btn-name{font-size:0.72rem;color:rgba(247, 245, 241, 0.85);}
  .species-btn.active .species-btn-name{color:var(--amber-l);}
  .species-btn:hover .species-btn-name{color:var(--cream);}
  .field-group .field-lbl{font-size:0.82rem;color:var(--text);}
  .species-btn-name{color:var(--moss);font-size:0.75rem;}
  .species-btn:hover .species-btn-name{color:var(--fern);}
  .species-btn.active .species-btn-name{color:var(--amber-l);}
  .tech-section .field-lbl, .tech-section .beginner-only .field-lbl, .travel-row label, .travel-row .field-lbl{font-size:0.82rem;color:var(--text);letter-spacing:0 !important;text-transform:none !important;}
  @media (max-width: 600px) {
    .hero-photo{height:160px;}
  }
  @media (max-width: 600px) {
    .hero-copy h1{font-size:18px;font-size:18px;}
  }
  @media (max-width: 600px) {
    .species-btn-name{font-size:.6rem;}
  }
  @media (max-width: 600px) {
    .species-btn-img{width:44px;height:28px;}
  }
  #landing .hero-photo{height:auto;}
  #landing .hero-copy h1{font:700 2.3rem/1.15 var(--ed-serif);}
  #landing .species-btn-img{width:44px;height:44px;}
  #landing #river-placeholder{padding:1.25rem !important;}
  #landing .river-section{padding:1.25rem;}
  @media(max-width:600px) {
    #landing #river-placeholder{padding:.95rem !important;}
    #landing .river-section{padding:.95rem;}
  }
  @media(max-width:600px) {
    #landing .species-btn-name{font-size:.68rem;}
  }
  @media(max-width:600px) {
    #landing .species-btn-img{width:38px;height:38px;}
  }

  .bcond{color:var(--sage);}
  .tech-section .field-lbl, .tech-section .beginner-only .field-lbl, .travel-row label, .travel-row .field-lbl{font-weight:600;}
  @media (max-width: 600px) {
    .species-btn-name{letter-spacing:.01em;text-transform:none;}
  }
  @media (min-width: 900px) {
    .sec-label{max-width:100%;margin-left:0;margin-right:0;}
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OVERRIDES — all new styling goes below this line.
   No specificity games needed: these rules win over anything in `app`.
   ═══════════════════════════════════════════════════════════════════════════ */

@layer overrides {

  /* Shown when a signup fails, so nobody leaves thinking they're subscribed. */
  .notify-bar-error { color: #f3b0a6; font-size: .8rem; margin-top: .5rem; }
  /* Keyboard open: the bar already sits above the keyboard, so drop the home-bar inset. */
  .notify-bar.keyboard-up { padding-bottom: .85rem; }

  /* Homepage guides: pictures are <img loading=lazy> from small thumbnails, not CSS
     backgrounds (those load straight away). Picks stay as rows with a thumbnail on phones. */
  .gimg { overflow: hidden; }
  .gimg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  #landing .gcard-side .gimg { width: 96px; height: 64px; }
  #landing .gmore { border-bottom: 1px solid var(--ed-rule); }
  #landing .gmore > summary { cursor: pointer; list-style: none; padding: 1rem 0;
    font: 600 .95rem/1.3 var(--ed-serif); color: var(--fern); }
  #landing .gmore > summary::-webkit-details-marker { display: none; }
  #landing .gmore > summary::after { content: ' +'; }
  #landing .gmore[open] > summary::after { content: ' \2212'; }
  #landing .gmore > summary span { color: var(--ed-muted); font-weight: 400; }
  #landing .gmore ul { list-style: none; margin: 0; padding: 0 0 .6rem; }
  #landing .gmore li { border-top: 1px solid var(--ed-rule); }
  #landing .gmini { display: block; padding: .7rem 0; text-decoration: none; }
  #landing .gmini-t { display: block; font: 600 1rem/1.35 var(--ed-serif); color: var(--ed-ink); }
  #landing .gmini-s { display: block; margin-top: .2rem; font-family:Inter,system-ui,-apple-system,sans-serif;
    font-size: .61rem; letter-spacing:0; text-transform:none; color: var(--ed-muted); }
  #landing .gmini.live .gmini-s { color: var(--amber); }
  #landing .gmini:hover .gmini-t { color: var(--fern); }
  #landing .gmore-all { display: inline-block; margin: .2rem 0 1rem; color: var(--fern);
    font: 600 .9rem/1.3 var(--ed-serif); }

  /* Season-by-reach block at the top of the regs Details. Same inset as the glossary. */
  .regs-reaches { padding: .75rem 1rem .25rem 1rem; }
  /* Season by reach: one aligned row per reach, same columns on every row. */
  .rr-list { display: flex; flex-direction: column; }
  .rr-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .25rem 1rem;
    padding: .55rem 0; border-top: 1px solid var(--rule, rgba(45,74,50,.1)); align-items: start; }
  .rr-row:first-child { border-top: 0; }
  .rr-name { font: 600 .82rem/1.35 var(-Inter,system-ui,-apple-system,sans-serif); color: var(--text-strong, var(--moss)); }
  .rr-tag { display: inline-block; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; vertical-align: 1px;
    background: rgba(30,122,110,.1); color: var(--fern); font-size: .66rem; font-weight: 600; white-space: nowrap; }
  .rr-status { font-size: .82rem; font-weight: 600; line-height: 1.35; }
  .rr-status.rr-open { color: var(--fern); }
  .rr-status.rr-closed { color: var(--red); }
  .rr-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin-right: .4rem; transform: translateY(-1px); }
  .rr-why { font-weight: 400; color: var(--text-muted, var(--sage)); }
  .rr-band { font-size: .76rem; line-height: 1.4; color: var(--text-muted, var(--sage)); margin-top: .1rem; }
  @media (max-width: 560px) {
    .rr-row { grid-template-columns: 1fr; }
  }
  /* Species rows without the river-wide season column (the reach table covers seasons). */
  .reg-row.reg-row-nos { grid-template-columns: 1fr auto; }
  /* Regs in plain English: a few bullets, then the season-by-reach table behind a toggle. */
  .regs-bullets { margin: 0; padding: .7rem 1rem .2rem 2.1rem; list-style: disc; }
  .regs-bullets li { font-size: var(--fs-base, .9rem); line-height: 1.5; color: var(--text-body, var(--ink)); margin: 0 0 .4rem; padding-left: .15rem; }
  .regs-bullets li::marker { color: var(--fern); }
  .regs-bullets .rb-open { color: var(--fern); }
  .regs-bullets .rb-closed { color: var(--red); }
  .regs-foot { margin: 0; padding: 0 1rem .6rem 1rem; font-size: .76rem; line-height: 1.45; color: var(--text-muted, var(--sage)); }

  /* ── form card blowing out to 660px on mobile ────────────────────────────
     #landing is display:flex / flex-direction:column, and .form-card carries
     `margin: 1.6rem auto 1rem`. Auto margins on the cross axis DISABLE
     align-items:stretch, so the card stops filling the container and becomes
     fit-content instead: clamp(min-content, available, max-content).

     While min-content stayed under the viewport that was invisible. Selecting
     a river reveals .river-chips — four chips at min-width:9.5rem with
     flex-shrink:0, a 737px min-content — which pushes the card's min-content
     past the viewport, so it resolves to its max-width of 660px inside a
     390px screen. Hence "it only breaks once you pick a river", and only in
     advanced mode, where the chips exist.

     width:100% restores the stretch behaviour the auto margins suppressed.
     max-width:660px still caps it on desktop and the auto margins still
     centre it there, because the width only binds below 660px.
     Verified in Chromium at 390/430/600/768/1024/1440.

     The same margin:auto + max-width pattern is on the other two direct
     children of the flex column, so they get the same treatment. */
  #landing .form-card,
  #landing .default-preview-wrap,
  #landing .guides-wrap{width:100%;box-sizing:border-box}

  /* ── mobile spacing: two dead zones ──────────────────────────────────────
     1. Only 5px between the headline and the form. .hero-copy is a child of
        .hero-photo and overflows it, so padding on .hero-copy alone did
        nothing — the photo box is what ends. Letting it size to its content
        and adding to the card's top margin gives 21px.

     2. 110px of empty white between the river select and METHOD. With no
        river picked, JS hides BOTH #river-section-picker and
        #river-placeholder, but .river-section kept its panel padding, border
        and the min-height:7rem slot I had added — an empty box with nothing
        in it. The panel treatment now lives on the two children, so the
        wrapper collapses to nothing when they are both hidden and the two
        white panels join directly. 110px -> -1px (borders overlapping).

     margin-top and padding need the flag here to beat the picker's and the
     placeholder's inline style attributes; a layer alone cannot. */
  @media(max-width:600px){
    #landing .hero-photo{height:auto;min-height:0}
    #landing .hero-copy{padding:1.05rem 1.1rem 1.35rem}
    #landing .form-card{margin-top:1.4rem}

    #landing .river-section{padding:0;border:0;margin-top:0;background:none;
      min-height:0;gap:0}
    #landing #river-section-picker,
    #landing #river-placeholder{
      background:var(--white);border:1px solid var(--ed-rule);border-top:0;
      border-radius:0;margin-top:-1px !important;padding:.95rem !important}
    #landing #river-chips{margin-left:-.95rem;margin-right:-.95rem;
      padding-left:.95rem;padding-right:.95rem}
  }

  /* ══════════════════════════════════════════════════════════════════════
     RESULTS PAGE — option C: editorial page, instrument panel for live data
     The page chrome, headings and cards sit on paper like the rest of the
     site. Only the headline readings sit on the dark panel; the detailed
     conditions cards below stay light so they don't compete with it.
     ══════════════════════════════════════════════════════════════════════ */

  #results { background:var(--surface-page); color:var(--text-body); }

  /* masthead */
  #results .res-header { background:var(--surface-page); color:var(--text-strong);
    border-bottom:1px solid var(--rule); padding:0 var(--gutter); }
  #results .res-logo-wave span { background:var(--text-muted); opacity:.5; }
  #results .res-logo-name { font:700 1.1rem/1 var(--font-serif); color:var(--text-strong); }
  #results .res-center { border-color:var(--rule); }
  #results .res-center-lbl,
  #results .res-center-date { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }
  #results .res-center-val { font:700 var(--fs-base)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .back-btn { font:500 var(--fs-sm)/1 var(--font-body); color:var(--text-strong);
    background:var(--surface-card); border:1px solid var(--rule); border-radius:var(--r-pill);
    padding:var(--sp-2) var(--sp-4); }
  #results .back-btn:hover { border-color:var(--fern); color:var(--fern); }

  /* target species */
  .sp-banner { display:flex; align-items:center; gap:var(--sp-4);
    padding:var(--sp-5) var(--gutter) 0; background:var(--surface-page); }
  .sp-banner-fish { width:52px; height:52px; border-radius:50%; overflow:hidden; flex-shrink:0;
    background:var(--surface-sunk); border:1px solid var(--rule);
    display:flex; align-items:center; justify-content:center; }
  .sp-banner-lbl { font:500 var(--fs-label)/1 var(--font-body); letter-spacing:0;
    text-transform:none; color:var(--text-muted); margin-bottom:var(--sp-1); }
  .sp-banner-name { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong); }
  .sp-banner-badge { font:500 var(--fs-label)/1.3 var(--font-body); letter-spacing:0;
    text-transform:none; margin-top:var(--sp-1); color:var(--text-muted); }
  .sp-banner-badge[data-state="good"] { color:var(--good); }
  .sp-banner-badge[data-state="warn"] { color:var(--warn-d); }
  .sp-banner-badge[data-state="bad"]  { color:var(--bad); }
  .staging-slot { margin:0 var(--gutter); }

  /* headline band */
  #results .tpband { background:var(--surface-page); color:var(--text-body);
    padding:var(--sp-4) var(--gutter) var(--sp-5); border-bottom:0; }
  #results .tpband-inner { padding:0; }
  #results .tp-eyebrow { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }
  #results .tpband-inner { max-width:none; }
  #results .tp-headline { font:700 clamp(1.45rem,3.6vw,2.1rem)/1.2 var(--font-serif);
    color:var(--text-strong); text-wrap:pretty; }
  #results .drive-time { font:500 var(--fs-sm)/1.4 var(--font-body); color:var(--text-muted); }
  #results .tp-headline em { font-style:normal; color:var(--fern); }
  #results .tp-staging-note { color:var(--text-body); opacity:1; }
  #results .tp-str-lbl,
  #results .tp-str-scale { color:var(--text-muted); opacity:1; }
  #results .tp-str-val { color:var(--text-strong); }
  #results .tp-str-bar { background:var(--surface-sunk); }
  #results .tp-chip { background:var(--surface-card); border:1px solid var(--rule);
    color:var(--text-body); border-radius:var(--r-pill); font-size:var(--fs-label); }
  #results .tp-chip.good { background:var(--good-tint); border-color:transparent; color:var(--good); }
  #results .tp-chip.warn { background:var(--warn-tint); border-color:transparent; color:var(--warn-d); }
  #results .tp-chip.bad  { background:var(--bad-tint);  border-color:transparent; color:var(--bad); }

  /* instrument panel: headline tiles */
  #results .tp-tiles { background:var(--panel-bg); border-radius:var(--r-lg);
    padding:var(--sp-2); gap:var(--sp-2); margin:var(--sp-3) 0; }
  #results .tp-tile { background:var(--panel-raised); border-color:var(--panel-rule); border-radius:var(--r-md); }
  #results .tp-tile-lbl { font-size:var(--fs-label); color:var(--panel-muted); opacity:1; }
  #results .tp-tile-val { font-family:var(--font-mono); font-weight:500; color:var(--panel-text); }
  #results .tp-tile.good .tp-tile-bar { background:var(--good-on-panel); }
  #results .tp-tile.ok   .tp-tile-bar { background:var(--warn-on-panel); }
  #results .tp-tile.poor .tp-tile-bar { background:var(--bad-on-panel); }
  #results .tp-tile.good .tp-tile-meaning { color:var(--good-on-panel); }
  #results .tp-tile.ok   .tp-tile-meaning { color:var(--warn-on-panel); }
  #results .tp-tile.poor .tp-tile-meaning { color:var(--bad-on-panel); }
  #results .tp-tile.na .tp-tile-val,
  #results .tp-tile.na .tp-tile-meaning { color:var(--panel-muted); }

  /* section headings */
  #results .sec-label { background:var(--surface-page); border-top:1px solid var(--rule);
    border-bottom:0; margin-top:0; padding:var(--sp-6) var(--gutter) var(--sp-4); align-items:baseline; }
  #results .sec-num { font:700 var(--fs-lg)/1 var(--font-serif); color:var(--amber); }
  #results .sec-label h3 { font:700 var(--fs-lg)/1.2 var(--font-serif); color:var(--text-strong); text-wrap:balance; }
  #results .sec-label p { font-size:var(--fs-sm); color:var(--text-muted); margin-top:var(--sp-1); max-width:65ch; }

  /* access */
  #results .asec, #results .ssec { background:var(--surface-page); border-bottom:0; }
  #results .asec { padding:0 var(--gutter) var(--sp-5); }
  #results .agrid { border:1px solid var(--rule); background:var(--surface-card); border-radius:var(--r-md); }
  .map-placeholder-lbl { font:500 var(--fs-label)/1.3 var(--font-body); letter-spacing:0; text-transform:none; }

  /* conditions: live columns on the panel, routine on paper */
  #results .cond-card { background:none; border:0; border-radius:0; overflow:visible;
    margin:0 var(--gutter) var(--sp-5); }
  #results .cgrid { background:none; border:0; padding:0; gap:var(--sp-3); }
  #results .cgrid .col { border:0; border-radius:var(--r-lg); padding:var(--sp-5); }
  #results .rn { font:700 var(--fs-lg)/1 var(--font-serif); color:var(--amber); }
  #results .rt { font-size:var(--fs-sm); color:var(--text-strong); }
  #results .rd { font-size:var(--fs-sm); color:var(--text-muted); }

  .gauge-link { font:500 var(--fs-label)/1 var(--font-mono); letter-spacing:.06em; color:var(--link);
    text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:1px; }
  .best-window { font:500 var(--fs-base)/1.3 var(--font-mono); color:var(--text-strong); }
  .best-window-note { font-size:var(--fs-sm); line-height:1.4; color:var(--text-muted); margin-top:var(--sp-1); }

  /* live columns: light cards; status carried by the top edge, bars and labels */
  #results .cgrid .col { background:var(--surface-card); border:1px solid var(--rule); border-top:3px solid var(--rule); }
  #results .cgrid .col:has(.col-status-dot.dot-good) { border-top-color:var(--good); }
  #results .cgrid .col:has(.col-status-dot.dot-warn) { border-top-color:var(--warn); }
  #results .cgrid .col:has(.col-status-dot.dot-bad)  { border-top-color:var(--bad); }
  #results .cgrid .col-lbl { font-size:var(--fs-label); color:var(--text-muted); border-bottom-color:var(--rule); }
  #results .cgrid .bnum { font:500 var(--fs-num)/1 var(--font-mono); letter-spacing:-.02em; color:var(--text-strong); }
  #results .cgrid :is(.bnum-u, .bnum-l, .gr) { color:var(--text-muted); opacity:1; }
  #results .cgrid :is(.gn, .gv, .cl li) { color:var(--text-body); }
  #results .cgrid .gv { color:var(--text-strong); }
  #results .cgrid .gt { background:var(--surface-sunk); }
  #results .cgrid .divr { border-top-color:var(--rule); }
  #results .cgrid .gf.good { background:var(--good); }
  #results .cgrid .gf.warn { background:var(--warn); }
  #results .cgrid .gf.bad  { background:var(--bad); }
  #results .cgrid :is(.gs, .ci, .trd).good, #results .cgrid .trd.up { color:var(--good); }
  #results .cgrid :is(.gs, .ci).warn, #results .cgrid .trd.stable { color:var(--warn-d); }
  #results .cgrid :is(.gs, .ci).bad, #results .cgrid .trd.down { color:var(--bad); }
  #results .cgrid .col-status-dot.dot-good { background:var(--good); }
  #results .cgrid .col-status-dot.dot-warn { background:var(--warn); }
  #results .cgrid .col-status-dot.dot-bad  { background:var(--bad); }
  #results .cgrid .sps { border-color:var(--rule); border-radius:var(--r-md); }
  #results .cgrid .spc:not(:last-child) { border-right-color:var(--rule); }
  #results .cgrid .spc { background:var(--surface-card); }
  #results .cgrid :is(.spc-time, .spc-label) { color:var(--text-body); }
  #results .cgrid .spc-good { background:var(--good-tint); }
  #results .cgrid .spc-good :is(.spc-time, .spc-label) { color:var(--good); }
  #results .cgrid .spc-bad { background:var(--warn-tint); }
  #results .cgrid .spc-bad :is(.spc-time, .spc-label) { color:var(--warn-d); }
  #results .spc-time { font-size:var(--fs-label); }
  #results .spc-label { font-size:var(--fs-sm); }

  /* technique & gear */
  #results .tgsec { margin:0 var(--gutter) var(--sp-5); }
  #results .p-lbl { color:var(--text-muted); }
  #results .p-card { border-color:var(--rule); border-radius:var(--r-md); }
  #results .p-tech { background:var(--surface-card); border:1px solid var(--rule); color:var(--text-body); }
  #results .p-tech h4 { font:700 var(--fs-lg)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .p-tech p { opacity:1; }
  #results .p-tmeta span { font-size:var(--fs-label); background:var(--surface-sunk);
    border-color:var(--rule); color:var(--text-body); border-radius:var(--r-sm); }
  #results .p-tmeta span.chip-cr { background:var(--warn-tint); border-color:transparent; color:var(--warn-d); }
  #results .p-tmeta span.chip-closed { background:var(--bad-tint); border-color:transparent; color:var(--bad); }

  /* more about this river */
  #results .more-river-wrap { border-top:1px solid var(--rule); }
  #results .more-river-toggle { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong);
    padding:var(--sp-4) var(--gutter); }

  /* access cards */
  #results .agrid-cards { background:var(--surface-card); }
  #results .ac { background:var(--surface-card); padding:var(--sp-4) var(--sp-5); }
  #results .ac + .ac { border-top:1px solid var(--rule); }
  #results .ac-detail { border-top-color:var(--rule); }
  #results .acard-recommended { box-shadow:none; }
  #results .acard-rec-badge { font:500 var(--fs-label)/1 var(--font-mono); letter-spacing:.08em;
    background:var(--good-tint); color:var(--good); border-radius:var(--r-pill); padding:var(--sp-1) var(--sp-2);
    min-height:0; }
  #results .aname { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .ac-summary:hover .aname { color:var(--fern); }
  #results .ac-chevron { color:var(--text-muted); }
  #results .acrowd { font-size:var(--fs-label); border-radius:var(--r-pill); padding:var(--sp-1) var(--sp-2); }
  #results .acrowd.low  { color:var(--good); }
  #results .acrowd.med  { color:var(--warn-d); }
  #results .acrowd.high { color:var(--bad); }
  #results .aloc { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }
  #results .adesc { font-size:var(--fs-base); color:var(--text-body); }
  #results .atag { font-size:var(--fs-label); background:var(--surface-sunk); color:var(--text-body); border-radius:var(--r-sm); }

  /* regulations strip inside a card */
  #results .regs-panel { border:1px solid var(--rule); border-radius:var(--r-md); font-size:var(--fs-sm); }
  #results .regs-header { background:var(--surface-sunk); color:var(--text-strong); border-bottom:1px solid var(--rule); }
  #results .regs-zone { font-size:var(--fs-label); background:var(--surface-card); border:1px solid var(--rule); border-radius:var(--r-sm); }
  #results .regs-title { font-size:var(--fs-label); opacity:1; color:var(--text-muted); }
  #results .regs-link { font-size:var(--fs-label); color:var(--link); opacity:1; }
  #results .regs-plain { font-size:var(--fs-base); color:var(--text-body); }
  #results .regs-details-toggle { font-size:var(--fs-sm); color:var(--link); }
  #results .regs-species-list { background:var(--surface-card); border-bottom-color:var(--rule); }
  #results .reg-row, #results .reg-special { border-bottom-color:var(--rule); }
  #results .reg-species { font-size:var(--fs-sm); color:var(--text-strong); }
  #results .reg-season, #results .reg-note { font-size:var(--fs-sm); color:var(--text-muted); opacity:1; }
  #results .reg-limit { font-size:var(--fs-label); color:var(--good); }
  #results .regs-specials { background:var(--surface-sunk); }
  #results .reg-special { font-size:var(--fs-sm); color:var(--text-body); }
  #results .regs-glossary { border-top-color:var(--rule); }
  #results .regs-glossary-title { font-size:var(--fs-label); color:var(--text-muted); }
  #results .rg-term { color:var(--text-strong); }

  /* closed on this date */
  #results .closed-notice { background:var(--bad-tint); border:0; border-radius:var(--r-md);
    padding:var(--sp-4); margin:var(--sp-4) var(--gutter) 0; }
  #results .agrid-cards .closed-notice { margin:var(--sp-4) var(--sp-5); }
  #results .closed-notice .cn-lbl { font-size:var(--fs-label); color:var(--bad); }
  #results .closed-notice li { font-size:var(--fs-base); color:var(--text-body); }
  #results .closed-notice .cn-foot { font-size:var(--fs-sm); color:var(--text-muted); opacity:1; }
  /* One quiet line under the open spots (TJ, 2026-11-04: no red box at the top). */
  #results .closed-notice.cn-line { background:none; border:0; border-top:1px solid var(--line, #e2ded6); border-radius:0;
    padding:var(--sp-3) 0 0; margin:var(--sp-4) var(--sp-5) var(--sp-4); }
  #results .closed-notice.cn-line p { margin:0 0 .25rem; font-size:var(--fs-sm); line-height:1.5; color:var(--text-muted); }
  #results .closed-notice.cn-line strong { color:var(--text-body); font-weight:600; }
  #results .closed-notice.cn-line .cn-foot { margin:0; font-size:12px; }

  /* map */
  #results .agrid-map { background:var(--surface-sunk); }
  #results .map-placeholder { color:var(--text-muted); opacity:1; }
  .map-frame { width:100%; height:340px; border:0; display:block; }
  .map-cta-wrap { padding:var(--sp-3) var(--sp-4); }
  .map-cta { display:flex; align-items:center; justify-content:center; gap:var(--sp-2);
    background:var(--fern); color:var(--white); border-radius:var(--r-md); padding:var(--sp-3) var(--sp-4);
    font:600 var(--fs-sm)/1.2 var(--font-body); text-decoration:none; transition:opacity .15s; }
  .map-cta:hover { opacity:.9; }
  .map-pin-list { background:var(--surface-sunk); padding:var(--sp-2) var(--sp-3); max-height:140px; overflow-y:auto; gap:var(--sp-1); }
  .map-legend-lbl { font-size:var(--fs-label); color:var(--text-muted); opacity:1; padding:0; }
  .map-pin { font-size:var(--fs-sm); color:var(--text-body); opacity:.75; }
  .map-pin:hover { background:var(--surface-card); opacity:1; }
  .map-pin.is-active { opacity:1; font-weight:600; color:var(--text-strong); }
  .map-pin-dot { min-width:18px; height:18px; border-radius:50%; display:flex; align-items:center;
    justify-content:center; font:700 .6rem/1 var(--font-body); color:var(--white); }
  .map-pin-dot.low  { background:var(--good); }
  .map-pin-dot.med  { background:var(--warn); }
  .map-pin-dot.high { background:var(--bad); }
  .map-pin.is-active .map-pin-dot { box-shadow:0 0 0 2px var(--surface-card), 0 0 0 4px var(--fern); }

  /* footer — one paper footer site-wide */
  .site-footer { background:var(--surface-page); border-top:1px solid var(--rule); padding:var(--sp-4) var(--gutter); }
  .site-footer-brand { font:700 .95rem/1 var(--font-serif); color:var(--text-strong); }
  .site-footer-nav a { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }
  .site-footer-nav a:hover { color:var(--fern); }
  .site-footer-copy { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }

  /* technique · gear · bait — pillar headers */
  #results .p-head { gap:var(--sp-2); margin-bottom:var(--sp-3); }
  #results .p-step { width:24px; height:24px; font:700 var(--fs-sm)/1 var(--font-serif); }
  #results .p-lbl { font:700 var(--fs-md)/1.2 var(--font-serif); letter-spacing:0; text-transform:none; color:var(--text-strong); }
  #results .pillar { margin-bottom:var(--sp-5); }

  /* gear: a spec sheet of tiles */
  #results .p-gearname { font:700 var(--fs-lg)/1.2 var(--font-serif); color:var(--text-strong);
    border-bottom:0; padding-bottom:0; margin-bottom:var(--sp-4); }
  #results .p-gearGrid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--sp-2); }
  @media (max-width:600px) { #results .p-gearGrid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  #results .gear-item { background:var(--surface-sunk); border-radius:var(--r-md); padding:var(--sp-3) var(--sp-4);
    display:flex; flex-direction:column; gap:var(--sp-1); }
  #results .gear-item-lbl { font:500 var(--fs-label)/1 var(--font-body); letter-spacing:0;
    text-transform:none; color:var(--fern); opacity:1; margin:0; }
  #results .gear-item-val { font:700 var(--fs-md)/1.3 var(--font-serif); color:var(--text-strong); }
  #results .gear-item-note { font-size:var(--fs-sm); font-style:normal; color:var(--text-muted); opacity:1; margin:0; }
  #results .p-gearnote { font-size:var(--fs-base); font-style:normal; color:var(--text-body); opacity:1;
    margin-top:var(--sp-4); padding:var(--sp-3) var(--sp-4); background:var(--warn-tint); border-radius:var(--r-md); }
  #results .p-gearsec { font-size:var(--fs-sm); color:var(--text-body); opacity:1; border-top-color:var(--rule);
    margin-top:var(--sp-4); padding-top:var(--sp-3); }
  #results .p-gearsec b { font-size:var(--fs-label); color:var(--fern); }

  /* bait: the top pick leads with its photo */
  #results .p-bait { padding:var(--sp-4); }
  #results .p-bait-top { gap:var(--sp-4); align-items:center; }
  #results .p-bimg { width:112px; height:84px; border-radius:var(--r-md); background:var(--surface-sunk); border-color:var(--rule); }
  #results .p-bimg svg { color:var(--text-muted); }
  #results .p-badge { font:600 var(--fs-label)/1 var(--font-mono); background:var(--amber); color:var(--white);
    border-radius:var(--r-pill); padding:var(--sp-1) var(--sp-2); margin-bottom:var(--sp-2); }
  #results .p-bait h5 { font:700 var(--fs-lg)/1.15 var(--font-serif); color:var(--text-strong); }
  #results .p-bspec { font-size:var(--fs-label); color:var(--text-muted); opacity:1; margin-top:var(--sp-1); }
  #results .p-bait > .p-how { grid-template-columns:repeat(auto-fit,minmax(14rem,1fr)); gap:var(--sp-2);
    border-top:0; padding-top:0; margin-top:var(--sp-4); }
  #results .p-bait > .p-how > div { background:var(--surface-sunk); border-radius:var(--r-md);
    padding:var(--sp-3) var(--sp-4); display:grid; gap:var(--sp-1); align-content:start; }
  #results .p-how dt { font-size:var(--fs-label); color:var(--fern); }
  #results .p-how dd { font-size:var(--fs-base); color:var(--text-body); }

  /* bait: alternatives */
  #results .p-altwrap, #results .p-more { border-top-color:var(--rule); }
  #results .p-alt { padding:var(--sp-3) var(--sp-2); border-radius:var(--r-sm); }
  #results .p-alt:hover { background:var(--surface-sunk); }
  #results .p-alt-name { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .p-alt-sub { font-size:var(--fs-sm); color:var(--text-muted); opacity:1; }
  #results .p-alt-when { font-size:var(--fs-label); background:var(--good-tint); color:var(--good);
    padding:var(--sp-1) var(--sp-2); border-radius:var(--r-pill); }
  #results .p-alt-chev { color:var(--text-muted); }
  #results .p-more { font-size:var(--fs-label); color:var(--link); }
  #results .p-baitfoot, #results .p-empty { font-size:var(--fs-sm); color:var(--text-muted); opacity:1; }

  /* one centred content column for every results section.
     Full-width bands (masthead, banner, headline, section labels, footer)
     keep their edge-to-edge background and centre their content with padding;
     boxed blocks are capped and centred with auto margins. */
  #results .res-header,
  #results .sp-banner,
  #results .tpband,
  #results .sec-label,
  #results .asec,
  #results .ssec,
  #results .more-river-toggle,
  #results .site-footer { padding-left:var(--band-pad); padding-right:var(--band-pad); }
  #results .asec { max-width:none; }
  #results .cond-card,
  #results .tgsec,
  #results .staging-slot { width:auto; max-width:none;
    margin-left:max(var(--gutter), calc((100% - var(--content-max)) / 2));
    margin-right:max(var(--gutter), calc((100% - var(--content-max)) / 2)); }

  /* more about this river: stocking report */
  #results .ssec { padding-top:var(--sp-5); padding-bottom:var(--sp-5); max-width:none; margin:0; }
  #results .ssec + .ssec { border-top:1px solid var(--rule); }
  #results .ssec .sec-label { padding:0 0 var(--sp-4); border-top:0; background:none; }
  #results .stocking-grid { padding:0; gap:var(--sp-2); }
  #results .stocking-row { background:var(--surface-card); border:1px solid var(--rule); border-radius:var(--r-md);
    padding:var(--sp-3) var(--sp-4); }
  #results .stocking-row.stocking-active { border-color:var(--rule); border-left:3px solid var(--good); background:var(--surface-card); }
  #results .stocking-row.stocking-future { opacity:1; }
  #results .stocking-row.stocking-future :is(.stocking-species, .stocking-detail) { color:var(--text-muted); }
  #results .stocking-species { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .stocking-detail { font-size:var(--fs-label); color:var(--text-muted); }
  #results .stocking-row { flex-wrap:wrap; row-gap:var(--sp-2); }
  #results .stocking-badge { font-size:var(--fs-label); border-radius:var(--r-pill); padding:var(--sp-1) var(--sp-2);
    white-space:nowrap; max-width:100%; }
  #results .stocking-badge.now    { background:var(--good-tint); color:var(--good); }
  #results .stocking-badge.soon   { background:var(--warn-tint); color:var(--warn-d); }
  #results :is(.stocking-badge.future, .stocking-badge.past) { background:var(--surface-sunk); color:var(--text-muted); }
  #results .stocking-source { font-size:var(--fs-sm); color:var(--text-muted); opacity:1; padding:var(--sp-3) 0 0; }

  /* more about this river: species on this river */
  #results .sshdr { margin-bottom:var(--sp-4); gap:var(--sp-3); flex-wrap:wrap; }
  #results .sshdr h3 { font:700 var(--fs-lg)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .sshdr span { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }
  #results .srail { border:0; border-radius:0; overflow:visible; gap:var(--sp-2);
    grid-template-columns:repeat(3,minmax(0,1fr)); }
  @media (max-width:600px) { #results .srail { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  #results .sc-species { background:var(--surface-card); border:1px solid var(--rule); border-top:3px solid var(--rule);
    border-radius:var(--r-md); padding:var(--sp-4); gap:var(--sp-1); cursor:default; }
  #results .sc-species:last-child { border-right:1px solid var(--rule); }
  #results .sc-species:hover { background:var(--surface-card); }
  #results .sc-species.active { background:var(--surface-card); color:inherit; border-top-color:var(--fern); }
  #results .sc-absent { opacity:.55; filter:grayscale(.6); }
  #results .stag { font:500 var(--fs-label)/1 var(--font-mono); color:var(--text-muted); opacity:1; margin-bottom:var(--sp-1); }
  #results .sc-species.active .stag { color:var(--fern); }
  #results .sname { font:700 var(--fs-md)/1.2 var(--font-serif); color:var(--text-strong); }
  #results .slat { font-size:var(--fs-label); font-style:normal; color:var(--text-muted); opacity:1; }
  #results .sst { font-size:var(--fs-label); margin-top:var(--sp-2); }
  #results .sst.on   { color:var(--good); }
  #results .sst.soon { color:var(--warn-d); }
  #results .sst.wip  { color:var(--text-muted); }
  #results .sc-note, #results .sc-species.active .sc-note { font-size:var(--fs-sm); font-style:normal; color:var(--text-body); opacity:1; }
  #results .seg-peak   { background:var(--good); }
  #results .seg-good   { background:var(--sage); }
  #results .seg-slow   { background:var(--rule); }
  #results .seg-absent { background:var(--surface-sunk); }
  #results .seg-now    { outline-color:var(--amber); }
  #results .season-bar-labels span,
  #results .sc-species.active .season-bar-labels span { font-size:var(--fs-label); color:var(--text-muted); opacity:1; }

  /* "head there" redirect: the section name in the headline and a button under it */
  #results .tp-goto-link { color:inherit; text-decoration:underline; text-decoration-thickness:2px;
    text-underline-offset:.18em; text-decoration-color:var(--fern); }
  #results .tp-goto-link em { color:var(--fern); }
  #results .tp-goto-link:hover { text-decoration-color:var(--amber); }
  #results .tp-upnote { margin:.55rem 0 0; font-size:.86rem; line-height:1.45; color:var(--sage); }
  #results .tp-upnote a { color:var(--fern); text-decoration:underline; white-space:nowrap; }
  #results .tp-goto-btn { display:inline-flex; align-items:center; gap:var(--sp-2); margin:var(--sp-1) 0 var(--sp-3);
    background:var(--fern); color:var(--white); border:0; border-radius:var(--r-md);
    padding:var(--sp-3) var(--sp-4); font:600 var(--fs-base)/1.2 var(--font-body); cursor:pointer; }
  #results .tp-goto-btn:hover { background:var(--moss); }
  #results .tp-goto-btn:focus-visible { outline:2px solid var(--amber); outline-offset:2px; }
  #results .tp-goto-btn[hidden] { display:none; }

  /* Notify bar: optional outlook checkbox under the run-alert offer */
  .notify-bar-outlook { display:flex; align-items:center; gap:.4rem; margin-top:.35rem; font-size:.78rem; color:rgba(255,255,255,.75); cursor:pointer; }
  .notify-bar-outlook input { width:15px; height:15px; accent-color: var(--fern); margin:0; }


  /* Conditions pill with no flow reading or no weather: no call either way (confidenceRead, 2026-11-02) */
  .conf-unknown { background: var(--surface-sunk, #f3f0ea); color: var(--text-muted, #6b7d86); }

  /* ── Phase 2 (2026-11-02): mobile results polish ─────────────────────────────────────────── */

  /* Results labels: 12 px minimum (was 11). Scoped to the results page; the rest of the site keeps its tokens. */
  #results { --fs-label: 12px; }

  /* Hero: the headline names the place; when and what to bring sit on their own lines (renderHeroLines). */
  #results .tp-line { position:relative; margin:.75rem 0 0; padding-left:.9rem; border-left:3px solid var(--fern);
    font:600 1.1rem/1.3 var(--font-serif); color:var(--text-strong); }
  #results .tp-line[hidden] { display:none; }
  #results .tp-line-lbl { display:block; margin:0 0 .2rem; font:600 var(--fs-label)/1 var(--font-body); letter-spacing:0;
    text-transform:none; color:var(--fern); }
  #results .tp-when + .tp-gear { margin-top:.7rem; }
  #results #tp-why { margin:.75rem 0 .5rem; gap:.3rem; }
  #results #tp-why .why-row { font-size:.94rem; line-height:1.45; color:var(--text-body); }

  /* How this was rated: a quiet disclosure under the pill. */

  /* Neutral pill when nothing was rated, same family as the others */
  #results .conf-unknown { background:var(--surface-sunk); color:var(--text-muted); }

  @media (max-width: 600px) {
    /* Hero: less air above and below, headline a step smaller so the place reads in two lines. */
    #results .tpband { padding-top:var(--sp-3); padding-bottom:var(--sp-4); }
    #results .tp-headline { font-size:1.5rem; line-height:1.22; margin-bottom:.35rem; }

    /* Condition tiles: two by two, labels and meanings readable (were 8 to 9 px). */
    #results .tp-tiles { display:grid; grid-template-columns:1fr 1fr; }
    #results .tp-tile-body { padding:7px 10px 8px; }
    #results .tp-tile-lbl { font-size:12px; letter-spacing:.04em; margin-bottom:5px; }
    #results .tp-tile-val { font-size:1.05rem; }
    #results .tp-tiles { margin:var(--sp-2) 0 0; }
    #results .tp-tile-meaning { font-size:12px; line-height:1.3; letter-spacing:.02em; white-space:normal; }

    /* Section headings and labels */
    #results .sec-label h3 { font-size:1.3rem; }
    #results .sec-label p { font-size:.9rem; line-height:1.45; }

    /* Email signup bar: the same bar, fixed at the bottom after the scroll, at about two thirds of its old height.
       Title and close on one row, a one-line note, the tick box, then the field and button at 44 px. */
    .notify-bar { padding:.5rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); border-top-width:1px; }
    .notify-bar.keyboard-up { padding-bottom:.6rem; }
    .notify-bar-inner { display:grid; grid-template-columns:1fr auto; gap:.35rem .5rem; align-items:start; }
    .notify-bar-text { grid-column:1; grid-row:1; min-width:0; gap:0; }
    .notify-bar-icon { display:none; }
    .notify-bar-title { font-size:14px; line-height:1.25; }
    .notify-bar-sub { font-size:12px; line-height:1.3; margin-top:2px; }
    .notify-bar-outlook { font-size:12px; margin-top:4px; }
    .notify-bar-dismiss { grid-column:2; grid-row:1; width:44px; height:44px; margin:-.45rem -.6rem 0 0; padding:0;
      font-size:1.05rem; color:rgba(255,255,255,.8); }
    .notify-bar-form, .notify-bar-success, .notify-bar-error { grid-column:1 / -1; }
    .notify-bar-form { width:100%; gap:.4rem; }
    .notify-bar-input { flex:1; width:auto; min-width:0; height:44px; font-size:16px; padding:0 .75rem; }
    .notify-bar-submit { height:44px; padding:0 1rem; font-size:15px; }
  }

  /* Phase 2: the last small text on the results page, up to 12 px */
  #results .tp-confidence { font-size:12px; }
  /* The verdict chip broke across lines ("WORTH THE / DRIVE"); keep it whole. */
  #results .afnote, #results .bnum-l, #results .gs, #results .gr span, #results .gr { font-size:12px; }
  @media (max-width: 600px) {
    #results .gauge-link, #results .site-footer-nav a { display:inline-flex; align-items:center; min-height:44px; }
  }
}

@layer overrides {
  /* Tiles say how each reading moved the Conditions rating (ratingEffects in the core). */
  #results .tp-tile-effect { margin-top:.35rem; font:500 var(--fs-label)/1.3 var(--font-body); color:var(--mist); opacity:.85; }
  #results .tp-tile-effect.fx-up   { color:var(--good-on-panel); opacity:1; }
  #results .tp-tile-effect.fx-down { color:var(--warn-on-panel); opacity:1; }
  #results .drive-time { white-space:nowrap; }
  /* Why this reach and what holds the rating down, only when conditions are Marginal or Tough. */
  #results .tp-limit { margin:-.25rem 0 .9rem; font:400 .95rem/1.5 var(--font-body); opacity:.92; }
  #results .tp-limit[hidden] { display:none; }
  /* One alternative reach, under the pill note, only when the pick rates Tough (or is unrated). */
  #results .tp-alt { margin:0 0 1rem; padding:.75rem .9rem .8rem; border:1px solid rgba(30,122,110,.35); border-radius:10px; background:rgba(30,122,110,.06); }
  #results .tp-alt[hidden] { display:none; }
  #results .tp-alt-h { font:600 var(--fs-label)/1 var(--font-body); letter-spacing:0; text-transform:none; color:var(--fern); margin-bottom:.45rem; }
  #results .tp-alt-unrated { margin:0 0 .45rem; font-size:.95rem; line-height:1.45; opacity:.92; }
  #results .tp-alt-name { font:600 1.05rem/1.3 var(--font-body); }
  #results .tp-alt-meta { display:flex; flex-wrap:wrap; gap:.1rem .7rem; margin-top:.15rem; font-size:.95rem; line-height:1.45; opacity:.92; }
  #results .tp-alt .tp-goto-btn { margin:.55rem 0 0; }
  /* Notes: the why lines, under the tiles. */
  #results .tp-notes { margin:1rem 0 .25rem; }
  #results .tp-notes[hidden] { display:none; }
  #results .tp-notes-h { font:600 var(--fs-label)/1 var(--font-body); letter-spacing:0; text-transform:none; color:var(--fern); margin-bottom:.4rem; }
  #results .tp-notes #tp-why { margin:0; }
  /* Two condition columns now that the Pre-Trip Routine card is gone (flow, then temperature and light) */
  #results .cgrid { grid-template-columns:repeat(3,1fr); }
  @media (max-width:900px) { #results .cgrid { grid-template-columns:1fr; } }
  /* Mono is for numbers only: words in a tile value use the body sans */
  #results .tp-tile-val .tp-word { font-family:var(--font-body); font-weight:600; }

  /* ---- Type system for the results page (TJ, 2026-11-03: too many fonts, sizes and colours) ----
     Inter only (2026-11-04): display 24, heading 20, title 17, body 15, note 13, label/chip 12.
     Mono: the number itself only. Colours: ink, body, muted, teal, amber, plus white on the dark tile strip. */
  #results { --t-ink:#1a2e3a; --t-body:#31414c; --t-muted:#6b7d86; }
  /* Headings: 20, 600. Section heads only, so a card title never matches or beats the section it sits in (TJ, 2026-11-04). */
  #results .sec-label h3,
  #results .dam h3,
  #results .sshdr h3 {
    font:600 1.25rem/1.25 var(--font-serif); color:var(--t-ink); letter-spacing:-.015em; }
  /* Titles: 17, 600. Card titles (method, gear setup, bait, access spot) and the key names inside them. */
  #results .p-tech h4,
  #results .p-gearname,
  #results .p-bait h5,
  #results .mn,
  #results #m1n,
  #results .sp-banner-name,
  #results .aname,
  #results .p-alt-name,
  #results .more-river-label,
  #results .tg-name,
  #results .gear-title,
  #results .rrank-name {
    font:600 1.0625rem/1.3 var(--font-serif); color:var(--t-ink); letter-spacing:-.01em; font-style:normal; }
  #results .tp-line { font-size:1.0625rem; }
  /* Body: sans 15 */
  #results .adesc,
  #results .why-row,
  #results .tp-upnote,
  #results .regs-bullets li,
  #results .m1d,
  #results #m1d,
  #results .best-window,
  #results .p-tech p {
    font:400 .9375rem/1.5 var(--font-body); color:var(--t-body); letter-spacing:0; }
  /* Note: sans 13, muted */
  #results .best-window-note,
  #results .gear-item-note,
  #results .p-baitfoot,
  #results .p-alt-sub,
  #results .drive-time,
  #results .aloc,
  #results .afnote,
  #results #cond-subtitle,
  #results #tg-subtitle,
  #results .sec-label p,
  #results .bnum-u,
  #results .bnum-l,
  #results .regs-foot,
  #results .tp-eyebrow,
  #results .p-bspec,
  #results .gv,
  #results .spc-label {
    font:400 .8125rem/1.45 var(--font-body); color:var(--t-muted); letter-spacing:0; text-transform:none; }
  #results .gv { color:var(--t-body); }
  /* Label: sans 12, 600, muted */
  #results .regs-title,
  #results .col-lbl,
  #results .sp-banner-lbl,
  #results .gn,
  #results #sweet-range-lbl,
  #results .spc-time,
  #results .tp-tile-lbl {
    font:600 .75rem/1.3 var(--font-body); letter-spacing:0; text-transform:none; }
  /* Accent label: same style, teal */
  #results .tp-line-lbl,
  #results .tp-notes-h,
  #results .tp-alt-h { font:600 .75rem/1 var(--font-body); color:var(--fern); letter-spacing:0; text-transform:none; }
  /* Chips and states: sans 12, 600 (colour carries the state) */
  #results .sp-banner-badge,
  #results .gs,
  #results .ci,
  #results .acard-rec-badge,
  #results .p-badge,
  #results .acrowd,
  #results .tp-confidence,
  #results .tp-tile-effect,
  #results .gauge-link,
  #results .regs-link,
  #results .regs-details-toggle {
    font:600 .75rem/1.3 var(--font-body); letter-spacing:0; text-transform:none; }
  /* Numbers: mono, 500. Axis and spec numbers sit at 12. */
  #results .bnum,
  #results .tp-tile-val { font-family:var(--font-mono); font-weight:500; }
  #results #sweet-range-axis,
  #results #flow-axis-max,
  #results .trd { font:500 .75rem/1.3 var(--font-mono); color:var(--t-muted); letter-spacing:0; }
  #results .tp-tile-val .tp-word { font-family:var(--font-body); font-weight:600; }
  #results { font-weight:400; }
  #results dd { font:400 .9375rem/1.5 var(--font-body); color:var(--t-body); }
  #results dt, #results .gear-item-lbl, #results .regs-zone { font:600 .75rem/1.3 var(--font-body); letter-spacing:0; text-transform:none; }
  #results .p-gearsec { font:400 .8125rem/1.45 var(--font-body); color:var(--t-muted); }
  #results .ac-chevron, #results .p-alt-chev, #results .more-river-chev { font:400 .75rem/1 var(--font-body); }
  #results .rb-open, #results .regs-bullets strong { font-weight:600; }
  /* Technique / Gear / Bait: group labels under the section head, so label size (13, 600, muted), not a heading. */
  #results .p-lbl { font:600 .8125rem/1.2 var(--font-body); letter-spacing:0; text-transform:none; color:var(--t-muted); }
  /* Cards: no rule under the card title; the Sky card has no inner rules and its first line is the reading itself */
  #results .cgrid .col-lbl { border-bottom:0; padding-bottom:0; margin-bottom:.9rem; }
  #sky-col .gw { margin-bottom:.9rem; }
  #sky-col .best-window { margin-top:.9rem; padding-top:.9rem; border-top:0; }
  #sky-col .gh { justify-content:flex-start; }
  #sky-col .gv { font:600 .9375rem/1.4 var(--font-body); color:var(--t-ink); }
}

/* Home form order is date and place, species, method, then the button (TJ, 2026-11-03). One rhythm between groups. */
@layer overrides {
  #landing .field-lbl .opt { font-weight:400; opacity:.6; text-transform:none; letter-spacing:0; font-size:.75rem; margin-left:.25rem; }
  #landing .form-species { margin:-1px 0 0; padding:1.1rem 1.25rem 0; background:var(--white); border:1px solid var(--ed-rule); border-top:0; border-bottom:0; }
  @media (max-width:600px) { #landing .form-species { padding:1.1rem .95rem 0; } }
  #landing .form-species .field-lbl { display:block; margin:0 0 .65rem; }
  #landing .tech-section { padding-top:1.1rem; gap:1.1rem; }
  #landing .tech-section .beginner-only > .field-lbl:first-child { margin-top:0 !important; }
  #landing .tech-section .field-lbl { margin:0 0 .65rem; }
  #landing .tech-section .expert-only { margin-top:0; }
}

/* Home hero photo (TJ, 2026-11-03, audit Phase 4): TJ's Humber steelhead behind the headline. It is the background of the
   copy block, so it adds no height and the form stays where it was. Dark wash for contrast; text turns white. */
@layer overrides {
  #landing .hero-photo {
    background:
      linear-gradient(rgba(10,22,30,.46), rgba(10,22,30,.66)),
      url("/images/hero/home-steelhead.webp") center 50% / cover no-repeat;
  }
  #landing .hero-copy h1,
  #landing .hero-copy p,
  #landing .hero-sub { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  /* The form card is pulled up over the photo edge; a paper lip behind the tabs keeps their text readable. */
  #landing .mode-wrap { background: var(--ed-paper, #fbf9f5); border-radius: 6px 6px 0 0; }
  /* Room between the photo and the mode tabs (TJ): the card is pulled 30px up, so this margin is what is left over. */
  #landing .hero-photo { margin-bottom: .8rem; }
  @media (max-width: 600px) { #landing .hero-photo { margin-bottom: 2.6rem; } }
  /* The outlook link now sits under the main button (TJ, 2026-11-03): a plain teal hyperlink, centred. */
  #landing .form-bottom .hero-outlook { display: flex; justify-content: center; margin: .35rem auto 0; }
}

/* Gear as a rig ladder, rod to hook (TJ picked option B, 2026-11-04). Overrides the old two-column boxes. */
#results .p-gearGrid.gear-lad { display:block; }
#results .gear-lad .gl { list-style:none; margin:.25rem 0 0; padding:0; }
#results .gear-lad .gl li { display:grid; grid-template-columns:40px 1fr; column-gap:12px; min-height:54px; }
#results .gear-lad .gl-ic { position:relative; display:flex; justify-content:center; }
#results .gear-lad .gl-ic::before { content:""; position:absolute; top:0; bottom:0; left:50%; width:1.5px; background:#a9bcc2; transform:translateX(-50%); }
#results .gear-lad .gl li:first-child .gl-ic::before { top:18px; }
#results .gear-lad .gl li:last-child .gl-ic::before { bottom:auto; height:18px; }
#results .gear-lad .gl-ic svg { position:relative; z-index:1; display:block; width:36px; height:36px; background:var(--white, #fff); }
#results .gear-lad .gl-tx { display:flex; flex-direction:column; padding:1px 0 12px; }
#results .gear-lad .gear-item-lbl { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:12px; font-weight:600; color:var(--teal, #1e7a6e); opacity:1; letter-spacing:0; text-transform:none; margin:0 0 1px; }
#results .gear-lad .gear-item-val { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:15px; font-weight:600; line-height:1.3; color:var(--t-ink, #1a2e3a); }
#results .gear-lad .gear-item-note { font-family:Inter,system-ui,-apple-system,sans-serif; font-size:13px; font-style:normal; line-height:1.4; color:var(--t-muted, #6b7d86); opacity:1; margin-top:1px; }

/* Desktop (900 px and up): the same rig reads left to right, rod to hook. Phones keep the vertical ladder. */
@media (min-width:900px) {
  #results .gear-lad .gl { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; column-gap:14px; margin-top:.6rem; }
  #results .gear-lad .gl li { display:flex; flex-direction:column; min-height:0; }
  #results .gear-lad .gl-ic { height:40px; justify-content:center; }
  #results .gear-lad .gl-ic::before { top:50%; bottom:auto; left:-7px; right:-7px; width:auto; height:1.5px; transform:translateY(-50%); }
  #results .gear-lad .gl li:first-child .gl-ic::before { top:50%; left:50%; }
  #results .gear-lad .gl li:last-child .gl-ic::before { bottom:auto; height:1.5px; right:50%; }
  #results .gear-lad .gl-tx { padding:8px 0 0; text-align:center; align-items:center; }
}

/* "Pick a city first" message under the location field (TJ, 2026-11-04). */
@layer overrides {
  #landing .loc-msg { margin: .4rem 0 0; font: 600 13px/1.3 Inter,system-ui,-apple-system,sans-serif; color: #9a5a1c; }
  #landing .loc-msg[hidden] { display: none; }
}

/* Compact home form on phones (TJ, 2026-11-04, from Clarity: the button sat below the fold on a 664 px window).
   A method collapsed to one row, B species tiles with the photo beside the name, C no hero subtitle,
   D date and city labels inside their fields. Phones only; desktop is unchanged. */
@layer overrides {
  @media (max-width: 600px) {
    /* C */
    #landing .hero-sub { display: none; }
    /* D */
    #landing .form-top .field-group { position: relative; }
    #landing .form-top .field-lbl {
      position: absolute; top: 6px; left: 12px; z-index: 1; margin: 0; pointer-events: none;
      font: 600 11px/1 Inter,system-ui,-apple-system,sans-serif; color: var(--t-muted, #6b7d86); text-transform: none; letter-spacing: 0;
    }
    #landing .form-top .field-input { padding-top: 17px; padding-bottom: 3px; height: 48px; box-sizing: border-box; }
    #landing .form-top input[type="date"] { line-height: 28px; }
    /* B */
    #landing .species-btn { flex-direction: row; align-items: center; justify-content: flex-start; gap: .4rem; min-height: 46px; padding: .3rem .4rem; text-align: left; }
    #landing .species-btn-img { width: 30px; height: 30px; border-radius: 50%; }
    #landing .species-btn-img img { width: 30px; height: 30px; object-fit: cover; }
    #landing .species-btn-name { text-align: left; font-size: 12px; line-height: 1.15; letter-spacing: 0; word-break: normal; overflow-wrap: normal; hyphens: none; }
    #landing .species-btn .sp-badge { top: -6px; right: 4px; }
    #landing .tech-section { padding-top: .2rem; gap: .5rem; }
    #landing .form-species { padding-bottom: 0; }
  }
}

/* Inter replaced the mono for numbers (2026-11-04): tabular figures keep numbers aligned. */
#results, #landing .land-date { font-variant-numeric: tabular-nums; }
#landing :is(button,input,select,textarea), #results :is(button,input,select,textarea) { font-family: inherit; }
/* Inter headings (2026-11-04, as in the approved preview): lighter, tighter large type. */
#landing h1 { font-weight: 500; letter-spacing: -.035em; }
#results .tp-headline { font-weight: 500; letter-spacing: -.02em; }
#results .sec-label h3, #results .sname { font-weight: 600; letter-spacing: -.015em; }
@media (max-width: 600px) {
  #landing .logo-name, #results .res-logo-name { font-size: .98rem; letter-spacing: -.02em; }
}
/* Home subtitle: phones and iPads skip it to win back height (TJ, 2026-11-04). Touch screens of any width, plus any window
   narrower than a laptop. */
@media (max-width: 1199px), (hover: none) and (pointer: coarse) {
  #landing .hero-sub { display: none; }
}

/* Home form: more air, one label style, season dots (TJ, 2026-11-04, from iPhone: "too dense and busy").
   Labels are sentence case 13 px; the tile chips are now coloured dots (green good, amber slow, red closed) with a small
   legend under the tiles. The word stays in the tile's title and screen-reader text (updateSpeciesGrid). */
#landing .field-lbl { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--t-ink, #1a2e3a); }
#landing .field-lbl .opt { font-size: 13px; font-weight: 400; opacity: 1; color: var(--t-muted, #6b7d86); margin-left: .3rem; }
#landing .species-btn .sp-badge { top: 7px; right: 7px; width: 9px; height: 9px; padding: 0; border-radius: 50%; font-size: 0; line-height: 0; color: transparent; background: var(--dot); box-shadow: 0 0 0 2px #fff; }
#landing .sp-badge[data-s="prime"], #landing .sp-badge[data-s="good"], #landing .sp-legend [data-s="good"] { --dot: #2f9e6f; }
#landing .sp-badge[data-s="slow"], #landing .sp-badge[data-s="out"], #landing .sp-legend [data-s="slow"] { --dot: #e0a526; }
#landing .sp-badge[data-s="closed"], #landing .sp-legend [data-s="closed"] { --dot: #c8463c; }
#landing .sp-legend { display: flex; gap: 1rem; margin: .6rem 0 0; font-size: 12px; line-height: 1; color: var(--t-muted, #6b7d86); }
#landing .sp-legend span { display: inline-flex; align-items: center; gap: .35rem; }
#landing .sp-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
/* Reach chips are gone from "Check by river" (the app picks the reach; results list the other reaches). */
#landing #river-section-picker, #landing .mode-expert #river-section { display: none !important; }
@media (max-width: 600px) {
  #landing .species-btn-grid { gap: 10px; }
  #landing .species-btn { min-height: 54px; padding: .45rem .55rem; gap: .5rem; }
  #landing .species-btn-name { font-size: 13px; }
  /* the dot sits on the photo's corner, like a status badge, so it never crowds the name */
  #landing .species-btn .sp-badge { top: calc(50% - 17px); right: auto; left: calc(.55rem + 23px); }
  #landing .form-species { padding-top: 1.1rem; }
  #landing .form-top .field-lbl { font-size: 11px; color: var(--t-muted, #6b7d86); }
  #landing .tech-section { padding-top: .6rem; }
}
/* Results: the other reaches on this river, one quiet line under the headline. */
#results .tp-reaches { margin: .35rem 0 0; font-size: 13px; line-height: 1.5; color: var(--t-muted, #6b7d86); }
#results .tp-reaches a { color: var(--fern, #1e7a6e); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#results .tp-reach-closed { color: var(--t-muted, #6b7d86); }
/* iPad and narrow windows: a shorter hero and tighter form so "Find my best spot" clears the bottom of the screen
   (TJ, 2026-11-04: on iPad the button sat at the very bottom). */
@media (min-width: 601px) and (max-width: 1199px), (min-width: 601px) and (hover: none) and (pointer: coarse) {
  #landing .hero-copy { padding-top: 2.1rem; padding-bottom: 1.9rem; }
  #landing .hero-photo { margin-bottom: 1.2rem; }
  #landing .form-top { padding-bottom: .6rem; }
  #landing .method-row .tech-family-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: .45rem; min-height: 0; padding: .7rem .6rem; }
  #landing .method-row .tc-icon { margin: 0; position: static; display: flex; }
  #landing .method-row .tech-family-btn { white-space: nowrap; }
}

/* Results hierarchy fixes (TJ, 2026-11-04). Tile meaning lines were 8 px on desktop; one size for the notify bar; access
   card descriptions at body size. Roles: display 24 (28 desktop) > heading 20 > title 17 > body 15 > note 13 > label 12. */
#results .tp-tile-meaning { font-size: 12px; line-height: 1.3; white-space: normal; }
#results .tp-tile-val, #results .tp-tile-val .tp-word { font-size: 17px; font-weight: 600; }
#results dd { font-size: 15px; line-height: 1.5; }
@media (min-width: 901px) { #results .tp-headline { font-size: 28px; line-height: 1.25; } }
.notify-bar .notify-bar-title { font-size: 15px; font-weight: 600; }
.notify-bar .notify-bar-sub { font-size: 13px; }
.notify-bar .notify-bar-submit { font-size: 15px; font-weight: 600; }
#results .back-btn, #results .map-cta { font-size: 13px; }
#results .res-center-val { font-size: 15px; font-weight: 600; }
#results #fcl li, #results #fcl li span:not(.ci) { font-size: 13px; }
.notify-bar label, .notify-bar label span { font-size: 13px; }

/* Phones: Method is always open again (TJ, 2026-11-05: with the roomier tiles the button still clears the fold), as one
   compact row: small icon over a one-line 12 px word, so the four buttons add about 50 px instead of 72. */
@media (max-width: 600px) {
  #landing .method-row .tech-family-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; min-height: 50px; padding: .4rem .2rem; font-size: 12px; line-height: 1.1; text-align: center; white-space: nowrap; }
  #landing .method-row .tc-icon { margin: 0; position: static; display: flex; flex: none; }
}
@media (max-width: 379px) { #landing .method-row .tech-family-btn { white-space: normal; } }

/* One form (TJ picked layout B, 2026-11-05): no tabs. Every width: Date on its own row, then City and River side by side
   (TJ preferred this on desktop too). City is needed only when no river is picked. */
#landing .mode-toggle { display: none !important; }
#landing .form-top { margin-top: 0; }
#landing .form-top { display: grid; grid-template-columns: 1fr 1fr; }
#landing .form-top > #date-field-group, #landing .form-top > .form-sec-lbl { grid-column: 1 / -1; }
/* Android Chrome keeps a native date input at its intrinsic width; force it to the row */
#landing #date-field-group { min-width: 0; }
#landing #date-field-group .field-input { display: block; width: 100%; min-width: 100%; max-width: none; box-sizing: border-box; text-align: left; }
#landing #date-field-group input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* "When and where": same look as the Target species and Method headings */
#landing .form-top > .form-sec-lbl { margin: 0; font: 600 13px/1.2 Inter,system-ui,-apple-system,sans-serif; color: var(--t-ink, #1a2e3a); letter-spacing: 0; text-transform: none; }
#landing #river-field-group { display: flex; flex-direction: column; min-width: 0; }
#landing #river-field-group .field-input { width: 100%; }
#landing #river-field-group > .field-lbl { display: block; }
@media (min-width: 601px) { #landing .form-top > .field-group > .field-lbl { line-height: 20px; height: 20px; } }
@media (min-width: 601px) { #landing .form-top { row-gap: .8rem; } }
/* iPad and narrow windows: smaller species tiles (36 px photo, 12 px name) so the button clears the screen (TJ, 2026-11-05). */
@media (min-width: 601px) and (max-width: 1199px), (min-width: 601px) and (hover: none) and (pointer: coarse) {
  #landing .species-btn { padding: .45rem .3rem .4rem; gap: .25rem; min-height: 0; }
  #landing .species-btn-img { width: 36px !important; height: 36px !important; }
  #landing .species-btn-name { font-size: 12px; line-height: 1.2; }
}

/* Phones: pay back the ~25 px the "When and where" heading costs, so the button stays on a 390 x 664 screen */
@media (max-width: 600px) {
  #landing .form-card { margin-top: 12px; }
  #landing .form-top { padding-top: 12px; }
  #landing .form-species { padding-top: 14px; }
  #landing .form-species > .field-lbl { margin-bottom: 8px; }
  #landing .sp-legend { margin-top: 8px; }
  #landing .beginner-only .tech-family-btn { padding-top: 4px; padding-bottom: 4px; }
}
/* Wider screens: Date, Your city and River are sub-labels under "When and where", so they sit a step below it */
@media (min-width: 601px) {
  #landing .form-top > .field-group > .field-lbl { font-size: 12px; font-weight: 500; color: var(--t-muted, #6b7d86); }
  #landing .form-top > .form-sec-lbl { margin-bottom: -.35rem; }
}

/* Phones: photo above the name, so every species name fits its tile (TJ, 2026-11-05: "Steelhead" ran past its box) */
@media (max-width: 600px) {
  #landing .species-btn { flex-direction: column; justify-content: center; align-items: center; gap: 3px; padding: 6px 4px 5px; min-height: 0; text-align: center; }
  #landing .species-btn-img, #landing .species-btn-img img { width: 28px; height: 28px; }
  #landing .species-btn-name { text-align: center; line-height: 1.15; }
  #landing .species-btn .sp-badge { top: 4px; left: calc(50% + 7px); right: auto; }
}
@media (max-width: 600px) { #landing .form-top .field-lbl .opt { font-size: 11px; } }
/* "(a city, a river, or both)" after "When and where": same look as the "(optional)" after Target species and Method */
#landing .form-sec-lbl .opt { font-size: 13px; font-weight: 400; color: var(--t-muted, #6b7d86); margin-left: .3rem; }

/* Condition tiles as light cards (TJ picked option 1, 2026-11-05: the dark tile block drew more attention than the
   headline). White card, thin border, the reading's colour as a dot by the label and on the line under the value.
   Technique (`tech`) is not a condition, so it has no dot. */
#results #tp-tiles { background: none; padding: 0; gap: 8px; border-radius: 0; box-shadow: none; }
#results #tp-tiles .tp-tile { background: #fff; border: 1px solid var(--rule, #e2ddd0); border-radius: 12px; box-shadow: none; }
#results #tp-tiles .tp-tile-bar { display: none; }
#results #tp-tiles .tp-tile-lbl { display: flex; align-items: center; gap: 6px; color: var(--t-muted, #6b7d86); }
#results #tp-tiles .tp-tile-lbl::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #a9b4ba; }
#results #tp-tiles .tp-tile.good .tp-tile-lbl::before { background: #2f9e6f; }
#results #tp-tiles .tp-tile.ok .tp-tile-lbl::before { background: #d39a1c; }
#results #tp-tiles .tp-tile.poor .tp-tile-lbl::before { background: #c8463c; }
#results #tp-tiles .tp-tile.tech .tp-tile-lbl::before { display: none; }
#results #tp-tiles .tp-tile-val, #results #tp-tiles .tp-tile-val .tp-word { color: var(--t-ink, #1a2e3a); }
#results #tp-tiles .tp-tile-meaning { color: var(--t-muted, #6b7d86); }
#results #tp-tiles .tp-tile.good .tp-tile-meaning { color: #1e7a6e; }
#results #tp-tiles .tp-tile.ok .tp-tile-meaning { color: #9a6a0c; }
#results #tp-tiles .tp-tile.poor .tp-tile-meaning { color: #b23b31; }
#results #tp-tiles .tp-tile-effect { color: var(--t-muted, #6b7d86); opacity: 1; }
#results #tp-tiles .tp-tile-effect.fx-up { color: #1e7a6e; }
#results #tp-tiles .tp-tile-effect.fx-down { color: #9a6a0c; }

/* "Next" pill on results, phones only (TJ picked A, 2026-11-05, over the jump bar: no screen space lost).
   Bottom right, above the email bar when it shows (app.js sets `bottom`). */
.res-next { display: none; }
@media (max-width: 599px) {
  .res-next.on { display: inline-flex; position: fixed; right: 14px; bottom: 14px; z-index: 300; align-items: center; gap: 6px;
    border: 0; border-radius: 999px; background: #1e7a6e; color: #fff; cursor: pointer;
    font: 600 14px/1 Inter, system-ui, -apple-system, sans-serif; padding: 11px 15px 11px 16px;
    box-shadow: 0 4px 14px rgba(30, 122, 110, .32); -webkit-tap-highlight-color: transparent; }
  .res-next .rn-pre { font-weight: 400; opacity: .8; }
  .res-next:focus-visible { outline: 2px solid #0e2a4a; outline-offset: 2px; }
}


/* Home: ideas borrowed from TJ's Figma Make concept (TJ, 2026-11-06), without undoing the phone form.
   1. TJ's fall lake photo replaces the steelhead as the hero, at every width (800 px file on phones).
   2. Warmer paper behind the home page.
   3. From 1000 px up (iPad landscape and desktop) the form card sits beside the photo, on the right, so the whole form
      and its button fit on the first screen; the headline, subtitle and three short points sit on the left. Thin rules
      separate When and where, Target species and Method there (no step numbers). Phones keep the stacked form. */
#landing, #landing .land-header { background-color: #f4f0e6; }
#landing .hero-photo {
  background:
    linear-gradient(rgba(8,26,24,.40), rgba(8,26,24,.55)),
    url("/images/hero/home-fall-lake-800.webp") center 40% / cover no-repeat;
}
.hero-points { display: none; }
@media (min-width: 1000px) {
  #landing .hero-photo {
    height: 600px; min-height: 0; padding: 0; align-items: flex-start; justify-content: flex-start;
    background:
      linear-gradient(90deg, rgba(8,26,24,.72) 0%, rgba(8,26,24,.34) 50%, rgba(8,26,24,.06) 80%),
      linear-gradient(0deg, rgba(8,26,24,.40) 0%, transparent 45%),
      url("/images/hero/home-fall-lake.webp") center 45% / cover no-repeat;
  }
  #landing .hero-photo .hero-copy {
    width: min(1180px, calc(100% - 64px)); max-width: none; margin: 0 auto; text-align: left;
    padding: 132px 600px 0 0;
  }
  #landing .hero-photo h1 { font-size: 56px; line-height: 1.02; letter-spacing: -.03em; text-align: left; margin: 0; }
  #landing .hero-sub { display: block; max-width: 420px; margin: 18px 0 0; text-align: left; font: 400 18px/1.5 Inter, system-ui, -apple-system, sans-serif; }
  #landing .hero-sub-more { display: inline; }
  .hero-points { display: block; list-style: none; margin: 30px 0 0; padding: 22px 0 0; max-width: 400px; border-top: 1px solid rgba(255,255,255,.28); }
  .hero-points li { position: relative; padding-left: 26px; margin: 0 0 12px; color: #fff; font: 500 15px/1.4 Inter, system-ui, -apple-system, sans-serif;
    text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  .hero-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #9fe0c4; font-weight: 700; }

  #landing .land-header { max-width: min(1180px, calc(100% - 64px)); padding-left: 0; padding-right: 0; }
  #landing .form-card { width: min(1180px, calc(100% - 64px)); max-width: none; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; }
  #landing .form-card > .mode-wrap { width: 540px; margin: -560px 0 0 auto; position: relative; z-index: 3; padding: 6px 6px 4px;
    background: #fffdf8; border-radius: 22px; box-shadow: 0 24px 70px rgba(8,35,45,.22); }
  #landing .form-card > .mode-wrap::before { display: none; }
  #landing .form-card > .mode-wrap > .form-top,
  #landing .form-card > .mode-wrap > #form-species,
  #landing .form-card > .mode-wrap > .tech-section { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
  #landing .form-card > .mode-wrap > #form-species { border-top: 1px solid #e3ddcf; margin: 4px 22px 0; padding-left: 0; padding-right: 0; }
  #landing .form-card > .mode-wrap > .tech-section > .beginner-only { border-top: 1px solid #e3ddcf; padding-top: 14px; }
  #landing .form-card > .default-preview-wrap, #landing .form-card > .guides-wrap { max-width: 660px; margin-left: auto; margin-right: auto; }
  #landing .form-card > .default-preview-wrap { margin-top: 48px; }
}

/* Results: the same fall lake photo behind the target-species strip (TJ, 2026-11-06). The strip was already there, so
   it adds no height on phones. Phones and iPad portrait (under 1000 px): one line, photo circle, name, season badge; the
   "Target species" label is dropped (it cut "Steelhead" off at 360 px) and two fish wrap instead of being cut off.
   From 1000 px up the strip is taller and the summary (#tpband) is a white card that overlaps its bottom edge, like the
   form card on the home page (TJ picked B). */
#results #species-banner {
  background:
    linear-gradient(90deg, rgba(8,26,24,.78) 0%, rgba(8,26,24,.45) 55%, rgba(8,26,24,.25) 100%),
    url("/images/hero/home-fall-lake-800.webp") center 42% / cover no-repeat;
  padding-top: 12px; padding-bottom: 12px;
}
#results #species-banner .sp-banner-fish { border: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
#results #species-banner .sp-banner-lbl { color: rgba(255,255,255,.78); }
#results #species-banner .sp-banner-name { color: #fff; }
#results #species-banner .sp-banner-badge { color: rgba(255,255,255,.8); }
#results #species-banner .sp-banner-badge[data-state="good"] { color: #9fe0c4; }
#results #species-banner .sp-banner-badge[data-state="warn"] { color: #f5cd77; }
#results #species-banner .sp-banner-badge[data-state="bad"] { color: #f4a397; }
@media (max-width: 999px) {
  #results #species-banner { gap: 10px; min-height: 64px; box-sizing: border-box; }
  #results #species-banner .sp-banner-fish { width: 40px; height: 40px; }
  #results #species-banner > .sp-banner-fish + div { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; min-width: 0; }
  #results #species-banner .sp-banner-lbl { display: none; }
  #results #species-banner .sp-banner-name { margin: 0; font-size: 17px; line-height: 1.2; min-width: 0; }
  #results #species-banner .sp-banner-badge { margin: 0; flex: none; font-size: 13px; line-height: 1.2; white-space: nowrap; }
}
@media (min-width: 1000px) {
  #results #species-banner {
    padding-top: 22px; padding-bottom: 110px;
    background:
      linear-gradient(90deg, rgba(8,26,24,.78) 0%, rgba(8,26,24,.40) 50%, rgba(8,26,24,.10) 85%),
      url("/images/hero/home-fall-lake.webp") center 45% / cover no-repeat;
  }
  #results #tpband { background: transparent; padding-top: 0; margin-top: -96px; position: relative; z-index: 2; }
  #results #tpband .tpband-inner { background: #fffdf8; border-radius: 22px; box-shadow: 0 24px 70px rgba(8,35,45,.18); padding: 26px 30px 24px; }
}

/* Flow card in plain English (TJ, 2026-11-06): the band ("Normal flow") leads, the reading sits under it, then what
   the fish do in that flow (#fnote). Title size, like the other card titles; the bar's own status word is dropped. */
#results .fhead-wrap { align-items: baseline; gap: .45rem; margin-bottom: .25rem; }
#results .fhead { font: 600 1.375rem/1.2 Inter, system-ui, -apple-system, sans-serif; letter-spacing: -.01em; color: var(--t-ink, #12212c); }
#results .fhead-wrap .trd { font-size: 1rem; }
#results .fnote { margin: 0 0 .9rem; font: 400 .9375rem/1.5 Inter, system-ui, -apple-system, sans-serif; color: var(--t-body, #2c3a44); }
#results .fnote[hidden] { display: none; }
#results :is(#fstat, #tstat):empty { display: none; }

/* Sky strip: periods already over today are dimmed (TJ, 2026-11-07). */
#results .spc.spc-past { opacity: .4; }

/* Day chips replace the native date picker (TJ, 2026-11-07): one tap, no OK. #trip-date stays in the DOM, hidden. */
#landing #date-field-group #trip-date { display: none; }
#landing .day-chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
#landing .day-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 48px; padding: 6px 2px; border: 1px solid var(--ed-line, #d9d3c4); border-radius: 3px; background: var(--paper, #fbf9f4);
  color: var(--ed-ink, #12212c); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#landing .day-chip .dc-day { font-size: 13px; font-weight: 600; line-height: 1.2; }
#landing .day-chip .dc-date { font-size: 11px; line-height: 1.2; color: var(--t-muted, #6b7680); font-variant-numeric: tabular-nums; }
#landing .day-chip.active { border-color: var(--fern, #1e7a6e); background: rgba(30,122,110,.08); box-shadow: inset 0 0 0 1px var(--fern, #1e7a6e); }
#landing .day-chip.active .dc-day, #landing .day-chip.active .dc-date { color: var(--fern, #1e7a6e); }
#landing .day-chips-more { display: contents; }
#landing .day-chips-more[hidden] { display: none; }
#landing .day-chip.day-more:not(.active) { background: transparent; border-style: dashed; }
#landing .day-chip.day-more:not(.active) .dc-day { color: var(--fern, #1e7a6e); }
@media (max-width: 600px) {
  /* The in-field "Date" label sat inside the old input; the heading above the field group says what this row is. */
  #landing #date-field-group > .field-lbl { display: none; }
}

/* Rounded form controls (TJ, 2026-11-07): match the river and guide pages, where the signup and Today boxes use 10 px and
   their fields and buttons 8 px. Unlayered so it beats the 3 px rules above. */
#landing .field-input, #landing select.field-input, #landing .species-btn, #landing .tech-family-btn,
#landing .forecast-btn, #landing .day-chip { border-radius: 8px; }

/* Shorter hero on phones (TJ, 2026-11-07): about 14 px off the photo so the Find button sits higher. The headline also
   steps down a little under 370 px so it stays on one line (at 360 px it wrapped to two). */
@media (max-width: 600px) {
  /* Equal space above and below the headline so it sits in the middle of the photo (TJ, 2026-11-07). */
  #landing .hero-copy { padding-top: 15px; padding-bottom: 15px; }
  #landing .hero-copy h1 { margin-bottom: 0; }
}
@media (max-width: 369px) {
  #landing .hero-copy h1 { font-size: 33px; }
}

/* Hero points link (TJ, 2026-11-07): the "Built by TJ" point links to the About page. */
.hero-points li a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.hero-points li a:hover { text-decoration-color: #fff; }
/* Six points fit beside the form on iPad landscape and small laptops (1000 to 1199 px): tighter rules and gaps. */
@media (min-width: 1000px) and (max-width: 1199px) {
  .hero-points { margin-top: 18px; padding-top: 16px; }
  .hero-points li { margin-bottom: 7px; font-size: 14px; }
}

/* One selected look on the form (TJ, 2026-11-07): teal border, light teal fill and teal label for the picked day, fish and
   method. The fish name was amber (an old rule) and the method label dark ink. */
#landing .species-btn.active .species-btn-name,
#landing .tech-family-btn.active, #landing .tech-family-btn.active * { color: var(--fern, #1e7a6e); }
#landing .species-btn.active, #landing .tech-family-btn.active { background: rgba(30,122,110,.08); }
#landing .tech-family-btn.active svg, #landing .tech-family-btn.active svg * { stroke: var(--fern, #1e7a6e); }

/* Form spacing rebalance (TJ, 2026-11-08: "dense at the top, loose around the button"). More air in When and where,
   less dead space under Find my best spot. On phones the extra top space is paid for by a smaller gap between the photo
   and the card and a slightly tighter Method-to-button gap, so the button does not move down. */
#landing .form-top { padding-top: 18px; row-gap: 13px; }
#landing #date-field-group { row-gap: 6px; }
#landing #forecast-btn-el { margin-top: 6px; }
#landing .form-bottom { row-gap: 4px; }
#landing .hero-outlook { margin-top: 0; }
#landing .tech-section { padding-bottom: 8px; }
@media (max-width: 600px) {
  #landing .form-card { margin-top: 0; }
}

/* Under 389 px "Rainbow Trout" wrapped to two lines and pushed the Find button down; it reads "Rainbow" there (TJ, 2026-11-08).
   data-label stays "Rainbow Trout", so results, regs and analytics are unchanged. */
@media (max-width: 389px) {
  #landing .sp-name-rest { display: none; }
}
/* Under 380 px "Spin Fishing" and "Float Fishing" wrapped to two lines; the method buttons read Spin, Float, Fly there (TJ, 2026-11-08). */
@media (max-width: 379px) {
  #landing .mth-rest { display: none; }
}
/* 360 px phones: 3 px short of fitting the button; a slightly shorter photo band (headline still centred) gets it on screen. */
@media (max-width: 369px) {
  #landing .hero-copy { padding-top: 12px; padding-bottom: 12px; }
}
/* 360 and 375 px phones: "Today" filled its day button edge to edge; a step smaller there (TJ, 2026-11-08). */
@media (max-width: 379px) {
  #landing .day-chips { gap: 4px; }
  #landing .day-chip .dc-day { font-size: 12px; }
  #landing .day-chip .dc-date { font-size: 11px; }
}

/* Season bar: one initial under each of the 12 segments (TJ, 2026-11-10). Gap matches .season-bar. */
.season-bar-labels { justify-content:normal; gap:1px; }
.season-bar-labels span { flex:1; text-align:center; }

/* Bait as cards from 760 px (TJ, 2026-11-10): three to a row from 1000 px, two between 760 and 999. Phones keep the top
   card plus the tap-to-open list. The top pick keeps its "Start here" badge and a teal edge. */
#tg-bait-grid { display:none; }
@media (min-width:760px) {
  #pillar-bait #tg-bait-card, #pillar-bait #tg-bait-alts { display:none; }
  #tg-bait-grid { display:block; }
  #results .p-bgrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #results .p-bgrid + .p-bgrid { margin-top:12px; }
  #results .p-bgrid[hidden] { display:none; }
  #results .p-bgc { background:var(--white); border:1px solid var(--rule); border-radius:var(--r-md); padding:14px; display:flex; flex-direction:column; }
  #results .p-bgc-top { border-color:var(--teal, #1e7a6e); box-shadow:inset 0 3px 0 var(--teal, #1e7a6e); }
  #results .p-bgc .p-bait-top { align-items:flex-start; }
  #results .p-bgc .p-bimg { width:72px; height:56px; }
  #results .p-bgc h5 { margin:.35rem 0 .15rem; }
  #results .p-bgc .p-alt-when { display:inline-block; }
  #results .p-bgc .p-how { display:block; margin-top:12px; padding-top:0; border-top:0; }
  #results .p-bgc .p-how > div { background:var(--surface-sunk); border-radius:var(--r-md); padding:8px 10px; }
  #results .p-bgc .p-how > div + div { margin-top:8px; }
  #results #tg-bait-grid .p-more { margin-top:8px; }
}
@media (min-width:1000px) {
  #results .p-bgrid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Home hero from 1000 px (TJ, 2026-11-10, a Dell laptop): the photo was a fixed 600 px and the form card (about 680 px,
   more with "More dates" open) hung past its bottom edge, so the photo ended in a hard line across the form. The photo
   now grows with the card: --hero-h is set from the card's height by syncHeroHeight() in app.js (card + 32 px above +
   48 px below, at least 600). The fallback covers the closed form before the script runs. */
@media (min-width: 1000px) {
  #landing .hero-photo { height: var(--hero-h, 760px); }
  #landing .form-card > .mode-wrap { margin-top: calc(32px - var(--hero-h, 760px)); margin-bottom: 92px; }
}

/* Home hero photo as an <img> (TJ, 2026-11-10: on an external monitor the photo drew at its natural 1600 px in the middle
   of a wider hero, with bare wash on both sides, so the CSS background's "cover" didn't hold there). The photo is now an
   <img class="hero-img"> with object-fit: cover and a 800/1600 srcset; the wash moved from the hero's background to
   .hero-photo-bg on top of it. Same crop (centre 40% on phones, 45% from 1000 px) and the same gradients as before. */
#landing .hero-photo { position: relative; isolation: isolate; background: #24302c; }
#landing .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  z-index: 0; display: block; pointer-events: none; }
#landing .hero-photo-bg { display: block; position: absolute; inset: 0; z-index: 1; animation: none;
  background: linear-gradient(rgba(8,26,24,.40), rgba(8,26,24,.55)); }
#landing .hero-photo-bg::before, #landing .hero-photo-bg::after { display: none; }
#landing .hero-photo .hero-copy { position: relative; z-index: 2; }
@media (min-width: 1000px) {
  #landing .hero-img { object-position: center 45%; }
  #landing .hero-photo-bg { background:
    linear-gradient(90deg, rgba(8,26,24,.72) 0%, rgba(8,26,24,.34) 50%, rgba(8,26,24,.06) 80%),
    linear-gradient(0deg, rgba(8,26,24,.40) 0%, transparent 45%); }
}

/* Results species strip: the same photo as an <img> for the same reason as the home hero (TJ, 2026-11-10: the CSS
   background drew at 1600 px with bars on his external monitor). The wash is the strip's ::before; children sit above. */
#results #species-banner { position: relative; isolation: isolate; overflow: hidden; background: #24302c; }
#results #species-banner .sp-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%; z-index: -2; display: block; pointer-events: none; }
#results #species-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,26,24,.78) 0%, rgba(8,26,24,.45) 55%, rgba(8,26,24,.25) 100%); }
@media (min-width: 1000px) {
  #results #species-banner .sp-banner-img { object-position: center 45%; }
  #results #species-banner::before { background: linear-gradient(90deg, rgba(8,26,24,.78) 0%, rgba(8,26,24,.40) 50%, rgba(8,26,24,.10) 85%); }
}

/* Page speed (2026-11-11): hold the day-chip row's height before app.js fills it, so the form doesn't jump down 48 px. */
#landing .day-chips:empty { min-height: 48px; }
/* The hero and species-banner photos sit in a <picture> (phone strip, 2026-11-11). Keep the wrapper out of the layout so
   flex gaps behave as they did with a bare, absolutely placed <img>. */
.hero-photo > picture, #results #species-banner > picture { position: absolute; inset: 0; display: block; }

/* Spinners and spoons under the float baits when Spin is picked (TJ, 2026-11-14) */
#results .p-lures { margin-top:16px; padding-top:14px; border-top:1px solid var(--rule, #e2ded6); }
#results .p-lures[hidden] { display:none; }
#results .p-lures-lbl { font:600 13px/1.3 Inter,system-ui,-apple-system,sans-serif; color:var(--t-muted, #6b7d86); margin-bottom:8px; }
#results .p-lures-grid { display:none; }
@media (min-width:760px) {
  #results .p-lures-rows { display:none; }
  #results .p-lures-grid { display:grid; }
}

/* Rain and snow on the Sky card (TJ, 2026-11-14) */
#results .sky-rain { margin-top:4px; font:400 13px/1.4 Inter,system-ui,-apple-system,sans-serif; color:var(--t-muted, #6b7d86); }
#results .sky-rain[hidden] { display:none; }
/* Feedback (assets/feedback.js, TJ 2026-11-14): one mint card look for the homepage trip question and the
   results add-or-fix card, plus the footer sheet. Buttons reset here because the global button styles add padding. */
.hff-fb { padding:12px 14px; border:1px solid var(--border); border-radius:12px; background:var(--good-tint);
  font-family:Inter,system-ui,-apple-system,sans-serif; box-sizing:border-box; }
.hff-fb-top { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.hff-fb h4 { margin:0; font:600 15px/1.35 Inter,system-ui,-apple-system,sans-serif; color:var(--ink); }
.hff-fb-sub { margin:4px 0 12px; font-size:13.5px; line-height:1.45; color:var(--ed-muted); }
.hff-fb-x { border:0 !important; background:none !important; box-shadow:none !important; color:var(--ed-muted);
  font-size:20px !important; line-height:20px !important; height:20px !important; min-height:0 !important;
  padding:0 2px !important; margin:0 !important; cursor:pointer; flex-shrink:0; }
.hff-fb-thanks { margin:0; font:500 14px/1.45 Inter,system-ui,-apple-system,sans-serif; color:var(--fern); }
.hff-fb-err { margin:8px 0 0; font-size:13px; color:var(--red); }
.hff-fb-send { padding:0 18px; border:1px solid var(--fern); border-radius:10px; background:var(--fern); color:#fff;
  font:500 14px Inter,system-ui,-apple-system,sans-serif; cursor:pointer; min-height:44px; }
.hff-fb-send:disabled { opacity:.6; }
.hff-fb textarea, .hff-sheet textarea, .hff-sheet input { box-sizing:border-box; font:16px/1.4 Inter,system-ui,-apple-system,sans-serif;
  padding:10px 12px; border:1px solid rgba(30,122,110,.35); border-radius:10px; background:#fff; color:var(--ink); }

/* Trip question on the homepage form: heading and four buttons in one row */
.hff-trip { margin:0 0 14px; }
.hff-trip h4 { margin-bottom:10px; }
.hff-trip-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:6px; }
.hff-trip-btn { font:500 13px Inter,system-ui,-apple-system,sans-serif; padding:9px 2px; min-height:40px; border-radius:10px;
  border:1px solid rgba(30,122,110,.35); background:#fff; color:var(--ink); white-space:nowrap; cursor:pointer; }
.hff-trip-btn.on { background:var(--fern); color:#fff; border-color:var(--fern); }
@media (max-width:370px) { .hff-trip { padding:12px 10px; } .hff-trip-grid { gap:5px; } .hff-trip-btn { font-size:12.5px; } }

/* Add-or-fix card on results, same width as the sections above it */
#results .hff-idea-host { padding:8px var(--band-pad) 24px; }
.hff-idea-row { display:flex; gap:6px; align-items:stretch; }
.hff-idea-row textarea { flex:1; min-width:0; resize:none; }

/* Footer sheet: bottom sheet on phones, dialog from 600 px */
.hff-scrim { position:fixed; inset:0; background:rgba(13,31,45,.45); z-index:10000; display:flex; align-items:flex-end; justify-content:center; }
.hff-sheet { background:#fff; width:100%; border-radius:16px 16px 0 0; padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  box-sizing:border-box; font-family:Inter,system-ui,-apple-system,sans-serif; }
.hff-sheet h4 { margin:0; font:600 17px/1.35 Inter,system-ui,-apple-system,sans-serif; color:var(--ink); }
.hff-sheet textarea, .hff-sheet input { display:block; width:100%; margin:0 0 10px; }
.hff-sheet textarea { resize:vertical; }
.hff-sheet .hff-fb-send { width:100%; }
@media (min-width:600px) { .hff-scrim { align-items:center; } .hff-sheet { width:440px; border-radius:14px; padding:22px; } }

/* Bait rules note sits under the Bait label (TJ, 2026-11-14) */
#results #tg-bait-foot { margin:-4px 0 12px; }

/* "More about this river" heading matches the other section heads (TJ, 2026-11-14) */
#results .more-river-toggle { padding-top:32px; padding-bottom:16px; align-items:flex-start; }
#results .more-river-label { font:600 20px/25px Inter,system-ui,-apple-system,sans-serif; color:var(--t-ink, #1a2e3a); }
#results .more-river-sub { display:block; margin-top:4px; font:400 13px/1.4 Inter,system-ui,-apple-system,sans-serif; color:var(--t-muted, #6b7d86); }
#results .more-river-chev { font:400 16px/25px Inter,system-ui,-apple-system,sans-serif; color:var(--fern); }
/* Phones: the Next / Back to top pill sits over the footer links at the end of results; leave room below them. */
@media (max-width:599px) { #results .site-footer { padding-bottom:84px; } }
