/* Beach Atlas Global — site styles
   Palette: ink (navy chart ink), sea (action), shoal (quiet panels), sand (warm end of the thermal scale).
   The one expressive element is the sea-temperature ribbon; everything else stays quiet. */

@font-face { font-family: "Plex"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/plex-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/plex-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F; }
@font-face { font-family: "Plex"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF; }

:root {
  --ink: #10243a;
  --ink-2: #44596b;
  --ink-3: #6a7d8d;
  --line: #dbe3e9;
  --shoal: #eef3f6;
  --paper: #ffffff;
  --sea: #0b6a86;
  --sea-d: #08506a;
  --sand: #ecd6a0;
  --warn-bg: #fff4e0; --warn: #8a5300;
  --ok-bg: #e7f5ee; --ok: #1b6347;
  --info-bg: #eef3f6; --info: #2f4a60;
  --r: 8px;
  --font: "Plex", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); font-feature-settings: "tnum" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sea-d); }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); letter-spacing: -0.024em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
small { font-size: .8em; color: var(--ink-3); }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 68ch; }
.muted { color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.note { font-size: .875rem; color: var(--ink-3); max-width: 75ch; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 4px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--sea); color: #fff; border: 0; border-radius: 6px; padding: .7em 1.2em; font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sea-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--sea); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--shoal); color: var(--sea-d); }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.site-head__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.logo b { font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--shoal); }
.head-search { margin-left: auto; position: relative; }
.head-search input { width: 240px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; font-size: .92rem; background: var(--shoal); }
.head-search input:focus { background: #fff; }
.units { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 6px; padding: 7px 10px; font: 500 .85rem var(--font); cursor: pointer; white-space: nowrap; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; position: relative; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); content: ""; }
.menu-btn i { top: 19px; } .menu-btn i::before { top: -6px; left: 0; } .menu-btn i::after { top: 6px; left: 0; }
@media (max-width: 1020px) {
  .head-search input { width: 170px; }
  .nav a { padding: 8px 7px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .head-search { display: none; }
  .units { margin-left: auto; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 14px 0 0; margin: 0; font-size: .85rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #b3c1cc; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* thermal ribbon — the signature element */
.ribbon { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.ribbon__c { display: block; border-radius: 2px; }
.ribbon--xs .ribbon__c { height: 6px; }
.ribbon--sm .ribbon__c { height: 9px; }
.ribbon--lg { gap: 3px; margin: 8px 0 6px; }
.ribbon--lg .ribbon__c { height: 64px; border-radius: 4px; padding: 7px 6px; display: flex; flex-direction: column; justify-content: space-between; }
.ribbon--lg b { font-size: .72rem; font-weight: 500; opacity: .85; }
.ribbon--lg i { font-style: normal; font-weight: 600; font-size: 1.05rem; }
.ribbon .is-current { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
@media (max-width: 600px) {
  .ribbon--lg { gap: 2px; }
  .ribbon--lg .ribbon__c { height: 54px; padding: 5px 2px; align-items: center; }
  .ribbon--lg b { font-size: .62rem; }
  .ribbon--lg i { font-size: .82rem; }
}
.chip { display: inline-block; padding: 1px 7px; border-radius: 4px; font-weight: 500; font-size: .88rem; white-space: nowrap; }
.chip + .chip { margin-left: 4px; }

/* home */
.home-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0, var(--paper) 60%, var(--shoal) 100%); }
.home-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.home-hero h1 { max-width: 14ch; }
.big-search { display: flex; gap: 8px; max-width: 560px; margin: 24px 0 14px; position: relative; }
.big-search input { flex: 1; min-width: 0; border: 1px solid #c7d3dc; border-radius: 6px; padding: 13px 16px; font: inherit; }
.home-hero__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 14px; }
.board__h { font-size: 1.05rem; margin-bottom: 12px; }
.board__list { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.board__list li { padding: 9px 0 10px; border-top: 1px solid var(--line); counter-increment: b; }
.board__list a { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); margin-bottom: 6px; }
.board__n { font-weight: 500; }
.board__n::before { content: counter(b); display: inline-block; width: 1.6em; color: var(--ink-3); font-weight: 400; }
.board__n small { margin-left: 8px; }
.board__v { font-weight: 600; white-space: nowrap; }
.board__list .ribbon { margin-left: 1.6em; }
.board__foot { font-size: .82rem; color: var(--ink-3); margin: 10px 0 0; }
@media (max-width: 900px) { .home-hero__grid { grid-template-columns: 1fr; gap: 32px; } }

.block { padding: 44px 20px 8px; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 18px; }
.block__head h2 { margin: 0; }
.block__head p { margin: 0; color: var(--ink-3); font-size: .95rem; }
@media (max-width: 600px) { .block { padding: 32px 16px 4px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.card__a { display: block; color: var(--ink); text-decoration: none; height: 100%; }
.card__a:hover .card__t { color: var(--sea); }
.card__img { aspect-ratio: 3 / 2; background: var(--shoal); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--shoal) 0 12px, #e6edf1 12px 24px); }
.card__body { padding: 12px 14px 14px; }
.card__t { font-size: 1rem; margin: 0 0 2px; }
.card__w { font-size: .85rem; color: var(--ink-3); margin: 0 0 8px; }
.card__m { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--ink-2); margin: 0 0 8px; }

.months-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.months-strip a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.months-strip a:hover { border-color: var(--sea); color: var(--sea); }
.months-strip a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 700px) { .months-strip { grid-template-columns: repeat(3, 1fr); } }

.conts { columns: 3 300px; column-gap: 40px; }
.cont { break-inside: avoid; margin-bottom: 28px; }
.cont h2, .cont h3 { font-size: 1.1rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.cont h2 a, .cont h3 a { color: var(--ink); text-decoration: none; }
.clist { list-style: none; padding: 0; margin: 0; }
.clist li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.clist a { color: var(--ink); text-decoration: none; }
.clist a:hover { color: var(--sea); text-decoration: underline; }
.clist__n { color: var(--ink-3); font-size: .85rem; }
.clist__t .chip { font-size: .75rem; padding: 0 5px; }

.method-strip { padding-bottom: 56px; }
.method-strip ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.method-strip li { border-top: 2px solid var(--ink); padding-top: 10px; font-size: .92rem; color: var(--ink-2); }
.method-strip b { display: block; color: var(--ink); }

/* generic page head */
.phead { padding-top: 22px; padding-bottom: 8px; }
.phead h1 { max-width: 22ch; }
.facts--row { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 18px 0 0; }
.facts--row div { display: block; border: 0; padding: 0; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.pills a:hover { border-color: var(--sea); color: var(--sea); }
.pills span { color: var(--ink-3); margin-left: 4px; }
.mnav { display: flex; gap: 24px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.mcell h2 { font-size: 1.1rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.mcell h2 a { color: var(--ink); text-decoration: none; }
.warm { columns: 2 320px; padding-left: 1.4em; }
.warm li { padding: 4px 0; break-inside: avoid; }
.slist { list-style: none; padding: 0; }
.slist li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.pager a, .pager span { min-width: 38px; text-align: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 32px; }
.col h3 { font-size: .98rem; margin-top: .4em; }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.plain li { padding: 4px 0; }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { font-weight: 600; font-size: .82rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tbody tr:hover { background: #f7fafb; }
.tbl--sort thead th { cursor: pointer; user-select: none; }
.tbl--sort thead th[aria-sort="ascending"]::after { content: " ▲"; font-size: .7em; }
.tbl--sort thead th[aria-sort="descending"]::after { content: " ▼"; font-size: .7em; }
.tbl--months td, .tbl--months th { padding: 7px 8px; }
.tbl--months .is-good { background: #e3f3ee; font-weight: 600; }
.tbl--cmp th[scope="row"] { color: var(--ink-2); font-weight: 500; width: 24%; }
.tbl--cmp thead a { font-size: 1rem; }
.tbl--cmp .ribbon { min-width: 160px; }

/* beach page */
.bhero { padding: 18px 0 28px; border-bottom: 1px solid var(--line); }
.bhero__grid { display: grid; grid-template-columns: 1fr 560px; gap: 44px; align-items: start; }
.bhero--noimg .bhero__grid { grid-template-columns: 1fr; }
.bhero__where { font-size: .92rem; margin: 6px 0 6px; color: var(--ink-3); }
.bhero__where a { color: var(--ink-2); }
.bhero__ribbon { margin-top: 22px; max-width: 640px; }
.bhero__img { margin: 6px 0 0; }
.bhero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--shoal); }
.bhero__img figcaption, .gallery figcaption { font-size: .75rem; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.bhero__img figcaption a, .gallery figcaption a { color: var(--ink-3); }
@media (max-width: 1080px) { .bhero__grid { grid-template-columns: 1fr 440px; gap: 32px; } }
@media (max-width: 900px) { .bhero__grid { grid-template-columns: 1fr; } .bhero__img { order: -1; } }

.beach__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 8px; padding-bottom: 40px; }
.beach__main { min-width: 0; max-width: 780px; }
.beach__side { padding-top: 32px; }
.side-card { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; background: #fff; }
.side-card__h { font-size: 1rem; margin-bottom: 8px; }
.side-card .btn { width: 100%; margin-top: 14px; }
@media (max-width: 960px) {
  .beach__body { grid-template-columns: 1fr; gap: 0; }
  .beach__side { order: -1; padding-top: 20px; }
  .side-card { position: static; }
}
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
.facts--row div { grid-template-columns: none; }
.facts--row dt { font-size: .8rem; }

.sec { padding: 30px 0 6px; border-top: 1px solid var(--line); }
.beach__main > .sec:first-child { border-top: 0; }
.sec--tight { padding-top: 22px; }
.sec p, .sec li { max-width: 72ch; }
.sec--sources .src li { font-size: .88rem; color: var(--ink-2); padding: 3px 0; }

.planner__tabs { display: grid; grid-template-columns: repeat(12, minmax(48px, 1fr)); gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.planner__tabs button { font: 500 .85rem var(--font); border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 6px; padding: 7px 4px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.planner__tabs button i { font-style: normal; font-size: .72rem; color: var(--ink-3); width: 100%; text-align: center; background: linear-gradient(90deg, #cfe6e1 calc(var(--v) * 100%), transparent 0); border-radius: 2px; }
.planner__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.planner__tabs button[aria-selected="true"] i { color: var(--ink); }
.planner__panel { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 6px; margin-top: 10px; }
.planner__h { font-weight: 600; margin-bottom: 10px; }
.planner__idx { font-size: .92rem; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat { background: var(--shoal); border-radius: 6px; padding: 9px 11px; }
.stat > span { display: block; font-size: .78rem; color: var(--ink-3); }
.stat b { font-size: 1.15rem; font-weight: 600; }
.stat small { display: block; }
.stat--sea { background: #dff0ee; }

.figure { margin: 18px 0 10px; }
.figure figcaption { font-size: .86rem; color: var(--ink-2); margin-bottom: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; color: var(--ink-2); margin-bottom: 4px; }
.lg::before { content: ""; display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.lg--max::before { background: var(--ink); }
.lg--min::before { background: #8ea0ae; }
.lg--sea::before { background: #0e8aa0; height: 4px; }
.lg--rain::before { background: #c9dfea; height: 9px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: #e4eaee; stroke-width: 1; }
.chart__ax { fill: #677a8a; font: 12px var(--font); }
.chart__ax--rain { fill: #7c97a8; }
.chart__rain { fill: #c9dfea; }
.chart__l { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart__l--max { stroke: var(--ink); stroke-width: 2.2; }
.chart__l--min { stroke: #8ea0ae; stroke-width: 1.8; stroke-dasharray: 5 4; }
.chart__l--sea { stroke: #0e8aa0; stroke-width: 3; }
.chart__dot { fill: #fff; stroke: #0e8aa0; stroke-width: 2; }
.chart__dot--max { stroke: var(--ink); }
.chart__bar { fill: #b9d4e1; }
.chart__bar.is-hi { fill: var(--sea); }
.chart__val { fill: var(--ink-2); font: 11px var(--font); }

.notices { display: grid; gap: 10px; }
.notice { border-left: 3px solid; border-radius: 0 6px 6px 0; padding: 10px 14px 2px; font-size: .94rem; }
.notice b { display: block; margin-bottom: 2px; }
.notice--warn { background: var(--warn-bg); border-color: #d99a2b; }
.notice--warn b { color: var(--warn); }
.notice--info { background: var(--info-bg); border-color: #7f9bb0; }
.notice--ok { background: var(--ok-bg); border-color: #3c9b74; }
.notice--ok b { color: var(--ok); }

.fac { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fac li { border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; }
.fac b { display: block; font-size: 1.25rem; font-weight: 600; }
.fac span { font-size: .82rem; color: var(--ink-2); }
.fac .is-none b { color: #a7b5c0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--shoal); }

.quote { margin: 0 0 12px; padding: 4px 0 4px 18px; border-left: 3px solid var(--sand); }
.quote p { font-size: 1.02rem; }
.quote footer { font-size: .82rem; color: var(--ink-3); }

.map { height: 420px; border-radius: var(--r); background: var(--shoal); border: 1px solid var(--line); position: relative; z-index: 1; }
.map--wide { height: 480px; }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); margin: 0; font-size: .9rem; }
@media (max-width: 600px) { .map, .map--wide { height: 340px; } }
.near { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; }
.near li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.near span { color: var(--ink-3); font-size: .85rem; white-space: nowrap; }
.near__cmp { font-size: .8rem; }

/* explore */
.explore { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
.filters { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; align-self: start; position: sticky; top: 84px; display: grid; gap: 14px; }
.f label { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: 4px; font-weight: 500; }
.f select, .f input[type="range"] { width: 100%; }
.f select { border: 1px solid var(--line); border-radius: 6px; padding: 8px; font: inherit; font-size: .92rem; background: #fff; }
.f input[type="range"] { accent-color: var(--sea); }
.f--check label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.explore__count { font-weight: 600; }
.results { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; }
.results li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.results img, .results .ph { width: 96px; height: 64px; object-fit: cover; border-radius: 5px; background: var(--shoal); }
.results a { font-weight: 500; }
.results .meta { font-size: .84rem; color: var(--ink-3); }
.results .ribbon { max-width: 220px; margin-top: 6px; }
.results .idx { font-weight: 600; font-size: 1.1rem; text-align: right; }
.results .idx small { display: block; font-weight: 400; }
@media (max-width: 900px) { .explore { grid-template-columns: 1fr; } .filters { position: static; } }

/* compare */
.cmp-pick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; position: relative; }
.cmp-pick input[type="search"] { border: 1px solid #c7d3dc; border-radius: 6px; padding: 10px 14px; font: inherit; width: min(380px, 100%); }
.cmp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.cmp-chips li { background: var(--shoal); border-radius: 99px; padding: 5px 8px 5px 14px; font-size: .92rem; }
.cmp-chips a { text-decoration: none; margin-left: 4px; padding: 0 6px; }

/* search suggestions */
.suggest { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 6px; list-style: none; margin: 0; padding: 4px; box-shadow: 0 8px 24px rgba(16, 36, 58, .12); max-height: 360px; overflow: auto; min-width: 260px; }
.suggest li { padding: 8px 10px; border-radius: 4px; cursor: pointer; font-size: .93rem; }
.suggest li small { margin-left: 6px; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--shoal); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 20, 33, .86); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 6px; }
.lightbox p { color: #dbe5ec; font-size: .82rem; margin: 8px 0 0; }
.lightbox p a { color: #fff; }
.lightbox button { position: fixed; top: 14px; right: 18px; background: #fff; border: 0; border-radius: 99px; width: 40px; height: 40px; font-size: 1.3rem; cursor: pointer; }

/* prose pages */
.prose { max-width: 820px; padding-top: 22px; padding-bottom: 56px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .4em; }

/* footer */
.site-foot { margin-top: 40px; background: var(--ink); color: #c4d1db; font-size: .92rem; }
.site-foot a { color: #e6eef3; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: 3px 0; }
.site-foot__brand { color: #fff; font-weight: 600; font-size: 1.05rem; }
.site-foot__h { color: #fff; font-weight: 600; margin-bottom: 6px; }
.site-foot__base { border-top: 1px solid #2a4157; padding-top: 16px; padding-bottom: 24px; font-size: .8rem; color: #8fa3b3; }
@media (max-width: 800px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__grid > div:first-child { grid-column: 1 / -1; } }

/* panel forms on the contact page */
.prose form input, .prose form textarea, .prose form select { font: inherit; }

/* leaflet popups */
.leaflet-popup-content { font: 14px/1.4 var(--font); }
.ba-dot { background: var(--sea); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(16, 36, 58, .4); }
.ba-dot--main { background: #e8a76a; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .site-head, .site-foot, .map, .beach__side .btn, .planner__tabs { display: none; } .planner__panel[hidden] { display: block; } }

/* orientation compass, sun-over-sea row, water quality, satellite */
.ori { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 600px) { .ori { grid-template-columns: 1fr; } .compass { max-width: 220px; } }
.compass { width: 100%; height: auto; overflow: visible; }
.compass__land { fill: #efe6cf; stroke: #d9cba5; }
.compass__sea { fill: #5fb3c0; stroke: #5fb3c0; stroke-width: .5; }
.compass__sun { stroke: #e08a3c; stroke-width: 2; stroke-dasharray: 4 3; }
.compass__sunlbl { fill: #b8641f; font: 600 10px var(--font); }
.compass__face { stroke: var(--ink); stroke-width: 3; }
.compass__arrow { fill: var(--ink); }
.compass__dot { fill: var(--ink); }
.compass__lbl { fill: var(--ink-3); font: 600 11px var(--font); }
.sunrow { display: grid; gap: 3px; margin: 14px 0 8px; font-size: .78rem; overflow-x: auto; }
.sunrow > div { display: grid; grid-template-columns: 8.5em repeat(12, minmax(34px, 1fr)); gap: 3px; }
.sunrow span { text-align: center; padding: 4px 0; border-radius: 3px; background: var(--shoal); color: var(--ink-3); }
.sunrow span[role="rowheader"], .sunrow span[role="columnheader"] { background: none; text-align: left; color: var(--ink-2); font-weight: 500; }
.sunrow__h span[role="columnheader"] { text-align: center; }
.sunrow .is-on { background: #f3c48d; color: #6b3a0c; font-weight: 600; }
.sunrow .is-on.is-rise { background: #ffe1b0; }
.wq { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wq li { border-radius: 5px; padding: 5px 9px; font-size: .8rem; background: #e6ebef; color: var(--ink-2); min-width: 78px; }
.wq b { display: block; font-size: .72rem; font-weight: 500; opacity: .8; }
.wq--ex { background: #0f6e86 !important; color: #fff !important; }
.wq--gd { background: #5fb3c0 !important; color: #08323d !important; }
.wq--sf { background: #f3c48d !important; color: #5a3209 !important; }
.wq--pr { background: #d9644a !important; color: #fff !important; }
.satfig { margin: 0; max-width: 560px; }
.satfig img { width: 100%; border-radius: 6px; }
.satfig figcaption, .bhero__img--sat figcaption { font-size: .75rem; color: var(--ink-3); margin-top: 6px; }
.bhero__img--sat img { aspect-ratio: 3 / 2; }
.tbl .is-self td { font-weight: 600; background: #f3f7f9; }

.tbl--clim { font-size: .84rem; }
.tbl--clim th[scope="row"] { white-space: nowrap; color: var(--ink-2); font-weight: 500; }
.tbl--clim td, .tbl--clim th { padding: 6px 5px; }
.tbl--clim .chip { font-size: .74rem; padding: 0 4px; }
.tbl--clim .is-cur { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.planner + .tbl-wrap { margin-top: 16px; }

.lcbar { display: flex; height: 14px; border-radius: 4px; overflow: hidden; margin: 6px 0 6px; max-width: 520px; }
.lcbar span { display: block; min-width: 2px; }
.lclegend { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--ink-2); }
.lclegend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
