/* HUAT's own parts, on top of the AUXA design system (load /design/auxa.css first).
   Rules: apps/design/DESIGN.md, "Products: HUAT".

   HUAT's logo tile: a three-quarter ring on blue, the score filling up. Inline SVG:
   <svg viewBox="0 0 36 36" aria-hidden="true"><rect width="36" height="36" rx="12" fill="#1246e0"/>
   <path d="M18 9a9 9 0 1 1-9 9" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
   <circle cx="18" cy="18" r="2.6" fill="#fff"/></svg> */
.hu-logo{width:36px;height:36px;flex:none}

/* Score bands: HUAT's four, as the original. Two colour sets per band:
   --lum   luminous, for the ring, gauges and their numbers on the dark dashboard (Jay, 2026-12-02).
           Lime, not yellow, for the second band: yellow would read as gold, which means AI.
   --tone  the system's status colour, for text on light paper (contrast 4.5:1).
   100 good · 75 to 99 ok · 50 to 74 watch · under 50 bad. The band's word always shows. */
.hu-tone--good{--lum:#2ef59a;--tone:var(--good);--tone-bg:var(--good-bg)}
.hu-tone--ok{--lum:#c6f53a;--tone:var(--warn);--tone-bg:var(--warn-bg)}
.hu-tone--warn,.hu-tone--watch{--lum:#ff9a2e;--tone:var(--warn);--tone-bg:var(--warn-bg)}
.hu-tone--bad{--lum:#ff4f70;--tone:var(--bad);--tone-bg:var(--bad-bg)}

/* The dashboard: a night band where the luminous colours glow. */
.hu-dash{background:var(--lit-night);color:#fff;border-radius:var(--r);padding:clamp(22px,3vw,48px);--gap:var(--space-6)}
.hu-dash .ax-card{background:rgb(255 255 255/.05);box-shadow:inset 0 0 0 1px rgb(255 255 255/.09)}

/* The score ring and the index gauges are SVG drawn by the page's script. */
.hu-ring{position:relative;width:min(210px,58vw);aspect-ratio:1;margin-inline:auto}
.hu-ring svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hu-track{stroke:rgb(255 255 255/.1)}
.hu-fill{stroke:var(--lum,var(--blue));filter:drop-shadow(0 0 6px var(--lum,transparent)) drop-shadow(0 0 18px color-mix(in srgb,var(--lum,transparent) 55%,transparent))}
.hu-ring b{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-size:clamp(3.6rem,10vw,5rem);font-weight:560;letter-spacing:-.05em;line-height:1;color:var(--lum,#fff);text-shadow:0 0 28px color-mix(in srgb,var(--lum,transparent) 60%,transparent);font-variant-numeric:tabular-nums}
.hu-ring b small{display:block;font-size:.82rem;letter-spacing:.02em;font-weight:520;color:var(--night-text);text-shadow:none;margin-top:8px}
.hu-gauge{width:min(150px,100%);margin-inline:auto;overflow:visible}
.hu-gauge text{fill:var(--lum,#fff);font:560 24px var(--face);font-variant-numeric:tabular-nums}

/* The band, as a word with a glowing dot. */
.hu-band{display:inline-flex;align-items:center;gap:8px;border-radius:var(--pill);padding:5px 14px;font-weight:560;color:var(--lum,#fff);background:color-mix(in srgb,var(--lum,#fff) 14%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--lum,#fff) 35%,transparent)}
.hu-band::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}
