:root {
  --ink: #071013;
  --ink2: #0d181c;
  --panel: rgba(9,19,23,.94);
  --panel2: rgba(16,30,35,.92);
  --line: rgba(232,245,242,.13);
  --line2: rgba(232,245,242,.23);
  --paper: #edf4f0;
  --muted: #98aaa5;
  --cyan: #66f2dc;
  --cyan2: #1dc7b0;
  --amber: #ffcc67;
  --violet: #b9a4ff;
  --coral: #ff766d;
  --ice: #d8fff8;
  --shadow: 0 20px 55px rgba(0,0,0,.42);
  --sidebar: 382px;
}
* {
  box-sizing: border-box;
}
html,body {
  height: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow: hidden;
}
button,input,select,textarea {
  font: inherit;
}
button {
  color: inherit;
}
#app {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  background: radial-gradient(circle at 80% -10%,rgba(102,242,220,.10),transparent 35%),var(--ink);
}
.sidebar {
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: linear-gradient(180deg,rgba(7,16,19,.985),rgba(8,18,22,.96));
  border-right: 1px solid var(--line);
  box-shadow: 18px 0 45px rgba(0,0,0,.22);
}
.brand {
  flex: 0 0 auto;
  padding: 21px 22px 15px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.brand:after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(102,242,220,.12);
  border-radius: 50%;
  right: -78px;
  top: -102px;
  box-shadow: 0 0 0 17px rgba(102,242,220,.025),0 0 0 39px rgba(102,242,220,.018);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 800;
}
.title {
  font-family: Georgia,"Times New Roman",serif;
  font-size: 28px;
  line-height: .98;
  margin: 8px 0 9px;
  letter-spacing: -.035em;
}
.subtitle {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 300px;
}
.stats {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 10.5px;
  color: #c7d5d1;
  background: rgba(255,255,255,.025);
}
.stat strong {
  color: var(--paper);
}
.controls {
  flex: 0 0 auto;
  padding: 14px 15px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.search-wrap {
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .56;
}
.search {
  width: 100%;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.05);
  color: var(--paper);
  border-radius: 12px;
  padding: 11px 38px 11px 38px;
  outline: none;
}
.search:focus {
  border-color: rgba(102,242,220,.65);
  box-shadow: 0 0 0 3px rgba(102,242,220,.09);
}
.clear-search {
  position: absolute;
  right: 7px;
  top: 6px;
  width: 31px;
  height: 31px;
  border: 0;
  background: transparent;
  opacity: .55;
  cursor: pointer;
  border-radius: 8px;
}
.clear-search:hover {
  background: rgba(255,255,255,.07);
  opacity: 1;
}
.presets {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  margin-top: 9px;
}
.preset {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 9px;
  padding: 7px 4px;
  font-size: 10px;
  cursor: pointer;
  transition: .16s;
}
.preset:hover,.preset.active {
  border-color: rgba(102,242,220,.48);
  background: rgba(102,242,220,.09);
  color: var(--ice);
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}
.select {
  width: 100%;
  border: 1px solid var(--line);
  background: #102025;
  color: var(--paper);
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 11px;
  outline: none;
}
.select:focus {
  border-color: var(--cyan);
}
.toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.toggle {
  position: relative;
}
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle span {
  display: block;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
  color: #bac9c5;
  cursor: pointer;
  user-select: none;
}
.toggle input:checked+span {
  color: #071013;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 800;
}
.toggle.less input:checked+span {
  background: var(--violet);
  border-color: var(--violet);
}
.toggle.public input:checked+span {
  background: var(--amber);
  border-color: var(--amber);
}
.list-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.list-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
}
.list-head button:hover {
  color: var(--cyan);
}
.spot-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 9px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.empty {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.spot-card {
  width: 100%;
  display: grid;
  grid-template-columns: 37px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 13px;
  padding: 9px 9px;
  cursor: pointer;
  transition: .15s;
  margin: 2px 0;
}
.spot-card:hover {
  background: rgba(255,255,255,.045);
  border-color: var(--line);
}
.spot-card.selected {
  background: linear-gradient(90deg,rgba(102,242,220,.12),rgba(102,242,220,.025));
  border-color: rgba(102,242,220,.36);
}
.spot-card.favorite .spot-name:after {
  content: "★";
  font-size: 8px;
  color: var(--amber);
  margin-left: 6px;
  vertical-align: 2px;
}
.spot-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.04);
  position: relative;
}
.spot-icon.left {
  border-color: rgba(102,242,220,.68);
  color: var(--cyan);
}
.spot-icon.right {
  border-color: rgba(255,204,103,.62);
  color: var(--amber);
}
.spot-icon.both {
  border-color: rgba(185,164,255,.7);
  color: var(--violet);
}
.spot-icon.unknown {
  border-style: dashed;
  color: var(--muted);
}
.spot-icon.lesser:after,.spot-icon.ephemeral:after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(185,164,255,.38);
  border-radius: 50%;
}
.spot-icon.ephemeral:after {
  border-color: rgba(255,118,109,.55);
}
.spot-card>span:nth-child(2) {
  display: block;
  min-width: 0;
}
.spot-name {
  display: block;
  font-size: 12.5px;
  font-weight: 760;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spot-meta {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spot-dir {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 6px;
  color: #b9c7c3;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #0c171a;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),radial-gradient(circle at center,rgba(36,92,96,.18),transparent 60%);
  background-size: 32px 32px,32px 32px,100% 100%;
  touch-action: none;
  cursor: grab;
  outline: none;
}
.map.dragging {
  cursor: grabbing;
}
.tile-pane,.marker-pane,.zone-pane {
  position: absolute;
  inset: 0;
}
.tile-pane {
  z-index: 1;
}
.zone-pane {
  z-index: 4;
  pointer-events: none;
}
.marker-pane {
  z-index: 8;
  pointer-events: none;
}
.tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity .25s;
  filter: saturate(.84) contrast(1.03) brightness(.86);
}
.tile.loaded {
  opacity: 1;
}
.map.street .tile {
  filter: saturate(.62) contrast(1.02) brightness(.72);
}
.map-marker {
  position: absolute;
  transform: translate(-50%,-50%);
  pointer-events: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1;
}
.map-marker.selected {
  z-index: 9;
}
.marker-dot {
  position: relative;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7,16,19,.91);
  border: 2px solid var(--amber);
  box-shadow: 0 3px 14px rgba(0,0,0,.55);
  color: var(--amber);
  font-weight: 950;
  font-size: 9px;
  transition: .14s;
}
.map-marker:hover .marker-dot,.map-marker.selected .marker-dot {
  transform: scale(1.16);
  box-shadow: 0 0 0 5px rgba(255,255,255,.09),0 5px 18px rgba(0,0,0,.62);
}
.map-marker.left .marker-dot {
  border-color: var(--cyan);
  color: var(--cyan);
}
.map-marker.both .marker-dot {
  border-color: var(--violet);
  color: var(--violet);
}
.map-marker.unknown .marker-dot {
  border-color: var(--muted);
  color: var(--muted);
  border-style: dashed;
}
.map-marker.lesser .marker-dot:after,.map-marker.ephemeral .marker-dot:after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px dashed rgba(185,164,255,.72);
}
.map-marker.ephemeral .marker-dot:after {
  border-color: var(--coral);
}
.marker-label {
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(4,12,15,.86);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  padding: 3px 6px;
  color: #e8f2ef;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  opacity: 0;
  transition: .15s;
  pointer-events: none;
}
.map-marker:hover .marker-label,.map-marker.selected .marker-label,.map.zoom-labels .marker-label {
  opacity: 1;
}
.zone-poly {
  fill: rgba(102,242,220,.055);
  stroke: rgba(102,242,220,.52);
  stroke-width: 1.4;
  stroke-dasharray: 7 7;
  vector-effect: non-scaling-stroke;
}
.zone-label {
  fill: #baf8ed;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(5,13,16,.88);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.zone-pane.hidden {
  display: none;
}
.map-top {
  position: absolute;
  z-index: 20;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.glass {
  background: rgba(7,16,19,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
}
.map-title-card {
  border-radius: 13px;
  padding: 10px 12px;
  max-width: 270px;
}
.map-title-card strong {
  font-family: Georgia,serif;
  font-size: 15px;
}
.map-title-card div {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}
.zoom-control {
  position: absolute;
  z-index: 20;
  right: 16px;
  top: 16px;
  display: grid;
  border-radius: 12px;
  overflow: hidden;
}
.zoom-control button {
  width: 42px;
  height: 39px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}
.zoom-control button:last-child {
  border-bottom: 0;
}
.zoom-control button:hover {
  background: rgba(255,255,255,.08);
}
.map-actions {
  position: absolute;
  z-index: 20;
  right: 16px;
  top: 108px;
  display: grid;
  gap: 7px;
}
.map-actions button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(7,16,19,.78);
  backdrop-filter: blur(12px);
  font-size: 15px;
}
.map-actions button:hover,.map-actions button.active {
  background: rgba(102,242,220,.14);
  border-color: rgba(102,242,220,.5);
  color: var(--cyan);
}
.layer-switch {
  position: absolute;
  z-index: 20;
  left: 16px;
  bottom: 20px;
  border-radius: 11px;
  padding: 4px;
  display: flex;
  gap: 3px;
}
.layer-switch button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
.layer-switch button.active {
  background: rgba(255,255,255,.11);
  color: var(--paper);
}
.scale {
  position: absolute;
  z-index: 20;
  left: 16px;
  bottom: 69px;
  font-size: 9px;
  color: #dce9e5;
  text-shadow: 0 1px 3px #000;
}
.scale-line {
  height: 5px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: 3px;
}
.coord {
  position: absolute;
  z-index: 20;
  right: 15px;
  bottom: 16px;
  font: 9px ui-monospace,SFMono-Regular,Menlo,monospace;
  color: rgba(239,248,245,.78);
  background: rgba(5,13,16,.63);
  padding: 5px 7px;
  border-radius: 7px;
  pointer-events: none;
}
.attrib {
  position: absolute;
  z-index: 20;
  right: 14px;
  bottom: 43px;
  font-size: 8px;
  color: rgba(239,248,245,.58);
  background: rgba(5,13,16,.62);
  padding: 4px 6px;
  border-radius: 5px;
}
.attrib a {
  color: inherit;
}
.toast {
  position: absolute;
  z-index: 55;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%,16px);
  max-width: min(520px,calc(100% - 40px));
  background: rgba(4,12,15,.94);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11px;
  color: #dce8e5;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
.detail {
  position: absolute;
  z-index: 40;
  right: 14px;
  top: 14px;
  bottom: 14px;
  width: min(440px,calc(100% - 28px));
  background: linear-gradient(180deg,rgba(8,18,22,.975),rgba(11,24,28,.965));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 30px));
  transition: transform .28s cubic-bezier(.2,.75,.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.detail.open {
  transform: translateX(0);
}
.detail-head {
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.detail-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.detail-close:hover {
  background: rgba(255,255,255,.1);
}
.detail-kicker {
  font-size: 9px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-weight: 850;
  margin-right: 45px;
}
.detail h2 {
  font-family: Georgia,serif;
  font-size: 27px;
  line-height: 1.02;
  margin: 7px 44px 4px 0;
}
.aliases {
  font-size: 10px;
  color: var(--muted);
}
.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.badge {
  font-size: 9px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  padding: 5px 7px;
  color: #c6d4d0;
}
.badge.left {
  border-color: rgba(102,242,220,.52);
  color: var(--cyan);
}
.badge.lesser {
  border-color: rgba(185,164,255,.55);
  color: var(--violet);
}
.badge.warn {
  border-color: rgba(255,118,109,.55);
  color: #ffaaa4;
}
.detail-body {
  overflow: auto;
  padding: 17px 18px 28px;
  scrollbar-width: thin;
}
.lede {
  font-size: 13px;
  line-height: 1.52;
  color: #e8f1ee;
  margin: 0 0 14px;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 0;
}
.fact {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px;
}
.fact label {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact strong {
  font-size: 11px;
  line-height: 1.25;
}
.section {
  margin-top: 17px;
}
.section h3 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  margin: 0 0 7px;
}
.section p {
  font-size: 11.5px;
  line-height: 1.55;
  margin: 0;
  color: #cbd8d4;
}
.warning {
  border-left: 2px solid var(--coral);
  padding-left: 10px;
  color: #f2c6c2!important;
}
.access {
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}
.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.action {
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 9px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-size: 10px;
  color: var(--paper);
}
.action:hover {
  border-color: rgba(102,242,220,.55);
  background: rgba(102,242,220,.08);
}
.action.primary {
  background: var(--cyan);
  color: #061113;
  border-color: var(--cyan);
  font-weight: 850;
}
.action.disabled {
  opacity: .38;
  cursor: not-allowed;
}
.marine {
  margin-top: 10px;
  border: 1px solid rgba(102,242,220,.22);
  background: rgba(102,242,220,.045);
  border-radius: 12px;
  padding: 11px;
  display: none;
}
.marine.show {
  display: block;
}
.marine-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
}
.marine-item {
  text-align: center;
  border-right: 1px solid var(--line);
}
.marine-item:last-child {
  border-right: 0;
}
.marine-item strong {
  display: block;
  font-size: 14px;
}
.marine-item span {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
}
.marine-foot {
  font-size: 8.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.personal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}
.star-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
}
.star-btn.on {
  color: var(--amber);
  border-color: rgba(255,204,103,.5);
}
.visited-label {
  font-size: 10px;
  color: #cdd9d5;
}
.notes-area {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.16);
  color: var(--paper);
  border-radius: 10px;
  padding: 9px;
  outline: none;
  font-size: 11px;
}
.notes-area:focus {
  border-color: rgba(102,242,220,.5);
}
.source-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.source-links a {
  font-size: 10px;
  color: #bdeee6;
  text-decoration: none;
}
.source-links a:hover {
  text-decoration: underline;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 70;
  background: rgba(0,0,0,.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open {
  display: flex;
}
.modal {
  width: min(700px,100%);
  max-height: min(760px,calc(100% - 20px));
  overflow: auto;
  background: #0b1a1f;
  border: 1px solid var(--line2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.modal h2 {
  font-family: Georgia,serif;
  font-size: 26px;
  margin: 0 45px 10px 0;
}
.modal h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--cyan);
  margin: 22px 0 8px;
}
.modal p,.modal li {
  font-size: 11.5px;
  line-height: 1.6;
  color: #c8d6d2;
}
.modal ul {
  padding-left: 18px;
}
.modal a {
  color: var(--cyan);
}
.source-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.source-index a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  text-decoration: none;
  font-size: 10px;
}
.source-index a:hover {
  background: rgba(102,242,220,.07);
}
.offline-note {
  display: none;
  position: absolute;
  z-index: 19;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(5,13,16,.86);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 10px;
  pointer-events: none;
}
.offline-note.show {
  display: block;
}
@media(max-width:930px) {
  #app {
    display: block;
  }
  .sidebar {
    position: absolute;
    z-index: 60;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: min(var(--sidebar),calc(100% - 20px));
    border: 1px solid var(--line2);
    border-radius: 18px;
    transform: translateX(calc(-100% - 25px));
    transition: transform .25s;
    box-shadow: var(--shadow);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .map-shell {
    position: absolute;
    inset: 0;
  }
  .mobile-menu {
    display: block;
  }
  .map-title-card {
    display: none;
  }
  .detail {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: min(72vh,700px);
    transform: translateY(calc(100% + 24px));
  }
  .detail.open {
    transform: translateY(0);
  }
  .source-index {
    grid-template-columns: 1fr;
  }
  .coord {
    display: none;
  }
}
@media(max-width:520px) {
  .brand {
    padding-top: 17px;
  }
  .title {
    font-size: 24px;
  }
  .controls {
    padding-top: 11px;
  }
  .presets {
    grid-template-columns: 1fr 1fr;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .map-top {
    left: 10px;
    top: 10px;
  }
  .zoom-control {
    right: 10px;
    top: 10px;
  }
  .map-actions {
    right: 10px;
    top: 101px;
  }
  .layer-switch {
    left: 10px;
    bottom: 10px;
  }
  .scale {
    left: 10px;
    bottom: 57px;
  }
  .attrib {
    right: 10px;
    bottom: 10px;
  }
  .detail {
    left: 6px;
    right: 6px;
    bottom: 6px;
  }
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
/* ---- v2 live-consensus additions ---- */
.live-control {
  margin-top: 10px;
  border: 1px solid rgba(102,242,220,.28);
  border-radius: 12px;
  background: linear-gradient(135deg,rgba(102,242,220,.075),rgba(185,164,255,.035));
  padding: 9px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
}
.live-control .live-eyebrow {
  display: block;
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 900;
}
.live-control strong {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.live-control small {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.35;
  margin-top: 2px;
}
.live-refresh {
  border: 1px solid rgba(102,242,220,.48);
  background: var(--cyan);
  color: #061113;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  min-width: 76px;
}
.live-refresh:disabled {
  opacity: .48;
  cursor: wait;
}
.live-progress {
  height: 2px;
  margin-top: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.live-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,var(--cyan),var(--violet));
  transition: width .24s;
}
.live-sort {
  margin-top: 7px;
}
.spot-card {
  grid-template-columns: 37px minmax(0,1fr) 92px;
}
.spot-reading {
  text-align: right;
  min-width: 0;
}
.spot-reading b {
  display: block;
  font-size: 12px;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}
.spot-reading em {
  display: block;
  font-style: normal;
  font-size: 8px;
  color: var(--muted);
  margin-top: 1px;
}
.spot-reading small {
  display: block;
  font-size: 8px;
  color: #b9c7c3;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spot-reading.pending b {
  color: var(--muted);
}
.spot-reading.stale b:after {
  content: ' cached';
  font-size: 6px;
  color: var(--amber);
  margin-left: 3px;
  text-transform: uppercase;
}
.marker-label {
  line-height: 1.25;
  text-align: center;
}
.marker-live {
  display: block;
  color: var(--cyan);
  font-size: 8px;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.marker-dot.live-hot {
  box-shadow: 0 0 0 5px rgba(102,242,220,.11),0 4px 16px rgba(0,0,0,.62);
}
.consensus {
  border: 1px solid rgba(102,242,220,.29);
  border-radius: 14px;
  background: radial-gradient(circle at 92% 0,rgba(102,242,220,.12),transparent 42%),rgba(102,242,220,.045);
  padding: 12px;
  margin: 0 0 15px;
}
.consensus.loading {
  opacity: .74;
}
.consensus-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.consensus-number {
  border-right: 1px solid var(--line);
  padding-right: 8px;
}
.consensus-number:last-child {
  border-right: 0;
  padding-left: 3px;
}
.consensus-number label,.aligned-swell label {
  display: block;
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
}
.consensus-number strong {
  display: block;
  font-family: Georgia,serif;
  font-size: 28px;
  line-height: 1;
  margin-top: 4px;
}
.consensus-number span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.aligned-swell {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  align-items: end;
}
.aligned-swell strong {
  font-size: 13px;
}
.confidence {
  font-size: 8px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  padding: 5px 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.confidence.high {
  color: var(--cyan);
  border-color: rgba(102,242,220,.45);
}
.confidence.moderate {
  color: var(--amber);
  border-color: rgba(255,204,103,.45);
}
.confidence.low {
  color: var(--coral);
  border-color: rgba(255,118,109,.45);
}
.live-meta {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}
.source-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 9px;
}
.source-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.12);
  border-radius: 9px;
  padding: 8px;
}
.source-card strong {
  font-size: 9px;
}
.source-card span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}
.source-card b {
  font-size: 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.source-card.error {
  opacity: .48;
}
.estimate-note {
  margin-top: 9px;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.45;
  border-left: 2px solid rgba(255,204,103,.38);
  padding-left: 8px;
}
.swell-window {
  color: var(--cyan);
}
.data-credit {
  font-size: 9px!important;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
@media(max-width:520px) {
  .spot-card {
    grid-template-columns: 34px minmax(0,1fr) 84px;
  }
  .consensus-number strong {
    font-size: 24px;
  }
  .live-control {
    grid-template-columns: minmax(0,1fr) auto;
  }
}
/* ---- v3 Jalama-to-Ventura coast conditions ---- */
.conditions-panel {
  position: absolute;
  z-index: 28;
  left: 16px;
  bottom: 76px;
  width: min(420px,calc(100% - 32px));
  max-height: min(70vh,740px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,rgba(7,17,21,.97),rgba(10,24,29,.96));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  pointer-events: none;
  transition: .22s;
  overflow: hidden;
}
.conditions-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.conditions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 10px;
  border-bottom: 1px solid var(--line);
}
.conditions-head span {
  display: block;
  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 900;
}
.conditions-head strong {
  display: block;
  font-family: Georgia,serif;
  font-size: 17px;
  margin-top: 3px;
}
.conditions-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.conditions-close:hover {
  background: rgba(255,255,255,.11);
}
.conditions-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.conditions-tabs button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 9px;
  padding: 8px 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}
.conditions-tabs button.active {
  background: rgba(102,242,220,.10);
  border-color: rgba(102,242,220,.32);
  color: var(--ice);
}
.conditions-body {
  display: none;
  min-height: 0;
  overflow: auto;
  padding: 11px 12px 14px;
  scrollbar-width: thin;
}
.conditions-body.active {
  display: block;
}
.conditions-intro {
  font-size: 9px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 2px 10px;
}
.conditions-intro strong {
  color: #dce9e5;
}
.wind-region-list {
  display: grid;
  gap: 6px;
}
.wind-region {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.026);
  border-radius: 11px;
  padding: 8px 9px;
  cursor: pointer;
}
.wind-region:hover {
  border-color: rgba(102,242,220,.42);
  background: rgba(102,242,220,.06);
}
.wind-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102,242,220,.28);
  color: var(--cyan);
  font-size: 17px;
  background: rgba(102,242,220,.04);
}
.wind-region strong {
  display: block;
  font-size: 10.5px;
}
.wind-region span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}
.wind-speed {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.wind-speed b {
  display: block;
  font-family: Georgia,serif;
  font-size: 19px;
  color: var(--ice);
}
.wind-speed small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wind-empty {
  border: 1px dashed var(--line2);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.tide-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 7px;
}
.tide-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  background: #102025;
  color: var(--paper);
  padding: 9px;
  border-radius: 9px;
  font-size: 10px;
}
.tide-toolbar button {
  width: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.tide-toolbar button:disabled {
  opacity: .45;
  cursor: wait;
}
.tide-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 9px 0;
}
.tide-metric {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 10px;
  padding: 9px;
}
.tide-metric label {
  display: block;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.tide-metric strong {
  display: block;
  font-family: Georgia,serif;
  font-size: 19px;
  margin-top: 3px;
}
.tide-metric span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
}
.tide-chart-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg,rgba(102,242,220,.035),rgba(0,0,0,.1));
  padding: 6px;
  overflow: hidden;
}
.tide-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 170px;
}
.tide-chart .grid {
  stroke: rgba(255,255,255,.09);
  stroke-width: 1;
}
.tide-chart .axis-label {
  fill: #8fa29d;
  font-size: 10px;
}
.tide-chart .prediction-fill {
  fill: rgba(102,242,220,.07);
}
.tide-chart .prediction-line {
  fill: none;
  stroke: #66f2dc;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.tide-chart .observed-line {
  fill: none;
  stroke: #ffcc67;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.tide-chart .now-line {
  stroke: #ff766d;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}
.tide-chart .event-dot {
  fill: #071013;
  stroke: #b9a4ff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.tide-chart .now-dot {
  fill: #ff766d;
  stroke: #071013;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.tide-chart .event-label {
  fill: #dfeae7;
  font-size: 9px;
  font-weight: 700;
}
.tide-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 8px;
  color: var(--muted);
}
.tide-legend i {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 5px;
  vertical-align: 3px;
  background: var(--cyan);
}
.tide-legend .observed i {
  background: var(--amber);
}
.tide-note {
  font-size: 8px;
  line-height: 1.45;
  color: var(--muted);
  margin: 8px 2px 0;
}
.tide-error {
  border: 1px dashed rgba(255,118,109,.42);
  border-radius: 11px;
  padding: 20px;
  text-align: center;
  color: #e5b9b5;
  font-size: 10px;
  line-height: 1.45;
}
.spot-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: -5px 0 15px;
}
.spot-condition {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 11px;
  padding: 9px;
  text-align: left;
  cursor: pointer;
}
.spot-condition:hover {
  border-color: rgba(102,242,220,.42);
  background: rgba(102,242,220,.055);
}
.spot-condition label {
  display: block;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.spot-condition strong {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}
.spot-condition span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}
.spot-condition.wind strong {
  color: var(--ice);
}
.spot-condition.tide strong {
  color: var(--amber);
}
@media(max-width:930px) {
  .conditions-panel {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 72px;
    max-height: 68vh;
    z-index: 58;
  }
}
@media(max-width:520px) {
  .conditions-panel {
    left: 6px;
    right: 6px;
    bottom: 60px;
    max-height: 72vh;
    border-radius: 15px;
  }
  .conditions-head {
    padding: 10px 11px 8px;
  }
  .conditions-body {
    padding: 9px;
  }
  .wind-region {
    grid-template-columns: 34px minmax(0,1fr) 64px;
  }
  .wind-arrow {
    width: 31px;
    height: 31px;
  }
  .tide-summary {
    grid-template-columns: 1fr 1fr;
  }
  .spot-conditions {
    grid-template-columns: 1fr;
  }
}

