/* argus-design 0.3.0 · tokens: ArgusCore-Pi glass/www/js/theme.js @ 4e057f7 · generated by tools/build.mjs: do not edit */
:root{
  --a-void:#030205;
  --a-panel:#100815;
  --a-panel2:#1a0f24;
  --a-alt:#271334;
  --a-text:#e8e3ec;
  --a-muted:#a9a2b2;
  --a-silver:#c8c2cc;
  --a-plum:#4a2161;
  --a-purple:#7a35a0;
  --a-violet:#8a4cea;
  --a-hot:#b080f2;
  --a-plasma:#f3bdfe;
  --a-ok:#2c8f68;
  --a-okl:#5fd6a6;
  --a-warn:#d7a335;
  --a-danger:#b93645;
  --a-dangerl:#ff6b7d;
  --a-pipe:#2c1b3a;
  --a-dark:#150b1c;
  --a-bar:#07040b;
  --a-ink:#0c0611;
  --a-card:#120a19;
  --a-lift:#170c1f;
  --a-deep:#0a060e;
  --a-rim:#0a0610;
  --a-halo:#0b0610;
  --a-lens:#0d0713;
  --a-open:#22103f;
  --a-req:#2a1447;
  --a-reqd:#170c2a;
  --a-sel:#3a1a66;
  --a-silver-lo:#8d8798;
  --a-silver-hi:#e2dde6;
  --a-suct:#5b9ae8;
  --a-suct-idle:#16283f;
  --a-disc:#e2554c;
  --a-disc-idle:#3c1715;
  --a-print-paper:#ffffff;
  --a-print-ink:#150b1c;
  --a-print-ink2:#433d4b;
  --a-print-muted:#675f70;
  --a-print-rule:#d3cfd7;
  --a-print-rule-hi:#8f8999;
  --a-print-accent:#7a35a0;
  --a-print-accent-ink:#7a35a0;
  --a-print-accent-lo:#f3edfa;
  --a-print-plate:#07040b;
  --a-print-plate-ink:#c8c2cc;
  --a-print-plate-muted:#a9a2b2;
  --a-print-ok:#187552;
  --a-print-warn:#a06604;
  --a-print-danger:#b93645;
  --a-print-suct:#2769b7;
  --a-print-suct-idle:#c6d9f2;
  --a-print-disc:#c13d34;
  --a-print-disc-idle:#f4cdc8;
  --a-ok-plate:#0b2018;
  --a-ok-key:#0d2a20;
  --a-warn-plate:#2a1f08;
  --a-danger-banner:#2a0b12;
  --a-danger-key:#3a0d17;
  --a-danger-box:#1a0a10;
}

/* ==========================================================================
   argus-design: base
   The ground every Argus page stands on: the three faces, the kit's own
   tokens (type, space, cuts, hairlines, the status plates), the page, and the
   type classes. Colours come from the generated :root above this file (the
   --a-* tokens exported from Atlantis Glass's theme.js); nothing here types a
   colour. The status plates, which Glass draws as fixed values in every theme,
   come from src/kit-colours.json through the same generated :root.
   Read RULES.md before changing anything. Every value has a reason there.
   ========================================================================== */

/* ---- the three faces: static TrueType, bundled (a unit has no internet; a
   variable font turns into Type 3 in a PDF) ---- */
