/* The look of the school portal and the operator console. One file, no script, nothing inline: the pages' policy
   allows styles only from this address. Colour is never the only signal: chips and notices always carry words. */
:root {
  color-scheme: light dark;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #121826;
  --muted: #586274;
  --line: #e1e6ee;
  --line-strong: #c9d1de;
  --brand: #2c58e8;
  --brand-strong: #1f43c2;
  --brand-soft: #e8eeff;
  --brand-text: #ffffff;
  --ok: #0e7a43;
  --ok-bg: #e2f6ea;
  --warn: #8e5400;
  --warn-bg: #fff1d6;
  --bad: #b02020;
  --bad-bg: #fde9e9;
  --focus: #f59e0b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 24, 38, 0.05), 0 2px 8px rgba(18, 24, 38, 0.06);
  --shadow-pop: 0 8px 28px rgba(18, 24, 38, 0.18);
  --side: 16.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1118;
    --surface: #141a23;
    --surface-2: #19212c;
    --text: #e8edf4;
    --muted: #97a3b4;
    --line: #242d3b;
    --line-strong: #344156;
    --brand: #7b9bff;
    --brand-strong: #a3b8ff;
    --brand-soft: #1b2748;
    --brand-text: #0a1020;
    --ok: #7be0a1;
    --ok-bg: #11301f;
    --warn: #ffcf70;
    --warn-bg: #382b0b;
    --bad: #ff9a9a;
    --bad-bg: #3a1616;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-pop: 0 8px 28px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- headings and text ---------- */
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 .25rem; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 2rem 0 .75rem; letter-spacing: -.005em; }
h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.lede { color: var(--muted); margin: 0 0 1.5rem; max-width: 46rem; }
.muted { color: var(--muted); }
small, .small { font-size: .875rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }

/* ---------- the console's layout: a sidebar and a page ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.1rem .9rem; background: var(--surface); border-right: 1px solid var(--line);
}
.brandmark { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); padding: .25rem .4rem; }
.brandmark .logo {
  width: 2.1rem; height: 2.1rem; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: var(--brand-text); font-weight: 800; font-size: 1.05rem;
}
.brandmark strong { display: block; line-height: 1.15; font-size: 1rem; }
.brandmark span { display: block; color: var(--muted); font-size: .8rem; }
.search { position: relative; }
.search .icon { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 1.1rem; height: 1.1rem; }
.search input[type=search] { padding-left: 2.45rem; background: var(--surface-2); }
.menu-list { display: flex; flex-direction: column; gap: .15rem; }
.menu-list a {
  display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text); font-weight: 500; min-height: 2.6rem;
}
.menu-list a:hover { background: var(--surface-2); }
.menu-list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); font-weight: 650; }
.menu-list .count { margin-left: auto; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.person { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); padding: .3rem .4rem; border-radius: var(--radius-sm); }
.person:hover { background: var(--surface-2); }
.avatar {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: .85rem;
}
.person b { display: block; line-height: 1.2; font-size: .92rem; }
.person span { color: var(--muted); font-size: .8rem; }
.content { padding: 2rem clamp(1rem, 3vw, 2.5rem) 5rem; max-width: 78rem; width: 100%; }
.shell.auth { display: block; }
.shell.auth .content { max-width: 30rem; margin: 0 auto; padding-top: 4vh; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 1.25rem; }

/* ---------- the portal's and the public pages' top bar ---------- */
header.bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar-inner { max-width: 72rem; margin: 0 auto; padding: .7rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.brand { font-weight: 750; text-decoration: none; color: var(--text); font-size: 1.1rem; }
.brand small { font-weight: 500; color: var(--muted); margin-left: .5rem; }
nav.main { display: flex; flex-wrap: wrap; gap: .25rem; margin-right: auto; }
nav.main a { padding: .5rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); min-height: 2.6rem; display: inline-flex; align-items: center; gap: .4rem; }
nav.main a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); font-weight: 650; }
nav.main a:hover { background: var(--surface-2); }
.who { color: var(--muted); font-size: .9rem; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
body > main { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }

/* ---------- page header ---------- */
.page-head { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .25rem 0 0; color: var(--muted); }
.crumb { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .6rem; font-size: .9rem; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--brand); }

