/* Halcyra Health · care network. Clean, modern, confident: pearl and mineral blue, ink navy, frosted glass.
   Display: Sora. Body: Manrope. No Archivo, no OpsWorq orange. */
@font-face { font-family: 'Sora'; src: url(/assets/fonts/work/dash-halcyra-1.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Sora'; src: url(/assets/fonts/work/dash-halcyra-2.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url(/assets/fonts/work/dash-halcyra-3.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/work/dash-halcyra-4.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/work/dash-halcyra-5.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/work/dash-halcyra-6.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/work/dash-halcyra-7.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --bg: #F2F7FB; --ink: #0F2440; --ink-2: #33496A; --ink-3: #4E6584; --line: #D6E4EE; --line-2: #BCD2E2;
  --blue: #2C78B8; --sky: #7FD3F7; --teal: #1F8FA6; --amber: #F2A73B; --coral: #E0614E; --violet: #8C83EA; --ok: #1D7F5C;
  --navy-glass: rgba(14, 34, 64, .84);
  --glass: rgba(255, 255, 255, .62); --glass-line: rgba(255, 255, 255, .85); --glass-shadow: 0 18px 40px -22px rgba(15, 36, 64, .45), 0 1px 0 rgba(15, 36, 64, .05);
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif; --sans: 'Manrope', system-ui, sans-serif;
  --top-h: 60px; --focus: #2C78B8;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; background: radial-gradient(1200px 700px at 70% -10%, #FFFFFF 0%, transparent 60%), var(--bg); }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -70px; z-index: 50; background: var(--ink); color: #fff; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.skip:focus { top: 10px; }
b { font-weight: 700; }
.mini-h { font: 600 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ---- top bar: the finding, one line */
.topbar { position: sticky; top: 0; z-index: 20; height: var(--top-h); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 0 20px; background: rgba(242, 247, 251, .9); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 32px; height: 32px; }
.brand-name { display: block; font: 700 17px/1.1 var(--display); letter-spacing: -.01em; }
.brand-sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.headline { min-width: 0; display: flex; align-items: baseline; gap: 14px; overflow: hidden; }
.headline h1 { font: 600 20px/1.2 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.hl-num { color: var(--blue); }
.deck { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.chip { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px dashed var(--line-2); padding: 6px 10px; border-radius: 999px; white-space: nowrap; background: rgba(255, 255, 255, .5); }

/* ---- buttons */
.btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: 600 14px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #3B8BD0, #236BAA); color: #fff; box-shadow: 0 8px 18px -10px rgba(35, 107, 170, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { background: linear-gradient(180deg, #4597DC, #2A76B8); }
.btn.light { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(214, 238, 250, .9)); color: var(--ink); border-color: rgba(255, 255, 255, .9); }
.btn.ghost { background: rgba(255, 255, 255, .55); border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { background: #fff; }
.btn.mini { min-height: 44px; padding: 0 12px; font-size: 13px; }
.btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); cursor: pointer; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 34% 28%, #9FDDF8 0, #4BA3DE 34%, #236BAA 72%, #17508A 100%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .55), inset 0 -6px 12px rgba(10, 40, 80, .35), 0 0 0 5px rgba(127, 211, 247, .16), 0 10px 22px -8px rgba(35, 107, 170, .75); transition: transform .15s, box-shadow .15s; }
.icon-btn:hover { transform: translateY(-1px); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .6), inset 0 -6px 12px rgba(10, 40, 80, .35), 0 0 0 6px rgba(127, 211, 247, .24), 0 14px 26px -8px rgba(35, 107, 170, .8); }
.icon-btn[aria-pressed='true'] { box-shadow: inset 0 2px 3px rgba(255, 255, 255, .5), inset 0 -6px 12px rgba(10, 40, 80, .35), 0 0 0 6px rgba(127, 211, 247, .32), 0 0 22px rgba(127, 211, 247, .55); }
.icon-btn svg { width: 20px; height: 20px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; }
.seg + .seg { border-left: 1px solid rgba(15, 36, 64, .1); padding-left: 6px; margin-left: 2px; }
.seg-btn { min-height: 44px; min-width: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font: 600 13.5px/1 var(--sans); color: var(--ink-2); }
.seg-btn:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.seg-btn[aria-pressed='true'] { background: linear-gradient(180deg, #5AAEE6 0%, #2C78B8 55%, #236BAA 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 6px rgba(10, 40, 80, .25), 0 0 0 1px rgba(127, 211, 247, .45), 0 8px 16px -8px rgba(35, 107, 170, .9); }
.seg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---- stage: the model owns the first screen */
main { padding: 12px 14px 40px; max-width: 1880px; margin: 0 auto; }
.stage { position: relative; height: calc(100vh - var(--top-h) - 24px); min-height: 600px; max-height: 1120px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .9);
  background: radial-gradient(85% 70% at 50% 30%, #FFFFFF 0%, #E9F3FA 50%, #CFE1EE 100%); box-shadow: 0 30px 60px -40px rgba(15, 36, 64, .45), inset 0 0 0 1px rgba(188, 210, 226, .5); }
.scene-host, .plan-host { position: absolute; inset: 0; }
.plan-host { padding: 128px 380px 112px 300px; }
.plan-host svg { width: 100%; height: 100%; }
.pnode { cursor: pointer; } .pnode .card { transition: filter .15s; } .pnode:hover .card { filter: url(#pLift); }
.pnode:focus-visible { outline: none; } .pnode:focus-visible .ring { stroke: var(--focus); stroke-width: 3.5; opacity: 1; }
.scene-host canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.stage.scene-loading::after { content: 'Building the 3D network…'; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font-size: 13px; color: var(--ink-3); }
.scene-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.site-tag { position: absolute; left: 0; top: 0; padding: 5px 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 8px 18px -12px rgba(15, 36, 64, .5); text-align: center; white-space: nowrap; transition: opacity .2s; }
.site-tag b { display: block; font: 600 13.5px/1.2 var(--display); letter-spacing: -.01em; }
.site-tag span { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 500; }
.site-tag.sel { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(242, 167, 59, .55), 0 10px 20px -12px rgba(15, 36, 64, .5); }
.hub-tag { background: rgba(14, 34, 64, .82); border-color: rgba(127, 211, 247, .6); }
.hub-tag b, .hub-tag span { color: #fff; } .hub-tag span { color: #CFE6F5; }

/* glass */
.glass { position: relative; isolation: isolate; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .55);
  /* clear glass: a thin, mostly transparent body so the model reads through it; the edges carry the material */
  background: linear-gradient(150deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .12) 42%, rgba(255, 255, 255, .06) 62%, rgba(214, 238, 252, .20) 100%);
  backdrop-filter: blur(11px) saturate(1.9) brightness(1.06) contrast(.94); -webkit-backdrop-filter: blur(11px) saturate(1.9) brightness(1.06) contrast(.94);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 1.5px 0 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(127, 211, 247, .35),
    inset 0 0 18px rgba(255, 255, 255, .42), inset 0 0 2px 1px rgba(255, 255, 255, .35),
    0 2px 3px rgba(15, 36, 64, .05), 0 18px 34px -16px rgba(15, 36, 64, .26), 0 54px 80px -34px rgba(35, 107, 170, .40); }
/* glare: a diagonal specular band, and a prismatic rim (white to cyan to teal) drawn inside the border */
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(118deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .14) 82%, rgba(255, 255, 255, 0) 92%); }
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(196, 234, 252, .5) 30%, rgba(127, 211, 247, .05) 55%, rgba(127, 211, 247, .25) 78%, rgba(56, 178, 200, .75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* smoked navy glass: the backdrop is darkened before it shows through, so white text keeps its contrast */
.glass.dark { color: #fff; border-color: rgba(160, 222, 250, .30);
  background: linear-gradient(155deg, rgba(34, 70, 116, .60) 0%, rgba(14, 34, 64, .62) 45%, rgba(12, 40, 68, .70) 100%);
  backdrop-filter: blur(16px) saturate(1.6) brightness(.72); -webkit-backdrop-filter: blur(16px) saturate(1.6) brightness(.72);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .34), inset 1.5px 0 0 rgba(255, 255, 255, .12), inset 0 0 26px rgba(127, 211, 247, .14),
    0 2px 4px rgba(15, 36, 64, .12), 0 24px 44px -18px rgba(10, 26, 50, .55), 0 70px 100px -36px rgba(31, 100, 160, .55); }
.glass.dark::before { background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 24%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, rgba(127, 211, 247, .10) 86%, rgba(255, 255, 255, 0) 95%); }
.glass.dark::after { background: linear-gradient(150deg, rgba(190, 236, 255, .85), rgba(127, 211, 247, .2) 30%, rgba(127, 211, 247, 0) 58%, rgba(127, 211, 247, .2) 80%, rgba(56, 178, 200, .7)); }
.g-tools { position: absolute; top: 14px; left: 14px; padding: 4px; display: flex; align-items: center; }

.g-kpis { position: absolute; top: 80px; left: 14px; width: 268px; padding: 6px 18px 14px; }
.kpis > div { display: block; }
.kpi { all: unset; box-sizing: border-box; display: grid; width: 100%; cursor: pointer; padding: 11px 0; border-bottom: 1px solid rgba(15, 36, 64, .1); position: relative; }
.kpi:hover .kpi-label { text-decoration: underline dotted; text-underline-offset: 3px; }
.kpi:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.kpi-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.kpi-value { font: 600 26px/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 15px; color: var(--ink-3); margin-left: 1px; }
.kpi-detail { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.kpi.row { grid-template-columns: 1fr auto; align-items: baseline; gap: 0 10px; }
.kpi.row .kpi-detail { grid-column: 1 / -1; }
.kpi.lead { padding-top: 14px; }
.kpi.lead .kpi-value { font-size: 52px; letter-spacing: -.04em; margin: 2px 0 4px; }
.goalbar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 2px rgba(15, 36, 64, .18), 0 1px 0 rgba(255, 255, 255, .9); margin-top: 10px; overflow: visible; }
.goalbar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.goalbar .obs { left: 0; background: linear-gradient(90deg, #7FD3F7, #2C78B8); box-shadow: 0 0 10px rgba(127, 211, 247, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.goalbar .prop { background: repeating-linear-gradient(135deg, #2C78B8 0 3px, rgba(44, 120, 184, .35) 3px 6px); border-radius: 0 99px 99px 0; }
.goalbar b { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); border-radius: 2px; }
.key { padding-top: 10px; }
.key-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.key ul { list-style: none; margin: 5px 0 0; padding: 0; display: grid; gap: 3px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.key li { display: flex; align-items: center; gap: 7px; }
.key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.key .k-cap { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }

.g-side { position: absolute; top: 14px; right: 14px; width: 340px; padding: 0; max-height: calc(100% - 28px); display: flex; flex-direction: column; overflow: hidden; }
.side-body { padding: 18px 20px 18px; overflow-x: hidden; overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(160, 222, 250, .45) transparent; }
.side-body::-webkit-scrollbar { width: 6px; } .side-body::-webkit-scrollbar-thumb { background: rgba(160, 222, 250, .45); border-radius: 6px; } .side-body::-webkit-scrollbar-track { background: transparent; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.side-head h2 { font: 700 21px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #CFE6F5; }
.open-row { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 12px; align-items: center; padding: 14px 0 6px; }
.big { font: 700 58px/0.9 var(--display); letter-spacing: -.04em; }
.big-l { font-size: 13px; line-height: 1.2; color: #CFE6F5; }
.blockers { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.blockers li { display: grid; grid-template-columns: 10px 22px 1fr; align-items: center; gap: 6px; font-size: 12px; padding: 5px 8px; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.blockers i { width: 10px; height: 10px; border-radius: 3px; }
.blockers b { font: 700 15px/1 var(--display); }
.share { font-size: 12.5px; color: #CFE6F5; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.side-h { font: 600 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; margin: 14px 0 8px; }
.plan { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); cursor: pointer; font-size: 13.5px; font-weight: 600; }
.opt:hover { background: rgba(255, 255, 255, .12); }
.opt:has(input:checked) { border-color: rgba(127, 211, 247, .75); background: rgba(127, 211, 247, .12); }
.opt input { width: 18px; height: 18px; accent-color: #3B8BD0; margin: 0; }
.opt b { font-weight: 600; color: #CFE6F5; font-size: 13px; }
.opt:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.joint { margin-top: 12px; }
.j-l { font-size: 12.5px; color: #CFE6F5; }
.j-row { display: flex; align-items: center; gap: 14px; margin: 2px 0 4px; }
.j-big { font: 700 44px/1 var(--display); letter-spacing: -.04em; }
.j-big small { font-size: 20px; color: #CFE6F5; }
.j-side { font-size: 12.5px; line-height: 1.35; color: #E6F3FB; border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 12px; }
.j-note { font-size: 11.5px; color: #B9D3E6; line-height: 1.45; }
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.side-actions .btn { padding: 0 10px; font-size: 13.5px; }

.stage-note { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); padding: 10px 14px; font-size: 13px; }
.stage-note:empty { display: none; }

.g-replay { position: absolute; left: 14px; right: 368px; bottom: 14px; padding: 10px 14px; display: grid; grid-template-columns: auto auto minmax(160px, 1fr) auto; align-items: center; gap: 14px; }
.rp-left { display: grid; gap: 4px; }
.rp-left select { -webkit-appearance: none; appearance: none; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .9); padding: 0 38px 0 14px; font-weight: 600; font-size: 13.5px; color: var(--ink); cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232C78B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center, linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(236, 246, 252, .7));
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(44, 120, 184, .12), 0 0 0 1px rgba(127, 211, 247, .3), 0 6px 14px -10px rgba(15, 36, 64, .4); }
.rp-left select:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(44, 120, 184, .45), 0 0 14px rgba(127, 211, 247, .35); }
.rp-track { display: grid; gap: 2px; }
.rp-track input { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; cursor: pointer; background: transparent; }
.rp-track input::-webkit-slider-runnable-track { height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, #7FD3F7 0, #38B2C8 calc(var(--p) * .5), #2C78B8 var(--p), rgba(255, 255, 255, .55) var(--p));
  box-shadow: inset 0 1px 2px rgba(15, 36, 64, .22), inset 0 0 0 1px rgba(44, 120, 184, .16), 0 1px 0 rgba(255, 255, 255, .9), 0 0 12px rgba(127, 211, 247, .35); }
.rp-track input::-moz-range-track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 2px rgba(15, 36, 64, .22), inset 0 0 0 1px rgba(44, 120, 184, .16); }
.rp-track input::-moz-range-progress { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #7FD3F7, #2C78B8); box-shadow: 0 0 12px rgba(127, 211, 247, .55); }
.rp-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9);
  background: radial-gradient(circle at 35% 30%, #fff 0, #E8F6FD 30%, #9FD8F3 70%, #5AAEE6 100%);
  box-shadow: inset 0 -3px 6px rgba(44, 120, 184, .35), 0 0 0 5px rgba(127, 211, 247, .22), 0 4px 10px rgba(15, 36, 64, .3); transition: box-shadow .15s; }
.rp-track input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); background: radial-gradient(circle at 35% 30%, #fff 0, #E8F6FD 30%, #9FD8F3 70%, #5AAEE6 100%); box-shadow: inset 0 -3px 6px rgba(44, 120, 184, .35), 0 0 0 5px rgba(127, 211, 247, .22), 0 4px 10px rgba(15, 36, 64, .3); }
.rp-track input:hover::-webkit-slider-thumb { box-shadow: inset 0 -3px 6px rgba(44, 120, 184, .35), 0 0 0 7px rgba(127, 211, 247, .3), 0 0 18px rgba(127, 211, 247, .6), 0 4px 10px rgba(15, 36, 64, .3); }
.rp-track input:focus-visible { outline: none; }
.rp-track input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--focus), 0 4px 10px rgba(15, 36, 64, .3); }
.rp-track input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--focus); }
.ticks { margin-top: -10px; display: grid; grid-template-columns: repeat(10, 1fr); font-size: 11px; color: var(--ink-3); text-align: center; font-weight: 600; }
.ticks span { position: relative; padding-top: 6px; }
.ticks span::before { content: ''; position: absolute; top: 0; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #CFDDE7; box-shadow: inset 0 1px 1px rgba(15, 36, 64, .15); }
.ticks .past::before { box-shadow: 0 0 6px currentColor; }
.ticks .past.ok::before { background: #38B2C8; } .ticks .past.warning::before { background: var(--amber); } .ticks .past.escalated::before { background: var(--coral); } .ticks .past.unknown::before { background: #9AA8BA; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #9AA8BA; }
.rp-status { display: grid; gap: 3px; justify-items: start; min-width: 250px; }
.rp-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rp-main { font-size: 13px; color: var(--ink-2); }
.rp-main b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-status .pill { color: var(--ink-2); border-color: var(--line-2); background: rgba(255, 255, 255, .6); letter-spacing: .02em; text-transform: none; font-size: 12px; }
.rp-status .pill.ok { color: #145C42; border-color: rgba(29, 127, 92, .4); background: #E5F4EE; }
.rp-status .pill.crit { color: #A3301F; border-color: rgba(224, 97, 78, .5); background: #FCEAE6; }
.rp-status .pill.unk { color: #3C4B5E; border-style: dashed; background: #EEF2F6; }
.rp-status .pill.warn { color: #7A4B00; border-color: rgba(242, 167, 59, .6); background: #FDF1DD; }
.rp-actions { display: flex; gap: 6px; margin-top: 4px; }

/* ---- below the fold */
.below { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.panel { background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--glass-shadow); }
.panel h2 { font: 600 17px/1.2 var(--display); letter-spacing: -.01em; }
.panel-sub { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 10px; }
.table-wrap { overflow: auto; border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl thead th { font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.tbl tr.sel { background: #FFF6E6; }
.tbl tr.future td, .tbl tr.future th { color: #8094AC; }
.tbl tfoot th, .tbl tfoot td { font-weight: 700; border-bottom: 0; }
.pbtn { min-height: 44px; min-width: 112px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 700; text-align: left; }
.pbtn[aria-pressed='true'] { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.def { padding: 10px 0; border-bottom: 1px solid var(--line); }
.def h3 { font: 600 14px/1.3 var(--display); }
.def p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.formula { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12px; background: #EEF5FA; padding: 6px 8px; border-radius: 8px; color: var(--ink); }
.foot { margin-top: 26px; font-size: 12.5px; color: var(--ink-3); display: grid; gap: 4px; }
.foot .meta, .meta { font-size: 11.5px; color: var(--ink-3); }

/* ---- dialogs (glass) */
.dlg { border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px; padding: 0; width: min(640px, calc(100vw - 28px)); max-height: calc(100vh - 40px); background: rgba(247, 251, 254, .92); backdrop-filter: blur(20px) saturate(1.3); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(15, 36, 64, .6); }
.dlg.wide { width: min(980px, calc(100vw - 28px)); }
.dlg.small { width: min(440px, calc(100vw - 28px)); }
.dlg::backdrop { background: rgba(15, 36, 64, .35); backdrop-filter: blur(4px); }
.dlg-body { padding: 24px 26px; display: grid; gap: 14px; position: relative; }
.dlg h2 { font: 600 23px/1.2 var(--display); letter-spacing: -.015em; padding-right: 50px; }
.dlg-h { font: 600 14px/1.2 var(--display); margin-top: 4px; }
.dlg-lede { font-size: 14px; color: var(--ink-2); }
.dlg-x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 22px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.impact { width: 100%; border-collapse: collapse; font-size: 13px; }
.impact th, .impact td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.impact thead th { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.impact th span, .impact .minus, .impact .plus { display: block; }
.impact th span { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.ver { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--blue); }
.minus { color: #8A3B2E; } .minus::before { content: '− '; font-weight: 700; }
.plus { color: #12684A; font-weight: 600; } .plus::before { content: '+ '; font-weight: 700; }
.approvals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: #2C78B8; margin: 2px 0 0; flex: none; }
.check small { display: block; color: var(--ink-3); font-size: 12px; }
.check.subtle { background: transparent; border-style: dashed; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-size: 13px; }
.stages li { padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.stages li.done { border-color: rgba(29, 127, 92, .45); color: #12684A; }
.stages li.failed { border-color: rgba(224, 97, 78, .55); color: #A3301F; }
.note { padding: 10px 12px; border-radius: 12px; font-size: 13px; border: 1px solid; }
.note.info { background: #EAF4FB; border-color: #BFDDF0; } .note.ok { background: #E5F4EE; border-color: rgba(29, 127, 92, .4); color: #12684A; } .note.crit { background: #FCEAE6; border-color: rgba(224, 97, 78, .5); color: #8A2A1B; }

/* ---- responsive */
@media (max-width: 1500px) { .chip { display: none; } }
@media (max-width: 1280px) { .deck { display: none; } }
@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; height: auto; padding: 8px 14px; row-gap: 4px; }
  .headline { grid-column: 1 / -1; grid-row: 2; flex-direction: column; gap: 2px; }
  .headline h1 { white-space: normal; font-size: 19px; }
  .deck { display: block; white-space: normal; font-size: 13px; }
  .stage { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; border-radius: 18px; }
  .scene-host, .plan-host { position: relative; inset: auto; height: 460px; flex: none; }
  .plan-host { padding: 64px 8px 8px; }
  .g-kpis, .g-side, .g-replay { position: relative; inset: auto; width: auto; max-height: none; margin: 0 10px 10px; }
  .g-replay { order: 1; grid-template-columns: 1fr auto; }
  .rp-track { grid-column: 1 / -1; } .rp-status { grid-column: 1 / -1; }
  .g-side { order: 2; } .g-kpis { order: 3; }
  .below { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  main { padding: 10px 8px 32px; }
  .brand-sub { display: none; }
  .g-tools { left: 8px; right: 8px; top: 8px; flex-wrap: wrap; }
  .seg-btn { padding: 0 10px; font-size: 13px; }
  .scene-host { height: 520px; }
  .g-tools { flex-wrap: nowrap; justify-content: space-between; padding: 3px; }
  .g-tools .seg { padding: 2px; gap: 1px; }
  .g-tools .seg-btn { padding: 0 6px; min-width: 44px; font-size: 12px; }
  .g-tools .seg-btn.spin-btn { padding: 0; }
  .seg + .seg { padding-left: 3px; margin-left: 0; }
  #homeView { display: none; }
  .site-tag { padding: 3px 7px; } .site-tag b { font-size: 11.5px; } .site-tag span { font-size: 10.5px; }
  .site-tag:not(.sel) span { display: none; } .hub-tag { display: none; }
  .approvals, .stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

.spin-btn { display: inline-grid; place-items: center; padding: 0; width: 44px; }
.spin-btn svg { width: 16px; height: 16px; }
.spin-btn .i-play { display: none; } .spin-btn[aria-pressed='false'] .i-play { display: inline; } .spin-btn[aria-pressed='false'] .i-pause { display: none; }

@media (min-width: 1101px) and (max-height: 820px) {
  .side-body { padding: 14px 18px; } .side-head { padding-bottom: 8px; } .big { font-size: 48px; } .side-h { margin: 10px 0 6px; }
  .joint { margin-top: 8px; } .side-actions { margin-top: 10px; } .share { margin-top: 6px; }
  .g-kpis { padding: 2px 16px 10px; } .kpi { padding: 7px 0; } .kpi.lead { padding-top: 10px; } .kpi.lead .kpi-value { font-size: 42px; margin: 0 0 2px; }
  .kpi-value { font-size: 23px; } .key-h { margin-top: 8px; } .key ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; } .key li { font-size: 11.5px; }
}
@media (min-width: 1101px) and (max-height: 740px) {
  .kpi { padding: 5px 0; } .kpi.lead .kpi-value { font-size: 36px; } .key { padding-top: 6px; } .key-h { margin-top: 5px; }
  .side-body { padding: 12px 18px; } .big { font-size: 42px; } .opt { min-height: 44px; } .share { padding-bottom: 8px; } .side-head { padding-bottom: 6px; }
}
/* site port: the skip link shows below the OpsWorq concept bar */
.skip:focus{top:calc(var(--owb,40px) + 8px);z-index:2147483001}