@font-face{font-family:"Oxanium";src:url("fonts/Oxanium-300.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Oxanium";src:url("fonts/Oxanium-400.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Oxanium";src:url("fonts/Oxanium-500.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Oxanium";src:url("fonts/Oxanium-600.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Oxanium";src:url("fonts/Oxanium-700.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("fonts/Rajdhani-400.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("fonts/Rajdhani-500.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("fonts/Rajdhani-600.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("fonts/Rajdhani-700.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("fonts/JetBrainsMono-400.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("fonts/JetBrainsMono-600.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}

:root{
  /* faces: Oxanium for numbers and titles, Rajdhani for labels and keys (upper
     case, tracked), JetBrains Mono for data that is read character by character */
  --a-f-disp:"Oxanium","Rajdhani",system-ui,sans-serif;
  --a-f-ui:"Rajdhani","Oxanium",system-ui,sans-serif;
  --a-f-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;

  /* type scale, px. Nothing is ever smaller than 13 (Glass's floor). */
  --a-t-xs:13px;      /* mono small print: a topic, a version, a time */
  --a-t-sm:15px;      /* labels, table heads, tags */
  --a-t-md:17px;      /* body text, table cells, keys */
  --a-t-lg:22px;      /* panel and section titles */
  --a-t-xl:30px;      /* page titles */
  --a-n-sm:24px;      /* a number in a table row or a small readout */
  --a-n-md:38px;      /* a readout */
  --a-n-lg:56px;      /* the one number a panel is about */
  --a-n-xl:84px;      /* the one number a page is about */

  /* tracking: labels are spaced, numbers are tight */
  --a-track-label:.22em;
  --a-track-key:.18em;
  --a-track-tag:.08em;
  --a-track-word:.2em;

  /* space: a 4 px grid; 16 is the gap between panels (Glass L.gap) */
  --a-s1:4px; --a-s2:8px; --a-s3:12px; --a-s4:16px; --a-s5:24px; --a-s6:32px; --a-s7:48px;

  /* cuts: the chamfer, top-left and bottom-right (Glass cham: panel 14, key 10, stamp 6, times its 1.15 scale) */
  --a-cut-panel:16px;
  --a-cut-key:11px;
  --a-cut-field:8px;
  --a-cut-stamp:6px;

  /* hairlines: silver at 16 % for structure, 30 % for a control's edge, 70 % for a bracket.
     Mixed from the theme's own silver, so a client theme moves them too. */
  --a-hair:color-mix(in srgb, var(--a-silver) 16%, transparent);
  --a-hair-mid:color-mix(in srgb, var(--a-silver) 30%, transparent);
  --a-hair-hi:color-mix(in srgb, var(--a-silver) 70%, transparent);
  --a-line:1px;
  --a-line-hi:1.5px;

  /* the silver of the wordmark and the big titles (Glass g-silver) */
  --a-silver-grad:linear-gradient(180deg, #ffffff 0%, var(--a-silver) 46%, var(--a-silver-lo) 56%, var(--a-silver-hi) 100%);
  /* the panel's own fill (Glass g-panel: LIFT to DEEP) */
  --a-panel-fill:linear-gradient(180deg, var(--a-lift), var(--a-deep));


  /* depth: the one shadow the kit allows, black under a panel, never a colour
     (Shawn, 2026-11-04, on the website: "a bit more visual depth, pop"). Desktop
     pages only: Glass on a Pi or a tablet stays flat (it is a cost there). */
  --a-lift-shadow:0 30px 54px -18px #000000, 0 9px 18px -6px rgba(0,0,0,.85);

  /* motion */
  --a-fade:140ms;
  --a-hold-start:900ms;      /* hold to start, open, set or raise */
  --a-hold-stop:350ms;       /* hold to stop, close or take to zero: never slower than a start */

  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-height:100vh;min-height:100dvh;background:var(--a-void);color:var(--a-text);
  font-family:var(--a-f-ui);font-weight:500;font-size:var(--a-t-md);line-height:1.4;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-variant-numeric:tabular-nums}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
::selection{background:var(--a-sel);color:var(--a-text)}
:focus-visible{outline:var(--a-line) solid var(--a-hot);outline-offset:3px}
*{scrollbar-color:var(--a-pipe) transparent;scrollbar-width:thin}

/* the page: void, the plum haze, the vignette (Glass bg). Put .a-sky on the body or on one fixed layer behind it. */
.a-sky{background:
    radial-gradient(ellipse 75% 75% at 50% 50%, transparent 55%, rgba(0,0,0,.72) 100%),
    radial-gradient(ellipse 62% 62% at 50% 40%, color-mix(in srgb, var(--a-plum) 50%, transparent) 0%, color-mix(in srgb, var(--a-alt) 22%, transparent) 50%, transparent 100%),
    var(--a-void);background-attachment:fixed}
/* the instrument grid behind a working screen: 46 px, silver at 4.5 % */
.a-gridded{background-image:
    linear-gradient(color-mix(in srgb, var(--a-silver) 4.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--a-silver) 4.5%, transparent) 1px, transparent 1px);
  background-size:46px 46px}

/* ---- type ---- */
.a-disp{font-family:var(--a-f-disp)}
.a-ui{font-family:var(--a-f-ui)}
.a-mono{font-family:var(--a-f-mono);font-size:var(--a-t-xs);letter-spacing:var(--a-track-tag)}
/* a label: what a thing is. Upper case, spaced, muted. */
.a-label{font:600 var(--a-t-sm)/1.2 var(--a-f-ui);letter-spacing:var(--a-track-label);text-transform:uppercase;color:var(--a-muted)}
/* titles: Oxanium, not shouted */
.a-title{font:500 var(--a-t-lg)/1.2 var(--a-f-disp);letter-spacing:.04em;color:var(--a-text)}
.a-page-title{font:500 var(--a-t-xl)/1.15 var(--a-f-disp);letter-spacing:.08em;
  background:var(--a-silver-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.a-prose{max-width:66ch;font-size:var(--a-t-md);line-height:1.5;color:var(--a-text)}
.a-prose p+p{margin-top:var(--a-s3)}
.a-muted{color:var(--a-muted)}
/* small print carries real information (a bus, a version, a topic, a time), never filler */
.a-small{font:400 var(--a-t-xs)/1.4 var(--a-f-mono);letter-spacing:var(--a-track-tag);color:var(--a-muted)}
/* parts of a line are joined with a middle dot */
.a-sep::before{content:"\00b7";margin:0 .6em;color:var(--a-muted)}

/* ---- layout helpers (gaps on the 4 px grid; 16 between panels) ---- */
.a-stack{display:flex;flex-direction:column;gap:var(--a-s4)}
.a-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--a-s4)}
.a-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(100%, 320px), 1fr));gap:var(--a-s4)}
.a-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* ==========================================================================
   argus-design: components
   Atlantis Glass's language (glass/www/js/kit.js, glass/docs/DESIGN-SYSTEM.md)
   in plain CSS for HTML pages. Class names start a- so they never meet a
   consumer's own. A modifier is a-thing--kind; a state is is-state.
   ========================================================================== */

/* ---- the chamfer: two corners cut, top-left and bottom-right. Every frame in
   the kit is this shape, never a rounded rectangle. --a-c is the cut: a key's
   (--a-cut-key) unless the element sets its own, e.g. style="--a-c:var(--a-cut-field)". ---- */
.a-cut{clip-path:polygon(var(--a-c, var(--a-cut-key)) 0, 100% 0, 100% calc(100% - var(--a-c, var(--a-cut-key))), calc(100% - var(--a-c, var(--a-cut-key))) 100%, 0 100%, 0 var(--a-c, var(--a-cut-key)))}

/* ==========================================================================
   PANEL: the one container. A hairline at 16 %, brighter where the corners
   are cut (Glass's brackets), the panel fill top to bottom. Group what belongs
   together in ONE panel and divide it with hairlines: never a tile per number.
   ========================================================================== */
.a-panel{--a-c:var(--a-cut-panel);--a-edge:var(--a-hair);--a-bracket:var(--a-hair-hi);
  position:relative;isolation:isolate;padding:var(--a-s5) var(--a-s6)}
.a-panel::before{content:"";position:absolute;inset:0;z-index:-2;
  background:
    radial-gradient(circle at 0 0, var(--a-bracket) 0 calc(var(--a-c) * 1.9), transparent calc(var(--a-c) * 1.9 + 1px)),
    radial-gradient(circle at 100% 100%, var(--a-bracket) 0 calc(var(--a-c) * 1.9), transparent calc(var(--a-c) * 1.9 + 1px)),
    var(--a-edge);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-panel::after{content:"";position:absolute;inset:var(--a-line);z-index:-1;background:var(--a-panel-fill);
  clip-path:polygon(calc(var(--a-c) - .4px) 0, 100% 0, 100% calc(100% - var(--a-c) + .4px), calc(100% - var(--a-c) + .4px) 100%, 0 100%, 0 calc(var(--a-c) - .4px))}
.a-panel--small{--a-c:12px;padding:var(--a-s4) var(--a-s5)}
.a-panel--flush{padding:0}
/* a live edge: the panel is about something running or selected (one light: use it on one panel, not all) */
.a-panel.is-live{--a-edge:color-mix(in srgb, var(--a-hot) 45%, transparent);--a-bracket:var(--a-hot)}
.a-panel.is-alarm{--a-edge:color-mix(in srgb, var(--a-dangerl) 55%, transparent);--a-bracket:var(--a-dangerl)}
/* depth, desktop pages only: the website's lift (black, below; never a colour) */
.a-panel--lift{box-shadow:var(--a-lift-shadow)}

.a-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--a-s3) var(--a-s4);flex-wrap:wrap;margin-bottom:var(--a-s4)}
/* a panel's title is a label (Glass: muted, spaced), and its tag is the one HOT mark on it */
.a-panel-title{font:600 var(--a-t-sm)/1.2 var(--a-f-ui);letter-spacing:var(--a-track-label);text-transform:uppercase;color:var(--a-muted)}
.a-panel-tag{font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:var(--a-track-tag);color:var(--a-hot);opacity:.85;white-space:nowrap}
/* a tag that asks the crew for nothing is muted; one that warns is amber */
.a-panel-tag.is-quiet{color:var(--a-muted);opacity:1}
.a-panel-tag.is-warn{color:var(--a-warn);opacity:1}
/* hairline dividers inside a panel */
.a-rule{height:0;border:0;border-top:var(--a-line) solid var(--a-hair);margin:var(--a-s4) 0}

/* ==========================================================================
   NUMBERS: big number, small muted unit, one line. Tabular figures. An unknown
   is an em dash in muted at weight 300: never a made-up number.
   <span class="a-num">12.4<span class="a-unit">GPM</span></span>
   <span class="a-num is-unknown">&mdash;</span>
   ========================================================================== */
.a-num{font-family:var(--a-f-disp);font-weight:600;font-size:var(--a-n-md);line-height:1;letter-spacing:.01em;
  color:var(--a-text);font-variant-numeric:tabular-nums;white-space:nowrap}
.a-num--sm{font-size:var(--a-n-sm)} .a-num--lg{font-size:var(--a-n-lg)} .a-num--xl{font-size:var(--a-n-xl);font-weight:500}
.a-unit{font-family:var(--a-f-ui);font-weight:600;font-size:max(13px, .32em);letter-spacing:.18em;color:var(--a-muted);margin-left:.2em}
/* the value that matters on this screen (one light) */
.a-num.is-hot{color:var(--a-hot)}
.a-num.is-unknown{color:var(--a-muted);font-weight:300}
.a-num.is-warn{color:var(--a-warn)}
.a-num.is-stale{opacity:.5}

/* a readout: a label over a number. A strip of them is ONE panel with hairlines between the cells,
   never a row of tiles with coloured side bars (the look RULES.md calls the tell). */
.a-readout{display:flex;flex-direction:column;gap:var(--a-s2);min-width:0}
.a-readouts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0, 1fr)}
.a-readouts > .a-readout{padding:0 var(--a-s5)}
.a-readouts > .a-readout:first-child{padding-left:0}
.a-readouts > .a-readout + .a-readout{border-left:var(--a-line) solid var(--a-hair)}

/* ==========================================================================
   WORDS: a status is an upper-case word in its colour, never a pill. Green,
   amber and red are statuses only: never a fill, a bar, a pen or a frame. In a
   healthy plant amber and red do not appear; that is what makes them work.
   ========================================================================== */
.a-word{font:600 var(--a-t-sm)/1 var(--a-f-ui);letter-spacing:var(--a-track-word);text-transform:uppercase;white-space:nowrap;color:var(--a-silver)}
.a-word--ok{color:var(--a-okl)}
.a-word--warn{color:var(--a-warn)}
.a-word--danger{color:var(--a-dangerl)}
.a-word--live{color:var(--a-hot)}
.a-word--rest{color:var(--a-silver-lo)}
.a-word--muted{color:var(--a-muted)}
/* the dot beside a status word takes the word's colour */
.a-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:.6em;vertical-align:.1em}

/* a stamp: the small chamfered tag. STALE 14 s, UNBOUND, REFUSED, CONFIRMED. */
.a-stamp{--a-c:var(--a-cut-stamp);display:inline-block;padding:5px 10px;font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:.06em;
  white-space:nowrap;color:var(--a-warn);background:var(--a-warn-plate);box-shadow:inset 0 0 0 var(--a-line) currentColor;
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-stamp--ok{color:var(--a-okl);background:var(--a-ok-plate)}
.a-stamp--muted{color:var(--a-muted);background:var(--a-dark)}
.a-stamp--danger{color:var(--a-dangerl);background:var(--a-danger-key)}
.a-stamp--live{color:var(--a-hot);background:var(--a-open)}

/* ==========================================================================
   KEYS (buttons): chamfered, upper case, spaced. ghost by default; primary is
   the one HOT action on a screen; danger stops or removes; ok confirms.
   A key that cannot be pressed is drawn at 32 % with a plain line saying why.
   ========================================================================== */
.a-btn{--a-c:var(--a-cut-key);--a-edge:var(--a-hair-hi);--a-fill:var(--a-dark);
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  min-height:48px;padding:0 28px;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent;
  font:600 var(--a-t-md)/1 var(--a-f-ui);letter-spacing:var(--a-track-key);text-transform:uppercase;white-space:nowrap;color:var(--a-silver)}
.a-btn::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--a-edge);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-btn::after{content:"";position:absolute;inset:var(--a-line-hi);z-index:-1;background:var(--a-fill);
  clip-path:polygon(calc(var(--a-c) - .6px) 0, 100% 0, 100% calc(100% - var(--a-c) + .6px), calc(100% - var(--a-c) + .6px) 100%, 0 100%, 0 calc(var(--a-c) - .6px))}
.a-btn--primary{--a-edge:var(--a-hot);--a-fill:var(--a-sel);color:var(--a-text)}
.a-btn--danger{--a-edge:var(--a-dangerl);--a-fill:var(--a-danger-key);color:var(--a-text)}
.a-btn--ok{--a-edge:var(--a-okl);--a-fill:var(--a-ok-key);color:var(--a-text)}
.a-btn:hover{color:var(--a-plasma)}
/* pressed answers within a frame: the key lights in its own colour (Glass .hl at 26 %) */
.a-btn:active,.a-btn[data-pressed]{--a-fill:color-mix(in srgb, var(--a-edge) 26%, var(--a-dark))}
.a-btn--primary:active,.a-btn--primary[data-pressed]{--a-fill:color-mix(in srgb, var(--a-hot) 26%, var(--a-sel))}
.a-btn:disabled,.a-btn[aria-disabled="true"],.a-btn.is-off{opacity:.32;cursor:not-allowed}
.a-btn:disabled:hover,.a-btn[aria-disabled="true"]:hover,.a-btn.is-off:hover{color:var(--a-silver)}
/* sizes: 48 for a desk with a mouse, 64 for gloves on a tablet (Glass's minimum target), 76 for a primary action there */
.a-btn--touch{min-height:64px;padding:0 32px}
.a-btn--big{min-height:76px;padding:0 36px;font-size:var(--a-t-lg)}
.a-btn--small{min-height:36px;padding:0 18px;font-size:var(--a-t-sm);--a-c:8px}
/* the plain line that says why something is off, or what a refusal was */
.a-reason{font:400 var(--a-t-xs)/1.4 var(--a-f-mono);letter-spacing:var(--a-track-tag);color:var(--a-muted)}
.a-reason.is-warn{color:var(--a-warn)}
.a-reason.is-danger{color:var(--a-dangerl)}

/* hold to confirm: a command is never one tap. The fill sweeps left to right while the finger is down
   (900 ms to start or open, 350 ms to stop or close); lifting early cancels and sends nothing.
   The look only: the behaviour, including the busy-page rule, is Glass's widgets/hold.js (DECISIONS 155).
   <button class="a-btn a-btn--primary a-hold" data-state="holding" style="--a-hold-ms:900ms"><i class="a-hold-fill"></i>START</button> */
.a-hold{overflow:hidden}
.a-hold-fill{position:absolute;inset:var(--a-line-hi);z-index:-1;background:color-mix(in srgb, var(--a-edge) 34%, transparent);
  transform:scaleX(0);transform-origin:left center;transition:transform 240ms cubic-bezier(.3,0,.2,1)}
.a-hold[data-state="holding"] .a-hold-fill{transform:scaleX(1);transition:transform var(--a-hold-ms, var(--a-hold-start)) linear}
.a-hold[data-state="confirmed"] .a-hold-fill{transform:scaleX(1);background:color-mix(in srgb, var(--a-plasma) 40%, transparent)}

/* ==========================================================================
   FIELDS: an inset box (INK), a hairline at 30 %, HOT when it has the focus,
   red with a reason when it is refused. Upper case is for labels, not for
   what someone types.
   ========================================================================== */
.a-field{display:flex;flex-direction:column;gap:6px;min-width:0}
/* a key inside a field keeps its own width instead of stretching across the column */
.a-field > .a-btn{align-self:flex-start}
.a-input{--a-c:var(--a-cut-field);width:100%;min-height:44px;padding:0 14px;border:0;outline:0;border-radius:0;
  background:var(--a-ink);color:var(--a-text);font:500 var(--a-t-md)/1.2 var(--a-f-ui);
  box-shadow:inset 0 0 0 var(--a-line) var(--a-hair-mid);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
textarea.a-input{min-height:96px;padding:12px 14px;line-height:1.4;resize:vertical}
.a-input::placeholder{color:var(--a-muted);opacity:1}
.a-input:focus{box-shadow:inset 0 0 0 var(--a-line) var(--a-hot)}
.a-input[aria-invalid="true"]{box-shadow:inset 0 0 0 var(--a-line) var(--a-dangerl)}
.a-input:disabled{opacity:.32}
.a-input.is-num{font-family:var(--a-f-disp);font-weight:500;font-variant-numeric:tabular-nums;text-align:right}
select.a-input{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer;
  background:
    linear-gradient(45deg, transparent 50%, var(--a-muted) 50%) right 21px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--a-muted) 50%) right 15px center / 6px 6px no-repeat,
    var(--a-ink)}
.a-check{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin:0;flex:0 0 auto;cursor:pointer;
  background:var(--a-ink);box-shadow:inset 0 0 0 var(--a-line) var(--a-hair-hi);
  clip-path:polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px)}
