/* ═══════════════════════════════════════════════════════════════════════════
   The Rise — Design System
   Typography: Lora (headings/display) + DM Sans (body) + DM Mono (data)
   Palette: Deep water at pre-dawn — ink, slate, mist, amber, water-blue
   Aesthetic: Editorial field journal meets precision instrument
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Core palette ─────────────────────────────────────────────────────── */
  --ink-900:   #080d14;   /* deepest — topbar bg */
  --ink-800:   #0e1520;   /* page bg */
  --ink-700:   #141d2b;   /* card surfaces */
  --ink-600:   #1c2738;   /* elevated surfaces */
  --ink-500:   #263142;   /* borders, dividers */
  --ink-400:   #3a4d62;   /* muted borders */

  --text-100:  #f0f4f8;   /* primary text */
  --text-200:  #b8c8d8;   /* secondary text */
  --text-300:  #6a8498;   /* tertiary / labels */
  --text-400:  #3d5468;   /* disabled / very dim */

  /* ── Accent — water blue ──────────────────────────────────────────────── */
  --water:     #4da8c8;   /* primary accent */
  --water-dim: rgba(77,168,200,0.15);
  --water-glow:rgba(77,168,200,0.08);

  /* ── Signal colors ────────────────────────────────────────────────────── */
  --amber:     #d4962a;   /* scores / warnings */
  --amber-dim: rgba(212,150,42,0.15);
  --green:     #3d9e6a;   /* ideal conditions */
  --red:       #c84a3a;   /* blown out / poor */

  /* ── Aliases for backward compat ─────────────────────────────────────── */
  --forest:      var(--ink-900);
  --forest-mid:  var(--ink-700);
  --forest-pale: var(--water);
  --mist:        var(--text-300);
  --accent:      var(--water);
  --off-white:   var(--ink-800);
  --surface:     var(--ink-700);
  --white:       var(--ink-600);
  --ink:         var(--text-100);
  --ink-mid:     var(--text-200);
  --ink-dim:     var(--text-300);
  --border:      rgba(77,168,200,0.07);
  --border-mid:  rgba(77,168,200,0.13);
  --warm:        var(--amber);

  /* ── Typography ──────────────────────────────────────────────────────── */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-800);
  color: var(--text-100);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  min-height: 100vh;
  font-optical-sizing: auto;
}

/* ── Subtle noise texture on body ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink-900);
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--ink-500);
  /* Subtle gradient edge */
  box-shadow: 0 1px 0 rgba(77,168,200,0.06), 0 4px 20px rgba(0,0,0,0.3);
}

.logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  text-decoration: none;
}
.logo-ring {
  width: 28px; height: 28px;
  border: 1px solid rgba(77,168,200,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(77,168,200,0.06);
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 600;
  color: var(--text-100); letter-spacing: .01em;
  line-height: 1.1;
}
.logo-sub {
  font-size: 9px; font-family: var(--font-sans);
  color: var(--text-400); letter-spacing: .18em;
  text-transform: uppercase; line-height: 1;
}

.topbar-divider {
  width: 1px; height: 20px;
  background: var(--ink-500); flex-shrink: 0;
}

.planner-link {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-400);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: color .12s;
}
.planner-link:hover { color: var(--water); }

.topbar-controls {
  display: flex; align-items: center; gap: 6px;
  flex: none; min-width: 0;
}
.ctrl-label {
  font-size: 9px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-400);
  white-space: nowrap; flex-shrink: 0;
}
#location-select { width: 220px; flex-shrink: 0; }
#date-select { width: 144px; flex-shrink: 0; }

select, input[type="date"] {
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
  border-radius: 5px;
  color: var(--text-100);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400;
  padding: 0 11px;
  height: 32px;
  outline: none; cursor: pointer;
  -webkit-appearance: none;
  transition: border-color .12s, background .12s;
  overflow: hidden; text-overflow: ellipsis;
}
select option { background: var(--ink-700); color: var(--text-100); }
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5) sepia(0.3) hue-rotate(170deg);
  cursor: pointer; opacity: 0.7;
}
select:focus, input[type="date"]:focus {
  border-color: var(--water);
  background: var(--ink-600);
  box-shadow: 0 0 0 2px var(--water-glow);
}
select:hover, input[type="date"]:hover {
  border-color: var(--ink-400);
}

