/* Morning on the bay: pale sea-glass background, white cards, deep-water ink,
   and the three channel-marker colors doing the talking. Green can = go,
   yellow special mark = maybe, red nun = stay in.
   (Variable names are historical: --water is the page, --deep the cards,
   --paper the main text.) */

:root {
  --water: #EDF5F6;
  --deep: #FFFFFF;
  --line: #D3E2E5;
  --mist: #5D757B;
  --paper: #1E3A44;
  --sea: #3C8DAD;
  --sun: #FFD46B;
  --go: #3A9F6B;
  --maybe: #E8B63E;
  --no: #E2685A;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --gap: clamp(16px, 4vw, 28px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--water);
  color: var(--paper);
  font: 400 16px/1.5 var(--body);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--paper); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--maybe); outline-offset: 2px; }

main, .top, .foot { max-width: 1180px; margin: 0 auto; padding-left: var(--gap); padding-right: var(--gap); }

/* ---------- header ---------- */
.top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding-top: 18px; padding-bottom: 6px;
}
.top h1 { margin: 0; font: 600 clamp(22px, 5vw, 30px)/1.1 var(--display); letter-spacing: .01em; }
.who { margin: 4px 0 0; color: var(--mist); font-size: 15px; }
.settings-link {
  flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; font-size: 15px; white-space: nowrap;
}

/* ---------- the call ---------- */
.pick { padding: 22px 0 18px; }
.pick-day {
  margin: 0;
  font: 800 clamp(64px, 19vw, 132px)/.86 var(--display);
  letter-spacing: -.01em;
  color: var(--paper);
}
.pick-day.none { color: var(--no); }
.pick-why { margin: 10px 0 0; max-width: 34em; font-size: 17px; color: var(--paper); }

/* ---------- day picker ---------- */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.day-tab {
  display: grid; justify-items: center; gap: 2px;
  padding: 12px 6px 10px; border: 2px solid transparent; border-radius: 8px;
  background: var(--deep); color: var(--paper); font: inherit; cursor: pointer;
}
.day-tab[aria-selected="true"] { border-color: var(--paper); }
.tab-name { font: 600 19px/1.1 var(--display); margin-top: 4px; }
.tab-verdict { font-size: 13px; color: var(--mist); }

.mark { width: 58px; height: 58px; display: block; }
.mark rect, .mark path { stroke: rgba(0,0,0,.25); stroke-width: 1.5; }
.mark.go rect { fill: var(--go); }
.mark.maybe path { fill: var(--maybe); }
.mark.no path { fill: var(--no); }
.mark text { font: 800 30px var(--display); fill: #fff; }
.mark.maybe text { fill: var(--deep); }

/* ---------- day panels ---------- */
.panels { display: grid; gap: 14px; }
.day { background: var(--deep); border-radius: 10px; padding: 18px var(--gap) 20px; border-top: 6px solid var(--line); }
.day.go { border-top-color: var(--go); }
.day.maybe { border-top-color: var(--maybe); }
.day.no { border-top-color: var(--no); }
.day[data-hidden] { display: none; }

.day-head h2 { margin: 0; font: 600 28px/1.1 var(--display); }
.date { margin: 2px 0 0; color: var(--mist); font-size: 15px; }
.score { margin: 8px 0 0; font-size: 15px; color: var(--mist); }
.score span { font: 800 22px var(--display); color: var(--paper); }

.reasons { list-style: none; padding: 0; margin: 14px 0 6px; }
.reasons li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 0; }
.reasons .best { font-weight: 700; }

figure { margin: 16px 0 0; }
figcaption { font-size: 14px; color: var(--mist); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
figcaption .dir { color: var(--paper); }
figcaption .lim { color: var(--maybe); }
svg.tide, svg.wind { width: 100%; height: auto; display: block; overflow: visible; }
.tide .win { fill: rgba(238,243,241,.07); }
.tide .moving { fill: var(--go); }
.tide .water { fill: rgba(166,190,195,.18); }
.tide .line { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linejoin: round; }
.tide .pt { fill: var(--paper); }
.tide .hl { font: 600 11px var(--body); fill: var(--paper); }
.ax { font: 400 10px var(--body); fill: var(--mist); }
.wind .bar.ok { fill: var(--mist); }
.wind .bar.over { fill: var(--no); }
.wind .gust { stroke: var(--paper); stroke-width: 1.5; stroke-dasharray: 2 2; opacity: .6; }
.wind .kt { font: 600 10px var(--body); fill: var(--paper); }
.wind .limit { stroke: var(--maybe); stroke-width: 1.5; }
.wind .limtx { font: 600 10px var(--body); fill: var(--maybe); }
.legend { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--mist); margin: 6px 0 0; }
.sw { display: inline-block; width: 14px; height: 10px; margin-right: 5px; vertical-align: -1px; border-radius: 2px; }
.sw.win { background: rgba(238,243,241,.18); }
.sw.mov { background: var(--go); }
.nodata { color: var(--mist); font-size: 15px; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px 16px; margin: 18px 0 0; }
.facts dt { font-size: 13px; color: var(--mist); }
.facts dd { margin: 2px 0 0; font-weight: 500; }

