@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/bricolage-grotesque-800.31ba813c4689.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #1c3d3a;
  --sea: #285b53;
  --glass: #e1ebe3;
  --muted: #4f615b;
  --line: #cdd4cb;
  --sand: #efe6cf;
  --font-body: Arial, Helvetica, sans-serif;
  --font-accent: Georgia, "Times New Roman", serif;
  --radius: 20px;
  --space: 24px;
  --consent-tracking: -2px;
  --consent-label-gap: 6px;
  --consent-target: 44px;
  --age-label-gap: 14px;
  /* Public forecast pages: Sneaky Surf identity A1, Sea turned up, in green (Adam, 25 Nov 2026). */
  --sp-bg: #ffffff;
  --sp-ink: #0f2a26;
  --sp-muted: #5b6b67;
  --sp-line: #e6eae8;
  --sp-soft: #f5f7f6;
  --sp-sea: #14705f;
  --sp-sea-2: #e3f1ec;
  --sp-sand: #fbf5e6;
  --sp-sand-line: #efdcae;
  --sp-warn: #8a5a00;
  --sp-off: var(--sp-sea);
  --sp-cross: #74661f;
  --sp-on: #a33a2a;
  --sp-map-bg: #0f3d45;
  --sp-map-swell: #f5b83a;
  --sp-map-swell-2: #6cc0e8;
  --sp-map-off: #8fe3c8;
  --sp-map-on: #e5533d;
  --sp-map-cross: #e8d36a;
  --sp-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sp-serif: Georgia, "Times New Roman", serif;
  /* Brand layer only: panels, bands and illustration, never behind forecast data. */
  --sp-butter: #fff6d6;
  --sp-sun: #f7e07a;
  --sp-coral: #f0643c;
  --sp-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --sp-measure: 1180px;
  /* Placeholder ramps for the model inputs grid, pending Adam's approval of these colours. */
  --lab-h1: #e3f1ee;
  --lab-h2: #c3e3dc;
  --lab-h3: #9ccfc4;
  --lab-h4: #6fb7a9;
  --lab-h5: #3f9686;
  --lab-h6: #1f6f63;
  --lab-p1: #f1f0e0;
  --lab-p2: #e6e3b9;
  --lab-p3: #d7d08e;
  --lab-p4: #c4b865;
  --lab-p5: #a99a3f;
  --lab-p6: #8a7a22;
  --lab-w1: #f0e8e6;
  --lab-w2: #e6d3cf;
  --lab-w3: #d9b8b1;
  --lab-w4: #c99a91;
  --lab-w5: #b57a6f;
  --lab-w6: #a33a2a;
  --lab-step: 22.5deg;
  --sp-side: 320px;
  --shadow: 0 8px 24px #1c3d3a08;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sp-bg);
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, .button { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 20px; background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; }
.primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.secondary { background: transparent; }
button:hover:not(:disabled), .button:hover { box-shadow: inset 0 0 0 1px currentColor; }
button:disabled { background: var(--glass); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 4px; }
main:focus-visible { outline: none; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--white); padding: 12px; }
.skip:focus { top: 12px; }
.site-header { max-width: 1288px; margin: auto; padding: 32px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 36px; height: 36px; }
.wordmark { display: block; font-size: 34px; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.byline { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; margin-top: 5px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 16px; font-size: 14px; text-decoration: none; border-radius: 8px; }
.nav [aria-current="page"]:not(.primary) { background: var(--glass); }
.nav .button, .nav button { font-size: 14px; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 0 32px; }
h1, h2, h3 { font-weight: 500; margin-top: 0; }
h1 { font-size: clamp(52px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -4px; margin-bottom: 28px; }
h1 em { font-family: var(--font-accent); font-weight: 500; }
h2 { font-size: 34px; letter-spacing: -1.3px; margin-bottom: 18px; }
h3 { font-size: 29px; letter-spacing: -1px; margin-bottom: 12px; }
p { line-height: 1.6; }
.small, .field-help { font-size: 13px; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; margin: 0 0 24px; }
.status { font-size: 13px; line-height: 1.6; border-left: 2px solid var(--line); padding: 10px 14px; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; padding: 48px 0 76px; }
.lead { max-width: 490px; font-size: 18px; line-height: 1.6; margin-bottom: 28px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero .small { margin-top: 18px; }
.art { position: relative; min-width: 0; margin: 0; border-radius: 140px 16px 16px 16px; overflow: hidden; background: var(--glass); }
.art img { width: 100%; height: 450px; display: block; object-fit: cover; }
.art figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 30px 30px; background: linear-gradient(transparent, #153f3de6); color: var(--white); }
.art figcaption span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.art figcaption strong { font-family: var(--font-accent); font-size: 34px; font-weight: 500; line-height: 1.1; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 96px; }
.sample { position: absolute; left: -32px; right: 32px; bottom: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 16px 40px #1c3d3a1f; }
.sample-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sample-head h2 { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: 0; }
.sample-tag { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--sand); color: var(--ink); white-space: nowrap; }
.sample-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sample-row .eyebrow { font-size: 10px; margin: 0 0 8px; }
.sample-row .small { margin: 6px 0 0; font-size: 12px; }
.sample-row.local { border-left: 1px solid var(--line); padding-left: 18px; }
.sample-value { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.1; }
.sample-value span { font-size: 14px; font-weight: 400; color: var(--muted); }
.sample-quote { font-family: var(--font-accent); font-size: 16px; line-height: 1.4; margin: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 0; }
.section-head > .small { text-align: right; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-width: 0; }
.card .eyebrow { margin-bottom: 22px; }
.sea-glass { background: var(--glass); }
.notice { border-radius: 8px; background: var(--sand); padding: 14px 16px; font-size: 13px; line-height: 1.5; margin-top: 24px; }
.source, .line-text { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; font-size: 13px; line-height: 1.6; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; border-top: 1px solid var(--line); margin-top: 72px; padding-top: 44px; }
.intro .eyebrow { margin-bottom: 14px; }
.intro p:first-child { margin-top: 0; }
footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 28px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.login-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; margin: 36px 0; }
.login-story { position: relative; overflow: hidden; min-height: 590px; padding: 64px; color: var(--white); background: var(--ink); }
.login-story h1 { font-size: 64px; margin-top: 56px; position: relative; z-index: 1; }
.login-story p { position: relative; z-index: 1; }
.login-wave { width: 760px; height: 340px; position: absolute; bottom: -140px; right: -280px; border: 1px solid #d5e1d480; border-radius: 50%; transform: rotate(-15deg); }
.login-wave::before, .login-wave::after { content: ""; position: absolute; inset: 22px; border: 1px solid #d5e1d480; border-radius: 50%; }
.login-wave::after { inset: 44px; }
.login-form { display: flex; flex-direction: column; justify-content: center; padding: 64px; background: var(--white); }
.login-form h2 { font-size: 38px; margin: 28px 0 12px; }
.login-form > p { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.pill { display: inline-block; width: fit-content; padding: 7px 12px; border-radius: 20px; background: var(--glass); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.4; }
.provider { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; }
.provider svg { width: 20px; height: 20px; flex-shrink: 0; }
.page-title { padding: 44px 0 36px; }
.page-title h1 { font-size: 52px; letter-spacing: -2.5px; margin-bottom: 16px; }
.page-title .eyebrow { margin-bottom: 18px; }
.settings-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 46px; align-items: start; }
.settings-nav { display: flex; flex-direction: column; position: sticky; top: 24px; gap: 6px; }
.settings-nav a { padding: 14px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.settings-nav a:hover { background: var(--glass); }
.settings-content { min-width: 0; }
.settings-content > .card { margin-bottom: var(--space); box-shadow: none; scroll-margin-top: 24px; }
.settings-content h2 { font-size: 24px; letter-spacing: -.6px; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-label h2 { margin: 0; }
.account-facts { border-bottom: 1px solid var(--line); padding-bottom: 24px; overflow-wrap: anywhere; }
dt { font-size: 13px; font-weight: 600; }
dd { margin: 12px 0 0; line-height: 1.6; }
.grant, .key { border-top: 1px solid var(--line); padding: 20px 0; overflow-wrap: anywhere; }
.grant p, .key p { margin: 0 0 12px; }
.grant .small { display: block; }
.key button { font-size: 13px; min-height: 44px; padding: 8px 16px; margin-right: 10px; }
.key button:last-child { margin-right: 0; }
code { display: block; background: var(--glass); padding: 16px; border-radius: 8px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.developer-content { padding-top: 16px; }
form { border-bottom: 1px solid var(--line); padding: 16px 0 28px; margin-bottom: 28px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 8px; }
input, select { width: 100%; min-height: 48px; padding: 12px; color: var(--ink); background: var(--white); border: 1px solid #9eb2a7; border-radius: 8px; }
#age-before-signin label { display: flex; align-items: center; gap: var(--age-label-gap); min-height: var(--consent-target); cursor: pointer; }
#age-eligible { flex: none; width: calc(var(--space) * .75); height: calc(var(--space) * .75); min-height: 0; padding: 0; margin: 0; accent-color: var(--sea); }
select { white-space: normal; }
form button { margin-top: 24px; }
.secret-panel { padding: 24px; background: var(--glass); border-radius: 12px; margin-bottom: 28px; }
.secret-panel code { background: var(--white); margin: 20px 0; }
.secret-panel h3 { font-size: 24px; }
.connection-guide { max-width: 880px; margin: 0 auto; }
.connection-guide .card { margin-bottom: var(--space); }
.connection-guide li { line-height: 1.6; margin: 12px 0; }
.connection-guide pre { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1350px) {
  .site-header { margin: 0 28px; }
  .wrap { margin: 0 48px; }
  .hero, .intro { gap: 40px; }
}
@media (max-width: 760px) {
  .site-header { margin: 0; padding: 24px 20px; gap: 12px; }
  .wordmark { font-size: 28px; }
  .brand { gap: 6px; }
  .brand svg { width: 30px; height: 30px; }
  .nav { gap: 0; }
  .nav a:not(.button) { padding: 10px; font-size: 12px; }
  .nav .button, .nav button { padding: 10px 12px; font-size: 12px; min-height: 44px; }
  .site-header.portal-header { flex-direction: column; align-items: stretch; gap: calc(var(--space) / 2); }
  .portal-header .brand { align-self: flex-start; min-height: var(--consent-target); }
  .portal-header .nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-inline-start: 0; gap: var(--consent-label-gap); }
  .portal-header .nav > * { min-width: 0; justify-content: center; }
  .portal-header .nav .button { gap: var(--consent-label-gap); }
  .wrap { margin: 0 20px; padding-bottom: 28px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 44px; }
  h1 { font-size: 56px; letter-spacing: -3.5px; }
  .hero h1 { max-width: 360px; }
  .lead { font-size: 16px; }
  .art { border-top-left-radius: 90px; }
  .art img { height: 300px; }
  .hero-visual { padding-bottom: 0; }
  .sample { position: relative; left: auto; right: auto; margin: -56px 12px 0; padding: 18px; }
  .sample-rows { grid-template-columns: 1fr; gap: 14px; }
  .sample-row.local { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .art figcaption { padding: 40px 22px 24px; }
  .art figcaption strong { font-size: 28px; }
  .section-head h2 { font-size: 27px; }
  .section-head > .small { font-size: 11px; max-width: 100px; }
  .cards, .intro { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .intro { margin-top: 44px; padding-top: 32px; gap: 10px; }
  .intro h2 { font-size: 29px; }
  footer { flex-direction: column; margin-top: 40px; gap: 8px; }
  .login-panel { grid-template-columns: 1fr; margin: 24px 0; }
  .login-story { min-height: 260px; padding: 32px; }
  .login-story h1 { font-size: 44px; margin: 26px 0 20px; }
  .login-story .eyebrow { margin-bottom: 0; }
  .login-story p { font-size: 14px; }
  .login-wave { bottom: -320px; right: -280px; }
  .login-form { padding: 32px 24px; }
  .login-form h2 { font-size: 30px; }
  .provider { padding: 12px; font-size: 14px; }
  .page-title { padding: 28px 0 20px; }
  .page-title h1 { font-size: 40px; letter-spacing: -2px; }
  .settings-grid { grid-template-columns: 1fr; gap: 24px; }
  .settings-nav { flex-direction: row; flex-wrap: wrap; position: static; gap: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .settings-nav a { font-size: 12px; padding: 10px; }
  .section-label { align-items: start; gap: 12px; }
  .section-label h2 { font-size: 22px; }
  .section-label .pill { max-width: 120px; }
  .secret-panel { padding: 20px; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; flex-wrap: wrap; }
  .nav { margin-inline-start: auto; }
  .nav a:not(.button) { padding: 10px 6px; }
  .nav .button, .nav button { padding: 10px; }
  .wordmark { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.consent-facts dd { margin-block-start: var(--consent-label-gap); margin-block-end: var(--space); overflow-wrap: anywhere; }
.consent-page .login-story h1 { letter-spacing: var(--consent-tracking); }
.consent-page .nav a, .consent-back { display: inline-flex; align-items: center; min-height: 44px; padding-block: 12px; }
.consent-page footer { flex-wrap: wrap; gap: 12px 24px; }
.consent-page footer a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.consent-page.consent-failed .pill { display: none; }
.consent-page .secondary { border-color: var(--muted); }
@media (max-width: 760px) {
  .consent-page footer { align-items: flex-start; gap: 8px; }
  .consent-page.consent-failed .login-panel { display: flex; flex-direction: column; }
  .consent-page.consent-failed .login-form { order: 1; }
  .consent-page.consent-failed .login-story {
    order: 2; position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
.consent-permissions { display: block; white-space: pre-line; }

/* Profile controls reuse the portal spacing, palette and native focus states. */
.profile-form { border: 0; padding: 0; margin: 0; }
.profile-intro { margin-block: 0 var(--space); }
.profile-skip { margin-block-end: var(--space); }
.profile-fields, .profile-fields fieldset { border: 0; padding: 0; min-width: 0; margin: 0; }
.profile-fields > .profile-section { padding-block: var(--space); border-top: thin solid var(--line); }
.profile-section h3, .profile-section > legend { font-size: calc(var(--space) * 5 / 6); letter-spacing: normal; font-weight: 600; margin-block: 0 calc(var(--space) * 2 / 3); }
.profile-fields > fieldset.profile-section { margin-block-start: var(--space); }
.profile-fields > fieldset.profile-section > legend { float: left; width: 100%; font-size: calc(var(--space) * 5 / 6); }
.profile-fields > fieldset.profile-section > .field-help { clear: both; }
.profile-grid, .profile-board-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space); }
.profile-field { display: grid; gap: calc(var(--space) / 3); align-content: start; min-width: 0; }
.profile-field > label, .profile-board label { margin: 0; }
.profile-field input, .profile-field select, .profile-board input, .profile-board select { min-width: 0; width: 100%; }
.profile-field .field-help { margin: 0; }
#profile-home-selection { overflow-wrap: anywhere; }
.break-picker { position: relative; }
.break-picker-options { position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 2; list-style: none; margin: calc(var(--space) / 3) 0 0; padding: 0; max-height: calc(var(--space) * 12); overflow: auto; border: thin solid var(--line); border-radius: calc(var(--radius) / 2); background: var(--white); box-shadow: var(--shadow); }
.break-picker-options [role="option"] { min-height: calc(var(--space) * 2); padding: calc(var(--space) / 2); cursor: pointer; overflow-wrap: anywhere; }
.break-picker-options [role="option"][aria-selected="true"], .break-picker-options [role="option"]:hover { background: var(--glass); }
.profile-section > .field-help { margin-block: 0 calc(var(--space) * 2 / 3); }
.profile-section .profile-grid + .field-help { margin-block: calc(var(--space) / 2) 0; }
.profile-section > fieldset { margin-block-end: var(--space); }
.profile-section legend { font-size: calc(var(--space) * 7 / 12); font-weight: 600; margin-block-end: calc(var(--space) / 3); }
.profile-choices { display: flex; flex-wrap: wrap; gap: calc(var(--space) / 3); }
.profile-choices label { display: flex; align-items: center; gap: calc(var(--space) / 3); min-height: calc(var(--space) * 2); max-width: 100%; overflow-wrap: anywhere; margin: 0; padding: calc(var(--space) / 3) calc(var(--space) / 2); border: thin solid var(--line); border-radius: calc(var(--radius) / 2); font-weight: 400; cursor: pointer; }
.profile-choices label:has(input:checked) { background: var(--glass); border-color: var(--sea); }
.profile-choices input[type="checkbox"] { width: calc(var(--space) * 5 / 6); height: calc(var(--space) * 5 / 6); min-height: 0; padding: 0; margin: 0; accent-color: var(--sea); }
.profile-spot-choices { max-height: calc(var(--space) * 10); overflow: auto; padding: calc(var(--space) / 6); }
.profile-board { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: calc(var(--space) / 2); padding: calc(var(--space) * 2 / 3); margin-block-end: calc(var(--space) / 2); background: var(--paper); border: thin solid var(--line); border-radius: calc(var(--radius) / 2); }
.profile-board-fields { grid-column: 1 / -1; gap: calc(var(--space) / 2); }
.profile-board-fields input, .profile-board-fields select { font-weight: normal; }
.profile-board-fields label { display: grid; gap: calc(var(--space) / 3); }
.profile-trip .profile-board-fields label:first-child { grid-column: 1 / -1; }
.profile-form button { margin: 0; }
.profile-form #profile-add-board { margin-block-start: calc(var(--space) / 3); }
.profile-actions { border-top: thin solid var(--line); padding-block-start: var(--space); }
.profile-status { font-size: calc(var(--space) * 7 / 12); color: var(--muted); line-height: 1.6; margin-block: calc(var(--space) / 2) 0; }
#onboarding-page { max-width: calc(var(--space) * 35); margin-inline: auto; }
@media (max-width: 760px) { .profile-grid, .profile-board-fields { grid-template-columns: minmax(0, 1fr); } }
.privacy-page .wrap{max-width:54rem}

.notice-page .wrap { max-width: 880px; }
.notice-page article { display: block; }
.notice-page article h2:not(:first-child) { margin-top: 32px; }
.notice-page article p { overflow-wrap: anywhere; }
.notice-page footer { flex-wrap: wrap; }
.learn-page footer .basis { flex-basis: 100%; margin: 0; }
.notice-page a { min-height: 44px; display: inline-flex; align-items: center; }
.build { border-top: 1px solid var(--line); margin-top: 72px; padding-top: 56px; }
.build-head { max-width: 760px; margin-bottom: 40px; }
.build-head .eyebrow { margin-bottom: 14px; }
.build-head h2 em { font-family: var(--font-accent); font-weight: 500; }
.build-head .lead { max-width: 640px; margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.step-num { display: block; font-family: var(--font-accent); font-size: 44px; line-height: 1; color: var(--sea); margin-bottom: 18px; }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; line-height: 1.6; }
.step .small { margin-top: 12px; }
.build .actions .small { max-width: 320px; }
@media (max-width: 760px) {
  .build { margin-top: 44px; padding-top: 32px; }
  .build-head { margin-bottom: 28px; }
  .build-head h2 { font-size: 29px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px; }
}
/* Profile and account polish */
.profile-choices label { border-radius: 999px; padding-inline: 14px 18px; }
.profile-choices label:has(input:checked) { background: var(--sea); border-color: var(--sea); color: var(--white); font-weight: 600; }
.profile-choices label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.profile-actions { position: sticky; bottom: 0; background: var(--white); padding-block: 16px; margin-inline: -4px; padding-inline: 4px; border-top: 1px solid var(--line); z-index: 1; }
.profile-summary { margin: 18px 0 20px; }
.profile-summary dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.profile-summary dl > div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.profile-summary dt { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.profile-summary dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.profile-summary-empty { color: var(--muted); font-size: 14px; margin: 0; }
.profile-editor > summary { list-style: none; display: inline-flex; cursor: pointer; }
.profile-editor > summary::-webkit-details-marker { display: none; }
.profile-editor[open] > summary { margin-bottom: 8px; }
.endpoint-row { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.endpoint-row .endpoint { flex: 1 1 240px; margin: 0; min-width: 0; overflow-wrap: anywhere; }
#privacy-slot > .card { margin-bottom: var(--space); box-shadow: none; scroll-margin-top: 24px; }
body[data-page="onboarding"] #privacy-controls { display: none; }
@media (max-width: 760px) {
  .profile-actions { flex-direction: row; flex-wrap: nowrap; padding-block: 12px; }
  .profile-actions > button { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
}
/* Header and status polish */
.status.quiet { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-header { padding-block: 24px; }
.nav [aria-current="page"]:not(.primary) { background: none; box-shadow: inset 0 -2px 0 var(--sea); border-radius: 0; font-weight: 600; }
.nav #logout { border-color: transparent; background: none; font-weight: 600; }
.nav #logout:hover { background: var(--glass); }
@media (max-width: 760px) {
  .site-header.portal-header { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 14px 16px; }
  .portal-header .brand { align-self: center; }
  .portal-header .wordmark { font-size: 24px; letter-spacing: -1.2px; }
  .portal-header .brand svg { width: 26px; height: 26px; }
  .portal-header .nav { display: flex; gap: 2px; margin-inline-start: auto; }
  .portal-header .nav a:not(.button) { padding: 10px 8px; font-size: 13px; }
  .portal-header .nav .button, .portal-header .nav button { padding: 10px 12px; font-size: 13px; }
  /* The logo already links home; keep Home for keyboard users only. */
  .portal-header .nav a[data-page-link="home"]:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
}
@media (max-width: 380px) {
  .site-header.portal-header { flex-wrap: nowrap; }
  .portal-header .wordmark { font-size: 21px; }
  .portal-header .nav a:not(.button) { padding: 10px 6px; }
  .portal-header .nav .button, .portal-header .nav button { padding: 10px 8px; }
}
.learn-page .crumbs { font-size: 12px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; margin: 0 0 18px; }
.learn-page .crumbs a { color: inherit; text-decoration: none; }
.learn-page .crumbs a:hover { text-decoration: underline; }
.learn-page .crumbs .sep { opacity: .5; margin-inline: .6em; }
.learn-page table { width: 100%; border-collapse: collapse; margin-block: calc(var(--space) * 2 / 3) var(--space); }
.learn-page th, .learn-page td { text-align: start; padding: calc(var(--space) / 2); border-bottom: thin solid var(--line); }
.learn-page th { color: var(--muted); font-weight: 600; }
.learn-page .num { text-align: end; font-variant-numeric: tabular-nums; }
.learn-page code { margin-block: calc(var(--space) * 2 / 3); }
.learn-page article li + li { margin-block-start: calc(var(--space) / 3); }
.learn-list { list-style: none; padding: 0; margin: 0; }
.learn-list li + li { border-top: thin solid var(--line); margin-block-start: var(--space); padding-block-start: var(--space); }
.learn-list h2 { margin: 0; }
.learn-list p { color: var(--muted); }
.learn-list .note-meta { display: flex; gap: calc(var(--space) / 2); margin: 0 0 calc(var(--space) / 3); font-size: 12px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); }
.learn-list .note-tag { font-weight: 700; }
.learn-list .read-link { font-weight: 600; }
/* Public forecast pages: approved reference R (spot) and H (today table). */
body.spot-page { min-height: 100vh; background: var(--sp-bg); color: var(--sp-ink); font: calc(var(--space) * 16 / 24)/1.5 var(--sp-font); }
.spot-page a { color: var(--sp-sea); }
.spot-page p { line-height: 1.5; }
.spot-page .num { font-variant-numeric: tabular-nums; }
.spot-page .muted { color: var(--sp-muted); }
.spot-page .synthetic { display: inline-block; background: var(--sp-sand); color: var(--sp-warn); border: calc(var(--space) * 1 / 24) solid var(--sp-sand-line); border-radius: calc(var(--space) * 999 / 24); font-size: calc(var(--space) * 12 / 24); line-height: 1.5; padding: calc(var(--space) * 1 / 24) calc(var(--space) * 9 / 24); font-weight: 600; }
.spot-page .wrap { max-width: var(--sp-measure); margin: 0 auto; padding: 0 calc(var(--space) * 20 / 24); }
.spot-page .topbar { border-bottom: calc(var(--space) * 1 / 24) solid var(--sp-line); background: var(--sp-bg); position: sticky; top: 0; z-index: 5; }
.spot-page .topbar .wrap { display: flex; align-items: center; gap: calc(var(--space) * 20 / 24); height: calc(var(--space) * 56 / 24); }
.spot-page .wordmark { display: inline; font-weight: 800; letter-spacing: -.02em; font-size: calc(var(--space) * 19 / 24); line-height: 1.5; color: var(--sp-ink); text-decoration: none; }
.spot-page .topbar nav { display: flex; gap: calc(var(--space) * 18 / 24); font-size: calc(var(--space) * 14 / 24); }
.spot-page .topbar nav a { color: var(--sp-ink); text-decoration: none; }
.spot-page h1, .spot-page h2, .spot-page h3 { letter-spacing: -.015em; line-height: 1.2; font-weight: 700; }
.spot-page .crumbs { font-size: calc(var(--space) * 13 / 24); color: var(--sp-muted); display: flex; flex-wrap: wrap; gap: calc(var(--space) * 6 / 24); }
.spot-page .crumbs a { color: var(--sp-muted); text-decoration: none; }
.spot-page .crumbs a:hover { text-decoration: underline; }
.spot-page .crumbs .sep { opacity: .5; }
.spot-page .hero { display: block; padding: 0; gap: 0; border-bottom: calc(var(--space) * 1 / 24) solid var(--sp-line); }
.spot-page .hero .wrap { padding: calc(var(--space) * 26 / 24) calc(var(--space) * 20 / 24) 0; }
.spot-page .hero h1 { font-size: calc(var(--space) * 44 / 24); margin: calc(var(--space) * 8 / 24) 0 calc(var(--space) * 4 / 24); letter-spacing: -.03em; }
.spot-page .sub { font-size: calc(var(--space) * 17 / 24); color: var(--sp-muted); margin: 0 0 calc(var(--space) * 18 / 24); }
.spot-page .anchors { display: flex; gap: calc(var(--space) * 18 / 24); font-size: calc(var(--space) * 14 / 24); font-weight: 600; overflow-x: auto; white-space: nowrap; }
.spot-page .anchors a { color: var(--sp-ink); text-decoration: none; padding: calc(var(--space) * 10 / 24) 0; border-bottom: calc(var(--space) * 2 / 24) solid transparent; }
.spot-page .anchors a.on { border-color: var(--sp-sea); }
.spot-page h2 { font-size: var(--space); margin: calc(var(--space) * 40 / 24) 0 calc(var(--space) * 12 / 24); }
.spot-page table { border-collapse: collapse; width: 100%; }
.spot-page th, .spot-page td { padding: calc(var(--space) * 6 / 24) calc(var(--space) * 8 / 24); text-align: left; border-bottom: calc(var(--space) * 1 / 24) solid var(--sp-line); white-space: nowrap; }
.spot-page th { font-size: calc(var(--space) * 12 / 24); text-transform: uppercase; letter-spacing: .04em; color: var(--sp-muted); font-weight: 600; }
.spot-page .rgrid { display: grid; grid-template-columns: minmax(0, 1fr) var(--sp-side); grid-template-areas: "fc side" "rest side"; gap: 0 calc(var(--space) * 40 / 24); padding-top: var(--space); align-items: start; }
.spot-page .r-fc { grid-area: fc; min-width: 0; }
.spot-page .r-side { grid-area: side; position: sticky; top: calc(var(--space) * 76 / 24); }
.spot-page .r-side.r-tall { position: static; }
.spot-page .r-rest { grid-area: rest; min-width: 0; }
.spot-page .answer-r { font-size: calc(var(--space) * 19 / 24); line-height: 1.45; margin: 0 0 calc(var(--space) * 6 / 24); }
.spot-page .stamp { font-size: calc(var(--space) * 13 / 24); margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .todayline { margin: 0; font-size: calc(var(--space) * 15 / 24); }
.spot-page .tides { margin: calc(var(--space) / 4) 0 0; }
.spot-page .tideline { margin: 0; font-size: calc(var(--space) * 14 / 24); }
.spot-page .r-actions { display: flex; flex-wrap: wrap; gap: calc(var(--space) * 12 / 24) calc(var(--space) * 18 / 24); align-items: center; margin: calc(var(--space) * 14 / 24) 0 0; font-size: calc(var(--space) * 14 / 24); }
.spot-page .btn-save { border: calc(var(--space) * 1 / 24) solid var(--sp-ink); border-radius: calc(var(--space) * 999 / 24); padding: calc(var(--space) * 8 / 24) calc(var(--space) * 16 / 24); color: var(--sp-ink); text-decoration: none; font-weight: 650; }
.spot-page .units { color: var(--sp-muted); }
.spot-page .saved { margin: 0; font-weight: 650; }
.spot-page .units b { color: var(--sp-ink); }
.spot-page .vh { position: absolute; width: calc(var(--space) / 24); height: calc(var(--space) / 24); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spot-page .vh-inline { font-size: 0; }
.spot-page #days { margin-top: calc(var(--space) * 22 / 24); }
.spot-page .day-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.spot-page .day-pick > legend { display: block; width: 100%; padding: 0; }
.spot-page .r-cards { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: calc(var(--space) * 8 / 24); }
.spot-page .r-pick { position: relative; }
.spot-page .rcard { display: flex; flex-direction: column; border: calc(var(--space) * 1 / 24) solid var(--sp-line); border-radius: calc(var(--space) * 12 / 24); padding: calc(var(--space) * 10 / 24); color: var(--sp-ink); text-decoration: none; min-width: 0; }
.spot-page .rcard:hover, .spot-page .rcard:focus-visible { border-color: var(--sp-sea); }
.spot-page .rc-day { font-weight: 700; font-size: calc(var(--space) * 14 / 24); line-height: 1.2; }
.spot-page .rc-date { color: var(--sp-muted); font-size: calc(var(--space) * 12 / 24); line-height: 1.3; margin-bottom: calc(var(--space) * 8 / 24); }
.spot-page .rc-big { font-size: calc(var(--space) * 22 / 24); font-weight: 750; line-height: 1.1; }
.spot-page .rc-range { color: var(--sp-muted); font-size: calc(var(--space) * 12 / 24); margin: calc(var(--space) * 2 / 24) 0 calc(var(--space) * 8 / 24); white-space: nowrap; }
.spot-page .rc-label { font-size: calc(var(--space) * 11 / 24); text-transform: uppercase; letter-spacing: .05em; color: var(--sp-muted); line-height: 1.3; }
.spot-page .rc-win { font-size: calc(var(--space) * 12 / 24); white-space: nowrap; line-height: 1.3; }
.spot-page .rc-trend { font-size: calc(var(--space) * 12 / 24); color: var(--sp-muted); margin-top: calc(var(--space) * 4 / 24); white-space: nowrap; }
.spot-page .hourly { margin-top: calc(var(--space) * 28 / 24); }
.spot-page .r-pick .rcard { position: relative; cursor: pointer; padding: calc(var(--space) * 10 / 24) calc(var(--space) * 8 / 24); scroll-margin-inline: calc(var(--space) * 8 / 24); }
.spot-page .r-pick .pick { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.spot-page .rc-size { font-size: calc(var(--space) * 14 / 24); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
.spot-page .rc-swell { font-size: calc(var(--space) * 12 / 24); color: var(--sp-muted); margin-top: calc(var(--space) * 2 / 24); white-space: nowrap; }
.spot-page .r-pick .rc-trend { margin-top: 0; white-space: normal; }
.spot-page .rc-wind { display: flex; flex-direction: column; margin-top: calc(var(--space) * 8 / 24); font-size: calc(var(--space) * 13 / 24); font-weight: 600; white-space: nowrap; }
.spot-page .wind-brief .w-rel { display: block; margin-top: calc(var(--space) * 2 / 24); font-size: calc(var(--space) * 11 / 24); font-weight: 650; line-height: 1.2; }
.spot-page .rc-note { font-size: calc(var(--space) * 12 / 24); margin: calc(var(--space) * 8 / 24) 0 0; }
.spot-page .day { display: none; }
.spot-page .day-pick:has(#pick-0:checked) ~ .daylist #day-0, .spot-page .day-pick:has(#pick-1:checked) ~ .daylist #day-1, .spot-page .day-pick:has(#pick-2:checked) ~ .daylist #day-2, .spot-page .day-pick:has(#pick-3:checked) ~ .daylist #day-3, .spot-page .day-pick:has(#pick-4:checked) ~ .daylist #day-4, .spot-page .day-pick:has(#pick-5:checked) ~ .daylist #day-5, .spot-page .day-pick:has(#pick-6:checked) ~ .daylist #day-6 { display: block; }
.spot-page .r-pick .rcard:has(:checked) { border-color: var(--sp-sea); box-shadow: inset 0 0 0 calc(var(--space) * 1 / 24) var(--sp-sea); }
.spot-page .r-pick .pick:focus, .spot-page .r-pick .pick:focus-visible { outline: none; }
.spot-page .r-pick .rcard:has(:focus-visible) { outline: calc(var(--space) * 3 / 24) solid var(--sp-sea); outline-offset: calc(var(--space) * 4 / 24); }
.spot-page .day-head { display: flex; flex-wrap: wrap; gap: calc(var(--space) * 4 / 24) calc(var(--space) * 14 / 24); align-items: baseline; margin: 0 0 calc(var(--space) * 8 / 24); }
.spot-page .day-off { color: var(--sp-off); font-weight: 600; font-size: calc(var(--space) * 14 / 24); }
.spot-page .day-wind { font-weight: 600; font-size: calc(var(--space) * 14 / 24); }
.spot-page .model summary { cursor: pointer; color: var(--sp-muted); font-size: calc(var(--space) * 14 / 24); font-weight: 400; padding: calc(var(--space) * 10 / 24) 0; }
.spot-page .model-hours th, .spot-page .model-hours td { font-size: calc(var(--space) * 13 / 24); color: var(--sp-muted); }
.spot-page .scroll { overflow-x: auto; }
.spot-page .hours th, .spot-page .hours td { font-size: calc(var(--space) * 14 / 24); }
.spot-page .why { font-size: calc(var(--space) * 12 / 24); }
.spot-page .wind-off { color: var(--sp-off); }
.spot-page .wind-cross { color: var(--sp-cross); }
.spot-page .wind-on { color: var(--sp-on); }
.spot-page .wind-side { color: var(--sp-muted); }
.spot-page .swell-out { color: var(--sp-warn); }
.spot-page .wind { display: inline-grid; grid-template-columns: 1em 1.6em 2.8em auto; gap: 0 calc(var(--space) * 6 / 24); align-items: baseline; }
.spot-page .w-speed { text-align: right; font-weight: 600; }
.spot-page .arrow { display: inline-block; width: 1em; text-align: center; }
.spot-page .disclaimer { font-size: calc(var(--space) * 14 / 24); }
.spot-page .basis { font-size: calc(var(--space) * 14 / 24); margin: 0 0 calc(var(--space) * 6 / 24); }
.spot-page .limits { font-size: calc(var(--space) * 14 / 24); }
.spot-page .limits summary { color: var(--sp-muted); font-weight: 400; }
.spot-page .infobox { border: calc(var(--space) * 1 / 24) solid var(--sp-line); border-radius: calc(var(--space) * 14 / 24); overflow: hidden; }
.spot-page .infobox .body { padding: calc(var(--space) * 14 / 24) calc(var(--space) * 16 / 24); }
.spot-page #facts-h { font-size: calc(var(--space) * 17 / 24); margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .facts { display: grid; grid-template-columns: max-content 1fr; gap: calc(var(--space) * 6 / 24) calc(var(--space) * 16 / 24); font-size: calc(var(--space) * 14 / 24); margin: 0; }
.spot-page .facts dt { color: var(--sp-muted); font-size: inherit; font-weight: 400; }
.spot-page .facts dd { margin: 0; line-height: 1.5; }
/* Compass dial. Marks are drawn for bearing 0 and turned by a transform attribute. */
.spot-page .compass { max-width: calc(var(--space) * 360 / 24); margin: 0 auto calc(var(--space) * 10 / 24); }
.spot-page .compass-stage { position: relative; aspect-ratio: 1; }
.spot-page .compass-dial { display: block; width: 100%; height: 100%; }
.spot-page .cmp-arc { fill: var(--sp-sea-2); stroke: none; }
.spot-page .cmp-ring { fill: none; stroke: var(--sp-ink); stroke-width: calc(var(--space) * 2 / 24); }
.spot-page .cmp-guide { fill: none; stroke: var(--sp-line); stroke-width: calc(var(--space) * 1 / 24); }
.spot-page .cmp-offshore { fill: none; stroke: var(--sp-off); stroke-width: calc(var(--space) * 6 / 24); }
.spot-page .cmp-swell { fill: var(--sp-ink); stroke: none; }
.spot-page .cmp-swell-2 { fill: var(--sp-muted); fill-opacity: .35; stroke: var(--sp-muted); stroke-width: calc(var(--space) * 1.5 / 24); stroke-dasharray: calc(var(--space) * 4 / 24) calc(var(--space) * 3 / 24); }
.spot-page .cmp-wind { fill: currentColor; stroke: none; }
.spot-page .cmp-hub { fill: var(--sp-bg); stroke: var(--sp-ink); stroke-width: calc(var(--space) * 2 / 24); }
.spot-page .cmp-letter { fill: var(--sp-ink); text-anchor: middle; dominant-baseline: central; font-size: calc(var(--space) * 15 / 24); font-weight: 600; }
/* Satellite layer. The image is 10 x 11 and the stage has the same ratio, so it is never cropped.
   The dial covers the top square. The bottom strip stays clear for Google's logo and copyright. */
.spot-page .compass-stage.has-map { aspect-ratio: 10 / 11; background: var(--sp-map-bg); border-radius: calc(var(--space) * 14 / 24); overflow: hidden; }
.spot-page .compass-map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.spot-page .has-map .compass-dial { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
.spot-page .has-map .cmp-arc { fill: var(--sp-bg); fill-opacity: .18; }
.spot-page .has-map .cmp-ring, .spot-page .has-map .cmp-guide { stroke: var(--sp-bg); }
.spot-page .has-map .cmp-offshore { stroke: var(--sp-map-off); }
.spot-page .has-map .cmp-swell { fill: var(--sp-map-swell); }
.spot-page .has-map .cmp-swell-2 { fill: var(--sp-map-swell-2); stroke: var(--sp-map-swell-2); }
.spot-page .has-map .cmp-hub { fill: var(--sp-map-bg); stroke: var(--sp-bg); }
.spot-page .has-map .cmp-wind { stroke: var(--sp-bg); stroke-width: calc(var(--space) * 1.5 / 24); }
.spot-page .has-map .cmp-wind.wind-off { fill: var(--sp-map-off); }
.spot-page .has-map .cmp-wind.wind-on { fill: var(--sp-map-on); }
.spot-page .has-map .cmp-wind.wind-cross { fill: var(--sp-map-cross); }
.spot-page .has-map .cmp-wind.wind-side { fill: var(--sp-bg); }
.spot-page .has-map .cmp-letter { fill: var(--sp-bg); stroke: var(--sp-ink); stroke-width: calc(var(--space) * 3 / 24); stroke-linejoin: round; paint-order: stroke; }
/* The key: swatch, term and value. Each row is a subgrid so dl > div stays valid HTML. */
.spot-page .facts-key { grid-template-columns: calc(var(--space) * 20 / 24) max-content 1fr; }
.spot-page .fact { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: baseline; }
.spot-page .fact::before { content: ""; display: block; justify-self: center; align-self: center; width: calc(var(--space) * 16 / 24); height: calc(var(--space) * 10 / 24); }
.spot-page .fact-plain::before { display: none; }
.spot-page .fact-plain dt { grid-column: 1 / 3; }
.spot-page .fact-face::before { width: calc(var(--space) * 8 / 24); height: calc(var(--space) * 8 / 24); border-radius: 50%; background: var(--sp-ink); }
.spot-page .fact-arc::before { border: calc(var(--space) * 1 / 24) solid var(--sp-muted); border-radius: calc(var(--space) * 2 / 24); background: var(--sp-sea-2); box-sizing: border-box; }
.spot-page .fact-offshore::before { height: calc(var(--space) * 5 / 24); border-radius: calc(var(--space) * 3 / 24); background: var(--sp-off); }
.spot-page .fact-swell::before { background: var(--sp-ink); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.spot-page .fact-swell-2::before { background: var(--sp-muted); opacity: .5; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.spot-page .facts-map .fact-swell::before { background: var(--sp-map-swell); }
.spot-page .facts-map .fact-swell-2::before { background: var(--sp-map-swell-2); opacity: 1; }
.spot-page .fact-wind::before { background: currentColor; clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%); }
.spot-page .fact-wind dd { color: var(--sp-ink); }
.spot-page .facts-when { margin: calc(var(--space) * 10 / 24) 0 calc(var(--space) * 6 / 24); padding-top: calc(var(--space) * 8 / 24); border-top: calc(var(--space) * 1 / 24) solid var(--sp-line); color: var(--sp-muted); font-size: calc(var(--space) * 12 / 24); font-weight: 400; letter-spacing: 0; }
.spot-page .facts-note { font-size: calc(var(--space) * 14 / 24); margin: calc(var(--space) * 10 / 24) 0 0; padding-top: calc(var(--space) * 8 / 24); border-top: calc(var(--space) * 1 / 24) solid var(--sp-line); }
.spot-page .ask { font-size: calc(var(--space) * 14 / 24); margin: calc(var(--space) * 14 / 24) 0 0; }
.spot-page .notes { max-width: 68ch; line-height: 1.55; }
.spot-page .notes h3 { font-size: calc(var(--space) * 17 / 24); margin: calc(var(--space) * 22 / 24) 0 calc(var(--space) * 6 / 24); }
.spot-page .notes p, .spot-page .notes ul { margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .notes ul { padding-left: calc(var(--space) * 20 / 24); }
.spot-page .notes .notes-headline { font-size: calc(var(--space) * 19 / 24); line-height: 1.4; font-weight: 600; }
.spot-page .lessons { margin-top: calc(var(--space) * 14 / 24); font-size: calc(var(--space) * 14 / 24); line-height: 1.5; }
.spot-page .lessons p { margin: calc(var(--space) * 6 / 24) 0 0; }
.spot-page #lessons-h { font-size: calc(var(--space) * 17 / 24); margin: 0 0 calc(var(--space) * 6 / 24); }
.spot-page #link-h { font-size: calc(var(--space) * 15 / 24); margin: calc(var(--space) * 16 / 24) 0 0; }
.spot-page .schools { list-style: none; margin: 0; padding: 0; }
.spot-page .schools li { padding: calc(var(--space) * 10 / 24) 0; border-bottom: calc(var(--space) * 1 / 24) solid var(--sp-line); }
.spot-page .schools p { margin: calc(var(--space) * 2 / 24) 0; }
.spot-page .school-name { font-weight: 650; }
.spot-page .snippet { margin: calc(var(--space) * 8 / 24) 0 0; padding: calc(var(--space) * 8 / 24) calc(var(--space) * 10 / 24); background: var(--sp-soft); border: calc(var(--space) * 1 / 24) solid var(--sp-line); border-radius: calc(var(--space) * 8 / 24); font-size: calc(var(--space) * 12 / 24); white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.spot-page .snippet code { background: none; border: 0; padding: 0; font-size: inherit; }
.spot-page .lessons .lessons-ask { margin-top: calc(var(--space) * 14 / 24); }
.spot-page .lessons .body > .lessons-ask:only-child { margin: 0; }
.spot-page .business-profile { padding-top: var(--space); padding-bottom: calc(var(--space) * 2); }
.spot-page .business-profile .infobox { max-width: calc(var(--sp-side) * 2); font-size: calc(var(--space) * 15 / 24); line-height: 1.5; }
.spot-page .business-profile .facts a { overflow-wrap: anywhere; }
.spot-page .business-spots { list-style: none; margin: 0; padding: 0; }
.spot-page .business-claimed { font-weight: 650; }
.spot-page .business-file:not([hidden]) { display: block; margin-top: calc(var(--space) * 14 / 24); }
.spot-page .business-reports { max-width: calc(var(--sp-side) * 2); margin-top: var(--space); }
.spot-page .business-reports h2 { font-size: calc(var(--space) * 20 / 24); margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .business-report { border-top: calc(var(--space) * 1 / 24) solid var(--sp-line); padding: calc(var(--space) * 12 / 24) 0; line-height: 1.5; }
.spot-page .business-report p { margin: calc(var(--space) * 4 / 24) 0; }
.spot-page .business-report-label { font-weight: 650; }
.spot-page .business-report-text { white-space: pre-line; overflow-wrap: anywhere; }
.spot-page .business-report-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.spot-page .business-report-form label, .spot-page .business-report-form legend { display: block; font-weight: 650; margin-top: calc(var(--space) * 14 / 24); padding: 0; }
.spot-page .business-report-form select, .spot-page .business-report-form input, .spot-page .business-report-form textarea { display: block; width: 100%; box-sizing: border-box; min-height: calc(var(--space) * 44 / 24); font: inherit; margin-top: calc(var(--space) * 4 / 24); }
.spot-page .business-report-form .report-size { display: grid; grid-template-columns: max-content 1fr max-content 1fr; align-items: center; gap: calc(var(--space) * 4 / 24) calc(var(--space) * 8 / 24); }
.spot-page .business-report-form .report-size legend { grid-column: 1 / -1; }
.spot-page .business-report-form .report-size label { margin: 0; font-weight: 400; }
.spot-page .business-report-form .report-size input { margin: 0; }
.spot-page .business-report-form button { margin-top: calc(var(--space) * 14 / 24); }
.spot-page .business-receipt { margin-top: calc(var(--space) * 14 / 24); padding: calc(var(--space) * 10 / 24) calc(var(--space) * 14 / 24); border: calc(var(--space) * 1 / 24) solid var(--sp-line); border-radius: calc(var(--space) * 10 / 24); }
.spot-page .business-receipt p { margin: calc(var(--space) * 4 / 24) 0; }
.spot-page .faq dt { font-weight: 650; font-size: inherit; margin-top: calc(var(--space) * 14 / 24); }
.spot-page .faq dd { margin: calc(var(--space) * 4 / 24) 0 0; line-height: 1.5; }
.spot-page .near a { display: block; padding: calc(var(--space) * 7 / 24) 0; border-bottom: calc(var(--space) * 1 / 24) solid var(--sp-line); text-decoration: none; color: var(--sp-ink); }
.spot-page footer.site { display: block; border-top: calc(var(--space) * 1 / 24) solid var(--sp-line); margin: calc(var(--space) * 56 / 24) 0 0; padding: calc(var(--space) * 28 / 24) 0; font-size: calc(var(--space) * 13 / 24); line-height: 1.5; color: var(--sp-muted); }
.spot-page footer.site .wrap { display: flex; flex-direction: row; gap: calc(var(--space) * 18 / 24); flex-wrap: wrap; }
.spot-page footer.site a { color: var(--sp-sea); }
.spot-page footer.site p.basis { margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .index { padding-top: calc(var(--space) * 28 / 24); }
.spot-page .controls { display: flex; justify-content: space-between; align-items: end; gap: calc(var(--space) * 12 / 24); flex-wrap: wrap; margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .controls h2 { font-size: calc(var(--space) * 28 / 24); margin: 0; }
.spot-page .note { font-size: calc(var(--space) * 13 / 24); }
.spot-page .controls .units { font-size: calc(var(--space) * 14 / 24); }
.spot-page .today + .today { margin-top: calc(var(--space) * 28 / 24); }
.spot-page .today > h2 { font-size: var(--space); margin: 0 0 calc(var(--space) * 10 / 24); }
.spot-page .today > h2 a { color: var(--sp-ink); text-decoration: none; }
.spot-page .today > h2 a:hover { text-decoration: underline; }
.spot-page .country .ftable { table-layout: fixed; }
.spot-page .country .ftable th:nth-child(1) { width: 26%; }
.spot-page .country .ftable th:nth-child(2) { width: 22%; }
.spot-page .country .ftable th:nth-child(3) { width: 24%; }
.spot-page .tablewrap { overflow-x: auto; border: calc(var(--space) * 1 / 24) solid var(--sp-line); border-radius: calc(var(--space) * 12 / 24); }
.spot-page .ftable th, .spot-page .ftable td { padding: calc(var(--space) * 10 / 24); white-space: normal; vertical-align: top; }
.spot-page .ftable th { letter-spacing: .05em; font-weight: 650; }
.spot-page .ftable tr.region td { background: var(--sp-soft); font-weight: 700; font-size: calc(var(--space) * 13 / 24); padding: calc(var(--space) * 7 / 24) calc(var(--space) * 10 / 24); }
.spot-page .ftable tr.region .muted { font-weight: 400; }
.spot-page .ftable td a { color: var(--sp-ink); font-weight: 600; text-decoration: none; }
.spot-page .ftable td a:hover { color: var(--sp-sea); text-decoration: underline; }
.spot-page .rsum { font-weight: 400; color: var(--sp-muted); font-size: calc(var(--space) * 13 / 24); margin-top: calc(var(--space) * 2 / 24); }
.spot-page .chip { white-space: nowrap; display: inline-block; min-width: calc(var(--space) * 74 / 24); text-align: center; border-radius: calc(var(--space) * 6 / 24); padding: calc(var(--space) * 3 / 24) calc(var(--space) * 8 / 24); font-weight: 700; background: var(--sp-soft); border: calc(var(--space) * 1 / 24) solid var(--sp-line); }
@media (max-width: 900px) {
  .spot-page .rgrid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fc" "side" "rest"; }
  .spot-page .r-side { position: static; margin-top: var(--space); }
  .spot-page .r-cards { display: none; }
  .spot-page .r-pick { position: relative; display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(var(--space) * 112 / 24); overflow-x: auto; padding: calc(var(--space) * 8 / 24); margin: 0 calc(var(--space) * -8 / 24); scroll-padding-inline: calc(var(--space) * 8 / 24); }
  .spot-page .hero h1 { font-size: calc(var(--space) * 34 / 24); }
}
@media (max-width: 760px) {
  .spot-page .topbar nav { display: none; }
  .spot-page .hide-m { display: none; }
  .spot-page .country .ftable { table-layout: auto; }
}
@media (max-width: 640px) {
  .spot-page .wind { grid-template-columns: 1em 1.6em 2.8em; }
  .spot-page .w-rel { grid-column: 1 / -1; font-size: calc(var(--space) * 12 / 24); }
}

/* Home page H, My surf (M, MS, M0), settings and the signed-in header.
   The approved white design: the portal maps its tokens onto the shared --sp-* palette. */
body.portal-white { --paper: var(--sp-bg); --white: var(--sp-bg); --ink: var(--sp-ink); --sea: var(--sp-sea); --glass: var(--sp-soft); --muted: var(--sp-muted); --line: var(--sp-line); --sand: var(--sp-sand); --font-body: var(--sp-font); background: var(--sp-bg); color: var(--sp-ink); font-family: var(--sp-font); }
body.portal-white .card { box-shadow: none; }
.my-surf a { color: var(--sp-sea); }
.my-surf .rc-win { white-space: normal; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.settings-nav a { display: flex; align-items: center; min-height: var(--consent-target); }
/* Shared top bar targets and the shared button, used by the home page and the portal. */
.spot-page .topbar nav { align-items: center; margin-left: auto; }
.spot-page .topbar nav a, .spot-page .topbar nav button { display: inline-flex; align-items: center; min-height: var(--consent-target); white-space: nowrap; }
/* Home page H */
.spot-page .btn { display: inline-flex; align-items: center; min-height: var(--consent-target); border-radius: calc(var(--space) * 999 / 24); padding: 0 calc(var(--space) * 20 / 24); font-weight: 650; text-decoration: none; font-size: calc(var(--space) * 15 / 24); border: calc(var(--space) / 24) solid var(--sp-ink); }
.spot-page .btn.primary { background: var(--sp-ink); color: var(--sp-bg); }
.spot-page .btn.ghost { background: var(--sp-bg); color: var(--sp-ink); border-color: var(--sp-line); }
.spot-page .btn.small { font-size: calc(var(--space) * 14 / 24); padding: 0 calc(var(--space) * 14 / 24); }
.home-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: calc(var(--space) * 56 / 24); align-items: center; padding: calc(var(--space) * 64 / 24) 0 calc(var(--space) * 56 / 24); }
.home-hero h1 { font-size: calc(var(--space) * 68 / 24); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 calc(var(--space) * 18 / 24); }
.home-hero h1 em { font-family: var(--font-accent); color: var(--sp-sea); }
.home-hero .tagline { font-family: var(--font-accent); font-size: calc(var(--space) * 28 / 24); color: var(--sp-sea); margin: 0 0 calc(var(--space) * 18 / 24); line-height: 1.2; }
.home-hero .pill { display: inline-block; background: var(--sp-soft); color: var(--sp-sea); border-radius: calc(var(--space) * 999 / 24); padding: calc(var(--space) * 4 / 24) calc(var(--space) * 12 / 24); font-size: calc(var(--space) * 13 / 24); font-weight: 650; margin-bottom: calc(var(--space) * 18 / 24); }
.home-hero .lead { font-size: calc(var(--space) * 19 / 24); color: var(--sp-muted); max-width: 34em; margin: 0 0 calc(var(--space) * 26 / 24); line-height: 1.5; }
.home-hero .ctas { display: flex; flex-wrap: wrap; gap: calc(var(--space) * 10 / 24); }
.home-hero figure { margin: 0; }
.home-hero img { width: 100%; height: auto; display: block; border-radius: calc(var(--space)) calc(var(--space)) calc(var(--space)) calc(var(--space) * 90 / 24); }
.home-page .band { padding: calc(var(--space) * 48 / 24) 0; border-top: calc(var(--space) / 24) solid var(--sp-line); }
.home-page .band > h2 { font-size: calc(var(--space) * 32 / 24); margin: 0 0 calc(var(--space) * 18 / 24); }
.home-page #today-band { padding-top: calc(var(--space) * 28 / 24); }
.home-page .eyebrow { font-size: calc(var(--space) / 2); text-transform: uppercase; letter-spacing: .08em; color: var(--sp-muted); font-weight: 650; margin: 0 0 calc(var(--space) / 3); }
.home-page .dir { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(var(--space) * 28 / 24); }
.home-page .dir h3 { font-size: calc(var(--space) * 15 / 24); margin: 0 0 calc(var(--space) / 6); }
.home-page .dir h3 a, .home-page .dir li a, .home-page .fq h3 { color: var(--sp-ink); text-decoration: none; }
.home-page .dir .country { font-size: calc(var(--space) / 2); color: var(--sp-muted); margin: 0 0 calc(var(--space) / 3); }
.home-page .dir ul { list-style: none; margin: 0; padding: 0; }
.home-page .dir li a { display: flex; align-items: center; min-height: var(--consent-target); border-bottom: calc(var(--space) / 24) solid var(--sp-line); font-size: calc(var(--space) * 15 / 24); }
.home-page .fq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--space) / 2); }
.home-page .fq .fqi { border: calc(var(--space) / 24) solid var(--sp-line); border-radius: calc(var(--space) * 14 / 24); padding: calc(var(--space) * 14 / 24); }
.home-page .fq h3 { font-size: calc(var(--space) * 15 / 24); font-weight: 600; margin: 0 0 calc(var(--space) / 4); }
.home-page .fq p { color: var(--sp-muted); font-size: calc(var(--space) * 14 / 24); margin: 0 0 calc(var(--space) / 3); }
.home-page .fq .fqi a { display: block; color: var(--sp-sea); font-size: calc(var(--space) * 13 / 24); text-decoration: none; }
.home-page .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--space) * 28 / 24); margin-top: calc(var(--space) * 22 / 24); }
.home-page .two h3 { font-size: calc(var(--space) * 18 / 24); margin: 0 0 calc(var(--space) / 4); }
.home-page .crews { max-width: 40em; }
/* My surf */
.my-surf .greet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: calc(var(--space) / 2); padding-block: calc(var(--space) * 34 / 24) calc(var(--space) * 20 / 24); }
.my-surf .greet h1 { font-size: calc(var(--space) * 36 / 24); font-weight: 600; letter-spacing: -.02em; margin: 0 0 calc(var(--space) / 6); }
.my-surf .greet p { margin: 0; }
.my-surf .units { margin: 0; }
.my-surf .units b { color: var(--ink); }
.my-surf .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.my-surf-grid { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--space) * 40 / 3); gap: calc(var(--space) * 4 / 3); align-items: start; }
.my-surf-main { display: grid; gap: var(--space); min-width: 0; }
.my-surf .card { padding: calc(var(--space) * 18 / 24); border-radius: calc(var(--space) * 16 / 24); }
.my-surf h2 { font-size: calc(var(--space)); letter-spacing: normal; margin: 0; }
.my-surf h2 a { color: var(--ink); }
.my-surf h3 { font-size: calc(var(--space) * 5 / 8); margin: var(--space) 0 calc(var(--space) / 3); }
.chip { display: inline-block; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; padding: calc(var(--space) / 8) calc(var(--space) / 3); border: thin solid var(--line); border-radius: calc(var(--radius) / 4); background: var(--paper); }
.wind-relation { font-weight: 600; color: var(--sea); }
.my-now { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 5 / 12); margin: calc(var(--space) / 2) 0; }
.my-now div { border: thin solid var(--line); border-radius: calc(var(--radius) / 2); padding: calc(var(--space) * 5 / 12); background: var(--white); }
.my-now dt { color: var(--muted); font-size: calc(var(--space) * 11 / 24); text-transform: uppercase; letter-spacing: .05em; }
.my-now dd { margin: calc(var(--space) / 6) 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.section-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: calc(var(--space) / 2); }
.section-row h2 { flex: 1 1 0; min-width: 0; }
.section-row a { white-space: nowrap; }
.saved-list { list-style: none; padding: 0; margin: calc(var(--space) / 3) 0 0; border-top: thin solid var(--line); }
.saved-list li { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.2fr) minmax(0, .8fr); gap: calc(var(--space) / 2); align-items: center; min-height: calc(var(--space) * 7 / 3); padding-block: calc(var(--space) / 3); border-bottom: thin solid var(--line); }
.saved-list .chip { justify-self: start; }
.saved-name a { font-weight: 700; color: var(--ink); }
.saved-name .small { display: block; }
.saved-wide { grid-column: 2 / -1; }
.trip-list li { grid-template-columns: minmax(0, 1fr) auto; }
.my-trip > h2 { margin-block-end: calc(var(--space) / 2); }
.my-side { display: grid; gap: var(--space); }
.my-side .card h2 { font-size: calc(var(--space) * 2 / 3); }
.profile-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: calc(var(--space) / 4) calc(var(--space) * 2 / 3); margin: calc(var(--space) / 2) 0; font-size: calc(var(--space) * 7 / 12); }
.profile-facts div { display: contents; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; }
.notice.stale { margin-block-end: var(--space); }
.pill.synthetic { background: var(--sand); }
.region-saves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--space) * 4 / 3); }
.region-saves h2 { font-size: calc(var(--space) * 17 / 24); margin-block-end: calc(var(--space) / 4); }
.region-saves ul { list-style: none; padding: 0; margin: 0; }
.region-saves li { display: flex; justify-content: space-between; align-items: center; gap: calc(var(--space) / 2); padding-block: calc(var(--space) / 4); border-bottom: thin solid var(--line); }
.region-saves a { font-weight: 600; text-decoration: none; color: var(--ink); }
.region-saves button { min-height: var(--consent-target); padding-block: 0; padding-inline: calc(var(--space) / 2); font-size: calc(var(--space) * 7 / 12); border-radius: calc(var(--space) * 999 / 24); }
.saved-order { padding-inline-start: calc(var(--space) * 5 / 6); }
.saved-order li { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--space) / 4) calc(var(--space) / 2); padding-block: calc(var(--space) / 6); }
.saved-order li span { flex: 1 1 auto; }
@media (max-width: 900px) {
  .home-page .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-now { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* Spot pages swap the day cards for a table here; My surf keeps them as aligned rows. */
  .my-surf .r-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--space) / 4); }
  .my-surf .rcard { display: grid; grid-template-columns: calc(var(--space) * 3 / 2) calc(var(--space) * 5 / 2) auto minmax(0, 1fr); align-items: baseline; gap: calc(var(--space) / 3); }
  .my-surf .rc-range, .my-surf .rc-label, .my-surf .rc-trend { display: none; }
  .my-surf .rc-win { text-align: end; }
}
@media (max-width: 860px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); padding: calc(var(--space) * 36 / 24) 0; }
  .home-hero h1 { font-size: calc(var(--space) * 46 / 24); }
  .home-hero .tagline { font-size: calc(var(--space) * 22 / 24); }
}
@media (max-width: 760px) {
  /* Pages with account actions keep them on phones: home shows Forecasts and Sign in,
     the portal shows My surf, Account and Sign in or Sign out. */
  .spot-page .topbar nav:has(.btn) { display: flex; }
  .spot-page .topbar nav:has(.btn) a[href="/learn"], .spot-page .topbar nav:has(.btn) a[href="/connect"],
  .spot-page .topbar nav:has(#signin-link) a[href="/#directory-title"] { display: none; }
  /* Static pages (connection guide, privacy, terms, Learn) match home on phones:
     Surf reports and the account action. The consent page keeps its only link. */
  .site-header:not(.portal-header) .nav a[href="/learn"],
  .site-header:not(.portal-header) .nav a[href="/connect"]:not(:only-child) { display: none; }
  .home-page .fq, .home-page .two, .region-saves, .my-surf-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .ftable th, .home-page .ftable td { padding: calc(var(--space) / 4); }
  .home-page .ftable .chip { min-width: 0; padding-inline: calc(var(--space) / 6); }
  .saved-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: calc(var(--space) / 6); }
  .saved-wide { grid-column: auto; }
}
@media (max-width: 380px) {
  .spot-page .topbar .wrap { gap: calc(var(--space) / 2); }
  .spot-page .topbar nav { gap: calc(var(--space) / 2); font-size: calc(var(--space) * 13 / 24); }
  .home-page .ftable { font-size: calc(var(--space) * 13 / 24); }
  .home-page .ftable .chip { white-space: normal; }
}

/* Model inputs grid (private). One table per spot; the label column stays in view. */
.lab { margin-block: calc(var(--space) * 2) 0; }
.lab h2 { margin-block: 0 calc(var(--space) / 2); }
.lab-empty { margin: 0 0 calc(var(--space) / 2); color: var(--sp-warn); font-weight: 700; }
.lab-point { overflow-wrap: anywhere; }
.lab-scroll { position: relative; overflow-x: auto; border: thin solid var(--sp-line); border-radius: calc(var(--radius) / 2); }
.lab-grid { border-collapse: separate; border-spacing: 0; font-family: var(--sp-font); font-size: calc(var(--space) * 13 / 24); color: var(--sp-ink); }
.lab-grid th, .lab-grid td { padding: calc(var(--space) / 6) calc(var(--space) / 4); text-align: center; white-space: nowrap; border-bottom: thin solid var(--sp-line); min-width: calc(var(--space) * 5 / 3); }
.lab-grid thead th, .lab-grid thead td { background: var(--sp-soft); font-weight: 700; border-left: thin solid var(--sp-line); }
.lab-grid .lab-label, .lab-grid thead td:first-child, .lab-grid .lab-group th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--sp-bg); text-align: start; border-inline-end: thin solid var(--sp-line); min-width: calc(var(--space) * 6); }
.lab-grid thead td:first-child { background: var(--sp-soft); }
.lab-grid .lab-group th { background: var(--sp-soft); font-weight: 700; }
.lab-group-name { margin-inline-end: calc(var(--space) / 2); }
.lab-source, .lab-unit { color: var(--sp-muted); font-weight: 400; }
.lab-note { text-align: start; color: var(--sp-muted); }
.lab-grid .now { box-shadow: inset calc(var(--space) / 12) 0 var(--sp-sea), inset calc(var(--space) / -12) 0 var(--sp-sea); }
.lab-grid thead .now { background: var(--sp-sea-2); }
.lab-gap { background: var(--sp-soft); }
.lab-h1 { background: var(--lab-h1); } .lab-h2 { background: var(--lab-h2); } .lab-h3 { background: var(--lab-h3); }
.lab-h4 { background: var(--lab-h4); } .lab-h5 { background: var(--lab-h5); color: var(--sp-bg); } .lab-h6 { background: var(--lab-h6); color: var(--sp-bg); }
.lab-p1 { background: var(--lab-p1); } .lab-p2 { background: var(--lab-p2); } .lab-p3 { background: var(--lab-p3); }
.lab-p4 { background: var(--lab-p4); } .lab-p5 { background: var(--lab-p5); color: var(--sp-bg); } .lab-p6 { background: var(--lab-p6); color: var(--sp-bg); }
.lab-w1 { background: var(--lab-w1); } .lab-w2 { background: var(--lab-w2); } .lab-w3 { background: var(--lab-w3); }
.lab-w4 { background: var(--lab-w4); } .lab-w5 { background: var(--lab-w5); color: var(--sp-bg); } .lab-w6 { background: var(--lab-w6); color: var(--sp-bg); }
.lab-dir span:first-child { display: inline-block; }
.lab-d0 { transform: rotate(calc(var(--lab-step) * 0)); } .lab-d1 { transform: rotate(calc(var(--lab-step) * 1)); }
.lab-d2 { transform: rotate(calc(var(--lab-step) * 2)); } .lab-d3 { transform: rotate(calc(var(--lab-step) * 3)); }
.lab-d4 { transform: rotate(calc(var(--lab-step) * 4)); } .lab-d5 { transform: rotate(calc(var(--lab-step) * 5)); }
.lab-d6 { transform: rotate(calc(var(--lab-step) * 6)); } .lab-d7 { transform: rotate(calc(var(--lab-step) * 7)); }
.lab-d8 { transform: rotate(calc(var(--lab-step) * 8)); } .lab-d9 { transform: rotate(calc(var(--lab-step) * 9)); }
.lab-d10 { transform: rotate(calc(var(--lab-step) * 10)); } .lab-d11 { transform: rotate(calc(var(--lab-step) * 11)); }
.lab-d12 { transform: rotate(calc(var(--lab-step) * 12)); } .lab-d13 { transform: rotate(calc(var(--lab-step) * 13)); }
.lab-d14 { transform: rotate(calc(var(--lab-step) * 14)); } .lab-d15 { transform: rotate(calc(var(--lab-step) * 15)); }
.lab-lead ul { display: flex; flex-wrap: wrap; gap: calc(var(--space) / 3); margin: 0; padding: 0; list-style: none; }
.lab-lead a { display: inline-block; padding: calc(var(--space) / 6) calc(var(--space) / 2); border: thin solid var(--sp-line); border-radius: calc(var(--space) * 999 / 24); color: var(--sp-ink); text-decoration: none; font-size: calc(var(--space) * 13 / 24); }
.lab-lead a[aria-current="page"] { background: var(--sp-sea-2); border-color: var(--sp-sea); font-weight: 700; }
.lab-lead a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lab-detail { margin-block-start: calc(var(--space) / 2); font-size: calc(var(--space) * 14 / 24); }
.lab-detail summary { cursor: pointer; font-weight: 700; }
.lab-detail summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Analytics consent banner (EEA, UK and Switzerland only), added by analytics.js. */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 640px; margin: 0 auto; padding: 16px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / 12%); }
.consent-banner p { margin: 0; flex: 1 1 240px; }
.lab-chart { margin-block-start: calc(var(--space) / 2); font-size: calc(var(--space) * 14 / 24); }
.lab-chart summary { cursor: pointer; font-weight: 700; }
.lab-chart summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lab-svg { display: block; max-width: none; font-family: var(--sp-font); font-size: calc(var(--space) * 5 / 12); }
.lab-axis, .lab-note-text { fill: var(--sp-muted); }
.lab-base { stroke: var(--sp-line); stroke-width: calc(var(--space) / 24); }
.lab-line, .lab-tide-mark, .lab-dot { fill: none; }
.lab-line { stroke-width: calc(var(--space) / 16); stroke-linejoin: round; }
.lab-dot { fill: currentcolor; }
.lab-line-wave { stroke: var(--lab-h6); color: var(--lab-h6); }
.lab-line-swell { stroke: var(--lab-h4); color: var(--lab-h4); }
.lab-line-period { stroke: var(--lab-p6); color: var(--lab-p6); }
.lab-line-wind { stroke: var(--lab-w6); color: var(--lab-w6); }
.lab-line-estimate { stroke: var(--sp-ink); color: var(--sp-ink); }
.lab-line-tide { stroke: var(--sp-sea); }
.lab-tide-mark { fill: var(--sp-sea); }
.lab-now { stroke: var(--sp-sea); stroke-width: calc(var(--space) / 24); }
.lab-readout-line { stroke: var(--sp-ink); stroke-width: calc(var(--space) / 24); }
.lab-off { visibility: hidden; }
.lab-readout { min-height: 1lh; margin: calc(var(--space) / 4) 0 0; color: var(--sp-ink); }
.lab-grid .lab-selected { outline: 2px solid var(--ink); outline-offset: -2px; }
.lab-grid td[data-capture]:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Brand layer: Sneaky Surf identity A1 (docs/brand). Wordmark, footer and home hero only; forecast data keeps the rules above. */
.wordmark, .spot-page .wordmark { display: inline-flex; align-items: center; gap: calc(var(--space) * 10 / 24); font-family: var(--sp-display); font-weight: 800; letter-spacing: -.02em; color: var(--sp-sea); text-decoration: none; }
.wordmark::before { content: ""; flex: none; width: 1.3em; height: 1.3em; background: url("/assets/icon.de089833a6ce.svg") center / contain no-repeat; }
.spot-page footer.site { background: var(--sp-ink); color: var(--sp-sea-2); border-top: 0; }
.spot-page footer.site a { color: var(--sp-butter); }
.home-hero { background: var(--sp-butter); border-radius: calc(var(--space) * 20 / 24); padding: calc(var(--space) * 40 / 24); margin-top: calc(var(--space) * 24 / 24); }
.home-hero h1 { font-family: var(--sp-display); font-weight: 800; letter-spacing: -.03em; line-height: .98; color: var(--sp-sea); }
.home-hero h1 em { font-family: inherit; font-style: normal; color: var(--sp-ink); }
.home-hero .tagline { font-family: var(--sp-display); font-weight: 800; letter-spacing: -.02em; color: var(--sp-ink); }
.home-hero .lead { color: var(--sp-ink); }
.home-hero .pill { background: var(--sp-sea-2); color: var(--sp-ink); }
.home-hero img { border-radius: calc(var(--space) * 20 / 24); }
.home-page h2 { font-family: var(--sp-display); font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 760px) { .home-hero { padding: calc(var(--space) * 24 / 24); } }
/* Brand layer: intro panels on Learn, Connect and My surf; the sign-in and consent story panel. Legal and account pages stay plain. */
.learn-page .page-title, .connection-guide > .page-title, #my-surf .page-title { background: var(--sp-butter); border-radius: calc(var(--space) * 20 / 24); padding: calc(var(--space) * 36 / 24) calc(var(--space) * 40 / 24); margin-top: calc(var(--space) * 24 / 24); margin-bottom: calc(var(--space) * 24 / 24); }
.learn-page .page-title h1, .connection-guide > .page-title h1, #my-surf .page-title h1 { font-family: var(--sp-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sp-sea); }
.learn-page .page-title h1 em, .connection-guide > .page-title h1 em, #my-surf .page-title h1 em { font-family: inherit; font-style: normal; color: var(--sp-ink); }
.login-story { background: var(--sp-butter); color: var(--sp-ink); }
.login-story h1 { font-family: var(--sp-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sp-sea); }
.login-story h1 em { font-family: inherit; font-style: normal; color: var(--sp-ink); }
.login-wave { border: 0; border-radius: 0; transform: none; inset: auto 0 0 0; width: auto; height: 42%; background: url("/assets/sunrise.a4d0812ed443.svg") center bottom / cover no-repeat; }
.login-wave::before, .login-wave::after { content: none; }
@media (max-width: 760px) {
  .learn-page .page-title, .connection-guide > .page-title, #my-surf .page-title { padding: calc(var(--space) * 24 / 24); }
  .login-story { padding-bottom: calc(var(--space) * 150 / 24); }
  .login-wave { bottom: 0; right: 0; height: calc(var(--space) * 120 / 24); }
}