.topbar-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; margin-left: 0;
}
.btn-run {
  background: var(--water);
  border: none;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 5px;
  cursor: pointer; transition: all .15s;
  white-space: nowrap; flex-shrink: 0;
  height: 32px;
}
.btn-run:hover { background: #6bbcd8; transform: translateY(-1px); box-shadow: 0 3px 12px rgba(77,168,200,0.3); }
.btn-run:active { transform: none; box-shadow: none; }
.btn-run:disabled { opacity: .3; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-actions { display: flex; align-items: center; flex-shrink: 0; }
.btn-action-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--ink-500);
  border-radius: 5px;
  color: var(--text-300);
  cursor: pointer; transition: all .12s; flex-shrink: 0;
}
.btn-action-toggle:hover { border-color: var(--ink-400); color: var(--text-100); background: var(--ink-700); }

.action-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
  border-radius: 7px; overflow: hidden;
  min-width: 152px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  z-index: 200;
}
.action-item {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 10px 14px;
  background: transparent; border: none;
  color: var(--text-200);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400;
  cursor: pointer; transition: background .1s;
  white-space: nowrap; text-align: left;
}
.action-item:hover { background: var(--ink-600); color: var(--text-100); }
.action-item + .action-item { border-top: 1px solid var(--ink-500); }
.btn-share { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING
   ═══════════════════════════════════════════════════════════════════════════ */
.loader {
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; padding: 120px 40px;
}
.loader.active { display: flex; }
.spinner {
  width: 22px; height: 22px;
  border: 1.5px solid rgba(77,168,200,0.12);
  border-top-color: var(--water);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-size: 10px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-400);
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{opacity:.3} 50%{opacity:.9} }

/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════════ */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 40px; gap: 12px; text-align: center;
}
.empty-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--ink-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  background: var(--ink-700);
}
.empty-state h2 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; color: var(--text-100);
}
.empty-state p {
  font-size: 12px; color: var(--text-300);
  max-width: 280px; line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ERROR
   ═══════════════════════════════════════════════════════════════════════════ */
.error-state { display: none; padding: 40px; text-align: center; color: #e06050; font-size: 12px; }
.error-state.visible { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   REPORT — animations
   ═══════════════════════════════════════════════════════════════════════════ */
#report { display: none; }
#report.visible { display: block; }

/* Staggered section entrance */
#report.visible .loc-strip       { animation: riseIn .35s ease both; }
#report.visible .section:nth-child(1) { animation: riseIn .35s .05s ease both; }
#report.visible .section:nth-child(2) { animation: riseIn .35s .1s ease both; }
#report.visible .section:nth-child(3) { animation: riseIn .35s .15s ease both; }
#report.visible .section:nth-child(4) { animation: riseIn .35s .2s ease both; }
#report.visible .section:nth-child(5) { animation: riseIn .35s .25s ease both; }
#report.visible .side-col         { animation: riseIn .35s .12s ease both; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOCATION STRIP — the hero
   ═══════════════════════════════════════════════════════════════════════════ */
.loc-strip {
  background: var(--ink-900);
  padding: 28px 32px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  /* Horizontal rule with water accent */
  border-bottom: 1px solid var(--ink-500);
  position: relative;
  overflow: hidden;
}
/* Accent line at bottom */
.loc-strip::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 120px; height: 2px;
  background: linear-gradient(90deg, var(--water), transparent);
}

.loc-tag {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--water); opacity: 0.7;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.loc-tag::before {
  content: ''; width: 24px; height: 1px;
  background: var(--water); opacity: .5;
}
.loc-name {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 600;
  color: var(--text-100); line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.loc-meta {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .08em;
  color: var(--text-400);
}
.loc-desc {
  font-family: var(--font-serif);
  font-size: 12px; font-style: italic;
  color: var(--text-300);
  line-height: 1.7; max-width: 540px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-500);
  /* no line clamp — let the full description show */
}

/* ── Score widget ─────────────────────────────────────────────────────────── */
.score-widget { text-align: center; flex-shrink: 0; }
.score-date-lbl {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-400);
}
.score-date-val {
  font-family: var(--font-serif); font-size: 12px;
  color: var(--text-300); margin-bottom: 10px; margin-top: 3px;
}
.score-ring {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  position: relative;
}
.score-arc-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.score-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
}
.score-num {
  font-family: var(--font-serif); font-size: 34px;
  font-weight: 600; line-height: 1; color: var(--text-100);
}
.score-denom {
  font-family: var(--font-mono);
  font-size: 9px; color: var(--text-400); letter-spacing: .1em;
  margin-top: 1px;
}
.score-lbl {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase;
}
.score-excellent .score-num, .score-excellent .score-lbl { color: var(--water); }
.score-excellent .score-ring { border-color: rgba(77,168,200,.25); }
.score-good .score-num, .score-good .score-lbl { color: var(--amber); }
.score-good .score-ring { border-color: rgba(212,150,42,.25); }
.score-fair .score-num, .score-fair .score-lbl { color: #d0904a; }
.score-fair .score-ring { border-color: rgba(208,144,74,.2); }
.score-poor .score-num, .score-poor .score-lbl { color: var(--red); }
.score-poor .score-ring { border-color: rgba(200,74,58,.2); }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
.main-col { min-width: 0; }
.side-col {
  background: var(--ink-700);
  position: sticky; top: 58px;
  max-height: calc(100vh - 58px); overflow-y: auto;
  border-left: 1px solid var(--ink-500);
}

/* ── Section base ─────────────────────────────────────────────────────────── */
.section {
  padding: 24px 28px;
  border-bottom: 1px solid var(--ink-500);
}
.section:last-child { border-bottom: none; }
.section-side {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink-500);
}
.section-side:last-child { border-bottom: none; }

