.rank-panel {
  --rank-hero-size: clamp(226px, 49vw, 282px);
  display: grid;
  gap: 0.56rem;
  margin: 0;
  padding-top: 0.64rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.rank-panel > .panel-label,
.rank-panel-head > .panel-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: -0.1rem;
}

.rank-decision-row {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(14.7rem, 16rem);
  gap: 0.38rem;
  align-items: center;
  margin-top: 0;
}

.rank-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  justify-items: center;
  min-height: var(--rank-hero-size);
  gap: 0.22rem;
  min-width: 0;
  padding: 0 0.02rem 0.04rem;
}
.rank-window-card {
  display: grid;
  gap: 0.26rem;
  padding: 0.42rem 0.72rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}
.rank-window-row {
  grid-column: 1 / -1;
}
.rank-window-copy {
  display: grid;
  gap: 0.02rem;
}

.rank-window-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.rank-window-kicker,
.rank-window-title {
  margin: 0;
}
.rank-window-kicker {
  color: var(--lb-ink-40);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}
.personal-best-window {
  margin: 0;
  color: var(--lb-ink-80);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.personal-best-window[data-state="unknown"],
.personal-best-window[data-state="none"],
.personal-best-window[data-state="break"] {
  color: var(--lb-ink-60);
  font-weight: 650;
}
.personal-best-window[data-state="selected"],
.personal-best-window[data-state="great-fit"] {
  color: var(--lb-great);
}
.personal-best-window[data-state="worth-it"] {
  color: var(--lb-good);
}
.personal-best-window[data-state="challenging"],
.personal-best-window[data-state="underpowered"] {
  color: rgba(255, 224, 168, 0.96);
}
.personal-best-window[data-state="over-comfort"] {
  color: rgba(255, 164, 150, 0.98);
}
.session-planner-controls {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 0.56rem;
  min-width: 0;
}
.session-planner-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  padding: 0.16rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(7, 18, 21, 0.56);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.session-planner-toggle-btn {
  border: 0;
  border-radius: 999px;
  min-width: 3rem;
  padding: 0.34rem 0.62rem;
  color: var(--lb-ink);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}
.session-planner-toggle-btn.active {
  color: #071215;
  background: #d8f3e3;
  box-shadow:
    0 8px 18px -12px rgba(216, 243, 227, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.session-planner-toggle-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}
.rank-window-title {
  color: var(--lb-ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.22;
}
.rank-timeline-wrap {
  margin-top: 0;
}
.rank-gauge-card {
  position: relative;
  display: grid;
  width: min(100%, var(--rank-hero-size));
  aspect-ratio: 1 / 1;
  justify-self: center;
  align-self: center;
  align-items: center;
  margin-top: 0;
}
.rank-gauge {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: block;
}
.rank-gauge-track {
  fill: none;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-dasharray: 86 14;
  transform: rotate(55deg);
  transform-origin: 130px 130px;
  stroke: rgba(255, 255, 255, 0.12);
}

.rank-gauge-fill {
  fill: none;
  stroke-width: 22;
  stroke-linecap: round;
  transform: rotate(55deg);
  transform-origin: 130px 130px;
  transition: filter 400ms ease;
}

.rank-gauge-ticks line {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke 300ms ease;
}

.rank-gauge-ticks line.tick-active {
  stroke: rgba(255, 255, 255, 0.7);
}

.rank-gauge-ticks line.tick-major {
  stroke-width: 2;
}

/* Perfect 10 easter egg */
@keyframes gauge-arc-breathe {
  0%, 100% { filter: drop-shadow(0 0 8px var(--gauge-glow-soft, rgba(30, 136, 229, 0.6))) drop-shadow(0 0 20px var(--gauge-glow-faint, rgba(30, 136, 229, 0.27))); }
  50%       { filter: drop-shadow(0 0 20px var(--gauge-glow-strong, rgba(30, 136, 229, 0.8))) drop-shadow(0 0 44px var(--gauge-glow-mid, rgba(30, 136, 229, 0.53))); }
}
@keyframes gauge-score-glow {
  0%, 100% { text-shadow: 0 0 12px var(--gauge-text-soft, rgba(30, 136, 229, 0.45)), 0 0 32px var(--gauge-text-faint, rgba(30, 136, 229, 0.18)); }
  50%       { text-shadow: 0 0 28px var(--gauge-text-strong, rgba(30, 136, 229, 0.72)), 0 0 64px var(--gauge-text-mid, rgba(30, 136, 229, 0.4)); }
}
.rank-gauge-fill.gauge-perfect {
  animation: gauge-arc-breathe 3s ease-in-out infinite;
}
.rank-gauge-arc-segments.gauge-perfect {
  animation: gauge-arc-breathe 3s ease-in-out infinite;
}
.rank-gauge-ticks.gauge-perfect line {
  stroke: rgba(255, 255, 255, 0.85) !important;
}
.rank-value.gauge-perfect {
  animation: gauge-score-glow 3s ease-in-out infinite;
}
.rank-score-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}
.rank-value {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  font-weight: 800;
  transform: translateY(-0.12rem);
}
#rank-number {
  font-family: var(--lb-font-sans);
  font-size: clamp(4.5rem, 13vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #ffffff;
}
.rank-denom {
  font-size: clamp(1.85rem, 4.6vw, 2.5rem);
  line-height: 1;
  color: var(--lb-ink-40);
}
.rank-copy-below {
  display: none;
}

.decision-tide-chart {
  display: flex;
  align-items: end;
  gap: 0.04rem;
  min-height: 2.8rem;
  padding-top: 0.28rem;
  overflow: hidden;
}

.decision-tide-chart[hidden] {
  display: none;
}

.decision-tide-bar {
  flex: 1 1 0;
  min-width: 0;
  height: max(12%, var(--tide-bar-height, 24%));
  border-radius: 1px 1px 0 0;
  background: rgba(97, 119, 146, 0.2);
  box-shadow: inset 0 0 0 0.55px rgba(92, 114, 138, 0.28);
}

.decision-tide-bar.is-past {
  background: rgba(97, 119, 146, 0.14);
  box-shadow: inset 0 0 0 0.55px rgba(92, 114, 138, 0.18);
  opacity: 0.55;
}

.decision-tide-bar.is-rising-current {
  background: rgba(15, 57, 120, 0.88);
  box-shadow: inset 0 0 0 0.6px rgba(9, 39, 89, 0.96);
  opacity: 1;
}

.decision-tide-bar.is-falling-current {
  background: rgba(139, 39, 39, 0.88);
  box-shadow: inset 0 0 0 0.6px rgba(97, 18, 18, 0.96);
  opacity: 1;
}

.decision-subvalue {
  display: block;
  margin: 0;
  color: #7a8a96;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.decision-subvalue-metrics,
.decision-subvalue-direction {
  display: block;
}

.decision-subvalue-metrics {
  font-weight: 600;
}

.decision-subvalue-direction {
  margin-top: 0.16rem;
  font-size: 0.96em;
  font-weight: 700;
  color: #5f7180;
  letter-spacing: 0.02em;
}

.target-time {
  margin: 0;
  max-width: 16ch;
  padding: 0.28rem 0.46rem;
  border: 1px solid rgba(87, 121, 140, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(250, 253, 254, 0.94), rgba(242, 248, 250, 0.94));
  color: #4f6470;
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-wrap: nowrap;
}

.rank-decision-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: 0.52rem;
  align-items: stretch;
}

.forecast-group {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 0.28rem;
  align-content: start;
}

.forecast-group-local {
  padding: 0.48rem;
  border-radius: 1.22rem;
  border: 1px solid rgba(231, 149, 89, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.92), rgba(254, 245, 238, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 28px rgba(164, 113, 74, 0.08);
}

.forecast-group-base {
  gap: 0.24rem;
}

.forecast-group-head {
  padding: 0 0.06rem;
}

.forecast-group-title {
  margin: 0;
  color: #c96a29;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
}

.forecast-group-base .forecast-group-title {
  color: #4f5b67;
}

.forecast-group-grid {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  width: 100%;
}

.forecast-group-grid-local {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "score score"
    "wave clean"
    "crowd consistency";
}

.forecast-group-grid-base {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "windswell period power"
    "windswell wind tide";
}

.spot-check-card {
  position: relative;
  min-width: 0;
  padding: 0.4rem 0.46rem 0.42rem;
  display: grid;
  align-content: start;
  gap: 0.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.06rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 254, 255, 0.98), rgba(240, 247, 248, 0.95));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(58, 88, 102, 0.08);
}

.spot-check-card.decision-cell {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.spot-check-card-score {
  min-height: 1.66rem;
  padding: 0.22rem 0.3rem;
  border-color: var(--score-accent-border, rgba(168, 40, 40, 0.26));
  background:
    radial-gradient(circle at 82% 22%, var(--score-accent-soft, rgba(168, 40, 40, 0.16)), transparent 32%),
    linear-gradient(160deg, var(--score-accent-strong, rgba(168, 40, 40, 0.94)), rgba(20, 31, 44, 0.96));
  box-shadow: 0 12px 26px rgba(15, 23, 32, 0.28);
}

.spot-check-card-score .decision-label {
  color: var(--lb-ink-80);
  line-height: 1;
  margin-bottom: 0.04rem;
}

.spot-score-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.62rem;
  align-items: start;
}

.rank-gauge-shell {
  position: absolute;
  inline-size: 0;
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.spot-check-card-score .rank-score-copy {
  position: relative;
  inset: auto;
  display: grid;
  gap: 0.08rem;
  align-content: start;
  place-items: start;
  text-align: left;
  min-width: 0;
  padding-top: 0.02rem;
}

.spot-check-card-score .rank-value {
  justify-content: flex-start;
  transform: none;
  align-items: flex-end;
  gap: 0.14rem;
}

.spot-check-card-score #rank-number {
  color: var(--lb-ink-60);
  font-size: 1.05rem;
  line-height: 1;
  font-family: var(--lb-font-sans);
  font-weight: 600;
}

.spot-check-card-score .rank-denom {
  color: var(--lb-ink-60);
  font-size: clamp(0.88rem, 2.3vw, 1.08rem);
  line-height: 1;
  padding-bottom: 0.16rem;
}

.score-confidence-block {
  display: grid;
  gap: 0;
  width: 100%;
}

.score-confidence-label {
  margin: 0;
  color: var(--lb-ink);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.score-confidence-meter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.18rem;
  width: 100%;
}

.score-confidence-segment {
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.score-confidence-segment.is-filled {
  background: var(--score-confidence-accent, rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 12px rgba(255, 255, 255, 0.12);
}

.spot-check-card-score[data-confidence-state="fresh"],
.score-confidence-meter[data-state="fresh"] {
  --score-confidence-accent: #e0aa61;
}

.spot-check-card-score[data-confidence-state="feeling-it-out"],
.score-confidence-meter[data-state="feeling-it-out"] {
  --score-confidence-accent: #e8bf63;
}

.spot-check-card-score[data-confidence-state="dialing-in"],
.score-confidence-meter[data-state="dialing-in"] {
  --score-confidence-accent: #9ec46f;
}

.spot-check-card-score[data-confidence-state="locked-in"],
.score-confidence-meter[data-state="locked-in"] {
  --score-confidence-accent: #63c486;
}

.spot-check-card-score[data-confidence-state="firing"],
.score-confidence-meter[data-state="firing"] {
  --score-confidence-accent: #5ec8b6;
}

.spot-check-card-score[data-confidence-state="unknown"],
.score-confidence-meter[data-state="unknown"] {
  --score-confidence-accent: rgba(255, 255, 255, 0.7);
}

.rank-copy-below {
  display: block;
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.12;
  font-weight: 600;
  text-wrap: balance;
}

.spot-check-card-score .rank-copy-below {
  display: none;
  color: var(--lb-ink);
}

.spot-score-temp-rail {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 0.18rem;
  min-width: 3.7rem;
  padding: 0.06rem 0 0 0.42rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.spot-score-temp-item {
  display: grid;
  gap: 0.05rem;
  justify-items: start;
}

.spot-score-temp-label {
  color: var(--lb-ink-60);
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spot-score-temp-value {
  color: #ffffff;
  font-family: var(--lb-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.forecast-card-wind-swell {
  grid-area: windswell;
}

.forecast-card-wind {
  grid-area: wind;
}

.forecast-group-local .spot-check-card:not(.spot-check-card-score) {
  border-color: rgba(230, 150, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(251, 244, 239, 0.96));
  box-shadow: 0 10px 24px rgba(145, 104, 75, 0.08);
}

.forecast-group-grid-local .decision-cell-wave,
.forecast-group-grid-local .decision-cell-cleanliness,
.forecast-group-grid-base .decision-cell-period,
.forecast-group-grid-base .decision-cell-power,
.forecast-group-grid-base .decision-cell-tide,
.forecast-group-grid-base .decision-cell-wind-metrics,
.forecast-placeholder-card {
  min-height: 2.86rem;
  align-content: start;
}

.forecast-placeholder-card {
  padding-top: 0.56rem;
  padding-bottom: 0.56rem;
}

.forecast-card-wind-swell {
  min-height: 6.24rem;
  background:
    linear-gradient(180deg, rgba(247, 250, 247, 0.98), rgba(234, 242, 236, 0.95));
  box-shadow: 0 12px 26px rgba(58, 88, 102, 0.09);
}

.forecast-group-grid-local .decision-cell-wave,
.forecast-group-grid-local .decision-cell-cleanliness,
.forecast-group-grid-base .decision-cell-wind-metrics {
  grid-template-rows: auto var(--spot-check-value-slot-height, 1.86rem) auto;
}

.forecast-group-grid-base .decision-cell-period,
.forecast-group-grid-base .decision-cell-power,
.forecast-group-grid-base .decision-cell-tide {
  grid-template-rows: auto var(--spot-check-value-slot-height, 1.86rem);
}

.forecast-group-grid-local .decision-cell-wave {
  --spot-check-value-slot-height: 1.76rem;
}

.forecast-group-grid-base .decision-cell-period,
.forecast-group-grid-base .decision-cell-power {
  --spot-check-value-slot-height: 1.72rem;
}

.forecast-group-grid-base .decision-cell-tide {
  --spot-check-value-slot-height: 1.42rem;
}

.forecast-group-grid-base .decision-cell-wind-metrics {
  --spot-check-value-slot-height: 2.05rem;
}

.forecast-group-grid-local .decision-cell-cleanliness {
  --spot-check-value-slot-height: 2.26rem;
  grid-template-rows: auto auto auto;
  padding-top: 0.22rem;
  padding-bottom: 0.24rem;
  gap: 0.02rem;
}

.metric-confidence-block {
  margin-top: auto;
  padding-top: 0.1rem;
  width: 100%;
  align-self: end;
}

.metric-confidence-label {
  color: rgba(33, 46, 58, 0.48);
  font-size: 0.58rem;
}

.metric-confidence-meter .score-confidence-segment {
  background: rgba(33, 46, 58, 0.08);
  box-shadow: inset 0 0 0 1px rgba(33, 46, 58, 0.06);
}

.metric-confidence-meter .score-confidence-segment.is-filled {
  background: var(--score-confidence-accent, rgba(33, 46, 58, 0.26));
  box-shadow: 0 0 0 1px rgba(33, 46, 58, 0.08), 0 0 10px rgba(33, 46, 58, 0.06);
}

.forecast-group-grid-local .decision-cell-wave .decision-value {
  font-size: clamp(1.5rem, 5vw, 1.82rem);
  text-align: left;
  line-height: 0.95;
}

.forecast-group-grid-local .decision-cell-wave,
.forecast-group-grid-local .decision-cell-cleanliness,
.forecast-group-grid-base .decision-cell-period,
.forecast-group-grid-base .decision-cell-power,
.forecast-group-grid-base .decision-cell-tide,
.forecast-group-grid-base .decision-cell-wind-metrics {
  gap: 0.08rem;
}

.forecast-group-grid-local .decision-cell-wave,
.forecast-group-grid-base .decision-cell-period,
.forecast-group-grid-base .decision-cell-power {
  padding-top: 0.34rem;
  padding-bottom: 0.16rem;
  gap: 0.12rem;
}

.spot-check-card.decision-cell-wave[data-state="high"] {
  background: linear-gradient(180deg, rgba(67, 160, 71, 0.16), rgba(67, 160, 71, 0.08));
}

.spot-check-card.decision-cell-wave[data-state="medium"] {
  background: linear-gradient(180deg, rgba(249, 168, 37, 0.18), rgba(249, 168, 37, 0.08));
}

.spot-check-card.decision-cell-wave[data-state="low"] {
  background: linear-gradient(180deg, rgba(244, 81, 30, 0.14), rgba(244, 81, 30, 0.07));
}

.forecast-group-grid-base .decision-cell-period .decision-value,
.forecast-group-grid-base .decision-cell-power .decision-value,
.forecast-group-grid-base .decision-cell-wind-metrics .decision-value,
.forecast-group-grid-local .decision-cell-cleanliness .decision-value {
  font-size: clamp(1.5rem, 5vw, 1.82rem);
  text-align: left;
  line-height: 0.95;
}

.forecast-group-grid-local .decision-cell-wave .decision-value,
.forecast-group-grid-base .decision-cell-period .decision-value,
.forecast-group-grid-base .decision-cell-power .decision-value {
  margin-top: 0.08rem;
}

.forecast-group-grid-base .decision-cell-tide .decision-value {
  font-size: 1.16rem;
  text-align: left;
  line-height: 1.05;
}

.forecast-group-grid-base .decision-cell-wind-metrics .decision-value,
.forecast-group-grid-base .decision-cell-wind-metrics .decision-subvalue {
  text-align: left;
}

.forecast-group-grid-local .decision-cell-cleanliness .decision-value {
  font-size: clamp(1.18rem, 3.6vw, 1.34rem);
  text-align: left;
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  height: 2.04em;
}

.forecast-group-grid-local .decision-cell-cleanliness .metric-confidence-block {
  padding-top: 0.02rem;
}

.forecast-group-grid-base .decision-cell-wind-metrics .decision-value {
  line-height: 1.2;
}

.forecast-group-grid-base .decision-cell-wind-metrics .decision-subvalue {
  font-size: 0.66rem;
  line-height: 1.12;
  text-wrap: pretty;
}

.spot-check-card .decision-label {
  justify-self: start;
  width: 100%;
  text-align: left;
}

.forecast-group-grid-local .decision-cell-wave .decision-value,
.forecast-group-grid-local .decision-cell-cleanliness .decision-value,
.forecast-group-grid-base .decision-cell-period .decision-value,
.forecast-group-grid-base .decision-cell-power .decision-value,
.forecast-group-grid-base .decision-cell-tide .decision-value,
.forecast-group-grid-base .decision-cell-wind-metrics .decision-value,
.forecast-group-grid-base .decision-cell-wind-metrics .decision-subvalue {
  text-wrap: balance;
}

.spot-check-card.decision-cell-wind-metrics[data-state="good"] {
  background: linear-gradient(180deg, rgba(67, 160, 71, 0.15), rgba(67, 160, 71, 0.07));
}

.spot-check-card.decision-cell-wind-metrics[data-state="mixed"] {
  background: linear-gradient(180deg, rgba(249, 168, 37, 0.16), rgba(249, 168, 37, 0.08));
}

.spot-check-card.decision-cell-wind-metrics[data-state="poor"] {
  background: linear-gradient(180deg, rgba(244, 81, 30, 0.15), rgba(244, 81, 30, 0.08));
}

.paddling-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  column-gap: 0.72rem;
  row-gap: 0.32rem;
  align-items: center;
  padding-top: 0.38rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.paddling-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.paddling-status {
  margin: 0;
  color: var(--lb-ink-60);
  font-size: 0.74rem;
  line-height: 1.3;
}

.paddling-target {
  color: var(--lb-ink);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.paddling-target[data-tone="pending"] {
  color: rgba(194, 235, 215, 0.96);
}
.paddling-target[data-tone="error"] {
  color: rgba(255, 164, 150, 0.98);
}

.paddling-actions {
  display: grid;
  gap: 0.26rem;
  justify-items: end;
}

.paddling-out-btn {
  margin: 0;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  border-color: var(--lb-hairline);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lb-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.paddling-out-btn.active {
  border-color: transparent;
  background: #e8731a;
  color: #ffffff;
}

.paddling-out-btn:disabled {
  border-color: var(--lb-hairline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lb-ink-20);
  box-shadow: none;
  cursor: not-allowed;
}

.paddling-lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.28rem;
}

.paddling-line {
  margin: 0;
  color: var(--lb-ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.42;
}

.paddling-line-remove {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lb-ink-40);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
}

.paddling-line-remove:hover {
  color: var(--lb-ink-80);
}

.paddling-line-empty {
  color: var(--lb-ink-40);
}

.spot-context-card {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.78rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
}
.spot-context-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}
.spot-context-copy { display: grid; gap: 0.14rem; }
.spot-context-copy .panel-label {
  color: var(--lb-ink-40);
}
.spot-context-copy strong { font-size: 1rem; color: var(--lb-ink); }
.spot-context-copy span { color: var(--lb-ink-60); font-size: 0.79rem; }
.identity-home-break-card {
  margin-top: 0.8rem;
}
.identity-home-break-card .feedback-status {
  margin-top: 0;
}
.spot-context-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

#change-home-break-btn {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #e8731a;
  font-weight: 700;
}
.spot-lists {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.7rem;
}
.spot-list-block { display: grid; gap: 0.42rem; }
.spot-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}
.spot-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lb-ink-80);
  padding: 0.5rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.spot-chip.active {
  border-color: rgba(232, 115, 26, 0.5);
  background: rgba(232, 115, 26, 0.2);
  color: var(--lb-ink);
}
.spot-discovery-list {
  display: grid;
  gap: 0.45rem;
}
.spot-discovery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.72rem;
  padding: 0.56rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
}
.spot-discovery-copy {
  display: grid;
  gap: 0.08rem;
}
.spot-discovery-copy strong { font-size: 0.84rem; color: var(--lb-ink); }
.spot-discovery-copy span { color: var(--lb-ink-60); font-size: 0.74rem; }
.spot-discovery-card.manual {
  border-style: dashed;
}
.spot-discovery-card.upgrade-card {
  border-style: dashed;
  border-color: var(--lb-hairline);
  background: rgba(255, 255, 255, 0.04);
}
.spot-discovery-card.upgrade-card .spot-discovery-copy strong {
  color: var(--lb-ink);
}
.spot-discovery-card.upgrade-card .spot-discovery-copy span {
  max-width: 38ch;
  line-height: 1.45;
}
.upgrade-cta {
  border-color: var(--lb-hairline);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lb-ink-80);
  font-weight: 700;
}
.spot-upgrade-note {
  margin: 0.02rem 0 0;
  color: var(--lb-ink-40);
  font-size: 0.72rem;
  line-height: 1.4;
}
.spot-upgrade-note[hidden] {
  display: none;
}
.map-edit-hint {
  margin: 0.52rem 0 0;
  padding: 0.58rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--lb-ink-60);
  font-size: 0.78rem;
  line-height: 1.42;
}
.map-edit-hint[hidden] {
  display: none;
}
.map-stage { margin-top: 0.55rem; position: relative; height: 300px; border-radius: 0.85rem; overflow: hidden; }
.map-wrap { position: absolute; inset: 0; z-index: 1; border: 1px solid var(--line-strong); }
.swell-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.2;
  transform-origin: center;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 14px, rgba(255,255,255,0.46) 14px, rgba(255,255,255,0.46) 16px, rgba(255,255,255,0) 16px, rgba(255,255,255,0) 27px);
}
.map-legend { margin-top: 0.44rem; }
.map-legend p { margin: 0.2rem 0 0; font-size: 0.69rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; }
.legend-swatch { width: 14px; height: 3px; border-radius: 4px; display: inline-block; }
.legend-swatch.swell { background: var(--accent); }
.legend-swatch.wind { background: #ff6a56; }
.legend-swatch.crew { background: #1f6fb0; }
.map-status { margin: 0.45rem 0 0; color: var(--text-secondary); font-size: 0.74rem; }

.spot-marker {
  appearance: none;
  display: block;
  padding: 0;
  width: 124px;
  height: 124px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(232, 115, 26, 0.25);
  background: radial-gradient(circle, rgba(232, 115, 26, 0.08), rgba(232, 115, 26, 0.14));
}
.marker-core { width: 16px; height: 16px; border-radius: 50%; background: #d46457; border: 4px solid #f5ddd7; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mini-spot-marker,
.user-marker {
  appearance: none;
  display: block;
  padding: 0;
  width: 18px;
  height: 18px;
  aspect-ratio: 1 / 1;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid #f7fbff;
  box-shadow: 0 6px 16px rgba(13, 30, 44, 0.24);
}
.mini-spot-marker.saved { background: #1f6fb0; }
.mini-spot-marker.nearby {
  background: rgba(22, 34, 48, 0.9);
  border-color: #1f6fb0;
}
.drag-handle-marker {
  position: relative;
  appearance: none;
  display: block;
  padding: 0;
  width: 28px;
  height: 28px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(13, 30, 44, 0.24);
}
.drag-handle-marker::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(31, 111, 176, 0.22);
  background: rgba(31, 111, 176, 0.08);
}
.drag-handle-marker::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(22, 34, 48, 0.96);
}
.drag-handle-marker.draft {
  background: linear-gradient(180deg, #2f7dc0, #185c93);
}
.drag-handle-marker.editing {
  background: linear-gradient(180deg, #f26a56, #c84a39);
}
#save-draft-spot-btn {
  border-color: transparent;
  background: #e8731a;
  color: #ffffff;
  font-weight: 800;
}
#cancel-draft-spot-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lb-ink);
}
.user-marker {
  width: 14px;
  height: 14px;
  background: #ffb347;
  border-color: var(--lb-ink);
}

.timeline-wrap {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.12rem;
}
.timeline-chart {
  position: relative;
  min-height: 118px;
  padding: 0.08rem 0 0.34rem;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.timeline-chart::before {
  content: "";
  position: absolute;
  inset: 0.96rem 0 0.22rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)),
    linear-gradient(180deg, rgba(146, 175, 207, 0.08), rgba(146, 175, 207, 0));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.timeline-day-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.timeline-day-marker {
  position: absolute;
}
.timeline-day-label {
  position: absolute;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--lb-ink-40);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.timeline-day-divider {
  position: absolute;
  top: 1rem;
  bottom: 0.42rem;
  z-index: 2;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}
.timeline-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3px;
  align-items: end;
  min-height: 118px;
  padding: 0.96rem 0.1rem 0.3rem;
}
.timeline-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}
.timeline-bar {
  flex: 1 1 0;
  position: relative;
  display: block;
  min-height: 6px;
  border-radius: 3px 3px 1px 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 16px -16px var(--timeline-bar-glow, rgba(255, 255, 255, 0.12));
}
.timeline-popularity-marker {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.06rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.timeline-popularity-marker::after {
  content: "";
  width: 1px;
  height: var(--timeline-marker-stem, 0.88rem);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(106, 130, 142, 0.78), rgba(106, 130, 142, 0.22));
}
.timeline-active-time-marker {
  position: absolute;
  left: 50%;
  top: 1.02rem;
  z-index: 3;
  width: 1px;
  height: 1.8rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.timeline-active-time-marker::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 1px;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(50, 69, 79, 0.78);
  transform: translateX(-50%);
}
.timeline-active-time-label {
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 0.64rem;
  font-weight: 700;
  color: rgba(50, 69, 79, 0.95);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  transform: translateX(-50%);
}
.timeline-active-time-marker.is-edge-start .timeline-active-time-label {
  left: 0;
  transform: none;
}
.timeline-active-time-marker.is-edge-end .timeline-active-time-label {
  right: 0;
  left: auto;
  transform: none;
}
.timeline-active-window-band {
  position: absolute;
  top: 0.96rem;
  bottom: 0.3rem;
  z-index: 1;
  display: none;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 122, 28, 0.12), rgba(255, 122, 28, 0.03)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 122, 28, 0.28),
    0 8px 18px -18px rgba(255, 122, 28, 0.42);
}
.timeline-popularity-badge {
  display: grid;
  place-items: center;
  width: var(--timeline-marker-size, 1.12rem);
  height: var(--timeline-marker-size, 1.12rem);
  border-radius: 50%;
  font-size: var(--timeline-marker-font-size, 0.58rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  color: rgba(50, 69, 79, 0.98);
  text-shadow: 0 0 0.01px rgba(50, 69, 79, 0.98);
  background: rgba(250, 253, 254, 0.985);
  border: 1.5px solid rgba(99, 123, 136, 0.42);
  box-shadow:
    0 0 0 2px rgba(248, 252, 253, 0.98),
    0 10px 18px -16px rgba(62, 81, 93, 0.24);
}
.timeline-night-gap {
  flex: 0 0 calc(var(--night-gap-weight, 0.42) * 14px);
  align-self: end;
  min-height: 26px;
  height: 34px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(167, 178, 197, 0.18) 0,
      rgba(167, 178, 197, 0.18) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(118, 129, 153, 0.18), rgba(69, 78, 98, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0.72;
}
.timeline-bar.daylight {
  opacity: 1;
}
.timeline-bar.night {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 14px -12px rgba(126, 140, 168, 0.1);
}
.timeline-bar::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 2px;
  height: 24%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}
.timeline-bar.active {
  outline: 1.5px solid rgba(255, 122, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 122, 28, 0.18),
    0 12px 20px -18px rgba(255, 122, 28, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.timeline-bar.personal-best {
  outline: 1.5px solid rgba(194, 235, 215, 0.86);
  box-shadow:
    0 0 0 1px rgba(22, 84, 66, 0.28),
    0 16px 24px -16px rgba(194, 235, 215, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.timeline-bar.active.personal-best {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 2px rgba(194, 235, 215, 0.62),
    0 16px 26px -15px rgba(194, 235, 215, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.timeline-bar.personal-caution {
  outline: 1.5px solid rgba(255, 164, 150, 0.86);
  box-shadow:
    0 0 0 1px rgba(112, 35, 34, 0.32),
    0 16px 24px -16px rgba(255, 164, 150, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.timeline-personal-best-marker {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.08rem);
  z-index: 2;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(194, 235, 215, 0.98);
  border: 1.5px solid rgba(33, 82, 67, 0.42);
  box-shadow:
    0 0 0 2px rgba(12, 22, 23, 0.72),
    0 8px 14px -10px rgba(194, 235, 215, 0.5);
  transform: translateX(-50%);
  pointer-events: none;
}
@keyframes timeline-perfect-pulse {
  0%, 100% { filter: brightness(1);    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 20px -14px rgba(21, 101, 192, 0.55); }
  50%       { filter: brightness(1.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 26px -12px rgba(21, 101, 192, 0.78); }
}
.timeline-bar.perfect {
  animation: timeline-perfect-pulse 2.2s ease-in-out infinite;
}
#hour-slider {
  width: 100%;
  margin-top: 0.24rem;
  accent-color: var(--accent);
  appearance: none;
  background: transparent;
}
#hour-slider::-webkit-slider-runnable-track {
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
#hour-slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.34rem;
  height: 1.34rem;
  margin-top: -0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #edf0f4);
  box-shadow: 0 6px 12px rgba(11, 16, 32, 0.2);
}
#hour-slider::-moz-range-track {
  height: 0.62rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
#hour-slider::-moz-range-thumb {
  width: 1.34rem;
  height: 1.34rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #edf0f4);
  box-shadow: 0 6px 12px rgba(11, 16, 32, 0.2);
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.69rem;
}
.timeline-label {
  letter-spacing: 0.01em;
}
.timeline-label-end {
  font-weight: 700;
}

textarea, select {
  margin-top: 0.34rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: #fafbfc;
  color: var(--text);
  font: inherit;
  padding: 0.48rem 0.58rem;
}
textarea { margin-top: 0.6rem; min-height: 88px; resize: vertical; }
#report-input {
  margin-top: 0.62rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: #fafbfc;
  color: var(--text);
  font: inherit;
  padding: 0.48rem 0.58rem;
}
.report-block,
.calibration-block {
  margin-top: 0.58rem;
}
.report-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.82rem;
  padding: 0.72rem;
  background: #fafbfc;
}

button {
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.62rem;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  font-size: 0.76rem;
  padding: 0.44rem 0.6rem;
}
.feedback-status { margin: 0.56rem 0 0; color: var(--text-secondary); font-size: 0.76rem; }
.feedback-status:empty { display: none; }

.report-feed { margin-top: 0.56rem; display: grid; gap: 0.42rem; }
.report-observed {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.42rem;
}
.report-observed-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}
.report-observed-btn {
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
}
.report-observed-btn.active {
  border-color: #e8731a;
  background: rgba(232, 115, 26, 0.08);
  color: #e8731a;
}
.report-notes-label {
  display: block;
  margin-top: 0.72rem;
  color: #5c6f7a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-empty {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.74rem;
  line-height: 1.4;
}
.report-credit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  border: 1px solid rgba(232, 115, 26, 0.15);
  border-radius: 0.68rem;
  background: rgba(232, 115, 26, 0.04);
  padding: 0.55rem 0.62rem;
}
.report-credit-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8731a;
  box-shadow: none;
  position: relative;
  color: transparent;
}
.report-credit-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}
.report-credit-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.report-credit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.32rem;
  min-width: 0;
}
.report-credit-copy strong {
  font-size: 0.82rem;
  color: #e8731a;
  line-height: 1.2;
}
.report-credit-summary {
  color: var(--text-secondary);
  font-size: 0.79rem;
  line-height: 1.28;
  min-width: 0;
}
.report-credit-meta {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.memory-strip {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.26rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.68rem;
  padding: 0.52rem 0.58rem;
  background: #f7f8fa;
}
.memory-strip p { margin: 0; color: var(--text-secondary); font-size: 0.77rem; }

.calibration-block {
  margin-top: 0.72rem;
}
.feedback-group {
  margin-top: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.64rem;
  padding: 0.5rem 0.56rem;
  background: #fafbfc;
}
.feedback-group p { margin: 0 0 0.36rem; font-size: 0.79rem; color: var(--text); font-weight: 800; }
.feedback-group div { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.feedback-group button.active { border-color: #e8731a; background: rgba(232, 115, 26, 0.06); color: #e8731a; font-weight: 700; }

.submit-btn {
  width: 100%;
  margin-top: 0.82rem;
  padding: 0.63rem;
  border-color: transparent;
  color: #ffffff;
  font-weight: 700;
  background: #e8731a;
}

.report-cancel-btn {
  margin-top: 0.55rem;
  padding: 0.38rem 0.85rem;
  border: 1.5px solid #e8731a;
  border-radius: 0.5rem;
  background: transparent;
  color: #e8731a;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.report-cancel-btn:hover {
  background: #fdf3ec;
}

.report-credit-pending {
  border-color: rgba(232, 115, 26, 0.3);
  background: rgba(232, 115, 26, 0.04);
}

.report-credit-stale {
  border-color: rgba(78, 92, 105, 0.16);
  background: rgba(78, 92, 105, 0.04);
  opacity: 0.74;
}

.report-credit-stale .report-credit-check {
  background: rgba(78, 92, 105, 0.68);
}

.report-credit-stale .report-credit-copy strong {
  color: rgba(78, 92, 105, 0.88);
}

.app-source-line {
  margin: 0.82rem 0 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.5;
  text-wrap: balance;
}

.app-made-in {
  margin: 0.22rem 0 0;
  color: #4f616b;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-align: left;
  text-wrap: balance;
}

.app-source-line.source-fallback {
  color: #d97706;
  font-weight: 500;
}

.top-hero-card {
  --hero-shell: #f3f8f8;
  --hero-shell-top: #fbfefd;
  --hero-shell-bottom: #eaf1f2;
  --hero-line-soft: rgba(13, 27, 42, 0.09);
  --hero-text: #1a2830;
  --hero-text-strong: #0d1b2a;
  --hero-muted: #546e7a;
  --hero-subtle: #8fa3ad;
  --hero-shadow: 0 18px 42px rgba(13, 27, 42, 0.1), 0 4px 12px rgba(13, 27, 42, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)) top/100% 44% no-repeat,
    linear-gradient(180deg, var(--hero-shell-top) 0%, var(--hero-shell) 46%, var(--hero-shell-bottom) 100%);
  color: var(--hero-text);
  border-color: rgba(74, 103, 118, 0.12);
  box-shadow: var(--hero-shadow);
}

.top-hero-card .top-bar-copy {
  padding-top: 0.14rem;
}

.top-hero-card .eyebrow {
  color: var(--hero-subtle);
  letter-spacing: 0.16em;
}

.top-hero-card .made-in-copy {
  margin-top: 0.34rem;
  color: rgba(232, 115, 26, 0.9);
}

.top-hero-card h1 {
  color: var(--hero-text-strong);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.top-hero-card .confidence-tile {
  position: relative;
  overflow: hidden;
  border-color: rgba(87, 121, 140, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 115, 26, 0.16), rgba(232, 115, 26, 0) 36%),
    radial-gradient(circle at 0% 0%, rgba(108, 170, 196, 0.18), rgba(108, 170, 196, 0) 52%),
    linear-gradient(180deg, rgba(251, 254, 255, 0.94), rgba(243, 249, 250, 0.98)),
    linear-gradient(135deg, rgba(108, 170, 196, 0.08), rgba(255, 255, 255, 0));
  box-shadow: 0 16px 30px rgba(58, 88, 102, 0.12);
}

.top-hero-card .confidence-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.24rem;
  background: linear-gradient(180deg, rgba(232, 115, 26, 0.96), rgba(232, 115, 26, 0.3));
}

.top-hero-card .confidence-percent {
  color: #d66716;
  font-size: 2.56rem;
  line-height: 0.76;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 18px rgba(232, 115, 26, 0.16);
}

.top-hero-card .confidence-kicker {
  color: var(--hero-subtle);
  letter-spacing: 0.16em;
}

.top-hero-card .confidence-level {
  color: var(--hero-text-strong);
  font-size: 1.7rem;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.top-hero-card .confidence-support {
  color: var(--hero-muted);
}

.top-hero-card .confidence-progress-label,
.top-hero-card .confidence-progress-detail {
  color: var(--hero-muted);
}

.top-hero-card .confidence-progress-label {
  color: #445761;
}

.top-hero-card .confidence-progress-track {
  height: 0.42rem;
  background: rgba(129, 161, 177, 0.24);
  box-shadow: inset 0 0 0 1px rgba(87, 121, 140, 0.1);
}

.top-hero-card .confidence-tile .confidence-progress-fill {
  background: linear-gradient(90deg, #e8731a, #f1a24c);
  box-shadow: 0 0 14px rgba(232, 115, 26, 0.18);
}

.top-hero-card .confidence-progress-marker {
  width: 0.78rem;
  height: 0.78rem;
  border-color: rgba(232, 115, 26, 0.36);
  background: #fffdf9;
  box-shadow: 0 8px 18px rgba(58, 88, 102, 0.16);
}

.top-hero-card .confidence-progress-stop {
  background: rgba(87, 121, 140, 0.22);
}

.top-hero-card .confidence-progress-block {
  gap: 0.28rem;
  margin-top: 0.18rem;
}

.top-hero-card .surf-journal-actions {
  display: grid;
  gap: 0.48rem;
  margin-bottom: 1.05rem;
}

.top-hero-card .surf-journal-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.top-hero-card .surf-journal-action-btn {
  padding: 0.9rem 0.7rem;
  border-radius: 1rem;
  border: 1px solid rgba(87, 121, 140, 0.12);
  background: rgba(248, 253, 254, 0.92);
  color: #48606d;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.top-hero-card .surf-journal-action-btn-primary {
  border-color: rgba(232, 115, 26, 0.28);
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(249, 239, 230, 0.96));
  color: #b55a16;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 20px rgba(232, 115, 26, 0.12);
}

.top-hero-card .surf-journal-status {
  margin: 0;
  min-height: 1.1rem;
  color: #5a6f7a;
  font-size: 0.82rem;
}

.top-hero-card .surf-journal-status[data-tone="success"] {
  min-height: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(78, 164, 108, 0.32);
  border-radius: 0.9rem;
  background: rgba(78, 164, 108, 0.12);
  color: #244f36;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 10px 22px rgba(42, 102, 67, 0.1);
}

.top-hero-card .confidence-progress-head {
  align-items: center;
}

.top-hero-card .confidence-tile[data-state="firing"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 115, 26, 0.24), rgba(232, 115, 26, 0) 46%),
    radial-gradient(circle at 0% 0%, rgba(91, 177, 201, 0.24), rgba(91, 177, 201, 0) 52%),
    linear-gradient(180deg, rgba(251, 255, 255, 0.96), rgba(240, 248, 249, 0.98)),
    linear-gradient(135deg, rgba(91, 177, 201, 0.1), rgba(255, 255, 255, 0));
}