/* ---------- cards and sections ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 0 0 1rem; box-shadow: var(--shadow); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--brand); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.grid > .card { margin: 0; }
.section { scroll-margin-top: 1rem; }
.section > h2:first-child { margin-top: 2.25rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.tabs a { padding: .4rem .95rem; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .92rem; }
.tabs a:hover { background: var(--surface-2); color: var(--text); }

/* ---------- numbers ---------- */
.stat { font-size: 2rem; font-weight: 750; line-height: 1.1; letter-spacing: -.02em; }
.stat-label { color: var(--muted); }
.stat-card, a.card.stat-card { display: flex; gap: .9rem; align-items: center; }
td.shrink { width: 1%; white-space: nowrap; }
.stat-card .tile { width: 2.9rem; height: 2.9rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.stat-card .tile.warn { background: var(--warn-bg); color: var(--warn); }
.stat-card .tile.ok { background: var(--ok-bg); color: var(--ok); }
.stat-card .tile.bad { background: var(--bad-bg); color: var(--bad); }
.stat-card .stat { font-size: 1.75rem; }

/* ---------- messages ---------- */
.messages { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.messages li { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); border-left: 4px solid var(--line-strong); }
.messages .success { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.messages .warning { background: var(--warn-bg); color: var(--warn); border-color: var(--warn); }
.messages .error { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
.messages .secret-line { background: var(--brand-soft); border-color: var(--brand); border-left-width: 4px; padding: .6rem 1rem; }
.messages .secret { display: block; background: transparent; border: 0; padding: 0; font-size: 1.2rem; }
.big-code { font: 700 clamp(1.5rem, 4vw, 2.2rem)/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; margin: .25rem 0 .5rem; overflow-wrap: anywhere; user-select: all; }
.notice { border-left: 4px solid var(--warn); background: var(--warn-bg); color: var(--warn); padding: .8rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 1rem; }
.notice.info { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }

/* ---------- chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .08rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 650; border: 1px solid currentColor; white-space: nowrap; line-height: 1.5; }
.badge.ok { color: var(--ok); background: var(--ok-bg); }
.badge.warn { color: var(--warn); background: var(--warn-bg); }
.badge.bad { color: var(--bad); background: var(--bad-bg); }
.badge.plain { color: var(--muted); background: var(--surface-2); }
.badge.brand { color: var(--brand-strong); background: var(--brand-soft); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.table-wrap.open { overflow: visible; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; background: var(--surface-2); font-weight: 650; }
tbody tr:hover td { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.actions, th.actions { text-align: right; white-space: nowrap; }
.who-cell b { display: block; }
.who-cell span { color: var(--muted); font-size: .875rem; }
.empty { color: var(--muted); padding: 1.5rem; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- forms ---------- */
form.stack > * + * { margin-top: 1rem; }
.field label, label.block { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .93rem; }
.field .help { color: var(--muted); font-size: .875rem; margin: .3rem 0 0; }
.field .errors { color: var(--bad); margin: .3rem 0 0; padding: 0; list-style: none; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font: inherit;
}
input:hover, select:hover, textarea:hover { border-color: var(--brand); }
textarea { min-height: 6rem; resize: vertical; }
input[type=checkbox] { width: 1.25rem; height: 1.25rem; vertical-align: middle; margin-right: .5rem; accent-color: var(--brand); }
.field label:has(input[type=checkbox]) { font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fields { display: grid; gap: .85rem 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-items: end; }
.fields .wide { grid-column: 1 / -1; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.inline-form .field { flex: 1 1 10rem; margin: 0; }
.inline-form .field.narrow-field { flex: 0 1 8rem; }
.code-field { display: flex; flex-direction: column; gap: .25rem; max-width: 12rem; }
.code-field label { font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0; display: flex; align-items: center; gap: .3rem; }
.code-field input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .25em; text-align: center; font-size: 1.05rem; min-height: 2.4rem; }
.confirm-bar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; padding-top: 1rem; margin-top: 1rem; border-top: 1px dashed var(--line-strong); }

/* ---------- buttons ---------- */
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .5rem 1.05rem;
  border-radius: var(--radius-sm); border: 1px solid var(--brand); background: var(--brand); color: var(--brand-text);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.button:hover, button:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--brand-text); }
.button.secondary, button.secondary { background: var(--surface); color: var(--brand-strong); border-color: var(--line-strong); }
.button.secondary:hover, button.secondary:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); }
.button.danger, button.danger { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.button.danger.secondary, button.danger.secondary { background: var(--surface); color: var(--bad); border-color: var(--line-strong); }
.button.danger.secondary:hover, button.danger.secondary:hover { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.button.small, button.small { min-height: 2.15rem; padding: .25rem .75rem; font-size: .9rem; }
.row { display: flex; flex-wrap: wrap; gap: .6rem .85rem; align-items: center; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
form.inline { display: inline; }
.button.block, button.block { width: 100%; }

/* ---------- drawers: forms that open in place, with no script ---------- */
details.drawer { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
details.drawer > summary {
  list-style: none; cursor: pointer; padding: .75rem 1rem; font-weight: 600; color: var(--brand-strong);
  display: flex; align-items: center; gap: .5rem; border-radius: var(--radius); min-height: 2.8rem;
}
details.drawer > summary::-webkit-details-marker { display: none; }
details.drawer > summary::before { content: "+"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--brand-soft); font-weight: 700; }
details.drawer[open] > summary::before { content: "−"; }
details.drawer[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
details.drawer > .drawer-body { padding: 1rem; }
details.drawer.danger > summary { color: var(--bad); }
details.drawer.danger > summary::before { background: var(--bad-bg); }
details.pop { position: relative; display: inline-block; text-align: left; }
details.pop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; min-height: 2.15rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--brand-strong); }
details.pop > summary::-webkit-details-marker { display: none; }
details.pop > summary::after { content: "▾"; font-size: .8rem; }
details.pop[open] > summary { background: var(--brand-soft); border-color: var(--brand); }
details.pop > .pop-body {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 20; width: min(26rem, 88vw); padding: 1rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  white-space: normal;
}
.pop-body section + section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pop-body h4 { margin: 0 0 .5rem; font-size: .9rem; }

/* ---------- checklist ---------- */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: step; }
ol.steps li { display: flex; gap: .85rem; align-items: center; padding: .7rem .85rem; border-radius: var(--radius-sm); background: var(--surface-2); counter-increment: step; }
ol.steps .mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface); border: 2px solid var(--line-strong); font-size: .85rem; font-weight: 700; color: var(--muted); }
ol.steps .mark::before { content: counter(step); }
ol.steps li.done .mark { background: var(--ok); border-color: var(--ok); color: var(--surface); }
ol.steps li.done .mark::before { content: "✓"; }
ol.steps li.next { background: var(--brand-soft); }
ol.steps li.next .mark { border-color: var(--brand); color: var(--brand-strong); }
ol.steps b { display: block; line-height: 1.25; }
ol.steps span.text { color: var(--muted); font-size: .9rem; }
ol.steps .grow { flex: 1; min-width: 0; }

