/* client-radar.css v1.8 (2026-11-28, Joseph: expanded Radar panels solid, readable in light themes) v1.7 (2026-11-28, Joseph: side panel of the expanded Radar clickable and scrollable again) v1.6 (2026-11-28, Joseph: darker backdrop behind the expanded Radar from the Client Summary) v1.5 (2026-11-06, Joseph: the panel from the Client Summary floats: the circle on a light dim, the side panel 50% see-through with a blur) v1.4 (2026-11-06, Joseph: outer rings of the picked area) v1.3 (2026-11-06, Joseph: the mini Radar is a small copy of the big one: dark canvas, same slices and tick ring) v1.2 (2026-11-06, Joseph: mini Radar under the Client Summary photo + slide-out panel) v1.1 (2026-11-06, Joseph: area list like the Explorer Tree in the side panel, wider panel) v1.0 (2026-11-06, Joseph: Client Radar, components/client-radar.js). Dark canvas like the Client Explorer; bar and side panel use theme colours (--t-*). */
.crd{display:flex;flex-direction:column;gap:8px;min-width:0}
.crd-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.crd-title{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--t-muted);margin-right:6px}
.crd-crumbs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:12px;color:var(--t-muted)}
.crd-sp{flex:1 1 auto}
.crd-bar button{font-size:12px;padding:3px 10px;border-radius:6px;border:1px solid var(--t-border);background:var(--t-button,var(--t-raised));color:var(--t-button-text,var(--t-text));cursor:pointer}
.crd-bar button:hover{border-color:var(--t-accent);color:var(--t-accent)}
.crd-crumb{font:inherit;font-size:12px;background:none;border:0;padding:0 2px;color:var(--t-accent);cursor:pointer}
.crd-stage{display:flex;min-height:520px;height:calc(100vh - 210px);border-radius:10px;overflow:hidden;border:1px solid #1d3a4f;
  background:radial-gradient(ellipse at center,#0f2233 0%,#081320 55%,#050b12 100%)}
.crd-canvas{position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center}
.crd-svg{width:100%;height:100%;max-height:100%;font-family:'Segoe UI',Arial,sans-serif;user-select:none}
.crd-hint{position:absolute;left:12px;bottom:6px;margin:0;font-size:11px;color:#7f9bb3;pointer-events:none}
.crd-side{width:420px;flex:none;overflow:auto;padding:12px;background:var(--t-surface,#0d1824);border-left:1px solid var(--t-border,#1f3346);color:var(--t-text,#e8eef5)}
/* slices */
.crd-sl{cursor:pointer}
.crd-sl path{stroke:#081320;stroke-width:2}
.crd-sl>path:first-of-type{fill-opacity:.85;transition:fill-opacity .15s}
.crd-sl.crd-grey>path:first-of-type{fill-opacity:.45}
.crd-sl.crd-green>path:first-of-type{fill-opacity:.55}
.crd-sl:hover>path:first-of-type{fill-opacity:1}
.crd-sl.sel>path:first-of-type{stroke:#fff;stroke-width:3}
.crd-sl.err>path:first-of-type{stroke-dasharray:5 4;stroke:#8aa0b5}
.crd-sl.crd-red>path:first-of-type{filter:drop-shadow(0 0 6px #ff4d5e);animation:crd-pulse 1.6s ease-in-out infinite}
.crd-tk{stroke-width:0!important;fill-opacity:.9}
.crd-tk.crd-green{fill-opacity:.45}
@keyframes crd-pulse{50%{fill-opacity:.5}}
.crd-svg text{text-anchor:middle;fill:#fff;pointer-events:none}
.crd-ic{font-size:17px}.crd-ic.big{font-size:24px}
.crd-lb{font-size:12px;font-weight:600}
.crd-why{font-size:9.5px;opacity:.92}
.crd-badge rect{fill:#13212e;stroke-width:1.5}
.crd-badge text{font-size:11px;font-weight:700}
.crd-empty{font-size:13px;fill:#9fb3c8!important}
/* the middle */
.crd-core{cursor:pointer}
.crd-ring{fill:none;stroke-width:7}
.crd-ring.pulse{filter:drop-shadow(0 0 6px #ff4d5e);animation:crd-ring 1.6s ease-in-out infinite}
@keyframes crd-ring{50%{stroke-opacity:.35}}
.crd-mid{fill:#1b2a38}
.crd-nm{font-size:15px;font-weight:600}
.crd-chip{font-size:12px;font-weight:700}
.crd-score{font-size:30px;font-weight:800}
.crd-sub{font-size:10.5px;fill:#9fb3c8!important}
.crd-heat{font-size:11px;font-weight:800;letter-spacing:.08em}
@media (prefers-reduced-motion:reduce){.crd-sl.crd-red>path:first-of-type,.crd-ring.pulse{animation:none}}
/* side panel */
.crd-trail{display:flex;flex-wrap:wrap;align-items:center;gap:3px;font-size:11px;color:var(--t-muted);margin-bottom:8px}
.crd-side h3{margin:2px 0 6px;font-size:15px;display:flex;align-items:center;gap:8px}
.crd-side h3 small{font-weight:400;color:var(--t-muted);font-size:12px}
.crd-h3{margin-top:14px!important}
.crd-m{color:var(--t-muted);font-size:12px;margin:0 0 8px}
.crd-per{font:inherit;font-size:11px;padding:0 7px;border-radius:9px;border:1px solid var(--t-border);background:none;color:var(--t-muted);cursor:pointer}
.crd-per.on{background:var(--t-accent,#1d6fb8);border-color:var(--t-accent,#1d6fb8);color:#fff}
.crd-heatpill{font-size:11px;font-weight:700;color:#0b1722;border-radius:9px;padding:1px 8px}
.crd-kv{border:1px solid var(--t-border);border-radius:7px;padding:6px 9px;margin-bottom:6px}
.crd-kv span{display:block;color:var(--t-muted);font-size:11px}.crd-kv b{font-size:14px}.crd-kv small{display:block;color:var(--t-muted);font-size:11px}
.crd-tb{width:100%;border-collapse:collapse;font-size:12px;margin:2px 0 8px}
.crd-tb td{padding:3px 6px;border-bottom:1px solid var(--t-border)}.crd-tb td:nth-child(n+2){text-align:right}.crd-tb tr.t td{font-weight:700}
.crd-heatkey i{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 3px 0 6px}
.crd-list{list-style:none;margin:0;padding:0}
.crd-list li button{display:flex;gap:9px;align-items:flex-start;width:100%;text-align:left;font:inherit;color:inherit;background:none;border:1px solid var(--t-border);border-radius:7px;padding:6px 8px;margin-bottom:5px;cursor:pointer}
.crd-list li button:hover{border-color:var(--t-accent)}
.crd-list i{width:10px;height:10px;border-radius:50%;margin-top:4px;flex:none}
.crd-list b{display:block;font-size:13px}.crd-list small{color:var(--t-muted);font-size:11px}
.crd-sh{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.crd-sh b{display:block}.crd-sh small{display:block;color:var(--t-muted);font-size:11px}
.crd-badge2{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--c);background:color-mix(in srgb,var(--c) 25%,transparent);font-size:15px;flex:none}
.crd-pill{display:inline-block;margin-top:3px;font-size:10.5px;font-weight:700;border-radius:9px;padding:1px 8px;color:#0b1722}
.crd-pill.crd-red{background:#ff4d5e}.crd-pill.crd-amber{background:#ffb020}.crd-pill.crd-green{background:#3fbf6f}.crd-pill.crd-grey{background:#8c96a8}
.crd-det{width:100%;border-collapse:collapse;font-size:12px}.crd-det th{text-align:left;color:var(--t-muted);font-weight:400;padding:3px 6px 3px 0;vertical-align:top;width:80px}.crd-det td{padding:3px 0}
.crd-note{font-size:12px;white-space:pre-wrap;border-left:3px solid var(--t-border);padding-left:8px}
.crd-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.crd-act{font-size:12px;padding:5px 10px;border-radius:7px;border:1px solid var(--t-accent,#2f6ea8);background:none;color:var(--t-accent,#9fd0ff);cursor:pointer;text-decoration:none}
.crd-info{border:1px solid var(--t-border);border-radius:10px;padding:14px 18px;max-height:calc(100vh - 210px);overflow:auto}
.crd-info table{border-collapse:collapse;font-size:12.5px}.crd-info td,.crd-info th{border-bottom:1px solid var(--t-border);padding:4px 8px;text-align:left;vertical-align:top}
.crd-sw{display:inline-block;width:11px;height:11px;border-radius:3px;vertical-align:-1px}
/* full screen and narrow screens */
.crd.crd-full{position:fixed;inset:0;z-index:2000;padding:10px 12px;background:var(--t-bg,var(--t-surface,#0b1420))}
.crd.crd-full .crd-stage{flex:1 1 auto;height:auto;min-height:0}
@media (max-width:900px){.crd-stage{flex-direction:column;height:auto}.crd-canvas{height:440px;flex:none}.crd-side{width:auto;border-left:0;border-top:1px solid var(--t-border)}}
/* v1.1 the area list (folding, like the Explorer Tree) */
.crd-tree{list-style:none;margin:0;padding:0}
.crd-row{display:flex;align-items:flex-start;gap:2px;padding-left:calc(var(--d,0) * 16px);border-radius:6px}
.crd-row.on{background:color-mix(in srgb,var(--t-accent,#4aa3ff) 18%,transparent)}
.crd-tog{flex:none;width:20px;height:24px;display:grid;place-items:center;font:inherit;font-size:12px;color:var(--t-muted);background:none;border:0;padding:0;cursor:pointer}
span.crd-tog{cursor:default}
.crd-it{flex:1 1 auto;min-width:0;display:flex;gap:8px;align-items:flex-start;text-align:left;font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid var(--t-border);padding:4px 4px 5px 0;cursor:pointer}
.crd-it:hover b{color:var(--t-accent)}
.crd-it i{width:10px;height:10px;border-radius:50%;margin-top:4px;flex:none}
.crd-it span{flex:1 1 auto;min-width:0}
.crd-it b{display:block;font-size:13px;font-weight:600}.crd-it small{display:block;color:var(--t-muted);font-size:11px}
.crd-it em{font-style:normal;font-size:10.5px;color:var(--t-muted);border:1px solid var(--t-border);border-radius:9px;padding:0 6px;margin-top:2px}
.crd-detail{margin:4px 0 8px calc(var(--d,0) * 16px + 22px);padding:8px 10px;border:1px solid var(--t-border);border-left:3px solid var(--t-accent,#4aa3ff);border-radius:7px}
/* v1.2 mini Radar (client-radar-mini.js), theme colours so it fits light and dark */
.crd-mini{margin-top:10px}
.crd-mini-box{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px 7px;border:1px solid var(--t-border,#d6dde5);border-radius:8px;background:var(--t-surface,#fff);color:var(--t-text,#1b2a38);cursor:pointer;text-align:center}
.crd-mini-box:hover,.crd-mini-box:focus-visible{border-color:var(--t-accent,#1268c3);outline:none}
.crd-mini-box svg{display:block;max-width:100%;height:auto}
.crd-mini-box b{font-size:12.5px}
.crd-mini-box small{font-size:11px;color:var(--t-muted,#5d6b7a)}
.crd-mini-cnt{font-size:11.5px;display:flex;gap:8px;justify-content:center}.crd-mini-cnt i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:3px}
.crd-mini-sl{stroke:var(--t-surface,#fff);stroke-width:1.5;cursor:pointer;transition:opacity .15s}
.crd-mini-sl:hover{opacity:.75}
.crd-mini-sl.crd-green{opacity:.85}.crd-mini-sl.crd-grey{opacity:.55}.crd-mini-sl.err{stroke-dasharray:3 2;stroke:#8aa0b5}
.crd-mini-sl.crd-red{animation:crd-pulse 1.6s ease-in-out infinite}
.crd-mini-mid{fill:var(--t-surface,#fff);stroke-width:4}
.crd-mini-mid.pulse{animation:crd-ring 1.6s ease-in-out infinite}
.crd-mini-box text{text-anchor:middle;pointer-events:none}
.crd-mini-pts{font-size:22px;font-weight:800;fill:var(--t-text,#1b2a38)}
.crd-mini-heat{font-size:8.5px;font-weight:800;letter-spacing:.05em;fill:var(--t-muted,#5d6b7a)}
.crd-mini-msg{font-size:11px;margin:8px 0}
@media (prefers-reduced-motion:reduce){.crd-mini-sl.crd-red,.crd-mini-mid.pulse{animation:none}}
/* v1.2 slide-out panel (OmsClientRadar.openPanel) */
.crd-fly{position:fixed;inset:0;z-index:2100}
.crd-fly-dim{position:absolute;inset:0;background:rgba(5,11,18,.35);opacity:0;transition:opacity .18s}
.crd-fly-box{position:absolute;top:12px;bottom:12px;left:12px;width:min(1180px,calc(100vw - 24px));display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;
  background:var(--t-bg,var(--t-surface,#0b1420));border:1px solid var(--t-border,#1f3346);box-shadow:0 12px 40px rgba(0,0,0,.45);transform:translateX(-104%);transition:transform .18s ease-out}
.crd-fly.in .crd-fly-box{transform:none}.crd-fly.in .crd-fly-dim{opacity:1}
.crd-fly-head{display:flex;align-items:center;gap:6px;font-size:14px}
.crd-fly-head button{font-size:12px;padding:3px 10px;border-radius:6px;border:1px solid var(--t-border);background:var(--t-button,var(--t-raised));color:var(--t-button-text,var(--t-text));cursor:pointer}
.crd-fly-head button:hover{border-color:var(--t-accent);color:var(--t-accent)}
.crd-fly .crd{flex:1 1 auto;min-height:0}
.crd-fly .crd-stage{height:calc(100vh - 116px);min-height:0}
.crd-fly .crd-info{max-height:calc(100vh - 116px)}
.crd-fly [data-crd="full"]{display:none}
@media (prefers-reduced-motion:reduce){.crd-fly-box,.crd-fly-dim{transition:none}}
.crd-fly .crd-title{display:none}
.crd-mini-canvas{width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:radial-gradient(ellipse at center,#0f2233 0%,#081320 60%,#050b12 100%)}
.crd-mini-canvas .crd-svg{display:block;width:100%;height:100%}
.crd-svg-mini .crd-sl path{stroke-width:3}
.crd-rg{cursor:pointer;stroke:#081320;stroke-width:1.5;fill-opacity:.8;transition:fill-opacity .15s}
.crd-rg:hover{fill-opacity:1}.crd-rg.crd-green{fill-opacity:.6}.crd-rg.crd-grey{fill-opacity:.45}
.crd-rg.crd-red{animation:crd-pulse 1.6s ease-in-out infinite}
.crd-rg.on{stroke:#fff;stroke-width:2.5;fill-opacity:1}
.crd-rl{font-size:10px;font-weight:600}
@media (prefers-reduced-motion:reduce){.crd-rg.crd-red{animation:none}}
/* v1.5 floating panel: no box, the circle on its own dark disk, the summary visible around it, the side panel half see-through */
.crd-disk{fill:none}
.crd-fly-dim{background:rgba(3,7,12,.78);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}   /* v1.6 (2026-11-28, Joseph): darker backdrop so the expanded Radar stands out */
.crd-fly-box{left:0;right:0;top:0;bottom:0;width:auto;padding:14px 18px;background:none;border:0;box-shadow:none;border-radius:0;pointer-events:none;
  transform:scale(.94);opacity:0;transform-origin:12% 30%;transition:transform .18s ease-out,opacity .18s}
.crd-fly.in .crd-fly-box{transform:none;opacity:1}
.crd-fly-box>*{pointer-events:auto}
.crd-fly-head,.crd-fly .crd-bar{align-self:center;padding:5px 10px;border-radius:10px;border:1px solid var(--t-border,#1f3346);
  background:color-mix(in srgb,var(--t-surface,#0d1824) 80%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);max-width:min(1100px,calc(100vw - 36px))}
.crd-fly .crd{pointer-events:none;align-items:stretch}.crd-fly .crd>*{pointer-events:auto}
.crd-fly .crd-title,.crd-fly .crd-hint{display:none}
.crd-fly .crd-stage{background:none;border:0;border-radius:0;overflow:visible;justify-content:center;align-items:center;gap:18px;pointer-events:none}
.crd-fly .crd-canvas{flex:0 1 auto;width:min(calc(100vh - 130px),calc(100vw - 480px));height:min(calc(100vh - 130px),calc(100vw - 480px));pointer-events:none}
.crd-fly .crd-svg{pointer-events:none}.crd-fly .crd-svg>*{pointer-events:auto}
.crd-fly .crd-side,.crd-fly .crd-info{pointer-events:auto}   /* v1.7 (2026-11-28, Joseph): the side panel inherited pointer-events:none from .crd-stage, so its period buttons could not be clicked or the panel scrolled */
.crd-fly .crd-disk{fill:rgba(6,14,24,.9);stroke:rgba(120,160,200,.25);stroke-width:1.5;filter:drop-shadow(0 10px 30px rgba(0,0,0,.45));pointer-events:none}
.crd-fly .crd-side{width:400px;max-height:calc(100vh - 140px);align-self:center;border:1px solid var(--t-border,#1f3346);border-radius:12px;
  background:color-mix(in srgb,var(--t-surface,#0d1824) 50%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.3)}
.crd-fly .crd-info{background:color-mix(in srgb,var(--t-surface,#0d1824) 85%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-width:900px;align-self:center}
/* v1.8 (2026-11-28, Joseph "hard to read"): the see-through panels turned grey over the dark backdrop in the light theme; now solid in the theme panel colour */
.crd-fly .crd-side,.crd-fly .crd-info,.crd-fly-head,.crd-fly .crd-bar{background:var(--t-surface,#0d1824);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 12px 36px rgba(0,0,0,.55)}
@media (max-width:900px){.crd-fly .crd-stage{flex-direction:column;overflow:auto}.crd-fly .crd-canvas{width:min(92vw,60vh);height:min(92vw,60vh)}.crd-fly .crd-side{width:min(400px,92vw)}}