.top-hero-card .confidence-tile[data-state="locked-in"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 137, 64, 0.18), rgba(224, 137, 64, 0) 42%),
    radial-gradient(circle at 0% 0%, rgba(85, 159, 187, 0.2), rgba(85, 159, 187, 0) 52%),
    linear-gradient(180deg, rgba(249, 254, 255, 0.94), rgba(238, 246, 248, 0.98)),
    linear-gradient(135deg, rgba(85, 159, 187, 0.1), rgba(255, 255, 255, 0));
}

.top-hero-card .confidence-tile[data-state="dialing-in"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 143, 88, 0.14), rgba(216, 143, 88, 0) 42%),
    radial-gradient(circle at 0% 0%, rgba(111, 167, 188, 0.18), rgba(111, 167, 188, 0) 52%),
    linear-gradient(180deg, rgba(248, 253, 255, 0.92), rgba(237, 245, 247, 0.97)),
    linear-gradient(135deg, rgba(111, 167, 188, 0.09), rgba(255, 255, 255, 0));
}

.top-hero-card .confidence-tile[data-state="feeling-it-out"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 155, 103, 0.12), rgba(212, 155, 103, 0) 42%),
    radial-gradient(circle at 0% 0%, rgba(132, 180, 196, 0.16), rgba(132, 180, 196, 0) 52%),
    linear-gradient(180deg, rgba(246, 252, 253, 0.9), rgba(236, 243, 246, 0.96)),
    linear-gradient(135deg, rgba(132, 180, 196, 0.08), rgba(255, 255, 255, 0));
}

