:root{
  --ink:#dfe6e9;--paper:#07090b;--panel:#0c1013;--panel-hi:#171c1e;
  --muted:#a5afb3;--signal:#ff4d3d;--cyan:#45e6d4;--yellow:#ffb020;
  --green:#4ade80;--line:#303638;--line-hi:#536064;
  /* Courier New set every word in the product, headings included. At display
     size it reads as a 1990s terminal rather than a current one, which is the
     opposite of the intent. Mono is now the voice of machine chrome only --
     banner, eyebrows, labels, meta, codes -- and prose gets the reader's own
     interface font. Both stacks are local: style-src is 'self', and a webfont
     would be a request that can fail and a layout shift when it does. */
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}
html{color-scheme:dark}
body{
  margin:0;min-height:100vh;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
  display:flex;align-items:flex-start;justify-content:center;padding:6vh 1.25rem;
  background-image:
    radial-gradient(60rem 40rem at 50% -10%,rgba(69,230,212,.07),transparent 60%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 3px);
}
/* One short column with nothing below it sits better centred than hung from
   the top, and only the sign-in pages are that shape. */
body:has(.auth){align-items:center;padding-block:4vh}

/* Mono where it means "the machine is talking": identifiers, counts, codes,
   and the chrome around the content rather than the content. */
.shell::before,.eyebrow,label,.meta,.badge,.divider,h2,
input.code,.stat strong,.stamp .meta{font-family:var(--mono)}
.shell{width:100%;max-width:44rem}
/* A roster and an audit trail do not fit in a reading column. */
.shell.wide{max-width:72rem}
.shell::before{
  content:"SKYNET UNIVERSITY // ACCESS";display:block;
  font-size:.7rem;letter-spacing:.28em;color:var(--cyan);
  border-bottom:1px solid var(--line);padding-bottom:.75rem;margin-bottom:2rem;
}
h1{
  font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.2;margin:0 0 1rem;
  letter-spacing:-.02em;font-weight:600;
}
h2{font-size:.78rem;letter-spacing:.24em;color:var(--muted);text-transform:uppercase;margin:2.5rem 0 .75rem}
h3{font-size:1rem;margin:0 0 .35rem}
p{margin:0 0 1rem;color:var(--muted);max-width:60ch}
a{color:var(--cyan);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
form{margin:1.75rem 0 0;border:1px solid var(--line);border-left:2px solid var(--cyan);
  background:var(--panel);padding:1.25rem}
label{display:block;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--muted);margin-bottom:.5rem}
input[type=email],input[type=text],textarea{
  width:100%;background:var(--paper);color:var(--ink);font:inherit;
  border:1px solid var(--line-hi);padding:.75rem .85rem;border-radius:8px;
}
input[type=email]:focus,input[type=text]:focus,textarea:focus{outline:2px solid var(--cyan);outline-offset:1px;border-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
textarea{resize:vertical;min-height:6rem}
button{
  margin-top:1rem;font:inherit;font-weight:600;letter-spacing:.01em;
  background:var(--cyan);color:#04120f;border:0;padding:.75rem 1.4rem;
  border-radius:8px;cursor:pointer;
  transition:transform 140ms ease,background 140ms ease,border-color 140ms ease;
}
button:hover{background:var(--ink);transform:translateY(-1px)}
button:active{transform:translateY(0)}
@media (prefers-reduced-motion: reduce){button{transition:none}button:hover{transform:none}}
button.quiet{background:transparent;color:var(--muted);border:1px solid var(--line-hi)}
button.quiet:hover{color:var(--ink);border-color:var(--line-hi)}
button.danger{background:transparent;color:var(--signal);border:1px solid var(--signal)}
button.danger:hover{background:var(--signal);color:var(--paper)}
.notice{border-left:2px solid var(--yellow);padding-left:.8rem;color:var(--ink)}
.quoted{border-left:2px solid var(--line-hi);padding-left:.9rem;color:var(--ink)}
.meta{color:var(--muted);font-size:.8rem}
.eyebrow{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--cyan);
  display:block;margin-bottom:.4rem}
