/* The page shorter, and on two grounds. design-21's quiet.css took the chrome away; this file carries the rest of the analysis:
   - #how: the tool is the headline and the words are its caption (three to five words each, set smaller beside a larger terminal);
   - the hero's night (#0b1224) and white are the only two grounds: every dark band is the hero's night, and the stack (#built) and the
     jurisdiction (#europe) come onto it (the orange band is gone);
   - the emphasis is a thin underline, as the hero's, and no highlighter. */

:root { --night: #0b1224; --night-text: rgb(255 255 255 / .74); --night-hair: rgb(255 255 255 / .2); }

/* ---------- the grounds ---------- */
.band-dark, .band-darkest { background: var(--th-bg); color: var(--th-fg); }

/* the stack, on night */
.eu-layers { background: var(--night); color: #fff; }
.eu-layers h2, .eu-intro h2 { color: #fff; }
.eu-cap p { color: var(--night-text); }
.eu-name { color: #fff; }
.eu-layer.is-active .eu-cap p { color: #fff; }
.eu-slab { box-shadow: -9px 9px 0 rgb(255 255 255 / .1); }
.eu-keys, .eu-keys b { color: #fff; }
.eu-keys kbd { border-color: var(--night-hair); color: #fff; }

/* the layers that are not lit are dimmer than they were on white, not gone */
#built.is-scrub .eu-slab { opacity: calc(.6 + .4 * var(--lit, 1)); }
#built.is-scrub .eu-stage .eu-cap { opacity: calc(var(--cap, 0) * (.62 + .38 * var(--lit, 1))); }

/* the plate labels of the jurisdiction (1 slice ... 4 law) */
.e3-tag { fill: #fff; }

/* the two things to count on the Azure side: plain boxes, a hairline, the orange only when chosen */
.wz-opts input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--night-hair); background: none; display: inline-grid; place-content: center; }
.wz-opts input:checked { background: var(--brand-1); border-color: var(--brand-1); }

/* the foot is on the theme's ground (the night's in the dark theme, the paper's tint in the light) */
.foot { background: var(--th-foot-bg); }

/* the jurisdiction, on night */
.c2 { background: var(--night); color: #fff; }
.c2-word, .c2-cap, .c2-say, .c2-say em, .c2-link, .e3-k, .e3-name, .e3-beat p, .e3-us li, .e3-us b { color: #fff; }
.c2-region { -webkit-text-stroke-color: #fff; color: transparent; }
.e3-beat { border-top-color: var(--night-hair); }
.c2 :focus-visible { outline-color: #fff; }
.c2-link { text-decoration-color: rgb(255 255 255 / .5); }

/* ---------- #how ---------- */
/* the emphasis is the hero's: a thin underline in the colour of the pillar, not a highlighter */
.sn-k .sn-w, .lv-k .lv-w, mark.lv-k, mark.sn-k {
  background: none; text-decoration: underline; text-decoration-color: var(--tone, currentColor);
  text-decoration-thickness: .06em; text-underline-offset: .14em;
}
/* the caption is set smaller and the tool larger */
.sn-s { font-size: clamp(26px, 2.8vw, 42px); font-weight: 500; letter-spacing: -.035em; }
@media (min-width: 1000px) {
  .sn-beat { grid-template-columns: minmax(0, .42fr) minmax(0, 1.58fr); gap: 56px; }
}
.sn-tl { font-size: clamp(14px, 1.2vw, 17px); }
.sn-code { font-size: clamp(12.5px, 1.05vw, 15px); }
.sn-lang .sn-code { font-size: clamp(13px, 1.1vw, 16px); }
.sn-l { grid-template-columns: 44px minmax(0, 1fr); }

/* ---------- the exit ---------- */
.lv-s { font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