/* ---------- what to trust ---------- */
.session-chip { display: flex; gap: .55rem; align-items: center; margin: 0 0 .6rem; padding: .5rem .65rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.25; }
.session-chip.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.session-chip small { display: block; font-size: .78rem; opacity: .85; }
.untrusted { margin: .75rem 0; padding: .75rem .9rem; border: 1px dashed var(--line-strong); border-left: 4px solid var(--warn); border-radius: var(--radius-sm); background: var(--surface-2); }
.untrusted .caption { margin: 0 0 .5rem; font-size: .82rem; color: var(--warn); font-weight: 600; }

/* ---------- queue cards ---------- */
.queue-item { padding: 1.15rem 1.25rem; }
.queue-item + .queue-item { margin-top: 1rem; }
.queue-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-start; justify-content: space-between; margin-bottom: .75rem; }
.queue-head h3 { margin: 0; font-size: 1.1rem; }
.queue-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; margin-top: 1rem; }
.queue-actions > form { flex: 1 1 22rem; }
.facts-inline { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: var(--muted); font-size: .92rem; margin: 0 0 .25rem; }
.facts-inline b { color: var(--text); font-weight: 600; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: .06em; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: .75rem 1rem; overflow-wrap: anywhere; user-select: all; }

.narrow { max-width: 30rem; margin: 2rem auto; }
.quote { margin: .5rem 0; padding: .6rem .9rem; border-left: 4px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); }
.form-wide { max-width: 42rem; }
.pager { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 0 0 1rem; }
.filters .field { min-width: 12rem; flex: 1 1 12rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.chips a { padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--muted); font-weight: 550; font-size: .9rem; background: var(--surface); }
.chips a[aria-current="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: .85rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--muted); font-size: .85rem; min-width: 7.5rem; flex: none; }
details.more { margin-top: 1rem; }
details.more summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; }

@media (max-width: 56rem) {
  .shell { display: block; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; border-right: 0; border-bottom: 1px solid var(--line); padding: .6rem .9rem; }
  .menu-list { flex-direction: row; flex-wrap: wrap; }
  .search { order: 5; flex: 1 1 100%; }
  .side-foot { margin-top: 0; flex-direction: row; align-items: center; border-top: 0; padding-top: 0; margin-left: auto; }
  .content { padding-top: 1.25rem; }
  details.pop > .pop-body { position: static; width: auto; box-shadow: none; margin-top: .5rem; }
  .table-wrap.open { overflow-x: auto; }
}
@media (max-width: 40rem) {
  dl.facts { grid-template-columns: 1fr; }
  th, td { padding: .65rem .65rem; }
  .tabs { border-radius: var(--radius); }
}
@media (pointer: coarse) {
  .button, button { min-height: 2.85rem; }
  .menu-list a { min-height: 2.85rem; }
}
@media print {
  .side, .tabs, .skip { display: none; }
  .shell { display: block; }
  body { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