.top-hero-card .confidence-tile[data-state="fresh"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 161, 125, 0.1), rgba(196, 161, 125, 0) 42%),
    radial-gradient(circle at 0% 0%, rgba(154, 191, 203, 0.14), rgba(154, 191, 203, 0) 52%),
    linear-gradient(180deg, rgba(245, 251, 252, 0.88), rgba(234, 241, 244, 0.95)),
    linear-gradient(135deg, rgba(154, 191, 203, 0.08), rgba(255, 255, 255, 0));
}

.top-hero-card .rank-panel {
  border-top-color: var(--hero-line-soft);
}

.top-hero-card .hero-report-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hero-line-soft);
}

.top-hero-card .hero-report-context-card {
  display: grid;
  gap: 0.52rem;
}

.top-hero-card .hero-report-section > .panel-label {
  display: block;
  margin: 0;
}

.top-hero-card .hero-report-context-card > .report-observed-options {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.18rem;
  border: 1px solid rgba(87, 121, 140, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(250, 253, 254, 0.98), rgba(244, 249, 251, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 16px rgba(86, 116, 132, 0.05);
}

.top-hero-card .hero-report-context-card > .report-observed-options .report-observed-btn {
  position: relative;
  min-height: 2rem;
  padding: 0.38rem 0.82rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #627782;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
}

.top-hero-card .hero-report-context-card > .report-observed-options .report-observed-btn + .report-observed-btn::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(87, 121, 140, 0.16);
}

.top-hero-card .hero-report-context-card > .report-observed-options .report-observed-btn.active {
  border-color: rgba(232, 115, 26, 0.28);
  background: rgba(232, 115, 26, 0.11);
  color: #c86419;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 4px 10px rgba(232, 115, 26, 0.08);
  transform: translateY(-1px);
}

.top-hero-card .hero-report-context-card > .report-observed-options #observed-now-btn.active {
  border-color: rgba(63, 148, 94, 0.34);
  background: linear-gradient(180deg, rgba(236, 252, 241, 0.98), rgba(224, 247, 231, 0.94));
  color: #176837;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 0 0 1px rgba(63, 148, 94, 0.08),
    0 6px 14px rgba(63, 148, 94, 0.12);
}

