/* 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-editor .f05-b2-logo-field small { color: #58717a; }
.f05-b2-editor .f05-b2-logo-field input { padding: 6px; background: #fff; }
.f05-b2-custom-category[hidden] { display: none; }
.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; }

.lifecycle-exception-panel { padding: 18px; }
.lifecycle-exception-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.lifecycle-exception-actions .secondary { display: inline-flex; align-items: center; gap: 6px; }
.lifecycle-exception-list { display: grid; gap: 12px; }
.lifecycle-exception-card { overflow: hidden; border: 1px solid #efc874; border-radius: 10px; background: #fff; }
.lifecycle-exception-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 15px 16px; background: #fffaf0; }
.lifecycle-exception-card h3, .lifecycle-exception-card p { margin: 3px 0 0; }
.lifecycle-exception-card p { color: var(--muted); font-size: 11px; }
.lifecycle-exception-attempt { display: flex; align-items: center; gap: 10px; padding: 11px 16px; color: #9b261d; background: #fff1ef; border-block: 1px solid #f4c0ba; }
.lifecycle-exception-attempt > span { flex: none; }
.lifecycle-exception-attempt b, .lifecycle-exception-attempt small { display: block; }
.lifecycle-exception-attempt small { margin-top: 3px; color: #76514d; }
.lifecycle-exception-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 4px 16px 14px; }
.lifecycle-exception-grid > span { min-width: 0; padding: 11px 12px 8px 0; border-bottom: 1px solid var(--line); }
.lifecycle-exception-grid small, .lifecycle-exception-grid b, .lifecycle-exception-grid code { display: block; }
.lifecycle-exception-grid small { margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .65px; }
.lifecycle-exception-grid b { font-size: 11px; line-height: 1.45; }
.lifecycle-exception-grid code { overflow-wrap: anywhere; color: #48647f; font-size: 9px; line-height: 1.45; }
.lifecycle-exception-grid .client-catch-id { grid-column: 1 / -1; border-bottom: 0; }
@media(max-width: 900px) { .lifecycle-exception-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 640px) {
  .lifecycle-exception-panel { padding: 14px; }
  .lifecycle-exception-panel .panel-head, .lifecycle-exception-card > header { align-items: stretch; flex-direction: column; }
  .lifecycle-exception-actions { justify-content: flex-start; }
  .lifecycle-exception-grid { grid-template-columns: minmax(0, 1fr); }
}
.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; }
}

/* Final Organizer public-controls refinement, scoped to the existing B2 panel. */
.f05-b2-panel{padding:18px;max-width:100%;min-width:0}.f05-b2-panel .f05-b2-group,.f05-b2-panel .f05-b2-first-group,.f05-b2-panel .f05-b2-maximum-group{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0;padding:16px;border:1px solid #d5e3e9;border-radius:10px;min-width:0;background:#f9fcfd}.f05-b2-panel legend{padding:0 6px;font-size:15px;font-weight:750;color:#163f52}.f05-b2-panel .f05-b2-public-controls{display:flex;align-items:end;gap:12px;margin:0}.f05-b2-panel label{min-width:0}.f05-b2-panel .f05-b2-first-group>label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.f05-b2-panel .f05-b2-first-group>label:has(select),.f05-b2-panel .f05-b2-first-group>label:has(textarea),.f05-b2-panel .f05-b2-maximum-group>label{display:grid;gap:6px}.f05-b2-panel input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;padding:0}.f05-b2-panel select,.f05-b2-panel textarea,.f05-b2-panel input[type=number]{box-sizing:border-box;max-width:100%;font:inherit;font-size:13px;padding:9px 11px;border:1px solid #afc8d4;border-radius:7px;background:#fff;color:#143f52}.f05-b2-panel textarea{width:100%;min-height:86px;resize:vertical}.f05-b2-panel select{min-height:40px}.f05-b2-panel button:focus-visible,.f05-b2-panel input:focus-visible,.f05-b2-panel select:focus-visible,.f05-b2-panel textarea:focus-visible,.f05-b2-panel a:focus-visible{outline:2px solid #1689b0;outline-offset:2px}.f05-b2-panel .f05-b2-first-group ul{margin:0;padding:0;list-style:none;max-height:210px;overflow:auto;border-block:1px solid #e2ebef}.f05-b2-panel .f05-b2-first-group li{font-size:12px;line-height:1.5;padding:8px 0;border-bottom:1px solid #e2ebef;overflow-wrap:anywhere}.f05-b2-panel .f05-b2-first-group p,.f05-b2-panel .f05-b2-maximum-group p{margin:0;font-size:12px;line-height:1.5;color:#506e7c}.f05-b2-panel .f05-b2-first-group button:last-child{background:#126a8c;color:#fff;border-color:#126a8c;font-weight:700}.f05-b2-panel .f05-b2-message{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.f05-b2-panel .f05-b2-share{flex-wrap:wrap;padding-top:12px;border-top:1px solid #dbe7ec}.f05-b2-panel h4{font-size:15px;margin:22px 0 8px}.f05-b2-panel .f05-b2-sponsor{flex-wrap:wrap}.f05-b2-panel button,.f05-b2-panel .f05-b2-share a{min-height:38px;max-width:100%;white-space:normal}.f05-b2-panel .f05-b2-switch{margin:4px 0;font-size:13px}
@media(max-width:768px){.f05-b2-panel{padding:14px}.f05-b2-panel .f05-b2-public-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.f05-b2-panel .f05-b2-group,.f05-b2-panel .f05-b2-first-group,.f05-b2-panel .f05-b2-maximum-group{padding:12px;gap:12px}.f05-b2-panel .f05-b2-editor label,.f05-b2-panel select{width:100%}.f05-b2-panel button,.f05-b2-panel .f05-b2-share a{min-height:44px}.f05-b2-panel .f05-b2-share{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}}

/* Compact Overview actions; existing settings remain in the same B2 workspace. */
.f05-b2-panel .f05-b2-summary{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:12px;color:#476574;line-height:1.5}.f05-b2-panel .f05-b2-summary span{min-width:0;overflow-wrap:anywhere}.f05-b2-panel .f05-b2-quick{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.f05-b2-panel .f05-b2-quick a{font:inherit;font-size:12px;color:#126a8c;text-decoration:none;padding:8px}.f05-b2-panel .f05-b2-first-group[hidden],.f05-b2-panel .f05-b2-advanced[hidden]{display:none!important}.f05-b2-panel .f05-b2-first-group{max-width:760px;margin-top:14px}.f05-b2-panel .f05-b2-first-group textarea{min-height:58px;max-height:140px}.f05-b2-panel .f05-b2-first-group li{padding:10px 0;font-size:13px}.f05-b2-panel .f05-b2-first-group button:last-child{justify-self:start}.f05-b2-panel .f05-b2-quick button{font-size:12px;padding:8px 12px;min-height:36px}.f05-b2-panel .f05-b2-first-group button:disabled{opacity:.5;cursor:not-allowed}.f05-b2-panel .f05-b2-advanced{margin-top:16px;padding-top:4px;border-top:1px solid #dce7ec}
@media(max-width:768px){.f05-b2-panel .f05-b2-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.f05-b2-panel .f05-b2-quick button,.f05-b2-panel .f05-b2-quick a{min-height:44px}.f05-b2-panel .f05-b2-first-group button:last-child{width:100%}}

/* First Catch post-action state; no public page or lifecycle changes. */
.f05-b2-panel .f05-b2-approval-form{display:grid;gap:12px;min-width:0}.f05-b2-panel .f05-b2-approval-form[hidden],.f05-b2-panel .f05-b2-decision[hidden]{display:none!important}.f05-b2-panel .f05-b2-approval-form>label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.f05-b2-panel .f05-b2-approval-form>label:has(textarea){display:grid;gap:6px}.f05-b2-panel .f05-b2-approval-form button{justify-self:start;background:#126a8c;color:#fff;border-color:#126a8c;font-weight:700}.f05-b2-panel .f05-b2-decision{border-left:3px solid #248463;padding:12px 14px;background:#eef9f4;border-radius:6px}.f05-b2-panel .f05-b2-decision h4{margin:0 0 4px;font-size:12px;color:#356c57}.f05-b2-panel .f05-b2-decision>strong{font-size:15px;color:#1c6045}.f05-b2-panel .f05-b2-decision-meta{font-size:12px;color:#506e7c}.f05-b2-panel .f05-b2-toast{position:fixed;right:20px;bottom:24px;z-index:10001;max-width:min(420px,calc(100vw - 32px));padding:14px 18px;border:1px solid #6faf99;border-radius:9px;background:#103f31;color:#fff;font-size:14px;line-height:1.5;box-shadow:0 8px 28px #102b4033}.f05-b2-panel .f05-b2-decision:focus-within{outline:2px solid #1689b0;outline-offset:3px}@media(max-width:768px){.f05-b2-panel .f05-b2-approval-form button{width:100%}.f05-b2-panel .f05-b2-toast{left:16px;right:16px;bottom:16px;max-width:none}}