ul.queue{list-style:none;margin:0;padding:0}
ul.queue li{border:1px solid var(--line);border-top:2px solid var(--signal);
  background:var(--panel);padding:1rem 1.15rem;margin-bottom:1rem}
ul.queue li.aside{opacity:.5;border-top-color:var(--line-hi)}
ul.queue li.done{border-top-color:var(--green)}
input[type=text]{width:100%;background:var(--paper);color:var(--ink);font:inherit;
  border:1px solid var(--line-hi);padding:.7rem .8rem}
input[type=text]:focus{outline:2px solid var(--cyan);outline-offset:1px;border-color:transparent}
input[type=number],select{background:var(--paper);color:var(--ink);font:inherit;
  border:1px solid var(--line-hi);padding:.6rem .7rem}
input[type=number]:focus,select:focus{outline:2px solid var(--cyan);outline-offset:1px}
ul.queue form{display:block;margin:.75rem 0 0;border:0;background:none;padding:0}
ul.queue form label{margin-top:.6rem}
ul.queue button{margin:0 .5rem .25rem 0}
.actions{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.75rem}
.actions form{display:inline-block;margin:0}

/* The numbers across the top of a dashboard. */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));
  gap:.75rem;margin:0 0 1.5rem}
.stat{border:1px solid var(--line);border-top:2px solid var(--cyan);
  background:var(--panel);padding:.85rem .9rem}
.stat-label{display:block;font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--muted);margin:0 0 .35rem}
.stat-value{display:block;font-size:1.7rem;line-height:1.1;color:var(--ink)}
.stat-meta{display:block;font-size:.72rem;color:var(--muted);margin-top:.2rem}
.stat.warn{border-top-color:var(--yellow)}
.stat.warn .stat-value{color:var(--yellow)}

/* Tables, for the roster and the journal. */
table{width:100%;border-collapse:collapse;margin:0 0 1.5rem;font-size:.85rem}
th,td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);
  border-bottom-color:var(--line-hi);white-space:nowrap}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
tbody tr:hover{background:var(--panel)}
.wrap{max-width:100%;overflow-x:auto}

/* A badge says what something is; the word inside it carries the meaning, so
   colour is never the only signal. */
.badge{display:inline-block;padding:.1rem .45rem;border:1px solid var(--line-hi);
  font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.badge.ok{border-color:var(--green);color:var(--green)}
.badge.warn{border-color:var(--yellow);color:var(--yellow)}
.badge.bad{border-color:var(--signal);color:var(--signal)}

/* Progress. The number is always written out next to the bar, so this still
   reads with CSS off.

   Widths are classes, not a style attribute. style-src is 'self' with no
   style-src-attr beside it, so an inline width on these bars is refused by
   the browser and every one of them was rendering empty in anything that
   enforces the policy -- invisible to curl, which is how it survived.
   Rounded to the nearest 5, so this is 21 rules rather than 101. */
.bar{display:block;height:.4rem;background:var(--panel-hi);border:1px solid var(--line);
  margin:.4rem 0;overflow:hidden;border-radius:999px}
.bar > span{display:block;height:100%;width:0;background:var(--cyan);border-radius:999px}
.bar.done > span{background:var(--green)}
.pct-0{width:0}.pct-5{width:5%}.pct-10{width:10%}.pct-15{width:15%}
.pct-20{width:20%}.pct-25{width:25%}.pct-30{width:30%}.pct-35{width:35%}
.pct-40{width:40%}.pct-45{width:45%}.pct-50{width:50%}.pct-55{width:55%}
.pct-60{width:60%}.pct-65{width:65%}.pct-70{width:70%}.pct-75{width:75%}
.pct-80{width:80%}.pct-85{width:85%}.pct-90{width:90%}.pct-95{width:95%}
.pct-100{width:100%}

/* One bar across the top of every signed-in page. The learner side had no
   navigation at all before this: each page ended with a lone Sign Out button,
   and the only way between sections was the browser's back button. */
.appbar{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;
  padding:0 0 1rem;margin:0 0 2rem;border-bottom:1px solid var(--line)}
.mark{font-family:var(--mono);font-size:.78rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ink);text-decoration:none;white-space:nowrap}
.mark span{color:var(--cyan);margin-left:.4rem}
.mark:hover{color:var(--cyan)}
.mainnav{display:flex;gap:.25rem;flex-wrap:wrap;flex:1}
.mainnav a{font-size:.82rem;text-decoration:none;color:var(--muted);
  padding:.35rem .7rem;border-radius:7px;border:1px solid transparent}
