/* AD Report # 6 Ops Dashboard: Pastels, with a pastel globe. Generated from adr1/assets/css/noc.css plus
   the palette and pastel layers at the end; edit the layers, not the copied rules above them. */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #060C0C; --bg-2: #0A1414; --panel: #0D1817; --panel-2: #112120; --line: rgba(140, 210, 195, .12); --line-2: rgba(140, 210, 195, .22);
  --ink: #E6EEEC; --ink-2: #BFD0CB; --muted: #82998F; --teal: #2FB89A; --teal-dim: #1A6F62;
  --st-ok: #34C79A; --st-warn: #F2B33D; --st-alert: #F0503C; --st-info: #6AA8E0;
  --st-ok-bg: rgba(52, 199, 154, .12); --st-warn-bg: rgba(242, 179, 61, .13); --st-alert-bg: rgba(240, 80, 60, .15);
  --g-ocean-1: #12393A; --g-ocean-2: #061517; --g-land: #1F3B37; --g-land-hi: #2F6157; --g-border: rgba(150, 225, 205, .42);
  --g-grat: rgba(140, 210, 195, .09); --g-glow: rgba(47, 184, 154, .28); --g-label: rgba(225, 242, 237, .78);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.noc-loading { display: grid; place-items: center; height: 100vh; color: var(--muted); font-weight: 600; }

/* ---------- layout: header / [left | globe | right] / DC wall ---------- */
.noc-app { height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 10px 14px 12px;
  background: radial-gradient(1200px 700px at 50% 45%, rgba(47, 184, 154, .07), transparent 70%), var(--bg); }
.noc-main { display: grid; grid-template-columns: minmax(300px, 22vw) minmax(0, 1fr) minmax(300px, 22vw); gap: 12px; min-height: 0; }
.noc-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.noc-side > h2 { white-space: nowrap; overflow: hidden; margin: 2px 4px 0; font-size: 13px; letter-spacing: .01em; color: var(--muted); font-weight: 800; display: flex; align-items: center; gap: 8px; }
.noc-side > h2 .n { margin-left: auto; font-size: 11px; letter-spacing: .04em; }
.noc-panels { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }

/* ---------- header ---------- */
.noc-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.noc-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.noc-brand img { width: 30px; height: 30px; }
.noc-brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.noc-brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.noc-links { display: flex; gap: 2px; flex-wrap: wrap; min-width: 0; overflow: hidden; max-height: 30px; }
.noc-links a { padding: 6px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.noc-links a:hover { background: var(--panel-2); color: #fff; }
.noc-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.noc-overall { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.noc-overall .big { font-size: 13px; font-weight: 900; letter-spacing: .12em; padding: 4px 10px; border-radius: 8px; }
.noc-overall .cnt { display: flex; gap: 10px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.noc-overall .cnt span { display: inline-flex; align-items: center; gap: 5px; }
.noc-meta { text-align: right; line-height: 1.25; }
.noc-meta .clock { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.noc-meta small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.noc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font-size: 12px; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.noc-btn:hover { background: var(--panel-2); color: #fff; }
.noc-btn svg { flex: none; }

/* ---------- status bits ---------- */
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--st-ok); }
.dot.warn { background: var(--st-warn); } .dot.alert { background: var(--st-alert); box-shadow: 0 0 0 3px rgba(240, 80, 60, .2); } .dot.info { background: var(--st-info); }
.chip { font-size: 10px; font-weight: 900; letter-spacing: .12em; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; flex: none; }
.chip.ok, .big.ok { background: var(--st-ok-bg); color: var(--st-ok); }
.chip.warn, .big.warn { background: var(--st-warn-bg); color: var(--st-warn); }
.chip.alert, .big.alert { background: var(--st-alert-bg); color: var(--st-alert); }
.big.alert { animation: noc-blink 2s ease-in-out infinite; }
@keyframes noc-blink { 50% { background: rgba(240, 80, 60, .32); } }

/* ---------- side panels ---------- */
.pnl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 10px 14px; border-radius: 12px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); min-height: 0; flex: 1 1 0; overflow: hidden; }
.pnl::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--st-ok); }
.pnl.warn::before { background: var(--st-warn); } .pnl.alert::before { background: var(--st-alert); }
.pnl.alert { border-color: rgba(240, 80, 60, .35); }
.pnl-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pnl-head h3 { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnl-head h3 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pnl-head .chip { margin-left: 8px; }
.pnl-head h3 { margin-right: auto; }
.pnl-val { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pnl-val b { white-space: nowrap; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pnl-val span { font-size: 11.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pnl-bar { display: flex; height: 5px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .06); gap: 2px; }
.pnl-bar i { display: block; height: 100%; }
.pnl-rows { flex: 1 1 0; display: flex; flex-direction: column; gap: 3px; min-height: 0; overflow: hidden; }
.pnl-row { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); min-width: 0; line-height: 1.35; }
.pnl-row .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pnl-row .v { margin-left: auto; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.pnl-row .dot { width: 7px; height: 7px; box-shadow: none; }
a.pnl-row:hover .t { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.pnl-more { font-size: 11px; font-weight: 800; color: var(--teal); white-space: nowrap; flex: none; }
.pnl-more:hover { text-decoration: underline; }

/* ---------- globe ---------- */
.noc-globe { position: relative; min-height: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 50%, rgba(47, 184, 154, .06), transparent 70%), var(--bg-2); }
.noc-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.g-over { position: absolute; z-index: 2; pointer-events: none; }
.g-over > * { pointer-events: auto; }
.g-title { top: 12px; left: 14px; }
.g-title b { display: block; font-size: 15px; font-weight: 800; }
.g-title span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.g-speed { top: 12px; right: 12px; display: flex; align-items: center; gap: 6px; }
.g-reset { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; margin-right: 6px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(10, 20, 20, .8); color: var(--ink-2); font-size: 12px; font-weight: 800; cursor: pointer; }
.g-reset:hover { color: #fff; background: var(--teal-dim); }
.g-reset:active svg { transform: rotate(-90deg); }
.g-reset svg { transition: transform .2s; }
.g-speed small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-right: 2px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(10, 20, 20, .8); border: 1px solid var(--line-2); }
.seg button { border: 0; background: transparent; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 800; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.seg button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.seg button[aria-pressed="true"] { background: var(--teal-dim); color: #fff; }
.g-legend { left: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border-radius: 10px; background: rgba(8, 18, 18, .78); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--ink-2); }
.g-legend div { display: flex; align-items: center; gap: 7px; }
.g-legend .ln { width: 18px; height: 0; border-top: 2px solid var(--st-ok); }
.g-legend .ln.warn { border-color: var(--st-warn); } .g-legend .ln.alert { border-top-style: dashed; border-color: var(--st-alert); }
.lg-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); }
.lg-regions span { display: inline-flex; align-items: center; gap: 6px; }
.lg-regions i { width: 12px; height: 9px; border-radius: 3px; opacity: .85; }
.lg-toggle { margin-top: 4px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); border-radius: 7px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: var(--ink-2); cursor: pointer; text-align: left; }
.lg-toggle:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.lg-toggle b { color: var(--teal); }
.lg-toggle[aria-pressed="false"] b { color: var(--muted); }
.g-regions { left: 50%; transform: translateX(-50%); bottom: 12px; }
.g-regions .seg button { gap: 6px; }
.g-regions .dot { width: 7px; height: 7px; box-shadow: none; }
.g-refresh { right: 14px; bottom: 14px; font-size: 11px; font-weight: 700; color: var(--muted); text-align: right; }
.g-refresh button { margin-top: 4px; }

/* ---------- DC wall ---------- */
.noc-wall { display: flex; flex-direction: column; gap: 6px; }
.noc-wall > h2 { margin: 0 4px; font-size: 13px; letter-spacing: .01em; color: var(--muted); font-weight: 800; display: flex; gap: 14px; align-items: center; }
.noc-wall > h2 .leg { display: inline-flex; gap: 12px; font-size: 11px; letter-spacing: .04em; font-weight: 700; }
.noc-wall > h2 .leg span { display: inline-flex; align-items: center; gap: 5px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 5px; }
.dct { position: relative; display: block; padding: 5px 7px 5px 9px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); min-width: 0; cursor: pointer; }
.dct::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 0 3px 3px 0; background: var(--st-ok); }
.dct.warn::before { background: var(--st-warn); } .dct.alert::before { background: var(--st-alert); }
.dct.warn { background: linear-gradient(90deg, rgba(242, 179, 61, .10), var(--panel) 70%); }
.dct.alert { background: linear-gradient(90deg, rgba(240, 80, 60, .18), var(--panel) 75%); border-color: rgba(240, 80, 60, .4); }
.dct:hover, .dct.hl { border-color: rgba(255, 255, 255, .55); }
.dct b { display: flex; align-items: center; gap: 4px; font-size: 10.5px; letter-spacing: -.01em; font-weight: 800; white-space: nowrap; overflow: hidden; }
.dct b .rg { margin-left: auto; font-size: 9px; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.dct b .dot { width: 7px; height: 7px; box-shadow: none; }
.dct small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; font-variant-numeric: tabular-nums; }
.dct.warn small { color: #E9C37A; } .dct.alert small { color: #F7907F; }

/* ---------- hover card ---------- */
.noc-tip { position: fixed; z-index: 50; width: 300px; padding: 12px 14px; border-radius: 12px; background: rgba(9, 20, 20, .96); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font-size: 12px; pointer-events: none; backdrop-filter: blur(6px); }
.noc-tip .hd { display: flex; align-items: center; gap: 8px; }
.noc-tip .hd b { font-size: 14px; font-weight: 800; }
.noc-tip .hd .chip { margin-left: auto; }
.noc-tip .loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; margin: 3px 0 8px; }
.noc-tip .loc img { width: 18px; height: 13px; border-radius: 2px; }
.noc-tip .why { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.noc-tip .why div { display: flex; gap: 7px; align-items: flex-start; font-weight: 700; }
.noc-tip .why .dot { margin-top: 4px; width: 7px; height: 7px; box-shadow: none; }
.noc-tip dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; }
.noc-tip dt { color: var(--muted); font-weight: 600; }
.noc-tip dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.noc-tip .foot { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); color: var(--teal); font-weight: 800; font-size: 11px; }
/* side-panel pop-ups: the row the DC card was opened from, lists of DCs or computers, a check's details */
.noc-tip .hd b { overflow-wrap: anywhere; line-height: 1.3; }
.noc-tip .ctx { margin: 0 0 8px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); }
.noc-tip .ctx small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.noc-tip .ctx div { display: flex; gap: 7px; align-items: flex-start; font-weight: 700; }
.noc-tip .ctx .dot, .noc-tip .tl .dot { flex: none; margin-top: 4px; width: 7px; height: 7px; box-shadow: none; }
.noc-tip .sec { margin: 8px 0 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.noc-tip .why + .sec, .noc-tip .loc + .sec { margin-top: 0; }
.noc-tip .tls { display: flex; flex-direction: column; gap: 2px; }
.noc-tip .tl { display: flex; gap: 7px; align-items: flex-start; min-width: 0; }
.noc-tip .tl b { flex: none; font-weight: 800; white-space: nowrap; }
.noc-tip .tl .tl-s { min-width: 0; margin-left: auto; padding-left: 8px; color: var(--muted); font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.noc-tip .txt { margin: 6px 0 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.noc-tip .more { margin-top: 4px; color: var(--muted); font-weight: 700; }

/* ---------- shorter screens (e.g. 1366×768): headline values only, one-line DC tiles ---------- */
@media (max-height: 900px) {
  .noc-app { gap: 8px; padding: 8px 10px; }
  .pnl { padding: 7px 10px 7px 12px; gap: 3px; }
  .pnl-val b { font-size: 18px; }
  .pnl-bar { display: none; }
  .dct { padding: 4px 6px 4px 8px; }
  .dct small { display: none; }
  .noc-meta .clock { font-size: 17px; }
}
/* ---------- smaller screens: keep it usable, allow scrolling ---------- */
@media (max-width: 1280px) {
  .noc-links { display: none; }
  .noc-main { grid-template-columns: minmax(260px, 26vw) minmax(0, 1fr) minmax(260px, 26vw); }
}
@media (max-width: 1000px), (max-height: 700px) {
  .noc-app { height: auto; min-height: 100vh; }
  .noc-main { grid-template-columns: 1fr; }
  .noc-globe { height: 72vh; order: -1; }
  .pnl { flex: none; }
  .noc-head { flex-wrap: wrap; }
  .noc-right { margin-left: 0; flex-wrap: wrap; }
}

/* "click anywhere to go full screen" hint (browsers need a click or key press before going full screen) */
.noc-fs-hint { position: fixed; z-index: 60; left: 50%; top: 64px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(9, 20, 20, .94); border: 1px solid var(--teal-dim); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); font-size: 13px; font-weight: 700; color: var(--ink); transition: opacity .6s; pointer-events: auto; }
.noc-fs-hint svg { color: var(--teal); }
.noc-fs-hint button { border: 0; background: rgba(255, 255, 255, .06); color: var(--ink-2); width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 16px; line-height: 1; }
.noc-fs-hint button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.noc-fs-hint.faded { opacity: .7; }
.noc-fs-hint.faded:hover { opacity: 1; }
.g-legend .lg-regions { display: grid; grid-template-columns: auto auto; gap: 4px 12px; }
.noc-btn.noc-back[hidden] { display: none; }
.noc-btn.noc-back:disabled { opacity: .45; cursor: default; }
/* DC wall: a mini flag in place of the status dot (the left bar carries the status) */
.dct b .dct-flag { flex: none; width: 14px; height: 10px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.dct b { gap: 5px; }
.dct { padding: 5px 5px 5px 8px; }
.dct b { gap: 4px; font-size: 10px; letter-spacing: -.025em; }
.dct b .dct-flag { width: 13px; height: 9px; }
.dct small { font-size: 9.5px; letter-spacing: -.01em; }

/* ---------- loading animation (ADR.loaderHtml): spinning globe, orbiting replication dots, real progress ---------- */
.adr-loader { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 64px 20px; color: var(--ld-muted); animation: adr-ld-in .35s ease-out both; }
.adr-loader-brand { font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.adr-loader-globe { width: var(--ld-size, 132px); height: var(--ld-size, 132px); overflow: visible; }
.adr-loader-globe .g-body { fill: var(--ld-fill); stroke: var(--ld-ring); stroke-width: 1.4; }
.adr-loader-globe .g-lat { fill: none; stroke: var(--ld-faint); }
.adr-loader-globe .g-lat2 { opacity: .7; }
.adr-loader-globe .g-mer { transform-origin: 75px 75px; animation: adr-ld-mer 3.2s linear infinite; }
.adr-loader-globe .g-mer ellipse { fill: none; stroke: var(--ld-a); stroke-width: 1.5; opacity: .85; }
.adr-loader-globe .g-orbit { transform-origin: 75px 75px; animation: adr-ld-spin 2.4s linear infinite; }
.adr-loader-globe .g-orbit-b { animation-duration: 3.6s; animation-direction: reverse; }
.adr-loader-globe .g-path { fill: none; stroke: var(--ld-faint); stroke-dasharray: 2 6; }
.adr-loader-globe .g-sat { fill: var(--ld-a); filter: drop-shadow(0 0 4px var(--ld-glow)); }
.adr-loader-globe .g-sat-b { opacity: .8; }
.adr-loader-bar { width: 200px; max-width: 70vw; height: 3px; border-radius: 3px; background: var(--ld-faint); overflow: hidden; }
.adr-loader-bar i { display: block; height: 100%; width: 4%; border-radius: 3px; background: var(--ld-a); transition: width .25s ease-out; }
.adr-loader-cap { font-size: 13px; font-weight: 600; min-height: 1.4em; text-align: center; }
.adr-loader-cap .n { color: var(--ld-a); font-variant-numeric: tabular-nums; }
.adr-fade-in { animation: adr-ld-in .45s ease-out both; }
@keyframes adr-ld-mer { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
@keyframes adr-ld-spin { to { transform: rotate(360deg); } }
@keyframes adr-ld-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .adr-loader-globe .g-mer, .adr-loader-globe .g-orbit { animation-duration: 8s; } .adr-fade-in, .adr-loader { animation: none; } }

.noc-loading .adr-loader { --ld-size: 168px; --ld-a: var(--teal); --ld-muted: var(--muted); --ld-fill: #0B2524; --ld-ring: var(--g-border); --ld-faint: rgba(140,210,195,.16); --ld-glow: rgba(47,184,154,.6); gap: 22px; }

/* =====================================================================
   AD Report # 6 · palettes (shared by the report pages and the Ops Dashboard)
   Five pairs of complementary pastels. Each forest takes one family of the pair by its slot: the page head sets
   data-forest-slot="a" for the first forest in <meta name="adr-forests"> (adreps.com) and "b" for the second
   (winreps.com), and data-palette="p1".."p5" from the picker. Every family has the same steps:
     g ground · s surface · w well · t track/tint · p pastel · m mid · k ink (text, 4.5:1+ on s, w and p)
     d deep (text on p) · fr frame · fi text on the frame · rgb (k as r,g,b) · lo (shadow tint as r,g,b)
   Checked: k on s/w/p and d on p at 4.5:1 or more, the frame text at 4.5:1 or more, muted text on w/t at 4.5:1.
   Status colours never come from a forest; they are the same in every palette.
   ===================================================================== */
:root, :root[data-palette="p1"] {
  /* p1 · Apricot & Sky */
  --pfa-g: #FBF3EA; --pfa-s: #FFFAF4; --pfa-w: #F6E9DC; --pfa-t: #F1DFCD; --pfa-p: #F2C7A5; --pfa-m: #E2A077;
  --pfa-k: #8A4520; --pfa-d: #6A3418; --pfa-fr: #F08A24; --pfa-fi: #2A1606; --pfa-rgb: 138, 69, 32; --pfa-lo: 170, 120, 84;
  --pfb-g: #EEF3FA; --pfb-s: #FAFCFE; --pfb-w: #E2EAF5; --pfb-t: #D5E1F1; --pfb-p: #BBD0EE; --pfb-m: #8DB0E2;
  --pfb-k: #2B5596; --pfb-d: #1F3F73; --pfb-fr: #2F6FDB; --pfb-fi: #FFFFFF; --pfb-rgb: 43, 85, 150; --pfb-lo: 96, 120, 160;
}
:root[data-palette="p2"] {
  /* p2 · Peach & Mint */
  --pfa-g: #FCF1EE; --pfa-s: #FFF9F7; --pfa-w: #F7E3DD; --pfa-t: #F2D5CC; --pfa-p: #F6BFAE; --pfa-m: #E8907A;
  --pfa-k: #8E3925; --pfa-d: #752E1D; --pfa-fr: #E4673F; --pfa-fi: #2B1008; --pfa-rgb: 142, 57, 37; --pfa-lo: 176, 116, 100;
  --pfb-g: #EEF7F2; --pfb-s: #FAFDFB; --pfb-w: #DFEFE6; --pfb-t: #CFE7DA; --pfb-p: #A8D8BF; --pfb-m: #6DBB95;
  --pfb-k: #1F6146; --pfb-d: #194F38; --pfb-fr: #2E9E6E; --pfb-fi: #062417; --pfb-rgb: 31, 97, 70; --pfb-lo: 92, 140, 116;
}
:root[data-palette="p3"] {
  /* p3 · Butter & Lilac */
  --pfa-g: #FBF6E6; --pfa-s: #FFFDF5; --pfa-w: #F5EDD2; --pfa-t: #F0E4BF; --pfa-p: #F3DC9A; --pfa-m: #D9B44E;
  --pfa-k: #6A5210; --pfa-d: #54400C; --pfa-fr: #E0B21C; --pfa-fi: #2A2103; --pfa-rgb: 106, 82, 16; --pfa-lo: 160, 138, 84;
  --pfb-g: #F3EFF9; --pfb-s: #FCFAFE; --pfb-w: #E8E1F3; --pfb-t: #DDD3EE; --pfb-p: #CDBDE6; --pfb-m: #A58CD1;
  --pfb-k: #5A3E8E; --pfb-d: #45306C; --pfb-fr: #7B55C9; --pfb-fi: #FFFFFF; --pfb-rgb: 90, 62, 142; --pfb-lo: 128, 112, 160;
}
:root[data-palette="p4"] {
  /* p4 · Rose & Sage */
  --pfa-g: #FBF0F2; --pfa-s: #FFF9FA; --pfa-w: #F6E0E5; --pfa-t: #F0D1D9; --pfa-p: #EDB8C6; --pfa-m: #D9849C;
  --pfa-k: #8C2E4E; --pfa-d: #6E233C; --pfa-fr: #C23A6C; --pfa-fi: #FFFFFF; --pfa-rgb: 140, 46, 78; --pfa-lo: 170, 112, 128;
  --pfb-g: #F1F5EC; --pfb-s: #FBFCF8; --pfb-w: #E3EBD8; --pfb-t: #D6E2C6; --pfb-p: #C2D6A9; --pfb-m: #93B271;
  --pfb-k: #425D25; --pfb-d: #33481C; --pfb-fr: #6E9B3C; --pfb-fi: #142006; --pfb-rgb: 66, 93, 37; --pfb-lo: 116, 138, 92;
}
:root[data-palette="p5"] {
  /* p5 · Coral & Periwinkle */
  --pfa-g: #FDF1EC; --pfa-s: #FFFAF8; --pfa-w: #F9E0D6; --pfa-t: #F5D0C2; --pfa-p: #F7B49D; --pfa-m: #EE8462;
  --pfa-k: #8E3416; --pfa-d: #752C15; --pfa-fr: #F26B4A; --pfa-fi: #2B0E05; --pfa-rgb: 142, 52, 22; --pfa-lo: 180, 118, 96;
  --pfb-g: #F0F1FB; --pfb-s: #FBFBFE; --pfb-w: #E2E4F6; --pfb-t: #D3D6F1; --pfb-p: #BCC1EC; --pfb-m: #8C93DD;
  --pfb-k: #3E46A3; --pfb-d: #2F357D; --pfb-fr: #5560E0; --pfb-fi: #FFFFFF; --pfb-rgb: 62, 70, 163; --pfb-lo: 110, 114, 168;
}

/* the forest shown: its family becomes --pf-* (slot a by default; a third forest would also use a until it gets a family) */
:root {
  --pf-g: var(--pfa-g); --pf-s: var(--pfa-s); --pf-w: var(--pfa-w); --pf-t: var(--pfa-t); --pf-p: var(--pfa-p); --pf-m: var(--pfa-m);
  --pf-k: var(--pfa-k); --pf-d: var(--pfa-d); --pf-fr: var(--pfa-fr); --pf-fi: var(--pfa-fi); --pf-rgb: var(--pfa-rgb); --pf-lo: var(--pfa-lo);
}
:root[data-forest-slot="b"] {
  --pf-g: var(--pfb-g); --pf-s: var(--pfb-s); --pf-w: var(--pfb-w); --pf-t: var(--pfb-t); --pf-p: var(--pfb-p); --pf-m: var(--pfb-m);
  --pf-k: var(--pfb-k); --pf-d: var(--pfb-d); --pf-fr: var(--pfb-fr); --pf-fi: var(--pfb-fi); --pf-rgb: var(--pfb-rgb); --pf-lo: var(--pfb-lo);
}

/* ---------- the forest frame: a thick border round the window, and the "You are in" tab ---------- */
.forest-frame { position: fixed; inset: 0; border: 8px solid var(--pf-fr); pointer-events: none; z-index: 9000; }
.forest-frame.ff-both { border: 0; }
.forest-frame .ff-side { position: absolute; top: 0; bottom: 0; width: 50%; box-sizing: border-box; border: 8px solid var(--pfa-fr); }
.forest-frame .ff-a { left: 0; border-right: 0; }
.forest-frame .ff-b { right: 0; border-left: 0; border-color: var(--pfb-fr); }
.forest-tab { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 9001; pointer-events: none; display: flex; align-items: center; gap: 7px;
  padding: 4px 18px 7px; border-radius: 0 0 12px 12px; background: var(--pf-fr); color: var(--pf-fi); font: 600 13px/1.2 var(--font); letter-spacing: .01em; white-space: nowrap; }
.forest-tab b { font-weight: 800; }
.forest-tab.ft-both { padding: 0; gap: 0; overflow: hidden; background: transparent; font-weight: 800; }
.forest-tab.ft-both span { padding: 4px 14px 7px; }
.forest-tab .ft-a { background: var(--pfa-fr); color: var(--pfa-fi); }
.forest-tab .ft-b { background: var(--pfb-fr); color: var(--pfb-fi); }
@media print { .forest-frame, .forest-tab { display: none; } }

/* ---------- forest switch (sidebar, dashboard header) ---------- */
.forest-switch { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--pf-w); box-shadow: inset 2px 2px 5px rgba(var(--pf-lo), .35), inset -2px -2px 5px rgba(255, 255, 255, .85); }
.forest-switch .fsw-btn { all: unset; box-sizing: border-box; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 10px;
  border-radius: 10px; font: 700 12.5px/1 var(--font); color: var(--muted); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.forest-switch .fsw-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.forest-switch .fsw-btn:focus-visible { outline: 2px solid var(--pf-k); outline-offset: 2px; }
.forest-switch .fsw-btn[aria-pressed="true"], .forest-switch .fsw-btn[aria-current="page"] { background: var(--pf-s); color: var(--ink); box-shadow: 2px 2px 6px rgba(var(--pf-lo), .35), -2px -2px 6px rgba(255, 255, 255, .9); cursor: default; }
.forest-switch .fsw-btn i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.forest-switch .fsw-a i { background: var(--pfa-fr); }
.forest-switch .fsw-b i { background: var(--pfb-fr); }
.forest-switch .fsw-both i:first-child { background: var(--pfa-fr); }
.forest-switch .fsw-both i + i { background: var(--pfb-fr); margin-left: -9px; }

/* ---------- palette picker (replaces the light / dark switch) ---------- */
.palette-pick { position: relative; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 30px 0 8px; border-radius: 999px;
  background: var(--pf-s); box-shadow: 3px 3px 8px rgba(var(--pf-lo), .32), -3px -3px 8px rgba(255, 255, 255, .9); color: var(--ink-2); font: 800 12px/1 var(--font); cursor: pointer; flex-shrink: 0; }
.palette-pick::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.palette-pick .pp-swatch { display: inline-flex; flex: none; }
.palette-pick .pp-swatch i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px #FFFFFF, 0 1px 3px rgba(0, 0, 0, .18); }
.palette-pick .pp-swatch i:first-child { background: var(--sw-a); }
.palette-pick .pp-swatch i + i { background: var(--sw-b); margin-left: -6px; }
.palette-pick .pp-label { color: var(--muted); font-weight: 700; }
.palette-pick .pp-name { color: var(--ink); }
.palette-pick select { all: unset; position: absolute; inset: 0; opacity: 0; cursor: pointer; font: 600 14px var(--font); }
.palette-pick:has(select:focus-visible) { outline: 2px solid var(--pf-k); outline-offset: 3px; }

/* =====================================================================
   AD Report # 6 · Ops Dashboard pastel layer
   Report # 1's one-screen dashboard on the forest's pastel family (palettes.css, above): light panels, a pastel
   globe in the forest's colours, the forest switch and palette picker in the header, and the forest frame.
   ===================================================================== */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  color-scheme: light;
  --bg: var(--pf-g); --bg-2: var(--pf-w); --panel: var(--pf-s); --panel-2: var(--pf-w); --line: rgba(var(--pf-lo), .28); --line-2: rgba(var(--pf-lo), .5);
  --ink: #2B2622; --ink-2: #3D3630; --muted: #615750; --teal: var(--pf-k); --teal-dim: var(--pf-k); --hover-ink: var(--pf-d); --glass: rgba(255, 255, 255, .88);
  --st-ok: #2E7550; --st-warn: #B97A12; --st-alert: #C2412D; --st-info: #3D5A80;
  --st-ok-bg: rgba(46, 117, 80, .1); --st-warn-bg: rgba(201, 138, 43, .16); --st-alert-bg: rgba(194, 65, 45, .12);
  --g-ocean-1: var(--pf-s); --g-ocean-2: var(--pf-t); --g-land: var(--pf-p); --g-land-hi: var(--pf-m); --g-border: rgba(var(--pf-rgb), .45);
  --g-grat: rgba(var(--pf-rgb), .1); --g-glow: rgba(var(--pf-rgb), .12); --g-label: rgba(43, 38, 34, .85);
  --g-casing: rgba(255, 255, 255, .92); --g-ring: #2B2622; --g-hi: rgba(255, 255, 255, .45); --g-shade: rgba(var(--pf-lo), .25);
  --font: "Figtree", system-ui, sans-serif;
  --ld-muted: #615750; --ld-fill: var(--pf-s); --ld-ring: var(--pf-k); --ld-faint: rgba(var(--pf-lo), .35);
}
html, body { font-size: 13.5px; }
.noc-app { background: var(--bg); padding-top: 34px !important; }
body.has-forest-frame .noc-app { box-sizing: border-box; padding-left: 16px; padding-right: 16px; padding-bottom: 14px; }

/* header */
.noc-brand img { filter: none; }
.noc-brand b { color: var(--pf-d); }
.noc-links a { font-weight: 700; color: var(--ink-2); border-radius: 10px; }
.noc-links a:hover, .noc-btn:hover, .pnl-head h3 a:hover, a.pnl-row:hover .t, .g-reset:hover, .seg button:hover, .lg-toggle:hover, .noc-fs-hint button:hover { color: var(--hover-ink); }
.noc-links a:hover { background: var(--pf-w); }
.noc-btn { background: var(--pf-s); border-radius: 12px; font-weight: 700; color: var(--ink-2); box-shadow: 3px 3px 8px rgba(var(--pf-lo), .26), -3px -3px 8px rgba(255, 255, 255, .9); }
.noc-btn:hover { background: var(--pf-s); }
.noc-overall { background: var(--pf-s); border-radius: 14px; border: 0; box-shadow: 3px 3px 8px rgba(var(--pf-lo), .26), -3px -3px 8px rgba(255, 255, 255, .9); }
.forest-switch.fs-noc { flex-wrap: nowrap; padding: 3px; }
.forest-switch.fs-noc .fsw-btn { min-height: 30px; padding: 0 9px; font-size: 12px; }
.noc-head .palette-pick { height: 34px; }
@keyframes noc-blink { 50% { background: rgba(194, 65, 45, .2); } }

/* panels: soft raised cards */
.pnl { background: var(--panel); border: 0; border-radius: 16px; box-shadow: 6px 6px 16px rgba(var(--pf-lo), .26), -6px -6px 16px rgba(255, 255, 255, .9); }
.pnl.alert { box-shadow: inset 4px 0 0 var(--st-alert), 6px 6px 16px rgba(var(--pf-lo), .26), -6px -6px 16px rgba(255, 255, 255, .9); }
.pnl-bar { background: var(--pf-t); border-radius: 999px; }
.noc-side > h2, .noc-wall > h2 { color: var(--ink); }

/* globe */
.noc-globe { background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, .7), transparent 70%), var(--pf-w); border: 0; border-radius: 20px;
  box-shadow: inset 3px 3px 8px rgba(var(--pf-lo), .3), inset -3px -3px 8px rgba(255, 255, 255, .85); }
.g-reset, .seg, .g-legend, .noc-tip, .noc-fs-hint { background: var(--glass); border-radius: 12px; }
.seg button { border-radius: 9px; }
.seg button[aria-pressed="true"] { background: var(--pf-p); color: var(--pf-d); }
.g-title b { color: var(--ink); }
.lg-toggle { background: transparent; }
.noc-fs-hint button { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 9px; }
.noc-tip { box-shadow: 0 14px 40px rgba(var(--pf-lo), .35); }

/* DC wall */
.dct { background: var(--panel); border-radius: 12px; }
.dct:hover, .dct.hl { border-color: var(--pf-k); }
.dct.warn { background: linear-gradient(90deg, var(--st-warn-bg), var(--panel) 70%); }
.dct.alert { background: linear-gradient(90deg, var(--st-alert-bg), var(--panel) 75%); border-color: color-mix(in srgb, var(--st-alert) 45%, transparent); }
.dct.warn small { color: #7A4E0B; } .dct.alert small { color: var(--st-alert); }
.dct b .dct-flag { box-shadow: 0 0 0 1px var(--line); }

/* header fits 1440 px: the menu links give way first, and the palette shows its swatches (the name is in the list) */
.noc-head .palette-pick .pp-label, .noc-head .palette-pick .pp-name { display: none; }
.noc-head .palette-pick { padding-right: 26px; }
@media (max-width: 1700px) { .noc-links { display: none; } }
