/* =========================================================================
   AMWS — watch.css  (fitness band / Fitbit-like, black · white · blue)
   ========================================================================= */

/* ---- Stage ---- */
.watch-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  min-height: 520px;
}
.exit-wrist { display: none; }
body.view-wrist .exit-wrist { display: inline-flex; margin-top: 8px; }

/* ---- Soft blue glow ---- */
.watch-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(47,107,255,.22) 0%, rgba(47,107,255,.08) 45%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

/* ---- Watch ---- */
.watch {
  --w: clamp(200px, 58vw, 220px);
  --h: clamp(280px, 78vw, 300px);
  --radius: 48px;
  position: relative;
  width: var(--w);
  padding: 54px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  z-index: 1;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
}

/* ---- Curved straps ---- */
.band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--w) - 34px);
  height: 120px;
  border-radius: 28px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, #151922 0%, #090b10 55%, #040507 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
  z-index: 0;
}
.band-top { top: 0; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; mask-image: linear-gradient(to bottom, black 40%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); }
.band-bot { bottom: 0; border-top-left-radius: 40px; border-top-right-radius: 40px; mask-image: linear-gradient(to top, black 40%, transparent 100%); -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%); }
.band::after {
  content: "";
  position: absolute;
  inset: 10px 12px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.04);
  background:
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(255,255,255,.035) 16px 17px);
  pointer-events: none;
}

/* ---- Case ---- */
.case {
  position: relative;
  width: var(--w);
  height: var(--h);
  border-radius: var(--radius);
  background: #050608;
  border: 2.5px solid #12161d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.45);
  z-index: 2;
}

.bezel {
  position: absolute;
  inset: 7px;
  border-radius: calc(var(--radius) - 7px);
  overflow: hidden;
}
.glass {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.62);
}

/* ---- Edge buttons ---- */
.edge-btns-right {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}
.edge-btn {
  position: relative;
  width: 4px;
  height: 40px;
  border-radius: 4px;
  border: none;
  background: linear-gradient(180deg, #2a2f38, #101318);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(0,0,0,.5);
  padding: 0;
  cursor: pointer;
  color: transparent;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}
/* >=56px hit zone */
.edge-btn::after {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -26px;
  right: -26px;
}
.edge-btn.edge-left {
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 4px;
  height: 40px;
  box-shadow: 0 0 0 1px rgba(47,107,255,.7), 0 0 10px rgba(47,107,255,.2), inset 0 0 0 1px rgba(0,0,0,.5);
}
.edge-btn .fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: rgba(47,107,255,.35);
  border-radius: inherit;
}
.edge-btn.holding .fill { transition: width linear; }
.edge-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.edge-btn:focus-visible { outline: 2px solid var(--blue, #2F6BFF); outline-offset: 4px; }

.hw-legacy {
  position: absolute;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
  border: 0; padding: 0;
}

/* ---- Status row ---- */
.w-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 4px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px;
  line-height: 1;
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
  flex: none;
  background: transparent;
}
.w-status-left, .w-status-right { display: inline-flex; align-items: center; gap: 6px; }
.w-st-met { color: rgba(255,255,255,.55); }
.w-batt { display: inline-flex; align-items: center; gap: 3px; color: rgba(255,255,255,.55); }
.w-batt i { display: inline-block; width: 14px; height: 7px; border: 1px solid currentColor; border-radius: 2px; position: relative; padding: 1px; }
.w-batt i::after { content: ""; position: absolute; right: -3px; top: 1px; width: 2px; height: 3px; background: currentColor; border-radius: 0 1px 1px 0; }
.w-batt i em { display: block; height: 100%; background: currentColor; border-radius: 1px; }
.bars { display: inline-flex; align-items: flex-end; gap: 1px; height: 8px; }
.bars i { display: block; width: 2px; background: rgba(255,255,255,.7); border-radius: 1px; }
.bars i:nth-child(1){height:30%}.bars i:nth-child(2){height:55%}.bars i:nth-child(3){height:75%}.bars i:nth-child(4){height:100%}
[data-bars="0"] .bars i{opacity:.2}[data-bars="0"] .bars i:nth-child(1){opacity:1}
[data-bars="1"] .bars i:nth-child(n+3){opacity:.2}
[data-bars="2"] .bars i:nth-child(4){opacity:.2}

/* ---- Screen & transitions ---- */
.w-screen {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 4px 8px 2px;
  animation: w-fade-in 180ms ease;
}
@keyframes w-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .w-screen { animation: none; }
}