/* ---------- shared sections ---------- */
.block { padding: 26px 0 4px; }
.block h2, .account h2 { margin: 0 0 8px; font: 600 24px/1.15 var(--display); }
.block ul { padding-left: 18px; margin: 10px 0 0; max-width: 46em; }
.block li { margin-bottom: 8px; }
.block .facts { margin-top: 6px; }
.note p { max-width: 46em; color: var(--paper); }
.fine { font-size: 14px; color: var(--mist); margin: 4px 0 8px; }

.foot { padding-top: 24px; padding-bottom: 40px; color: var(--mist); font-size: 13px; }
.foot p { margin: 0 0 6px; max-width: 60em; }
.err { color: var(--maybe); }

/* ---------- forms ---------- */
.auth { max-width: 440px; padding-top: 40px; padding-bottom: 48px; }
.auth h1 { margin: 6px 0 0; font: 800 44px/1 var(--display); }
.auth-mark .mark { width: 48px; height: 48px; }
.settings { display: grid; gap: 18px; margin-top: 18px; max-width: 560px; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0 0; display: grid; gap: 12px; }
legend { font: 600 21px var(--display); padding: 0 0 4px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 15px; }
.field output { font-weight: 700; }
input[type=text], input[type=email], input[type=password], select {
  width: 100%; font: inherit; font-size: 17px; color: var(--paper);
  background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 12px;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
input[type=range] { width: 100%; accent-color: var(--maybe); height: 32px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--go); }

.boats, .species { display: flex; flex-wrap: wrap; gap: 8px; }
.boat, .chip { position: relative; }
.boat input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.boat span, .chip span {
  display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--deep); font-size: 15px;
}
.boat input:checked + span, .chip input:checked + span { background: var(--paper); color: var(--water); border-color: var(--paper); font-weight: 700; }
.boat input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--maybe); outline-offset: 2px; }

.save {
  font: 700 17px var(--body); padding: 15px 18px; border: 0; border-radius: 8px;
  background: var(--go); color: #fff; cursor: pointer;
}
.alt { margin: 18px 0 0; color: var(--mist); }
.alt.left { margin: 0; }
.flash { background: rgba(224,184,60,.14); border-left: 4px solid var(--maybe); padding: 10px 12px; border-radius: 4px; margin: 14px 0 0; }