.sec-title {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 600;
  color: var(--text-100); margin-bottom: 2px;
}
.sec-sub {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-400); margin-bottom: 16px;
}
.sec-title-row {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 3px;
}
.sec-tag {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--water); background: var(--water-dim);
  padding: 2px 8px; border-radius: 100px; margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AI CONDITIONS SUMMARY
   ═══════════════════════════════════════════════════════════════════════════ */
.ai-summary-wrap {
  margin-bottom: 18px;
  position: relative;
}
.ai-summary {
  font-family: var(--font-serif);
  font-size: 13px; font-style: italic;
  color: var(--text-200);
  line-height: 1.8;
  padding: 14px 16px 14px 20px;
  background: var(--ink-800);
  border-radius: 0 6px 6px 0;
  border-left: 2px solid var(--water);
  position: relative;
}
/* Subtle AI label in corner */
.ai-summary::after {
  content: 'AI guide';
  position: absolute;
  bottom: 8px; right: 12px;
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-400);
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GAUGE STRIP
   ═══════════════════════════════════════════════════════════════════════════ */
.gauge-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  border-left: 3px solid var(--water);
  border-radius: 6px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.gauge-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.gauge-ht {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500; color: var(--water);
}
.gauge-ht-lbl { font-size: 10px; color: var(--text-400); }
.gauge-cfs { font-size: 10px; color: var(--text-300); }
.gauge-divider { width: 1px; height: 14px; background: var(--ink-500); }
.gauge-note { font-size: 11px; color: var(--text-300); font-style: italic; flex: 1; min-width: 140px; }
.gauge-link {
  font-family: var(--font-mono);
  font-size: 9px; color: var(--water); text-decoration: none;
  letter-spacing: .06em; white-space: nowrap; margin-left: auto; opacity: .7;
}
.gauge-link:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   WEATHER BAND
   ═══════════════════════════════════════════════════════════════════════════ */
.weather-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--ink-500);
  border-radius: 6px; overflow: hidden;
  margin-bottom: 18px;
}
.w-cell {
  background: var(--ink-700);
  padding: 14px 16px;
  border-right: 1px solid var(--ink-500);
  transition: background .12s;
}
.w-cell:last-child { border-right: none; }
.w-cell:hover { background: var(--ink-600); }
.w-lbl {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-400); margin-bottom: 6px;
}
.w-val {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600; color: var(--water); line-height: 1;
}
.w-unit { font-size: 10px; color: var(--text-400); margin-top: 2px; }
.w-note { font-size: 10px; color: var(--text-300); font-style: italic; margin-top: 3px; }