/* Unified Atlas — monochrome expedition interface */
:root {
  --ink: #070808;
  --ink2: #111213;
  --paper: #f2f1eb;
  --muted: #929591;
  --line: rgba(255,255,255,.13);
  --line2: rgba(255,255,255,.24);
  --cyan: #bcecdf;
  --cyan2: #8ac9b9;
  --amber: #dfb567;
  --violet: #b9add5;
  --coral: #e88c76;
  --ice: #f1f3ef;
  --sidebar: 390px;
  --shadow: 0 15px 50px #0009;
  --gfs: #bcecdf;
  --ecmwf: #d8bb84;
  --mfwam: #b6a7cd;
}
[hidden] {
  display: none!important;
}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
button {
  touch-action: manipulation;
}
button:disabled {
  opacity: .48;
  cursor: wait;
}
#app {
  background: #080909;
}
.sidebar {
  background: #090a0b;
}
.brand {
  padding: 20px 20px 14px;
  background: repeating-radial-gradient(ellipse at 125% -80%,transparent 0 15px,#ffffff09 16px,transparent 17px 24px);
}
.brand:after {
  display: none;
}
.brand-cross {
  font-size: 18px;
  margin-right: 6px;
  color: var(--amber);
}
.title {
  font-size: 44px;
  letter-spacing: -.035em;
  margin: 5px 0 10px;
}
.brand-dot {
  color: var(--amber);
}
.route-name {
  font: 10px ui-monospace,monospace;
  letter-spacing: .16em;
}
.route-name span {
  color: var(--amber);
  margin: 0 7px;
}
.subtitle {
  margin-top: 8px;
  font-size: 11px;
}
.eyebrow {
  color: #9b9e9a;
  font-size: 8px;
  letter-spacing: .19em;
}
.stat {
  padding: 4px 7px;
  font-size: 9px;
  border-radius: 3px;
}
.stats {
  gap: 5px;
  margin-top: 11px;
}
.theme-switch {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.theme-chip {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 3px;
  font-size: 9px;
  cursor: pointer;
}
.theme-chip.active {
  background: var(--paper);
  color: #090a0b;
}
.plain-btn {
  border: 0;
  background: none;
  font-size: 20px;
}
.mobile-close {
  display: none;
  margin-left: auto;
}
.controls {
  padding: 12px 12px 9px;
}
.search {
  padding-left: 12px;
  border-radius: 4px;
  font-size: 11px;
}
.presets {
  grid-template-columns: repeat(4,1fr);
}
.preset,.select {
  border-radius: 4px;
}
.filter-grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.select {
  background: #141718;
  padding: 8px 6px;
  font-size: 10px;
}
.toggles {
  gap: 4px;
}
.toggle span {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 3px;
}
.toggle input:checked+span,.toggle.less input:checked+span,.toggle.public input:checked+span {
  background: #eaece5;
  border-color: #eaece5;
  color: #101010;
}
.live-control {
  background: #ffffff04;
  border-radius: 5px;
  border-color: var(--line);
  padding: 8px;
  margin-top: 10px;
}
.live-control strong {
  font-size: 10px;
}
.live-control small {
  font-size: 8px;
}
.live-control .live-eyebrow {
  font-size: 7px;
}
.live-refresh {
  min-width: 58px;
  padding: 8px;
  border-radius: 4px;
  background: #dddcd3;
  border-color: #dddcd3;
}
.live-progress i {
  background: var(--amber);
}
.list-head {
  font-size: 9px;
}
.spot-card {
  grid-template-columns: 31px minmax(0,1fr) 79px;
  border-radius: 5px;
  gap: 7px;
  padding: 10px 7px;
}
.spot-icon {
  width: 29px;
  height: 29px;
  font: 9px ui-monospace,monospace;
}
.spot-name {
  font-size: 11px;
}
.spot-meta {
  font-size: 9px;
}
.spot-reading b {
  font-size: 12px;
}
.spot-reading em,.spot-reading small {
  font-size: 7px;
}
.spot-card.selected {
  background: #ffffff0e;
  border-color: #ffffff3b;
}
.sidebar-foot {
  display: flex;
  gap: 10px;
  padding: 9px 15px;
  border-top: 1px solid var(--line);
}
.sidebar-foot button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 9px;
  padding: 4px;
  cursor: pointer;
}
.map {
  background: #0c0e0f;
  background-image: linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);
  background-size: 64px 64px;
}
.map.topo .tile {
  filter: grayscale(1) invert(1) brightness(.8) contrast(1.08);
}
.map.street .tile {
  filter: grayscale(.8) brightness(.65);
}
#coastSketch {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.map-title-card {
  border-radius: 4px;
  min-width: 230px;
  padding: 13px 15px;
}
.map-title-card strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
}
.map-title-card div {
  font-size: 9px;
}
.glass {
  background: #090c0ede;
}
.zoom-control,.map-actions button {
  border-radius: 4px;
}
.marker-dot {
  width: 25px;
  height: 25px;
  border-width: 1px;
  font: 8px ui-monospace,monospace;
  background: #0b0e10ec;
}
.map-marker.lesser .marker-dot:after,.map-marker.ephemeral .marker-dot:after {
  width: 31px;
  height: 31px;
  opacity: .5;
}
.marker-label {
  font-size: 8px;
  top: 29px;
}
.compass-mark {
  position: absolute;
  bottom: 230px;
  right: 80px;
  z-index: 3;
  color: #ebece63a;
  text-align: center;
  pointer-events: none;
}
.compass-mark span,.compass-mark small {
  display: block;
  font: 8px ui-monospace,monospace;
  letter-spacing: .15em;
}
.compass-mark i {
  font-style: normal;
  font-size: 98px;
  font-weight: 100;
  line-height: 1.1;
}
.zone-poly {
  fill: #ffffff04;
  stroke: #aaa38b88;
}
.zone-label {
  fill: #d8d1b9;
  font-size: 8px;
}
.layer-switch {
  bottom: 147px;
  border-radius: 4px;
  padding: 3px;
}
.layer-switch button {
  border-radius: 3px;
  font-size: 9px;
  padding: 6px 10px;
}
.scale {
  bottom: 194px;
}
.coord {
  bottom: 150px;
  font-size: 8px;
}
.attrib {
  bottom: 177px;
  max-width: 55%;
}
.time-strip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 21;
  border-radius: 6px;
  padding: 10px 12px 8px;
}
.time-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 8px ui-monospace,monospace;
  letter-spacing: .09em;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 3px;
}
.time-strip-head>div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.time-strip-head select,.time-strip-head button {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #171b1c;
  color: var(--paper);
  padding: 4px 7px;
  font-size: 9px;
}
.day-bar {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 5px;
  margin-top: 8px;
}
.day-btn {
  border: 1px solid var(--line);
  background: #ffffff03;
  text-align: left;
  border-radius: 3px;
  padding: 7px 9px;
  cursor: pointer;
  min-width: 0;
}
.day-btn span,.day-btn small {
  display: block;
}
.day-btn span {
  font-size: 10px;
  font-weight: 700;
}
.day-btn small {
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.day-btn.active {
  border-color: #d9d1b7;
  background: #d9d1b70e;
}
.day-btn.active span {
  color: #f4dfad;
}
.time-strip-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 7.5px;
  color: var(--muted);
  margin-top: 7px;
}
.detail {
  width: min(620px,calc(100% - 28px));
  bottom: 145px;
  border-radius: 7px;
  background: #0b0f11f7;
  z-index: 40;
}
.detail-head {
  padding: 18px 19px 12px;
}
.detail h2 {
  font-size: 29px;
}
.detail-kicker {
  font: 8px ui-monospace,monospace;
  color: var(--amber);
}
#detailContent {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.detail-body {
  min-height: 0;
  padding: 13px 18px 22px;
  flex: 1;
}
.detail-close {
  border-radius: 4px;
}
.badges {
  gap: 4px;
}
.badge {
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 8px;
}
.detail-nav {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 0 13px 8px;
}
.detail-nav button {
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 10px;
  cursor: pointer;
}
.detail-nav button.active {
  border-color: var(--line2);
  background: #ffffff08;
  color: var(--paper);
}
.consensus {
  border-radius: 5px;
  background: #ffffff03;
  border-color: var(--line2);
  padding: 12px;
  margin-bottom: 10px;
}
.consensus-number strong {
  font-family: ui-monospace,monospace;
  font-size: 30px;
  font-weight: 500;
}
.aligned-swell {
  align-items: center;
}
.aligned-swell strong {
  font-size: 12px;
}
.confidence {
  border-radius: 3px;
  font-size: 7px;
}
.fact,.action,.spot-condition,.source-card,.notes-area,.star-btn {
  border-radius: 4px;
}
.spot-conditions {
  margin-top: 5px;
}
.lede {
  font-size: 12px;
}
.fact strong {
  font-size: 10px;
}
.review-note {
  font-size: 8px;
  line-height: 1.5;
  color: #a59f89;
  border-left: 1px solid #a59f8966;
  padding-left: 8px;
  margin: 12px 0;
}
.forecast-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.forecast-heading h3 {
  font-size: 11px;
  margin: 0;
}
.forecast-heading span {
  font: 8px ui-monospace,monospace;
  color: var(--muted);
}
.model-toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.model-check {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 7px;
  font-size: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}
.model-check input {
  width: 11px;
  height: 11px;
  margin: 0;
  accent-color: var(--amber);
}
.model-gfs {
  color: var(--gfs);
}
.model-ecmwf {
  color: var(--ecmwf);
}
.model-mfwam {
  color: var(--mfwam);
}
.forecast-chart {
  width: 100%;
  height: auto;
  display: block;
}
.chart-grid {
  stroke: #ffffff11;
  stroke-width: 1;
}
.chart-label {
  fill: #9ca29c;
  font: 9px ui-monospace,monospace;
}
.chart-band {
  fill: #ffffff0c;
}
.chart-mean {
  stroke: #fafbf3;
  stroke-width: 2.3;
  fill: none;
}
.chart-gfs {
  stroke: var(--gfs);
  stroke-width: 1.1;
  fill: none;
}
.chart-ecmwf {
  stroke: var(--ecmwf);
  stroke-width: 1.1;
  fill: none;
}
.chart-mfwam {
  stroke: var(--mfwam);
  stroke-width: 1.1;
  fill: none;
}
.chart-cursor {
  stroke: var(--coral);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}
