/* Separate recovery UAT diagnostic; no B2/B3/B4 product UI. */
.f05-b2-panel { margin-top: 20px; padding: 20px; }
.f05-b2-head h3 { margin: 0 0 14px; }
.f05-b2-switch { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-weight: 650; }
.f05-b2-switch.disabled { opacity: .48; }
.f05-b2-switch input { width: 18px; height: 18px; }
.f05-b2-share { display: flex; align-items: center; gap: 10px; margin: 15px 0; }
.f05-b2-panel button, .f05-b2-share a { padding: 8px 12px; border: 1px solid #b9d2df; border-radius: 7px; background: #f0f8fa; color: #154258; font: inherit; cursor: pointer; text-decoration: none; }
.f05-b2-sponsor { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #e2eaee; }
.f05-b2-sponsor span { flex: 1; }
.f05-b2-upload { position: relative; padding: 8px 12px; border: 1px solid #b9d2df; border-radius: 7px; background: #f0f8fa; color: #154258; cursor: pointer; }
.f05-b2-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.f05-b2-editor { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 12px; }
.f05-b2-editor:empty { display: none; }
.f05-b2-editor label { display: grid; gap: 4px; font-size: 12px; }
.f05-b2-editor input, .f05-b2-editor select { padding: 7px; border: 1px solid #b9d2df; border-radius: 6px; }
.f05-b2-message { color: #31576a; font-size: 12px; }
#f05-r3a-auth-status {
  display: none;
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 10000;
  padding: 7px 10px;
  border: 1px solid #b9c8d6;
  border-radius: 7px;
  color: #173651;
  background: #fff;
  box-shadow: 0 2px 8px #102b4024;
  font: 500 12px/1.3 Inter, sans-serif;
}
.f05-placeholder { padding: 24px; font-weight: 600; }
.live-score-page.f05-show-catch-vs-tide > :not(.session-page-head):not(.live-score-toolbar):not(.live-score-sections):not([data-f05-panel]) { display: none; }
.live-score-page:not(.f05-show-catch-vs-tide) > [data-f05-panel] { display: none; }
.operations-page [data-f05-operations-nav] { display: flex; gap: 8px; margin: 12px 0; }
.operations-page [data-f05-operations-nav] button { padding: 8px 14px; border: 1px solid #c7d6e3; border-radius: 8px; background: #fff; cursor: pointer; }
.operations-page [data-f05-operations-nav] button.active { color: #fff; background: #174765; }
.operations-page.f05-show-boat-positions > :not(.session-page-head):not([data-f05-operations-nav]):not([data-f05-panel]) { display: none; }
.operations-page:not(.f05-show-boat-positions) > [data-f05-panel] { display: none; }
[data-f05-marshal-mount] { margin-top: 12px; padding: 8px 0; font-weight: 600; }

/* B4 operational overlay. Map instances persist while only marker data changes. */
.wizard-content:has([data-f05-area-mount]) > .wizard-title,
.wizard-content:has([data-f05-area-mount]) > .dependency-context,
.wizard-content:has([data-f05-area-mount]) > .location-layout,
.wizard-content:has([data-f05-area-mount]) > .subhead,
.wizard-content:has([data-f05-area-mount]) > .point-grid,
.wizard-content:has([data-f05-area-mount]) > .info-note { display: none; }
.f05-b4-area-card { padding: 20px; border: 1px solid #d8e4ec; border-radius: 12px; background: #fff; }
.f05-b4-area-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f05-b4-area-head h3 { margin: 0; color: #143b53; }
.f05-b4-area-status { color: #5b7180; font-size: 13px; }
.f05-b4-editor[hidden] { display: none; }
.f05-b4-area-map { width: 100%; height: 420px; border-radius: 10px; background: #d9e7ec; }
.f05-b4-area-actions { display: flex; gap: 8px; margin-top: 12px; }
.f05-b4-area-point { border: 2px solid #fff; border-radius: 50%; background: #187ba4; color: #fff;
  width: 28px; height: 28px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px #001b2d80; }
.f05-b4-positions { display: grid; gap: 18px; min-width: 0; }
.f05-b4-session { display: flex; align-items: center; gap: 10px; color: #344e61; font-size: 12px; font-weight: 700; }
.f05-b4-session select { min-width: 190px; padding: 7px 10px; border: 1px solid #d1dce6; border-radius: 7px; background: #fff; color: #172f43; }
.f05-b4-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.f05-b4-stat { display: grid; gap: 3px; min-height: 68px; padding: 12px 13px; border: 1px solid #dce5ed; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #24465a0d; }
.f05-b4-stat small { color: #71828f; font-size: 11px; }
.f05-b4-stat strong { color: #173e55; font-size: 20px; }
.f05-b4-stale-count { margin: -11px 0 -6px; color: #788996; font-size: 11px; }
.f05-b4-alert { border: 1px solid #f2c0a4; border-radius: 9px; padding: 10px 14px;
  color: #9c4323; background: #fff4ed; font-weight: 600; }
.f05-b4-alert[hidden] { display: none; }
.f05-b4-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: 10px; }
.f05-b4-map-wrap { min-width: 0; border: 1px solid #d1e0e8; border-radius: 12px; overflow: hidden; background: #dce8ec; }
.f05-b4-positions-map { width: 100%; height: 340px; }
.f05-b4-map-fallback { display: grid; place-items: center; height: 340px; color: #415c6e; }
.f05-b4-side { min-width: 0; }
.f05-b4-list, .f05-b4-detail { padding: 14px; border: 1px solid #d9e5eb; border-radius: 10px; background: #fff; }
.f05-b4-list { height: 100%; box-sizing: border-box; }
.f05-b4-list h4, .f05-b4-detail h4 { margin: 0 0 10px; color: #173e55; }
.f05-b4-boat-row { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0;
  padding: 9px 10px; border: 1px solid transparent; border-bottom-color: #e4ebef; border-radius: 0; background: #fff; text-align: left; cursor: pointer; }
.f05-b4-boat-row.selected { border-color: #31a5cb; background: #eaf8fc; }
.f05-b4-boat-icon { color: #4b9ec1; font-size: 18px; }
.f05-b4-boat-copy { display: grid; gap: 2px; min-width: 0; }
.f05-b4-boat-copy b { color: #29465a; font-size: 12px; }
.f05-b4-boat-copy small { color: #788996; font-size: 10px; }
.f05-b4-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 24px; }
.f05-b4-detail h4 { grid-column: 1 / -1; }
.f05-b4-detail-row { display: grid; gap: 2px; padding: 3px 0; }
.f05-b4-detail-row small { color: #718593; font-size: 11px; }
.f05-b4-detail-row strong { color: #23475b; font-size: 13px; }
.f05-b4-marker { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #fff;
  clip-path: polygon(50% 0, 97% 34%, 85% 100%, 15% 100%, 3% 34%); background: #138ab6; color: #fff; font-weight: 800;
  box-shadow: 0 3px 12px #001e3599; }
.f05-b4-marker.selected { background: #f7a637; color: #1e2930; transform: scale(1.15); }
.f05-b4-marker[data-state="outside"] { background: #d6573a; }
.f05-b4-marker[data-state="stale"] { background: #788995; }
.f05-b4-gps-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 10px; padding: 9px 11px; border: 1px solid #c8dce5; border-radius: 8px;
  background: #edf7f9; color: #193f53; font-size: 13px; font-weight: 600; }
.f05-b4-gps-action { padding: 6px 10px; border: 1px solid #a8cbd9; border-radius: 6px;
  background: #fff; color: #135373; font-weight: 700; cursor: pointer; }
@media (max-width: 950px) {
  .f05-b4-layout { grid-template-columns: 1fr; }
  .f05-b4-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f05-b4-detail { grid-template-columns: 1fr; }
}

/* B3 analytical panel only. The frozen V19 shell and its filter bar stay light. */
.f05-b3-panel { display: grid; gap: 14px; min-width: 0; }
.f05-b3-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.f05-b3-actions h3 { margin: 0; color: #193c52; font-size: 18px; }
.f05-b3-download.secondary { min-height: 40px; padding: 9px 15px; font-size: 13px; font-weight: 650;
  border: 1px solid #bdd2e0; border-radius: 9px; background: #f3f8fb; color: #174665; white-space: nowrap; }
.f05-b3-download.secondary:hover { background: #e5f1f8; }
.f05-b3-loading, .f05-b3-unavailable { padding: 26px; border-radius: 12px; background: #f5f8fb; color: #29445a; }
.f05-b3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.f05-b3-card { display: grid; gap: 5px; padding: 16px 18px; border: 1px solid #dbe5ec; border-radius: 12px; background: #fff; }
.f05-b3-card small { color: #6a7e8d; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.f05-b3-card strong { color: #14364b; font-size: clamp(19px, 2vw, 25px); line-height: 1.15; }
.f05-b3-card span { color: #718391; font-size: 12px; }
.f05-b3-chart { position: relative; overflow: hidden; padding: 19px 20px 12px; border: 1px solid #1d3954; border-radius: 16px;
  background: radial-gradient(ellipse at 45% -25%, #174c6c 0%, transparent 55%), linear-gradient(140deg, #091b30, #0b233b 75%, #0a1c30);
  box-shadow: 0 16px 28px #09203718; color: #dcebf4; }
.f05-b3-chart-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.f05-b3-chart-head div { display: grid; gap: 3px; }
.f05-b3-chart-head small { font-size: 10px; font-weight: 700; letter-spacing: .17em; color: #7cc6da; }
.f05-b3-chart-head strong { font-size: 16px; font-weight: 600; }
.f05-b3-datum { font-size: 11px; color: #8eaabb; white-space: nowrap; }
.f05-b3-body { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: 24px; align-items: stretch; }
.f05-b3-plot-frame { position: relative; min-width: 0; width: 100%; max-width: 1240px; }
.f05-b3-plot-frame svg { width: 100%; height: auto; display: block; }
.f05-b3-insights { min-width: 0; padding: 18px 4px 4px 20px; border-left: 1px solid #668ba640; }
.f05-b3-insights h4 { margin: 0 0 10px; color: #deedf5; font-size: 15px; font-weight: 650; }
.f05-b3-insight { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid #668ba633; }
.f05-b3-insight small { color: #83bccc; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.f05-b3-insight strong { color: #e3f5fc; font-size: clamp(17px, 1.5vw, 22px); font-weight: 650; line-height: 1.2; }
.f05-b3-insight span { color: #9cb7c6; font-size: 12px; }
.f05-b3-insight-response strong, .f05-b3-insight-window strong { color: #ffd099; }
.f05-b3-grid { stroke: #7290a1; stroke-opacity: .18; stroke-width: 1; }
.f05-b3-axis, .f05-b3-band-label { fill: #92aebe; font-size: 11px; }
.f05-b3-band-label { fill: #dfa866; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.f05-b3-area { fill: #2589b7; fill-opacity: .13; }
.f05-b3-curve { fill: none; stroke: url(#f05-b3-line-gradient); stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round;
  filter: drop-shadow(0 0 5px #38bde555); }
.f05-b3-peak { fill: #ffae45; fill-opacity: .08; stroke: #ffae45; stroke-opacity: .3; stroke-dasharray: 3 5; }
.f05-b3-extreme { fill: #e9fbff; stroke: #54c9e9; stroke-width: 2; }
.f05-b3-event { fill: #bdd9e7; font-size: 10px; font-weight: 600; }
.f05-b3-band-base { fill: #18344a; }
.f05-b3-now-line { stroke: #a6dbeb; stroke-opacity: .7; stroke-dasharray: 4 4; }
.f05-b3-now { fill: #b4e8f6; font-size: 10px; font-weight: 700; }
.f05-b3-tooltip { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); z-index: 2;
  max-width: 86%; padding: 9px 12px; border: 1px solid #49728a; border-radius: 8px; background: #102d46;
  box-shadow: 0 8px 20px #0006; font-size: 12px; text-align: center; }
.f05-b3-tooltip[hidden] { display: none; }
.f05-b3-empty { margin: -11px 0 5px; color: #d2a977; font-size: 12px; text-align: center; }
.f05-b3-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #718391; font-size: 11px; }
@media (max-width: 900px) {
  .f05-b3-body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .f05-b3-insights { border-left: 0; border-top: 1px solid #668ba640; padding: 16px 4px 2px; }
  .f05-b3-insights h4 { margin-bottom: 8px; }
}
@media (max-width: 700px) {
  .f05-b3-actions { flex-wrap: wrap; }
  .f05-b3-cards { grid-template-columns: 1fr; }
  .f05-b3-chart { padding: 13px 8px 6px; }
  .f05-b3-plot-frame { width: 100%; }
  .f05-b3-chart-head { padding: 0 10px; }
  .f05-b3-datum { white-space: normal; text-align: right; }
  .f05-b3-footer { flex-wrap: wrap; }
}