/* ── Conditions factors ───────────────────────────────────────────────────── */
.factors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 16px; }
.factor-row { display: flex; flex-direction: column; gap: 5px; }
.factor-top { display: flex; justify-content: space-between; align-items: baseline; }
.factor-name {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 500; color: var(--text-300);
  text-transform: uppercase; letter-spacing: .1em;
}
.factor-val {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500; color: var(--water);
}
.factor-track { height: 2px; background: var(--ink-500); border-radius: 100px; overflow: hidden; }
.factor-fill  { height: 100%; border-radius: 100px; transition: width .4s ease; }
.factor-note  { font-size: 10px; color: var(--text-400); font-style: italic; }
.conditions-note {
  margin-top: 0; margin-bottom: 16px; padding: 12px 16px;
  background: var(--ink-800);
  border-left: 2px solid var(--water);
  border-radius: 0 6px 6px 0;
  font-size: 12px; font-style: italic;
  color: var(--text-200); line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HATCH SUMMARY (sidebar)
   ═══════════════════════════════════════════════════════════════════════════ */
.hatch-intensity-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pip-row { display: flex; gap: 3px; }
.pip { width: 16px; height: 3px; border-radius: 100px; background: var(--ink-500); }
.pip.on { background: var(--water); }
.intensity-word {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 600; color: var(--water);
}
.hatch-list { list-style: none; display: flex; flex-direction: column; }
.hatch-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--ink-500);
  font-size: 12px; color: var(--text-200);
}
.hatch-item:last-child { border-bottom: none; }
.hatch-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--water); flex-shrink: 0; opacity: .7; }
.hatch-note {
  font-size: 10px; font-style: italic; color: var(--text-400);
  line-height: 1.6; margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLY LIST
   ═══════════════════════════════════════════════════════════════════════════ */
.fly-list {
  border: 1px solid var(--ink-500);
  border-radius: 6px; overflow: hidden;
  background: var(--ink-700);
}
.fly-row {
  display: grid;
  grid-template-columns: 3px 60px 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid var(--ink-500);
  cursor: pointer;
  transition: background .1s;
}
.fly-row:last-child { border-bottom: none; }
.fly-row:hover { background: var(--ink-600); }
.fly-row.open  { background: var(--ink-600); }
.fly-accent { width: 3px; flex-shrink: 0; }
.fly-thumb {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 3px 6px 7px;
  background: #121c2a;
  border-right: 1px solid var(--ink-500);
  overflow: hidden;
}
.fly-thumb svg { width: 54px; height: 34px; display: block; }
.fly-main { padding: 10px 12px; min-width: 0; }
.fly-top-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.fly-name {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 600; color: var(--text-100); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fly-sub {
  font-family: var(--font-mono);
  font-size: 9.5px; color: var(--text-400); white-space: nowrap;
}
.fly-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 7.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0;
  align-self: center; margin: 10px 10px 10px 0;
}
.chip-dry         { background: rgba(77,168,200,.12); color: #6dc4e0; }
.chip-nymph       { background: rgba(180,130,60,.13); color: #d4a050; }
.chip-streamer    { background: rgba(200,80,50,.12);  color: #e07060; }
.chip-popper      { background: rgba(220,150,40,.13); color: #e8b850; }
.chip-midge       { background: rgba(80,140,210,.12); color: #70b0f0; }
.chip-wet         { background: rgba(130,80,200,.12); color: #b080e8; }
.chip-terrestrial { background: rgba(160,150,40,.13); color: #c8b840; }
.chip-emerger     { background: rgba(40,160,130,.12); color: #40c0b0; }
.fly-conf { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.fly-conf-pip { width: 12px; height: 2.5px; border-radius: 100px; background: var(--ink-500); }
.fly-conf-pip.on { background: var(--water); }
.fly-note-row {
  display: none; grid-column: 3 / 5;
  padding: 0 12px 12px;
  font-size: 11px; font-style: italic;
  color: var(--text-300); line-height: 1.65;
  border-top: 1px solid var(--ink-500); margin-top: -1px;
}
.fly-row.open .fly-note-row { display: block; }

/* Hatch badges */
.hatch-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.hatch-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 6px 2px 5px; border-radius: 3px; border: 1px solid transparent;
  white-space: nowrap;
}
.hatch-badge .hb-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.hatch-badge.status-peak   { background: rgba(77,168,200,.12); border-color: rgba(77,168,200,.25); color: #6dc4e0; }
.hatch-badge.status-active { background: rgba(77,168,200,.07); border-color: rgba(77,168,200,.15); color: var(--water); }
.hatch-badge.status-coming { background: var(--amber-dim); border-color: rgba(212,150,42,.25); color: var(--amber); }
.hatch-badge.status-sparse { background: rgba(100,120,140,.07); border-color: rgba(100,120,140,.13); color: var(--text-400); }

/* ═══════════════════════════════════════════════════════════════════════════
   SPECIES (sidebar)
   ═══════════════════════════════════════════════════════════════════════════ */
.species-item { padding: 10px 0; border-bottom: 1px solid var(--ink-500); }
.species-item:last-child { border-bottom: none; }
.species-name {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 600; color: var(--text-100); margin-bottom: 1px;
}
.species-sci {
  font-family: var(--font-mono);
  font-size: 9.5px; font-style: italic; color: var(--text-400); margin-bottom: 4px;
}
.species-peak {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink-800); color: var(--text-400);
  padding: 1px 6px; border-radius: 100px; margin-bottom: 4px;
}
.species-detail { font-size: 10px; color: var(--text-300); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════════════════
   SPOTS
   ═══════════════════════════════════════════════════════════════════════════ */
.spot-card {
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
  border-radius: 6px; overflow: hidden;
  margin-bottom: 8px;
  transition: border-color .15s, transform .15s;
}
.spot-card:hover { border-color: var(--ink-400); transform: translateY(-1px); }
.spot-card:last-child { margin-bottom: 0; }
.spot-inner { padding: 14px 16px; }
.spot-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.spot-name {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 600; color: var(--text-100);
}
.spot-tag {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink-800); color: var(--text-400);
  padding: 2px 7px; border-radius: 100px; white-space: nowrap;
}
.spot-desc { font-size: 12px; color: var(--text-200); line-height: 1.7; margin-bottom: 10px; }
.spot-metas { display: flex; flex-direction: column; gap: 5px; padding-top: 10px; border-top: 1px solid var(--ink-500); }
.spot-meta { display: flex; gap: 10px; font-size: 11px; }
.spot-meta-k {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-400); min-width: 56px; padding-top: 1px; flex-shrink: 0;
}
.spot-meta-v { color: var(--text-300); line-height: 1.5; }
.spot-link {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: .06em;
  color: var(--water); text-decoration: none; opacity: .75;
}
.spot-link:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   TECHNIQUES
   ═══════════════════════════════════════════════════════════════════════════ */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tech-card {
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
  border-radius: 6px; padding: 14px 16px;
  transition: border-color .12s;
}
.tech-card:hover { border-color: var(--ink-400); }
.tech-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tech-name {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 600; color: var(--text-100);
}
.diff-badge {
  font-family: var(--font-mono);
  font-size: 7.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px;
}
.diff-beginner     { background: rgba(61,158,106,.12); color: #3d9e6a; }
.diff-intermediate { background: rgba(212,150,42,.12); color: var(--amber); }
.diff-advanced     { background: rgba(200,80,50,.12);  color: #c05040; }
.diff-expert       { background: rgba(180,50,50,.12);  color: #b03030; }
.tech-desc { font-size: 11px; color: var(--text-300); line-height: 1.6; margin-bottom: 4px; }
.tech-note { font-size: 10px; font-style: italic; color: var(--text-400); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════════════
   REGULATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.regs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.regs-block {
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
  border-radius: 6px; padding: 14px 16px;
}
.regs-title {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-400); margin-bottom: 10px;
}
.regs-text { font-size: 11px; color: var(--text-300); line-height: 1.75; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════════════════
   PEAK SPECIES
   ═══════════════════════════════════════════════════════════════════════════ */
.peak-species-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-500);
}
.peak-species-item:last-child { border-bottom: none; }

.peak-species-row {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 8px; margin-bottom: 3px;
}
.peak-species-name {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 600; color: var(--text-100);
}
.peak-species-size {
  font-family: var(--font-mono);
  font-size: 9px; color: var(--text-400); white-space: nowrap;
}
.peak-species-habitat {
  font-size: 10px; color: var(--text-400);
  line-height: 1.5;
}

/* ── Hatch confidence badges ──────────────────────────────────────────────── */
.hatch-conf {
  font-family: var(--font-mono);
  font-size: 7.5px; font-weight: 500;
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: .06em; text-transform: uppercase;
  margin-left: 5px; vertical-align: middle;
}
.hatch-conf.peak {
  background: rgba(77,168,200,.15);
  color: var(--water);
  border: 1px solid rgba(77,168,200,.3);
}
.hatch-conf.likely {
  background: rgba(212,150,42,.1);
  color: var(--amber);
  border: 1px solid rgba(212,150,42,.25);
}
.hatch-temp-note {
  font-size: 10px; color: var(--text-400);
  line-height: 1.6; margin-top: 8px;
  padding: 7px 10px;
  background: var(--ink-800);
  border-radius: 4px;
  border-left: 2px solid var(--water);
}
.hatch-possible {
  font-size: 9.5px; color: var(--text-400);
  margin-top: 6px; font-style: italic;
}

/* ── Flow percentile bar ─────────────────────────────────────────────────── */
.gauge-percentile-row {
  min-width: 100%;
  order: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--ink-500);
  margin-top: 4px;
}
.gauge-pct-bar-wrap {
  height: 4px;
  background: var(--ink-500);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.gauge-pct-bar-fill {
  height: 100%;
  background: var(--water);
  border-radius: 2px;
  transition: width .4s ease;
  min-width: 2px;
}
.gauge-pct-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-300);
  letter-spacing: .04em;
}
.gauge-pct-num {
  color: var(--text-400);
  font-size: 8.5px;
}
.gauge-pct-note {
  font-size: 10px;
  color: var(--text-400);
  line-height: 1.6;
  min-width: 100%;
  order: 5;
  padding-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOON & SOLUNAR
   ═══════════════════════════════════════════════════════════════════════════ */
.moon-solunar-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.moon-rating-label {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 600;
}
.moon-rating-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
}
.moon-bar-track {
  height: 3px; background: var(--ink-500);
  border-radius: 100px; overflow: hidden; margin-bottom: 10px;
}
.moon-bar-fill {
  height: 100%; border-radius: 100px;
  transition: width .5s ease;
}
.moon-note {
  font-size: 11px; color: var(--text-300);
  line-height: 1.65; font-style: italic; margin-bottom: 12px;
}
.moon-upcoming {
  display: flex; gap: 0;
  border: 1px solid var(--ink-500); border-radius: 5px; overflow: hidden;
}
.moon-upcoming-item {
  flex: 1; display: flex; flex-direction: column;
  padding: 7px 10px; gap: 3px;
}
.moon-upcoming-item + .moon-upcoming-item { border-left: 1px solid var(--ink-500); }
.moon-upcoming-lbl {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-400);
}
.moon-upcoming-val {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; color: var(--text-200);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STOCKING
   ═══════════════════════════════════════════════════════════════════════════ */
.stocking-item { padding: 8px 0; border-bottom: 1px solid var(--ink-500); }
.stocking-item:last-child { border-bottom: none; }
.stocking-top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; margin-bottom: 4px;
}
.stocking-species { font-size: 12px; font-weight: 500; color: var(--text-100); }
.stocking-date {
  font-family: var(--font-mono);
  font-size: 9.5px; color: var(--text-400); white-space: nowrap;
}
.stocking-group-label {
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-400);
  padding: 10px 0 4px;
  border-top: 1px solid var(--ink-500);
  margin-top: 4px;
}
.stocking-group-label:first-child {
  border-top: none; margin-top: 0; padding-top: 0;
}
.stocking-item.forward {
  border-left: 2px solid var(--water);
  padding-left: 8px;
}
.stocking-conf {
  font-family: var(--font-mono);
  font-size: 7.5px; font-weight: 500;
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: .05em; text-transform: uppercase;
  margin-left: 4px; vertical-align: middle;
}
.stocking-conf.confirmed {
  background: rgba(61,158,106,.12);
  color: #3d9e6a;
  border: 1px solid rgba(61,158,106,.3);
}
.stocking-conf.window {
  background: var(--ink-700);
  color: var(--text-400);
  border: 1px solid var(--ink-500);
}
.stocking-note {
  font-size: 9.5px; color: var(--text-400);
  line-height: 1.6; margin-top: 4px;
  font-style: italic;
}

.stocking-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.stocking-meta span {
  font-family: var(--font-mono);
  font-size: 9px; color: var(--text-400);
  background: var(--ink-800); border: 1px solid var(--ink-500);
  padding: 1px 6px; border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SKELETON
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton-block {
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ink-700) 25%, var(--ink-600) 50%, var(--ink-700) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton-strip { background: var(--ink-900); padding: 28px 32px 22px; }
.skeleton-content { display: grid; grid-template-columns: 1fr 320px; max-width: 1440px; margin: 0 auto; }
.skeleton-main { padding: 0; }
.skeleton-side { background: var(--ink-700); border-left: 1px solid var(--ink-500); }
.skeleton-section { padding: 24px 28px; border-bottom: 1px solid var(--ink-500); }
@media (max-width: 900px) {
  .skeleton-content { grid-template-columns: 1fr; }
  .skeleton-side { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink-900);
  color: var(--text-400);
  text-align: center; padding: 16px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  border-top: 1px solid var(--ink-500);
  opacity: .6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .content { grid-template-columns: 1fr 290px; }
  .skeleton-content { grid-template-columns: 1fr 290px; }
}
@media (max-width: 900px) {
  .content { grid-template-columns: 1fr; }
  .main-col { border-right: none; }
  .side-col { position: static; max-height: none; border-left: none; border-top: 1px solid var(--ink-500); }
  .tech-grid { grid-template-columns: 1fr; }
  .regs-grid { grid-template-columns: 1fr; }
  .loc-strip { grid-template-columns: 1fr; }
}

/* ── Mobile ≤600px ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* ── Topbar ── */
  /* Row 1: logo | Row 2: selects | Row 3: button */
  .topbar {
    height: auto;
    padding: 10px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .topbar-divider { display: none; }

  /* Row 1: logo stays as-is */
  .logo { flex-shrink: 0; align-self: flex-start; }

  /* Row 2: location + date side by side */
  .topbar-controls {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin: 0;
    flex: none;
  }
  .ctrl-label { display: none; }
  .planner-link {
    order: 13;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-size: 10px;
    border-top: 1px solid var(--ink-500);
    margin-top: 2px;
  }
  #location-select {
    flex: 1;
    min-width: 0;
    height: 36px;
    font-size: 13px;
    max-width: none;
  }
  #date-select {
    width: 130px;
    flex-shrink: 0;
    height: 36px;
    font-size: 13px;
  }

  /* Row 3: generate button full width + share icon */
  .topbar-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin: 0;
    flex: none;
  }
  .btn-run {
    flex: none;
    height: 36px;
    font-size: 11px;
    padding: 0 16px;
  }
  .btn-action-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  /* ── Location strip ── */
  .loc-strip {
    padding: 16px 14px 14px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
  }
  .loc-tag  { font-size: 8px; margin-bottom: 6px; }
  .loc-name { font-size: 20px; letter-spacing: -.015em; margin-bottom: 5px; }
  .loc-meta { font-size: 9px; }
  .loc-desc {
    font-size: 11px; line-height: 1.6;
    margin-top: 8px; padding-top: 8px;
  }

  /* Score ring — scale proportionally */
  .score-ring  { width: 80px; height: 80px; margin-bottom: 6px; }
  .score-inner { width: 64px; height: 64px; }
  .score-num   { font-size: 26px; }
  .score-denom { font-size: 8px; }
  .score-lbl   { font-size: 8px; }
  .score-date-lbl { font-size: 7.5px; }
  .score-date-val { font-size: 11px; margin-bottom: 6px; }

  /* ── Sections ── */
  .section      { padding: 16px 14px; }
  .section-side { padding: 14px 14px; }
  .sec-title    { font-size: 14px; }
  .sec-sub      { font-size: 8px; margin-bottom: 12px; }

  /* ── AI summary ── */
  .ai-summary { font-size: 12px; line-height: 1.7; padding: 12px 14px 22px 16px; }

  /* ── Gauge strip ── */
  .gauge-strip { flex-wrap: wrap; gap: 8px; padding: 9px 12px; }
  .gauge-ht    { font-size: 13px; }
  .gauge-note  { min-width: 100%; order: 3; font-size: 10px; }
  .gauge-link  { margin-left: 0; font-size: 8px; }

  /* ── Weather band — 2x2 ── */
  .weather-band { grid-template-columns: 1fr 1fr; }
  .w-cell { padding: 11px 12px; }
  .w-lbl  { font-size: 7.5px; }
  .w-val  { font-size: 19px; }
  .w-unit { font-size: 9px; }
  .w-note { font-size: 9px; }

  /* ── Conditions factors ── */
  .factors-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .factor-name  { font-size: 8.5px; }
  .factor-val   { font-size: 9px; }
  .factor-note  { font-size: 9px; }

  /* ── Fly list ── */
  .fly-list { border-radius: 5px; }
  .fly-row  { grid-template-columns: 3px 46px 1fr auto; }
  .fly-thumb { padding: 5px 2px 5px 5px; }
  .fly-thumb svg { width: 40px; height: 25px; }
  .fly-main { padding: 9px 10px; }
  .fly-name { font-size: 12px; }
  .fly-sub  { font-size: 8px; }
  .fly-chip { font-size: 7px; padding: 2px 5px; margin: 8px 6px 8px 0; }
  .fly-conf-pip { width: 10px; }
  .hatch-badge { font-size: 7.5px; }

  /* ── Fishing spots ── */
  .spot-card  { margin-bottom: 8px; }
  .spot-inner { padding: 12px 12px; }
  .spot-name  { font-size: 13px; }
  .spot-desc  { font-size: 11px; line-height: 1.6; }
  .spot-meta-k { font-size: 7.5px; }
  .spot-meta-v { font-size: 10px; }

  /* ── Techniques ── */
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 12px 12px; }
  .tech-name { font-size: 12px; }
  .tech-desc { font-size: 10px; }

  /* ── Regulations ── */
  .regs-grid  { grid-template-columns: 1fr; }
  .regs-block { padding: 12px 12px; }
  .regs-text  { font-size: 11px; }

  /* ── Sidebar ── */
  .moon-rating-label { font-size: 13px; }
  .moon-note { font-size: 10px; }
  .moon-upcoming-val { font-size: 10px; }
  .intensity-word { font-size: 13px; }
  .hatch-item { font-size: 11px; padding: 6px 0; }
  .species-name { font-size: 12px; }
  .species-detail { font-size: 9.5px; }
  .stocking-species { font-size: 11px; }

  /* ── Skeleton ── */
  .skeleton-strip   { padding: 16px 14px; }
  .skeleton-section { padding: 16px 14px; }
}

/* ── Very small phones ≤380px ── */
@media (max-width: 380px) {
  .loc-name  { font-size: 17px; }
  .loc-desc  { -webkit-line-clamp: 2; }
  .score-ring  { width: 68px; height: 68px; }
  .score-inner { width: 54px; height: 54px; }
  .score-num   { font-size: 22px; }
  .fly-thumb { display: none; }
  .fly-row { grid-template-columns: 3px 1fr auto; }
  #location-select { font-size: 12px; }
  #date-select     { font-size: 12px; }
  .w-val { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
  @page { size: letter portrait; margin: 0.6in 0.7in; }

  .topbar, .loader, .empty-state, .error-state,
  .report-skeleton, footer, .btn-run, .btn-share,
  .btn-actions, .btn-action-toggle, .action-dropdown,
  #report-actions, #run-btn, .spot-link, .gauge-link,
  .factor-track, .fly-note-row, .fly-conf { display: none !important; }

  * {
    color: #111 !important; background: transparent !important;
    border-color: #ccc !important; box-shadow: none !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    animation: none !important;
  }
  body { font-size: 9pt; line-height: 1.4; font-family: Georgia, serif; }

  .loc-strip {
    padding: 0 0 10pt !important; border-bottom: 1.5pt solid #1a1a1a !important;
    margin-bottom: 10pt; display: flex; justify-content: space-between;
  }
  .loc-name { font-size: 18pt; font-weight: 700; margin-bottom: 3pt; }
  .loc-tag  { font-size: 7pt; margin-bottom: 3pt; }
  .loc-meta { font-size: 7.5pt; }
  .loc-desc { font-size: 8pt; max-width: 70%; -webkit-line-clamp: unset !important; display: block !important; }
  .score-widget { text-align: right; }
  .score-ring { width: 60pt; height: 60pt; margin: 0 0 3pt auto; }
  .score-arc-svg { display: none; }
  .score-inner { width: 48pt !important; height: 48pt !important; border: 1pt solid #333 !important; }
  .score-num { font-size: 22pt; }
  .score-lbl { font-size: 7pt; }

  .content { display: block !important; }
  .main-col, .side-col { display: block !important; width: 100% !important; position: static !important; max-height: none !important; }
  .section, .section-side { padding: 8pt 0 !important; border-bottom: 0.5pt solid #ddd !important; page-break-inside: avoid; }
  .sec-title { font-size: 11pt; font-weight: 700; }
  .sec-sub { font-size: 7pt; margin-bottom: 6pt; }

  .gauge-strip { padding: 5pt 8pt !important; border-left-width: 2pt !important; margin-bottom: 8pt; display: flex; gap: 8pt; }
  .gauge-ht { font-size: 11pt; }
  .gauge-note { font-size: 8pt; }

  .weather-band { display: grid !important; grid-template-columns: repeat(4,1fr) !important; border: 0.5pt solid #ccc !important; margin-bottom: 8pt; }
  .w-cell { padding: 6pt 8pt !important; border-right: 0.5pt solid #ddd !important; }
  .w-lbl { font-size: 6.5pt; }
  .w-val { font-size: 14pt; }

  .factors-grid { grid-template-columns: 1fr 1fr !important; gap: 4pt 16pt !important; }
  .factor-name { font-size: 8pt; }
  .factor-val  { font-size: 8pt; }

  .fly-list { border: 0.5pt solid #ccc !important; }
  .fly-row { grid-template-columns: 2pt 42px 1fr auto !important; border-bottom: 0.5pt solid #eee !important; page-break-inside: avoid; }
  .fly-thumb { padding: 4pt 3pt 4pt 4pt !important; background: #f5f5f5 !important; }
  .fly-thumb svg { width: 38px !important; height: 24px !important; }
  .fly-main { padding: 5pt 7pt !important; }
  .fly-name { font-size: 9pt; }
  .fly-sub  { font-size: 7.5pt; }
  .fly-chip { font-size: 6pt; padding: 1pt 4pt !important; border: 0.5pt solid #999 !important; background: #f0f0f0 !important; color: #333 !important; }
  .hatch-badge { font-size: 6pt !important; padding: 1pt 4pt !important; border: 0.5pt solid #ccc !important; background: #f5f5f5 !important; color: #444 !important; }

  .spot-card { border: 0.5pt solid #ccc !important; margin-bottom: 6pt !important; page-break-inside: avoid; }
  .spot-inner { padding: 6pt 8pt !important; }
  .spot-name { font-size: 10pt; }
  .spot-desc { font-size: 8pt; }

  .tech-card { border: 0.5pt solid #ccc !important; padding: 5pt 7pt !important; margin-bottom: 4pt !important; page-break-inside: avoid; }
  .tech-name { font-size: 9pt; }
  .tech-desc { font-size: 7.5pt; }

  .regs-block { border: 0.5pt solid #ccc !important; padding: 5pt 7pt !important; }
  .regs-text  { font-size: 8pt; }

  .stocking-item { padding: 5pt 0 !important; }
  .stocking-species { font-size: 9pt; }
  .stocking-meta span { font-size: 7pt; padding: 1pt 4pt !important; border: 0.5pt solid #ccc !important; background: #f5f5f5 !important; }

  .conditions-note { border-left: 2pt solid #555 !important; padding: 5pt 8pt !important; font-size: 8pt; background: #f8f8f8 !important; }
  .side-col { page-break-before: avoid; }
}