:root {
  color-scheme: dark;
  --bg: #080b10;
  --bg-soft: #0b1017;
  --sidebar: #090d13;
  --panel: #101620;
  --panel-strong: #141c27;
  --panel-soft: #0d131c;
  --line: rgba(154, 185, 199, .13);
  --line-strong: rgba(100, 202, 238, .25);
  --text: #f3f7f9;
  --text-soft: #c1ccd2;
  --muted: #7f909b;
  --faint: #53636e;
  --blue: #55c8f1;
  --blue-strong: #8be1ff;
  --blue-dark: #0a3045;
  --green: #6ed7b0;
  --amber: #f3c86b;
  --danger: #ff827e;
  --sidebar-width: 264px;
  --sidebar-collapsed: 82px;
  --topbar-height: 68px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .28);
  --ease: 180ms ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 0%, rgba(40, 140, 178, .08), transparent 30rem),
    var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button, input { font: inherit; }

button { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] { display: none !important; }

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .7rem 1rem;
  border-radius: 10px;
  color: #06131b;
  background: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  transition: grid-template-columns var(--ease);
}

.app-shell.is-collapsed { grid-template-columns: var(--sidebar-collapsed) minmax(0, 1fr); }

.sidebar {
  position: relative;
  z-index: 60;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 0%, rgba(53, 161, 199, .08), transparent 19rem),
    linear-gradient(180deg, #0b1017, #080c12);
  overflow: hidden;
}

.sidebar::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 82px;
  width: 1px;
  height: 170px;
  background: linear-gradient(transparent, rgba(85, 200, 241, .55), transparent);
  pointer-events: none;
}

.sidebar-brand {
  display: flex;
  min-height: 84px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.brand-button {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 5px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.brand-logo {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(100, 202, 238, .24);
  border-radius: 14px;
  background: radial-gradient(circle at 40% 28%, #172836, #0a111a 72%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .2);
}

.brand-logo img { width: 37px; height: 37px; object-fit: contain; }

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.08;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar-nav {
  min-height: 0;
  flex: 1;
  padding: 18px 13px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(85, 200, 241, .2) transparent;
}

.nav-group + .nav-group { margin-top: 20px; }

.nav-group-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 8px;
  border: 0;
  color: var(--faint);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-group-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform var(--ease);
}

.nav-group.is-folded .nav-group-toggle svg { transform: rotate(-90deg); }
.nav-group.is-folded .nav-group-items { display: none; }

.nav-group-items { display: grid; gap: 4px; }

.nav-link, .collapse-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #8999a3;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease), transform var(--ease);
}

.nav-link:hover, .collapse-button:hover {
  color: var(--text-soft);
  background: rgba(255, 255, 255, .025);
}

.nav-link svg, .collapse-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-link.is-active {
  color: var(--text);
  border-color: rgba(85, 200, 241, .2);
  background: linear-gradient(135deg, rgba(22, 72, 96, .78), rgba(9, 33, 47, .84));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 10px 24px rgba(0, 0, 0, .16);
}

.nav-link.is-active svg { color: var(--blue-strong); }

.active-dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(85, 200, 241, .7);
}

.sidebar-footer {
  display: grid;
  gap: 3px;
  padding: 12px 13px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 12, .35);
}

.collapse-button {
  margin-top: 5px;
  border-color: var(--line);
  color: var(--faint);
  background: rgba(255, 255, 255, .015);
}

.app-shell.is-collapsed .brand-copy,
.app-shell.is-collapsed .nav-group-toggle,
.app-shell.is-collapsed .nav-link span,
.app-shell.is-collapsed .collapse-button span,
.app-shell.is-collapsed .active-dot { display: none; }

.app-shell.is-collapsed .sidebar-brand { padding-inline: 13px; }
.app-shell.is-collapsed .brand-button { justify-content: center; padding-inline: 0; }
.app-shell.is-collapsed .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
.app-shell.is-collapsed .sidebar-nav { padding-inline: 12px; }
.app-shell.is-collapsed .nav-group + .nav-group { margin-top: 8px; }
.app-shell.is-collapsed .nav-link,
.app-shell.is-collapsed .collapse-button { justify-content: center; padding-inline: 0; }
.app-shell.is-collapsed .collapse-button svg { transform: rotate(180deg); }

.workspace {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: var(--topbar-height) minmax(0, 1fr);
  background:
    radial-gradient(circle at 80% 2%, rgba(58, 153, 190, .08), transparent 32rem),
    linear-gradient(180deg, #090d13, #080b10);
}

.topbar {
  position: relative;
  z-index: 40;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 19, .84);
  backdrop-filter: blur(18px) saturate(1.25);
}

.topbar-left, .topbar-actions, .page-heading, .panel-toolbar-actions {
  display: flex;
  align-items: center;
}

.topbar-left { min-width: 0; gap: 12px; }
.topbar-actions { gap: 10px; }

.page-heading { min-width: 0; gap: 10px; }

.page-heading-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--blue-strong);
  background: rgba(14, 49, 66, .68);
}

.page-heading-icon svg { width: 17px; height: 17px; }

.page-heading > div { display: grid; min-width: 0; line-height: 1.05; }
.page-heading small { color: var(--faint); font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.page-heading strong { margin-top: 5px; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(110, 215, 176, .17);
  border-radius: 999px;
  color: #91cdb5;
  background: rgba(30, 79, 62, .16);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-status i, .data-chip i, .layout-ready i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(110, 215, 176, .55);
}

.sign-in-button, .icon-button, .primary-button, .secondary-button, .text-button {
  border: 0;
  cursor: pointer;
}

.sign-in-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(22, 52, 68, .78), rgba(10, 28, 39, .88));
  font-size: 11px;
  font-weight: 700;
}

.sign-in-button:hover { color: var(--text); border-color: rgba(100, 202, 238, .4); }
.sign-in-button.is-authenticated { color: #b8e7d2; border-color: rgba(110, 215, 176, .3); background: rgba(24, 71, 56, .22); }
.sign-in-button svg { width: 16px; height: 16px; color: var(--blue-strong); }

.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-soft);
  background: rgba(13, 20, 29, .9);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.icon-button:hover { color: var(--blue-strong); border-color: var(--line-strong); background: rgba(15, 40, 54, .9); }
.icon-button svg { width: 17px; height: 17px; }
.mobile-menu { display: none; }

.main-content {
  min-width: 0;
  min-height: 0;
  padding: 26px clamp(18px, 2.6vw, 38px) 40px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(85, 200, 241, .2) transparent;
}

.app-shell.is-map-mode .main-content {
  padding: 0;
  overflow: hidden;
}

.map-view, .placeholder-view, .signin-view {
  width: min(100%, 1540px);
  margin: 0 auto;
}

.app-shell.is-map-mode .map-view {
  width: 100%;
  height: 100%;
  margin: 0;
}

.view-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.view-intro > div:first-child { max-width: 760px; }

.eyebrow, .panel-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.view-intro h1, .placeholder-copy h1, .signin-brand-panel h1 {
  margin: 7px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.view-description {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.intro-actions { display: flex; flex: 0 0 auto; gap: 9px; }

.primary-button, .secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 750;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.primary-button {
  color: #04131a;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow: 0 12px 26px rgba(42, 160, 205, .18);
}

.primary-button:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(42, 160, 205, .25); }

.secondary-button {
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  background: rgba(15, 25, 35, .76);
}

.secondary-button:hover { transform: translateY(-1px); color: var(--text); border-color: rgba(100, 202, 238, .42); }
.primary-button svg, .secondary-button svg { width: 16px; height: 16px; }

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .72fr);
  gap: 18px;
  align-items: stretch;
}

.app-shell.is-map-mode .dashboard-grid {
  display: block;
  width: 100%;
  height: 100%;
}

.app-shell.is-map-mode .insight-stack { display: none; }

.map-panel, .insight-card, .placeholder-hero, .preview-panel, .preview-side article, .signin-card, .signin-brand-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 36, .96), rgba(11, 16, 24, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.map-panel {
  min-width: 0;
  min-height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .03);
}

.app-shell.is-map-mode .map-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.panel-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 18px;
  border-bottom: 1px solid var(--line);
}

.app-shell.is-map-mode .panel-toolbar {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  min-width: 270px;
  min-height: 58px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(122, 220, 250, .2);
  border-radius: 15px;
  background: rgba(8, 14, 21, .88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px) saturate(1.2);
}

.panel-toolbar > div:first-child { display: grid; }
.panel-toolbar strong { margin-top: 4px; font-size: 13px; font-weight: 700; }
.panel-toolbar-actions { gap: 8px; }

.data-chip, .layout-ready {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(243, 200, 107, .16);
  border-radius: 999px;
  color: #cab47e;
  background: rgba(84, 66, 28, .13);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.data-chip i { background: var(--amber); box-shadow: 0 0 8px rgba(243, 200, 107, .45); }

.data-chip.is-live {
  border-color: rgba(110, 215, 176, .2);
  color: #a9dec7;
  background: rgba(27, 91, 66, .18);
}

.data-chip.is-live i {
  background: var(--green);
  box-shadow: 0 0 8px rgba(110, 215, 176, .55);
}

.map-canvas {
  position: relative;
  height: calc(100% - 70px);
  min-height: 548px;
  isolation: isolate;
  overflow: hidden;
  background: #0b2432;
}

.app-shell.is-map-mode .map-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.map-overlay-button {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(85, 200, 241, .28);
  border-radius: 14px;
  color: #e5f4f8;
  background: rgba(7, 17, 26, .9);
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 14px 28px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px) saturate(1.2);
  cursor: pointer;
  transition: transform var(--ease), color var(--ease), border-color var(--ease), background var(--ease);
}

.map-overlay-button:hover {
  color: var(--blue-strong);
  border-color: rgba(85, 200, 241, .52);
  background: rgba(11, 35, 49, .94);
  transform: translateY(-1px);
}

.map-overlay-button svg { width: 18px; height: 18px; }
.map-overlay-button.is-busy { cursor: progress; opacity: .72; }
.map-overlay-search { top: 28px; left: 28px; }
.map-overlay-filter { top: 28px; right: 28px; }
.map-overlay-weather { bottom: 28px; left: 28px; }
.map-overlay-locate { right: 28px; bottom: 28px; }

.map-overlay-add {
  bottom: 24px;
  left: 50%;
  width: 54px;
  height: 54px;
  border-width: 2px;
  border-radius: 18px;
  color: #fff;
  border-color: rgba(91, 205, 246, .68);
  background: linear-gradient(180deg, #167eae, #0f608b);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 18px 34px rgba(0, 0, 0, .34);
  transform: translateX(-50%);
}

.map-overlay-add:hover { color: #fff; transform: translate(-50%, -1px); }
.map-overlay-add svg { width: 25px; height: 25px; }
#map-layers-button.is-active { color: var(--blue-strong); border-color: rgba(100, 202, 238, .38); background: rgba(18, 66, 87, .88); }

@media (min-width: 1101px) {
  .map-overlay-search { top: 32px; left: 32px; }
  .map-overlay-filter { top: 32px; right: 32px; }
  .map-overlay-weather { bottom: 32px; left: 32px; }
  .map-overlay-locate { right: 32px; bottom: 32px; }
  .map-overlay-add { bottom: 32px; }
  .map-layers-panel { top: 86px; right: 32px; }
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 38%, rgba(84, 200, 239, .08), transparent 15rem),
    linear-gradient(180deg, transparent 58%, rgba(4, 8, 12, .42));
}

.map-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; stroke-width: initial; }

.map-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b2432;
}

.map-surface .maplibregl-canvas { outline: none; }

.map-surface .maplibregl-ctrl-bottom-right {
  right: 4px;
  bottom: 4px;
  z-index: 2;
}

.map-surface .maplibregl-ctrl-attrib {
  margin: 0;
  padding: 1px 3px;
  border: 1px solid rgba(122, 220, 250, .08);
  border-radius: 4px;
  color: rgba(210, 229, 236, .62);
  background: rgba(7, 17, 26, .48);
  font-size: 7px;
  line-height: 1.15;
  box-shadow: none;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.map-surface .maplibregl-ctrl-attrib a { color: inherit; text-decoration: none; }
.map-surface .maplibregl-ctrl-attrib a:hover { color: var(--blue-strong); text-decoration: underline; }

.map-loading, .map-error {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(122, 220, 250, .2);
  border-radius: 14px;
  background: rgba(7, 14, 21, .9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
}

.map-loading { padding: 11px 14px; color: var(--text-soft); font-size: 10px; letter-spacing: .04em; }

.map-loading span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(139, 225, 255, .24);
  border-top-color: var(--blue-strong);
  border-radius: 50%;
  animation: map-spin .8s linear infinite;
}

.map-loading.is-complete { display: none; }

.map-error {
  display: grid;
  min-width: min(310px, calc(100% - 32px));
  padding: 15px 17px;
  text-align: center;
}

.map-error strong { font-size: 12px; }
.map-error span { color: var(--muted); font-size: 10px; }

@keyframes map-spin { to { transform: rotate(360deg); } }

.map-layers-panel {
  position: absolute;
  top: 82px;
  right: 28px;
  left: auto;
  z-index: 9;
  width: min(300px, calc(100% - 36px));
  overflow: hidden;
  border: 1px solid rgba(122, 220, 250, .2);
  border-radius: 16px;
  background: rgba(7, 14, 21, .94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .38);
  backdrop-filter: blur(18px) saturate(1.2);
}

.map-layers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px 11px 14px;
  border-bottom: 1px solid var(--line);
}

.map-layers-heading > div { display: grid; }
.map-layers-heading small { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.map-layers-heading strong { margin-top: 3px; font-size: 11px; }

.map-layers-heading button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, .035);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.map-layer-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(154, 185, 199, .08);
  cursor: pointer;
}

.map-layer-option:hover { background: rgba(85, 200, 241, .035); }
.map-layer-option input { width: 15px; height: 15px; accent-color: var(--blue); }
.map-layer-option > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; }
.map-layer-option strong { font-size: 10px; }
.map-layer-option small { grid-column: 2; margin-top: 2px; color: var(--faint); font-size: 8px; }

.layer-swatch { width: 8px; height: 8px; grid-row: 1 / span 2; border-radius: 50%; }
.layer-swatch.surf { background: var(--blue); box-shadow: 0 0 8px rgba(85, 200, 241, .55); }
.layer-swatch.noaa { background: #f2d570; box-shadow: 0 0 8px rgba(242, 213, 112, .4); }

.map-layers-panel > p {
  margin: 0;
  padding: 10px 14px 12px;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.45;
}

.map-popup .maplibregl-popup-content {
  min-width: 210px;
  padding: 13px 14px;
  border: 1px solid rgba(122, 220, 250, .22);
  border-radius: 13px;
  color: var(--text);
  background: rgba(8, 15, 22, .96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}

.map-popup .maplibregl-popup-tip { border-top-color: rgba(8, 15, 22, .96); }
.map-popup .maplibregl-popup-close-button { color: var(--muted); font-size: 18px; }
.map-popup small { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.map-popup strong { display: block; margin-top: 4px; font-size: 12px; }
.map-popup p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.map-marker {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px 4px 5px;
  border: 1px solid rgba(122, 220, 250, .32);
  border-radius: 999px;
  color: var(--text);
  background: rgba(7, 15, 22, .9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease);
}

.map-marker:hover { transform: translateY(-2px); border-color: rgba(122, 220, 250, .6); }
.map-marker img { width: 34px; height: 34px; object-fit: contain; }
.map-marker span { font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.marker-one { top: 29%; left: 49%; }

.marker-small {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  justify-content: center;
  color: var(--blue-strong);
}

.marker-small svg { width: 17px; height: 17px; }
.marker-two { left: 37%; bottom: 27%; }
.marker-three { top: 17%; left: 60%; }
.marker-muted { color: var(--green); border-color: rgba(110, 215, 176, .28); }

.insight-stack { display: grid; align-content: start; gap: 14px; min-width: 0; }

.insight-card { border-radius: var(--radius); padding: 17px; }

.card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.card-heading.compact { grid-template-columns: auto minmax(0, 1fr); }

.card-icon, .build-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--blue-strong);
  background: rgba(15, 51, 69, .6);
}

.card-icon svg, .build-icon svg { width: 17px; height: 17px; }
.card-heading > div { min-width: 0; }
.card-heading small { color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-heading h2 { margin: 3px 0 0; font-size: 13px; font-weight: 700; }

.card-state {
  align-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  color: #b6a06e;
  background: rgba(90, 68, 25, .18);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.metric-grid > div {
  display: grid;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 10, 15, .34);
}

.metric-grid span { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.metric-grid strong { margin-top: 4px; font-size: 21px; font-weight: 650; line-height: 1; }
.metric-grid small { margin-top: 7px; overflow: hidden; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.card-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 9px 2px 0;
  border: 0;
  color: #9eb0ba;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.card-link:hover { color: var(--blue-strong); }
.card-link svg { width: 14px; height: 14px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.quick-grid button {
  display: grid;
  min-height: 72px;
  place-items: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #9baab3;
  background: rgba(6, 10, 15, .32);
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease), transform var(--ease);
}

.quick-grid button:hover {
  transform: translateY(-1px);
  color: var(--blue-strong);
  border-color: var(--line-strong);
  background: rgba(17, 51, 67, .35);
}

.quick-grid svg { width: 18px; height: 18px; }

.build-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(110, 215, 176, .15);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(18, 59, 48, .22), rgba(9, 21, 24, .46));
}

.build-icon { width: 34px; height: 34px; color: var(--green); border-color: rgba(110, 215, 176, .22); background: rgba(27, 76, 59, .35); }
.build-card strong { font-size: 10px; font-weight: 750; }
.build-card p { margin: 5px 0 0; color: #70848a; font-size: 8px; line-height: 1.5; }

.placeholder-view { display: grid; gap: 17px; }

.placeholder-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.placeholder-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(85, 200, 241, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(85, 200, 241, .025), 0 0 0 84px rgba(85, 200, 241, .02);
  pointer-events: none;
}

.placeholder-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(85, 200, 241, .27);
  border-radius: 18px;
  color: var(--blue-strong);
  background: linear-gradient(145deg, rgba(24, 78, 101, .7), rgba(7, 28, 40, .85));
  box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
}

.placeholder-icon svg { width: 26px; height: 26px; }
.placeholder-copy { position: relative; z-index: 1; }
.placeholder-copy h1 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.placeholder-copy p { max-width: 720px; margin: 9px 0 0; color: var(--muted); font-size: 12px; }

.layout-ready { position: relative; z-index: 1; border-color: rgba(110, 215, 176, .18); color: #9fcbb8; background: rgba(28, 74, 57, .14); }

.placeholder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 17px;
}

.preview-panel { min-height: 470px; padding: 18px; border-radius: var(--radius-lg); }

.preview-panel-head { display: flex; align-items: center; justify-content: space-between; color: var(--text-soft); font-size: 11px; font-weight: 700; }

.ghost-pill { width: 80px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .04); }

.skeleton-feature {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(180px, 1.1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 8, 13, .3);
}

.skeleton-image {
  min-height: 260px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, transparent 35%, rgba(75, 175, 207, .09)),
    linear-gradient(160deg, #18272b, #0c1f2b 48%, #0a151e 49%);
}

.skeleton-copy { display: grid; align-content: center; gap: 14px; }
.skeleton-copy i, .skeleton-row span { display: block; border-radius: 999px; background: rgba(168, 193, 204, .075); }
.skeleton-copy i { height: 13px; }
.skeleton-copy i:first-child { width: 64%; height: 20px; }
.skeleton-copy i:last-child { width: 76%; }
.skeleton-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.skeleton-row span { height: 74px; border-radius: 14px; }

.preview-side { display: grid; align-content: start; gap: 10px; }

.preview-side article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 16px;
  border-radius: 15px;
}

.preview-number { grid-row: 1 / 3; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.preview-side strong { font-size: 11px; font-weight: 700; }
.preview-side p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.return-button { justify-self: start; }

.profile-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(85, 200, 241, .24);
  border-radius: 19px;
  color: var(--blue-strong);
  background: rgba(17, 62, 79, .5);
}

.profile-avatar svg { width: 26px; height: 26px; }
.profile-avatar-initial { color: #dff8ee; border-color: rgba(110, 215, 176, .3); background: linear-gradient(145deg, #225f4d, #123a3f); font-size: 24px; font-weight: 800; }

.account-view {
  width: min(100%, 1340px);
  margin: 0 auto;
}

.account-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.account-page-header > div { max-width: 780px; }
.account-page-header h1 { margin: 7px 0 0; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 760; line-height: 1.02; letter-spacing: -.045em; }
.account-page-header p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.verification-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 14px 15px;
  border: 1px solid rgba(243, 200, 107, .24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 62, 23, .23), rgba(26, 28, 25, .72));
}