/* ── Eyes on It: borderless data strip ───────────── */
.top-hero-card .report-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr) minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 0;
  border-top: 1px solid rgba(87, 121, 140, 0.1);
  border-bottom: 1px solid rgba(87, 121, 140, 0.1);
  margin: 0.4rem 0 0;
}

.top-hero-card .rc-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.58rem 0.54rem 0.54rem;
  border-right: 1px solid rgba(87, 121, 140, 0.1);
}

.top-hero-card .rc-strip-item:last-child {
  border-right: none;
}

.top-hero-card .rc-strip-label {
  margin: 0;
  color: #3d5462;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-hero-card .rc-strip-value {
  display: block;
  min-width: 0;
  color: #1d2c35;
  font-family: var(--lb-font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Wind: slightly tighter so "Cross-shore" holds on one line. */
.top-hero-card .rc-strip-item-wind .rc-strip-value {
  font-size: 0.88rem;
  line-height: 1.1;
}

/* Cleanliness: allow text wrapping for longer values like "Slightly Bumpy". */
.top-hero-card #report-compare-cleanliness {
  white-space: normal;
  text-wrap: balance;
}

/* Wind: inline arrow + value row */
.top-hero-card .rc-strip-item-wind {
  position: relative;
}

.top-hero-card .rc-strip-wind-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  padding-right: 1.2rem;
}