.social { display: grid; gap: 10px; margin-top: 22px; }
.social-btn {
  display: block; text-align: center; padding: 13px; border-radius: 8px; text-decoration: none;
  font-weight: 700; background: var(--paper); color: var(--water);
}
.social-btn.facebook { background: #1877F2; color: #fff; }
.social-btn.yahoo { background: #6001D2; color: #fff; }
.or { display: flex; align-items: center; gap: 10px; color: var(--mist); font-size: 14px; margin: 18px 0 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.account { max-width: 560px; border-top: 1px solid var(--line); margin-top: 28px; padding: 18px 0 48px; }
.account p { margin: 4px 0 10px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--paper); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- tablets and up: all three days side by side ---------- */
@media (min-width: 960px) {
  .panels { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .day[data-hidden] { display: block; }
  .day { padding: 18px 18px 20px; }
  .day-tab[aria-selected="true"] { border-color: transparent; }
  .block-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- additions: announcement, spot picker, admin ---------- */
.top-links { display: flex; gap: 8px; flex: none; }
.announce { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--paper); color: var(--water); font-weight: 500; }
.spot-mode { display: flex; gap: 8px; }
.pin { display: grid; gap: 6px; justify-items: start; }
[hidden] { display: none !important; }
.save.small { font-size: 15px; padding: 10px 14px; }
.save.quiet { background: transparent; border: 1px solid var(--paper); color: var(--paper); }
.save.stop { background: var(--no); }
textarea { width: 100%; font: inherit; font-size: 16px; color: var(--paper); background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }

.admin-nav { max-width: 1180px; margin: 6px auto 0; padding: 0 var(--gap); display: flex; gap: 6px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; background: var(--deep); }
.admin-nav a[aria-current="page"] { background: var(--paper); color: var(--water); font-weight: 700; }
.admin { padding-top: 10px; padding-bottom: 48px; }
.admin-h { font: 600 28px/1.1 var(--display); margin: 14px 0 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.stats div { background: var(--deep); border-radius: 8px; padding: 12px 14px; }
.stats dt { font-size: 13px; color: var(--mist); }
.stats dd { margin: 2px 0 0; font: 800 34px/1 var(--display); }
.search { display: flex; gap: 8px; align-items: end; margin: 4px 0 14px; max-width: 560px; }
.search .field { flex: 1; }
.table-wrap { overflow-x: auto; }
table.people { width: 100%; border-collapse: collapse; font-size: 15px; }
.people th { text-align: left; font-weight: 500; color: var(--mist); font-size: 13px; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.people td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.people tr.off td { opacity: .55; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--maybe); color: var(--deep); font-weight: 700; }
.tag.off { background: var(--no); color: #fff; }
.actions form { margin: 0 0 10px; }
.danger { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px !important; display: grid; gap: 10px; max-width: 560px; }
.settings.wide { max-width: 760px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- where to go ---------- */
.where { margin-top: 16px; }
.where h3 { margin: 0 0 6px; font: 600 21px var(--display); }
.spot { padding: 10px 0; border-top: 1px solid var(--line); }
.spot p { margin: 0; }
.spot-name { font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.rank { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 4px; background: var(--paper); color: var(--water); font: 800 15px var(--display); }
.spot-why { margin-top: 4px !important; font-size: 15px; }
.spot-meta { margin-top: 4px !important; font-size: 14px; color: var(--mist); }
.spot-links { margin-top: 6px !important; display: flex; gap: 16px; font-size: 15px; }
.spot-bring { margin-top: 4px !important; font-size: 14px; color: var(--paper); }
.fish-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
input[type=number] { width: 100%; font: inherit; font-size: 17px; color: var(--paper); background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
@media (max-width: 520px) { .top { flex-wrap: wrap; } .top-links { width: 100%; } }

/* ---------- landing page ---------- */
.lp-nav { max-width: 1180px; margin: 0 auto; padding: 16px var(--gap); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 24px var(--display); }
.lp-brand .mark { width: 30px; height: 30px; }
.lp-nav nav { display: flex; align-items: center; gap: 16px; }
.lp-nav nav a { text-decoration: none; }
.lp-cta { display: inline-block; padding: 15px 22px; border-radius: 8px; background: var(--go); color: #fff; font-weight: 700; text-decoration: none; }
.lp-cta.small { padding: 9px 14px; font-size: 15px; }
.lp-link { color: var(--paper); }

.lp-hero { max-width: 1180px; margin: 0 auto; padding: clamp(24px, 6vw, 72px) var(--gap) clamp(40px, 7vw, 96px);
  display: grid; gap: 40px; align-items: center; }
.lp-hero h1 { margin: 0; font: 800 clamp(58px, 12vw, 128px)/.88 var(--display); letter-spacing: -.01em; max-width: 8.5em; }
.lp-lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; max-width: 32em; margin: 20px 0 26px; color: var(--paper); }
.lp-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lp-live { margin: 26px 0 0; font-size: 14px; color: var(--mist); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(46,155,99,.25); }

.lp-device { margin: 0; justify-self: center; width: min(100%, 380px); padding: 12px; border-radius: 34px; background: #0f2329; border: 1px solid var(--line); }
.lp-screen { border-radius: 24px; background: var(--water); padding: 20px 16px 18px; }
.lp-screen-region { margin: 0 0 12px; font: 600 20px var(--display); }
.lp-days .day-tab { cursor: pointer; padding: 10px 4px 8px; }
.lp-days .day-tab[aria-current="true"] { border-color: var(--paper); }
.lp-days .mark { width: 46px; height: 46px; }
.lp-days .tab-name { font-size: 16px; }
.lp-panel { background: var(--deep); border-radius: 10px; padding: 14px; border-top: 5px solid var(--line); }
.lp-panel.go { border-top-color: var(--go); } .lp-panel.maybe { border-top-color: var(--maybe); } .lp-panel.no { border-top-color: var(--no); }
.lp-panel-head { margin: 0; font: 600 21px var(--display); }
.lp-reason { margin: 6px 0 10px; font-size: 15px; }
.lp-spot { margin: 10px 0 0; font-size: 15px; }

.lp-paper { background: var(--paper); color: var(--paper); }
.lp-paper .fine { color: #4F6A70; }
.lp-inner { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 7vw, 88px) var(--gap); }
.lp h2 { margin: 0; font: 800 clamp(38px, 6vw, 64px)/.95 var(--display); max-width: 14em; }
.lp-sub { max-width: 36em; font-size: 18px; margin: 14px 0 32px; }
.lp-charts { display: grid; gap: 22px; }
.lp-chart { margin: 0; background: #fff; border-radius: 12px; padding: 18px; border: 1px solid #D5DFE0; }
.lp-chart figcaption { display: block; color: #3F5A60; font-size: 15px; margin-bottom: 12px; }
.lp-chart figcaption strong { color: var(--paper); }
/* charts drawn for the dark app, re-inked for paper */
.lp-paper .tide .win { fill: var(--sun); fill-opacity: .38; }
.lp-paper .tide .water { fill: var(--sea); fill-opacity: .16; }
.lp-paper .tide .line { stroke: var(--paper); }
.lp-paper .tide .pt, .lp-paper .tide .hl, .lp-paper .wind .kt { fill: var(--paper); }
.lp-paper .ax { fill: #5F7A80; }
.lp-paper .wind .bar.ok { fill: #9DB9C0; }
.lp-paper .wind .gust { stroke: var(--paper); }
.lp-paper .wind .limit { stroke: #B8901C; }
.flows { display: grid; gap: 14px; }
.flow { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 15px; }
.flow-bar { position: relative; height: 14px; background: #E6EDEC; border-radius: 3px; }
.flow-bar span { position: absolute; inset: 0 auto 0 0; background: #7FA0A7; border-radius: 3px; }
.flow-bar span.high { background: var(--no); }
.flow-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--water); }
.flow-val { font-weight: 700; }
.rain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 170px; align-items: end; }
.rain-col { display: grid; grid-template-rows: 1fr auto auto; height: 100%; align-items: end; justify-items: center; gap: 4px; }
.rain-bar { width: 56%; background: #7FA0A7; border-radius: 4px 4px 0 0; align-self: end; }
.rain-pct { font-weight: 700; }
.rain-day { font-size: 14px; color: #3F5A60; }

.lp-spots { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 720px; }
.lp-spots li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.lp-spots .rank { min-width: 30px; height: 30px; font-size: 19px; }
.lp-spots p { margin: 0; }
.lp-spots .spot-name { font: 600 22px var(--display); }
.lp-spots .spot-why { color: var(--mist); margin-top: 2px; }

.lp-steps { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.steps .n { font: 800 54px/.8 var(--display); color: var(--maybe); min-width: 36px; }
.steps p { margin: 0; max-width: 30em; font-size: 17px; }
.extras { margin: 36px 0 30px; padding-left: 20px; display: grid; gap: 8px; max-width: 40em; color: var(--mist); }

@media (min-width: 960px) {
  .lp-hero { grid-template-columns: 1.15fr .85fr; }
  .lp-charts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

main.lp { max-width: none; padding: 0; }
.lp-brand span { white-space: nowrap; }
@media (max-width: 520px) { .lp-brand { font-size: 20px; } .lp-nav nav { gap: 10px; } .lp-nav .lp-cta.small { display: none; } }

/* ---------- landing video ---------- */
.lp-hero-wrap { position: relative; overflow: hidden; }
.lp-hero-wrap .lp-hero { position: relative; z-index: 1; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lp-hero-wrap.has-video::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(21,45,53,.92) 0%, rgba(21,45,53,.7) 55%, rgba(21,45,53,.45) 100%); }
.lp-hero-wrap.has-video .lp-hero { z-index: 2; }
.band { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,45,53,.9) 0%, rgba(21,45,53,.15) 60%); }
.band-copy { position: relative; z-index: 1; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 var(--gap) clamp(36px, 7vw, 80px); }
.band-line { margin: 0; font: 800 clamp(44px, 9vw, 104px)/.9 var(--display); max-width: 11em; }
.band-sub { margin: 14px 0 0; font-size: clamp(17px, 2vw, 20px); max-width: 30em; }

/* ---------- boat builder ---------- */
.boat-stage { margin: 0; background: linear-gradient(180deg, #24434D 0%, var(--deep) 70%); border-radius: 12px; padding: 10px 6px 0; overflow: hidden; }
.boat-stage img { display: block; width: 100%; height: auto; }
.boat-more summary { cursor: pointer; padding: 6px 0; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.boat-more[open] summary { margin-bottom: 10px; }
.boat-more { display: grid; gap: 12px; }


/* =================== light theme fixes and 7-day layout =================== */
.day, .day-tab, .stats div, .lp-panel, .lp-chart { box-shadow: 0 1px 2px rgba(30,58,68,.06), 0 4px 14px rgba(30,58,68,.05); }
.mark.maybe text { fill: var(--paper); }
.mark rect, .mark path { stroke: rgba(30,58,68,.18); }

/* the call: give the big day word room so the sentence never touches it */
.pick { padding: 26px 0 20px; }
.pick-day { font: 800 clamp(52px, 15vw, 112px)/1 var(--display); letter-spacing: -.02em; }
.pick-why { margin: 16px 0 0; font-size: 18px; line-height: 1.5; }

/* seven-day strip: scrolls sideways on phones, fits in one row on wider screens */
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin: 0 calc(var(--gap) * -1) 10px; padding-left: var(--gap); padding-right: var(--gap); scrollbar-width: thin; }
.day-tab { flex: 0 0 78px; scroll-snap-align: start; padding: 10px 4px 8px; gap: 4px; }
.day-tab .mark { width: 44px; height: 44px; }
.day-tab .tab-name { font: 700 15px/1 var(--display); margin: 0; }
.day-tab .tab-verdict { font-size: 12px; }
.day-tab[aria-selected="true"] { border-color: var(--sea); background: #F3FAFC; }
@media (min-width: 720px) {
  .days { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; margin-left: 0; margin-right: 0; padding-left: 2px; padding-right: 2px; }
  .day-tab { flex: none; }
}
/* one day at a time on every screen size; wide screens split it into two columns */
@media (min-width: 960px) {
  .panels { grid-template-columns: 1fr; }
  .day[data-hidden] { display: none; }
  .day { padding: 22px 26px 24px; }
  .day-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
  .day-body figure:first-child { margin-top: 14px; }
}

/* tide chart: the window is a warm band that stands apart from the blue water */
.tide .win { fill: var(--sun); fill-opacity: .38; }
.tide .water { fill: var(--sea); fill-opacity: .16; }
.tide .line { stroke: #2B6F8C; stroke-width: 2.2; }
.tide .moving { fill: var(--go); }
.sw.win { background: var(--sun); opacity: .75; }
.wind .bar.ok { fill: #9DB9C0; }
.wind .limit { stroke: #C38F12; stroke-width: 1.6; }
.wind .gust { stroke: var(--paper); opacity: .45; }
figcaption .lim { color: #9B7310; }
.err { color: #9B6A00; }

/* chips, buttons, banners on a light page */
.boat input:checked + span, .chip input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
.social-btn { background: #fff; color: var(--paper); border: 1px solid var(--line); }
.announce { background: #FFF3CC; color: var(--paper); }
.tag { color: var(--paper); }
.admin-nav a[aria-current="page"] { background: var(--sea); color: #fff; }
.signout { margin: 0; }
.signout button { background: transparent; color: var(--paper); font: inherit; font-size: 15px; cursor: pointer; }
.top-links { flex-wrap: wrap; justify-content: flex-end; }
.flash { color: var(--paper); }

/* boat builder stage */
.boat-stage { background: linear-gradient(180deg, #D9EEF5 0%, #F5FBFC 75%); border: 1px solid var(--line); }

/* landing page on the light theme */
.lp-device { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(30,58,68,.12); }
.lp-screen { background: var(--water); }
.lp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 0 0 12px; padding: 0; overflow: visible; }
.lp-days .day-tab { flex: none; padding: 7px 0 6px; border-radius: 7px; min-width: 0; }
.lp-days .mark { width: 30px; height: 30px; }
.lp-days .tab-name { font-size: 12px; }
.lp-days .day-tab[aria-current="true"] { border-color: var(--sea); }
.lp-paper { background: #E0EEF1; color: var(--paper); }
.lp-paper .fine { color: var(--mist); }
.rain { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.rain-bar { width: 70%; background: var(--sea); opacity: .55; }
.steps .n { color: var(--sea); }
.lp-spots li { border-top-color: var(--line); }
.lp-hero-wrap.has-video .lp-hero, .lp-hero-wrap.has-video .lp-lede, .lp-hero-wrap.has-video .lp-link { color: #fff; }
.lp-hero-wrap.has-video .lp-live { color: #E3F0F2; }
.lp-hero-wrap.has-video .lp-device .lp-screen, .lp-hero-wrap.has-video .lp-device { color: var(--paper); }
.band { background: #1E3A44; }
.band-copy, .band-line, .band-sub { color: #fff; }
@media (max-width: 520px) { .top-links { justify-content: flex-start; gap: 6px; } .top-links .settings-link, .signout button { padding: 6px 11px; font-size: 14px; } }
.lp-brand span { display: grid; line-height: 1.05; }
.lp-brand small { font: 400 13px var(--body); color: var(--mist); white-space: normal; }
@media (max-width: 520px) { .lp-brand small { display: none; } }

.pick-date { font-size: .34em; font-weight: 700; color: var(--mist); letter-spacing: 0; vertical-align: .9em; margin-left: .15em; }
.lp-days .tab-date { font-size: 10px; color: var(--mist); }
.rain-day { text-align: center; line-height: 1.25; }

/* videos sit as separate rounded panels with room around them */
.band { max-width: 1180px; width: calc(100% - 2 * var(--gap)); margin: clamp(36px, 6vw, 72px) auto; min-height: clamp(360px, 58vh, 560px); border-radius: 18px; }
.band-copy { padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 5vw, 56px); }
.band-line { font-size: clamp(36px, 7vw, 84px); }
.lp-paper, .lp-where, .lp-steps { margin: 0; }
.lp-final { text-align: center; padding: 8px var(--gap) clamp(48px, 7vw, 88px); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 14px; margin: 18px 0; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.plan { position: relative; background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 6px; align-content: start; box-shadow: 0 1px 2px rgba(30,58,68,.06), 0 4px 14px rgba(30,58,68,.05); }
.plan.best { border: 2px solid var(--sea); }
.plan h2, .plan h3 { margin: 0; font: 700 22px var(--display); }
.plan .price { margin: 4px 0 0; color: var(--mist); }
.plan .price span { font: 800 40px/1 var(--display); color: var(--paper); margin-right: 4px; }
.plan form { margin-top: 10px; }
.plan .save { width: 100%; }
.plan-flag { position: absolute; top: -12px; left: 16px; margin: 0; background: var(--sea); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.save.quiet-go { background: #fff; color: var(--go); border: 2px solid var(--go); }
.save[disabled] { opacity: .5; cursor: not-allowed; }
.plan-list { color: var(--paper); }
.trial-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #E3F1F6; color: var(--paper); }
.lp-pricing .lp-inner { padding-top: clamp(36px, 6vw, 72px); }
.lp-pricing .lp-final { text-align: center; padding: 18px 0 0; }
form.inline { display: inline; }

svg.sky { width: 100%; height: auto; display: block; overflow: visible; }
.sky .cloud { fill: #B9CDD3; }
.sky .kt { font: 600 10px var(--body); fill: var(--paper); }
.front-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.front-list b { display: inline-block; min-width: 92px; }
.lake-finder { background: var(--water); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.lake-finder summary { cursor: pointer; font-weight: 600; }
.lake-finder[open] summary { margin-bottom: 10px; }

/* ---------- boat photo with nameplate ---------- */
.boat-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.boat-photo img { width: 100%; aspect-ratio: 9 / 5; object-fit: cover; display: block; background: #DCEAEE; transition: opacity .2s; }
/* the nameplate sits under the photo so it never covers the boat */
.nameplate { display: grid; gap: 1px; padding: 10px 14px 12px; color: var(--paper); border-top: 1px solid var(--line); }
.nameplate span { font: 800 22px/1.05 var(--display); letter-spacing: .01em; }
.nameplate small { font-size: 13px; color: var(--mist); }
@media (prefers-reduced-motion: reduce) { .boat-photo img { transition: none; } }
.top-id { display: flex; gap: 14px; align-items: center; }
.boat-thumb { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(30,58,68,.2); flex: none; background: #DCEAEE; }
@media (max-width: 520px) { .boat-thumb { width: 44px; height: 44px; } }

/* ---------- saltwater / lakes switch ---------- */
.water-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; max-width: 560px; }
.water-switch a { display: grid; gap: 1px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--deep); text-decoration: none; font: 700 17px var(--display); }
.water-switch a small { font: 400 13px var(--body); color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.water-switch a[aria-current="page"] { border-color: var(--sea); background: #F3FAFC; }

.plans.three { grid-template-columns: 1fr; }
@media (min-width: 900px) { .plans.three { grid-template-columns: repeat(3, 1fr); } }
.plan.picked { border: 2px solid var(--go); }
.plan .price.alt { margin: 0; font-size: 14px; }
.plan .price.alt b { color: var(--paper); }
.plan-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.plan-buttons form { margin: 0; }
.water-switch a.add-water { border-style: dashed; color: var(--mist); }
.water-switch a.add-water small { color: var(--sea); }
/* The lakes or saltwater regions someone fishes, as a row of chips. */
.place-switch { margin: 4px 0 10px; }
.place-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.place-chips li { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; background: var(--deep); }
.place-chips li.on { border-color: var(--sea); background: #F3FAFC; box-shadow: inset 0 0 0 1px var(--sea); }
.place-chips a, .place-chips span { display: flex; align-items: baseline; gap: 5px; padding: 6px 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--paper); }
.place-chips small { font-weight: 400; font-size: 12px; color: var(--mist); }
.place-chips li.add { border-style: dashed; }
.place-chips li.add a { color: var(--sea); }
.place-chips li.adding span { color: var(--sea); }
.place-chips .chip-x { border: 0; background: none; padding: 0 10px 0 2px; font-size: 18px; line-height: 1; color: var(--mist); cursor: pointer; }
.place-chips .chip-x:hover, .place-chips .chip-x:focus-visible { color: var(--no); }
.places { margin: 0 0 12px; }
.places-label { margin: 0 0 6px; font-weight: 700; }
.h1-state { font-weight: 500; color: var(--mist); }
.pick-best { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--sea); }
.danger { margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px; background: #FDECEA; border-left: 5px solid var(--no); color: #7A231B; font-size: 16px; line-height: 1.45; }
.danger a { color: #7A231B; }
.heads-up { margin: 12px 0 4px; padding: 10px 14px; border-radius: 10px; background: #FFF6DD; border-left: 5px solid var(--maybe); color: #6B4E00; font-size: 15px; line-height: 1.45; }
/* What to tie on: the tackle box put to work. */
.tie-on { margin: 4px 0 22px; padding: 18px var(--gap) 16px; background: var(--deep); border-radius: 14px; border: 1px solid var(--line); }
.tie-on.empty-box { border: 2px solid var(--sun); }
.tie-on h2 { margin: 0; font: 800 24px var(--display); }
.tie-on-head .fine { margin: 2px 0 0; }
.tie-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.tie-list li { padding-top: 10px; border-top: 1px solid var(--line); }
.tie-species { margin: 0 0 4px; font-weight: 700; }
.tie-have, .tie-add { margin: 2px 0; font-size: 15px; }
.tie-on .tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #E3F3EA; color: #1F6B43; vertical-align: 1px; }
.tie-on .tag.add { background: #FFF1CC; color: #6B4E00; }
.tie-foot { margin: 12px 0 0; font-size: 15px; }
.tie-cta { margin-top: 14px; padding: 14px; border-radius: 10px; background: #FFF8E3; }
.tie-cta p { margin: 0 0 12px; }
@media (min-width: 720px) { .tie-list { grid-template-columns: repeat(3, 1fr); } .tie-list li { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 14px; } .tie-list li:first-child { border-left: 0; padding-left: 0; } }
.lp-tackle-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 860px) { .lp-tackle-grid { grid-template-columns: 1fr 2.2fr; } }
.lp-box { padding: 18px; border-radius: 14px; background: #FFF8E3; border: 2px dashed var(--sun); }
.lp-box-label { margin: 0 0 8px; font-weight: 700; }
.lp-box-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-box-items li { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #F0DFA8; font-size: 15px; }
.lp-tie { margin: 0; }
.lp-tie h3 { margin: 0; font: 800 22px var(--display); }
.lp-tackle .fine { margin-top: 16px; }