.a-check:checked{background:var(--a-hot);box-shadow:inset 0 0 0 var(--a-line) var(--a-hot), inset 0 0 0 5px var(--a-ink)}
.a-check:disabled{opacity:.32;cursor:not-allowed}
.a-choice{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font:600 var(--a-t-sm)/1.2 var(--a-f-ui);
  letter-spacing:.12em;text-transform:uppercase;color:var(--a-silver)}

/* ==========================================================================
   TABLES: hairline rows, labels for heads, numbers right-aligned in Oxanium,
   data that is read character by character in mono. No zebra, no boxes.
   ========================================================================== */
.a-table{width:100%;border-collapse:collapse;font-size:var(--a-t-md)}
.a-table th{padding:10px 14px;text-align:left;vertical-align:bottom;white-space:nowrap;
  font:600 var(--a-t-xs)/1.2 var(--a-f-ui);letter-spacing:var(--a-track-label);text-transform:uppercase;color:var(--a-muted);
  border-bottom:var(--a-line) solid var(--a-hair-mid)}
.a-table td{padding:10px 14px;vertical-align:baseline;border-bottom:var(--a-line) solid var(--a-hair)}
.a-table .is-num{text-align:right;font-family:var(--a-f-disp);font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.a-table th.is-num{font-family:var(--a-f-ui);font-weight:600}
.a-table .is-mono{font-family:var(--a-f-mono);font-size:var(--a-t-xs);letter-spacing:var(--a-track-tag);color:var(--a-muted)}
.a-table tbody tr:hover{background:color-mix(in srgb, var(--a-hot) 5%, transparent)}
.a-table tr.is-selected{background:color-mix(in srgb, var(--a-sel) 55%, transparent)}
.a-table tr.is-selected > :first-child{background-image:linear-gradient(90deg, var(--a-hot) 3px, transparent 3px)}
.a-table tr.is-stale > *{opacity:.5}
.a-table--dense th,.a-table--dense td{padding:6px 10px}
.a-table--dense{font-size:var(--a-t-sm)}
/* a table inside a panel runs to the panel's edges */
.a-panel > .a-table-wrap{margin:0 calc(var(--a-s6) * -1);overflow-x:auto}
.a-panel > .a-table-wrap .a-table th:first-child,.a-panel > .a-table-wrap .a-table td:first-child{padding-left:var(--a-s6)}
.a-panel > .a-table-wrap .a-table th:last-child,.a-panel > .a-table-wrap .a-table td:last-child{padding-right:var(--a-s6)}

/* ==========================================================================
   THE FRAME: top bar, nav rail, content, ticker (Glass's chrome and the
   website's console frame). Under 900 px wide the rail becomes a bottom bar
   and the ticker goes.
   <body class="a-frame a-sky"><header class="a-topbar">…<nav class="a-rail">…<main class="a-main">…<footer class="a-ticker">
   ========================================================================== */
.a-frame{display:grid;height:100vh;height:100dvh;overflow:hidden;
  grid-template:"top top" 64px "nav main" minmax(0, 1fr) "tick tick" 40px / 112px minmax(0, 1fr)}
.a-frame > .a-topbar{grid-area:top} .a-frame > .a-rail{grid-area:nav} .a-frame > .a-main{grid-area:main} .a-frame > .a-ticker{grid-area:tick}
.a-main{overflow:auto;padding:var(--a-s5)}

.a-topbar{position:relative;display:flex;align-items:center;gap:var(--a-s5);padding:0 var(--a-s5);
  background:var(--a-bar);border-bottom:var(--a-line) solid var(--a-hair)}
/* the brand and the clock share the bar equally (flex 1 1 0), so the pill between them sits on the page's centre at
   every width and the brand can never run under it: a long unit line ellipsizes instead */
.a-brand{flex:1 1 0;display:flex;align-items:center;gap:var(--a-s3);min-width:0}
.a-brand-eye{height:40px;width:auto;display:block}
.a-brand-text{display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}
/* the wordmark: ARGUS ATLANTIS (or the product's name) in silver, the first word bold, the second light */
.a-wordmark{font:400 22px/1 var(--a-f-disp);letter-spacing:.22em;white-space:nowrap;
  background:var(--a-silver-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.a-wordmark b{font-weight:700}
.a-wordmark span{font-weight:300;margin-left:.36em}
.a-unitline{font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:.06em;color:var(--a-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the status pill at the top centre: the one word that says how things are */
.a-pill{--a-c:9px;flex:none;padding:9px 28px;white-space:nowrap;
  font:600 var(--a-t-sm)/1 var(--a-f-ui);letter-spacing:.32em;text-transform:uppercase;color:var(--a-text);
  background:var(--a-ink);box-shadow:inset 0 0 0 var(--a-line) var(--a-hair-mid);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-pill--ok{color:var(--a-okl);background:var(--a-ok-plate);box-shadow:inset 0 0 0 var(--a-line) color-mix(in srgb, var(--a-okl) 55%, transparent)}
.a-pill--warn{color:var(--a-warn);background:var(--a-warn-plate);box-shadow:inset 0 0 0 var(--a-line) var(--a-warn)}
.a-pill--danger{color:var(--a-dangerl);background:var(--a-danger-banner);box-shadow:inset 0 0 0 var(--a-line) var(--a-dangerl)}
.a-clock{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.a-clock-time{font:300 30px/1 var(--a-f-disp);letter-spacing:.03em;color:var(--a-text)}
.a-clock-date{font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:.14em;color:var(--a-muted);white-space:nowrap}

.a-rail{display:flex;flex-direction:column;background:var(--a-bar);border-right:var(--a-line) solid var(--a-hair);overflow-y:auto}
.a-rail a,.a-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:0 6px;
  border:0;background:none;cursor:pointer;color:var(--a-muted);
  font:600 var(--a-t-xs)/1 var(--a-f-ui);letter-spacing:var(--a-track-label);text-transform:uppercase;text-align:center}
.a-rail svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.a-rail a:hover,.a-rail button:hover{color:var(--a-text)}
.a-rail [aria-current="page"]{color:var(--a-hot);
  background:linear-gradient(90deg, var(--a-hot) 3px, transparent 3px), linear-gradient(90deg, color-mix(in srgb, var(--a-hot) 14%, transparent), transparent)}

.a-ticker{display:grid;grid-template-columns:auto minmax(0, 1fr) auto;align-items:center;gap:var(--a-s4);padding:0 var(--a-s5);
  background:var(--a-bar);border-top:var(--a-line) solid var(--a-hair)}
.a-ticker-label{--a-c:7px;padding:6px 14px;font:600 var(--a-t-xs)/1 var(--a-f-ui);letter-spacing:.3em;text-transform:uppercase;color:var(--a-silver);
  box-shadow:inset 0 0 0 var(--a-line) var(--a-hair-mid);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-ticker-track{overflow:hidden;white-space:nowrap;font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:.08em;color:var(--a-muted);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000000 24px, #000000 calc(100% - 24px), transparent);
  mask-image:linear-gradient(90deg, transparent, #000000 24px, #000000 calc(100% - 24px), transparent)}
.a-ticker-foot{font:400 var(--a-t-xs)/1 var(--a-f-mono);letter-spacing:.08em;color:var(--a-muted);white-space:nowrap}

@media (max-width: 899px){
  .a-frame{display:block;height:auto;overflow:visible}
  .a-topbar{position:sticky;top:0;z-index:5;min-height:56px;gap:var(--a-s3);padding:0 var(--a-s4)}
  .a-pill,.a-unitline,.a-clock-date,.a-ticker{display:none}
  /* no pill to centre: the clock takes only its own width and the brand the rest */
  .a-clock{flex:none}
  .a-brand-eye{height:30px}
  .a-wordmark{font-size:18px}
  .a-clock-time{font-size:22px}
  .a-rail{position:fixed;left:0;right:0;bottom:0;z-index:5;flex-direction:row;overflow:visible;
    border-right:0;border-top:var(--a-line) solid var(--a-hair);padding-bottom:env(safe-area-inset-bottom, 0px)}
  .a-rail a,.a-rail button{flex:1 1 0;min-height:64px;gap:6px;letter-spacing:.12em}
  .a-rail svg{width:24px;height:24px}
  .a-rail [aria-current="page"]{background:linear-gradient(180deg, var(--a-hot) 2px, transparent 2px), linear-gradient(180deg, color-mix(in srgb, var(--a-hot) 14%, transparent), transparent)}
  .a-main{overflow:visible;padding:var(--a-s4) var(--a-s4) calc(88px + env(safe-area-inset-bottom, 0px))}
  .a-panel{padding:var(--a-s4) var(--a-s5)}
  .a-panel > .a-table-wrap{margin:0 calc(var(--a-s5) * -1)}
  .a-readouts{grid-auto-flow:row}
  .a-readouts > .a-readout{padding:var(--a-s3) 0}
  .a-readouts > .a-readout + .a-readout{border-left:0;border-top:var(--a-line) solid var(--a-hair)}
}

/* ==========================================================================
   BANNERS and REFUSALS: what is wrong, where, and the one move that fixes it.
   ========================================================================== */
.a-banner{--a-c:12px;display:flex;align-items:center;gap:var(--a-s4);padding:12px 18px;flex-wrap:wrap;
  color:var(--a-warn);background:var(--a-warn-plate);box-shadow:inset 0 0 0 var(--a-line) currentColor;
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-banner--alarm{color:var(--a-dangerl);background:var(--a-danger-banner)}
.a-banner-title{font:600 var(--a-t-md)/1.2 var(--a-f-ui);letter-spacing:.16em;text-transform:uppercase}
.a-banner-sub{font:500 var(--a-t-sm)/1.35 var(--a-f-ui);color:var(--a-text)}
.a-banner > .a-btn{margin-left:auto}
/* a refusal: a dashed red box with the reason in plain words. "Air supply 72 psi, minimum 90. Nothing moved." */
.a-refusal{padding:12px 16px;border:var(--a-line) dashed var(--a-dangerl);background:var(--a-danger-box)}
.a-refusal > .a-word{display:block;margin-bottom:6px}

/* ==========================================================================
   STATES every element has (DESIGN-SYSTEM "States"). Stale: dimmed, motion
   stopped, an amber STALE <age> stamp beside each key value, a hatch over the
   area. Off: 32 % with a reason. Unknown: the em dash.
   ========================================================================== */
.is-stale{opacity:.5;filter:saturate(.2)}
.is-stale *{animation-play-state:paused !important}
.is-stale .a-pulse,.is-stale .a-blink,.is-stale .a-breathe{animation:none !important}
.a-hatch{background-image:repeating-linear-gradient(45deg, color-mix(in srgb, var(--a-warn) 11%, transparent) 0 6px, transparent 6px 18px)}
.is-off,[data-off]{opacity:.32}

/* ==========================================================================
   TRENDS and DRAWINGS (SVG). Pens in this order: HOT, SILVER, PLASMA, PURPLE,
   VIOLET, MUTED. Green, amber and red are never pens; a limit is an amber
   dotted line. A gap in the data is a gap in the line, never a held value.
   Glow is geometry: two faint wide strokes under the line, never a filter.
   ========================================================================== */
.a-trend{display:block;width:100%;height:auto;overflow:visible}
.a-trend .a-grid-line{stroke:var(--a-silver);stroke-opacity:.09;stroke-width:1;fill:none;shape-rendering:crispEdges}
.a-trend .a-axis-line{stroke:var(--a-silver);stroke-opacity:.3;stroke-width:1;fill:none;shape-rendering:crispEdges}
.a-trend text{font:400 13px var(--a-f-mono);letter-spacing:.04em;fill:var(--a-muted)}
.a-trend .a-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.a-pen-1{stroke:var(--a-hot)} .a-pen-2{stroke:var(--a-silver)} .a-pen-3{stroke:var(--a-plasma)}
.a-pen-4{stroke:var(--a-purple)} .a-pen-5{stroke:var(--a-violet)} .a-pen-6{stroke:var(--a-muted)}
.a-trend .a-area{fill:color-mix(in srgb, var(--a-hot) 14%, transparent);stroke:none}
.a-trend .a-sp{fill:none;stroke:var(--a-silver);stroke-opacity:.7;stroke-width:1.5;stroke-dasharray:6 6}
.a-trend .a-limit{fill:none;stroke:var(--a-warn);stroke-width:1.5;stroke-dasharray:2 5}
.a-trend .a-now{fill:var(--a-plasma)}
.a-trend .a-now-halo{fill:var(--a-violet);opacity:.3}
/* a lit line: two faint under-strokes and a core (Glass gl()). Draw the same path three times. */
.a-gl-u4{fill:none;stroke:var(--a-violet);stroke-opacity:.13;stroke-width:12px;stroke-linecap:round;stroke-linejoin:round}
.a-gl-u2{fill:none;stroke:var(--a-violet);stroke-opacity:.32;stroke-width:6px;stroke-linecap:round;stroke-linejoin:round}
.a-gl-core{fill:none;stroke:var(--a-hot);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}
/* an idle pipe, and the circuit tones: suction blue and discharge red are the field's own, the same in every theme */
.a-pipe{fill:none;stroke:var(--a-pipe);stroke-width:7px;stroke-linecap:round;stroke-linejoin:round}
.a-pipe.is-suct{stroke:var(--a-suct-idle)} .a-pipe.is-disc{stroke:var(--a-disc-idle)}
.a-gl-core.is-suct{stroke:var(--a-suct)} .a-gl-core.is-disc{stroke:var(--a-disc)}
.a-gl-u4.is-suct,.a-gl-u2.is-suct{stroke:var(--a-suct)} .a-gl-u4.is-disc,.a-gl-u2.is-disc{stroke:var(--a-disc)}
/* a structural hairline in a drawing: never moves */
.a-hairline{fill:none;stroke:var(--a-silver);stroke-opacity:.35;stroke-width:1.2px}

/* ==========================================================================
   THE EYE and the SIGNATURE. The eye on a screen is the pre-rendered PNG
   (eye/argus-eye-hero-512.png under 250 px wide, -2048 above); the lite SVG is
   for PDF and embedded displays. The flat eye and the square icon eye are
   not used. On a client's page the client leads and Argus signs on a slim
   dark plate: the eye and the wordmark, never full bleed.
   ========================================================================== */
.a-eye{display:block;height:auto;max-width:100%}
.a-signature{--a-c:10px;display:inline-flex;align-items:center;gap:var(--a-s3);padding:8px 16px 8px 12px;background:var(--a-bar);
  box-shadow:inset 0 0 0 var(--a-line) var(--a-hair);
  clip-path:polygon(var(--a-c) 0, 100% 0, 100% calc(100% - var(--a-c)), calc(100% - var(--a-c)) 100%, 0 100%, 0 var(--a-c))}
.a-signature .a-eye{height:28px;width:auto}
.a-signature .a-wordmark{font-size:15px}

/* ==========================================================================
   MOTION: transform and opacity only. Violet moves; nothing else does.
   When data goes stale, motion stops (.is-stale). Blink is reserved for an
   alarm nobody has acknowledged.
   ========================================================================== */
@keyframes a-spin{to{transform:rotate(360deg)}}
@keyframes a-breathe{0%,100%{opacity:.3}50%{opacity:.95}}
@keyframes a-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes a-blink{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes a-flow{to{stroke-dashoffset:-28}}
.a-spin{animation:a-spin 7s linear infinite}
.a-spin-med{animation:a-spin 22s linear infinite}
.a-spin-slow{animation:a-spin 80s linear infinite reverse}
.a-breathe{animation:a-breathe 4.6s ease-in-out infinite}
.a-pulse{animation:a-pulse 1.7s ease-in-out infinite}
.a-blink{animation:a-blink 1.1s ease-in-out infinite}
.a-flow{stroke-dasharray:12 16;animation:a-flow .85s linear infinite}
@media (prefers-reduced-motion: reduce){
  .a-spin,.a-spin-med,.a-spin-slow,.a-flow{animation-play-state:paused}
  .a-breathe,.a-pulse{animation:none;opacity:.95}
}
html.a-still .a-spin,html.a-still .a-spin-med,html.a-still .a-spin-slow,html.a-still .a-flow{animation-play-state:paused}
html.a-still .a-breathe,html.a-still .a-pulse,html.a-still .a-blink{animation:none}