/* Large arrow on right, positioned absolutely. */
.top-hero-card .report-compare-wind-bearing {
  position: absolute;
  right: -0.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
}

.top-hero-card .report-compare-wind-bearing svg {
  width: 2.2rem;
  height: 2.2rem;
  display: block;
  transform: rotate(var(--arrow-rotation, 0deg));
  transform-origin: 50% 50%;
  transition: transform 220ms ease;
}

.top-hero-card .report-compare-wind-bearing path {
  fill: #1d2c35;
}

.top-hero-card .report-compare-wind-bearing[data-relation="offshore"] path { fill: #1f6d3c; }
.top-hero-card .report-compare-wind-bearing[data-relation="cross-shore"] path { fill: #8a5a23; }
.top-hero-card .report-compare-wind-bearing[data-relation="onshore"] path { fill: #8a4337; }

.top-hero-card .rc-strip-wind-dir {
  display: block;
  color: #6b8190;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: pretty;
}

/* State-based value colors */
.top-hero-card .rc-strip-item[data-state="good"] .rc-strip-value,
.top-hero-card .rc-strip-item[data-state="clean"] .rc-strip-value { color: #1f6d3c; }

.top-hero-card .rc-strip-item[data-state="mixed"] .rc-strip-value,
.top-hero-card .rc-strip-item[data-state="slightly-bumpy"] .rc-strip-value { color: #8a5a23; }

.top-hero-card .rc-strip-item[data-state="poor"] .rc-strip-value,
.top-hero-card .rc-strip-item[data-state="bumpy"] .rc-strip-value,
.top-hero-card .rc-strip-item[data-state="blown-out"] .rc-strip-value { color: #8a4337; }

/* Subtle tint on verdict columns */
.top-hero-card #report-compare-cleanliness-card[data-state="clean"] { background: rgba(78, 164, 108, 0.05); }
.top-hero-card #report-compare-cleanliness-card[data-state="slightly-bumpy"] { background: rgba(214, 153, 74, 0.06); }
.top-hero-card #report-compare-cleanliness-card[data-state="bumpy"],
.top-hero-card #report-compare-cleanliness-card[data-state="blown-out"] { background: rgba(201, 94, 74, 0.055); }

.top-hero-card .hero-report-shell {
  display: grid;
  gap: 0.68rem;
  margin-top: 0.6rem;
  padding: 0.8rem 0.82rem 0.88rem;
  border: 1px solid rgba(87, 121, 140, 0.1);
  border-radius: 1.04rem;
  background:
    linear-gradient(180deg, rgba(250, 254, 254, 0.84), rgba(239, 247, 248, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 24px rgba(67, 118, 145, 0.07);
}

.top-hero-card .hero-report-card,
.top-hero-card .report-card {
  margin-top: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.top-hero-card .calibration-block {
  margin-top: 0;
  padding-top: 0.02rem;
}

.top-hero-card .report-card {
  gap: 0;
}

.top-hero-card .rank-window-card {
  border-color: rgba(87, 121, 140, 0.14);
  background:
    linear-gradient(180deg, rgba(251, 254, 255, 0.82), rgba(236, 244, 247, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 10px 22px rgba(67, 118, 145, 0.08);
}

.top-hero-card .rank-window-kicker {
  color: #4a6170;
}

.top-hero-card .rank-window-title {
  color: var(--hero-text-strong);
}

.top-hero-card .rank-gauge-track {
  stroke: rgba(91, 115, 126, 0.22);
}

.top-hero-card .rank-gauge-ticks line {
  stroke: rgba(91, 115, 126, 0.34);
}

.top-hero-card .rank-gauge-ticks line.tick-active {
  stroke: rgba(91, 115, 126, 0.58);
}

.top-hero-card .rank-gauge-ticks.gauge-perfect line {
  stroke: rgba(83, 112, 171, 0.68) !important;
}

.top-hero-card #rank-number {
  color: var(--hero-text-strong);
}

.top-hero-card .rank-denom {
  color: rgba(91, 115, 126, 0.62);
}

.top-hero-card .spot-check-card {
  border-color: rgba(87, 121, 140, 0.1);
  background:
    linear-gradient(180deg, rgba(251, 254, 255, 0.98), rgba(240, 247, 248, 0.95));
  box-shadow: 0 10px 24px rgba(58, 88, 102, 0.08);
}

.top-hero-card .spot-check-card .decision-value {
  color: #243239;
}

.top-hero-card .spot-check-card-window .target-time {
  color: #4d6370;
}

.top-hero-card .spot-check-card-score {
  border-color: var(--score-accent-border, rgba(58, 88, 102, 0.18));
  background:
    radial-gradient(circle at 82% 22%, var(--score-accent-soft, rgba(21, 101, 192, 0.16)), transparent 32%),
    linear-gradient(160deg, var(--score-accent-strong, rgba(21, 101, 192, 0.9)), rgba(20, 31, 44, 0.96));
  box-shadow: 0 14px 28px rgba(41, 60, 74, 0.18);
}

.top-hero-card .spot-check-card-score .decision-label {
  color: var(--lb-ink-80);
}

.top-hero-card .spot-check-card-score .rank-copy-below,
.top-hero-card .spot-check-card-score #rank-number {
  color: #ffffff;
}

.top-hero-card .spot-check-card-score .rank-denom {
  color: var(--lb-ink-60);
}

.top-hero-card .decision-board {
  border-color: rgba(87, 121, 140, 0.1);
  border-top-color: rgba(232, 115, 26, 0.46);
  background:
    linear-gradient(180deg, rgba(251, 254, 255, 0.98), rgba(240, 247, 248, 0.95));
  box-shadow: 0 10px 24px rgba(58, 88, 102, 0.08);
}

.top-hero-card .decision-cell-cleanliness,
.top-hero-card .decision-cell-confidence {
  position: relative;
}

.top-hero-card .decision-cell-cleanliness .decision-value,
.top-hero-card .decision-cell-confidence .decision-value {
  color: #243239;
}

.top-hero-card .decision-cell-cleanliness[data-state="clean"] .decision-value,
.top-hero-card .decision-cell-confidence[data-state="high"] .decision-value {
  color: #295d43;
}

.top-hero-card .decision-cell-cleanliness[data-state="slightly-bumpy"] .decision-value,
.top-hero-card .decision-cell-confidence[data-state="medium"] .decision-value {
  color: #845623;
}

.top-hero-card .decision-cell-cleanliness[data-state="bumpy"] .decision-value,
.top-hero-card .decision-cell-cleanliness[data-state="blown-out"] .decision-value,
.top-hero-card .decision-cell-confidence[data-state="low"] .decision-value {
  color: #7f4032;
}

.top-hero-card .decision-cell-confidence[data-state="high"] {
  background: linear-gradient(180deg, rgba(67, 160, 71, 0.18), rgba(67, 160, 71, 0.1));
  box-shadow: inset 0 3px 0 rgba(61, 138, 96, 0.7);
}

.top-hero-card .decision-cell-confidence[data-state="medium"] {
  background: linear-gradient(180deg, rgba(249, 168, 37, 0.18), rgba(249, 168, 37, 0.1));
  box-shadow: inset 0 3px 0 rgba(206, 144, 51, 0.7);
}

.top-hero-card .decision-cell-confidence[data-state="low"] {
  background: linear-gradient(180deg, rgba(244, 81, 30, 0.16), rgba(244, 81, 30, 0.09));
  box-shadow: inset 0 3px 0 rgba(184, 67, 48, 0.66);
}

.top-hero-card .target-time {
  color: #4d6370;
  border-color: rgba(87, 121, 140, 0.12);
  background: linear-gradient(180deg, rgba(251, 254, 255, 0.9), rgba(242, 248, 250, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  max-width: 15ch;
}

.top-hero-card .target-time::before {
  content: none;
}

.top-hero-card .paddling-inline {
  border-top-color: var(--hero-line-soft);
}

.top-hero-card .paddling-status {
  color: #516674;
}

.top-hero-card .paddling-target {
  color: var(--hero-text-strong);
}

.top-hero-card .paddling-out-btn {
  border-color: rgba(232, 115, 26, 0.28);
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(249, 239, 230, 0.96));
  color: #b55a16;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 20px rgba(232, 115, 26, 0.12);
}

.top-hero-card .paddling-out-btn:disabled {
  border-color: rgba(87, 121, 140, 0.08);
  background: rgba(226, 236, 240, 0.62);
  color: rgba(70, 89, 99, 0.38);
}

.top-hero-card .paddling-line {
  color: rgba(50, 72, 84, 0.9);
  font-size: 0.94rem;
  font-weight: 500;
}

.top-hero-card .paddling-line-remove {
  color: rgba(84, 104, 116, 0.54);
}

.top-hero-card .paddling-line-remove:hover {
  color: rgba(84, 104, 116, 0.8);
}

.top-hero-card .paddling-line-empty {
  color: rgba(97, 115, 126, 0.72);
}

.top-hero-card .hero-report-section #report-input {
  border-color: rgba(87, 121, 140, 0.1);
  background: rgba(248, 253, 254, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.top-hero-card .hero-report-section .feedback-status,
.top-hero-card .hero-report-section .report-empty {
  color: var(--hero-muted);
}

.top-hero-card .report-observed-btn {
  border-color: rgba(87, 121, 140, 0.12);
  background: rgba(248, 253, 254, 0.88);
  color: #556974;
}

.top-hero-card .report-observed-btn.active,
.top-hero-card .feedback-group button.active {
  border-color: rgba(232, 115, 26, 0.36);
  background: rgba(232, 115, 26, 0.12);
  color: #c86216;
}

.top-hero-card .report-credit {
  border-color: rgba(232, 115, 26, 0.18);
  background: rgba(232, 115, 26, 0.07);
}

.top-hero-card .memory-strip {
  border-color: rgba(87, 121, 140, 0.08);
  background: rgba(244, 250, 251, 0.82);
}

.top-hero-card .memory-strip p {
  color: #586a74;
}

.top-hero-card .feedback-intro {
  margin: 0 0 0.48rem;
  color: #5b6f7a;
  font-size: 0.72rem;
  line-height: 1.3;
}

.top-hero-card .feedback-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(87, 121, 140, 0.08);
  border-radius: 0.88rem;
  background: rgba(248, 252, 253, 0.88);
  overflow: visible;
  margin-left: 2.4rem;
}

.top-hero-card .feedback-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.top-hero-card .feedback-section-bar {
  position: absolute;
  left: -0.76rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  border-radius: 999px;
}

.top-hero-card .feedback-section[data-section="forecast"] .feedback-section-bar {
  background: #57798c;
  opacity: 0.55;
}

.top-hero-card .feedback-section[data-section="observed"] .feedback-section-bar {
  background: #c07a2f;
  opacity: 0.6;
}

.top-hero-card .feedback-section-label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2.2rem;
  width: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.top-hero-card .feedback-section[data-section="forecast"] .feedback-section-label {
  color: #57798c;
}

.top-hero-card .feedback-section[data-section="observed"] .feedback-section-label {
  color: #c07a2f;
}

.top-hero-card .feedback-section-divider {
  height: 1px;
  background: rgba(87, 121, 140, 0.2);
  margin: 0.22rem 0.7rem;
}

.top-hero-card .feedback-group {
  display: grid;
  grid-template-columns: 8.6rem minmax(0, 1fr);
  align-items: center;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.62rem 0.22rem 0.62rem 0.56rem;
}

.top-hero-card .feedback-group + .feedback-group {
  border-top: 1px solid rgba(87, 121, 140, 0.08);
}


.top-hero-card .feedback-group p {
  color: #26353c;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.top-hero-card .feedback-group div {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(87, 121, 140, 0.18);
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(248, 253, 254, 0.78);
}

.top-hero-card .feedback-group button {
  min-height: 2.35rem;
  padding: 0.34rem 0.56rem;
  font-size: 12px;
  line-height: 1.15;
  color: #5d707a;
  background: transparent;
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-right: 1px solid rgba(87, 121, 140, 0.18);
  border-radius: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.top-hero-card .feedback-group div button:last-child {
  border-right: 0;
}

.top-hero-card .feedback-group button.active {
  background: #e8731a;
  border-color: #e8731a;
  color: #ffffff;
  font-weight: 700;
}

.top-hero-card .report-notes-label {
  color: #4f6774;
}

.top-hero-card .submit-btn {
  box-shadow: 0 10px 20px rgba(232, 115, 26, 0.16);
}

.top-hero-card .timeline-chart::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(184, 214, 224, 0.34), rgba(184, 214, 224, 0));
  border-color: rgba(87, 121, 140, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.38);
}

.top-hero-card .timeline-day-label {
  color: rgba(95, 118, 130, 0.82);
}

.top-hero-card .timeline-day-divider {
  background: linear-gradient(180deg, rgba(87, 121, 140, 0.12), rgba(87, 121, 140, 0.04));
}

.top-hero-card .timeline-strip::after {
  background: linear-gradient(90deg, rgba(87, 121, 140, 0.18), rgba(87, 121, 140, 0.06));
}

.top-hero-card .timeline-bar {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 16px -16px var(--timeline-bar-glow, rgba(93, 149, 176, 0.2));
}

.top-hero-card .timeline-night-gap {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(120, 141, 157, 0.24) 0,
      rgba(120, 141, 157, 0.24) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 217, 225, 0.62), rgba(215, 228, 233, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  opacity: 0.86;
}

.top-hero-card .timeline-bar.night {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 14px -12px rgba(77, 114, 136, 0.14);
}

.top-hero-card .timeline-bar::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.top-hero-card .timeline-popularity-marker::after {
  background: linear-gradient(180deg, rgba(110, 133, 145, 0.72), rgba(110, 133, 145, 0.2));
}
.top-hero-card .timeline-active-time-label {
  color: rgba(44, 62, 74, 0.92);
}
.top-hero-card .timeline-active-time-marker::after {
  background: rgba(50, 69, 79, 0.78);
}

.top-hero-card .timeline-popularity-badge {
  color: rgba(56, 76, 86, 0.99);
  border-color: rgba(102, 126, 139, 0.44);
  background: rgba(249, 253, 254, 0.99);
  box-shadow:
    0 0 0 2px rgba(248, 252, 253, 0.99),
    0 10px 18px -16px rgba(84, 122, 145, 0.2);
}

.top-hero-card .timeline-bar.active {
  outline-color: rgba(255, 122, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 122, 28, 0.18),
    0 12px 20px -18px rgba(255, 122, 28, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.top-hero-card .timeline-bar.personal-best {
  outline-color: rgba(67, 160, 71, 0.52);
}

.top-hero-card .timeline-bar.personal-caution {
  outline-color: rgba(210, 75, 66, 0.58);
}

.top-hero-card #hour-slider::-webkit-slider-runnable-track {
  height: 0.72rem;
  background: linear-gradient(90deg, rgba(214, 228, 234, 0.98), rgba(234, 242, 245, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(87, 121, 140, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.top-hero-card #hour-slider::-webkit-slider-thumb {
  width: 1.46rem;
  height: 1.46rem;
  margin-top: -0.38rem;
  border-color: rgba(232, 115, 26, 0.46);
  background: linear-gradient(180deg, #fffdfb, #f5e9dc);
  box-shadow:
    0 8px 16px rgba(58, 88, 102, 0.2),
    0 0 0 3px rgba(232, 115, 26, 0.12);
}

.top-hero-card #hour-slider::-moz-range-track {
  height: 0.72rem;
  background: linear-gradient(90deg, rgba(214, 228, 234, 0.98), rgba(234, 242, 245, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(87, 121, 140, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.top-hero-card #hour-slider::-moz-range-thumb {
  width: 1.46rem;
  height: 1.46rem;
  border-color: rgba(232, 115, 26, 0.46);
  background: linear-gradient(180deg, #fffdfb, #f5e9dc);
  box-shadow:
    0 8px 16px rgba(58, 88, 102, 0.2),
    0 0 0 3px rgba(232, 115, 26, 0.12);
}

.identity-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 115, 26, 0.08), rgba(232, 115, 26, 0) 24%),
    radial-gradient(circle at 0% 0%, rgba(89, 158, 184, 0.1), rgba(89, 158, 184, 0) 36%),
    linear-gradient(165deg, #1e2930, #182127 58%, #131a1f);
  border-color: rgba(120, 176, 199, 0.14);
  box-shadow: 0 12px 28px rgba(10, 18, 23, 0.28);
}

.identity-panel .panel-label {
  color: #ffb16b;
}

.identity-panel .coords,
.identity-panel .feedback-status,
.identity-panel .identity-summary,
.identity-panel .identity-break-meta,
.identity-panel .identity-member-status,
.identity-panel .identity-members-empty,
.identity-panel .identity-session-copy span,
.identity-panel .identity-break-name-hint,
.identity-panel .identity-control,
.identity-panel .identity-owned-crews-label {
  color: rgba(207, 225, 233, 0.68);
}

.identity-panel .identity-hero,
.identity-panel .identity-session-row,
.identity-panel .identity-people,
.identity-panel .identity-utility-stack,
.identity-panel .identity-status {
  border-color: rgba(120, 176, 199, 0.12);
}

.identity-panel input,
.identity-panel select {
  background: rgba(241, 251, 255, 0.08);
  border-color: rgba(120, 176, 199, 0.16);
  color: #ecf7fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.identity-panel button {
  color: #dcebf1;
  background: rgba(241, 251, 255, 0.08);
  border-color: rgba(120, 176, 199, 0.14);
}

.identity-panel .identity-manage-toggle,
.identity-panel .identity-crew-tools,
.identity-panel .identity-crew-editor,
.identity-panel .identity-delete-confirm,
.identity-panel .identity-break-block,
.identity-panel .identity-section-card,
.identity-panel .identity-owned-crew-row {
  border-color: rgba(120, 176, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(237, 248, 252, 0.06), rgba(237, 248, 252, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.identity-panel .identity-members-toggle,
.identity-panel .identity-manage-toggle,
.identity-panel .identity-member-head strong,
.identity-panel .identity-session-copy strong,
.identity-panel .identity-owned-crew-copy strong,
.identity-panel .identity-break-coords,
.identity-panel .identity-crew-name,
.identity-panel .identity-break-name-input {
  color: #f3fbfe;
}

.identity-panel .identity-members-caret,
.identity-panel .identity-manage-caret {
  border-color: rgba(207, 225, 233, 0.56);
}

.identity-panel .identity-switcher {
  border-color: rgba(120, 176, 199, 0.18);
  background: rgba(241, 251, 255, 0.09);
  color: #e2f1f7;
}

.identity-panel .identity-link-btn,
.identity-panel .identity-secondary-btn {
  color: #ffb16b;
}

.identity-panel .identity-secondary-btn {
  border-color: rgba(246, 175, 110, 0.42);
  background: rgba(232, 115, 26, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.identity-panel .identity-secondary-btn:hover {
  background: rgba(232, 115, 26, 0.12);
}

.identity-panel .identity-link-btn:hover,
.identity-panel .identity-logout:hover {
  color: #f3fbfe;
}

.identity-panel .identity-link-btn-danger {
  color: #ffb0a5;
}

.identity-panel .identity-link-btn-danger:hover {
  color: #ffd6cf;
}

.identity-panel .identity-danger-btn {
  border-color: rgba(255, 176, 165, 0.42);
  color: #ffb0a5;
}

.identity-panel .identity-manage-toggle[aria-expanded="true"] {
  background: rgba(241, 251, 255, 0.11);
}

.identity-panel .identity-member-badge,
.identity-panel .identity-user-kicker {
  background: rgba(89, 158, 184, 0.18);
  color: #93d7f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.identity-panel .identity-member-item {
  border-color: rgba(120, 176, 199, 0.1);
}

.crew-manage-card .invite-modal-close {
  color: var(--lb-ink);
}

@media (max-width: 640px) {
  .top-hero-card .hero-report-section {
    margin-top: 0.92rem;
    padding-top: 0.88rem;
  }

  .top-hero-card .hero-report-shell {
    gap: 0.56rem;
    margin-top: 0.48rem;
    padding: 0.68rem 0.64rem 0.72rem;
    border-radius: 0.96rem;
  }

  .top-hero-card .hero-report-card,
  .top-hero-card .report-card {
    padding: 0;
    border-radius: 0;
  }

  .top-hero-card .hero-report-context-card {
    gap: 0.42rem;
  }


  .top-hero-card .report-compare-card {
    min-height: 3.28rem;
    gap: 0.22rem;
    padding: 0.46rem 0.38rem 0.44rem;
    border-radius: 0.54rem;
  }

  .top-hero-card .report-compare-kicker {
    font-size: 0.46rem;
    letter-spacing: 0.06em;
  }

  .top-hero-card .report-compare-value {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .top-hero-card .report-compare-wind-row {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    padding-right: 0.9rem;
  }

  .top-hero-card .report-compare-wind-bearing {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0;
    position: absolute;
    right: -0.6rem;
  }

  .top-hero-card .report-compare-wind-bearing svg {
    width: 1.7rem;
    height: 1.7rem;
  }

  .top-hero-card #report-compare-wind-card .report-compare-value {
    font-size: 0.84rem;
    white-space: normal;
    text-wrap: balance;
  }

  .top-hero-card #report-compare-cleanliness-card .report-compare-value {
    font-size: 0.9rem;
  }

  .top-hero-card .report-compare-wind-dir {
    font-size: 0.48rem;
    white-space: normal;
  }

  .top-hero-card .hero-report-section #report-input {
    margin-top: 0.42rem;
    padding: 0.46rem 0.54rem;
  }

  .top-hero-card .hero-report-context-card > .report-observed-options {
    gap: 0;
    width: fit-content;
    padding: 0.14rem;
  }

  .top-hero-card .hero-report-context-card > .report-observed-options .report-observed-btn {
    min-height: 1.6rem;
    padding: 0.24rem 0.54rem;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .top-hero-card .hero-report-section .feedback-status {
    margin-top: 0.42rem;
    font-size: 0.72rem;
  }

  .top-hero-card .report-feed {
    margin-top: 0.42rem;
    gap: 0.34rem;
  }

  .top-hero-card .report-credit {
    gap: 0.46rem;
    padding: 0.48rem 0.54rem;
  }

  .top-hero-card .report-credit-check {
    width: 16px;
    height: 16px;
  }

  .top-hero-card .report-credit-check::after {
    left: 4px;
    top: 2px;
    width: 4px;
    height: 8px;
  }

  .top-hero-card .feedback-grid {
    gap: 0;
    margin-left: 2rem;
  }

  .top-hero-card .feedback-section-label {
    left: -1.82rem;
    width: 0.88rem;
    font-size: 0.42rem;
  }

  .top-hero-card .feedback-section-bar {
    left: -0.64rem;
  }

  .top-hero-card .feedback-section-divider {
    margin: 0.18rem 0.58rem;
  }

  .top-hero-card .feedback-group {
    grid-template-columns: 7.2rem minmax(0, 1fr);
    padding: 0.48rem 0.14rem 0.48rem 0.46rem;
  }

  .top-hero-card .feedback-group p {
    margin: 0;
    font-size: 0.8rem;
  }

  .top-hero-card .feedback-group div {
    gap: 0;
  }

  .top-hero-card .feedback-group button {
    min-height: 2.04rem;
    padding: 0.24rem 0.52rem;
    font-size: 11.5px;
  }

  .top-hero-card .feedback-intro {
    font-size: 0.68rem;
  }

  .top-hero-card .memory-strip {
    margin-top: 0.38rem;
    gap: 0.22rem;
    padding: 0.46rem 0.5rem;
  }

  .top-hero-card .memory-strip p {
    font-size: 0.74rem;
  }

  .top-hero-card .submit-btn {
    margin-top: 0.68rem;
    padding: 0.58rem;
  }

  .rank-window-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.48rem;
  }

  .session-planner-controls {
    justify-self: start;
    flex-wrap: wrap;
    justify-content: start;
    gap: 0.44rem;
  }

  .session-planner-toggle {
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .auth-card.landing-mode {
    padding: 1rem;
  }

  .auth-card.landing-mode .auth-hero-intro {
    min-height: 13.8rem;
    padding: 1rem;
    background-position: center 46%;
  }

  .auth-card.landing-mode #auth-title {
    max-width: none;
  }

  .auth-card.landing-mode .auth-made-in {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .auth-card.landing-mode .auth-copy {
    max-width: 18rem;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .auth-card.landing-mode .auth-home-hero {
    gap: 1.3rem;
  }

  .auth-card.landing-mode .auth-home-block + .auth-home-block {
    padding-top: 0;
  }

  .auth-card.landing-mode .auth-home-body {
    padding-left: 1.58rem;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .top-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .top-hero-card {
    padding: 0.82rem 0.72rem 0.74rem;
  }

  .top-hero-card .hero-report-section {
    margin-top: 0.86rem;
    padding-top: 0.84rem;
  }

  .top-hero-card .hero-report-shell {
    gap: 0.56rem;
    margin-top: 0.48rem;
    padding: 0.64rem 0.58rem 0.68rem;
  }

  .top-hero-card .hero-report-card,
  .top-hero-card .report-card {
    padding: 0;
    border-radius: 0;
  }

  .top-hero-card .confidence-tile {
    padding-left: 0.78rem;
  }

  .top-hero-card .confidence-tile::before {
    width: 0.2rem;
  }

  .top-hero-card .confidence-percent {
    font-size: 2.34rem;
  }

  .top-hero-card .confidence-level {
    font-size: 1.52rem;
  }

  .confidence-tile {
    width: 100%;
    min-height: 5.5rem;
  }

  .rank-panel {
    --rank-hero-size: 176px;
    gap: 0.46rem;
    padding-top: 0.54rem;
  }

  .rank-panel-head {
    gap: 0.42rem;
  }

  .rank-decision-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.34rem;
  }

  .forecast-group {
    gap: 0.22rem;
  }

  .forecast-group-local {
    padding: 0.38rem;
  }

  .forecast-group-grid {
    gap: 0.24rem;
  }

  .forecast-group-title {
    font-size: 0.72rem;
  }

  #rank-number {
    font-size: clamp(3.3rem, 13vw, 4rem);
  }

  .rank-denom {
    font-size: clamp(1.45rem, 5vw, 1.8rem);
  }

  .spot-check-card {
    padding: 0.3rem 0.34rem 0.32rem;
    gap: 0.1rem;
  }

  .forecast-group-grid-local {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "score score"
      "wave clean"
      "crowd consistency";
  }

  .forecast-group-grid-base {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "windswell period power"
      "windswell wind tide";
  }

  .spot-check-card-score,
  .forecast-group-grid-local .decision-cell-wave,
  .forecast-group-grid-local .decision-cell-cleanliness,
  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power,
  .forecast-group-grid-base .decision-cell-tide,
  .forecast-group-grid-base .decision-cell-wind-metrics,
  .forecast-placeholder-card {
    min-height: 3.05rem;
  }

  .spot-check-card-score {
    min-height: 1.62rem;
    padding: 0.22rem 0.26rem;
  }

  .spot-score-card-body {
    gap: 0.48rem;
  }

  .spot-check-card-score #rank-number {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .spot-check-card-score .rank-denom {
    font-size: 0.82rem;
  }

  .spot-check-card-score .rank-copy-below {
    display: none;
  }

  .spot-score-temp-rail {
    min-width: 3.08rem;
    gap: 0.16rem;
    padding-left: 0.3rem;
  }

  .spot-score-temp-label {
    font-size: 0.42rem;
  }

  .spot-score-temp-value {
    font-size: 0.8rem;
  }

  .decision-label {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .decision-value {
    font-size: 0.86rem;
  }

  .decision-cell-primary .decision-value {
    font-size: 1.18rem;
  }

  .forecast-group-grid-local .decision-cell-wave .decision-value {
    font-size: 1.16rem;
  }

  .forecast-group-grid-base .decision-cell-period .decision-value,
  .forecast-group-grid-base .decision-cell-power .decision-value,
  .forecast-group-grid-base .decision-cell-wind-metrics .decision-value,
  .forecast-group-grid-local .decision-cell-cleanliness .decision-value {
    font-size: 1.16rem;
  }

  .forecast-group-grid-local .decision-cell-wave,
  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power {
    padding-top: 0.34rem;
    padding-bottom: 0.14rem;
    gap: 0.14rem;
  }

  .forecast-group-grid-local .decision-cell-wave {
    --spot-check-value-slot-height: 1.64rem;
  }

  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power {
    --spot-check-value-slot-height: 1.58rem;
  }

  .forecast-group-grid-base .decision-cell-tide {
    --spot-check-value-slot-height: 1.32rem;
  }

  .forecast-group-grid-base .decision-cell-wind-metrics {
    --spot-check-value-slot-height: 1.88rem;
  }

  .forecast-group-grid-local .decision-cell-cleanliness {
    --spot-check-value-slot-height: 2.08rem;
    padding-top: 0.24rem;
    padding-bottom: 0.26rem;
    gap: 0.04rem;
  }

  .forecast-group-grid-local .decision-cell-cleanliness .decision-value {
    min-height: 0;
    font-size: 0.92rem;
    line-height: 1.04;
    height: 2.08em;
  }

  .forecast-group-grid-base .decision-cell-wind-metrics .decision-subvalue {
    font-size: 0.64rem;
  }

  .decision-cell-swell .decision-value,
  .decision-cell-wind .decision-value,
  .decision-cell-tide .decision-value,
  .decision-cell-wind-metrics .decision-value,
  .decision-cell-cleanliness .decision-value,
  .decision-cell-cleanliness .decision-value {
    font-size: 0.96rem;
  }

  .decision-cell-tide .decision-value {
    font-size: 1.04rem;
  }

  .decision-subvalue {
    font-size: 0.6rem;
  }

  .decision-cell-swell .decision-subvalue,
  .decision-cell-wind .decision-subvalue {
    font-size: 0.76rem;
  }

  .target-time {
    max-width: 14ch;
    padding: 0.24rem 0.38rem;
    font-size: 0.54rem;
  }

  .score-confidence-label {
    font-size: 0.56rem;
  }

  .score-confidence-segment {
    height: 0.2rem;
  }

  .decision-bearing {
    width: 2.6rem;
    height: 2.6rem;
  }

  .decision-bearing svg {
    width: 1.24rem;
    height: 1.24rem;
  }

  .spot-check-card-score #rank-number {
    font-size: clamp(2rem, 8.6vw, 2.5rem);
  }

  .spot-check-card-score .rank-denom {
    font-size: 0.84rem;
  }

  .spot-check-hero .decision-cell-swell,
  .spot-check-hero .decision-cell-wind {
    min-height: 6.5rem;
    gap: 0.08rem;
    padding: 0.24rem 0.3rem 0.26rem;
  }

  .spot-check-hero .decision-bearing {
    width: 4.9rem;
    height: 4.9rem;
  }

  .spot-check-hero .decision-bearing svg {
    width: 1.96rem;
    height: 1.96rem;
  }

  .rank-window-card {
    gap: 0.22rem;
    padding: 0.4rem 0.58rem 0.54rem;
  }

  .paddling-inline {
    column-gap: 0.56rem;
    row-gap: 0.28rem;
    padding-top: 0.34rem;
  }

  .paddling-target {
    font-size: 0.94rem;
  }

  .paddling-out-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.74rem;
  }

  .identity-break-name-form {
    grid-template-columns: 1fr;
  }

  .identity-break-name-input {
    font-size: clamp(1.04rem, 6vw, 1.22rem);
  }

  .identity-break-meta-row {
    align-items: start;
  }

  .identity-break-actions {
    width: 100%;
  }

  .identity-inline-actions {
    width: 100%;
  }

  .identity-quick-actions {
    gap: 0.36rem;
  }

  .identity-quick-actions .identity-secondary-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .crew-manage-modal {
    align-items: end;
    padding: 0;
  }

  .crew-manage-card {
    width: 100%;
    height: min(82dvh, 42rem);
    max-height: min(82dvh, 42rem);
    min-height: 0;
    padding: 0.9rem 0.84rem 1rem;
    border-radius: 1.2rem 1.2rem 0 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .crew-manage-action {
    padding: 0.68rem 0.74rem;
  }

  .identity-owned-crew-row {
    grid-template-columns: 1fr;
  }

  .identity-owned-crew-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .crew-create { grid-template-columns: 1fr; }
  .auth-setup-actions { grid-template-columns: 1fr; }
  .spot-context-head { grid-template-columns: 1fr; }
  .spot-context-actions { flex-direction: column; }
  .spot-discovery-card { grid-template-columns: 1fr; }

  .identity-panel {
    padding: 0.82rem 0.74rem;
  }

  .identity-crew-name {
    font-size: clamp(1.58rem, 9vw, 1.96rem);
  }

  .identity-break-name-input {
    font-size: clamp(1.3rem, 7vw, 1.58rem);
  }

  .identity-break-meta-row {
    justify-content: flex-start;
  }

  .identity-member-item {
    grid-template-columns: 1fr;
    gap: 0.14rem;
  }

  .identity-member-status {
    text-align: left;
  }

  .rank-panel {
    --rank-hero-size: 162px;
  }

  .rank-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.26rem;
  }

  .rank-decision-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.28rem;
  }

  .spot-check-card {
    padding: 0.26rem 0.28rem 0.26rem;
  }

  .forecast-group-local {
    padding: 0.32rem;
  }

  .forecast-group-grid,
  .forecast-group-grid-local,
  .forecast-group-grid-base {
    grid-template-columns: minmax(0, 1fr);
  }

  .forecast-group-grid-local {
    grid-template-areas:
      "score"
      "wave"
      "clean"
      "crowd"
      "consistency";
  }

  .forecast-group-grid-base {
    grid-template-areas:
      "windswell"
      "period"
      "wind"
      "power"
      "tide";
  }

  .spot-check-card-score,
  .forecast-group-grid-local .decision-cell-wave,
  .forecast-group-grid-local .decision-cell-cleanliness,
  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power,
  .forecast-group-grid-base .decision-cell-tide,
  .forecast-group-grid-base .decision-cell-wind-metrics,
  .forecast-placeholder-card {
    min-height: 3rem;
  }

  .forecast-card-wind-swell {
    min-height: 4.9rem;
  }

  .decision-value {
    font-size: 0.82rem;
  }

  .decision-cell-primary .decision-value {
    font-size: 1.08rem;
  }

  .decision-cell-swell .decision-value,
  .decision-cell-wind .decision-value,
  .decision-cell-tide .decision-value,
  .decision-cell-wind-metrics .decision-value,
  .decision-cell-cleanliness .decision-value,
  .decision-cell-cleanliness .decision-value {
    font-size: 0.9rem;
  }

  .decision-cell-tide .decision-value {
    font-size: 0.98rem;
  }

  .decision-subvalue {
    font-size: 0.58rem;
  }

  .decision-cell-swell .decision-subvalue,
  .decision-cell-wind .decision-subvalue {
    font-size: 0.72rem;
  }

  .target-time {
    max-width: 100%;
    padding: 0.22rem 0.34rem;
    font-size: 0.52rem;
  }

  .score-confidence-label {
    font-size: 0.52rem;
  }

  .decision-bearing {
    width: 2.3rem;
    height: 2.3rem;
  }

  .decision-bearing svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .spot-check-card-score #rank-number {
    font-size: clamp(1.78rem, 8vw, 2.15rem);
  }

  .spot-check-card-score .rank-denom {
    font-size: 0.72rem;
  }

  .spot-check-card-score {
    min-height: 1.54rem;
    padding: 0.2rem 0.22rem;
  }

  .spot-score-card-body {
    gap: 0.34rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .spot-check-card-score .rank-score-copy {
    gap: 0.06rem;
  }

  .spot-check-card-score .rank-copy-below {
    display: none;
  }

  .spot-score-temp-rail {
    min-width: 2.62rem;
    gap: 0.14rem;
    padding: 0.02rem 0 0 0.24rem;
  }

  .spot-score-temp-label {
    font-size: 0.39rem;
  }

  .spot-score-temp-value {
    font-size: 0.72rem;
  }

  .forecast-group-grid-local .decision-cell-wave .decision-value {
    font-size: 1.02rem;
  }

  .forecast-group-grid-base .decision-cell-period .decision-value,
  .forecast-group-grid-base .decision-cell-power .decision-value,
  .forecast-group-grid-base .decision-cell-wind-metrics .decision-value,
  .forecast-group-grid-local .decision-cell-cleanliness .decision-value {
    font-size: 1.02rem;
  }

  .forecast-group-grid-local .decision-cell-wave,
  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power {
    padding-top: 0.26rem;
    padding-bottom: 0.12rem;
    gap: 0.12rem;
  }

  .forecast-group-grid-local .decision-cell-wave {
    --spot-check-value-slot-height: 1.48rem;
  }

  .forecast-group-grid-base .decision-cell-period,
  .forecast-group-grid-base .decision-cell-power {
    --spot-check-value-slot-height: 1.44rem;
  }

  .forecast-group-grid-base .decision-cell-tide {
    --spot-check-value-slot-height: 1.2rem;
  }

  .forecast-group-grid-base .decision-cell-wind-metrics {
    --spot-check-value-slot-height: 1.72rem;
  }

  .forecast-group-grid-local .decision-cell-cleanliness {
    --spot-check-value-slot-height: 1.9rem;
    padding-top: 0.2rem;
    padding-bottom: 0.22rem;
    gap: 0.04rem;
  }

  .forecast-group-grid-local .decision-cell-cleanliness .decision-value {
    min-height: 0;
    font-size: 0.84rem;
    line-height: 1.06;
    height: 2.12em;
  }

  .forecast-group-grid-base .decision-cell-wind-metrics .decision-subvalue {
    font-size: 0.62rem;
  }

  .paddling-inline { grid-template-columns: 1fr; }
  .paddling-actions { justify-items: start; }
  .timeline-chart {
    min-height: 108px;
  }
  .timeline-strip {
    gap: 3px;
    min-height: 108px;
    padding-top: 0.86rem;
  }
  .timeline-night-gap {
    flex-basis: calc(var(--night-gap-weight, 0.42) * 12px);
    height: 30px;
  }
  #hour-slider::-webkit-slider-thumb {
    width: 1.18rem;
    height: 1.18rem;
    margin-top: -0.28rem;
  }
  #hour-slider::-moz-range-thumb {
    width: 1.18rem;
    height: 1.18rem;
  }
}

@media (min-width: 760px) {
  .auth-card.landing-mode {
    padding: 1.5rem 1.55rem;
  }

  .auth-card.landing-mode .auth-hero-intro {
    min-height: 23rem;
    padding: 1.45rem 1.5rem 1.55rem;
  }

  .auth-home-cta {
    grid-template-columns: repeat(2, minmax(0, 12rem));
  }

  .auth-home-cta .auth-home-primary {
    grid-column: auto;
  }

  .auth-home-support-links {
    grid-column: 1 / -1;
  }

  .rank-decision-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}