.mainnav a:hover{color:var(--ink);background:var(--panel)}
/* The current section is named, not only tinted. */
.mainnav a[aria-current=page]{color:var(--ink);background:var(--panel);border-color:var(--line-hi)}
.account{display:flex;align-items:center;gap:.6rem;margin-left:auto}
.account form{margin:0;border:0;background:none;padding:0}
/* The way across to the other surface, next to the account it belongs to. */
.account .switch button{border-color:var(--cyan);color:var(--cyan)}
.account .switch button:hover{background:var(--cyan);color:#04120f}
.who{font-size:.78rem;color:var(--muted);max-width:14rem;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.small{margin:0;padding:.35rem .7rem;font-size:.78rem}

.pagehead{display:flex;align-items:flex-start;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;margin:0 0 1.75rem}
.pagehead h1{margin:0 0 .35rem}
.pagehead .lede{margin:0;color:var(--muted);max-width:60ch}
.pagehead-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.pagehead-actions form{margin:0;border:0;background:none;padding:0}
section{margin:0 0 2.5rem}
section > h2:first-child{margin-top:0}

/* An empty table with a header row proves the query ran. It does not say
   whether that is normal or what to do next. */
.empty{border:1px dashed var(--line-hi);border-radius:12px;background:var(--panel);
  padding:2rem 1.5rem;text-align:center;margin:0 0 1.5rem}
.empty-title{margin:0 0 .4rem;color:var(--ink);font-weight:600}
.empty p{margin:0 auto;max-width:44ch;color:var(--muted);font-size:.9rem}
.empty form{margin:1rem 0 0;border:0;background:none;padding:0;display:inline-block}

.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;
  background:var(--panel);margin:0 0 1.5rem}
.tablewrap table{margin:0}
.tablewrap caption{text-align:left;padding:.85rem 1rem 0;color:var(--muted);font-size:.8rem}
td.right,th.right{text-align:right;font-variant-numeric:tabular-nums}
td.mono{font-family:var(--mono);font-size:.82rem}
tbody tr:last-child td{border-bottom:0}

/* The one thing the learner came back to do. A whole card is the target, so
   the tap area is the card and not a four-word link inside it. */
.resume{display:block;text-decoration:none;color:inherit;margin:0 0 2rem;
  border:1px solid var(--line-hi);border-left:3px solid var(--cyan);border-radius:12px;
  background:var(--panel);padding:1.25rem 1.4rem;
  transition:border-color 140ms ease,transform 140ms ease}
.resume:hover{border-color:var(--cyan);transform:translateY(-1px)}
.resume strong{display:block;font-size:1.15rem;color:var(--ink);margin:.35rem 0 .2rem}
.resume-path{display:block;font-size:.85rem;color:var(--cyan)}
.resume .meta{display:block;margin-top:.5rem}
@media (prefers-reduced-motion: reduce){.resume{transition:none}.resume:hover{transform:none}}

.cta{display:inline-block;text-decoration:none;font-weight:600;font-size:.88rem;
  background:var(--cyan);color:#04120f;padding:.6rem 1.1rem;border-radius:8px}
.cta:hover{background:var(--ink);color:#04120f}
.cta.quiet{background:transparent;color:var(--muted);border:1px solid var(--line-hi)}
.cta.quiet:hover{color:var(--ink);border-color:var(--cyan);background:transparent}

/* The row action drawer: the one piece of real interactivity that survives
   script-src 'none'. */
details.row-menu{margin-top:.6rem}
details.row-menu > summary{cursor:pointer;font-size:.72rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--cyan);list-style:none;padding:.2rem 0}
details.row-menu > summary::-webkit-details-marker{display:none}
details.row-menu > summary::before{content:"+ ";color:var(--line-hi)}
details.row-menu[open] > summary::before{content:"- "}
details.row-menu > .menu-body{border-left:1px solid var(--line-hi);padding-left:.9rem;
  margin-top:.6rem}

/* Section anchors instead of tabs: one page, no router, no script. */
.toc{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem;padding:0;list-style:none}
.toc a{display:inline-block;border:1px solid var(--line-hi);padding:.3rem .7rem;
  font-size:.72rem;letter-spacing:.1em;text-decoration:none;color:var(--muted)}
.toc a:hover{color:var(--ink);border-color:var(--cyan)}

.stamps{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem;padding:0;list-style:none}
.stamp{border:1px solid var(--line-hi);border-left:2px solid var(--yellow);
  background:var(--panel);padding:.45rem .7rem;font-size:.78rem}
.stamp .meta{display:block;font-size:.66rem}

/* Server-rendered SVG. No chart library, no client script, no remote asset. */
svg.spark,svg.calendar{display:block;width:100%;height:auto}
svg.spark{max-height:3rem}
.calendar-key{display:flex;align-items:center;gap:.4rem;font-size:.7rem;color:var(--muted)}
.calendar-key i{width:.6rem;height:.6rem;display:inline-block;border:1px solid var(--line)}
.calendar-key i.band-0{background:var(--panel)}
.calendar-key i.band-1{background:var(--cyan);opacity:.25}
.calendar-key i.band-2{background:var(--cyan);opacity:.5}
.calendar-key i.band-3{background:var(--cyan);opacity:.75}
.calendar-key i.band-4{background:var(--cyan)}

.flash{border-left:2px solid var(--green);padding:.6rem .8rem;background:var(--panel);
  margin:0 0 1.5rem;color:var(--ink)}
.flash.bad{border-left-color:var(--signal)}

/* Sign-in and the pages either side of it. One column, one decision per screen.
   Borrowed from nudgetable and the volleyball portal: a brand mark, a heading
   that says where you are, a sentence explaining what will happen, then the
   form -- with any alternate route below a divider rather than competing with
   the primary one. Their provider buttons, passkeys and two-step forms all
   need JavaScript; the arrangement does not. */
.auth{max-width:25rem;margin:0 auto;background:var(--panel);
  border:1px solid var(--line);border-radius:14px;
  padding:2.5rem 2.25rem 2.25rem;
  box-shadow:0 24px 60px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.03)}
.auth h1{margin:0 0 .5rem;font-size:1.65rem}
.auth .lede{color:var(--muted);margin:0 0 1.75rem;font-size:.94rem}
/* Inside the card the form is the card's contents, not a panel of its own. */
.auth form{margin:0;border:0;background:transparent;padding:0}
/* The alternate route is one button; panel chrome around it would imply it is
   a second thing to fill in. */
.auth form.plain{border:0;background:transparent;padding:0;margin:0}
.auth .after{margin:1.25rem 0 0;font-size:.8rem;color:var(--muted)}

/* The alternate route sits under this, never beside the primary one. */
.divider{display:flex;align-items:center;gap:.9rem;margin:1.5rem 0;
  font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)}
.divider::before,.divider::after{content:"";flex:1;height:1px;
  background:linear-gradient(90deg,transparent,var(--line-hi),transparent)}

button.block{width:100%;margin-top:1rem}
/* Outlined, so the filled button stays the obvious next step. */
button.provider{width:100%;margin-top:0;background:transparent;color:var(--ink);
  border:1px solid var(--line-hi)}
button.provider:hover{border-color:var(--cyan);color:var(--cyan);background:transparent}

/* A ring rather than a bare outline: it reads on the panel background at the
   1px borders these inputs use. */
.auth input:focus-visible,.auth textarea:focus-visible{
  outline:2px solid var(--cyan);outline-offset:1px;
  box-shadow:0 0 0 3px rgba(69,230,212,.18)}

/* The code from the email, spaced so eight characters read as one block. */
input.code{font-size:1.15rem;letter-spacing:.38em;text-align:center}

@media (prefers-reduced-motion: no-preference){
  .shell::before{animation:flicker 6s ease-in-out infinite}
  @keyframes flicker{0%,97%,100%{opacity:1}98%{opacity:.55}}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important}
}