.forecast-chart-box {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px;
  background: #03070844;
  margin-bottom: 6px;
}
.chart-caption {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.forecast-days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 4px;
}
.forecast-day {
  padding: 8px 5px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
}
.forecast-day.active {
  border-color: var(--amber);
}
.forecast-day span,.forecast-day b,.forecast-day small {
  display: block;
}
.forecast-day span {
  font-size: 8px;
  color: var(--muted);
}
.forecast-day b {
  font: 13px ui-monospace,monospace;
  margin: 6px 0;
}
.forecast-day small {
  font-size: 7px;
  color: var(--muted);
  line-height: 1.65;
}
.hour-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  margin-top: 14px;
}
.hour-table th {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 3px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.hour-table td {
  border-bottom: 1px solid #ffffff07;
  padding: 8px 3px;
}
.hour-table tr.active {
  background: #ffffff07;
}
.hour-table button {
  font: inherit;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  color: var(--paper);
}
.section p {
  font-size: 10px;
}
.source-card span {
  line-height: 1.5;
}
.source-card b {
  font-size: 10px;
}
.network-note {
  border: 1px dashed var(--line2);
  padding: 10px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0;
}
.network-note.error {
  border-color: #e88c7655;
  color: #e8ac9f;
}
.btn-row {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.btn-row button {
  font-size: 9px;
  border: 1px solid var(--line2);
  background: #ffffff08;
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
}
.conditions-panel {
  position: absolute;
  top: 14px;
  bottom: 145px;
  left: auto;
  right: 14px;
  width: min(540px,calc(100% - 28px));
  max-height: none;
  background: #0b0f11f7;
  border-radius: 7px;
  z-index: 50;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.conditions-head strong {
  font-size: 22px;
}
.conditions-body {
  flex: 1;
}
.wind-region-list,#windRegionList {
  display: grid;
  gap: 6px;
}
.wind-region {
  border-radius: 4px;
}
.wind-arrow {
  color: #d6ddcf;
  border-color: var(--line2);
}
.tide-toolbar select {
  background: #181c1d;
  border-radius: 4px;
}
.tide-chart .prediction-line {
  stroke: var(--paper);
  stroke-width: 2;
}
.tide-chart .prediction-fill {
  fill: #ffffff07;
}
.tide-chart .observed-line {
  stroke: var(--amber);
}
.tide-chart .axis-label {
  fill: #a2a9a3;
}
.tide-metric,.tide-chart-wrap {
  border-radius: 4px;
}
.tide-chart-wrap {
  background: #ffffff02;
}
.modal-backdrop {
  position: fixed;
  z-index: 100;
}
.modal {
  background: #0d1113;
  border-radius: 8px;
  max-height: 85vh;
}
.modal h2 {
  font-size: 29px;
  margin-top: 10px;
}
.modal p {
  font-size: 11px;
}
.modal h3 {
  color: var(--amber);
  font-size: 10px;
}
.setting-row {
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.small {
  font-size: 9px!important;
}
.source-index a {
  border-radius: 4px;
  font-size: 9px;
}
.toast {
  bottom: 146px;
  border-radius: 4px;
}
.offline-note {
  max-width: 300px;
  text-align: center;
  line-height: 1.6;
  background: #0a0e10bb;
}
.mono {
  font-family: ui-monospace,monospace;
}
html[data-theme="classic"] {
  --ink: #071013;
  --cyan: #66f2dc;
  --amber: #ffcc67;
  --violet: #b9a4ff;
  --paper: #edf4f0;
  --muted: #98aaa5;
  --ice: #d8fff8;
}
html[data-theme="classic"] .sidebar {
  background: linear-gradient(#071013,#0b1c22);
}
html[data-theme="classic"] .detail,html[data-theme="classic"] .conditions-panel {
  background: linear-gradient(#0b1a20f7,#11272cf7);
  border-radius: 17px;
}
html[data-theme="classic"] .consensus {
  background: linear-gradient(120deg,#66f2dc0c,#b9a4ff06);
  border-color: #66f2dc55;
  border-radius: 12px;
}
html[data-theme="classic"] .preset,html[data-theme="classic"] .select,html[data-theme="classic"] .spot-card {
  border-radius: 9px;
}
html[data-theme="classic"] .brand {
  background: radial-gradient(circle at 110% -25%,#66f2dc25,transparent 60%);
}
@media(max-width:1100px) {
  :root {
    --sidebar: 352px;
  }
  .controls {
    padding: 10px;
  }
  .brand {
    padding: 15px;
  }
  .title {
    font-size: 38px;
  }
  .spot-card {
    grid-template-columns: 29px minmax(0,1fr) 73px;
  }
  .detail {
    width: min(555px,calc(100% - 20px));
  }
  .time-strip-foot span:last-child {
    display: none;
  }
}
@media(max-width:930px) {
  .sidebar {
    z-index: 65;
    top: 6px;
    left: 6px;
    bottom: 6px;
    height: auto;
    border-radius: 7px;
    width: min(380px,calc(100% - 12px));
  }
  .mobile-close {
    display: block;
  }
  .map-title-card {
    display: block;
    min-width: 0;
    max-width: 240px;
    padding: 8px 12px;
  }
  .map-title-card strong {
    font-size: 16px;
  }
  .map-title-card .eyebrow {
    font-size: 7px;
  }
  .detail {
    left: auto;
    right: 8px;
    top: 75px;
    bottom: 143px;
    width: min(620px,calc(100% - 16px));
    height: auto;
    transform: translateX(calc(100% + 24px));
    border-radius: 7px;
  }
  .detail.open {
    transform: none;
  }
  .conditions-panel {
    top: 75px;
    bottom: 143px;
    left: auto;
    right: 8px;
    width: min(540px,calc(100% - 16px));
    max-height: none;
  }
  .compass-mark {
    right: 45px;
  }
  .map-top {
    left: 10px;
    top: 10px;
  }
  .mobile-menu {
    border-radius: 4px;
  }
  .attrib {
    bottom: 180px;
  }
  .time-strip {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .time-strip-head label {
    display: none;
  }
  .coord {
    display: none;
  }
}
@media(max-width:520px) {
  .map-title-card strong {
    font-size: 13px;
  }
  .map-title-card {
    max-width: 225px;
  }
  .map-title-card .eyebrow {
    font-size: 6px;
  }
  .map-title-card div {
    font-size: 7px;
  }
  .zoom-control {
    top: 10px;
    right: 10px;
  }
  .map-actions {
    right: 10px;
    top: 100px;
    gap: 5px;
  }
  .map-actions button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .zoom-control button {
    width: 35px;
    height: 34px;
  }
  .day-btn {
    padding: 8px 3px;
    text-align: center;
  }
  .day-btn span {
    font-size: 9px;
  }
  .day-btn small {
    font-size: 7px;
  }
  .day-bar {
    gap: 3px;
  }
  .time-strip-head {
    font-size: 7px;
    letter-spacing: .025em;
  }
  .time-strip {
    padding: 9px 7px 7px;
  }
  .time-strip-foot {
    font-size: 7px;
  }
  .layer-switch {
    left: 10px;
    bottom: 144px;
  }
  .scale {
    bottom: 185px;
    left: 11px;
  }
  .attrib {
    font-size: 6px;
    right: 9px;
    bottom: 143px;
    max-width: 48%;
  }
  .detail {
    top: 70px;
    bottom: 138px;
    right: 5px;
    width: calc(100% - 10px);
  }
  .detail-head {
    padding: 13px 13px 9px;
  }
  .detail h2 {
    font-size: 23px;
    margin-top: 5px;
  }
  .badges {
    margin-top: 7px;
  }
  .detail-nav {
    padding: 0 9px 6px;
  }
  .detail-body {
    padding: 10px 12px 20px;
  }
  .detail-nav button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .conditions-panel {
    top: 70px;
    bottom: 138px;
    right: 5px;
    width: calc(100% - 10px);
  }
  .forecast-days {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 4px;
  }
  .forecast-day {
    padding: 7px 3px;
  }
  .forecast-day:last-child {
    grid-column: auto;
  }
  .consensus-number strong {
    font-size: 27px;
  }
  .forecast-heading span {
    font-size: 7px;
  }
  .model-check {
    font-size: 7px;
    padding: 5px;
  }
  .hour-table {
    font-size: 8px;
  }
  .spot-conditions {
    grid-template-columns: 1fr 1fr;
  }
  .conditions-intro {
    font-size: 9px;
  }
  .consensus-number label {
    font-size: 7px;
  }
  .conditions-body {
    padding: 10px;
  }
  .conditions-tabs button {
    padding: 9px;
    font-size: 10px;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .presets {
    grid-template-columns: repeat(4,1fr);
  }
  .source-index {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 18px;
  }
  .modal p {
    font-size: 11px;
  }
  .compass-mark {
    bottom: 250px;
    right: 70px;
  }
  .compass-mark i {
    font-size: 75px;
  }
}
@media(max-height:740px) and (min-width:931px) {
  .brand {
    padding: 12px 16px 10px;
  }
  .title {
    font-size: 33px;
    margin: 4px 0 7px;
  }
  .subtitle {
    display: none;
  }
  .stats {
    margin-top: 9px;
  }
  .theme-switch {
    margin-top: 8px;
  }
  .controls {
    padding-top: 8px;
  }
  .search {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .live-control {
    margin-top: 7px;
  }
  .detail {
    bottom: 139px;
  }
}
.detail,.conditions-panel {
  background: #0b0f11;
}
.map-cluster {
  position: absolute;
  transform: translate(-50%,-50%);
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid #d4c39c99;
  background: #111618f2;
  color: #ece7d8;
  border-radius: 50%;
  font: 10px ui-monospace,monospace;
  box-shadow: 0 0 0 4px #d4c39c09;
}
.map-cluster:hover {
  border-color: var(--amber);
  background: #292b25;
}
.cluster-label {
  position: absolute;
  opacity: 0;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0c1012ed;
  font: 9px ui-monospace,monospace;
  white-space: nowrap;
  padding: 4px 7px;
  border: 1px solid var(--line);
}
.map-cluster:hover .cluster-label {
  opacity: 1;
}

/* Expedition 06 — white ink, dark terrain, small chartreuse waypoints. */
:root {
  --sidebar: 354px;
  --ink: #080909;
  --paper: #f0f1eb;
  --muted: #a2a69f;
  --line: rgba(255,255,255,.12);
  --line2: rgba(255,255,255,.24);
  --accent: #ceef8e;
  --amber: #ceef8e;
  --cyan: #dbeed9;
  --cyan2: #ceef8e;
  --ice: #f4f5ef;
  --gfs: #cfebc6;
  --ecmwf: #d9bc88;
  --mfwam: #bab5dd;
  --mono: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --radius: 7px;
}
html,body {
  height: 100%;
  height: 100dvh;
  font-size: 13px;
  background: #080909;
}
button,a,input,select,summary,textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,input,select,textarea {
  font-variant-numeric: tabular-nums;
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input[type=checkbox],input[type=range] {
  accent-color: var(--accent);
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
}
.sidebar {
  background: #0a0b0b;
  border-right: 1px solid #ffffff18;
}
.brand {
  padding: 20px 18px 14px;
  background: repeating-radial-gradient(ellipse at 115% -20%,transparent 0 23px,#ffffff06 24px,#ffffff06 25px,transparent 26px 43px);
}
.brand .eyebrow {
  font-size: 8px;
  font-weight: 650;
  color: var(--accent);
  letter-spacing: .2em;
}
.brand-cross {
  color: var(--accent);
  font-size: 17px;
}
.title {
  font-family: Georgia,serif;
  font-size: 44px;
  letter-spacing: -.05em;
  font-weight: 400;
}
.brand-dot {
  color: var(--accent);
}
.route-name {
  font: 9px var(--mono);
  letter-spacing: .14em;
  color: #e5e7df;
}
.subtitle {
  font-size: 11px;
  color: #9ea599;
}
.stats {
  margin-top: 13px;
  gap: 5px;
}
.stat {
  font-size: 8px;
  padding: 4px 5px;
  background: #ffffff03;
  border-radius: 3px;
}
.theme-switch {
  margin-top: 12px;
}
.theme-chip {
  font: 8px var(--mono);
  border-radius: 4px;
  min-height: 29px;
}
.workspace-launch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 0 13px 12px;
  border-bottom: 1px solid var(--line);
}
.workspace-launch button {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
  padding: 8px 10px;
}
.workspace-launch button span {
  font: 9px var(--mono);
  color: var(--muted);
}
.workspace-launch button.plan-launch {
  background: var(--paper);
  color: #111510;
  font-weight: 700;
  border-color: var(--paper);
}
.workspace-launch button.plan-launch span {
  color: #111510;
  font-size: 15px;
}
.workspace-launch button:hover:not(.plan-launch) {
  background: #ffffff09;
  border-color: var(--line2);
}
.controls {
  padding: 12px;
}
.search {
  min-height: 38px;
  background: #ffffff06;
  font-size: 11px;
  border-color: #ffffff23;
}
.presets {
  gap: 4px;
  margin-top: 8px;
}
.preset {
  font-size: 9px;
  min-height: 30px;
}
.preset.active {
  background: #ceef8e0d;
  border-color: #ceef8e66;
  color: #ecf6db;
}
.select {
  background: #151716;
  min-height: 33px;
  font-size: 10px;
}
.filter-grid {
  margin-top: 7px;
}
.refine-filters {
  margin-top: 7px;
}
.refine-filters summary {
  font: 9px var(--mono);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 9px 2px;
}
.refine-filters summary::-webkit-details-marker {
  display: none;
}
.refine-filters[open] summary span {
  transform: rotate(45deg);
}
.toggle span {
  font-size: 9px;
  min-height: 27px;
  display: flex;
  align-items: center;
}
.toggles {
  gap: 5px;
  margin-bottom: 5px;
}
.live-control {
  margin-top: 8px;
  padding: 8px;
  background: #ceef8e04;
  border-color: #ceef8e25;
}
.live-control .live-eyebrow {
  color: var(--accent);
  font: 7px var(--mono);
  letter-spacing: .06em;
}
.live-control strong {
  font-size: 10px;
  font-weight: 650;
}
.live-control small {
  color: #969d92;
  font-size: 8px;
}
.live-refresh {
  background: #f0f1e9;
  border-color: #f0f1e9;
  color: #111;
  min-height: 34px;
}
.list-head {
  font: 9px var(--mono);
  padding: 10px 13px;
}
.spot-list {
  padding: 0 7px 16px;
}
.spot-card {
  min-height: 63px;
  padding: 10px 7px;
  grid-template-columns: 28px minmax(0,1fr) 73px;
  gap: 9px;
  border-radius: 4px;
}
.spot-name {
  font-size: 11.5px;
  line-height: 1.4;
}
.spot-meta {
  font-size: 9px;
  color: #999f96;
}
.spot-reading b {
  font-size: 13px;
  font-weight: 700;
}
.spot-reading em,.spot-reading small {
  font-size: 7.5px;
}
.spot-icon {
  width: 27px;
  height: 27px;
  border-color: #eee9!important;
  color: #f1f2e9!important;
  background: transparent;
}
.spot-icon.lesser:after {
  border-color: #ffffff2b;
}
.spot-card.favorite .spot-name:after {
  color: var(--accent);
}
.spot-card.selected {
  border-color: #ceef8e50;
  background: #ceef8e07;
}
.spot-reading.stale b:after {
  content: ' old';
  font: 7px var(--mono);
  color: #e8b381;
}
.sidebar-foot {
  padding: 9px 11px;
}
.sidebar-foot button {
  font: 8px var(--mono);
}
.map {
  background-color: #080a0b;
  background-image: linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);
  background-size: 48px 48px;
}
.map.topo .tile {
  filter: grayscale(1) invert(1) brightness(.7) contrast(1.12);
}
.map-title-card {
  padding: 12px 14px;
  min-width: 250px;
  border-radius: 5px;
  background: #0a0c0cde;
}
.map-title-card strong {
  font: 22px Georgia,serif;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.map-title-card .eyebrow {
  color: var(--accent);
  font: 7px var(--mono);
  letter-spacing: .12em;
}
.map-title-card div {
  font: 9px var(--mono);
  color: #b4baae;
}
.map-title-card #networkBadge {
  border: 0;
  background: none;
  display: block;
  padding: 6px 0 0;
  color: #bbd98b;
  font: 7px var(--mono);
  letter-spacing: .12em;
  text-align: left;
}
.map-title-card #networkBadge:before {
  content: '●';
  font-size: 6px;
  margin-right: 5px;
}
.map-title-card #networkBadge[data-status=warn] {
  color: #b0a18c;
}
.mobile-plan {
  display: none;
}
.map-cluster {
  border-color: #e9efdf8c;
  background: #0a0e0de8;
  box-shadow: 0 0 0 4px #ffffff04;
  color: #eef4e7;
}
.map-cluster:hover {
  background: #202819;
  border-color: var(--accent);
}
.marker-dot {
  color: #ededdf!important;
  border-color: #e0e5dba3!important;
  background: #0a0e0eeb;
}
.map-marker.selected .marker-dot {
  color: var(--accent)!important;
  border-color: var(--accent)!important;
  box-shadow: 0 0 0 5px #ceef8e14;
}
.map-marker.lesser .marker-dot:after,.map-marker.ephemeral .marker-dot:after {
  border-color: #b9c5ac80;
}
.compass-mark {
  left: 12%;
  right: auto;
  bottom: 31%;
  opacity: .4;
}
.compass-mark span {
  font-size: 9px;
}
.compass-mark i {
  font-size: 124px;
}
.compass-mark small {
  font-size: 7px;
  letter-spacing: .18em;
}
.zoom-control button,.map-actions button {
  width: 37px;
  min-height: 37px;
}
.map-actions {
  top: 101px;
  gap: 6px;
}
.zone-label {
  font: 8px var(--mono);
  fill: #d9e5cb;
}
.zone-poly {
  stroke: #c7d4b97a;
  fill: #ceef8e03;
}
.offline-note {
  max-width: 340px;
  font-size: 10px;
  line-height: 1.6;
  background: #090b0dde;
  border-radius: 6px;
  top: auto;
  bottom: 40%;
  left: 26%;
  transform: none;
  z-index: 14;
}
.layer-switch {
  bottom: 184px;
}
.scale {
  bottom: 224px;
}
.attrib {
  bottom: 181px;
  font-size: 7px;
  color: #8c9289;
}
.coord {
  bottom: 209px;
  font-size: 8px;
}
.time-strip {
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #0a0d0cef;
  border-radius: 6px;
  padding: 11px 12px 9px;
  backdrop-filter: blur(16px);
}
.time-strip-head {
  font-size: 8px;
}
.time-strip-head label {
  color: #8b9586;
}
.time-strip-head select,.time-strip-head button {
  min-height: 27px;
  font-size: 9px;
}
.day-bar {
  gap: 5px;
  margin: 9px 0;
}
.day-btn {
  padding: 8px 7px;
  background: #101412;
  border-color: #ffffff18;
  min-height: 42px;
  border-radius: 4px;
}
.day-btn span {
  font-size: 11px;
  font-weight: 700;
}
.day-btn small {
  font: 8px var(--mono);
  color: #899280;
}
.day-btn.active {
  border-color: #c3e4927a;
  background: #ceef8e09;
}
.day-btn.active span {
  color: var(--accent);
}
.time-strip-foot {
  font-size: 7.5px;
  color: #8b9584;
  margin-top: 7px;
}
.time-strip-foot>span:last-child {
  display: none;
}
.hour-scrubber {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 1px;
}
.hour-scrubber>span {
  font: 9px var(--mono);
  width: 59px;
  white-space: nowrap;
}
.hour-scrubber input {
  min-width: 30px;
  flex: 1;
  width: 100%;
  height: 16px;
  margin: 0;
  cursor: pointer;
}
.hour-presets {
  display: flex;
  gap: 4px;
}
.hour-presets button {
  background: #ffffff04;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 7px var(--mono);
  color: var(--muted);
  min-height: 24px;
  padding: 3px 6px;
}
.hour-presets button:hover {
  color: var(--paper);
}
.detail,.conditions-panel {
  background: #0b0e0df7;
  border-radius: 8px;
  border-color: #ffffff24;
  box-shadow: 0 20px 70px #000a;
  bottom: 179px;
}
.detail {
  width: min(520px,calc(100% - 28px));
}
.detail-head {
  padding: 17px 18px 13px;
}
.detail h2 {
  font: 31px Georgia,serif;
  letter-spacing: -.035em;
}
.detail-kicker {
  font: 8px var(--mono);
  color: var(--accent);
}
.detail-close {
  min-width: 34px;
  min-height: 34px;
}
.detail-nav {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.detail-nav button {
  font-size: 10px;
  min-height: 34px;
}
.detail-nav button.active {
  color: #eef5e3;
}
.spot-toolbar {
  display: flex;
  gap: 6px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.spot-toolbar button {
  font-size: 9px;
  border: 1px solid var(--line);
  background: #ffffff03;
  color: #c8d1c0;
  padding: 6px 8px;
  border-radius: 4px;
  min-height: 30px;
}
.spot-toolbar button[aria-pressed=true] {
  color: var(--accent);
  border-color: #ceef8e66;
}
.spot-toolbar button:hover {
  border-color: #ffffff66;
}
.detail-body {
  padding: 14px 17px 28px;
}
.consensus {
  background: #ffffff03;
  border-color: #ffffff24;
  border-radius: 6px;
  padding: 14px;
}
.consensus-number strong {
  font: 38px Georgia,serif;
  color: #f0f2e9;
  letter-spacing: -.03em;
}
.consensus-number label {
  font: 8px var(--mono);
  color: #b1bbac;
}
.consensus-number span {
  color: #7e8978;
}
.aligned-swell strong {
  font-size: 14px;
}
.confidence {
  font: 7px var(--mono);
  border-radius: 4px;
  padding: 5px;
}
.live-meta {
  font-size: 8px;
  color: #99a292;
  line-height: 1.7;
}
.spot-condition {
  border-radius: 5px;
  background: #ffffff03;
}
.spot-condition strong {
  font: 12px var(--mono);
  color: #e1ead5!important;
}
.sun-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 4px 0 12px;
  color: #adb69f;
  font: 8px var(--mono);
}
.sun-context button {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--accent);
  font: 8px var(--mono);
  cursor: pointer;
}
.forecast-heading h3 {
  font: 17px Georgia,serif;
  text-transform: none;
  letter-spacing: -.02em;
}
.forecast-chart-box {
  border-radius: 5px;
  border-color: var(--line);
}
.forecast-chart .chart-mean {
  stroke: #eff5e5;
  stroke-width: 2;
}
.forecast-days {
  gap: 4px;
}
.forecast-day {
  border-radius: 3px;
  padding: 8px 3px;
}
.forecast-day.active {
  border-color: #ceef8e66;
  background: #ceef8e08;
}
.forecast-day b {
  font-size: 12px;
}
.forecast-day small {
  font-size: 7px;
}
.model-check {
  font: 8px var(--mono);
}
.chart-caption,.review-note {
  font-size: 9px;
  line-height: 1.65;
}
.hour-table {
  font-size: 9px;
}
.hour-table th {
  font-size: 8px;
}
.hour-table td button {
  min-height: 30px;
}
.tide-chart .prediction-line {
  stroke: #dcefd0;
}
.tide-chart .observed-line {
  stroke: #e5b875;
}
.tide-chart .now-line,.tide-chart .now-dot {
  stroke: #e9efb6;
}
.conditions-panel {
  width: min(500px,calc(100% - 28px));
}
.conditions-tabs button.active {
  color: var(--accent);
  border-color: #ceef8e55;
  background: #ceef8e09;
}
.conditions-head strong {
  font: 23px Georgia,serif;
}
.wind-region {
  min-height: 62px;
  border-radius: 4px;
}
.wind-speed b {
  font: 21px Georgia,serif;
}
.wind-arrow {
  color: #c4d9b0;
  border-color: #ceef8e38;
}
.toast {
  z-index: 200;
  padding: 13px 18px;
  max-width: min(600px,95vw);
  font-size: 11px;
  background: #eaf1df;
  color: #1b2316;
  border-color: #eaf1df;
  box-shadow: 0 10px 50px #000b;
}
.modal-backdrop {
  z-index: 120;
}
.modal {
  background: #101510;
  border-radius: 8px;
}
/* Fullscreen field workspace, with native focus containment. */
#workspace {
  padding: 0;
  border: 1px solid #ffffff2b;
  border-radius: 10px;
  background: #090c0b;
  color: var(--paper);
  width: min(1100px,calc(100vw - 42px));
  height: min(900px,calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  box-shadow: 0 30px 140px #000b;
  overflow: hidden;
}
#workspace[open] {
  display: flex;
  flex-direction: column;
}
#workspace::backdrop {
  background: #030504cb;
  backdrop-filter: blur(5px);
}
.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 26px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.workspace-header>div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.workspace-header .eyebrow {
  color: var(--accent);
  font: 9px var(--mono);
  letter-spacing: .19em;
}
.workspace-header strong {
  font: 9px var(--mono);
  letter-spacing: .14em;
  color: #9aa48e;
}
.workspace-header>button {
  width: 35px;
  height: 35px;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  font-size: 20px;
}
.workspace-tabs {
  display: flex;
  gap: 2px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.workspace-tabs button {
  flex: 1;
  padding: 15px 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9ca78f;
  text-align: left;
  font: 10px var(--mono);
  min-height: 48px;
}
.workspace-tabs button.active {
  border-bottom-color: var(--accent);
  color: var(--paper);
}
.workspace-tabs button span {
  padding: 2px 4px;
  font-size: 8px;
  background: #ffffff0b;
  margin-left: 5px;
}
.workspace-tabs button:hover {
  background: #ffffff04;
}
#workspaceContent {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 25px 30px 45px;
  scrollbar-width: thin;
  scrollbar-color: #ffffff24 transparent;
  overscroll-behavior: contain;
}
.workspace-hero {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 27px;
  position: relative;
}
.workspace-hero:after {
  content: '';
  width: 280px;
  height: 170px;
  position: absolute;
  right: 0;
  top: 0;
  background: repeating-radial-gradient(ellipse at 60% 45%,transparent 0 11px,#ffffff07 12px,transparent 13px 20px);
  opacity: .9;
  pointer-events: none;
}
.workspace-hero .eyebrow,.workspace-heading .eyebrow {
  color: var(--accent);
  font: 9px var(--mono);
  letter-spacing: .15em;
}
.workspace-hero h2 {
  font: 56px/1 Georgia,serif;
  letter-spacing: -.05em;
  margin: 13px 0 13px;
}
.workspace-hero h2 span {
  color: var(--accent);
}
.workspace-hero p,.workspace-heading p {
  color: #a5af99;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.hero-coordinate {
  margin-right: 70px;
  padding-top: 10px;
  z-index: 1;
  color: #c3ccad;
  text-align: center;
  font: 9px var(--mono);
}
.hero-coordinate b {
  display: block;
  font: 100px Georgia,serif;
  line-height: 1.1;
  color: #d7e0c9;
}
.hero-coordinate small {
  display: block;
  font: 7px var(--mono);
  letter-spacing: .15em;
}
.workspace-heading {
  padding: 12px 0 25px;
}
.workspace-heading h2 {
  font: 44px/1.1 Georgia,serif;
  letter-spacing: -.04em;
  margin: 12px 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 9px var(--mono);
  color: #b6c0a8;
}
.form-field input,.form-field select,.form-field textarea {
  width: 100%;
  background: #141a15;
  color: #edf1e6;
  border: 1px solid #cbd8b725;
  border-radius: 4px;
  padding: 10px 11px;
  font: 12px ui-sans-serif,system-ui;
  min-height: 40px;
  outline-offset: 2px;
}
.form-field select {
  cursor: pointer;
}
.form-field textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
.form-field input::placeholder,.form-field textarea::placeholder {
  color: #6e7a65;
}
.planner-form {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px 14px;
  padding: 22px;
  background: #11170f7a;
  border: 1px solid #cce5ab24;
  border-radius: 6px;
}
.scope-field {
  grid-column: span 2;
}
.check-field {
  display: flex;
  gap: 8px;
  align-items: center;
  grid-column: span 3;
  font-size: 10px;
  color: #bbc6ad;
}
.check-field input {
  width: 15px;
  height: 15px;
}
.primary-action {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e6eddc;
  border-radius: 4px;
  background: #e6eddc;
  color: #11190c;
  padding: 12px 15px;
  font-size: 11px;
  font-weight: 700;
  min-height: 42px;
}
.primary-action:hover {
  background: #f6fceb;
}
.primary-action span {
  font-size: 16px;
}
.planner-method {
  font-size: 9px;
  color: #85947a;
  line-height: 1.7;
  padding: 13px 2px;
}
.planner-method b {
  color: #bbc6ad;
  font-weight: 500;
}
.result-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font: 9px var(--mono);
  color: #a8b89a;
}
.window-results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.window-card {
  background: linear-gradient(155deg,#172013aa,#0d110e);
  border: 1px solid #b2c69d3a;
  border-radius: 6px;
  padding: 18px 18px 14px;
}
.window-topline {
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  color: #9eaf8e;
  gap: 8px;
}
.match-label {
  color: var(--accent);
  white-space: nowrap;
}
.window-card h3 {
  font: 26px Georgia,serif;
  letter-spacing: -.03em;
  margin: 13px 0 5px;
}
.window-region {
  font-size: 9px;
  color: #859a76;
  line-height: 1.5;
}
.window-time {
  font: 18px var(--mono);
  margin: 17px 0;
  color: #e9f0df;
  letter-spacing: -.05em;
}
.window-time i {
  font-style: normal;
  color: #7f966d;
  margin: 0 5px;
}
.window-time small {
  font: 8px var(--mono);
  color: #8fa07f;
}
.window-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.window-metrics>div {
  padding: 0 10px;
  border-right: 1px solid var(--line);
}
.window-metrics>div:first-child {
  padding-left: 0;
}
.window-metrics>div:last-child {
  border-right: 0;
}
.window-metrics b {
  display: block;
  font: 23px Georgia,serif;
}
.window-metrics b small {
  font: 10px var(--mono);
}
.window-metrics span {
  display: block;
  font: 8px var(--mono);
  margin-top: 5px;
  color: #8fa17f;
}
.window-proof {
  font-size: 8px;
  color: #8ea07d;
  line-height: 1.7;
}
.window-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.window-actions button,.text-action {
  border: 1px solid #ffffff20;
  background: #ffffff04;
  color: #d4dfc8;
  padding: 8px 10px;
  font-size: 9px;
  border-radius: 4px;
  min-height: 31px;
}
.window-actions button:first-child {
  color: #e9f3dd;
  border-color: #cce6a551;
}
.window-actions button:hover {
  background: #ffffff09;
}
.workspace-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed #b9cc9e24;
  border-radius: 6px;
  margin-top: 7px;
}
.workspace-empty>span {
  font: 45px Georgia,serif;
  color: #819971;
}
.workspace-empty h3 {
  font: 25px Georgia,serif;
  letter-spacing: -.03em;
  margin: 7px 0;
}
.workspace-empty p {
  font-size: 11px;
  color: #93a883;
  line-height: 1.6;
  max-width: 470px;
  margin: 10px auto;
}
.compare-add {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
}
.compare-add .form-field {
  flex: 1;
}
.compare-add .action {
  min-height: 40px;
  margin-bottom: 0;
}
.compare-time {
  font: 10px var(--mono);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.7;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.compare-time span {
  font: 9px ui-sans-serif,system-ui;
  color: #92a57f;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(var(--compare-cols),minmax(0,1fr));
  gap: 12px;
}
.comparison-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 14px;
  background: #10150e;
}
.comparison-card>.eyebrow {
  font: 7px var(--mono);
  color: #a4b690;
  padding-right: 23px;
}
.comparison-card h3 {
  font: 24px/1.2 Georgia,serif;
  margin: 10px 20px 6px 0;
  letter-spacing: -.04em;
}
.comparison-direction {
  font-size: 9px;
  color: #9eab91;
  min-height: 24px;
}
.remove-compare {
  position: absolute;
  top: 9px;
  right: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  width: 25px;
  height: 25px;
  color: #bcccaa;
}
.compare-hero {
  font: 39px Georgia,serif;
  margin: 18px 0;
}
.compare-hero span {
  display: block;
  font: 8px var(--mono);
  color: #879b75;
  margin-top: 6px;
}
.comparison-facts {
  display: grid;
  gap: 9px;
  font-size: 10px;
  margin-bottom: 20px;
}
.comparison-facts span {
  display: flex;
  justify-content: space-between;
  color: #9dab8b;
}
.comparison-facts b {
  font: 10px var(--mono);
  color: #e4ecd9;
}
.compare-days {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}
.compare-days button {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  text-align: left;
  gap: 4px;
  align-items: center;
  background: #ffffff03;
  border: 1px solid var(--line);
  padding: 7px 8px;
  color: #cedbbd;
  border-radius: 3px;
  font: 9px var(--mono);
}
.compare-days small {
  font-size: 7px;
  color: #8da07b;
}
.small {
  font-size: 9px;
  line-height: 1.65;
  color: #8d9d7f;
}
.journal-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.journal-summary>span {
  font: 9px var(--mono);
  color: #9bad8b;
}
.journal-summary b {
  font: 23px Georgia,serif;
  color: #eef4e5;
  margin-right: 4px;
}
.journal-summary .action {
  margin-top: 0;
  padding: 8px;
  font-size: 9px;
}
.journal-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.section-label {
  font: 10px var(--mono);
  letter-spacing: .13em;
  color: #a4b890;
  margin: 16px 0;
}
.session-form {
  display: grid;
  gap: 14px;
}
.session-form>.primary-action {
  justify-content: center;
}
.form-row {
  display: flex;
  gap: 10px;
}
.form-row .form-field {
  flex: 1;
  min-width: 0;
}
.journal-item {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 9px;
}
.journal-item>button {
  background: none;
  border: 0;
  color: #8aa276;
  font-size: 18px;
  align-self: start;
}
.journal-item h4 {
  font: 19px Georgia,serif;
  margin: 0 0 6px;
}
.journal-item small {
  font: 8px var(--mono);
  color: #96a586;
}
.journal-item p {
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: #bdc9af;
  overflow-wrap: anywhere;
}
.empty-copy {
  font-size: 11px;
  line-height: 1.6;
  color: #8c9e7c;
}
.pin-editor {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  margin-top: 22px;
}
.pin-editor summary {
  cursor: pointer;
  font-size: 11px;
  color: #bac9aa;
}
.pin-editor form {
  display: grid;
  gap: 13px;
  margin-top: 15px;
}
.signals-time {
  font: 10px var(--mono);
  color: #9baa8b;
  padding: 9px 0 18px;
}
.signals-time b {
  color: #d7e3c6;
  margin-left: 15px;
}
.signal-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.signal-cards article {
  background: #111810;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}
.signal-cards article .eyebrow {
  font: 9px var(--mono);
  color: #bcd69f;
}
.signal-cards article>b {
  font: 48px Georgia,serif;
  display: block;
  margin: 15px 0 8px;
}
.signal-cards article>b small {
  font: 13px var(--mono);
  color: #7f9869;
}
.signal-cards p {
  font-size: 10px;
  line-height: 1.6;
  color: #97ad85;
}
.signal-meter {
  height: 2px;
  background: #ffffff0e;
  margin-top: 15px;
}
.signal-meter i {
  height: 100%;
  display: block;
  background: var(--accent);
}
.signal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.signal-actions button {
  margin-top: 0;
}
.connection-log {
  font: 10px/1.6 var(--mono);
  background: #ffffff02;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 15px;
  color: #b4b59a;
  max-height: 180px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.connection-log p {
  margin: 6px 0;
}
.method-columns {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 24px;
}
.method-columns h3 {
  font: 18px Georgia,serif;
  color: #d6e2c8;
}
.method-columns p {
  font-size: 10px;
  line-height: 1.7;
  color: #9db18b;
}
html[data-theme=classic] {
  --accent: #83e9d5;
  --amber: #dfb567;
  --cyan: #66f2dc;
  --gfs: #66f2dc;
  --ecmwf: #dfb567;
  --mfwam: #b9a4ff;
}
html[data-theme=classic] .sidebar {
  background: #08161a;
}
html[data-theme=classic] .detail,html[data-theme=classic] .conditions-panel {
  background: #0b1a1cf7;
}
html[data-theme=classic] .map-marker.left .marker-dot {
  color: var(--cyan)!important;
  border-color: var(--cyan)!important;
}
html[data-theme=classic] .map-marker.right .marker-dot {
  color: var(--amber)!important;
  border-color: var(--amber)!important;
}
html[data-theme=classic] .map-marker.both .marker-dot {
  color: #b9a4ff!important;
  border-color: #b9a4ff!important;
}
@media(min-width:931px) and (max-height:820px) {
  .brand {
    padding-top: 14px;
  }
  .title {
    font-size: 35px;
    margin-bottom: 7px;
  }
  .brand .subtitle {
    display: none;
  }
  .stats {
    margin-top: 8px;
  }
  .theme-switch {
    margin-top: 9px;
  }
  .workspace-launch {
    padding-bottom: 9px;
  }
  .workspace-launch button {
    min-height: 30px;
    padding: 6px 9px;
  }
  .controls {
    padding-top: 9px;
  }
  .search {
    min-height: 34px;
  }
  .refine-filters summary {
    padding: 7px 2px;
  }
}
@media(max-width:930px) {
  :root {
    --sidebar: 365px;
  }
  .sidebar {
    height: calc(100dvh - 16px);
    top: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 8px;
  }
  .brand .mobile-close {
    display: block;
  }
  .map-title-card {
    display: block;
    min-width: 0;
    width: min(265px,calc(100vw - 140px));
    padding: 10px 11px;
  }
  .map-title-card strong {
    font-size: 17px;
  }
  .map-title-card .eyebrow {
    font-size: 6px;
  }
  .map-title-card div {
    font-size: 8px;
  }
  .map-top {
    gap: 7px;
  }
  .mobile-menu,.mobile-plan {
    width: 38px;
    height: 38px;
    border-radius: 4px;
  }
  .mobile-plan {
    display: block;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 45px;
  }
  .detail,.conditions-panel {
    left: auto;
    top: 112px;
    bottom: 183px;
    right: 8px;
    width: min(540px,calc(100vw - 16px));
    height: auto;
    max-height: none;
    transform: translateX(calc(100% + 20px));
  }
  .detail.open {
    transform: none;
  }
  .conditions-panel {
    transform: none;
  }
  .time-strip {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  .compass-mark {
    left: 12%;
    bottom: 40%;
  }
  .offline-note {
    left: 20px;
    bottom: 46%;
    width: min(255px,calc(100% - 75px));
  }
  .attrib {
    max-width: 62%;
    bottom: 185px;
  }
  .coord {
    display: none;
  }
  #workspace {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }
  #workspaceContent {
    padding: 20px 22px 35px;
  }
  .planner-form {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .check-field {
    grid-column: span 2;
  }
  .scope-field {
    grid-column: span 2;
  }
  .planner-form .find-windows {
    grid-column: auto;
  }
  .workspace-hero h2 {
    font-size: 47px;
  }
  .hero-coordinate {
    margin-right: 32px;
  }
  .comparison-card h3 {
    font-size: 21px;
  }
  .compare-add {
    flex-wrap: wrap;
  }
  .compare-add .form-field {
    flex-basis: 100%;
  }
  .compare-time {
    flex-direction: column;
    gap: 4px;
  }
}
@media(max-width:600px) {
  .workspace-header {
    padding: 11px 15px;
  }
  .workspace-header>div {
    gap: 15px;
  }
  .workspace-tabs {
    padding: 0 10px;
  }
  .workspace-tabs button {
    font-size: 8px;
    padding: 13px 5px;
  }
  .workspace-tabs button span {
    margin-left: 1px;
    font-size: 7px;
  }
  #workspace {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
    border-radius: 8px;
  }
  #workspaceContent {
    padding: 17px 15px 30px;
  }
  .workspace-hero {
    padding: 7px 0 22px;
  }
  .workspace-hero h2 {
    font-size: 42px;
  }
  .workspace-hero p {
    font-size: 11px;
  }
  .workspace-hero .eyebrow {
    font-size: 7px;
  }
  .hero-coordinate {
    margin-right: 6px;
    margin-top: 9px;
  }
  .hero-coordinate b {
    font-size: 65px;
  }
  .hero-coordinate small {
    font-size: 6px;
  }
  .workspace-hero:after {
    width: 170px;
    height: 145px;
    opacity: .6;
  }
  .planner-form {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 15px;
  }
  .scope-field {
    grid-column: span 2;
  }
  .check-field {
    grid-column: span 2;
    line-height: 1.5;
  }
  .planner-form .find-windows {
    grid-column: span 2;
  }
  .planner-method {
    font-size: 9px;
  }
  .result-header {
    flex-direction: column;
    gap: 7px;
    line-height: 1.6;
  }
  .window-results {
    grid-template-columns: 1fr;
  }
  .window-card {
    padding: 15px;
  }
  .window-card h3 {
    font-size: 27px;
  }
  .window-time {
    font-size: 17px;
  }
  .workspace-heading h2 {
    font-size: 36px;
  }
  .workspace-heading p {
    font-size: 11px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .comparison-card {
    padding: 18px;
  }
  .comparison-card h3 {
    font-size: 27px;
  }
  .comparison-direction {
    min-height: 0;
  }
  .comparison-facts {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }
  .comparison-facts span {
    flex-direction: column;
    gap: 4px;
  }
  .comparison-card .forecast-chart {
    max-height: 185px;
  }
  .compare-days {
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: 3px;
  }
  .compare-days button {
    display: flex;
    flex-direction: column;
    padding: 7px 1px;
    gap: 6px;
    font-size: 7px;
  }
  .compare-days small {
    font-size: 6px;
  }
  .compare-add .action {
    font-size: 10px;
    padding: 8px 12px;
  }
  .journal-summary {
    gap: 12px;
  }
  .journal-summary>span {
    font-size: 8px;
  }
  .journal-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-row {
    flex-wrap: wrap;
  }
  .form-row .form-field {
    min-width: 110px;
  }
  .signal-cards {
    grid-template-columns: 1fr;
  }
  .signal-cards article {
    padding: 17px;
  }
  .signal-cards article>b {
    font-size: 37px;
    margin: 12px 0;
  }
  .method-columns {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .signals-time b {
    display: block;
    margin: 7px 0 0;
  }
  .signal-actions {
    gap: 6px;
  }
  .signal-actions .action {
    font-size: 9px;
  }
  .time-strip-head {
    font-size: 7px;
    gap: 5px;
  }
  .time-strip-head>div {
    gap: 5px;
  }
  .time-strip-head select {
    font-size: 9px;
    max-width: 65px;
  }
  .day-btn {
    padding: 8px 2px;
    min-height: 40px;
    text-align: center;
  }
  .day-btn span {
    font-size: 10px;
  }
  .day-btn small {
    font-size: 7px;
  }
  .day-bar {
    gap: 3px;
  }
  .hour-presets {
    gap: 2px;
  }
  .hour-presets button {
    padding: 2px 5px;
  }
  .hour-scrubber {
    gap: 6px;
  }
  .hour-scrubber>span {
    font-size: 8px;
    width: 52px;
  }
  .time-strip-foot {
    font-size: 7px;
    line-height: 1.5;
  }
  .layer-switch {
    bottom: 182px;
    left: 10px;
  }
  .scale {
    bottom: 220px;
    left: 13px;
  }
  .attrib {
    font-size: 6px;
    right: 9px;
    bottom: 183px;
    max-width: 51%;
  }
  .detail,.conditions-panel {
    top: 109px;
    bottom: 177px;
    width: calc(100vw - 12px);
    right: 6px;
    left: auto;
  }
  .detail h2 {
    font-size: 28px;
  }
  .detail-head {
    padding: 13px 14px 10px;
  }
  .detail-kicker {
    font-size: 7px;
  }
  .spot-toolbar {
    gap: 4px;
    margin-top: 10px;
  }
  .spot-toolbar button {
    font-size: 8px;
    padding: 6px;
    min-height: 28px;
  }
  .detail-nav button {
    font-size: 9px;
    padding: 8px;
  }
  .detail-body {
    padding: 12px;
  }
  .consensus-number strong {
    font-size: 34px;
  }
  .consensus-number label {
    font-size: 7px;
  }
  .consensus-number span {
    font-size: 7px;
  }
  .forecast-days {
    grid-template-columns: repeat(7,minmax(0,1fr));
  }
  .forecast-day span {
    font-size: 7px;
  }
  .forecast-day b {
    font-size: 10px;
  }
  .forecast-day small {
    font-size: 6px;
    line-height: 1.6;
  }
  .model-check {
    font-size: 7px;
  }
  .spot-conditions {
    grid-template-columns: 1fr 1fr;
  }
  .conditions-panel {
    z-index: 58;
  }
  .sun-context {
    gap: 7px;
    font-size: 7px;
  }
  .sun-context button {
    font-size: 7px;
  }
  .hour-table {
    font-size: 8px;
  }
  .hour-table th {
    font-size: 7px;
  }
  .hour-table td {
    padding: 8px 3px;
  }
  .conditions-head strong {
    font-size: 22px;
  }
  .compass-mark {
    bottom: 42%;
    left: 22%;
  }
  .compass-mark i {
    font-size: 90px;
  }
  .compass-mark small {
    font-size: 6px;
  }
  .map-actions {
    top: 101px;
    gap: 5px;
  }
  .map-actions button {
    width: 34px;
    min-height: 34px;
  }
  .zoom-control button {
    width: 35px;
    min-height: 35px;
  }
  .mobile-menu {
    font-size: 18px;
  }
  .map-title-card #networkBadge {
    font-size: 6px;
  }
  .theme-chip {
    min-height: 29px;
  }
  .spot-card {
    min-height: 62px;
  }
  .spot-name {
    font-size: 12px;
  }
  .spot-list {
    min-height: 100px;
  }
  .sidebar {
    overflow-y: auto;
  }
  .sidebar .brand,.sidebar .controls,.workspace-launch,.list-head,.sidebar-foot {
    flex-shrink: 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
.offline-note {
  pointer-events: auto;
}
.offline-note button {
  border: 1px solid var(--line2);
  background: transparent;
  color: var(--paper);
  padding: 7px 9px;
  margin: 7px 0 0 8px;
  border-radius: 4px;
  cursor: pointer;
}
/* Label overlap is resolved by placement, not opacity suppression (6.7.1). */
.map-marker:focus-visible .marker-label {
  opacity: 1!important;
}
.compare-time label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
}
.compare-time select {
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 7px;
  border-radius: 4px;
}
.detail {
  background: #0a0d0b;
}
.detail-expand {
  display: none;
}
@media(max-width:930px) {
  .detail-expand {
    display: block;
    position: absolute;
    top: 10px;
    right: 51px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--paper);
    height: 35px;
    width: 35px;
    border-radius: 4px;
    cursor: pointer;
  }
  .detail.expanded {
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    max-height: none;
    height: auto;
    z-index: 66;
  }
  .detail h2 {
    padding-right: 32px;
  }
  .detail-body {
    font-size: 13px;
  }
  .forecast-chart .chart-label {
    font-size: 15px;
  }
  .tide-chart .axis-label {
    font-size: 15px;
  }
  .tide-chart .event-label {
    font-size: 13px;
  }
}
@media(max-width:520px) {
  input,select,textarea,.form-field input,.form-field select,.form-field textarea {
    font-size: 16px!important;
  }
  .model-check {
    font-size: 11px;
  }
  .chart-caption,.review-note {
    font-size: 11px;
    line-height: 1.5;
  }
  .detail .section p {
    font-size: 13px;
    line-height: 1.55;
  }
  .hour-table td,.hour-table th {
    font-size: 10px;
  }
  .hour-presets button {
    min-height: 32px;
  }
  .hour-scrubber {
    gap: 7px;
  }
  #hourSelect {
    width: 78px;
  }
  #compareHour {
    width: 84px;
  }
  .planner-form {
    padding: 13px;
  }
  .planner-form .form-field {
    font-size: 10px;
  }
  .form-field input,.form-field select {
    padding: 10px 8px;
  }
  .model-check input[type=checkbox] {
    min-height: 14px;
  }
}

/* Swell Watch / restrained monochrome, amber only for saved and unread signals. */
.watch-hero{display:flex;justify-content:space-between;align-items:center;padding:18px 0 26px;gap:16px}.watch-hero h2{font:400 clamp(38px,5vw,60px)/.98 Georgia,serif;letter-spacing:-.045em;margin:15px 0}.watch-hero h2 span{color:var(--accent)}.watch-hero p{font-size:13px;line-height:1.65;color:var(--muted)}
.watch-emblem{position:relative;width:160px;height:160px;flex:0 0 160px;display:grid;place-content:center;border:1px solid #ffffff22;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 23px,#ffffff10 24px,transparent 25px 39px)}.watch-emblem:after,.watch-emblem:before{content:'';position:absolute;background:#ffffff15;left:50%;top:-15px;height:190px;width:1px}.watch-emblem:after{transform:rotate(90deg)}.watch-emblem i{display:grid;place-content:center;border:1px solid var(--accent);border-radius:50%;width:48px;height:48px;background:var(--ink);color:var(--accent);z-index:1}.watch-emblem svg{width:24px;height:24px}.watch-emblem small{position:absolute;bottom:-30px;width:100%;text-align:center;font:9px var(--mono);color:var(--muted);letter-spacing:.16em}.watch-emblem>span{position:absolute;right:12px;top:21px;background:var(--amber);height:6px;width:6px;border-radius:50%;box-shadow:0 0 18px #ffcf6633}
.watch-launch-row{display:flex;gap:5px;padding:0 13px 10px;border-bottom:1px solid var(--line)}.watch-launch-row button{font:10px var(--mono);padding:10px 9px;border:1px solid var(--line);background:#ffffff04;color:var(--paper);border-radius:4px;flex:1}.watch-launch-row button span{color:var(--amber);margin-left:5px}.watch-launch-row button:first-child{flex:1.7;text-align:left}.watch-status{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);background:#ffffff02;border-radius:5px;font-size:10px;color:var(--muted)}.watch-status>span{flex:1;line-height:1.5}.watch-status .action{padding:9px 12px}.watch-led{width:6px;height:6px;border-radius:50%;background:var(--amber);flex-shrink:0}.watch-led.connected{background:var(--cyan)}
.watch-tabs{display:flex;gap:5px;margin:17px 0 25px;border-bottom:1px solid var(--line);padding-bottom:8px}.watch-tabs button{background:none;color:var(--muted);border:1px solid transparent;border-radius:4px;padding:9px 14px;font-size:11px}.watch-tabs button.active{color:var(--paper);border-color:var(--line);background:#ffffff08}.watch-tabs span{color:var(--amber)}.watch-section-head{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:25px 0 14px}.watch-section-head h3{font:400 24px Georgia,serif;margin:8px 0}.watch-section-head .action{white-space:nowrap}.watch-explain{color:var(--muted);font-size:11px;line-height:1.7}.watch-explain b{color:var(--paper)}.watch-inline-form{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:15px 0}.watch-inline-form .form-field{flex:1;min-width:160px}.watch-inline-form select,.watch-inline-form input{min-height:39px}.watch-inline-form .primary-action,.watch-inline-form .action{min-height:39px}
.favorite-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0 30px}.favorite-tile{position:relative;padding:15px;border:1px solid var(--line);background:linear-gradient(120deg,#ffffff04,transparent);border-radius:5px;min-width:0}.favorite-tile .eyebrow{font-size:8px}.favorite-name{display:block;border:0;background:none;font:400 21px Georgia,serif;text-align:left;color:var(--paper);padding:9px 24px 5px 0;overflow-wrap:anywhere}.favorite-tile small{font-size:10px;color:var(--muted)}.favorite-remove{position:absolute;right:9px;top:16px;color:var(--amber);background:none;border:0;padding:6px;min-width:32px;min-height:32px}.favorite-actions{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.favorite-actions button{display:flex;gap:7px;align-items:center;background:none;color:var(--paper);border:0;font:9px var(--mono);padding:3px 0}.favorite-actions svg{width:12px;height:12px}.watch-empty{padding:25px 20px;border:1px dashed var(--line);border-radius:5px;grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.6}.watch-empty b{font:400 23px Georgia,serif;color:var(--paper)}.watch-empty p{max-width:540px;margin:9px 0 0}
.area-chips{display:flex;gap:7px;flex-wrap:wrap}.area-chips button{border:1px solid var(--line);background:#ffffff05;color:var(--paper);padding:9px 11px;font-size:11px;border-radius:4px}.area-chips span{font-size:11px;color:var(--muted)}.area-chips button span{margin-left:10px}.watch-next{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:30px 0 5px;padding:20px;border-left:2px solid var(--accent);background:#ffffff03}.watch-next p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.watch-next b{color:var(--paper)}
.watch-presets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 22px}.watch-presets>button{border:1px solid var(--line);background:#ffffff03;color:var(--paper);padding:18px;text-align:left;border-radius:5px}.watch-presets b{display:block;font:400 23px Georgia,serif}.watch-presets span{display:block;font-size:11px;color:var(--muted);margin-top:9px}.watch-presets>button:hover{border-color:var(--accent)}.watch-editor{border:1px solid var(--line2);border-radius:5px;background:#ffffff06;padding:20px;margin:20px 0}.watch-editor-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.watch-editor-head button{font-size:25px}.watch-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.watch-wide{grid-column:1/-1}.watch-models{border:1px solid var(--line);padding:12px;display:flex;gap:16px;flex-wrap:wrap}.watch-models legend{font:9px var(--mono);color:var(--muted);padding:0 6px}.watch-models label{display:flex;align-items:center;gap:6px;font-size:10px}.watch-models input{width:15px;height:15px}.watch-form-grid .check-field{margin:0;display:flex;align-items:center}.watch-rule-list{display:grid;gap:12px}.watch-rule{border:1px solid var(--line);border-left:2px solid var(--accent);background:#ffffff02;border-radius:4px;padding:17px}.watch-rule.muted-rule{border-left-color:var(--muted)}.watch-rule-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.watch-rule-top .eyebrow{font-size:8px;line-height:1.5}.watch-enable{display:flex;align-items:center;gap:5px;font:10px var(--mono);flex-shrink:0}.watch-rule h3{font:400 23px Georgia,serif;margin:12px 0 7px}.watch-rule p{font-size:12px;margin:7px 0;color:var(--paper)}.watch-rule-meta{color:var(--muted);font-size:10px;line-height:1.75}.watch-rule-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.watch-method{padding:17px 0;border-top:1px solid var(--line);margin-top:23px;color:var(--muted);font-size:10px;line-height:1.75}.watch-method b{color:var(--paper)}.watch-error{font-size:11px;line-height:1.5;color:var(--coral)}.watch-error:empty{display:none}
.inbox-card{padding:20px;border:1px solid var(--line);margin:12px 0;border-radius:5px}.inbox-card.unread{border-left:2px solid var(--amber);background:linear-gradient(110deg,#ffcf6606,transparent)}.inbox-meta{display:flex;justify-content:space-between;gap:10px;font:8px var(--mono);color:var(--muted)}.unread .inbox-meta>span{color:var(--amber)}.inbox-card h3{font:400 23px Georgia,serif;margin:15px 0 8px}.inbox-card p{font-size:12px;line-height:1.7;color:var(--muted)}.watch-coverage{margin-top:20px;font-size:11px;color:var(--muted)}.watch-coverage summary{cursor:pointer;padding:12px 0}.delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 20px}.delivery-card{border:1px solid var(--line);border-radius:5px;padding:18px}.delivery-number{font:9px var(--mono);color:var(--accent)}.delivery-card h3{font:400 23px Georgia,serif;margin:10px 0}.delivery-card p{color:var(--muted);font-size:11px;line-height:1.7}.delivery-card>b{font:9px var(--mono);color:var(--accent)}.push-setup{padding:18px;border:1px solid var(--line);border-radius:5px}.push-setup h3,.watch-quiet h3{font:400 24px Georgia,serif;margin:0 0 10px}.watch-service-line{display:flex;align-items:center;gap:10px;justify-content:space-between;font:10px var(--mono);color:var(--muted);border-block:1px solid var(--line);padding:10px 0;margin:16px 0}.watch-connect{display:grid;gap:14px}.watch-quiet{padding:25px 0}.watch-quiet .eyebrow{font-size:8px}.watch-quiet h3{margin-top:10px}.watch-quiet .watch-form-grid{grid-template-columns:1.5fr 1fr 1fr auto;gap:12px;align-items:end}.watch-quiet .check-field{min-height:38px}
#watchBell{position:relative;display:grid;place-content:center}#watchBell>span{position:absolute;top:-4px;right:-4px;border-radius:8px;color:var(--ink);background:var(--amber);font:8px var(--mono);padding:2px 4px;min-width:13px}#watchBell>span:not(.has-unread){display:none}.spot-row{display:flex;align-items:center;position:relative}.spot-row .spot-card{flex:1;min-width:0;width:calc(100% - 27px)}.catalog-star{width:27px;min-height:39px;flex-shrink:0;border:0;background:none;font-size:17px;color:var(--muted);padding:0}.catalog-star.on{color:var(--amber)}.spot-toolbar #quickWatch{color:var(--accent)}
@media(max-width:700px){.watch-emblem{width:104px;height:104px;flex-basis:104px;margin-right:10px}.watch-emblem:before,.watch-emblem:after{height:128px;top:-12px}.watch-emblem small{font-size:7px;bottom:-25px}.watch-hero{padding-top:8px}.watch-hero h2{font-size:40px}.watch-hero p{font-size:11px}.watch-tabs{gap:0}.watch-tabs button{flex:1;padding:10px 7px;font-size:10px}.watch-tabs span{margin-left:2px}.watch-section-head h3{font-size:22px}.favorite-grid{grid-template-columns:1fr}.watch-inline-form .form-field{min-width:140px}.watch-section-head{align-items:start}.watch-presets{grid-template-columns:1fr}.watch-presets>button{padding:15px}.watch-presets b{font-size:21px}.watch-form-grid{gap:12px}.watch-editor{padding:15px}.watch-quiet .watch-form-grid{grid-template-columns:1fr 1fr}.delivery-grid{grid-template-columns:1fr}.watch-next{padding:15px;align-items:start;flex-direction:column}.inbox-meta{flex-direction:column;gap:7px}.watch-status .action{font-size:9px;white-space:nowrap}.watch-service-line{align-items:start;flex-direction:column}.watch-launch-row{padding-bottom:8px}.workspace-tabs{overflow-x:auto;flex-shrink:0}.workspace-tabs button{white-space:nowrap;padding-left:8px;padding-right:8px;min-width:fit-content}}
@media(prefers-reduced-motion:reduce){.watch-emblem *{animation:none!important}}
/* Keep watch navigation accessible while long rule forms scroll. */
.watch-tabs{position:sticky;top:-1px;z-index:3;background:var(--ink);padding-top:6px;padding-bottom:6px}
@media(max-width:480px){.watch-inline-form{grid-template-columns:1fr}.watch-inline-form .form-field{min-width:0;width:100%}.watch-inline-form button{justify-self:start}.watch-section-head{align-items:flex-start}.watch-form-grid select{font-size:14px}}

/* PureSurfers: engraved nautical details, not a bulky theme framework. */
.puresurf-brand.title{font-family:Georgia,'Times New Roman',serif;font-size:36px!important;letter-spacing:-1.6px;line-height:1.02;font-weight:500;white-space:nowrap;margin:10px 0 5px}
.domain-tail{font:400 17px ui-monospace,SFMono-Regular,monospace;letter-spacing:-.6px;color:var(--muted);margin-left:2px}
.product-name{font-size:10px;text-transform:uppercase;letter-spacing:.25em;font-weight:650;color:var(--paper);margin-bottom:12px}
.search-options{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;justify-content:space-between;font-size:9px;line-height:1.5;color:var(--muted);margin:7px 0 3px}
.search-options span{flex:1 1 160px}.search-options label{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:9px;cursor:pointer;min-height:25px}.search-options input{accent-color:#d8ebe2;width:12px;height:12px;margin:0}.search-options .no-match{color:#ffaf96}
.global-search-active .presets,.global-search-active .refine-filters,.global-search-active>.filter-grid{opacity:.72}.global-search-active .presets:hover,.global-search-active .refine-filters:hover,.global-search-active>.filter-grid:hover{opacity:1}
#nauticalCompass{position:absolute;left:7%;bottom:30%;width:190px;height:214px;color:#eff4ed;z-index:3;pointer-events:none;user-select:none;opacity:.8;filter:drop-shadow(0 2px 9px #0009)}
#nauticalCompass[hidden]{display:none}#nauticalCompass svg{display:block;width:100%;height:100%;overflow:visible}
#toggleCompass{display:grid;place-items:center}#toggleCompass.active{color:#d6eae2;border-color:#d6eae250;background:#182421cc}
.review-heading{display:flex;justify-content:space-between;gap:10px;font:9px ui-monospace,SFMono-Regular,monospace;letter-spacing:.03em;color:#b9d3c6;line-height:1.5}
.location-review{border:1px solid var(--line);padding:12px;margin:12px 0;background:#17201b26}.location-review p{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0}.location-review small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:9px}.review-links{display:grid;gap:7px;margin:9px 0}.review-links a{font-size:10px;color:var(--paper)}
.pin-placement{position:absolute;left:14px;top:100px;z-index:55;width:280px;padding:15px;border-radius:7px}.pin-placement[hidden]{display:none}.pin-placement strong{display:block;font-family:Georgia,serif;font-size:21px;margin-top:6px}.pin-placement p{font-size:11px;line-height:1.6;color:var(--muted)}.pin-placement code{display:block;font-size:11px;margin:9px 0;color:#c9e4d7}.pin-placement input{width:100%;border:1px solid var(--line);padding:8px;background:#0008;color:var(--paper);font-size:11px;border-radius:3px;margin-bottom:6px}
.pin-reticle{display:none;position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%);border:1px solid #e8eee4;border-radius:50%;z-index:18;pointer-events:none;box-shadow:0 0 0 7px #0006}.pin-reticle:before,.pin-reticle:after{content:'';position:absolute;background:#f5f9f0;box-shadow:0 0 2px #000}.pin-reticle:before{height:1px;width:62px;top:19px;left:-12px}.pin-reticle:after{width:1px;height:62px;left:19px;top:-12px}.pin-reticle span{position:absolute;width:5px;height:5px;border-radius:50%;background:#ff9375;top:17px;left:17px;z-index:2}.placing-pin .pin-reticle{display:block}.placing-pin #nauticalCompass{opacity:.25}
.size-link{display:block;margin-top:10px;font-size:10px;color:#c8e1d5;text-align:left;background:transparent;border:0;border-bottom:1px dotted #c8e1d560;cursor:pointer;padding:3px 0}
.size-explainer{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.size-explainer h3{font:25px Georgia,serif!important;color:var(--paper);letter-spacing:-.4px!important;text-transform:none!important;margin:6px 0 12px}.size-explainer>p{font-size:11px;line-height:1.7;color:var(--muted)}
.calculation-card{border:1px solid var(--line);padding:12px;margin:10px 0;background:#ffffff03}.calculation-card header{display:flex;justify-content:space-between;font-size:10px;gap:10px;color:#dae9df}.calculation-flow{display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:10px}.calculation-flow strong{display:block;font:24px Georgia,serif;color:#f1f3ed}.calculation-flow span{display:block;font-size:8px;color:var(--muted);line-height:1.4;margin-top:5px}.calculation-flow i{font-style:normal;color:var(--muted)}.calculation-card p{font-size:9px;line-height:1.6;color:var(--muted)}.calculation-table-wrap{overflow-x:auto}.calculation-card table{border-collapse:collapse;width:100%;font-size:8px;line-height:1.5;min-width:365px}.calculation-card th{text-align:left;color:#adb9b2;font-weight:500}.calculation-card th,.calculation-card td{padding:7px 5px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.calculation-card td{color:var(--paper)}.calculation-card .calculation-warning{border-left:2px solid #e4b686;padding-left:8px;color:#e4b686}.calculation-formula{border:1px dashed var(--line);padding:12px;font:10px/1.6 ui-monospace,monospace!important}
@media(max-width:930px){#nauticalCompass{width:156px;height:176px;left:8%;bottom:38%}.pin-placement{left:8px;top:65px;width:min(265px,calc(100% - 60px));padding:12px}}
@media(max-width:520px){.puresurf-brand.title{font-size:31px!important}.domain-tail{font-size:15px}.product-name{font-size:9px;margin-bottom:8px}#nauticalCompass{width:134px;height:150px;bottom:38%;left:8%}.map-actions{gap:4px!important;top:100px!important}.map-actions button{min-height:32px!important;height:32px!important}.pin-placement{top:60px;padding:10px;width:230px}.pin-placement strong{font-size:18px}.pin-placement p{margin:6px 0}.pin-placement .eyebrow{font-size:7px}.search-options{font-size:8px}.review-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#nauticalCompass{transition:none}}

@media(max-width:930px){.map-shell:has(#detail.open) .map-title-card{display:none}.detail:not(.expanded){max-height:calc(100dvh - 285px)}}

/* PureSurfers 6.3 — a small coastal almanac, not another dashboard. */
.spot-current-weather{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:-6px 0 15px}
.spot-current-weather .spot-condition{min-width:0;position:relative}
.spot-current-weather .spot-condition strong{font-size:17px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--paper)}
.spot-current-weather .water{border-top-color:rgba(139,223,210,.45)}
.spot-current-weather .sky{border-top-color:rgba(236,211,163,.35)}
.wx-inline-icon{display:inline-flex;vertical-align:middle;margin-left:6px;width:23px;color:var(--muted)}
.wx-inline-icon svg{width:100%;height:auto}
#conditionsPanel .conditions-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
#conditionsPanel.weather-open{width:min(460px,calc(100% - 32px));max-height:min(81vh,850px)}
#conditionsPanel.weather-open .conditions-head strong{font-size:18px}
#weatherConditions{scrollbar-width:thin}
.wx-toolbar{display:flex;gap:6px;align-items:center;margin-bottom:12px}
.wx-toolbar select{min-width:0;flex:1;width:100%;border:1px solid var(--line);color:var(--paper);background:var(--ink2);font-size:11px;padding:10px 8px;border-radius:5px}
.wx-unit{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.wx-unit button,#refreshWeather{background:transparent;color:var(--muted);border:0;font-size:11px;min-height:37px;min-width:33px;cursor:pointer}
.wx-unit button.active{background:var(--paper);color:var(--ink)}
#refreshWeather{border:1px solid var(--line);border-radius:5px;font-size:18px}
#refreshWeather:disabled{opacity:.45;cursor:wait}
.wx-location{margin:3px 0 13px}
.wx-location h3{font-family:Georgia,serif;font-size:23px;line-height:1.08;font-weight:400;letter-spacing:-.015em;margin:0 0 6px}
.wx-location p{font-size:9px;color:var(--muted);line-height:1.6;margin:0}
.wx-heroes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}
.wx-hero{padding:14px 12px 11px;background:rgba(255,255,255,.022);border:1px solid var(--line);border-radius:8px;min-width:0}
.wx-overline{font:8px ui-monospace,monospace;letter-spacing:.17em;color:var(--muted)}
.wx-hero-value{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:38px;line-height:1.1;letter-spacing:-.055em;font-weight:450;margin:9px 0 7px;font-variant-numeric:tabular-nums}
.wx-hero-value span{width:32px;flex:0 0 32px;display:inline-flex}
.wx-air .wx-hero-value span{color:var(--amber)}
.wx-sea .wx-hero-value span{color:var(--cyan)}
.wx-hero b{font-size:11px;line-height:1.3;font-weight:550;display:block}
.wx-hero p{font-size:9px;color:var(--muted);line-height:1.5;margin:4px 0 0}
.wx-metrics{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:7px;overflow:hidden}
.wx-metrics>div{padding:11px 10px;min-width:0;border-bottom:1px solid var(--line)}
.wx-metrics>div:nth-child(odd){border-right:1px solid var(--line)}
.wx-metrics>div:nth-last-child(-n+2){border-bottom:0}
.wx-metrics label{display:block;font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
.wx-metrics strong{display:block;font-size:12px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}
.wx-metrics span{display:block;color:var(--muted);font-size:8px;line-height:1.5;margin-top:3px}
.wx-hours,.wx-provenance{border-top:1px solid var(--line);margin-top:14px;padding-top:11px}
.wx-hours summary,.wx-provenance summary{font-size:10px;font-weight:600;cursor:pointer;line-height:1.5}
.wx-provenance p,.wx-hours p{font-size:9px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.wx-provenance a,.wx-observed a{color:var(--paper);font-size:9px;text-underline-offset:3px}
.wx-hour-scroll{overflow-x:auto;margin-top:10px}
.wx-hour-scroll table{border-collapse:collapse;width:100%;font-size:9px}
.wx-hour-scroll th{font-weight:500;text-align:left;color:var(--muted)}
.wx-hour-scroll td,.wx-hour-scroll th{padding:8px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.wx-hour-scroll th:first-child{padding-left:0}
.wx-hour-scroll td:nth-child(2){white-space:normal;min-width:67px}
.wx-observed{border-left:2px solid var(--cyan);background:rgba(255,255,255,.015);padding:11px;margin-top:15px}
.wx-source-tag{display:block;font:8px ui-monospace,monospace;letter-spacing:.12em;color:var(--cyan);margin-bottom:10px}
.wx-observed>div{display:flex;align-items:center;gap:12px}
.wx-observed strong{font-size:25px;white-space:nowrap;font-weight:450;letter-spacing:-.04em}
.wx-observed div>span{font-size:9px;line-height:1.5;color:var(--muted)}
.wx-observed p,.wx-reference-empty{font-size:9px;line-height:1.6;color:var(--muted);margin:10px 0 6px}
.wx-error{border:1px dashed var(--line2);border-left:2px solid var(--coral);padding:9px;color:var(--muted);font-size:9px;line-height:1.6;margin-top:12px;overflow-wrap:anywhere}
#weatherToggle svg{width:21px;height:21px;vertical-align:middle}
#weatherToggle.active{color:var(--cyan);border-color:var(--cyan)}
@media(max-width:930px){#conditionsPanel.weather-open{width:auto;left:10px;right:10px;max-height:78dvh;bottom:142px;z-index:58}}
@media(max-width:520px){#conditionsPanel.weather-open{bottom:139px;left:6px;right:6px;max-height:calc(100dvh - 155px)}.wx-hero-value{font-size:33px}.wx-location h3{font-size:22px}.wx-toolbar select{font-size:10px}.wx-metrics strong{font-size:11px}.wx-hero{padding:12px 10px}.wx-heroes{gap:6px}.wx-hero-value span{width:28px;flex-basis:28px}}
@media(max-height:640px){#conditionsPanel.weather-open{top:8px;bottom:132px;max-height:calc(100dvh - 140px)}}

/* MY COAST / ACCOUNT — white ink, quiet mint, no blocking onboarding. */
.account-strip{border-bottom:1px solid var(--line);padding:8px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:rgba(255,255,255,.02)}
.account-strip button{border:0;background:none;color:var(--paper);font-size:11px;font-weight:750;cursor:pointer;padding:6px 0;text-align:left}
#accountSyncBadge{font-size:9px;color:var(--muted);text-align:right;max-width:125px}#accountSyncBadge[data-state=ok]{color:var(--cyan)}#accountSyncBadge[data-state=error],#accountSyncBadge[data-state=pending]{color:var(--amber)}
.account-capture{padding:10px 14px;border:0;border-top:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--muted);font-size:10px;line-height:1.4;text-align:left;cursor:pointer;flex-shrink:0}
.account-capture:hover{color:var(--paper);background:rgba(255,255,255,.06)}
#accountDialog{width:min(580px,calc(100% - 28px));max-height:calc(100dvh - 36px);padding:0;border:1px solid rgba(255,255,255,.23);border-radius:18px;background:#0b0e0e;color:var(--paper);box-shadow:0 24px 100px #000a;overflow:hidden}
#accountDialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(6px)}
.account-header{padding:15px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.account-header strong{font-size:11px;letter-spacing:.13em;text-transform:uppercase}.account-header button{width:36px;height:36px;border:1px solid var(--line);background:none;border-radius:50%;font-size:22px;color:var(--paper);cursor:pointer}
#accountContent{max-height:calc(100dvh - 114px);overflow:auto;padding:28px 32px 24px;scrollbar-width:thin}
.account-heading h2{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.05;letter-spacing:-.03em;margin:12px 0 15px}.account-heading h2 span{color:var(--cyan)}.account-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 20px}.account-heading .account-email{font-family:ui-monospace,monospace;word-break:break-all;color:var(--paper);font-size:12px}
.account-benefits{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 23px}.account-benefits span{font-size:10px;border:1px solid var(--line);border-radius:40px;padding:7px 9px;color:#bcc8c3}
.account-form{display:grid;gap:15px}.account-form>label:not(.account-check){display:grid;gap:8px;font-size:11px;color:var(--muted)}.account-form input[type=email],.account-form input[type=text]{width:100%;border:1px solid var(--line2);border-radius:9px;padding:14px;font-size:16px;background:#121717;color:var(--paper);outline:none}.account-form input:focus{border-color:var(--cyan);box-shadow:0 0 0 2px #8ff7e612}
.account-form .primary-action,.account-actions .primary-action{min-height:45px;font-size:12px}.account-check{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-size:11px;color:var(--muted)}.account-check input{margin:3px 0 0;accent-color:var(--cyan);width:16px;height:16px;flex-shrink:0}
#accountCode{text-align:center;font:26px ui-monospace,monospace;letter-spacing:.24em}
.account-small{font-size:11px;color:var(--muted);line-height:1.6;margin:15px 0}.account-secondary{display:flex;justify-content:space-between;margin-top:14px}.account-secondary button{font-size:11px;color:var(--muted);text-decoration:underline}
.account-privacy{border-top:1px solid var(--line);padding-top:13px;margin-top:18px;font-size:11px;color:var(--muted);line-height:1.6}.account-privacy summary{cursor:pointer;color:var(--paper)}.account-browse{display:block;width:100%;border:0;background:none;color:var(--muted);font-size:11px;padding:18px 0 0;cursor:pointer}
.account-notice{padding:12px;border:1px solid #8ff7e638;background:#8ff7e608;border-radius:8px;font-size:12px;line-height:1.5;color:var(--paper)}.account-notice.error{border-color:#ff7f7455;background:#ff7f7410}.account-notice.setup{border-color:#ffcf6644;background:#ffcf6608;color:#e5d4ad}
.account-sync-card{display:flex;align-items:center;justify-content:space-between;padding:15px;border:1px solid var(--line2);border-radius:10px;gap:14px}.account-sync-card span{font-size:8px;letter-spacing:.15em;color:var(--muted);display:block}.account-sync-card strong{font-size:24px;font-family:Georgia,serif;display:block;margin:5px 0}.account-sync-card small{display:block;font-size:10px;color:var(--muted);line-height:1.5}.account-sync-card .action{white-space:nowrap}
.account-import{padding:15px;margin:16px 0;border:1px dashed var(--line2);border-radius:9px;font-size:11px}.account-import p{color:var(--muted);line-height:1.5}.account-import button{width:100%}
.account-favorite-list{max-height:210px;overflow:auto;margin:18px 0}.account-favorite-list>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.account-favorite-list button{background:none;border:0;text-align:left;color:var(--paper);padding:12px 0;cursor:pointer}.account-favorite-list button[data-account-remove]{color:var(--amber);padding:12px;font-size:16px}.account-favorite-list b{display:block;font-size:12px}.account-favorite-list small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.account-favorite-list>p{font-size:12px;color:var(--muted);line-height:1.6}
.account-email-settings{border-top:1px solid var(--line);padding-top:10px}.account-email-settings h3{font-size:12px;font-weight:600}.account-email-settings p{font-size:10px;line-height:1.5;color:var(--muted)}.account-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:23px}
#accountDialog button:disabled{opacity:.5;cursor:not-allowed}#accountDialog button:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:600px){#accountDialog{width:calc(100% - 12px);max-height:calc(100dvh - 14px);border-radius:14px}.account-header{padding:11px 18px}#accountContent{padding:23px 22px;max-height:calc(100dvh - 84px)}.account-heading h2{font-size:34px}.account-benefits{gap:5px}.account-benefits span{font-size:9px}.account-strip{padding:5px 14px}}

/* My signals — same white-on-black instrument language, not another dashboard. */
.account-alert-launch{display:flex;align-items:center;justify-content:space-between;margin:0 15px 9px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.025);color:var(--paper);font-size:11px;cursor:pointer}.account-alert-launch small{color:var(--muted);font-size:9px}
#accountAlertsDialog{padding:0;border:1px solid var(--line2);border-radius:18px;background:#090d0d;color:var(--paper);width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:hidden;box-shadow:0 30px 100px #000a}
#accountAlertsDialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.aa-header{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;border-bottom:1px solid var(--line)}.aa-header strong{font-size:10px;letter-spacing:.16em}.aa-header button{background:transparent;border:0;color:inherit;font-size:24px;width:36px;height:36px;cursor:pointer}
#aaContent{max-height:calc(100dvh - 123px);overflow:auto;padding:25px 28px 32px;scrollbar-width:thin}
.aa-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.aa-hero h2{font:36px/1.03 Georgia,serif;letter-spacing:-.03em;margin:10px 0}.aa-hero h2 span{color:var(--cyan)}.aa-hero p,.aa-note{font-size:11px;line-height:1.65;color:var(--muted)}.aa-rose{width:95px;height:95px;border:1px solid var(--line2);border-radius:50%;display:grid;place-items:center;flex:none;position:relative;font:40px Georgia;color:var(--cyan)}.aa-rose:after{position:absolute;content:'';inset:8px;border:1px dashed var(--line2);border-radius:50%}
.aa-status{border:1px solid var(--line);padding:11px 13px;border-radius:9px;font-size:10px;line-height:1.5;color:var(--muted);margin:13px 0}.aa-status b{color:var(--paper)}.aa-error{border-color:#ff7f7455;color:#f6b1a9}.aa-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:18px 0 20px;padding-bottom:9px}.aa-tabs button{background:none;color:var(--muted);border:1px solid transparent;border-radius:7px;padding:9px 12px;font-size:11px;cursor:pointer}.aa-tabs button.active{border-color:var(--line2);color:var(--paper);background:#ffffff08}
.aa-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.aa-row .action,.aa-row .primary-action{font-size:11px;padding:10px 13px}.aa-list{display:grid;gap:10px;margin:16px 0}.aa-rule{border:1px solid var(--line);padding:16px;border-radius:11px;background:linear-gradient(115deg,#ffffff04,transparent)}.aa-rule h3{font:20px Georgia;margin:8px 0}.aa-rule p{font-size:11px;line-height:1.6;color:var(--muted);margin:7px 0 14px}.aa-kicker{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.1em;color:var(--cyan);text-transform:uppercase}.aa-kicker .off{color:var(--muted)}
.aa-form{display:grid;gap:14px}.aa-form label{display:grid;gap:6px;font-size:10px;color:var(--muted)}.aa-form input:not([type=checkbox]),.aa-form select{width:100%;min-width:0;padding:11px;border:1px solid var(--line2);border-radius:7px;background:#111717;color:var(--paper);outline:none}.aa-form :focus-visible,.aa-row button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.aa-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.aa-form .aa-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.6;color:var(--paper)}.aa-check input{margin-top:4px;accent-color:var(--cyan)}.aa-spots{display:grid;gap:7px;max-height:215px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:8px}.aa-spots .aa-check{justify-content:flex-start;padding:6px}.aa-spots small{display:block;color:var(--muted);font-size:9px}.aa-scope-note{font-size:10px;color:var(--muted)}.aa-small{font-size:10px;color:var(--muted);line-height:1.65}.aa-devices{margin-top:18px}.aa-device{display:flex;justify-content:space-between;align-items:center;padding:10px;border-top:1px solid var(--line);font-size:11px}.aa-inbox time{font-size:9px;color:var(--muted)}.aa-inbox.unread{border-left:2px solid var(--cyan)}.aa-empty{padding:28px 18px;border:1px dashed var(--line2);border-radius:12px;text-align:center;font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:600px){#accountAlertsDialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:13px}#aaContent{padding:18px 16px 28px;max-height:calc(100dvh - 84px)}.aa-header{padding:11px 16px}.aa-hero h2{font-size:30px}.aa-rose{width:69px;height:69px;font-size:28px}.aa-tabs{gap:1px}.aa-tabs button{flex:1;padding:9px 5px}.aa-grid{gap:10px}.aa-rule{padding:13px}.aa-row .action{padding:10px;font-size:10px}.aa-form input,.aa-form select{font-size:16px}.account-alert-launch{margin-bottom:8px}}

/* 6.6 / source-linked coastal cameras. Amber lens marks; no video payloads. */
.camera-toggle{height:42px;display:flex;align-items:center;gap:7px;padding:0 11px;border-radius:5px;color:var(--paper);cursor:pointer;white-space:nowrap;font-size:11px;letter-spacing:.04em}
.camera-toggle small{font:9px ui-monospace,monospace;color:var(--muted)}
.camera-toggle.active{color:#f0ca82;border-color:#f0ca8270;background:#171510ed}
.camera-toggle:focus-visible,.camera-marker:focus-visible,.camera-row:focus-visible,.camera-panel button:focus-visible,.camera-panel a:focus-visible{outline:2px solid #f0ca82;outline-offset:3px}
.camera-pane{position:absolute;inset:0;z-index:9;pointer-events:none}
.camera-pane[hidden],.camera-status[hidden],.camera-panel[hidden],.camera-panel [hidden]{display:none!important}
.camera-marker{position:absolute;transform:translate(-50%,-50%);width:33px;height:33px;background:#11100fed;border:1px solid #f0ca829e;color:#f0ca82;border-radius:6px;box-shadow:0 3px 13px #0009;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto;padding:0;z-index:1}
.camera-marker:hover,.camera-marker:focus-visible,.camera-marker.selected{background:#2a2416;border-color:#ffdfa4;z-index:8;box-shadow:0 0 0 4px #f0ca8214,0 3px 16px #0009}
.camera-marker.is-still{border-style:dashed;color:#e1e2e0;border-color:#dadcd6}
.camera-marker.is-cluster{width:40px;height:34px;gap:2px}
.camera-marker.is-cluster svg{width:16px}
.camera-marker b{font:700 10px ui-monospace,monospace}
.camera-marker-label{position:absolute;left:50%;top:39px;transform:translateX(-50%);font:10px ui-sans-serif,system-ui,sans-serif;white-space:nowrap;max-width:225px;overflow:hidden;text-overflow:ellipsis;background:#10110ff5;color:#efdfc1;border:1px solid #f0ca823b;border-radius:3px;padding:4px 6px;pointer-events:none;opacity:0}
.camera-marker.show-label .camera-marker-label,.camera-marker:hover .camera-marker-label,.camera-marker:focus-visible .camera-marker-label{opacity:1}
.camera-status{position:absolute;top:128px;left:16px;z-index:21;border-radius:5px;display:flex;align-items:center;gap:10px;padding:8px 10px;max-width:calc(100% - 86px)}
.camera-status span{font:9px ui-monospace,monospace;color:#bdb6a9}
.camera-status button{border:0;background:transparent;color:#f0ca82;font-size:10px;cursor:pointer;padding:3px}
.camera-panel{position:absolute;right:14px;top:14px;bottom:177px;z-index:52;width:min(414px,calc(100% - 28px));border-radius:8px;background:#0b0e0ff7;display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8c8a438;color:#efefe9;touch-action:pan-y}
.camera-panel-head{padding:17px 17px 13px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid #ffffff18;flex:0 0 auto}
.camera-eyebrow{font:8px ui-monospace,monospace;letter-spacing:.15em;color:#f0ca82;text-transform:uppercase;display:block}
.camera-panel h2{font:26px/1.05 Georgia,serif;letter-spacing:-.035em;margin:7px 0 0;max-width:280px;outline:none}
.camera-panel-head button{width:34px;height:34px;flex:0 0 auto;border:1px solid #ffffff1c;background:#ffffff05;color:#f1f1e9;border-radius:4px;cursor:pointer;font-size:18px}
.camera-panel-actions{display:flex;gap:6px}
.camera-clock{font-size:10px;line-height:1.5;color:#bab7ab;background:#f0ca8205;border-bottom:1px solid #ffffff13;padding:10px 17px;margin:0;flex:0 0 auto}
.camera-directory{display:flex;flex-direction:column;min-height:0;flex:1}
.camera-searchbox{display:grid;grid-template-columns:1fr auto;margin:13px 14px 8px;border:1px solid #ffffff25;border-radius:4px;background:#ffffff04}
.camera-searchbox input{min-width:0;width:100%;padding:10px;color:#f5f5ed;border:0;background:transparent;font-size:12px;outline:none}
.camera-searchbox:focus-within{border-color:#f0ca82}
.camera-searchbox button{background:none;border:0;color:#bdbdb5;padding:0 10px;cursor:pointer;font-size:18px}
.camera-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 14px}
.camera-filters label{display:block;font:8px ui-monospace,monospace;color:#aaa99e;text-transform:uppercase;letter-spacing:.08em}
.camera-filters select{width:100%;border:1px solid #ffffff22;border-radius:4px;background:#141616;color:#e6e6df;font:11px ui-sans-serif,system-ui,sans-serif;padding:8px 5px;margin-top:5px;min-height:34px}
.camera-access-filter{grid-column:1/-1}
.camera-scope-note{font-size:9px;line-height:1.5;color:#aaa89f;margin:10px 15px 7px}
.camera-list-head{display:flex;justify-content:space-between;align-items:center;margin:0 15px;padding-bottom:7px;border-bottom:1px solid #ffffff15;font:9px ui-monospace,monospace;color:#b6b3a8}
.camera-list-head button{border:0;background:none;color:#f0ca82;font:10px ui-sans-serif,system-ui,sans-serif;cursor:pointer;padding:4px}
.camera-list{overflow:auto;min-height:0;flex:1;padding:6px 8px 10px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent;overscroll-behavior:contain}
.camera-row{width:100%;display:grid;grid-template-columns:35px minmax(0,1fr) 15px;align-items:center;gap:10px;text-align:left;color:#edeee6;padding:11px 7px;border:0;border-bottom:1px solid #ffffff0d;background:transparent;border-radius:4px;cursor:pointer;min-height:69px}
.camera-row:hover{background:#f0ca820b}
.camera-row-icon{display:grid;place-items:center;border:1px solid #f0ca8266;border-radius:5px;color:#f0ca82;height:33px;width:33px}
.camera-row-icon.still{border-style:dashed;border-color:#e0e0d670;color:#e0e0d6}
.camera-row strong{font-size:12px;font-weight:650;display:block;line-height:1.35}
.camera-row small,.camera-row em{display:block;font-size:9px;font-style:normal;color:#aaa99f;line-height:1.4;margin-top:3px}
.camera-row em{font-size:8px;color:#c7b183}
.camera-details{padding:16px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;scrollbar-width:thin}
.camera-plate{display:flex;align-items:center;gap:15px;padding:18px 12px;border:1px solid #f0ca8230;border-radius:6px;background:linear-gradient(125deg,#f0ca820b,transparent);margin-bottom:13px}
.camera-plate-icon{width:51px;height:51px;border:1px solid #f0ca8250;border-radius:50%;display:grid;place-items:center;color:#f0ca82;flex:0 0 auto}
.camera-plate-icon svg{height:27px;width:27px}
.camera-plate strong{font:21px Georgia,serif;display:block;margin-top:6px}
.camera-plate small{display:block;font-size:9px;color:#aaa99f;margin-top:5px}
.camera-coverage{font-size:13px;line-height:1.6;color:#e0dfd6;margin:0 0 12px}
.camera-badges{display:flex;gap:5px;flex-wrap:wrap}
.camera-badges span{font-size:8px;padding:5px 6px;border:1px solid #ffffff20;border-radius:3px;color:#c7c5b9}
.camera-specific{font-size:11px;line-height:1.65;border-left:2px solid #f0ca8270;padding-left:10px;margin:14px 0;color:#d4c9b4}
.camera-source-links{display:grid;gap:7px;margin:16px 0 10px}
.camera-source{display:block;text-decoration:none;padding:12px;border:1px solid #f0ca8240;border-radius:4px;color:#f0dfba;background:#f0ca8208}
.camera-source.primary{background:#ecd7ad;color:#131412;border-color:#ecd7ad}
.camera-source b{display:block;font-size:12px}
.camera-source small{display:block;font-size:9px;margin-top:4px;opacity:.8}
.camera-source:hover{filter:brightness(1.07)}
.camera-provider-note,.camera-provenance p,.camera-nearby p{font-size:10px;line-height:1.6;color:#aaa99f}
.camera-provenance{border:1px solid #ffffff17;border-radius:4px;padding:10px 11px;margin-top:13px}
.camera-provenance summary{font-size:10px;cursor:pointer;color:#d6d2c4}
.camera-provenance a{font-size:10px;color:#efcf94}
.camera-nearby{border-top:1px solid #ffffff16;margin-top:18px;padding-top:12px}
.camera-nearby h3{font:9px ui-monospace,monospace;letter-spacing:.13em;text-transform:uppercase;color:#b5b4a8}
.camera-nearby button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 0;border:0;border-top:1px solid #ffffff0d;background:none;text-align:left;color:#dcdccf;font-size:11px;cursor:pointer}
.camera-nearby small{white-space:nowrap;color:#b5aa91;font-size:9px}
.camera-panel-foot{display:flex;justify-content:space-between;gap:6px;align-items:center;padding:10px 14px;border-top:1px solid #ffffff17;color:#9d9c94;font:8px ui-monospace,monospace;flex:0 0 auto}
.camera-panel-foot button{background:none;border:0;color:#d8c298;font-size:9px;cursor:pointer;padding:4px}
.camera-empty{padding:20px 14px;color:#b7b5a9;font-size:11px;line-height:1.6;text-align:center}
.camera-empty button{display:block;padding:9px 14px;margin:13px auto 0;border:1px solid #f0ca823a;background:none;color:#ead7b2;font-size:10px;border-radius:4px;cursor:pointer}
html[data-theme=classic] .camera-panel{background:#0d1a20f7}
@media(max-width:930px){
 .camera-toggle{position:absolute;left:45px;top:45px;height:38px;min-width:106px;font-size:10px}
 .camera-status{left:16px;top:108px;padding:6px 8px;gap:8px;max-width:calc(100% - 76px)}
 .camera-panel{top:auto;left:6px;right:6px;bottom:177px;width:auto;height:min(56dvh,calc(100dvh - 322px));max-height:590px;border-radius:9px;z-index:58;min-height:250px}
 .camera-panel h2{font-size:23px;max-width:calc(100vw - 130px)}
 .camera-panel-head{padding:12px 13px 10px}
 .camera-clock{padding:8px 13px;font-size:9px}
 .camera-searchbox{margin-top:10px}
 .camera-details{padding:13px}
 .camera-filters{grid-template-columns:1fr 1fr 1fr}
 .camera-access-filter{grid-column:auto}
 .camera-filters select{font-size:10px}
 .camera-scope-note{margin:7px 14px 4px;font-size:8px}
 .camera-row{min-height:64px}
 .camera-plate{padding:13px 10px}
}
@media(max-width:420px){.camera-status{top:99px}.camera-panel{height:min(56dvh,calc(100dvh - 304px));bottom:177px}.camera-toggle{top:43px}}
@media(max-height:610px){.camera-panel{top:8px;bottom:12px;height:auto;max-height:none;min-height:0;left:auto;width:min(410px,calc(100% - 18px))}.camera-clock{font-size:9px;padding:6px 12px}}

#cameraExpand{display:none}
@media(max-width:930px){
 .camera-toggle{left:0;top:90px;height:38px;min-width:104px}
 .camera-status{left:123px;top:105px;max-width:calc(100% - 182px);flex-direction:column;align-items:flex-start;gap:0;padding:5px 8px}
 .camera-status span{font-size:8px}.camera-status button{font-size:9px;padding:2px 0}
 .camera-panel{top:194px;bottom:177px;height:auto;min-height:0;max-height:none}
 .camera-panel.expanded{top:6px;bottom:177px;height:auto;max-height:none}
 #cameraExpand{display:block}
 .camera-panel h2{max-width:calc(100vw - 170px)}
}
@media(max-height:610px){.camera-panel,.camera-panel.expanded{top:6px;bottom:8px;height:auto}.camera-status{display:none}.camera-toggle{top:90px}}

@media(max-width:930px){.camera-toggle{top:96px}.camera-status{top:108px}.camera-inspecting .camera-status{display:none}}

/* 6.7 / wayfinding: solid vertical tabs, readable labels, independent color keys. */
:root{--size-green:#76ed96;--size-teal:#44dfd2;--size-orange:#ffac63;--size-red:#ff777b;--size-pink:#ff4cdd;--size-unknown:#a5ada9;--diff-beginner:#a4e6b3;--diff-intermediate:#94ceff;--diff-advanced:#ffbe7c;--diff-expert:#e9a7ff;--diff-unknown:#d4d7d3}
.size-green{--reading-color:var(--size-green)}.size-teal{--reading-color:var(--size-teal)}.size-orange{--reading-color:var(--size-orange)}.size-red{--reading-color:var(--size-red)}.size-pink{--reading-color:var(--size-pink)}.size-unknown{--reading-color:var(--size-unknown)}
.surf-size{color:var(--reading-color)!important;font-variant-numeric:tabular-nums;font-weight:750}.surf-size.size-pink{text-shadow:0 0 10px #ff4cdd26}
.difficulty-beginner{--difficulty-color:var(--diff-beginner)}.difficulty-intermediate{--difficulty-color:var(--diff-intermediate)}.difficulty-advanced{--difficulty-color:var(--diff-advanced)}.difficulty-expert{--difficulty-color:var(--diff-expert)}.difficulty-unknown{--difficulty-color:var(--diff-unknown)}
.difficulty-name{color:var(--difficulty-color)!important}
.detail-nav>button,.conditions-tabs>button,.workspace-tabs>button,.watch-tabs>button,.aa-tabs>button,.theme-chip,.workspace-launch>button,.watch-launch-row>button,.account-alert-launch{position:relative;padding-left:18px!important;isolation:isolate}
.detail-nav>button:before,.conditions-tabs>button:before,.workspace-tabs>button:before,.watch-tabs>button:before,.aa-tabs>button:before,.theme-chip:before,.workspace-launch>button:before,.watch-launch-row>button:before,.account-alert-launch:before{content:'';position:absolute;left:6px;top:50%;transform:translateY(-50%);width:4px;height:15px;background:var(--tab-accent,#9cd3ef);border-radius:0;opacity:.88;pointer-events:none}
:is(.detail-nav,.conditions-tabs,.workspace-tabs,.watch-tabs,.aa-tabs)>button:nth-child(3n+1){--tab-accent:#69ddc3}
:is(.detail-nav,.conditions-tabs,.workspace-tabs,.watch-tabs,.aa-tabs)>button:nth-child(3n+2){--tab-accent:#ffb46e}
:is(.detail-nav,.conditions-tabs,.workspace-tabs,.watch-tabs,.aa-tabs)>button:nth-child(3n){--tab-accent:#c9acff}
:is(.detail-nav,.conditions-tabs,.workspace-tabs,.watch-tabs,.aa-tabs)>button.active:before,:is(.workspace-tabs,.watch-tabs,.aa-tabs)>button[aria-selected=true]:before{height:20px;opacity:1}
.theme-chip[data-theme=topo]{--tab-accent:#b7c8cf}.theme-chip[data-theme=classic]{--tab-accent:#ffb46e}
.workspace-launch>button:nth-child(1){--tab-accent:#69ddc3}.workspace-launch>button:nth-child(2){--tab-accent:#99bcff}.workspace-launch>button:nth-child(3){--tab-accent:#ffb46e}.workspace-launch>button:nth-child(4){--tab-accent:#c9acff}
.account-alert-launch,.watch-launch-row>button{--tab-accent:#f396c7}
#markers .marker-label{font-size:11px;line-height:1.38;padding:5px 8px;background:rgba(4,9,10,.94);max-width:290px}
#markers .marker-live{font-size:10px;line-height:1.45;font-weight:550;color:var(--muted)}
#markers .marker-live .surf-size{font-size:10.5px}
#markers .marker-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#markers .cluster-label{font-size:10.5px}
.map-legend{position:absolute;z-index:22;left:18px;bottom:164px;max-width:min(340px,calc(100% - 80px));background:rgba(6,11,12,.93);border:1px solid var(--line2);color:var(--paper);border-radius:8px;backdrop-filter:blur(12px)}
.map-legend>summary{cursor:pointer;padding:8px 12px;font-size:10px;font-weight:750;list-style:inside}
.map-legend[open]{z-index:35}.map-legend-body{padding:0 12px 12px;max-height:45vh;overflow:auto}.map-legend h3{font-size:10px;letter-spacing:.03em;margin:12px 0 8px}.map-legend p{font-size:9.5px;color:var(--muted);line-height:1.5;margin:8px 0}
.legend-chips{display:flex;gap:7px 12px;flex-wrap:wrap}.legend-chips>span{color:var(--reading-color,var(--difficulty-color));font-size:10px;display:inline-flex;gap:5px;align-items:center}.legend-chips i{width:4px;height:12px;display:inline-block;background:currentColor}
.aa-temperature-note{border-left:3px solid #89cfea;padding:10px 12px;background:#92cdec0b;font-size:11px;line-height:1.55;color:var(--muted)}
@media(max-width:930px){.map-legend{left:10px;bottom:172px}#markers .marker-label{font-size:10.5px}#markers .marker-live{font-size:9.5px}}
@media(max-width:520px){.workspace-tabs>button{font-size:9px;padding-left:13px!important}.workspace-tabs>button:before{left:3px;width:3px;height:13px}.map-legend{bottom:164px;max-width:calc(100% - 78px)}}

/* Full color map is the former Classic option; retain saved key, show natural imagery. */
html[data-theme="classic"] .map.satellite .tile {filter:none}
html[data-theme="classic"] .map.street .tile {filter:none}
/* Keep the color legend beside, not over, the basemap controls. */
.map-legend{left:190px;bottom:184px}
@media(max-width:930px){.map-legend{left:178px;bottom:182px;max-width:calc(100% - 188px)}.attrib{bottom:216px}}
/* Preset tab titles use the same deliberate rectangular identifiers. */
.presets>button{position:relative;padding-left:13px}
.presets>button:before{content:'';position:absolute;left:4px;top:50%;transform:translateY(-50%);height:12px;width:3px;background:var(--tab-accent,#9ccadf)}
.presets>button:nth-child(2){--tab-accent:#69ddc3}.presets>button:nth-child(3){--tab-accent:#c9acff}.presets>button:nth-child(4){--tab-accent:#ffb46e}

/* 6.7.1 — persistent, measurable map names. Position changes never animate or
 * disappear; selection/keyboard focus wins when a very dense view must overlap. */
#markers .marker-label{width:max-content;box-sizing:border-box;transition:none;will-change:auto}
#markers .marker-name{white-space:normal;overflow-wrap:anywhere;max-width:100%}
#markers .marker-live{white-space:normal;overflow-wrap:anywhere}
/* 6.7.2 — clear indicator lines; neutral ivory cannot be mistaken for a
 * wave-height/difficulty class. Dark casing stays legible on full-color tiles.
 * Lines are visual only: panning/clicking through them still reaches the map. */
#markers .marker-leader-pane{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:0}
#markers .marker-leader{pointer-events:none;color:#e7f0ee;opacity:.88}
#markers .marker-leader *{pointer-events:none;vector-effect:non-scaling-stroke}
#markers .marker-leader[hidden]{display:none}
#markers .leader-halo{stroke:#050a0d;stroke-width:4.5;stroke-opacity:.96;stroke-linecap:round}
#markers .leader-stroke{stroke:currentColor;stroke-width:1.6;stroke-linecap:round;fill:none}
#markers .leader-end{fill:currentColor;stroke:#050a0d;stroke-width:1.25}
#markers .marker-dot{z-index:1}
#markers .marker-label{z-index:2;pointer-events:none}
.map.zoom-labels #markers .marker-label,
#markers .map-marker:is(.selected,:hover,:focus-visible) .marker-label{pointer-events:auto}
.map:not(.zoom-labels) #markers .marker-leader:not(.leader-selected):not(.leader-active){visibility:hidden}
#markers .map-marker.label-offscreen .marker-label,#markers .marker-leader.leader-offscreen{visibility:hidden;pointer-events:none}
#markers .map-marker.selected{z-index:12}
#markers .map-marker:hover,#markers .map-marker:focus-visible{z-index:14}
#markers .marker-leader:is(.leader-selected,.leader-active){color:#91ffe3;opacity:1}
#markers .marker-leader:is(.leader-selected,.leader-active) .leader-stroke{stroke-width:2.4}
#markers .marker-leader:is(.leader-selected,.leader-active) .leader-halo{stroke-width:5.5}
#markers .map-marker:is(.selected,:hover,:focus-visible).label-displaced .marker-label{border-color:#91ffe3a6}
#markers .map-marker:focus-visible{outline:2px solid var(--paper);outline-offset:3px;border-radius:50%}

.traffic-pane{position:absolute;inset:0;z-index:3;pointer-events:none}.traffic-pane[hidden],.traffic-status[hidden]{display:none!important}
.traffic-tile{position:absolute;width:256px;height:256px;pointer-events:none;max-width:none;filter:none!important;opacity:.95}
.traffic-toggle{height:42px;padding:0 11px;border-radius:5px;font-size:11px;letter-spacing:.03em;cursor:pointer;white-space:nowrap;color:var(--paper)}
.traffic-toggle.active{border-color:#f5b47880;color:#ffbf88;background:#211a13ed}
.traffic-status{position:absolute;z-index:23;left:16px;top:172px;max-width:min(352px,calc(100% - 82px));padding:10px 12px;border-radius:6px;background:#0c1011f5}
.traffic-status strong{font-size:11px;display:block;margin-bottom:5px;color:#f4c599}
.traffic-status p{font-size:10px;line-height:1.5;margin:5px 0;color:var(--muted)}
.traffic-status .traffic-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}
.traffic-status button,.traffic-status a{font-size:10px;border:1px solid var(--line2);background:#ffffff06;color:var(--paper);border-radius:4px;padding:6px 8px;text-decoration:none;cursor:pointer}
.traffic-status .traffic-key{display:flex;gap:10px;font-size:9px;flex-wrap:wrap;margin:6px 0}
.traffic-key span{display:inline-flex;align-items:center;gap:4px}.traffic-key i{display:inline-block;width:16px;height:3px}
.traffic-credit{font-size:8px!important;opacity:.85}
.traffic-status details{margin-top:6px;font-size:10px}.traffic-status summary{cursor:pointer;color:#c6d3d0}
@media(max-width:930px){.traffic-status{left:10px;top:102px}.traffic-toggle{padding:0 9px;font-size:10px}.map-top{gap:6px}}
@media(max-width:390px){.traffic-toggle{padding:0 7px}.camera-toggle{padding:0 8px}.map-top{gap:5px}}
/* Camera and traffic toggles remain tappable together on narrow screens. */
@media(max-width:930px){
 .traffic-toggle{position:absolute;left:115px;top:96px;height:38px;min-width:62px}
 .traffic-status{top:153px;max-height:calc(100dvh - 340px);overflow:auto}
 .camera-status{top:148px;left:10px;max-width:calc(100% - 80px);flex-direction:row;align-items:center;gap:8px}
 #map:has(#cameraStatus:not([hidden])) .traffic-status{top:187px;max-height:calc(100dvh - 374px)}
 .camera-inspecting .traffic-status{display:none}
}
@media(max-height:610px){.traffic-status{max-height:160px;top:153px}.camera-inspecting .traffic-status{display:none}}

.atlas-library-nav{display:flex;gap:10px;align-items:center;padding:7px 15px;border-bottom:1px solid var(--line);font-size:10px;background:rgba(255,255,255,.015);flex:0 0 auto}
.atlas-library-nav a{color:var(--muted);text-decoration:none;display:flex;align-items:center;gap:5px;min-height:24px}
.atlas-library-nav a::before{content:"";width:3px;height:12px;background:var(--cyan);display:inline-block}.atlas-library-nav a:nth-child(2)::before{background:var(--amber)}.atlas-library-nav a:nth-child(3)::before{background:var(--violet)}
.atlas-library-nav a:hover,.atlas-library-nav a:focus-visible{color:var(--paper)}
.memory-search-results{border:1px solid var(--line);border-radius:9px;margin:10px 6px;padding:12px}.memory-search-results h3{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--amber);margin:0 0 8px}
.memory-search-results a{display:block;padding:9px 0;color:var(--paper);text-decoration:none;border-top:1px solid var(--line);font-size:13px}.memory-search-results small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.no-script-guide{position:fixed;inset:0;z-index:500;background:#080b0a;color:#eee;overflow:auto;padding:clamp(24px,6vw,90px);font:17px/1.65 system-ui}.no-script-guide a{color:#87e4cf}.no-script-guide h1{font-size:clamp(30px,4vw,60px)}

.puresurf-brand + .product-name + h1.route-name{font-weight:inherit;line-height:inherit;margin-block:6px;}