.verification-banner.is-verified { border-color: rgba(110, 215, 176, .22); background: linear-gradient(135deg, rgba(22, 78, 58, .23), rgba(17, 31, 28, .72)); }
.verification-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--amber); background: rgba(243, 200, 107, .1); }
.verification-banner.is-verified .verification-icon { color: var(--green); background: rgba(110, 215, 176, .1); }
.verification-icon svg { width: 18px; height: 18px; }
.verification-banner strong { font-size: 11px; }
.verification-banner p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.account-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.9fr); gap: 16px; align-items: start; }
.account-card, .account-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 25, 36, .97), rgba(10, 15, 22, .99));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 18px 44px rgba(0, 0, 0, .18);
}

.account-summary-card { position: sticky; top: 0; padding: clamp(20px, 3vw, 28px); overflow: hidden; text-align: center; }
.account-summary-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 130px; background: radial-gradient(circle at 50% -20%, rgba(85, 200, 241, .14), transparent 70%); pointer-events: none; }
.account-avatar { position: relative; width: 86px; height: 86px; margin: 0 auto 17px; border-radius: 25px; font-size: 31px; box-shadow: 0 18px 36px rgba(0, 0, 0, .28); }
.account-summary-card h2 { position: relative; margin: 6px 0 0; overflow-wrap: anywhere; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.1; }
.account-email { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.account-summary-card .verified-badge { margin-top: 13px; }

.verified-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(110, 215, 176, .2); border-radius: 999px; color: #9fd9bf; background: rgba(35, 91, 69, .18); font-size: 8px; font-weight: 750; white-space: nowrap; }
.verified-badge.is-unverified { color: #d5bd83; border-color: rgba(243, 200, 107, .22); background: rgba(95, 70, 24, .17); }
.verified-badge svg { width: 11px; height: 11px; }

.account-facts { display: grid; gap: 0; margin: 24px 0 0; text-align: left; }
.account-facts div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(154, 185, 199, .1); }
.account-facts dt { color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-facts dd { margin: 0; color: var(--text-soft); font-size: 9px; font-weight: 700; text-align: right; }

.account-card { padding: clamp(19px, 3vw, 28px); }
.account-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-card-heading h2 { margin: 4px 0 0; font-size: 17px; }
.account-card-heading p { max-width: 640px; margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.account-card-heading > svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--blue); }

.account-form { display: grid; gap: 17px; margin-top: 18px; }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.account-form label { display: grid; gap: 7px; color: #8fa0aa; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.account-form input, .account-form select, .account-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(5, 9, 14, .52);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.account-form input, .account-form select { min-height: 46px; padding: 0 12px; }
.account-form textarea { min-height: 126px; padding: 11px 12px; resize: vertical; line-height: 1.55; }
.account-form input::placeholder, .account-form textarea::placeholder { color: #4f5d66; }
.account-form input:focus, .account-form select:focus, .account-form textarea:focus { border-color: rgba(85, 200, 241, .42); outline: 2px solid rgba(85, 200, 241, .13); outline-offset: 1px; }
.account-form input:disabled, .account-form select:disabled, .preference-toggle input:disabled { cursor: not-allowed; opacity: .55; }
.field-help { color: var(--faint); font-size: 8px; font-weight: 600; letter-spacing: normal; line-height: 1.5; text-transform: none; }
.account-form label > .field-help { justify-self: end; margin-top: -2px; }

.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 2px; }
.form-security-note { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 8px; }
.form-security-note svg { width: 12px; height: 12px; color: var(--green); }
.form-message { margin: 14px 0 0; padding: 10px 11px; border: 1px solid rgba(85, 200, 241, .2); border-radius: 11px; color: #b8dbe8; background: rgba(24, 72, 91, .2); font-size: 9px; line-height: 1.5; }
.form-message.is-error { color: #efb8b8; border-color: rgba(238, 113, 113, .24); background: rgba(92, 30, 34, .22); }
.form-message.is-success { color: #b7e3cb; border-color: rgba(110, 215, 176, .23); background: rgba(28, 78, 59, .2); }
.form-message[data-tone="error"] { color: #efb8b8; border-color: rgba(238, 113, 113, .24); background: rgba(92, 30, 34, .22); }
.form-message[data-tone="success"] { color: #b7e3cb; border-color: rgba(110, 215, 176, .23); background: rgba(28, 78, 59, .2); }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: 16px; align-items: start; }
.settings-account-stack { display: grid; gap: 16px; }
.preference-fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.preference-fieldset legend { margin-bottom: 8px; color: #8fa0aa; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.preference-toggle { display: flex !important; min-height: 64px; grid-template-columns: none !important; align-items: center; justify-content: space-between; gap: 16px !important; padding: 11px 13px; border: 1px solid rgba(154, 185, 199, .11); border-radius: 13px; background: rgba(5, 9, 14, .3); cursor: pointer; text-transform: none !important; }
.preference-toggle span { display: grid; }
.preference-toggle strong { color: var(--text-soft); font-size: 10px; letter-spacing: normal; }
.preference-toggle small { margin-top: 3px; color: var(--faint); font-size: 8px; font-weight: 500; letter-spacing: normal; line-height: 1.45; }
.preference-toggle input { width: 34px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.preference-fieldset.is-disabled .preference-toggle { opacity: .52; }

.current-email-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 17px; }
.current-email-row > div { display: grid; min-width: 0; }
.current-email-row small { color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.current-email-row strong { margin-top: 4px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-card-copy { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.email-settings-card > .verification-resend-button { margin-top: 13px; }
.account-divider { height: 1px; margin: 18px 0; background: var(--line); }
.compact-account-form { gap: 12px; margin-top: 0; }
.compact-account-form .secondary-button { justify-self: start; }

.text-danger-button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px; border: 1px solid rgba(255, 130, 126, .16); border-radius: 13px; color: #e7a3a1; background: rgba(83, 28, 30, .12); text-align: left; cursor: pointer; }
.text-danger-button:hover { border-color: rgba(255, 130, 126, .3); background: rgba(83, 28, 30, .2); }
.text-danger-button > svg { width: 18px; height: 18px; flex: 0 0 18px; }
.text-danger-button span { display: grid; }
.text-danger-button strong { font-size: 9px; }
.text-danger-button small { margin-top: 3px; color: #9d7475; font-size: 8px; line-height: 1.4; }
.verification-resend-button[hidden] { display: none; }
.verification-resend-button:disabled, .account-form button:disabled, .text-danger-button:disabled { cursor: wait; opacity: .58; }

.signin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 18px;
  min-height: min(680px, calc(100dvh - var(--topbar-height) - 80px));
}

.signin-brand-panel, .signin-card { border-radius: var(--radius-lg); }

.signin-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(85, 200, 241, .12), transparent 18rem),
    linear-gradient(145deg, rgba(13, 45, 60, .96), rgba(8, 14, 22, .98));
}

.signin-brand-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -170px;
  border: 1px solid rgba(85, 200, 241, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(85, 200, 241, .025), 0 0 0 96px rgba(85, 200, 241, .018);
}

.signin-brand-panel img { width: 110px; height: 110px; object-fit: contain; margin-bottom: 24px; }
.signin-brand-panel h1 { max-width: 520px; font-size: clamp(2rem, 3vw, 3.4rem); }
.signin-brand-panel > p { max-width: 580px; margin: 16px 0 0; color: #9babb3; font-size: 13px; line-height: 1.65; }
.signin-brand-panel ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: 10px; font-weight: 650; }
.signin-brand-panel li { display: flex; align-items: center; gap: 9px; }
.signin-brand-panel li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(110, 215, 176, .5); }

.signin-card { align-self: center; padding: clamp(22px, 3vw, 36px); }
.signin-card form { display: grid; gap: 15px; margin-top: 16px; }
.signin-card form > label { display: grid; gap: 7px; color: #8fa0aa; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.signin-card input[type="text"], .signin-card input[type="email"], .signin-card input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(6, 10, 15, .46);
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.signin-card input::placeholder { color: #4f5d66; }
.signin-card input:focus { border-color: rgba(85, 200, 241, .4); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4, 8, 13, .42); }
.auth-tabs button { min-height: 36px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; transition: color var(--ease), background var(--ease), box-shadow var(--ease); }
.auth-tabs button.is-active { color: var(--text); background: rgba(25, 65, 82, .72); box-shadow: 0 5px 16px rgba(0, 0, 0, .18); }
.auth-tabs button:disabled, .submit-button:disabled, #signout-button:disabled, .sidebar-signout-button:disabled { cursor: wait; opacity: .62; }
.auth-message { margin: 14px 0 0; padding: 10px 11px; border: 1px solid rgba(85, 200, 241, .22); border-radius: 11px; color: #b8dbe8; background: rgba(24, 72, 91, .22); font-size: 9px; line-height: 1.5; }
.auth-message.is-error { color: #efb8b8; border-color: rgba(238, 113, 113, .24); background: rgba(92, 30, 34, .22); }
.auth-message.is-success { color: #b7e3cb; border-color: rgba(110, 215, 176, .23); background: rgba(28, 78, 59, .2); }
.recovery-intro { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.recovery-cancel { justify-self: center; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.session-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.session-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(110, 215, 176, .45); }
.text-button { padding: 4px; color: var(--blue); background: transparent; font-size: 9px; font-weight: 700; }
.submit-button { width: 100%; margin-top: 3px; }
.signin-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; text-align: center; }
.signin-note strong { color: var(--text-soft); }

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  border: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: min(390px, calc(100% - 28px));
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(85, 200, 241, .28);
  border-radius: 15px;
  background: rgba(9, 18, 26, .94);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}

.toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.toast > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--blue-strong); background: rgba(17, 64, 84, .6); }
.toast svg { width: 16px; height: 16px; }
.toast p { margin: 0; color: var(--text-soft); font-size: 10px; line-height: 1.45; }

@media (max-width: 1180px) {
  .dashboard-grid { grid-template-columns: minmax(0, 1.45fr) 300px; }
  .map-panel { min-height: 570px; }
  .map-canvas { min-height: 498px; }
  .preview-status span { display: none; }
  .preview-status { width: 30px; justify-content: center; padding: 0; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-account-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .dashboard-grid, .placeholder-layout { grid-template-columns: 1fr; }
  .insight-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-card { grid-column: 1 / -1; }
  .preview-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signin-layout { grid-template-columns: 1fr; }
  .signin-brand-panel { min-height: 420px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-summary-card { position: static; }
  .settings-account-stack { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --topbar-height: 60px; }

  body { overflow: hidden; }

  .app-shell, .app-shell.is-collapsed { grid-template-columns: minmax(0, 1fr); }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: min(286px, calc(100% - 54px));
    transform: translateX(-102%);
    transition: transform 220ms ease;
    box-shadow: 26px 0 60px rgba(0, 0, 0, .4);
  }

  .app-shell.is-drawer-open .sidebar { transform: translateX(0); }
  .app-shell.is-drawer-open .drawer-backdrop { display: block; }

  .app-shell.is-collapsed .brand-copy,
  .app-shell.is-collapsed .nav-group-toggle,
  .app-shell.is-collapsed .nav-link span,
  .app-shell.is-collapsed .collapse-button span,
  .app-shell.is-collapsed .active-dot { display: initial; }

  .app-shell.is-collapsed .brand-button,
  .app-shell.is-collapsed .nav-link,
  .app-shell.is-collapsed .collapse-button { justify-content: flex-start; padding-inline: 11px; }
  .app-shell.is-collapsed .brand-button { padding: 5px; }
  .app-shell.is-collapsed .collapse-button svg { transform: none; }
  .collapse-button { display: none; }

  .workspace { grid-template-rows: var(--topbar-height) minmax(0, 1fr); }
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding: 0 14px;
  }
  .topbar-left { display: contents; }
  .mobile-menu { display: inline-grid; justify-self: start; }
  .page-heading { justify-self: center; text-align: center; }
  .topbar-actions { justify-self: end; }
  .page-heading-icon { display: none; }
  .page-heading small { display: none; }
  .page-heading strong { margin: 0; font-size: 14px; }
  .main-content { padding: 18px 14px max(18px, env(safe-area-inset-bottom)); }
  .view-intro { align-items: flex-start; flex-direction: column; }
  .view-intro h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .intro-actions { width: 100%; }
  .intro-actions > button { flex: 1; }
  .account-page-header { align-items: flex-start; flex-direction: column; }
  .verification-banner { grid-template-columns: auto minmax(0, 1fr); }
  .verification-banner .verification-resend-button { grid-column: 1 / -1; justify-self: stretch; }
  .map-panel { min-height: 530px; }
  .map-canvas { min-height: 458px; }
  .app-shell.is-map-mode .map-canvas { height: 100%; min-height: 0; }
  .map-overlay-search { top: 16px; left: 16px; }
  .map-overlay-filter { top: 16px; right: 16px; }
  .map-overlay-weather { bottom: calc(16px + env(safe-area-inset-bottom)); left: 16px; }
  .map-overlay-locate { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .map-overlay-add { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .app-shell.is-map-mode .map-surface .maplibregl-ctrl-bottom-right {
    right: 4px;
    bottom: calc(4px + env(safe-area-inset-bottom));
  }
  .app-shell.is-map-mode .map-layers-panel { top: 70px; right: 16px; left: auto; }
  .marker-one { left: 44%; }
  .insight-stack { grid-template-columns: 1fr 1fr; }

  .toast { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .preview-status { display: none; }
  .sign-in-button { width: 36px; padding: 0; justify-content: center; }
  .sign-in-button span { display: none; }
  .view-description { font-size: 12px; }
  .intro-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-button, .secondary-button { min-height: 44px; }
  .panel-toolbar { min-height: 62px; padding: 10px 11px 10px 13px; }
  .panel-toolbar strong { font-size: 11px; }
  .data-chip { display: none; }
  .map-layers-panel { width: calc(100% - 32px); }
  .map-panel { min-height: 498px; border-radius: 18px; }
  .map-canvas { height: calc(100% - 62px); min-height: 434px; }
  .app-shell.is-map-mode .map-canvas { height: 100%; min-height: 0; }
  .map-marker span { display: none; }
  .map-marker { width: 42px; height: 42px; min-height: 42px; justify-content: center; padding: 3px; }
  .map-marker img { width: 33px; height: 33px; }
  .marker-one { top: 25%; left: 42%; }
  .marker-two { left: 31%; bottom: 31%; }
  .marker-three { top: 16%; left: 66%; }
  .insight-stack { grid-template-columns: 1fr; }
  .build-card { grid-column: auto; }
  .placeholder-hero { grid-template-columns: auto minmax(0, 1fr); padding: 20px 17px; }
  .placeholder-icon { width: 48px; height: 48px; border-radius: 15px; }
  .placeholder-icon svg { width: 21px; height: 21px; }
  .layout-ready { grid-column: 1 / -1; justify-self: start; }
  .skeleton-feature { grid-template-columns: 1fr; }
  .skeleton-image { min-height: 210px; }
  .preview-side { grid-template-columns: 1fr; }
  .profile-signed-out, .profile-signed-in { grid-template-columns: auto minmax(0, 1fr); }
  .profile-auth-card .primary-button, .profile-auth-card .secondary-button { grid-column: 1 / -1; width: 100%; }
  .account-form-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .primary-button { width: 100%; }
  .current-email-row { align-items: flex-start; flex-direction: column; }
  .current-email-row strong { white-space: normal; overflow-wrap: anywhere; }
  .signin-brand-panel { min-height: 390px; padding: 26px 22px; }
  .signin-brand-panel img { width: 84px; height: 84px; }
  .signin-brand-panel h1 { font-size: 2rem; }
  .signin-card { padding: 20px 16px; }
  .form-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 400px) {
  .main-content { padding-inline: 10px; }
  .topbar { padding-inline: 10px; }
  .page-heading strong { font-size: 13px; }
  .view-intro h1 { font-size: 1.75rem; }
  .intro-actions { gap: 7px; }
  .primary-button, .secondary-button { padding-inline: 10px; font-size: 10px; }
  .metric-grid { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Functional application pages */
.feature-view {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.feature-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.feature-header > div { max-width: 850px; }
.feature-header h1 { margin: 7px 0 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.feature-header p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.compact-button { min-height: 36px; padding: 0 13px; font-size: 10px; }

.feature-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 10, 15, .48);
}

.segmented-control button {
  min-height: 35px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button.is-active { color: #e9f8fd; background: rgba(28, 87, 112, .65); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.segmented-control button span { margin-left: 5px; color: var(--blue); }
.feature-status, .inline-status { margin: 0 0 14px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.feature-status[data-tone="success"], .inline-status[data-tone="success"] { color: #a7ddc2; }
.feature-status[data-tone="error"], .inline-status[data-tone="error"] { color: #edaaa8; }
.data-attribution, .search-attribution { display: block; margin: -5px 0 14px; color: var(--faint); font-size: 7px; line-height: 1.45; }
.map-flyout .search-attribution { margin: 7px 0 9px; }
.map-flyout .data-attribution { margin: 8px 0; }
.data-attribution a { color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(18, 25, 36, .98), rgba(10, 15, 22, .99)); box-shadow: 0 18px 40px rgba(0, 0, 0, .17); }
.post-media { position: relative; display: grid; width: 100%; aspect-ratio: 4 / 3; place-items: center; padding: 0; overflow: hidden; border: 0; color: var(--text); background: radial-gradient(circle at 30% 20%, rgba(85, 200, 241, .12), transparent 18rem), #0b1720; cursor: pointer; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.post-media:hover img { transform: scale(1.025); }
.post-media-placeholder { display: grid; place-items: center; gap: 9px; color: var(--blue); }
.post-media-placeholder svg { width: 34px; height: 34px; }
.post-media-placeholder small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-type-badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border: 1px solid rgba(139, 225, 255, .24); border-radius: 999px; color: #dff7ff; background: rgba(4, 12, 18, .8); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(10px); }
.post-card[data-post-type="spot"] .post-type-badge { color: #b7ead4; border-color: rgba(110, 215, 176, .25); }
.post-card[data-post-type="report"] .post-type-badge { color: #f0d9a0; border-color: rgba(243, 200, 107, .25); }
.post-card[data-post-type="hazard"] .post-type-badge { color: #f3b0ae; border-color: rgba(255, 130, 126, .27); }
.post-card-body { padding: 14px; }
.post-author { display: flex; align-items: center; gap: 9px; }
.mini-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; overflow: hidden; border: 1px solid rgba(85, 200, 241, .22); border-radius: 10px; color: var(--blue-strong); background: rgba(18, 58, 74, .48); font-size: 11px; font-weight: 850; }
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author > div { display: grid; min-width: 0; }
.post-author strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.post-author small { margin-top: 2px; color: var(--faint); font-size: 8px; }
.post-title-button { display: grid; width: 100%; margin-top: 12px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.post-title-button strong { font-size: 16px; line-height: 1.2; }
.post-title-button span { margin-top: 4px; color: var(--blue); font-size: 9px; font-weight: 750; }
.post-card-body > p { display: -webkit-box; margin: 9px 0 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.post-actions { display: flex; align-items: center; gap: 5px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.post-actions button { display: inline-flex; min-height: 30px; align-items: center; gap: 4px; padding: 0 7px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; font-size: 8px; font-weight: 800; cursor: pointer; }
.post-actions button:hover, .post-actions button.is-active { color: var(--blue-strong); border-color: rgba(85, 200, 241, .18); background: rgba(30, 92, 117, .2); }
.post-actions button span { font-size: 12px; }
.post-card.is-compact .post-media { aspect-ratio: 16 / 9; }

.search-workbench { display: flex; align-items: end; gap: 13px; margin-bottom: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15, 22, 31, .9); }
.feature-search-form { display: grid; min-width: 0; flex: 1; gap: 7px; }
.feature-search-form > label, .search-workbench > label, .fish-traits-form label { color: #8fa0aa; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.feature-search-form > div { display: flex; gap: 8px; }
.feature-search-form input, .search-workbench input, .search-workbench select, .fish-traits-form select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: rgba(5, 9, 14, .62); font-size: 12px; }
.location-results { display: grid; gap: 7px; margin-bottom: 15px; }
.location-result { display: grid; width: 100%; gap: 2px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: rgba(15, 23, 33, .85); text-align: left; cursor: pointer; }
.location-result:hover { border-color: var(--line-strong); background: rgba(18, 44, 58, .85); }
.location-result strong { font-size: 11px; }
.location-result span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.forecast-results { display: grid; gap: 14px; }
.forecast-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 260px; border: 1px solid var(--line); border-radius: 18px; color: var(--muted); background: rgba(14, 20, 29, .8); }
.forecast-loading span { width: 18px; height: 18px; border: 2px solid rgba(85, 200, 241, .18); border-top-color: var(--blue); border-radius: 50%; animation: map-spin .8s linear infinite; }
.forecast-overview { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(20px, 4vw, 36px); border: 1px solid rgba(85, 200, 241, .2); border-radius: 22px; background: radial-gradient(circle at 85% 10%, rgba(85, 200, 241, .12), transparent 22rem), linear-gradient(145deg, #0f2330, #0b1119); }
.forecast-overview h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.05; }
.forecast-overview p { max-width: 700px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.forecast-score { display: grid; min-width: 130px; min-height: 130px; place-items: center; align-content: center; border: 1px solid rgba(110, 215, 176, .34); border-radius: 38px; background: rgba(24, 87, 64, .25); box-shadow: 0 20px 46px rgba(0, 0, 0, .25); }
.forecast-score strong { font-size: 42px; line-height: 1; }
.forecast-score span { margin-top: 5px; color: #a7ddc2; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.forecast-source-row { display: flex; flex-wrap: wrap; gap: 7px; }
.forecast-source-row span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(10, 15, 22, .8); font-size: 8px; }
.tide-strip { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(100px, .65fr)); gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(14, 20, 29, .85); }
.tide-strip h3 { margin: 4px 0 0; font-size: 14px; }
.tide-strip > div:not(:first-child) { display: grid; align-content: center; padding: 9px; border: 1px solid rgba(154, 185, 199, .1); border-radius: 11px; background: rgba(5, 9, 14, .35); }
.tide-strip strong { font-size: 9px; color: var(--blue); }
.tide-strip span { font-size: 9px; }
.tide-strip small { margin-top: 2px; color: var(--faint); font-size: 8px; }
.forecast-day-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.forecast-day-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(18, 25, 36, .95), rgba(10, 15, 22, .98)); }
.forecast-day-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.forecast-day-top > div { display: grid; }
.forecast-day-top small { color: var(--faint); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.forecast-day-top strong { margin-top: 2px; font-size: 12px; }
.forecast-day-top > span { display: grid; min-width: 52px; place-items: center; padding: 7px; border-radius: 12px; color: #a7ddc2; background: rgba(34, 97, 73, .22); font-size: 18px; font-weight: 850; }
.forecast-day-top > span[data-tone="fair"] { color: #e8cf91; background: rgba(96, 73, 28, .2); }
.forecast-day-top > span[data-tone="slow"] { color: #e7a3a1; background: rgba(90, 34, 36, .2); }
.forecast-day-top > span small { margin-top: 1px; color: inherit; font-size: 6px; }
.forecast-day-card dl { display: grid; gap: 8px; margin: 13px 0 0; }
.forecast-day-card dl div { display: flex; justify-content: space-between; gap: 9px; padding-top: 7px; border-top: 1px solid rgba(154, 185, 199, .08); }
.forecast-day-card dt { color: var(--faint); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.forecast-day-card dd { margin: 0; font-size: 8px; font-weight: 700; text-align: right; }
.forecast-disclaimer { margin: 0; color: var(--faint); font-size: 8px; line-height: 1.55; }

.regulations-workbench { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(240px, 1fr) auto; }
.search-workbench > label { display: grid; gap: 7px; }
.legal-notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 11px 13px; border: 1px solid rgba(243, 200, 107, .19); border-radius: 13px; color: #c7b383; background: rgba(85, 63, 22, .13); }
.legal-notice svg { width: 16px; height: 16px; flex: 0 0 16px; }
.legal-notice p { margin: 0; font-size: 9px; line-height: 1.5; }
.regulations-results { display: grid; gap: 13px; }
.regulation-source-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 4vw, 34px); border: 1px solid rgba(85, 200, 241, .2); border-radius: 21px; background: radial-gradient(circle at 88% 10%, rgba(85, 200, 241, .1), transparent 20rem), rgba(15, 24, 34, .92); }
.regulation-source-card h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.regulation-source-card p { max-width: 760px; margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.regulation-source-card a { text-decoration: none; white-space: nowrap; }
.regulation-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.regulation-help-grid article { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(14, 20, 29, .8); }
.regulation-help-grid strong { font-size: 10px; }
.regulation-help-grid p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.fish-id-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 16px; }
.fish-photo-stage, .fish-traits-form { min-height: 360px; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(15, 22, 31, .9); }
.fish-photo-stage { position: relative; display: grid; place-items: center; overflow: hidden; }
.fish-photo-picker { display: grid; place-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.fish-photo-picker svg { width: 48px; height: 48px; color: var(--blue); }
.fish-photo-picker strong { color: var(--text); font-size: 15px; }
.fish-photo-picker span { font-size: 9px; }
.fish-photo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #05090e; }
.fish-photo-stage > button { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.fish-traits-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 14px; }
.fish-traits-form label { display: grid; gap: 7px; }
.fish-traits-form button { align-self: end; }
.fish-results { margin-top: 15px; }
.fish-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fish-result-card { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(14, 20, 29, .86); }
.fish-result-card.is-best { border-color: rgba(110, 215, 176, .27); background: linear-gradient(150deg, rgba(25, 73, 57, .25), rgba(14, 20, 29, .92)); }
.fish-result-rank { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fish-result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 8px; }
.fish-result-top h2 { margin: 0; font-size: 17px; }
.fish-result-top span { display: block; margin-top: 3px; color: var(--faint); font-size: 8px; font-style: italic; }
.fish-result-top > strong { color: var(--green); font-size: 20px; }
.fish-result-card > p { margin: 12px 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

.notification-list { display: grid; gap: 8px; }
.notification-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 15px; color: inherit; background: rgba(14, 21, 30, .88); text-align: left; cursor: pointer; }
.notification-item:hover { border-color: var(--line-strong); }
.notification-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--blue); background: rgba(25, 75, 96, .3); font-size: 16px; }
.notification-item strong { font-size: 10px; }
.notification-item p { margin: 4px 0; color: var(--muted); font-size: 9px; }
.notification-item small { color: var(--faint); font-size: 8px; }
.empty-state-card { display: grid; min-height: 260px; place-items: center; align-content: center; padding: 30px; border: 1px dashed rgba(154, 185, 199, .18); border-radius: 18px; color: var(--muted); text-align: center; }
.empty-state-card svg { width: 40px; height: 40px; color: var(--blue); }
.empty-state-card strong { margin-top: 12px; color: var(--text); }
.empty-state-card p { margin: 6px 0 0; font-size: 9px; }

.support-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 16px; align-items: start; }
.ticket-panel { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(14, 20, 29, .88); }
.ticket-panel h2 { margin: 4px 0 15px; font-size: 17px; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.ticket-row > div { display: grid; min-width: 0; }
.ticket-row strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row span { margin-top: 3px; color: var(--faint); font-size: 8px; }
.ticket-row > small { padding: 4px 7px; border-radius: 999px; color: #a7ddc2; background: rgba(34, 97, 73, .2); font-size: 7px; font-weight: 850; text-transform: uppercase; }
.empty-copy { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.auth-required-card { display: grid; gap: 8px; padding: 18px; border: 1px solid rgba(85, 200, 241, .17); border-radius: 15px; background: rgba(23, 64, 82, .16); }
.auth-required-card strong { font-size: 13px; }
.auth-required-card p { margin: 0; color: var(--muted); font-size: 9px; }
.auth-required-card button { justify-self: start; margin-top: 4px; }

.faq-list { display: grid; gap: 9px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: rgba(14, 20, 29, .86); }
.faq-list summary { padding: 15px 17px; color: var(--text-soft); font-size: 11px; font-weight: 750; cursor: pointer; }
.faq-list details[open] summary { color: var(--blue-strong); border-bottom: 1px solid var(--line); }
.faq-list p { margin: 0; padding: 15px 17px 18px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.legal-document { display: grid; gap: 10px; }
.legal-document > section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(14, 20, 29, .86); }
.legal-document > section > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.legal-document h2 { margin: 0; font-size: 16px; }
.legal-document p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

.profile-avatar-wrap { position: relative; width: 112px; margin: 0 auto 17px; }
.profile-avatar-wrap .account-avatar { margin-bottom: 0; object-fit: cover; }
.avatar-upload-button { position: relative; z-index: 2; display: inline-flex; margin-top: 7px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(8, 14, 20, .92); font-size: 7px; font-weight: 800; cursor: pointer; }
.profile-activity-card { margin-top: 16px; padding: clamp(19px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(18, 25, 36, .97), rgba(10, 15, 22, .99)); }
.profile-tabs { margin: 16px 0 12px; }
.profile-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.danger-settings-card { border-color: rgba(255, 130, 126, .14); }
.danger-submit { margin-top: 3px; }

.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; background: rgba(2, 5, 8, .78); backdrop-filter: blur(8px); }
.post-modal-card { position: relative; width: min(720px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 21px; border: 1px solid rgba(85, 200, 241, .24); border-radius: 22px; background: #0c121a; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.modal-close { position: sticky; top: 0; z-index: 3; float: right; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(7, 12, 18, .92); font-size: 22px; cursor: pointer; }
.post-modal-photo { width: 100%; max-height: 420px; object-fit: contain; border-radius: 15px; background: #04070a; }
.modal-type { position: static; display: inline-block; margin-top: 15px; }
.post-modal-card h2 { margin: 9px 45px 0 0; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.08; }
.post-modal-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 9px; color: var(--faint); font-size: 8px; }
.post-modal-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 15px 0 0; }
.post-modal-card dl div { padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(5, 9, 14, .35); }
.post-modal-card dt { color: var(--faint); font-size: 7px; font-weight: 850; text-transform: uppercase; }
.post-modal-card dd { margin: 3px 0 0; font-size: 10px; }
.post-modal-notes { color: var(--text-soft); font-size: 10px; line-height: 1.65; }
.snapshot-row { display: flex; flex-wrap: wrap; gap: 6px; }
.snapshot-row span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 8px; }
.modal-actions { margin-bottom: 15px; }
.comments-panel { padding-top: 16px; border-top: 1px solid var(--line); }
.comments-heading { display: flex; align-items: center; justify-content: space-between; }
.comments-heading h3 { margin: 3px 0 0; font-size: 15px; }
.comments-heading > span { color: var(--blue); font-size: 11px; font-weight: 850; }
.comment-list { display: grid; gap: 8px; margin-top: 12px; }
.comment { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 9, 14, .35); }
.comment > div > div { display: flex; justify-content: space-between; gap: 10px; }
.comment strong { font-size: 9px; }
.comment small { color: var(--faint); font-size: 7px; }
.comment p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.comment-form textarea { min-width: 0; flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: rgba(5, 9, 14, .55); font: inherit; font-size: 10px; resize: vertical; }

.map-layer-divider { height: 1px; background: var(--line); }
.layer-swatch.catch { background: var(--blue); }
.layer-swatch.spot { background: var(--green); }
.layer-swatch.report { background: var(--amber); }
.layer-swatch.hazard { background: var(--danger); }
.map-flyout, .map-pin-sheet { position: absolute; z-index: 11; overflow: auto; border: 1px solid rgba(122, 220, 250, .22); border-radius: 17px; background: rgba(7, 14, 21, .96); box-shadow: 0 25px 58px rgba(0, 0, 0, .46); backdrop-filter: blur(20px) saturate(1.2); }
.map-flyout { top: 84px; left: 28px; width: min(390px, calc(100% - 56px)); max-height: calc(100% - 150px); padding: 15px; }
.map-conditions-panel { top: auto; bottom: 84px; }
.map-pin-sheet { right: 24px; bottom: 92px; left: 24px; width: min(680px, calc(100% - 48px)); max-height: calc(100% - 130px); margin: auto; padding: 17px; }
.map-flyout-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.map-flyout-heading > div { display: grid; }
.map-flyout-heading small { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.map-flyout-heading strong { margin-top: 3px; font-size: 11px; }
.map-flyout-heading > button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: rgba(255, 255, 255, .04); font-size: 20px; cursor: pointer; }
.map-search-form { display: flex; gap: 7px; margin-top: 12px; }
.map-search-form input { min-width: 0; min-height: 42px; flex: 1; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: rgba(3, 7, 11, .55); }
.map-search-form button { padding: 0 12px; border: 1px solid rgba(85, 200, 241, .27); border-radius: 11px; color: var(--blue-strong); background: rgba(24, 77, 99, .42); cursor: pointer; }
.map-flyout .inline-status { margin: 10px 0; }
.map-search-results { display: grid; gap: 6px; }
.condition-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 11px 0; }
.condition-metrics div { display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4, 8, 13, .45); }
.condition-metrics span { color: var(--faint); font-size: 7px; font-weight: 850; text-transform: uppercase; }
.condition-metrics strong { margin-top: 3px; font-size: 11px; }
.sheet-location { margin: 10px 0; color: var(--muted); font-size: 9px; }
.map-pin-form { display: grid; gap: 11px; }
.post-type-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.post-type-picker button { min-height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(5, 9, 14, .45); font-size: 8px; font-weight: 850; cursor: pointer; }
.post-type-picker button.is-active { color: var(--blue-strong); border-color: rgba(85, 200, 241, .3); background: rgba(26, 80, 103, .38); }
.map-pin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.map-pin-form label, .file-drop { display: grid; gap: 6px; color: #8fa0aa; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.map-pin-form input, .map-pin-form select, .map-pin-form textarea { width: 100%; min-height: 41px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: rgba(3, 7, 11, .55); font: inherit; font-size: 10px; letter-spacing: normal; text-transform: none; }
.map-pin-form textarea { min-height: 70px; padding-block: 9px; resize: vertical; }
.file-drop span { color: var(--faint); font-size: 7px; font-weight: 500; letter-spacing: normal; line-height: 1.45; text-transform: none; }

@media (max-width: 1120px) {
  .post-grid, .profile-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forecast-day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tide-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tide-strip > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .feature-header { align-items: flex-start; flex-direction: column; }
  .feature-header h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .search-workbench, .regulations-workbench { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .search-workbench > button { width: 100%; }
  .forecast-overview, .regulation-source-card { align-items: flex-start; flex-direction: column; }
  .forecast-score { min-width: 100px; min-height: 100px; border-radius: 28px; }
  .forecast-score strong { font-size: 34px; }
  .regulation-help-grid, .fish-result-grid { grid-template-columns: 1fr; }
  .fish-id-layout, .support-layout { grid-template-columns: 1fr; }
  .fish-photo-stage { min-height: 300px; }
  .map-flyout { top: 70px; left: 16px; width: calc(100% - 32px); max-height: calc(100% - 145px); }
  .map-conditions-panel { top: auto; bottom: calc(70px + env(safe-area-inset-bottom)); }
  .map-pin-sheet { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); left: 16px; width: calc(100% - 32px); max-height: calc(100% - 115px); }
}

@media (max-width: 620px) {
  .post-grid, .profile-post-grid, .forecast-day-grid { grid-template-columns: 1fr; }
  .feature-toolbar { align-items: stretch; flex-direction: column; }
  .segmented-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .segmented-control button { padding-inline: 7px; }
  .feature-search-form > div { align-items: stretch; flex-direction: column; }
  .tide-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fish-traits-form, .map-pin-grid { grid-template-columns: 1fr; }
  .fish-traits-form { min-height: 0; }
  .post-modal-card { padding: 15px; border-radius: 18px; }
  .post-modal-card dl { grid-template-columns: 1fr; }
  .comment-form { align-items: stretch; flex-direction: column; }
  .map-layers-panel { max-height: calc(100% - 145px); overflow-y: auto; }
  .map-pin-sheet { padding: 13px; }
  .post-type-picker button { font-size: 7px; }
}

/* Fluid responsive product pages, preserving the legacy information hierarchy */
.mirror-public-page,
.legacy-profile-page,
.legacy-settings-page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.mirror-public-page > *,
.legacy-profile-page > *,
.legacy-settings-page > * { min-width: 0; }

.mirror-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  grid-template-rows: auto auto 1fr;
  align-items: end;
  column-gap: clamp(32px, 5vw, 88px);
  padding: clamp(28px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(85, 200, 241, .12), transparent 28rem),
    linear-gradient(135deg, rgba(17, 29, 41, .98), rgba(9, 14, 21, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 24px 60px rgba(0, 0, 0, .16);
}

.mirror-public-hero > .panel-kicker { grid-column: 1; grid-row: 1; }

.mirror-public-hero h1 {
  grid-column: 1;
  grid-row: 2 / 4;
  max-width: 1100px;
  margin: 8px 0 0;
  font-size: clamp(1.75rem, 2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.mirror-public-hero p {
  grid-column: 2;
  grid-row: 2;
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mirror-update-pill {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(85, 200, 241, .2);
  border-radius: 999px;
  color: var(--blue-strong);
  background: rgba(24, 77, 99, .2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mirror-section-label {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Fish Identifier */
.fish-identifier-page { max-width: 1920px; }
.fish-identifier-workspace,
.mirror-results-panel {
  margin-top: 22px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 24, 34, .97), rgba(10, 15, 22, .98));
  box-shadow: 0 20px 45px rgba(0, 0, 0, .16);
}

.fish-identifier-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 34px);
}

.fish-photo-column { display: grid; min-width: 0; align-content: start; }

.fish-identify-controls {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0%, rgba(85, 200, 241, .1), transparent 19rem), rgba(5, 9, 14, .42);
}

.fish-identify-controls-header h2 { margin: 9px 0 0; font-size: clamp(1.45rem, 2.1vw, 2.15rem); }
.fish-identify-controls-header p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.fish-identifier-stage {
  display: grid;
  min-height: clamp(360px, 34vw, 560px);
  place-items: center;
  align-content: center;
  gap: 8px;
  margin-top: 13px;
  padding: 24px;
  border: 1px dashed rgba(85, 200, 241, .26);
  border-radius: 18px;
  color: var(--muted);
  background: radial-gradient(circle at 50% 30%, rgba(39, 126, 160, .13), transparent 18rem), rgba(5, 9, 14, .48);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}

.fish-identifier-stage:hover { border-color: rgba(85, 200, 241, .52); background-color: rgba(12, 25, 34, .7); }
.fish-identifier-stage-icon { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid rgba(85, 200, 241, .24); border-radius: 24px; color: var(--blue); background: rgba(23, 71, 91, .28); }
.fish-identifier-stage-icon svg { width: 38px; height: 38px; }
.fish-identifier-stage strong { margin-top: 4px; color: var(--text); font-size: 17px; }
.fish-identifier-stage > span:not(.fish-identifier-stage-icon) { max-width: 520px; font-size: 13px; line-height: 1.6; }
.fish-identifier-stage small { color: var(--faint); font-size: 10px; }

.fish-identifier-preview { position: relative; display: grid; min-height: clamp(360px, 34vw, 560px); margin-top: 13px; overflow: hidden; place-items: center; border: 1px solid var(--line); border-radius: 18px; background: #05090e; }
.fish-identifier-preview img { width: 100%; max-height: 520px; object-fit: contain; }
.fish-identifier-preview button { position: absolute; right: 12px; bottom: 12px; background: rgba(8, 14, 20, .9); backdrop-filter: blur(8px); }
.fish-identifier-location-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.fish-identifier-location-pill { display: inline-flex; min-width: 0; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(5, 9, 14, .46); font-size: 9px; font-weight: 750; }
.fish-identifier-location-pill svg { width: 15px; height: 15px; }
.fish-identifier-location-pill[data-tone="active"] { color: #a7ddc2; border-color: rgba(110, 215, 176, .25); background: rgba(34, 97, 73, .16); }
.fish-identifier-location-button { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(85, 200, 241, .22); border-radius: 13px; color: var(--blue-strong); background: rgba(23, 71, 91, .26); cursor: pointer; }
.fish-identifier-location-note { margin: 9px 0 0; color: var(--faint); font-size: 10px; line-height: 1.55; }
.fish-identifier-workspace .feature-status { margin: 22px 0 0; font-size: 12px; }
.fish-identifier-submit { width: 100%; margin-top: auto; }
.mirror-results-panel > p { margin: 8px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.fish-result-reference { width: calc(100% + 34px); height: 150px; margin: -17px -17px 15px; object-fit: cover; border-bottom: 1px solid var(--line); }

/* FAQ and legal documents */
.faq-jump-card,
.faq-category,
.legal-summary-card {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 25px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(14, 20, 29, .88);
}

.faq-jump-card h2,
.legal-summary-card h2 { margin: 0; font-size: 17px; }
.faq-jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.faq-jump-links a { padding: 7px 11px; border: 1px solid rgba(85, 200, 241, .18); border-radius: 999px; color: var(--text-soft); background: rgba(22, 63, 81, .2); font-size: 9px; font-weight: 750; text-decoration: none; }
.faq-jump-links a:hover { color: var(--blue-strong); border-color: var(--line-strong); }
.faq-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; align-items: start; }
.faq-category { margin-top: 0; scroll-margin-top: 90px; }
.faq-category > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.faq-category h2 { margin: 4px 0 0; font-size: 20px; }
.faq-category > header > strong { color: var(--blue); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.faq-category > p { margin: 13px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.faq-category .faq-list { gap: 0; }
.faq-category .faq-list details { border: 0; border-top: 1px solid rgba(154, 185, 199, .09); border-radius: 0; background: transparent; }
.faq-category .faq-list details:first-child { border-top: 0; }
.faq-category .faq-list summary { display: flex; align-items: center; gap: 10px; padding: 16px 0; list-style: none; font-size: 13px; }
.faq-category .faq-list summary::-webkit-details-marker { display: none; }
.faq-category .faq-list summary > span,
.faq-category .faq-list details > div > span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 8px; color: var(--blue-strong); background: rgba(27, 82, 104, .3); font-size: 8px; font-weight: 900; }
.faq-category .faq-list details > div { display: flex; align-items: flex-start; gap: 10px; padding: 0 0 16px; }
.faq-category .faq-list details > div > span { color: #a7ddc2; background: rgba(34, 97, 73, .22); }
.faq-category .faq-list p { padding: 1px 0 0; font-size: 12px; }
.legal-summary-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.legal-summary-rows article { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(5, 9, 14, .3); }
.legal-summary-rows article > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.legal-summary-rows span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.legal-summary-rows strong { font-size: 10px; text-align: right; }
.legal-summary-rows p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.legacy-legal-document { margin-top: 20px; }
.legacy-legal-document { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legacy-legal-document > section { border-width: 1px; border-radius: 18px; background: rgba(14, 20, 29, .72); }
.legacy-legal-document p { font-size: 12px; }

/* Profile */
.legacy-profile-page {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 20px;
  max-width: 1920px;
}
.legacy-profile-card,
.legacy-profile-activity {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 21, 30, .96), rgba(10, 14, 21, .98));
}
.legacy-profile-card { position: sticky; top: 0; }
.legacy-profile-title-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legacy-profile-title-row > span { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 850; }
.legacy-profile-title-row > span svg { color: var(--blue); }
.legacy-profile-title-row > div { display: flex; gap: 7px; }
.profile-signout-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(5, 9, 14, .4); cursor: pointer; }
.legacy-profile-identity { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 42px) 0 10px; text-align: center; }
.legacy-profile-identity .profile-avatar { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; }
.legacy-profile-identity h1 { margin: 0; font-size: clamp(1.75rem, 2vw, 2.2rem); line-height: 1.08; letter-spacing: -.03em; }
.legacy-profile-identity p { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.legacy-profile-identity .verified-badge { margin-top: 13px; }
.legacy-profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 13px; }
.legacy-profile-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: rgba(5, 9, 14, .35); font-size: 8px; }
.legacy-profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 23px 0 0; }
.legacy-profile-facts div { display: grid; gap: 3px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 9, 14, .35); }
.legacy-profile-facts dt { color: var(--faint); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.legacy-profile-facts dd { margin: 0; font-size: 10px; font-weight: 800; }
.legacy-profile-activity { margin-top: 0; }
.legacy-profile-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 14px; }
.legacy-profile-tabs button { display: grid; min-height: 96px; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 18px; color: var(--muted); background: rgba(5, 9, 14, .35); cursor: pointer; }
.legacy-profile-tabs button.is-active { color: var(--text); border-color: rgba(85, 200, 241, .36); background: linear-gradient(180deg, rgba(31, 83, 105, .34), rgba(13, 25, 34, .66)); }
.legacy-profile-tabs svg { width: 19px; height: 19px; color: var(--blue); }
.legacy-profile-tabs strong { font-size: 11px; }
.legacy-profile-tabs span { color: var(--text-soft); font-size: 10px; }

/* User settings */
.legacy-settings-page {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px 22px;
  max-width: 1920px;
}
.legacy-settings-header { display: grid; grid-column: 1; grid-row: 1; place-items: center; padding: 26px 20px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(17, 24, 34, .96), rgba(10, 15, 22, .98)); text-align: center; }
.legacy-settings-avatar { display: grid; width: 118px; height: 118px; place-items: center; overflow: hidden; border: 1px solid rgba(85, 200, 241, .3); border-radius: 50%; color: var(--blue-strong); background: linear-gradient(145deg, #1b5269, #101d29); font-size: 34px; font-weight: 900; cursor: pointer; box-shadow: 0 16px 36px rgba(0, 0, 0, .26); }
.legacy-settings-avatar img { width: 100%; height: 100%; object-fit: cover; }
.legacy-settings-header h1 { margin: 13px 0 0; font-size: 22px; }
.legacy-settings-avatar-action { margin-top: 6px; color: var(--blue); font-size: 9px; font-weight: 800; cursor: pointer; }
.legacy-settings-tabs { display: grid; grid-column: 1; grid-row: 2; grid-template-columns: 1fr; gap: 6px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 15, 22, .74); }
.legacy-settings-tabs button { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); min-height: 54px; align-items: center; justify-items: start; gap: 10px; padding: 0 13px; border: 0; border-radius: 13px; color: var(--faint); background: transparent; cursor: pointer; }
.legacy-settings-tabs button::after { position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; border-radius: 3px; background: transparent; content: ""; }
.legacy-settings-tabs button.is-active { color: var(--blue-strong); }
.legacy-settings-tabs button.is-active { background: rgba(25, 74, 95, .25); }
.legacy-settings-tabs button.is-active::after { background: var(--blue); }
.legacy-settings-tabs svg { width: 20px; height: 20px; }
.legacy-settings-tabs span { font-size: 11px; font-weight: 800; text-align: left; }
.legacy-settings-grid { grid-column: 2; grid-row: 1 / 3; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); margin: 0; }
.legacy-settings-page .account-card-heading p,
.legacy-settings-page .account-card-copy,
.legacy-settings-page .field-help { font-size: 11px; }
.legacy-settings-page .account-form label { font-size: 10px; }
.legacy-profile-settings-form { margin-bottom: 0; }
.legacy-profile-settings-form .account-form-grid { grid-template-columns: 1fr; }
.legacy-settings-subheading { margin-top: 18px; }
.compact-verification-banner { margin: 15px 0; padding: 12px; }
.legacy-settings-support-card .secondary-button { width: 100%; margin-top: 13px; }
.legacy-settings-page[data-active-settings-tab="social"] .settings-account-stack,
.legacy-settings-page[data-active-settings-tab="support"] .settings-account-stack { grid-column: 1 / -1; }
.legacy-settings-page[data-active-settings-tab="support"] .settings-account-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.legacy-support-form-card { padding: clamp(18px, 4vw, 28px); }
.legacy-support-submit { width: 100%; }
.legacy-support-layout { margin-top: 20px; }
.legacy-support-note { margin: -2px 0 0; color: var(--faint); font-size: 10px; line-height: 1.55; }

/* Remaining legacy user-facing screens */
.mirror-feed-page { width: 100%; max-width: 1920px; }
.legacy-feed-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(14, 20, 29, .86); }
.legacy-feed-intro p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
#catch-feed-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); }
#catch-feed-list .post-card { border-radius: 22px; }
#catch-feed-list .post-media { aspect-ratio: 16 / 10; }
.legacy-planning-workbench { margin-top: 20px; }
.notifications-legacy-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(17, 24, 34, .96), rgba(10, 15, 22, .98)); }
.notifications-legacy-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(85, 200, 241, .22); border-radius: 18px; color: var(--blue); background: rgba(23, 71, 91, .25); }
.notifications-legacy-icon svg { width: 28px; height: 28px; }
.notifications-legacy-hero h1 { margin: 0; font-size: clamp(1.7rem, 2.2vw, 2.3rem); }
.notifications-legacy-hero p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.notifications-legacy-panel { margin-top: 16px; padding: clamp(18px, 4vw, 26px); border: 1px solid var(--line); border-radius: 22px; background: rgba(14, 20, 29, .88); }
.notifications-legacy-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.notifications-legacy-tabs button { position: relative; display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 7px; border: 0; color: var(--faint); background: transparent; font-size: 9px; font-weight: 850; cursor: pointer; }
.notifications-legacy-tabs button::after { position: absolute; right: 28%; bottom: -1px; left: 28%; height: 2px; background: transparent; content: ""; }
.notifications-legacy-tabs button.is-active { color: var(--blue-strong); }
.notifications-legacy-tabs button.is-active::after { background: var(--blue); }
.notifications-legacy-tabs svg { width: 18px; height: 18px; }
.notifications-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0 10px; }
.notifications-section-heading strong { font-size: 12px; }
.notifications-section-heading span { color: var(--faint); font-size: 8px; }
.notifications-legacy-hero p { font-size: 12px; }
.notifications-legacy-panel .notification-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notifications-legacy-panel .notification-item strong { font-size: 12px; }
.notifications-legacy-panel .notification-item p { font-size: 11px; }
.legacy-support-layout .account-form label { font-size: 10px; }
.legacy-support-layout .ticket-panel { min-height: 100%; }

@media (max-width: 1600px) {
  .legacy-settings-grid { grid-template-columns: 1fr; }
  .settings-account-stack { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
  .legacy-profile-page { grid-template-columns: 1fr; }
  .legacy-profile-card { position: static; }
  .legacy-profile-identity { grid-template-columns: 150px minmax(0, 1fr); justify-items: start; text-align: left; }
  .legacy-profile-identity .profile-avatar { width: 150px; height: 150px; }
  .legacy-profile-tags { justify-content: flex-start; }

  .legacy-settings-page { display: block; }
  .legacy-settings-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px 20px;
    text-align: left;
  }
  .legacy-settings-avatar { width: 82px; height: 82px; font-size: 27px; }
  .legacy-settings-header h1 { margin: 0; font-size: 25px; }
  .legacy-settings-avatar-action { margin: 0; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 11px; }
  .legacy-settings-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
  .legacy-settings-tabs button { display: grid; grid-template-columns: auto minmax(0, auto); justify-content: center; justify-items: center; min-height: 58px; }
  .legacy-settings-tabs button::after { top: auto; right: 20%; bottom: -1px; left: 20%; width: auto; height: 2px; }
  .legacy-settings-grid { grid-template-columns: 1fr; }
  .fish-identifier-workspace { grid-template-columns: 1fr; }
  .fish-identify-controls { min-height: 330px; }
}

@media (max-width: 1100px) {
  .mirror-public-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
  }
  .mirror-public-hero > .panel-kicker,
  .mirror-public-hero h1,
  .mirror-public-hero p,
  .mirror-update-pill { grid-column: 1; grid-row: auto; }
  .mirror-public-hero p { max-width: 780px; margin-top: 16px; }
  .support-layout { grid-template-columns: 1fr; }
  .legacy-support-layout .ticket-panel { min-height: 0; }
  .legal-summary-rows { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .faq-category-list,
  .legacy-legal-document,
  .notifications-legacy-panel .notification-list { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .mirror-public-hero { padding: 26px 22px; border-radius: 22px; }
  .mirror-public-hero p { font-size: 13px; }
  .legacy-profile-identity { grid-template-columns: 120px minmax(0, 1fr); }
  .legacy-profile-identity .profile-avatar { width: 120px; height: 120px; }
  .legacy-settings-grid { grid-template-columns: 1fr; }
  .settings-account-stack { display: contents; }
}

@media (max-width: 620px) {
  .mirror-public-hero { padding: 22px 18px; border-radius: 19px; }
  .mirror-public-hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); line-height: 1.14; }
  .mirror-public-hero p { font-size: 12px; line-height: 1.65; }
  .fish-identifier-workspace,
  .mirror-results-panel { padding: 15px; border-radius: 18px; }
  .fish-identifier-stage, .fish-identifier-preview { min-height: 260px; }
  .fish-identify-controls { min-height: 0; padding: 18px; }
  .fish-identifier-submit { margin-top: 22px; }
  .faq-jump-card,
  .faq-category,
  .legal-summary-card { padding: 17px; border-radius: 17px; }
  .faq-category > header { align-items: flex-start; flex-direction: column; }
  .legal-summary-rows article > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .legal-summary-rows strong { text-align: left; }
  .legal-document > section { grid-template-columns: 34px minmax(0, 1fr); padding: 16px; }
  .legacy-profile-card,
  .legacy-profile-activity { padding: 17px; border-radius: 19px; }
  .legacy-profile-title-row { align-items: flex-start; }
  .legacy-profile-title-row > div { flex-direction: column-reverse; align-items: flex-end; }
  .legacy-profile-identity { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .legacy-profile-identity .profile-avatar { width: 124px; height: 124px; }
  .legacy-profile-tags { justify-content: center; }
  .legacy-profile-facts { grid-template-columns: 1fr; }
  .legacy-profile-tabs { gap: 6px; }
  .legacy-profile-tabs button { min-height: 84px; padding: 6px; }
  .legacy-profile-tabs strong { font-size: 9px; }
  .legacy-settings-header {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 14px;
    padding: 15px;
  }
  .legacy-settings-avatar { grid-column: 1; grid-row: 1 / 3; width: 72px; height: 72px; }
  .legacy-settings-header h1 { grid-column: 2; grid-row: 1; align-self: end; font-size: 20px; }
  .legacy-settings-avatar-action { grid-column: 2; grid-row: 2; align-self: start; padding: 0; border: 0; }
  .legacy-settings-tabs { padding: 6px; }
  .legacy-settings-tabs button { grid-template-columns: 1fr; align-content: center; gap: 4px; min-height: 64px; padding: 5px; text-align: center; }
  .legacy-settings-tabs span { display: block; font-size: 8px; text-align: center; }
  .legacy-feed-intro { align-items: flex-start; flex-direction: column; }
  .legacy-feed-intro .primary-button { width: 100%; }
  .notifications-legacy-hero { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .notifications-legacy-hero > button { grid-column: 1 / -1; width: 100%; }
  .notifications-legacy-panel { padding: 16px; }
}

/* Professional coastal-companion redesign — 2026-08-12 */
:root {
  --bg: #070b10;
  --bg-soft: #0a1118;
  --sidebar: #081018;
  --panel: #101923;
  --panel-strong: #14212d;
  --panel-soft: #0c141d;
  --line: rgba(160, 190, 204, .15);
  --line-strong: rgba(95, 204, 242, .34);
  --text: #f4f8fa;
  --text-soft: #c9d5db;
  --muted: #91a2ac;
  --faint: #687b86;
  --blue: #58cef7;
  --blue-strong: #9be8ff;
  --green: #70ddb4;
  --amber: #f1c66d;
  --danger: #ff8580;
  --sidebar-width: 286px;
  --sidebar-collapsed: 84px;
  --topbar-height: 72px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

body {
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 82% -8%, rgba(40, 147, 188, .1), transparent 34rem),
    linear-gradient(180deg, #080d13, var(--bg));
}

button,
input,
select,
textarea { font: inherit; }

.sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(58, 176, 219, .1), transparent 22rem),
    linear-gradient(180deg, #0b141d, #070d13 76%);
}

.sidebar-brand {
  min-height: 92px;
  padding: 15px 18px;
}

.brand-button { gap: 13px; }

.brand-logo {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 15px;
}

.brand-logo img { width: 40px; height: 40px; }
.brand-copy strong { font-size: 16px; font-weight: 780; }
.brand-copy small { margin-top: 5px; font-size: 10px; letter-spacing: .12em; }

.sidebar-nav { padding: 20px 15px; }
.nav-group + .nav-group { margin-top: 24px; }

.nav-group-toggle {
  padding: 0 11px 9px;
  color: #718691;
  font-size: 10px;
  letter-spacing: .15em;
}

.nav-group-items { gap: 5px; }

.nav-link,
.collapse-button {
  min-height: 46px;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  color: #98a8b1;
  font-size: 13px;
  font-weight: 680;
}

.nav-link svg,
.collapse-button svg { width: 20px; height: 20px; }

.nav-link.is-active {
  color: #f2fbfe;
  border-color: rgba(88, 206, 247, .34);
  background:
    linear-gradient(90deg, rgba(31, 111, 142, .48), rgba(18, 61, 80, .42));
  box-shadow: inset 3px 0 var(--blue), 0 10px 24px rgba(0, 0, 0, .15);
}

.sidebar-footer { padding: 14px 15px max(16px, env(safe-area-inset-bottom)); }

.workspace {
  background:
    radial-gradient(circle at 88% 0%, rgba(46, 153, 194, .09), transparent 34rem),
    linear-gradient(180deg, #090f16, #070b10);
}

.topbar {
  padding: 0 clamp(20px, 2vw, 34px);
  background: rgba(8, 13, 19, .9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.page-heading { gap: 12px; }
.page-heading-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
.page-heading-icon svg { width: 19px; height: 19px; }
.page-heading small { color: #728590; font-size: 10px; }
.page-heading strong { margin-top: 4px; font-size: 14px; font-weight: 760; }

.preview-status {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

.sign-in-button { min-height: 40px; padding: 0 14px; font-size: 13px; }

.main-content {
  padding: clamp(24px, 2.1vw, 36px) clamp(20px, 2.4vw, 42px) 54px;
}

.map-view,
.placeholder-view,
.signin-view,
.feature-view,
.mirror-public-page,
.mirror-feed-page,
.legacy-profile-page,
.legacy-settings-page,
.account-view {
  width: 100%;
  max-width: none;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  gap: 9px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 780;
}

.compact-button { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.primary-button svg,
.secondary-button svg { width: 17px; height: 17px; }

.panel-kicker,
.eyebrow,
.mirror-section-label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Shared page mastheads */
.mirror-public-hero {
  position: relative;
  display: grid;
  min-height: 224px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  grid-template-rows: auto auto 1fr auto;
  align-items: end;
  column-gap: clamp(36px, 5vw, 90px);
  padding: clamp(34px, 3.5vw, 54px);
  border-color: rgba(122, 202, 232, .2);
  border-radius: 26px;
  background:
    linear-gradient(110deg, rgba(13, 27, 38, .98) 0 58%, rgba(12, 34, 46, .94)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 26px 70px rgba(0, 0, 0, .16);
}

.mirror-public-hero::after {
  position: absolute;
  right: -82px;
  bottom: -118px;
  width: 360px;
  height: 240px;
  border: 1px solid rgba(88, 206, 247, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(88, 206, 247, .02), 0 0 0 84px rgba(88, 206, 247, .012);
  content: "";
  pointer-events: none;
}

.mirror-public-hero > .panel-kicker { grid-column: 1; grid-row: 1; align-self: start; }

.mirror-public-hero h1 {
  grid-column: 1;
  grid-row: 2 / 5;
  align-self: center;
  max-width: 920px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 2.55vw, 3rem);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.mirror-public-hero p {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  max-width: 680px;
  margin: 0;
  color: #a3b3bc;
  font-size: 15px;
  line-height: 1.7;
}

.hero-highlights {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 2;
  grid-row: 3;
  flex-wrap: wrap;
  align-self: start;
  gap: 8px;
  margin-top: 18px;
}

.hero-highlights span,
.mirror-update-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(88, 206, 247, .22);
  border-radius: 999px;
  color: #bcecff;
  background: rgba(24, 77, 99, .24);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .02em;
  text-transform: none;
}

.mirror-update-pill {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 4;
  justify-self: start;
  margin-top: 12px;
  color: #a5dac4;
  border-color: rgba(112, 221, 180, .22);
  background: rgba(31, 89, 68, .2);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Catch Feed */
.legacy-feed-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 20px;
  padding: clamp(26px, 3vw, 40px);
  border-color: rgba(122, 202, 232, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(88, 206, 247, .11), transparent 24rem),
    linear-gradient(145deg, rgba(16, 31, 43, .98), rgba(11, 18, 27, .98));
}

.legacy-feed-intro h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.legacy-feed-intro p { max-width: 760px; margin: 10px 0 0; font-size: 15px; line-height: 1.65; }

.feature-toolbar {
  gap: 18px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(11, 18, 26, .72);
}

.segmented-control { gap: 6px; padding: 4px; border: 0; background: transparent; }
.segmented-control button { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 12px; }

.feature-status,
.inline-status { margin-bottom: 17px; font-size: 13px; line-height: 1.55; }

.post-grid { gap: 20px; }
#catch-feed-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.post-card { border-radius: 20px; }
.post-card-body { padding: 18px; }
.post-author strong { font-size: 13px; }
.post-author small { font-size: 11px; }
.mini-avatar { width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; }
.post-title-button { margin-top: 15px; }
.post-title-button strong { font-size: 18px; }
.post-title-button span { font-size: 12px; }
.post-card-body > p { font-size: 13px; }
.post-actions button { min-height: 36px; padding-inline: 9px; font-size: 11px; }
.post-type-badge { padding: 6px 9px; font-size: 10px; }

/* Planning tools */
.search-workbench,
.legacy-planning-workbench {
  gap: 16px;
  margin-top: 22px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(16, 25, 35, .94), rgba(11, 17, 25, .94));
}

.feature-search-form > label,
.search-workbench > label,
.fish-traits-form label,
.account-form label,
.map-pin-form label,
.file-drop {
  color: #9aabb4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.feature-search-form input,
.search-workbench input,
.search-workbench select,
.fish-traits-form select {
  min-height: 50px;
  padding: 0 15px;
  border-radius: 13px;
  font-size: 14px;
}

.data-attribution,
.search-attribution {
  margin: -2px 0 15px;
  color: #6f828d;
  font-size: 10px;
  line-height: 1.55;
}

.location-result { padding: 14px 15px; }
.location-result strong { font-size: 14px; }
.location-result span { font-size: 12px; }

.legal-notice { gap: 12px; margin-bottom: 16px; padding: 14px 15px; border-radius: 14px; }
.legal-notice p { font-size: 12px; line-height: 1.6; }

.forecast-overview p,
.regulation-source-card p { font-size: 14px; }
.forecast-source-row span { font-size: 11px; }
.tide-strip h3 { font-size: 17px; }
.tide-strip strong,
.tide-strip span { font-size: 12px; }
.tide-strip small { font-size: 11px; }
.forecast-day-top small { font-size: 10px; }
.forecast-day-top strong { font-size: 15px; }
.forecast-day-top > span small { font-size: 9px; }
.forecast-day-card dt { font-size: 10px; }
.forecast-day-card dd { font-size: 11px; }
.forecast-disclaimer { font-size: 11px; }
.regulation-help-grid strong { font-size: 13px; }
.regulation-help-grid p { font-size: 12px; }

/* Fish Identifier */
.fish-identifier-workspace,
.mirror-results-panel {
  margin-top: 22px;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 22px;
}

.fish-identifier-workspace {
  grid-template-columns: minmax(0, 1.5fr) minmax(350px, .5fr);
  gap: clamp(20px, 2vw, 32px);
}

.fish-identifier-stage,
.fish-identifier-preview { min-height: clamp(390px, 33vw, 530px); }
.fish-identifier-stage { gap: 10px; margin-top: 14px; }
.fish-identifier-stage strong { font-size: 19px; }
.fish-identifier-stage > span:not(.fish-identifier-stage-icon) { font-size: 14px; }
.fish-identifier-stage small { font-size: 11px; }
.fish-identify-controls { padding: clamp(24px, 2.4vw, 34px); }
.fish-identify-controls-header h2 { font-size: clamp(1.55rem, 2vw, 2rem); }
.fish-identify-controls-header p { font-size: 14px; }
.fish-identifier-location-pill { min-height: 38px; padding-inline: 12px; font-size: 12px; }
.fish-identifier-location-button { width: 46px; height: 46px; flex-basis: 46px; }
.fish-identifier-location-note { font-size: 12px; }
.fish-identifier-workspace .feature-status { font-size: 13px; }
.mirror-results-panel > p { font-size: 13px; }
.fish-result-rank { font-size: 10px; }
.fish-result-card > p { font-size: 12px; }

/* Notifications */
.notifications-legacy-hero {
  gap: 20px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px;
}

.notifications-legacy-icon { width: 64px; height: 64px; border-radius: 19px; }
.notifications-legacy-hero h1 { margin-top: 5px; font-size: clamp(2rem, 2.4vw, 2.75rem); }
.notifications-legacy-hero p { max-width: 720px; margin-top: 8px; font-size: 14px; }
.notifications-legacy-panel { margin-top: 20px; padding: clamp(22px, 3vw, 32px); }
.notifications-legacy-tabs button { min-height: 58px; font-size: 13px; }
.notifications-section-heading strong { font-size: 15px; }
.notifications-section-heading span { font-size: 12px; }
.notification-item { padding: 17px; }
.notifications-legacy-panel .notification-item strong { font-size: 14px; }
.notifications-legacy-panel .notification-item p { font-size: 13px; }
.notification-item small { font-size: 11px; }
.empty-state-card p { font-size: 13px; }
.feed-empty-state,
.profile-empty-state { grid-column: 1 / -1; min-height: 300px; }
.feed-empty-state .primary-button,
.profile-empty-state .primary-button { margin-top: 18px; }

/* Support */
.legacy-support-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, .6fr);
  gap: 22px;
  margin-top: 22px;
}

.legacy-support-form-card,
.ticket-panel { border-radius: 21px; }

.legacy-support-form-card { padding: clamp(22px, 3vw, 32px); }
.legacy-support-layout .account-form label { font-size: 11px; }
.legacy-support-note { font-size: 12px; }
.ticket-panel { min-height: 100%; padding: clamp(22px, 3vw, 30px); }
.ticket-panel h2 { font-size: 21px; }
.ticket-row strong { font-size: 13px; }
.ticket-row span { font-size: 11px; }
.ticket-row > small { font-size: 10px; }
.empty-copy { font-size: 13px; }

.legacy-support-form-card:has(#support-auth-required:not([hidden])) {
  display: grid;
  min-height: 270px;
  align-content: stretch;
}

.auth-required-card {
  min-height: 100%;
  align-content: center;
  gap: 11px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 18px;
}

.auth-required-card strong { font-size: 18px; }
.auth-required-card p { max-width: 540px; font-size: 13px; }
.auth-required-card button { margin-top: 8px; }

/* FAQ and legal */
.faq-jump-card,
.faq-category,
.legal-summary-card {
  margin-top: 22px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 21px;
}

.faq-jump-card h2,
.legal-summary-card h2 { font-size: 21px; }
.faq-jump-links { gap: 10px; margin-top: 16px; }
.faq-jump-links a { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; font-size: 12px; }
.faq-category-list { gap: 22px; margin-top: 22px; }
.faq-category h2 { font-size: 24px; }
.faq-category > header > strong { font-size: 11px; }
.faq-category > p { margin: 16px 0; font-size: 14px; }
.faq-category .faq-list summary { gap: 12px; padding: 18px 0; font-size: 14px; line-height: 1.5; }
.faq-category .faq-list summary > span,
.faq-category .faq-list details > div > span { width: 28px; height: 28px; flex-basis: 28px; font-size: 10px; }
.faq-category .faq-list details > div { gap: 12px; padding-bottom: 18px; }
.faq-category .faq-list p { font-size: 14px; line-height: 1.7; }

.legal-summary-rows { gap: 16px; margin-top: 18px; }
.legal-summary-rows article { padding: 20px; }
.legal-summary-rows span { font-size: 10px; }
.legal-summary-rows strong { font-size: 13px; }
.legal-summary-rows p { font-size: 13px; }
.legacy-legal-document { gap: 18px; margin-top: 22px; }
.legacy-legal-document > section { gap: 17px; padding: 23px; border-radius: 19px; }
.legal-document > section > span { font-size: 12px; }
.legal-document h2 { font-size: 19px; }
.legacy-legal-document p { font-size: 14px; line-height: 1.72; }

/* Profile */
.legacy-profile-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.legacy-profile-card,
.legacy-profile-activity {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 24px;
}

.legacy-profile-card { position: static; }
.legacy-profile-title-row { padding-bottom: 20px; }
.legacy-profile-title-row > span { font-size: 18px; }
.profile-signout-button { width: 40px; height: 40px; }

.legacy-profile-identity {
  grid-template-columns: 132px minmax(0, 1fr);
  justify-items: start;
  gap: clamp(24px, 3vw, 42px);
  padding: 30px 0 4px;
  text-align: left;
}

.legacy-profile-identity .profile-avatar { width: 132px; height: 132px; }
.legacy-profile-identity h1 { font-size: clamp(2rem, 2.5vw, 2.8rem); }
.legacy-profile-identity p { margin-top: 11px; font-size: 15px; }
.legacy-profile-activity { margin-top: 0; }
.legacy-profile-tabs { gap: 12px; margin: 22px 0 17px; }
.legacy-profile-tabs button { min-height: 88px; border-radius: 16px; }
.legacy-profile-tabs strong { font-size: 13px; }
.legacy-profile-tabs span { font-size: 12px; }

/* Settings */
.legacy-settings-page {
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  gap: 20px 24px;
}

.legacy-settings-header { padding: 28px 22px; border-radius: 22px; }
.legacy-settings-avatar { width: 112px; height: 112px; }
.legacy-settings-header h1 { margin-top: 15px; font-size: 24px; }
.legacy-settings-avatar-action { margin-top: 7px; font-size: 11px; }
.legacy-settings-tabs { gap: 7px; padding: 11px; }
.legacy-settings-tabs button { min-height: 58px; font-size: 13px; }
.legacy-settings-tabs span { font-size: 13px; }

.legacy-settings-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 20px;
}

.settings-account-stack { gap: 20px; }
.account-card { padding: clamp(22px, 2.4vw, 30px); }
.account-card-heading { padding-bottom: 20px; }
.account-card-heading h2 { font-size: 21px; }
.legacy-settings-page .account-card-heading p,
.legacy-settings-page .account-card-copy,
.legacy-settings-page .field-help { font-size: 13px; }
.legacy-settings-page .account-form label { font-size: 11px; }
.account-form { gap: 19px; margin-top: 20px; }
.account-form input,
.account-form select { min-height: 50px; padding-inline: 14px; font-size: 14px; }
.account-form textarea { min-height: 132px; padding: 13px 14px; font-size: 14px; }
.field-help { font-size: 11px; }
.verification-banner { gap: 16px; padding: 15px; }
.verification-banner strong { font-size: 13px; }
.verification-banner p { font-size: 11px; }
.current-email-row small { font-size: 10px; }
.current-email-row strong { font-size: 13px; }
.verified-badge { padding: 6px 9px; font-size: 10px; }
.form-message { padding: 12px 13px; font-size: 12px; }
.text-danger-button strong { font-size: 12px; }
.text-danger-button small { font-size: 11px; }

/* Member access */
.signin-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
  gap: 22px;
  min-height: min(720px, calc(100dvh - var(--topbar-height) - 82px));
}

.signin-brand-panel,
.signin-card { border-radius: 24px; }
.signin-brand-panel { padding: clamp(38px, 5vw, 78px); }
.signin-brand-panel h1 { font-size: clamp(2.5rem, 3.6vw, 3.8rem); }
.signin-brand-panel p { max-width: 650px; font-size: 15px; }
.signin-brand-panel li { font-size: 13px; }
.signin-card { padding: clamp(26px, 3.4vw, 42px); }
.signin-card .card-heading small { font-size: 10px; }
.signin-card .card-heading h2 { font-size: 17px; }
.auth-tabs button { min-height: 44px; font-size: 12px; }
.signin-card form label { font-size: 11px; }
.signin-card form input { min-height: 50px; font-size: 14px; }
.session-note,
.text-button,
.signin-note { font-size: 11px; }

/* Map controls and panels */
.map-overlay-button > span {
  position: absolute;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(88, 206, 247, .22);
  border-radius: 9px;
  color: #d7e7ed;
  background: rgba(7, 15, 22, .94);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}

.map-overlay-search > span,
.map-overlay-weather > span { left: calc(100% + 10px); transform: translateX(-4px); }
.map-overlay-filter > span,
.map-overlay-locate > span { right: calc(100% + 10px); transform: translateX(4px); }
.map-overlay-add > span { bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); }
.map-overlay-button:hover > span,
.map-overlay-button:focus-visible > span { opacity: 1; transform: translate(0); }
.map-overlay-add:hover > span,
.map-overlay-add:focus-visible > span { transform: translate(-50%, 0); }

.map-layers-panel { width: min(340px, calc(100% - 36px)); border-radius: 18px; }
.map-layers-heading { padding: 15px; }
.map-layers-heading small,
.map-flyout-heading small { font-size: 10px; }
.map-layers-heading strong,
.map-flyout-heading strong { font-size: 13px; }
.map-layer-option { padding: 13px 15px; }
.map-layer-option strong { font-size: 12px; }
.map-layer-option small { font-size: 10px; }
.map-layers-panel > p { padding: 12px 15px 14px; font-size: 10px; }
.map-flyout { width: min(430px, calc(100% - 56px)); padding: 18px; }
.map-search-form input { min-height: 46px; font-size: 13px; }
.map-search-form button { min-height: 46px; font-size: 12px; }
.condition-metrics span { font-size: 10px; }
.condition-metrics strong { font-size: 13px; }
.map-pin-sheet { width: min(760px, calc(100% - 48px)); padding: 20px; }
.post-type-picker button { min-height: 40px; font-size: 11px; }
.map-pin-form input,
.map-pin-form select,
.map-pin-form textarea { min-height: 46px; font-size: 13px; }
.file-drop span { font-size: 11px; }
.sheet-location { font-size: 12px; }

/* Dynamic cards and modal content */
.post-modal-meta { font-size: 11px; }
.post-modal-card dt { font-size: 10px; }
.post-modal-card dd { font-size: 13px; }
.post-modal-notes { font-size: 13px; }
.snapshot-row span { font-size: 11px; }
.comment strong { font-size: 12px; }
.comment small { font-size: 10px; }
.comment p { font-size: 12px; }
.comment-form textarea { font-size: 13px; }
.toast p { font-size: 12px; }

@media (max-width: 1600px) {
  .legacy-settings-grid { grid-template-columns: 1fr; }
  .settings-account-stack { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
  .mirror-public-hero { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); }
  .legacy-settings-page { display: block; }
  .legacy-settings-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-bottom: 16px;
  }
  .legacy-settings-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
  .legacy-settings-tabs button { grid-template-columns: auto minmax(0, auto); justify-content: center; }
}

@media (max-width: 1100px) {
  .mirror-public-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
  }

  .mirror-public-hero > .panel-kicker,
  .mirror-public-hero h1,
  .mirror-public-hero p,
  .hero-highlights,
  .mirror-update-pill { grid-column: 1; grid-row: auto; }
  .mirror-public-hero h1 { align-self: auto; }
  .mirror-public-hero p { max-width: 820px; margin-top: 18px; }
  .hero-highlights { margin-top: 17px; }
  .fish-identifier-workspace { grid-template-columns: 1fr; }
  .fish-identify-controls { min-height: 0; }
  .legacy-support-layout { grid-template-columns: 1fr; }
  .ticket-panel { min-height: 0; }
}

@media (max-width: 900px) {
  .faq-category-list,
  .legacy-legal-document,
  .notifications-legacy-panel .notification-list { grid-template-columns: 1fr; }
  .legal-summary-rows { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --topbar-height: 60px; }

  .sidebar-brand { min-height: 86px; }
  .sidebar-nav { padding: 18px 14px; }
  .nav-link { min-height: 48px; font-size: 14px; }
  .topbar { padding: 0 14px; }
  .page-heading strong { font-size: 15px; }
  .main-content { padding: 18px 16px max(28px, env(safe-area-inset-bottom)); }

  .mirror-public-hero {
    padding: 25px 22px;
    border-radius: 21px;
  }

  .mirror-public-hero h1 { margin-top: 10px; font-size: clamp(1.8rem, 7vw, 2.2rem); line-height: 1.1; }
  .mirror-public-hero p { margin-top: 15px; font-size: 14px; line-height: 1.65; }
  .hero-highlights { gap: 7px; margin-top: 16px; }
  .hero-highlights span { min-height: 29px; font-size: 10px; }

  .legacy-feed-intro { grid-template-columns: 1fr; align-items: start; padding: 24px 21px; }
  .legacy-feed-intro h1 { font-size: 1.9rem; }
  .legacy-feed-intro p { font-size: 14px; }
  .legacy-feed-intro .primary-button { width: 100%; }

  .feature-toolbar { align-items: stretch; flex-direction: column; padding: 8px; }
  .feature-toolbar > .secondary-button { width: 100%; }

  .search-workbench,
  .legacy-planning-workbench { padding: 18px; }

  .notifications-legacy-hero { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
  .notifications-legacy-hero > button { grid-column: 1 / -1; width: 100%; }

  .legacy-profile-card,
  .legacy-profile-activity { padding: 20px; }
  .legacy-profile-identity { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; }
  .legacy-profile-identity .profile-avatar { width: 104px; height: 104px; }

  .legacy-settings-header { padding: 18px; }
  .legacy-settings-avatar { width: 78px; height: 78px; }
  .legacy-settings-header h1 { font-size: 22px; }

  .signin-layout { grid-template-columns: 1fr; min-height: 0; }
  .signin-brand-panel { min-height: 390px; }
  .signin-brand-panel h1 { font-size: clamp(2.25rem, 6vw, 2.75rem); }

  .map-overlay-button > span { display: none; }
  .map-flyout { width: calc(100% - 32px); padding: 16px; }

  .feature-search-form input,
  .search-workbench input,
  .search-workbench select,
  .account-form input,
  .account-form select,
  .account-form textarea,
  .signin-card form input,
  .map-search-form input,
  .map-pin-form input,
  .map-pin-form select,
  .map-pin-form textarea,
  .comment-form textarea { font-size: 16px; }

  .signin-card input[type="text"],
  .signin-card input[type="email"],
  .signin-card input[type="password"] { font-size: 16px; }
}

@media (max-width: 620px) {
  .main-content { padding-inline: 16px; }
  .primary-button,
  .secondary-button { min-height: 46px; font-size: 13px; }
  .panel-kicker,
  .eyebrow,
  .mirror-section-label { font-size: 10px; }

  .mirror-public-hero { padding: 23px 20px; }
  .mirror-public-hero h1 { font-size: clamp(1.75rem, 7.7vw, 2.05rem); }
  .mirror-public-hero p { font-size: 14px; }

  .segmented-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .segmented-control button { padding-inline: 7px; font-size: 11px; }

  .fish-identifier-workspace,
  .mirror-results-panel { padding: 16px; }
  .fish-identifier-stage,
  .fish-identifier-preview { min-height: 290px; }
  .fish-identifier-stage { padding: 20px; }
  .fish-identifier-stage strong { font-size: 17px; }
  .fish-identify-controls { padding: 20px; }

  .faq-jump-card,
  .faq-category,
  .legal-summary-card { padding: 20px; }
  .faq-category > header { align-items: flex-start; flex-direction: column; }
  .faq-category h2 { font-size: 22px; }
  .faq-category .faq-list summary,
  .faq-category .faq-list p { font-size: 14px; }

  .legacy-profile-title-row { align-items: flex-start; }
  .legacy-profile-title-row > div { flex-direction: row; align-items: center; }
  .legacy-profile-identity { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .legacy-profile-identity .profile-avatar { width: 116px; height: 116px; }
  .legacy-profile-tabs { gap: 7px; }
  .legacy-profile-tabs button { min-height: 82px; padding: 7px; }
  .legacy-profile-tabs strong { font-size: 11px; }

  .legacy-settings-header {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 15px;
    padding: 16px;
  }
  .legacy-settings-avatar { grid-column: 1; grid-row: 1 / 3; width: 76px; height: 76px; }
  .legacy-settings-header h1 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 21px; }
  .legacy-settings-avatar-action { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
  .legacy-settings-tabs { padding: 7px; }
  .legacy-settings-tabs button { grid-template-columns: 1fr; align-content: center; gap: 5px; min-height: 66px; padding: 5px; }
  .legacy-settings-tabs span { font-size: 11px; text-align: center; }
  .account-card { padding: 20px; }
  .verification-banner { grid-template-columns: auto minmax(0, 1fr); }
  .verification-banner .verification-resend-button { grid-column: 1 / -1; width: 100%; }

  .signin-brand-panel { min-height: 360px; padding: 30px 24px; }
  .signin-brand-panel h1 { font-size: 2.25rem; }
  .signin-card { padding: 22px 18px; }

  .post-modal-card { padding: 17px; }
  .map-pin-sheet { padding: 16px; }
  .post-type-picker button { font-size: 10px; }
}

@media (max-width: 400px) {
  .main-content { padding-inline: 14px; }
  .topbar { padding-inline: 10px; }
  .page-heading strong { font-size: 14px; }
  .mirror-public-hero { padding: 22px 18px; }
  .primary-button,
  .secondary-button { padding-inline: 13px; font-size: 12px; }
}

/* Coastal Field Station — complete visual redesign, 2026-08-12 */
body.field-station-theme {
  color-scheme: light;
  --bg: #e9f0ee;
  --bg-soft: #f3f7f5;
  --sidebar: #082534;
  --panel: #ffffff;
  --panel-strong: #f6f9f7;
  --panel-soft: #eef5f3;
  --line: rgba(10, 53, 70, .13);
  --line-strong: rgba(0, 125, 157, .35);
  --text: #102c37;
  --text-soft: #304c57;
  --muted: #607781;
  --faint: #81939a;
  --blue: #087fa2;
  --blue-strong: #00a5c8;
  --blue-dark: #063e55;
  --green: #218f7d;
  --amber: #da9437;
  --danger: #be514e;
  --signal: #f29a62;
  --sand: #f2e7d1;
  --foam: #f8fbfa;
  --sidebar-width: 294px;
  --sidebar-collapsed: 88px;
  --topbar-height: 78px;
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 20px;
  --shadow: 0 18px 48px rgba(15, 53, 66, .11);
  --ease: 180ms ease;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.field-station-theme button:focus-visible,
body.field-station-theme input:focus-visible,
body.field-station-theme select:focus-visible,
body.field-station-theme textarea:focus-visible,
body.field-station-theme a:focus-visible {
  outline: 3px solid rgba(0, 165, 200, .38);
  outline-offset: 2px;
}

.field-station-theme .app-shell {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: var(--bg);
}

.field-station-theme .app-shell.is-collapsed {
  grid-template-columns: var(--sidebar-collapsed) minmax(0, 1fr);
}

/* Navigation becomes a dark, instrument-like station rail. */
.field-station-theme .sidebar {
  border-right: 0;
  color: #e8f3f4;
  background:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    radial-gradient(circle at 15% 2%, rgba(48, 188, 209, .2), transparent 24rem),
    linear-gradient(176deg, #0b3142 0%, #061d2a 48%, #041720 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: 14px 0 40px rgba(8, 37, 52, .12);
}

.field-station-theme .sidebar::after {
  top: 112px;
  right: 0;
  width: 3px;
  height: 210px;
  background: linear-gradient(transparent, var(--signal), transparent);
  opacity: .9;
}

.field-station-theme .sidebar-brand {
  min-height: 112px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(226, 244, 245, .1);
}

.field-station-theme .brand-button { gap: 15px; padding: 0; border-radius: 12px; }

.field-station-theme .brand-logo {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  border: 1px solid rgba(165, 229, 238, .22);
  border-radius: 50%;
  background: rgba(2, 19, 28, .38);
  box-shadow: 0 0 0 6px rgba(90, 213, 228, .055), 0 14px 28px rgba(0, 0, 0, .2);
}

.field-station-theme .brand-logo img { width: 53px; height: 53px; }
.field-station-theme .brand-copy strong { color: #f8fcfc; font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.field-station-theme .brand-copy small { margin-top: 7px; color: #8fadb6; font-size: 9px; letter-spacing: .16em; }

.field-station-theme .sidebar-nav {
  padding: 23px 17px;
  scrollbar-color: rgba(131, 211, 222, .25) transparent;
}

.field-station-theme .nav-group + .nav-group { margin-top: 25px; }
.field-station-theme .nav-group-toggle { padding: 0 11px 9px; color: #76939d; font-size: 9px; letter-spacing: .18em; }
.field-station-theme .nav-group-toggle:hover { color: #c5dadd; }
.field-station-theme .nav-group-items { gap: 5px; }

.field-station-theme .nav-link,
.field-station-theme .collapse-button {
  min-height: 47px;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: #a7bec4;
  background: transparent;
  font-size: 13px;
  font-weight: 670;
}

.field-station-theme .nav-link svg,
.field-station-theme .collapse-button svg { width: 19px; height: 19px; flex-basis: 19px; }

.field-station-theme .nav-link:hover,
.field-station-theme .collapse-button:hover {
  color: #f4fbfb;
  background: rgba(225, 246, 247, .065);
  transform: translateX(2px);
}

.field-station-theme .nav-link.is-active {
  color: #082534;
  border-color: transparent;
  background: linear-gradient(105deg, #eaf8f6, #d9f0ee);
  box-shadow: inset 4px 0 var(--signal), 0 10px 24px rgba(0, 0, 0, .17);
}

.field-station-theme .nav-link.is-active svg { color: #087f9b; }
.field-station-theme .nav-link.is-active .active-dot { background: var(--signal); box-shadow: 0 0 0 4px rgba(242, 154, 98, .18); }
.field-station-theme .sidebar-footer { padding: 15px 17px max(18px, env(safe-area-inset-bottom)); border-color: rgba(226, 244, 245, .1); }
.field-station-theme .collapse-button { border: 1px solid rgba(215, 239, 241, .12); }

.field-station-theme .app-shell.is-collapsed .sidebar-brand { padding-inline: 13px; }
.field-station-theme .app-shell.is-collapsed .brand-logo { width: 58px; height: 58px; flex-basis: 58px; }
.field-station-theme .app-shell.is-collapsed .brand-logo img { width: 49px; height: 49px; }

/* The workspace shifts to a bright coastal logbook. */
.field-station-theme .workspace {
  background:
    linear-gradient(rgba(14, 80, 98, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 80, 98, .02) 1px, transparent 1px),
    radial-gradient(circle at 90% 0%, rgba(0, 145, 175, .09), transparent 34rem),
    linear-gradient(180deg, #edf4f2, #e8efed);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.field-station-theme .topbar {
  padding: 0 clamp(22px, 2.3vw, 40px);
  border-bottom: 1px solid rgba(8, 55, 72, .12);
  color: var(--text);
  background: rgba(250, 252, 250, .91);
  box-shadow: 0 8px 28px rgba(14, 55, 69, .07);
  backdrop-filter: blur(18px) saturate(1.2);
}

.field-station-theme .page-heading { gap: 12px; }
.field-station-theme .page-heading-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 127, 162, .19);
  border-radius: 12px;
  color: #087f9b;
  background: #e4f2f0;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .56);
}

.field-station-theme .page-heading small { color: #758b91; font-size: 9px; letter-spacing: .17em; }
.field-station-theme .page-heading strong { margin-top: 3px; color: #12313d; font-size: 15px; font-weight: 800; }

.field-station-theme .preview-status {
  min-height: 36px;
  padding: 0 13px;
  border-color: rgba(33, 143, 125, .19);
  color: #267466;
  background: #edf8f3;
}

.field-station-theme .preview-status i { background: #28a486; box-shadow: 0 0 0 4px rgba(40, 164, 134, .12); }

.field-station-theme .sign-in-button,
.field-station-theme .icon-button {
  border-color: rgba(8, 61, 79, .17);
  color: #173b47;
  background: #fff;
  box-shadow: 0 7px 18px rgba(19, 61, 74, .08);
}

.field-station-theme .sign-in-button:hover,
.field-station-theme .icon-button:hover {
  border-color: rgba(8, 127, 162, .4);
  color: #046e8c;
  background: #f3fbfa;
}

.field-station-theme .main-content {
  padding: clamp(26px, 2.5vw, 42px) clamp(22px, 3vw, 50px) 62px;
  color: var(--text);
}

.field-station-theme .app-shell.is-map-mode .main-content { padding: 0; }

.field-station-theme .map-view,
.field-station-theme .placeholder-view,
.field-station-theme .signin-view,
.field-station-theme .feature-view,
.field-station-theme .mirror-public-page,
.field-station-theme .mirror-feed-page,
.field-station-theme .legacy-profile-page,
.field-station-theme .legacy-settings-page,
.field-station-theme .account-view { width: 100%; max-width: none; margin: 0; }

/* Shared type, surfaces, and controls */
.field-station-theme .main-content h1,
.field-station-theme .main-content h2,
.field-station-theme .main-content h3,
.field-station-theme .main-content strong { color: var(--text); }

.field-station-theme .main-content p { color: var(--muted); }

.field-station-theme .panel-kicker,
.field-station-theme .eyebrow,
.field-station-theme .mirror-section-label {
  color: #087f9b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.field-station-theme .primary-button,
.field-station-theme .secondary-button {
  min-height: 46px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.field-station-theme .primary-button {
  border: 1px solid #087f9b;
  color: #fff;
  background: linear-gradient(135deg, #098cad, #067593);
  box-shadow: 0 10px 24px rgba(8, 127, 162, .2);
}

.field-station-theme .primary-button:hover { border-color: #046783; background: linear-gradient(135deg, #0a9cbd, #087f9b); }

.field-station-theme .secondary-button {
  border-color: rgba(8, 79, 100, .22);
  color: #17414f;
  background: #f9fcfb;
  box-shadow: 0 7px 18px rgba(17, 55, 68, .06);
}

.field-station-theme .secondary-button:hover { border-color: rgba(8, 127, 162, .42); color: #067593; background: #eef8f6; }

.field-station-theme input,
.field-station-theme select,
.field-station-theme textarea,
.field-station-theme .comment-form textarea {
  border-color: rgba(9, 69, 88, .17);
  color: #17313a;
  background: #f8fbfa;
  box-shadow: inset 0 1px 2px rgba(12, 51, 63, .035);
}

.field-station-theme input::placeholder,
.field-station-theme textarea::placeholder { color: #8b9ba0; }

.field-station-theme input:focus,
.field-station-theme select:focus,
.field-station-theme textarea:focus { border-color: rgba(0, 145, 178, .55); background: #fff; }

.field-station-theme .form-message,
.field-station-theme .inline-status,
.field-station-theme .feature-status { color: #5c737c; }

.field-station-theme .form-message.is-error,
.field-station-theme .auth-message.is-error { color: #9c3938; border-color: rgba(190, 81, 78, .23); background: #fff1ef; }
.field-station-theme .form-message.is-success,
.field-station-theme .auth-message.is-success { color: #1a7565; border-color: rgba(33, 143, 125, .22); background: #edf8f3; }

.field-station-theme .empty-state-card {
  border: 1px dashed rgba(8, 127, 162, .3);
  border-radius: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 200, .1), transparent 24rem),
    #fbfdfc;
}

/* Editorial mastheads resemble pages from a coastal field guide. */
.field-station-theme .mirror-public-hero {
  position: relative;
  display: grid;
  min-height: 252px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 15px 46px;
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(8, 67, 86, .13);
  border-radius: 3px 22px 22px 3px;
  color: var(--text);
  background:
    linear-gradient(rgba(8, 127, 162, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 162, .03) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
  box-shadow: inset 6px 0 var(--signal), var(--shadow);
}

.field-station-theme .mirror-public-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, transparent, #0894b4 48%, #58c6d0);
}

.field-station-theme .mirror-public-hero::after {
  right: -100px;
  bottom: -165px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(8, 127, 162, .12);
  background: transparent;
  box-shadow: 0 0 0 34px rgba(8, 127, 162, .025), 0 0 0 72px rgba(8, 127, 162, .018);
}

.field-station-theme .mirror-public-hero > .panel-kicker { grid-column: 1; grid-row: 1; align-self: start; }
.field-station-theme .mirror-public-hero h1 {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: center;
  max-width: 850px;
  margin: 0;
  color: #0b3342;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2.55rem, 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.field-station-theme .mirror-public-hero p {
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  max-width: 560px;
  margin: 0;
  color: #526c76;
  font-size: 15px;
  line-height: 1.72;
}

.field-station-theme .hero-highlights {
  z-index: 1;
  grid-column: 2;
  grid-row: 3;
  gap: 7px;
  margin: 0;
}

.field-station-theme .hero-highlights span,
.field-station-theme .mirror-update-pill {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(8, 127, 162, .19);
  border-radius: 7px;
  color: #176b80;
  background: #eaf5f3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
}

.field-station-theme .mirror-update-pill { grid-column: 2; justify-self: start; }

/* Catch Feed */
.field-station-theme .legacy-feed-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 20px;
  padding: clamp(28px, 3.3vw, 46px);
  border: 1px solid rgba(8, 65, 83, .15);
  border-radius: 3px 22px 22px 3px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 165, 200, .13), transparent 25rem),
    linear-gradient(120deg, #fff 0%, #f4f9f7 100%);
  box-shadow: inset 6px 0 #0d93ae, var(--shadow);
}

.field-station-theme .legacy-feed-intro h1 {
  color: #0b3342;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2.35rem, 3.5vw, 3.5rem);
  line-height: 1.02;
}
.field-station-theme .legacy-feed-intro p { color: #5a717a; font-size: 15px; }

.field-station-theme .feature-toolbar {
  margin-bottom: 20px;
  padding: 11px;
  border-color: rgba(9, 65, 83, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(17, 59, 72, .07);
}

.field-station-theme .segmented-control { padding: 4px; border: 1px solid rgba(8, 73, 92, .11); border-radius: 10px; background: #edf3f1; }
.field-station-theme .segmented-control button { min-height: 36px; border-radius: 7px; color: #688088; font-weight: 750; }
.field-station-theme .segmented-control button.is-active { color: #fff; background: #0a6f89; box-shadow: 0 6px 14px rgba(7, 93, 116, .18); }

.field-station-theme .post-grid { gap: 22px; }
.field-station-theme .post-card {
  border-color: rgba(8, 66, 84, .13);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 57, 70, .09);
}
.field-station-theme .post-media { background: radial-gradient(circle at 25% 20%, rgba(0, 165, 200, .15), transparent 19rem), #dcebea; }
.field-station-theme .post-media-placeholder { color: #087f9b; }
.field-station-theme .post-media-placeholder small { color: #678087; }
.field-station-theme .post-type-badge { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(7, 40, 52, .87); }
.field-station-theme .post-card-body { padding: 19px; }
.field-station-theme .mini-avatar { border-color: rgba(8, 127, 162, .2); color: #087f9b; background: #e7f3f1; }
.field-station-theme .post-author strong,
.field-station-theme .post-title-button strong { color: #17333d; }
.field-station-theme .post-author small,
.field-station-theme .post-card-body > p { color: #667c84; }
.field-station-theme .post-title-button span { color: #087f9b; }
.field-station-theme .post-actions { border-color: rgba(10, 61, 78, .1); }
.field-station-theme .post-actions button { color: #71858b; }
.field-station-theme .post-actions button:hover,
.field-station-theme .post-actions button.is-active { border-color: rgba(8, 127, 162, .18); color: #057a98; background: #edf7f5; }

/* Forecast, regulations, and data workbenches */
.field-station-theme .search-workbench,
.field-station-theme .legacy-planning-workbench {
  margin-top: 22px;
  margin-bottom: 17px;
  padding: 20px;
  border-color: rgba(8, 68, 86, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(15, 55, 68, .075);
}

.field-station-theme .feature-search-form > label,
.field-station-theme .search-workbench > label,
.field-station-theme .fish-traits-form label,
.field-station-theme .account-form label,
.field-station-theme .map-pin-form label,
.field-station-theme .file-drop { color: #526e77; }

.field-station-theme .feature-search-form input,
.field-station-theme .search-workbench input,
.field-station-theme .search-workbench select,
.field-station-theme .fish-traits-form select { border-radius: 9px; color: #17313a; background: #f8fbfa; }

.field-station-theme .data-attribution,
.field-station-theme .search-attribution { color: #7a8e94; }
.field-station-theme .data-attribution a,
.field-station-theme .search-attribution a { color: #537883; }

.field-station-theme .location-result,
.field-station-theme .forecast-overview,
.field-station-theme .tide-strip,
.field-station-theme .forecast-day-card,
.field-station-theme .regulation-source-card,
.field-station-theme .regulation-help-grid article {
  border-color: rgba(8, 67, 85, .13);
  color: var(--text);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 57, 70, .065);
}

.field-station-theme .forecast-overview { border-radius: 17px; }
.field-station-theme .forecast-overview p,
.field-station-theme .forecast-source-row span,
.field-station-theme .forecast-disclaimer { color: #647b83; }
.field-station-theme .tide-strip { border-radius: 14px; }
.field-station-theme .tide-strip strong { color: #087f9b; }
.field-station-theme .tide-strip small { color: #778b91; }
.field-station-theme .forecast-day-card { border-radius: 14px; }
.field-station-theme .forecast-day-card dl div { border-color: rgba(8, 67, 85, .09); }
.field-station-theme .forecast-day-card dt { color: #7a8d93; }
.field-station-theme .forecast-day-top > span { color: #157662; background: #e8f5ef; }
.field-station-theme .forecast-day-top > span[data-tone="fair"] { color: #9c681f; background: #fff3dc; }
.field-station-theme .forecast-day-top > span[data-tone="slow"] { color: #a34847; background: #fff0ee; }

.field-station-theme .legal-notice { border-color: rgba(206, 136, 43, .25); color: #805d29; background: #fff7e8; }
.field-station-theme .regulation-source-card { border-left: 5px solid #0b8eaa; border-radius: 4px 18px 18px 4px; }
.field-station-theme .regulation-source-card h2 { color: #123541; font-family: Georgia, "Times New Roman", ui-serif, serif; }
.field-station-theme .regulation-source-card p,
.field-station-theme .regulation-help-grid p { color: #627981; }

/* Fish Identifier */
.field-station-theme .fish-identifier-workspace,
.field-station-theme .mirror-results-panel {
  border: 1px solid rgba(8, 67, 85, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.field-station-theme .fish-photo-column > .mirror-section-label { color: #087f9b; }
.field-station-theme .fish-identifier-stage,
.field-station-theme .fish-identifier-preview {
  border: 1.5px dashed rgba(8, 127, 162, .4);
  border-radius: 16px;
  color: #173b47;
  background:
    linear-gradient(rgba(8, 127, 162, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 162, .03) 1px, transparent 1px),
    #edf6f4;
  background-size: 24px 24px;
}
.field-station-theme .fish-identifier-stage-icon { border-color: rgba(8, 127, 162, .25); color: #087f9b; background: #fff; box-shadow: 0 10px 26px rgba(12, 73, 91, .1); }
.field-station-theme .fish-identifier-stage > span:not(.fish-identifier-stage-icon),
.field-station-theme .fish-identifier-stage small { color: #617a82; }
.field-station-theme .fish-identify-controls {
  border: 0;
  border-radius: 15px;
  color: #eaf6f6;
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 198, 211, .22), transparent 19rem),
    linear-gradient(150deg, #0b394a, #082533);
  box-shadow: 0 18px 36px rgba(7, 43, 57, .2);
}
.field-station-theme .fish-identify-controls h2,
.field-station-theme .fish-identify-controls strong { color: #f4fbfb; }
.field-station-theme .fish-identify-controls p,
.field-station-theme .fish-identifier-location-note { color: #abc2c7; }
.field-station-theme .fish-identifier-location-pill { border-color: rgba(159, 222, 229, .18); color: #d9eff0; background: rgba(255, 255, 255, .075); }
.field-station-theme .fish-identifier-location-button { border-color: rgba(159, 222, 229, .2); color: #d9eff0; background: rgba(255, 255, 255, .08); }
.field-station-theme .fish-result-card { border-color: rgba(8, 67, 85, .13); background: #f8fbfa; }
.field-station-theme .fish-result-card > p { color: #617981; }

/* Notifications and support */
.field-station-theme .notifications-legacy-hero {
  border: 1px solid rgba(8, 67, 85, .13);
  border-radius: 3px 20px 20px 3px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 165, 200, .12), transparent 24rem),
    #fff;
  box-shadow: inset 6px 0 var(--signal), var(--shadow);
}
.field-station-theme .notifications-legacy-icon { color: #087f9b; background: #e7f3f1; }
.field-station-theme .notifications-legacy-hero h1 { color: #0b3342; font-family: Georgia, "Times New Roman", ui-serif, serif; }
.field-station-theme .notifications-legacy-hero p { color: #617981; }

.field-station-theme .notifications-legacy-panel,
.field-station-theme .legacy-support-form-card,
.field-station-theme .ticket-panel,
.field-station-theme .auth-required-card {
  border-color: rgba(8, 67, 85, .13);
  color: var(--text);
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 57, 70, .08);
}

.field-station-theme .notifications-legacy-tabs { border-color: rgba(8, 67, 85, .12); background: #edf3f1; }
.field-station-theme .notifications-legacy-tabs button { color: #6a8087; }
.field-station-theme .notifications-legacy-tabs button.is-active { color: #fff; background: #0a708a; }
.field-station-theme .notification-item { border-color: rgba(8, 67, 85, .11); background: #f9fcfb; }
.field-station-theme .notification-item p,
.field-station-theme .notification-item small { color: #667c84; }

.field-station-theme .legacy-support-layout { gap: 24px; }
.field-station-theme .legacy-support-form-card,
.field-station-theme .ticket-panel { border-radius: 16px; }
.field-station-theme .auth-required-card { border: 1px dashed rgba(8, 127, 162, .3); background: #f5faf8; }
.field-station-theme .empty-copy { color: #6b8087; }

.field-station-theme .ticket-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.field-station-theme .ticket-panel-heading h2 { margin-bottom: 0; color: #123441; font-family: Georgia, "Times New Roman", ui-serif, serif; font-size: clamp(1.45rem, 2vw, 1.8rem); }
.field-station-theme .ticket-count { display: grid; min-width: 34px; height: 34px; place-items: center; padding: 0 9px; border-radius: 999px; color: #fff; background: #0a708a; font-size: 12px; font-weight: 850; }
.field-station-theme .ticket-panel-intro { max-width: 48ch; margin: 11px 0 20px; color: #647c84; font-size: 12px; line-height: 1.6; }
.field-station-theme .support-ticket-list { display: grid; gap: 15px; }
.field-station-theme .ticket-history-card {
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(8, 67, 85, .13);
  border-radius: 13px;
  background: #f8fbfa;
  box-shadow: 0 8px 20px rgba(16, 57, 70, .05);
}
.field-station-theme .ticket-history-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.field-station-theme .ticket-history-title { display: grid; min-width: 0; gap: 5px; }
.field-station-theme .ticket-reference { color: #0a708a; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.field-station-theme .ticket-history-title h3 { margin: 0; overflow-wrap: anywhere; color: #143640; font-size: 16px; line-height: 1.3; }
.field-station-theme .ticket-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 27px; padding: 0 9px; border: 1px solid rgba(10, 112, 138, .16); border-radius: 999px; color: #116c81; background: #e6f4f4; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.field-station-theme .ticket-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(10, 112, 138, .1); }
.field-station-theme .ticket-status[data-status="in-progress"] { color: #986312; background: #fff4dd; }
.field-station-theme .ticket-status[data-status="answered"] { color: #267454; background: #e7f5ec; }
.field-station-theme .ticket-status[data-status="closed"] { color: #67777c; background: #edf1f0; }
.field-station-theme .ticket-status-context { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: center; padding: 12px; border: 1px solid rgba(8, 127, 162, .12); border-radius: 10px; background: #eef7f5; }
.field-station-theme .ticket-status-symbol { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #0a708a; background: #fff; }
.field-station-theme .ticket-status-symbol svg { width: 17px; height: 17px; }
.field-station-theme .ticket-status-context strong { color: #193b46; font-size: 12px; }
.field-station-theme .ticket-status-context p { margin: 3px 0 0; color: #637a82; font-size: 11px; line-height: 1.45; }
.field-station-theme .ticket-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.field-station-theme .ticket-metadata > div { display: grid; gap: 4px; padding: 10px 11px; border: 1px solid rgba(8, 67, 85, .09); border-radius: 9px; background: #fff; }
.field-station-theme .ticket-metadata dt { color: #778b91; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.field-station-theme .ticket-metadata dd { margin: 0; overflow-wrap: anywhere; color: #284852; font-size: 11px; font-weight: 750; line-height: 1.4; }
.field-station-theme .ticket-message-copy { padding: 13px 14px; border-left: 3px solid var(--signal); border-radius: 2px 9px 9px 2px; background: #fff; }
.field-station-theme .ticket-message-copy strong { color: #6f848a; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.field-station-theme .ticket-message-copy p { margin: 7px 0 0; overflow-wrap: anywhere; color: #294851; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.field-station-theme .ticket-history-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 2px; color: #73878d; font-size: 10px; }
.field-station-theme .ticket-history-footer span { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.field-station-theme .ticket-history-footer time { text-align: right; }

/* FAQ and legal */
.field-station-theme .faq-jump-card,
.field-station-theme .faq-category,
.field-station-theme .legal-summary-card,
.field-station-theme .legacy-legal-document > section {
  border-color: rgba(8, 67, 85, .13);
  color: var(--text);
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 57, 70, .07);
}

.field-station-theme .faq-jump-card,
.field-station-theme .faq-category,
.field-station-theme .legal-summary-card { border-radius: 16px; }
.field-station-theme .faq-jump-links a { border-color: rgba(8, 127, 162, .18); color: #176b80; background: #edf7f5; }
.field-station-theme .faq-category > header { border-bottom-color: rgba(8, 67, 85, .11); }
.field-station-theme .faq-category .faq-list details { border-color: rgba(8, 67, 85, .11); }
.field-station-theme .faq-category .faq-list summary { color: #183741; }
.field-station-theme .faq-category .faq-list summary > span,
.field-station-theme .faq-category .faq-list details > div > span { color: #087f9b; background: #e7f3f1; }
.field-station-theme .faq-category .faq-list p,
.field-station-theme .faq-category > p { color: #617981; }

.field-station-theme .legal-summary-rows article { border-color: rgba(8, 67, 85, .11); border-radius: 12px; background: #f6faf8; }
.field-station-theme .legal-summary-rows span { color: #087f9b; }
.field-station-theme .legal-summary-rows p,
.field-station-theme .legacy-legal-document p { color: #5f767e; }
.field-station-theme .legacy-legal-document > section { border-radius: 4px 16px 16px 4px; border-left: 4px solid #d4e6e3; }
.field-station-theme .legal-document > section > span { color: #087f9b; }
.field-station-theme .legal-document h2 { color: #173640; }

/* Profile and settings */
.field-station-theme .legacy-profile-page { gap: 24px; }
.field-station-theme .legacy-profile-card,
.field-station-theme .legacy-profile-activity,
.field-station-theme .legacy-settings-header,
.field-station-theme .legacy-settings-tabs,
.field-station-theme .account-card {
  border-color: rgba(8, 67, 85, .13);
  color: var(--text);
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 57, 70, .08);
}

.field-station-theme .legacy-profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px 20px 20px 3px;
  background:
    radial-gradient(circle at 86% 0%, rgba(0, 165, 200, .13), transparent 25rem),
    #fff;
  box-shadow: inset 6px 0 var(--signal), var(--shadow);
}
.field-station-theme .legacy-profile-title-row { border-color: rgba(8, 67, 85, .1); }
.field-station-theme .legacy-profile-title-row > span { color: #173944; }
.field-station-theme .legacy-profile-title-row > span svg { color: #087f9b; }
.field-station-theme .profile-signout-button { border-color: rgba(190, 81, 78, .2); color: #a54a47; background: #fff3f1; }
.field-station-theme .legacy-profile-identity .profile-avatar { border: 5px solid #fff; color: #fff; background: linear-gradient(145deg, #0b8eaa, #07566d); box-shadow: 0 0 0 1px rgba(8, 67, 85, .14), 0 16px 34px rgba(7, 79, 99, .18); }
.field-station-theme .legacy-profile-identity h1 { color: #0c3543; font-family: Georgia, "Times New Roman", ui-serif, serif; }
.field-station-theme .legacy-profile-identity p { color: #5f7780; }
.field-station-theme .legacy-profile-activity { border-radius: 16px; }
.field-station-theme .legacy-profile-tabs button { border-color: rgba(8, 67, 85, .12); color: #678087; background: #f5f9f7; }
.field-station-theme .legacy-profile-tabs button.is-active { border-color: rgba(8, 127, 162, .3); color: #104052; background: #e6f3f1; box-shadow: inset 0 -3px #0a91ad; }
.field-station-theme .legacy-profile-tabs svg { color: #087f9b; }

.field-station-theme .legacy-settings-header { border-radius: 3px 16px 16px 3px; box-shadow: inset 5px 0 var(--signal), 0 12px 30px rgba(16, 57, 70, .07); }
.field-station-theme .legacy-settings-avatar { border-color: rgba(8, 127, 162, .24); color: #fff; background: linear-gradient(145deg, #0b8eaa, #07566d); }
.field-station-theme .legacy-settings-header h1 { color: #103541; font-family: Georgia, "Times New Roman", ui-serif, serif; }
.field-station-theme .legacy-settings-avatar-action { color: #087f9b; }
.field-station-theme .legacy-settings-tabs { border-radius: 14px; background: #f9fcfb; }
.field-station-theme .legacy-settings-tabs button { color: #657c83; }
.field-station-theme .legacy-settings-tabs button.is-active { color: #fff; background: #0a708a; box-shadow: 0 7px 17px rgba(7, 99, 123, .18); }
.field-station-theme .account-card { border-radius: 16px; }
.field-station-theme .account-card-heading { border-color: rgba(8, 67, 85, .11); }
.field-station-theme .account-card-heading > svg { color: #087f9b; }
.field-station-theme .account-card-heading p,
.field-station-theme .account-card-copy,
.field-station-theme .field-help { color: #657b83; }
.field-station-theme .verification-banner { border-color: rgba(210, 143, 54, .24); color: #6f5129; background: #fff7e8; }
.field-station-theme .verification-banner.is-verified { border-color: rgba(33, 143, 125, .22); background: #edf8f3; }
.field-station-theme .verification-banner p { color: #75664d; }
.field-station-theme .current-email-row small { color: #74888e; }
.field-station-theme .verified-badge { color: #1f7767; background: #e6f5ef; }
.field-station-theme .verified-badge.is-unverified { color: #9a6724; background: #fff2d9; }
.field-station-theme .text-danger-button { border-color: rgba(190, 81, 78, .2); color: #a74240; background: #fff2f0; }
.field-station-theme .text-danger-button small { color: #9b6767; }

/* Member access */
.field-station-theme .signin-layout { gap: 24px; }
.field-station-theme .signin-brand-panel {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px 4px 4px 22px;
  color: #eff9f8;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(51, 206, 218, .26), transparent 25rem),
    linear-gradient(145deg, #0b3a4b, #061f2c);
  background-size: 30px 30px, 30px 30px, auto, auto;
  box-shadow: 0 22px 54px rgba(7, 43, 57, .21);
}
.field-station-theme .signin-brand-panel::after { position: absolute; right: -100px; bottom: -120px; width: 330px; height: 330px; border: 1px solid rgba(128, 221, 229, .18); border-radius: 50%; content: ""; box-shadow: 0 0 0 40px rgba(128, 221, 229, .035), 0 0 0 80px rgba(128, 221, 229, .022); }
.field-station-theme .signin-brand-panel img { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .25)); }
.field-station-theme .signin-brand-panel .panel-kicker { color: #71d5df; }
.field-station-theme .signin-brand-panel h1 { color: #f4fbfb; font-family: Georgia, "Times New Roman", ui-serif, serif; font-size: clamp(2.7rem, 4vw, 4rem); }
.field-station-theme .signin-brand-panel p,
.field-station-theme .signin-brand-panel li { color: #b5ccd0; }
.field-station-theme .signin-brand-panel li::before { color: var(--signal); }

.field-station-theme .signin-card {
  border-color: rgba(8, 67, 85, .13);
  border-radius: 4px 22px 22px 4px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}
.field-station-theme .signin-card .card-icon { color: #087f9b; background: #e7f3f1; }
.field-station-theme .signin-card .card-heading small { color: #71878d; }
.field-station-theme .signin-card .card-heading h2 { color: #163743; }
.field-station-theme .auth-tabs { border-color: rgba(8, 67, 85, .12); background: #edf3f1; }
.field-station-theme .auth-tabs button { color: #677f86; }
.field-station-theme .auth-tabs button.is-active { color: #fff; background: #0a708a; box-shadow: 0 7px 17px rgba(7, 99, 123, .18); }
.field-station-theme .signin-card form label { color: #526e77; }
.field-station-theme .signin-card input[type="text"],
.field-station-theme .signin-card input[type="email"],
.field-station-theme .signin-card input[type="password"] {
  border-color: rgba(9, 69, 88, .17);
  color: #17313a;
  background: #f8fbfa;
  box-shadow: inset 0 1px 2px rgba(12, 51, 63, .035);
}
.field-station-theme .signin-card input::placeholder { color: #8b9ba0; }
.field-station-theme .signin-card input:focus { border-color: rgba(0, 145, 178, .55); background: #fff; }
.field-station-theme .auth-message { border-color: rgba(8, 127, 162, .2); color: #176b80; background: #edf7f5; }
.field-station-theme .session-note,
.field-station-theme .signin-note { color: #6d8188; }
.field-station-theme .session-note i { background: #279e84; }
.field-station-theme .text-button { color: #087f9b; }

/* Map controls become visible field instruments on larger screens. */
.field-station-theme .map-panel { border: 0; border-radius: 0; background: #cddfdd; box-shadow: none; }
.field-station-theme .map-overlay-button {
  display: inline-flex;
  width: auto;
  height: 46px;
  min-width: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(8, 53, 69, .18);
  border-radius: 11px;
  color: #163b48;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(11, 50, 64, .2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.field-station-theme .map-overlay-button:hover { border-color: rgba(8, 127, 162, .4); color: #046f8c; background: #fff; }
.field-station-theme .map-overlay-button > span {
  position: static;
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  opacity: 1;
  transform: none;
}
.field-station-theme .map-overlay-search > span,
.field-station-theme .map-overlay-filter > span,
.field-station-theme .map-overlay-weather > span,
.field-station-theme .map-overlay-locate > span,
.field-station-theme .map-overlay-add > span { inset: auto; transform: none; }
.field-station-theme .map-overlay-button:hover > span,
.field-station-theme .map-overlay-button:focus-visible > span,
.field-station-theme .map-overlay-add:hover > span,
.field-station-theme .map-overlay-add:focus-visible > span { transform: none; }
.field-station-theme .map-overlay-add {
  width: auto;
  height: 52px;
  padding: 0 19px;
  border-color: rgba(140, 74, 35, .22);
  color: #42291c;
  background: linear-gradient(135deg, #ffc08d, #f29a62);
  box-shadow: 0 15px 32px rgba(111, 65, 35, .24);
}
.field-station-theme .map-overlay-add:hover { color: #2b1b13; background: linear-gradient(135deg, #ffd0aa, #f4a873); }
.field-station-theme #map-layers-button.is-active { border-color: rgba(8, 127, 162, .42); color: #fff; background: #086f8a; }

.field-station-theme .map-layers-panel,
.field-station-theme .map-flyout,
.field-station-theme .map-pin-sheet {
  border-color: rgba(8, 55, 72, .16);
  color: var(--text);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 54px rgba(9, 45, 58, .2);
  backdrop-filter: blur(18px) saturate(1.25);
}
.field-station-theme .map-layers-panel { border-radius: 14px; }
.field-station-theme .map-flyout,
.field-station-theme .map-pin-sheet { border-radius: 16px; }
.field-station-theme .map-layers-heading,
.field-station-theme .map-flyout-heading { border-color: rgba(8, 67, 85, .1); }
.field-station-theme .map-layers-heading small,
.field-station-theme .map-flyout-heading small { color: #087f9b; }
.field-station-theme .map-layers-heading strong,
.field-station-theme .map-flyout-heading strong { color: #173640; }
.field-station-theme .map-flyout-heading button { color: #657c83; background: #eef4f2; }
.field-station-theme .map-layer-option { color: #55717a; }
.field-station-theme .map-layer-option:hover { background: #f2f8f6; }
.field-station-theme .map-layer-option strong { color: #193843; }
.field-station-theme .map-layer-option small,
.field-station-theme .map-layers-panel > p { color: #71868c; }
.field-station-theme .map-layer-divider { color: #7b8e93; }
.field-station-theme .map-search-form input,
.field-station-theme .map-pin-form input,
.field-station-theme .map-pin-form select,
.field-station-theme .map-pin-form textarea { color: #17313a; background: #f7faf9; }
.field-station-theme .condition-metrics article { border-color: rgba(8, 67, 85, .11); background: #f4f9f7; }
.field-station-theme .condition-metrics span { color: #758a90; }
.field-station-theme .condition-metrics strong { color: #173640; }
.field-station-theme .post-type-picker { background: #edf3f1; }
.field-station-theme .post-type-picker button { color: #667e85; }
.field-station-theme .post-type-picker button.is-active { color: #fff; background: #0a708a; }
.field-station-theme .file-drop { border-color: rgba(8, 127, 162, .3); color: #5c747c; background: #f2f8f6; }
.field-station-theme .sheet-location { color: #5c747c; background: #edf5f3; }
.field-station-theme .map-surface .maplibregl-ctrl-attrib { border-color: rgba(255, 255, 255, .18); color: rgba(238, 248, 249, .72); background: rgba(7, 37, 50, .72); }

/* Modal and toast */
.field-station-theme .modal-backdrop { background: rgba(4, 25, 34, .72); }
.field-station-theme .post-modal-card { border-color: rgba(8, 67, 85, .16); color: var(--text); background: #fff; box-shadow: 0 30px 80px rgba(2, 25, 35, .3); }
.field-station-theme .modal-close { color: #60767e; background: #edf3f1; }
.field-station-theme .post-modal-meta,
.field-station-theme .post-modal-notes,
.field-station-theme .comment p,
.field-station-theme .comment small { color: #647b83; }
.field-station-theme .snapshot-row span,
.field-station-theme .comment { border-color: rgba(8, 67, 85, .1); background: #f6faf8; }
.field-station-theme .comments-panel { border-color: rgba(8, 67, 85, .11); }
.field-station-theme .toast { border-color: rgba(8, 67, 85, .18); color: var(--text); background: rgba(255, 255, 255, .97); box-shadow: 0 20px 44px rgba(11, 50, 64, .18); }
.field-station-theme .toast > span { color: #087f9b; background: #e7f3f1; }
.field-station-theme .toast p { color: #415d67; }

@media (max-width: 1280px) {
  .field-station-theme .mirror-public-hero { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap-inline: 32px; }
  .field-station-theme .mirror-public-hero h1 { font-size: clamp(2.35rem, 3.5vw, 3.25rem); }
}

@media (max-width: 1100px) {
  .field-station-theme .mirror-public-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .field-station-theme .mirror-public-hero > .panel-kicker,
  .field-station-theme .mirror-public-hero h1,
  .field-station-theme .mirror-public-hero p,
  .field-station-theme .hero-highlights,
  .field-station-theme .mirror-update-pill { grid-column: 1; grid-row: auto; }
  .field-station-theme .mirror-public-hero h1 { margin-top: 13px; }
  .field-station-theme .mirror-public-hero p { margin-top: 20px; }
  .field-station-theme .hero-highlights { margin-top: 17px; }
}

@media (max-width: 820px) {
  body.field-station-theme { --topbar-height: 66px; }
  .field-station-theme .app-shell,
  .field-station-theme .app-shell.is-collapsed { grid-template-columns: minmax(0, 1fr); }
  .field-station-theme .sidebar { width: min(316px, calc(100% - 48px)); box-shadow: 28px 0 70px rgba(3, 24, 33, .45); }
  .field-station-theme .sidebar-brand { min-height: 104px; padding: 18px 20px; }
  .field-station-theme .sidebar-nav { padding: 20px 16px; }
  .field-station-theme .nav-link { min-height: 49px; font-size: 14px; }
  .field-station-theme .topbar { padding: 0 14px; }
  .field-station-theme .page-heading strong { color: #12313d; font-size: 15px; }
  .field-station-theme .main-content { padding: 22px 18px max(34px, env(safe-area-inset-bottom)); }
  .field-station-theme .mirror-public-hero { min-height: 0; padding: 28px 24px; border-radius: 3px 18px 18px 3px; }
  .field-station-theme .mirror-public-hero h1 { font-size: clamp(2rem, 6.2vw, 2.7rem); }
  .field-station-theme .mirror-public-hero p { font-size: 14px; }
  .field-station-theme .legacy-feed-intro { grid-template-columns: 1fr; align-items: start; padding: 28px 24px; }
  .field-station-theme .legacy-feed-intro .primary-button { width: 100%; }
  .field-station-theme .signin-brand-panel { border-radius: 20px 20px 4px 4px; }
  .field-station-theme .signin-card { border-radius: 4px 4px 20px 20px; }
  .field-station-theme .map-overlay-button { width: 48px; height: 48px; padding: 0; }
  .field-station-theme .map-overlay-button > span { display: none; }
  .field-station-theme .map-overlay-add { width: 56px; height: 56px; padding: 0; }
}

@media (max-width: 620px) {
  .field-station-theme .main-content { padding-inline: 15px; }
  .field-station-theme .mirror-public-hero { padding: 25px 21px; }
  .field-station-theme .mirror-public-hero h1 { font-size: clamp(1.9rem, 8vw, 2.25rem); line-height: 1.04; }
  .field-station-theme .hero-highlights { gap: 6px; }
  .field-station-theme .hero-highlights span,
  .field-station-theme .mirror-update-pill { min-height: 30px; padding-inline: 10px; font-size: 9px; }
  .field-station-theme .legacy-feed-intro { padding: 25px 21px; }
  .field-station-theme .legacy-feed-intro h1 { font-size: 2.15rem; }
  .field-station-theme .feature-toolbar { padding: 8px; }
  .field-station-theme .search-workbench,
  .field-station-theme .legacy-planning-workbench { padding: 17px; }
  .field-station-theme .fish-identifier-workspace,
  .field-station-theme .mirror-results-panel { padding: 16px; }
  .field-station-theme .fish-identify-controls { padding: 21px; }
  .field-station-theme .faq-jump-card,
  .field-station-theme .faq-category,
  .field-station-theme .legal-summary-card { padding: 20px; }
  .field-station-theme .legacy-profile-card,
  .field-station-theme .legacy-profile-activity,
  .field-station-theme .account-card { padding: 20px; }
  .field-station-theme .signin-brand-panel { min-height: 360px; padding: 30px 24px; }
  .field-station-theme .signin-brand-panel h1 { font-size: 2.35rem; }
  .field-station-theme .signin-card { padding: 23px 19px; }
  .field-station-theme .ticket-panel { padding: 20px 17px; }
  .field-station-theme .ticket-history-card { padding: 16px; }
  .field-station-theme .ticket-history-header { align-items: flex-start; }
  .field-station-theme .ticket-metadata { grid-template-columns: 1fr; }
  .field-station-theme .ticket-history-footer { display: grid; gap: 3px; }
  .field-station-theme .ticket-history-footer time { text-align: left; }
  .field-station-theme input,
  .field-station-theme select,
  .field-station-theme textarea { font-size: 16px; }
}

@media (max-width: 400px) {
  .field-station-theme .main-content { padding-inline: 13px; }
  .field-station-theme .topbar { padding-inline: 10px; }
  .field-station-theme .mirror-public-hero { padding: 23px 19px; }
  .field-station-theme .mirror-public-hero h1 { font-size: 1.95rem; }
  .field-station-theme .legacy-feed-intro { padding: 23px 19px; }
}