.w-disclaimer {
  flex: none;
  text-align: center;
  font-size: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 2px 6px 6px;
  line-height: 1.2;
}

/* ---- Typography scaled ~25-30% ---- */
.w-screen .lbl { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.w-screen .mono, .w-screen [data-t], .w-screen b.num { font-family: var(--font-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; }

/* ---- Shared head (subscreens) ---- */
.w-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 6px;
  flex: none;
}
.w-head h2 { font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .06em; flex: 1; }
.w-head-sub { font-size: 8px; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; }
.w-back {
  position: relative;
  width: 26px; height: 26px; flex: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  cursor: pointer;
}
.w-back::after { content:""; position:absolute; inset:-15px; }
.w-scroll { flex: 1; overflow-y: auto; min-height: 0; padding-bottom: 4px; overscroll-behavior: contain; }

/* ---- Home: hero ---- */
.w-home-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 2px 6px;
  flex: none;
}
.w-home-hero-main .lbl { margin-bottom: 2px; }
.w-home-hero-main .hero-value {
  font: 700 30px/1 var(--font-mono, ui-monospace, monospace);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.w-home-hero-main .hero-unit { font-size: 11px; color: rgba(255,255,255,.55); margin-left: 2px; font-weight: 600; }
.w-home-hero-main .hero-limit { margin-top: 2px; font-size: 8px; letter-spacing: .08em; color: rgba(47,107,255,.95); text-transform: uppercase; font-weight: 600; }
.w-home-hero-side { padding-top: 10px; }
.alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}
.alert-pill[data-sev="sev-nominal"], .alert-pill.sev-nominal { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.8); }
.alert-pill[data-sev="sev-advisory"], .alert-pill.sev-advisory { border-color: rgba(47,107,255,.5); color: #5B9BFF; }
.alert-pill[data-sev="sev-caution"], .alert-pill.sev-caution { border-color: #2F6BFF; color: #fff; background: rgba(47,107,255,.18); }
.alert-pill[data-sev="sev-warning"], .alert-pill.sev-warning { border-color: #2F6BFF; background: #2F6BFF; color: #fff; }
.alert-pill[data-sev="sev-emergency"], .alert-pill.sev-emergency { border-color: #fff; background: #fff; color: #000; }

/* ---- 2x2 compact tiles ---- */
.w-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: none;
  padding: 2px 0 6px;
}
.w-metric {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 7px 8px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.w-metric::after { content:""; position:absolute; inset:-6px; }
.w-metric .m-label { font-size: 8px; color: rgba(255,255,255,.42); letter-spacing: .07em; text-transform: uppercase; }
.w-metric .m-value { font: 700 17px/1 var(--font-mono, ui-monospace, monospace); color: #fff; font-variant-numeric: tabular-nums; }
.w-metric .m-value small { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.5); margin-left: 1px; }
.w-metric .m-state { font-size: 8px; color: rgba(255,255,255,.55); letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3px; }
.w-metric .m-state .ic { font-size: 8px; }
.w-metric[data-state="caution"] .m-state, .w-metric[data-state="warning"] .m-state { color: #5B9BFF; }
.w-metric[data-state="emergency"] .m-state { color: #fff; font-weight: 700; }
.w-metric[data-state="emergency"] { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }

/* ---- Icon-only nav row ---- */
.w-appnav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: auto;
  padding: 4px 0 2px;
  flex: none;
}
.w-appnav-btn {
  position: relative;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  padding: 6px 0 2px;
  min-height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.w-appnav-btn::after { content:""; position:absolute; inset:-11px -6px; }
.w-appnav-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.w-appnav-btn span { font-size: 7px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.w-appnav-btn:focus span, .w-appnav-btn:hover span { opacity: 1; }
.w-appnav-btn[data-sev="sev-caution"], .w-appnav-btn[data-sev="sev-warning"] { color: #5B9BFF; }
.w-appnav-btn[data-sev="sev-emergency"] { color: #fff; }

/* ---- Critical banner (home) ---- */
.w-crit {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  margin: 0 0 4px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 9px;
  flex: none;
  cursor: pointer;
}
.w-crit[hidden] { display: none; }
.w-crit-icon { font-style: normal; font-weight: 700; }
.w-crit-t { flex: 1; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 8px; }
.w-crit small { font-size: 7px; opacity: .7; }

/* ---- Generic rows/blocks/buttons for subscreens ---- */
.w-row { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); min-height: 38px; }
.w-row-l { flex: 1; min-width: 0; }
.w-row-l small { font-size: 8px; color: rgba(255,255,255,.4); }
.w-row-v { text-align: right; }
.w-row-v b { font: 700 15px/1 var(--font-mono, ui-monospace, monospace); color: #fff; }
.w-row-v u { text-decoration: none; font-size: 8px; color: rgba(255,255,255,.45); margin-left: 2px; }
.w-kv { display:flex; justify-content:space-between; padding:5px 0; border-bottom:1px solid rgba(255,255,255,.07); font-size:9px; }
.w-kv span { color: rgba(255,255,255,.42); letter-spacing:.05em; text-transform:uppercase; font-size:8px; }
.w-kv b { font-family: var(--font-mono, ui-monospace, monospace); font-size:10px; color:#fff; }
.w-block { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.w-block .xl { font: 700 15px/1.1 var(--font-mono, ui-monospace, monospace); color:#fff; }
.w-block.hl { background: rgba(47,107,255,.08); border:1px solid rgba(47,107,255,.25); border-radius:10px; padding:7px; margin:4px 0; }
.w-note { font-size: 8px; color: rgba(255,255,255,.4); padding: 6px 0 2px; line-height: 1.4; }
.w-note.tight { padding-top: 2px; }

.w-btn {
  position: relative;
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:2px;
  min-height: 36px; width: 100%;
  padding: 6px 8px; margin-bottom: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  color: rgba(255,255,255,.85);
  font: 600 9px/1.2 var(--font-ui, system-ui, sans-serif);
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
}
.w-btn::after { content:""; position:absolute; inset:-10px; }
.w-btn.wide { width: 100%; }
.w-btn.red { border-color: rgba(255,255,255,.35); color:#fff; }
.w-btn.amber, .w-btn.cyan { border-color: rgba(47,107,255,.45); color:#5B9BFF; }
.w-btn.ghost { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }
.w-btn.hold { overflow: hidden; min-height: 40px; }
.w-btn.hold .fill { position:absolute; left:0; top:0; bottom:0; width:0; background: rgba(47,107,255,.25); }
.w-btn.hold.holding .fill { transition: width linear; }
.w-btn.hold small { font-size: 7px; color: rgba(255,255,255,.45); position: relative; z-index: 1; }
.w-btn.hold .t { position: relative; z-index: 1; }

/* ECG / canvases */
.w-trace { position: relative; height: 38px; flex: none; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2px; }
.w-trace canvas.cardio { width: 100%; height: 100%; display: block; }
.w-trace-v { position:absolute; right:4px; top:50%; transform:translateY(-50%); text-align:right; }
.w-trace-v b { font: 700 14px/1 var(--font-mono, ui-monospace, monospace); color:#fff; }
.w-trace-v u { text-decoration:none; font-size:8px; color:rgba(255,255,255,.45); }
canvas.w-light { width: 100%; height: 3px; display: block; flex: none; margin: 4px 0; border-radius: 2px; }

/* Alerts */
.w-alerts { display: flex; flex-direction: column; gap: 4px; }
.w-alert { display:flex; gap:6px; align-items:flex-start; padding:6px 7px; border-radius:10px; background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); font-size:9px; }
.w-alert i { font-style: normal; width: 14px; text-align:center; flex:none; }
.w-alert b { display:block; color:#fff; font-size:9px; letter-spacing:.03em; }
.w-alert small { display:block; color: rgba(255,255,255,.45); font-size:8px; line-height:1.3; }
.w-alert.sev-2 { border-color: rgba(47,107,255,.5); background: rgba(47,107,255,.12); }
.w-alert.sev-3 { border-color:#fff; background:#fff; color:#000; }
.w-alert.sev-3 b, .w-alert.sev-3 small, .w-alert.sev-3 i { color:#000; }
.w-alert.acked { opacity: .45; }

/* Nav/comms/misc */
.w-radar { padding: 4px 0; }
.radar { width: 100%; max-width: 150px; display:block; margin: 0 auto; }
.w-radar-scale { font-size:7px; color:rgba(255,255,255,.4); text-align:center; margin-top:2px; }
.w-navgrid { display:grid; grid-template-columns:1fr 1fr; gap:6px; font-size:9px; padding:4px 0; }
.w-delay { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:6px 0; }
.w-delay b { font:700 12px/1 var(--font-mono, ui-monospace, monospace); color:#fff; }
.w-link { display:flex; justify-content:space-between; align-items:center; padding:6px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.w-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
.w-msgs { display:flex; flex-direction:column; gap:4px; margin:4px 0; }
.w-msg { font-size:8px; padding:5px 6px; border-radius:8px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); }
.w-msg span { color:rgba(255,255,255,.4); font-size:7px; letter-spacing:.05em; }
.w-msg b { display:block; color:#fff; margin:1px 0; font-size:9px; }
.w-msg small { color:rgba(255,255,255,.45); font-size:7px; }
.w-sent { display:flex; flex-direction:column; gap:2px; padding:6px 7px; border-radius:10px; background:rgba(47,107,255,.12); border:1px solid rgba(47,107,255,.3); font-size:9px; color:#fff; margin:4px 0; }
.w-sent i { font-style:normal; }
.w-callout { font-size:8px; color:rgba(255,255,255,.7); padding:6px 7px; border:1px solid rgba(255,255,255,.12); border-radius:10px; margin:4px 0; }

/* Emergency */
.w-em-head { padding:4px 0 6px; border-bottom:1px solid rgba(255,255,255,.12); flex:none; }
.w-em-head b { display:block; font-size:13px; color:#fff; letter-spacing:.08em; }
.w-em-head span { font-size:8px; color:rgba(255,255,255,.5); }
.w-em-tiles { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; margin:6px 0; flex:none; }
.w-em-tiles > div { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:8px; padding:4px 5px; }
.w-em-tiles .lbl { font-size:7px; }
.w-em-tiles b { font:700 11px/1 var(--font-mono, ui-monospace, monospace); color:#fff; }
.w-em-btns { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin:4px 0 6px; flex:none; }
.w-em-btns .w-btn { margin:0; min-height:34px; font-size:8px; }

.w-check { position:relative; display:flex; align-items:center; gap:8px; width:100%; text-align:left; padding:8px 6px; background:transparent; border:none; border-bottom:1px solid rgba(255,255,255,.07); color:#fff; font-size:9px; cursor:pointer; }
.w-check::after { content:""; position:absolute; inset:-4px -2px; }
.w-check i { width:16px; height:16px; border-radius:50%; border:1px solid rgba(255,255,255,.3); display:inline-flex; align-items:center; justify-content:center; font-style:normal; font-size:8px; flex:none; }
.w-check.done { color: rgba(255,255,255,.45); }
.w-check.done i { background:#2F6BFF; border-color:#2F6BFF; color:#fff; }

.w-traj { padding:8px 0; }
.traj-bar { position:relative; height:4px; background:rgba(255,255,255,.1); border-radius:4px; margin:8px 0; }
.traj-fill { display:block; height:100%; background:#2F6BFF; border-radius:4px; }
.traj-craft { position:absolute; top:-5px; transform:translateX(-50%); font-size:10px; color:#fff; }
.traj-ends { display:flex; justify-content:space-between; font-size:8px; color:rgba(255,255,255,.4); }
.w-turn svg { width:80px; height:80px; display:block; margin:4px auto; }
.rg { fill:none; stroke: rgba(255,255,255,.12); stroke-width:1; }
.rose text { fill: rgba(255,255,255,.4); font-size:8px; font-family: var(--font-mono, ui-monospace, monospace); text-anchor:middle; }
.hab rect { fill: rgba(47,107,255,.25); stroke:#2F6BFF; }
.hab text, .rover text { fill:#fff; font-size:7px; text-anchor:middle; font-family: var(--font-mono, ui-monospace, monospace); }
.rover circle { fill:#fff; }
.me { fill:#5B9BFF; }
.turn-arrow { fill:#fff; }

/* fit at 375px and center in wrist mode */
@media (max-width: 420px) {
  .watch { --w: clamp(200px, 86vw, 220px); --h: clamp(280px, 112vw, 300px); }
}
body.view-wrist .watch-stage { min-height: calc(100dvh - 120px); }

/* patches for new template */
.w-crit { gap: 4px; padding: 4px 6px; }
.w-crit-main { flex:1; display:flex; align-items:center; gap:6px; background:transparent; border:none; color:inherit; padding:4px 2px; text-align:left; cursor:pointer; position:relative; }
.w-crit-main::after { content:""; position:absolute; inset:-8px -4px; }
.w-crit-ack { position:relative; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); color:#fff; font:700 8px/1 var(--font-ui,system-ui,sans-serif); letter-spacing:.06em; padding:6px 8px; border-radius:8px; cursor:pointer; }
.w-crit-ack::after { content:""; position:absolute; inset:-12px -10px; }
.alert-pill .chip, .alert-pill.chip { border:none; background:transparent; padding:0; font-size:8px; color:inherit; gap:3px; }
.alert-pill { padding:3px 8px; }
.alert-pill.sev-0 { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.alert-pill.sev-1 { border-color: rgba(47,107,255,.6); color: #7fb0ff; background: rgba(47,107,255,.12); }
.alert-pill.sev-2 { border-color: #2F6BFF; background: #2F6BFF; color: #fff; }
.w-metric .m-state.chip { border:none; background:transparent; padding:0; font-size:8px; gap:3px; color:inherit; }
.w-metric.sev-1 .m-state { color:#7fb0ff; }
.w-metric.sev-2 .m-state { color:#fff; font-weight:700; }
.w-metric.sev-2 { border-color: rgba(47,107,255,.5); background: rgba(47,107,255,.12); }
.w-appnav-btn.sev-1 { color:#7fb0ff; }
.w-appnav-btn.sev-2 { color:#fff; }
/* always show tiny captions */
.w-appnav-btn span { display:block; opacity:.9; }
.w-status { border-bottom: none; }

.hero-limit-note { font-weight: 500; opacity: .8; }
.hero-range { margin-top: 2px; font-size: 8px; color: rgba(255,255,255,.55); letter-spacing: .04em; font-family: var(--font-mono, ui-monospace, monospace); min-height: 10px; }
.hero-value { font: 700 28px/1 var(--font-mono, ui-monospace, monospace); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; word-break: break-word; }
.w-home-hero-main .hero-value { font-size: 26px; }
*:focus-visible { outline: 2px solid #5B9BFF; outline-offset: 2px; }
