/*
  Travel to Learn v02, in Conceptual Studio's house style.
  Layout: warm paper, hairlines margin to margin, one big word per page,
  Instrument Sans for everything else, round pills, 28px corners. The college's
  own brand lives only in the outputs (the map sheet), never in the tool chrome.
  Single light theme by choice: it matches the studio site and the printed maps.
*/
/* The studio's two faces, as on conceptualstudio.co.uk: Agatho Medium for headings and big figures, Instrument Sans
   for everything else. Agatho is the site's subset (47 KB to 18 KB). Stand-ins are scaled to the same width, so a
   heading wraps the same way before and after the font arrives. */
@font-face { font-family: 'Agatho'; src: url('assets/fonts/agatho-medium-text.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Agatho Georgia'; src: local('Georgia'); size-adjust: 87.6%; }
@font-face { font-family: 'Agatho Times'; src: local('Times New Roman'), local('Liberation Serif'), local('Tinos'), local('FreeSerif'); size-adjust: 96.4%; }
@font-face { font-family: 'Instrument Sans'; src: url('assets/fonts/instrument-sans-text.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Arial'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo'), local('FreeSans'); size-adjust: 105.8%; }
@font-face { font-family: 'Instrument DejaVu'; src: local('DejaVu Sans'); size-adjust: 90.2%; }

:root {
  --paper: #F1DFC8;
  --paper-2: #E8D3B8;
  --paper-3: #F7ECDD;
  --ink: #000000;
  /* the same mixes worked out by hand, for browsers before color-mix (Chrome and Edge before 111, on older Chromebooks) */
  --ink-2: #302D28;
  --ink-3: #5C554C;
  --rule: #BCAE9C;
  --gold: #926E34;
  --live: #1F9D55;
  --amber: #F1A90F;
  --warn-bg: #F4D9A6;
  --warn-ink: #5A3A05;
  --bad: #A3271B;
  --night: #14110D;

  --text: 'Instrument Sans', 'Instrument Arial', 'Instrument DejaVu', system-ui, sans-serif;
  --display: 'Agatho', 'Agatho Georgia', 'Agatho Times', serif;

  --margin: max(16px, 2.5vw);
  --radius: 28px;
  --radius-inner: 16px;
  --pill: 999px;

  /* Motion, from conceptualstudio.co.uk: Framer's label-slide curve. --ease is the old name, kept for app code. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: var(--ease-out);
  --t-fill: 300ms;   /* hover fills and tints */
  --t-press: 160ms;  /* press down */
  --t-turn: 180ms;   /* arrow → to ↗ */
  --t-swap: 560ms;   /* label slide */
  --t-rise: 560ms;   /* sections and lists rising in */

  /* Depth (Josh's site): a contact shadow, then two soft ones for the lift. Light from the top left. */
  --lift: 0 1px 2px rgb(40 24 8 / .12), 0 6px 14px -4px rgb(40 24 8 / .14), 2px 22px 44px -16px rgb(40 24 8 / .36);
  --lift-sm: 0 1px 2px rgb(40 24 8 / .16), 0 6px 14px -6px rgb(40 24 8 / .32);
  --lift-night: 0 1px 2px rgb(0 0 0 / .5), 0 6px 14px -4px rgb(0 0 0 / .35), 0 18px 40px -14px rgb(0 0 0 / .75);

  /* Buttons (Josh's site sizes). Every target is 44px or more. */
  --btn-h: 48px; --btn-px: 22px; --btn-fs: 17px;
  --btn-h-sm: 44px; --btn-px-sm: 18px; --btn-fs-sm: 16px;

  /* Glass dials at the live site's values (site.yml). */
  --g-frost: 1; --g-blur: .67; --g-shine: .65; --g-sat: 1.3;
  --rim: rgb(255 250 240 / calc(.95 * var(--g-shine)));
  --rim-2: rgb(255 250 240 / calc(.55 * var(--g-shine)));
  /* A slab of the site's glass resting on the paper (.glass in components.css): a lifted cream fill, the thick lit rim
     top left with a weaker catch bottom right, a soft glow inside the top, a little shade inside the bottom, the gold
     hairline and the three-step lift. The page behind is plain paper, so panels skip the blur: same look, no cost. */
  --slab-bg: color-mix(in srgb, #FFFAF0 46%, transparent);
  --slab:
    inset 1.5px 1.5px 1px -1px var(--rim), inset -1.5px -1.5px 1px -1px var(--rim-2),
    inset 6px 8px 14px -12px rgb(255 252 246 / calc(.7 * var(--g-shine))),
    inset 0 -8px 14px -12px rgb(110 80 36 / .22),
    inset 0 0 0 .5px rgb(110 80 36 / .2),
    var(--lift);
  color-scheme: light;
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --ink-2: color-mix(in srgb, var(--ink) 80%, var(--paper));
    --ink-3: color-mix(in srgb, var(--ink) 62%, var(--paper));
    --rule: color-mix(in srgb, var(--ink) 22%, var(--paper));
  }
}
::selection { background: var(--gold); color: #F1DFC8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { top: 12px; }

.wrap { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); max-width: 1480px; margin: 0 auto; }

/* ---------- top bar ---------- */
/* The site's nav (Nav.astro + .glass--nav): a floating bar of glass inset from the margins, 60px tall, 28px corners,
   lit rim with a faint red and blue fringe at the ends. The page scrolls under it, so it is real glass: one of only
   three backdrop-filter pieces in the tool (bar, modal, toast), to stay light on Chromebooks. */
.top { position: sticky; top: 0; z-index: 40; padding: 14px max(var(--margin), env(safe-area-inset-right, 0px)) 0 max(var(--margin), env(safe-area-inset-left, 0px)); }
.top__inner {
  max-width: calc(1480px - 2 * var(--margin)); margin: 0 auto; min-height: 60px; padding: 8px 8px 8px 22px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px;
  background: color-mix(in srgb, var(--paper) min(96%, calc(88% * var(--g-frost))), transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgb(255 250 240 / .95), inset -1.5px -1.5px 0 -.5px rgb(255 250 240 / .7),
    inset 3px 0 4px -2px rgb(255 70 40 / .22), inset -3px 0 4px -2px rgb(40 110 255 / .22),
    inset 0 0 14px rgb(255 252 246 / .3), inset 0 0 0 1px rgb(110 80 36 / .14), var(--lift);
}
.studio { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; border-radius: 8px; }
.studio img { height: 30px; width: auto; display: block; }
.studio span { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; color: var(--ink-2); border-left: 1px solid var(--rule); padding-left: 12px; }
/* Nav: Josh's glass pills. Plain text at rest, ink fill on hover, the current page a lifted piece of glass. */
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 7%, var(--paper)); box-shadow: inset 0 1px 2px rgb(40 24 8 / .14), inset 0 -1px 0 rgb(255 252 245 / .6); }
.nav__label { font-size: 15px; color: var(--ink-2); padding: 0 6px 0 10px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill);
  text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.nav a:not([aria-current="page"]) { box-shadow: inset 0 0 0 1px rgb(110 80 36 / .28); }
.nav a[aria-current="page"] {
  background: var(--ink); color: var(--paper);
  box-shadow: inset 1px 1px 0 rgb(255 250 240 / calc(.9 * var(--g-shine))), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .14), var(--lift-sm);
}
@media (hover: hover) { .nav a:hover { background: var(--ink); color: var(--paper); box-shadow: var(--lift-sm); } }
.nav a:active { transform: scale(.97); }
.nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }
.who { position: relative; }
.who__btn {
  display: flex; align-items: center; gap: 10px; min-height: 44px; border: 0; border-radius: var(--pill); padding: 4px 16px 4px 6px; cursor: pointer; font-size: 16px; font-weight: 500;
  background: color-mix(in srgb, #FFFAF0 40%, transparent); color: var(--ink);
  box-shadow: inset 1px 1px 0 rgb(255 250 240 / calc(.9 * var(--g-shine))), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .14), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
@media (hover: hover) { .who__btn:hover { background: var(--ink); color: var(--paper); } }
.who__btn:active { transform: scale(.97); }
.who__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--pill); }
.who__logo { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; flex: none; }
.who__logo svg, .who__logo img { width: 30px; height: 30px; display: block; object-fit: contain; }
/* The account menu drops over the page but is kept solid: no extra blur layer (Chromebooks). */
.menu { position: absolute; right: 0; top: calc(100% + 14px); background: #F8EDDE; border-radius: 24px; box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift); padding: 6px; min-width: 270px; z-index: 50; display: grid; gap: 2px; transform-origin: top right; animation: sheet-in 260ms var(--ease-out) both; }
.menu p { padding: 10px 14px 12px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.menu p strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.menu button, .menu a { display: flex; align-items: center; min-height: 44px; text-align: left; border: 0; background: none; padding: 0 14px; border-radius: 16px; cursor: pointer; font-size: 16px; text-decoration: none; transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
@media (hover: hover) { .menu button:hover, .menu a:hover { background: var(--ink); color: var(--paper); } }
.menu :is(button, a):focus-visible { outline-offset: -2px; border-radius: 16px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---------- page head: one big word on a hairline ---------- */
.head { padding-top: clamp(28px, 5vw, 64px); }
.head__word { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 9vw, 136px); line-height: .92; letter-spacing: -0.015em; margin: 0 0 0 -0.03em; } /* the site's page heading (.ph__h) */
.head__rule { height: 1px; background: var(--ink); margin-top: clamp(12px, 1.6vw, 22px); }
.head__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; padding-top: 14px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; }
.head__row > * { min-width: 0; }
.head__row .muted { color: var(--ink-2); }
.head--small .head__word { font-size: clamp(52px, 6.6vw, 96px); }

/* setup steps: the credits row */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 12px; font-size: 16px; }
.steps li { color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-done::after { content: ""; width: 10px; height: 6px; border-left: 1.6px solid var(--live); border-bottom: 1.6px solid var(--live); transform: rotate(-45deg) translateY(-3px); flex: none; }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.steps b { font-weight: 600; font-variant-numeric: tabular-nums; }

main { padding-bottom: 80px; }
.section { padding-top: 40px; display: grid; gap: 20px; }
.section > h2 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; font-weight: 500; letter-spacing: -0.01em; } /* the site's .mid */
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 60ch; }

/* ---------- buttons ---------- */
/* Josh's button (conceptualstudio.co.uk components.css). A pale pill that sits on the page: lit top edge,
   shaded bottom edge, contact shadow and a soft lift. One change per hover: the fill turns ink and the text
   paper, and the arrow turns → to ↗. Pressing pushes it onto the page (down 1px, 97%) and the lift goes.
   The solid button inverts on hover to the pale pill and rises 1px. Plain buttons on paper get this depth;
   real glass (backdrop blur) is kept for things with the page behind them: the top bar, modals, toasts. */
.btn {
  --fill: color-mix(in srgb, var(--ink) 5%, var(--paper));
  --fill-hover: var(--ink);
  --fill-pressed: color-mix(in srgb, var(--ink) 84%, var(--paper));
  --depth: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 var(--btn-px); border: 1px solid transparent; border-radius: var(--pill);
  background: var(--fill); color: var(--ink); box-shadow: var(--depth);
  font: 500 var(--btn-fs)/1.1 var(--text); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--solid {
  --fill: var(--ink);
  --fill-hover: color-mix(in srgb, var(--ink) 5%, var(--paper));
  --fill-pressed: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --depth: inset 0 1px 0 rgb(255 252 245 / .22), inset 0 -1px 0 rgb(0 0 0 / .3), 0 1px 2px rgb(40 24 8 / .25), 0 8px 18px -8px rgb(40 24 8 / .45);
  color: var(--paper);
}
.btn--sm { min-height: var(--btn-h-sm); padding: 0 var(--btn-px-sm); font-size: var(--btn-fs-sm); }
@media (hover: hover) {
  .btn:hover { background: var(--fill-hover); color: var(--paper); }
  .btn.btn--solid:hover { color: var(--ink); }
  .btn--solid:hover:not(:active):not([disabled]) { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm); }
}
.btn:is(:active, .is-pressed) { background: var(--fill-pressed); color: var(--paper); transform: translateY(1px) scale(.97); box-shadow: inset 0 1px 2px rgb(0 0 0 / .18), 0 1px 1px rgb(40 24 8 / .12); }
.btn.btn--solid:is(:active, .is-pressed) { color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--pill); }
/* Disabled reads as "not yet", not as faded-out text: flat, no lift, still 5:1 text. */
.btn[disabled], .btn[aria-disabled="true"] { --fill: var(--paper-2); --fill-hover: var(--paper-2); --fill-pressed: var(--paper-2); color: var(--ink-2); box-shadow: none; border: 1px dashed color-mix(in srgb, var(--ink) 30%, var(--paper)); cursor: not-allowed; transform: none; }
.btn[disabled]:hover { color: var(--ink-2); }

/* The arrow (Josh's site): a rounded arrow drawn from shapes in the text colour, whatever glyph the markup holds
   (→ stays in the HTML as the fallback). Hover tips it up to ↗. Sizes are in cqw, so it scales with the type. */
.arrow {
  display: inline-block; position: relative; width: .8em; height: .8em; vertical-align: -0.04em; flex: none;
  overflow: hidden; text-indent: 1.5em; white-space: nowrap; color: inherit; container-type: size;
  transform: scaleX(var(--flip, 1)) rotate(var(--turn, 0deg)); transition: transform var(--t-turn) ease-out;
  background:
    radial-gradient(5% 5% at 16.67% 50%, currentColor calc(100% - .5px), transparent) no-repeat,
    linear-gradient(transparent 45%, currentColor 45% 55%, transparent 55%) 47.06% 0 / 64.58% 100% no-repeat;
}
.arrow::before, .arrow::after { content: ""; position: absolute; left: 45.64cqw; width: 48.3cqw; height: 10cqw; border-radius: 5cqw; background: currentColor; }
.arrow::before { top: 31.46cqw; rotate: 45deg; }
.arrow::after { top: 58.54cqw; rotate: -45deg; }
.arrow--back { --flip: -1; }
@media (hover: hover) { :is(.btn, .mc-badge):not([disabled]):hover .arrow { --turn: -45deg; } }
:is(.btn, .mc-badge):focus-visible .arrow { --turn: -45deg; }

/* Label swap (Framer): the offer at rest, the action on hover, sliding in from 12px right.
   Markup: <span class="swap"><span>Export</span><span aria-hidden="true">Save a copy</span></span> */
.swap { display: inline-grid; overflow: hidden; }
.swap > * { grid-area: 1 / 1; transition: transform var(--t-swap) var(--ease-out), opacity var(--t-fill) ease-out; }
.swap > :last-child { transform: translateX(12px); opacity: 0; }
@media (hover: hover) {
  .btn:hover .swap > :first-child { transform: translateX(-12px); opacity: 0; }
  .btn:hover .swap > :last-child { transform: none; opacity: 1; }
}

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.linkbtn { width: fit-content; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; color: var(--ink); }
/* Text links draw the site's footer underline in from the left on hover (.draw in components.css). In running text a
   faint line stays at rest, so a link never relies on hover to be found. Works the same in Firefox. */
:is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a) {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(color-mix(in srgb, currentColor 32%, transparent), color-mix(in srgb, currentColor 32%, transparent)) 0 100% / 100% 1px no-repeat;
  padding-bottom: .08em; transition: background-size 300ms var(--ease-out);
}
@media (hover: hover) { :is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a):hover { background-size: 100% 1px, 100% 1px; } }
:is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a):focus-visible { background-size: 100% 1px, 100% 1px; }
:is(main p, main li, main small) :is(a.btn, a.mc-badge) { background: var(--fill, var(--paper-2)); padding-bottom: 0; }

/* ---------- panels and fields ---------- */
.panel { background: var(--slab-bg); box-shadow: var(--slab); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 18px; min-width: 0; }
/* The site's inner light: a soft highlight from the top left, on a layer under the content. */
:is(.panel:not(.panel--plain), .ldr, .mc-banner, .next-steps, .upload-strip) { position: relative; isolation: isolate; }
:is(.panel:not(.panel--plain), .ldr, .mc-banner, .next-steps, .upload-strip)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 0 0, rgb(255 252 246 / calc(.3 * var(--g-shine))), transparent 55%);
}
.panel--plain { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); }
.panel h3, .panel .h3 { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grid-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.sticky { position: sticky; top: calc(var(--top-h, 68px) + 16px); }

.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 16px; font-weight: 600; }
.field small { color: var(--ink-2); font-size: 16px; }
/* Fields: the site's enquiry form. A faint ink edge on a lighter well, a darker edge on hover, a 2px ink ring on focus.
   Selects draw their own rounded chevron instead of the browser's. */
.input, select.input, textarea.input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-inner); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, #FFFAF0 62%, transparent); font-size: 17px; appearance: none; -webkit-appearance: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
select.input {
  padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px 16px; background-position: right 16px center;
}
@media (hover: hover) { .input:hover, .prefix:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); } }
.input::placeholder, .prefix input::placeholder { color: var(--ink-2); opacity: .8; }
textarea.input { height: auto; min-height: 110px; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.prefix { display: flex; align-items: center; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); background: color-mix(in srgb, #FFFAF0 62%, transparent); border-radius: var(--radius-inner); overflow: hidden; transition: border-color 150ms ease-out; }
.prefix span { padding: 0 4px 0 16px; color: var(--ink-2); }
.prefix input { border: 0; background: transparent; height: 48px; flex: 1; min-width: 0; padding-right: 16px; font-size: 17px; }
.prefix:focus-within { outline: 2px solid var(--ink); }
.prefix input:focus { outline: none; }

/* Tabs: a sunk track with the chosen tab as a lifted cream pill (Josh's glass-pill, current state). */
.tabs { justify-self: start; max-width: 100%; display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 6%, var(--paper)); box-shadow: inset 0 1px 2px rgb(40 24 8 / .12), inset 0 -1px 0 rgb(255 252 245 / .6); flex-wrap: wrap; }
.tabs button {
  min-height: 44px; border: 0; background: transparent; border-radius: var(--pill); padding: 0 18px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; color: var(--ink);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.tabs button[aria-selected="true"] { font-weight: 600; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .18), var(--lift-sm); }
@media (hover: hover) { .tabs button:not([aria-selected="true"]):hover { background: var(--ink); color: var(--paper); } }
.tabs button:active { transform: scale(.97); }
.tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }
/* phones: the views scroll sideways in one row instead of stacking into a blob */
@media (max-width: 640px) { .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs button { white-space: nowrap; flex: none; } }

.drop { display: grid; place-items: center; text-align: center; gap: 6px; padding: 40px 20px; border: 1.5px dashed color-mix(in srgb, var(--ink) 45%, var(--paper)); border-radius: var(--radius); cursor: pointer; transition: background-color var(--t-fill) ease-out, border-color var(--t-fill) ease-out; background: transparent; }
@media (hover: hover) { .drop:hover .btn { background: var(--ink); color: var(--paper); } .drop:hover .arrow { --turn: -45deg; } }
.drop:hover, .drop.is-over { background: var(--slab-bg); border-color: var(--ink); }
.drop strong { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; }
.drop span { color: var(--ink-2); font-size: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 16px; padding: 4px 11px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .6), 0 0 0 .5px rgb(110 80 36 / .2); color: var(--ink-2); }
.chip--live { color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }

/* progress lines (brand finding, file reading) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; animation: rise 500ms var(--ease-out) both; }
.ticks li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg) translateY(-3px); flex: none; }
.ticks li.is-warn::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--amber); transform: none; }
/* Busy: a gold status dot that breathes (status dots are the one thing allowed to loop), never a spinner. */
.ticks li.is-busy::before { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--gold); transform: none; animation: breathe 1.6s ease-in-out infinite; }
.ticks small { display: block; color: var(--ink-2); font-size: 16px; }
@keyframes rise { from { opacity: .001; transform: translateY(10px); } }
@keyframes rise-in { from { opacity: .001; transform: translateY(14px); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* MapCheck's list is written in one go: it must never replay its rise per item (that was the flashing). */
.ticks--mc li { animation: none; }

/* ---------- brand editor ---------- */
.logo-slot { display: flex; gap: 16px; align-items: center; }
.logo-slot__img { width: 88px; height: 88px; border-radius: 20px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; border: 1px solid var(--rule); }
.logo-slot__img svg, .logo-slot__img img { width: 72px; height: 72px; object-fit: contain; }
.logo-tile { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-tile--dark { background: #1E1A1B; }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swatch { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.swatch input[type="color"] { width: 48px; height: 48px; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; }
.swatch input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.swatch input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 14px; }
.swatch strong { display: block; font-size: 16px; font-weight: 600; }
.swatch span { font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pass { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.pass::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.swatch :is(.pass, .fail) { white-space: normal; }
.swatch .fail { border-radius: 10px; }
.fail { display: inline-block; margin-top: 4px; font-size: 16px; padding: 2px 8px; border-radius: var(--pill); background: var(--warn-bg); color: var(--warn-ink); white-space: nowrap; }
.fontpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.specimen { font-size: 28px; line-height: 1.1; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.specimen--body { font-size: 17px; line-height: 1.4; white-space: normal; }

/* ---------- the map sheet (the exhibit) ---------- */
.sheet { background: #fff; border-radius: var(--radius-inner); overflow: hidden; box-shadow: var(--lift); line-height: 0; }
.sheet svg { width: 100%; height: auto; display: block; }
.sheet .district, .sheet .area { cursor: pointer; transition: opacity .15s; }
.sheet .district:hover, .sheet .area:hover, .sheet .area:focus { opacity: .82; outline: none; }
/* The site's plate caption: the only small caps. Bold title line over a light line. */
.caption { font-size: 16px; line-height: 1.55; padding-top: 14px; color: var(--ink); }
.caption b { font-weight: 600; display: block; }
.caption span { color: var(--ink-2); font-weight: 400; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--night); color: var(--paper); padding: 8px 12px; border-radius: 12px; font-size: 16px; line-height: 1.35; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tip b { font-weight: 600; }

/* filters */
.filters { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: end; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.filters .field { min-width: 150px; flex: 1 1 150px; max-width: 230px; }
.filters .field > label { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.filters select.input { height: 44px; font-size: 16px; border-radius: var(--pill); padding: 0 40px 0 16px; background-position: right 14px center; }
.toggles { display: flex; gap: 6px; flex-wrap: wrap; }
/* Map layer toggles: Josh's pill. Off is a pale pill with an empty ring; on is a lifted cream pill with a
   filled dot and bold text, so the state never rests on colour alone. Hover deepens the tint (one change). */
.toggle {
  min-height: 44px; border: 1px solid transparent; border-radius: var(--pill); padding: 0 16px 0 14px; font-size: 16px; font-weight: 500; cursor: pointer; color: var(--ink);
  display: inline-flex; gap: 8px; align-items: center;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10);
  transition: background-color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.toggle::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; transition: background-color var(--t-fill) ease-out; }
.toggle[aria-pressed="true"], .toggle[aria-checked="true"], .toggle[data-on] { font-weight: 600; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .22), var(--lift-sm); }
.toggle[aria-pressed="true"]::before, .toggle[aria-checked="true"]::before, .toggle[data-on]::before { background: var(--ink); }
@media (hover: hover) { .toggle:hover { background: color-mix(in srgb, var(--ink) 12%, var(--paper)); } .toggle[aria-pressed="true"]:hover { background: #FFF4E4; } }
.toggle:active { transform: scale(.97); }
.toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }

.report { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-top: 24px; }
.side { display: grid; gap: 22px; min-width: 0; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.fig strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 3.6vw, 56px); line-height: .92; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; } /* the home page's stat figures */
.fig span { font-size: 16px; color: var(--ink-2); line-height: 1.3; display: block; padding-top: 4px; }
.block { border-top: 1px solid var(--rule); padding-top: 12px; display: grid; gap: 10px; }
.block h2 { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 90px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.bar__t { height: 12px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.bar__t i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.bar b { text-align: right; font-weight: 600; }
.bars--time .bar { grid-template-columns: 112px minmax(0, 1fr) 44px; }
.jt-typical { margin: 12px 0 10px; font-size: 16px; color: var(--ink-2); }
.jt-typical strong { display: block; font-size: 28px; line-height: 1.1; color: var(--ink); }
.places { list-style: none; margin: 0; padding: 0; display: grid; }
.places li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-variant-numeric: tabular-nums; }
.places li > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; min-width: 0; }
.places li > span em { margin-left: 0; }
.places li > b { white-space: nowrap; flex: none; }
.places li:last-child { border-bottom: 0; }
.places em { font-style: normal; font-size: 16px; color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--pill); padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.places em.wrap { white-space: normal; display: inline-block; margin: 2px 0 0; }
.places .step { display: block; margin-top: 4px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.findings { margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; font-size: 16px; line-height: 1.45; }
.findings li::marker { color: var(--gold); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-inner); }
.tbl { border-collapse: collapse; width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; font-size: 16px; color: var(--ink-2); padding: 8px 12px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl select.input { height: 40px; font-size: 16px; border-radius: 12px; padding: 0 36px 0 12px; min-width: 190px; background-position: right 12px center; background-size: 14px 14px; }
.tbl code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; background: #FFFBF5; padding: 2px 6px; border-radius: 6px; }
.conf { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.conf--hi::before, .conf--drop::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--live); }
.conf--drop::before { background: var(--ink-3); }
.sample { color: var(--ink-2); font-size: 16px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.found { display: grid; gap: 0; }
.found__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.found__item:first-child { border-top: 1px solid var(--rule); }
.found__item strong { font-weight: 600; display: block; }
.found__item small { color: var(--ink-2); font-size: 16px; display: block; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: -8px -2px; opacity: 0; margin: 0; cursor: pointer; } /* a 44px tall target */
.switch i { position: absolute; inset: 0; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 52%, var(--paper)); box-shadow: inset 0 1px 2px rgb(0 0 0 / .2); transition: background-color var(--t-fill) ease-out; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFAF0; transition: transform var(--t-fill) var(--ease-out); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(40 24 8 / .3), 0 3px 6px -2px rgb(40 24 8 / .3); }
.switch input:checked + i { background: var(--live); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }

.campus-row { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, .8fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.campus-row input[type="color"] { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.campus-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.campus-row input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 50%; }
.campus-row .input { height: 44px; }
.campus-row small { color: var(--ink-2); font-size: 16px; display: block; }
.num { font-variant-numeric: tabular-nums; }

/* sign in */
.signin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 80px); padding-top: 36px; align-items: start; }
.signin form { display: grid; gap: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.creds { display: grid; gap: 10px; }
.cred { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.cred code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; }
.error { color: var(--bad); font-size: 16px; }
.ms { width: 18px; height: 18px; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ms i { display: block; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
/* Josh's veil (his phone menu): the page behind blurs and darkens a little, then the panel, a sheet of light
   glass, rises 14px into place. The panel tint is high (88%) so tables and forms read cleanly. */
.modal__bg { position: absolute; inset: 0; background: rgb(34 29 23 / .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade 300ms ease-out both; }
.modal__panel {
  position: relative; border-radius: var(--radius); width: min(1180px, 100%); max-height: calc(100% - 32px); overflow: auto; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow:
    inset 1.5px 1.5px 1px -1px var(--rim), inset -1.5px -1.5px 1px -1px var(--rim-2),
    inset 6px 8px 14px -12px rgb(255 252 246 / calc(.7 * var(--g-shine))),
    inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift);
  animation: pop 420ms var(--ease-out) both;
  overscroll-behavior: contain;
}
.modal__panel--narrow { width: min(620px, 100%); }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
@media (hover: hover) { .modal__close:hover { background: var(--ink); color: var(--paper); } }
.modal__close:active { transform: scale(.94); }
.modal__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 50%; }
.modal h2 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; font-weight: 500; padding-right: 48px; letter-spacing: -0.01em; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

.export { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.export__preview { background: var(--paper-2); border-radius: var(--radius-inner); padding: 16px; display: grid; place-items: center; min-height: 300px; }
.export__preview img { max-width: 100%; max-height: 62vh; box-shadow: var(--lift); background: #fff; }
.presets { display: grid; gap: 8px; }
.preset { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 16px; cursor: pointer; }
.preset { transition: background-color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out; }
.preset:has(input:checked) { border-color: transparent; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 0 0 1px var(--ink), var(--lift-sm); }
.preset input { margin: 4px 0 0; accent-color: #000; grid-row: span 2; }
.preset strong { font-weight: 600; font-size: 16px; }
.preset small { color: var(--ink-2); font-size: 16px; }
/* two columns of formats on a laptop, so the Save button is on screen without scrolling */
@media (min-width: 1101px) { .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .preset { align-content: start; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 16px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.checks input { accent-color: #000; width: 16px; height: 16px; }

/* privacy page */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.flow > div { padding: 16px 18px 18px 0; display: grid; gap: 6px; align-content: start; }
.flow > div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.flow strong { font-family: var(--display); font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.flow p { color: var(--ink-2); font-size: 16px; }
.flow .where { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: #765A2A; /* gold, darkened to 4.5 to 1 on the page */ font-weight: 600; }
.prose { max-width: 70ch; display: grid; gap: 14px; font-size: 17px; }
.prose h3 { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; padding-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
/* A note to read: a slab of glass with the amber dot (the site's only other status colour), never a yellow box. */
.note { position: relative; background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); color: var(--ink); border-radius: var(--radius-inner); padding: 13px 18px 13px 38px; font-size: 16px; }
.note::before { content: ""; position: absolute; left: 18px; top: calc(13px + .72em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.night-band { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; }
.night-band p { color: color-mix(in srgb, var(--paper) 72%, var(--night)); }

/* Toast: Josh's dark glass, floating over whatever is on screen. */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px 12px 18px; border-radius: var(--pill); max-width: calc(100% - 32px);
  color: #F1DFC8; font-size: 16px; font-weight: 500;
  background: rgb(34 29 23 / .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 1.5px 1.5px 0 -.5px rgb(237 220 180 / calc(.7 * var(--g-shine))), inset -1px -1px 0 -.5px rgb(237 220 180 / calc(.35 * var(--g-shine))), var(--lift-night);
  animation: toast-in 420ms var(--ease-out) both;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FD37E; flex: none; }

/* The close: the site's footer chapter in warm black (never #000), the big cream wordmark on a hairline and the small
   print under it. No painting behind it. */
.foot-wrap { padding-bottom: max(var(--margin), env(safe-area-inset-bottom, 0px)); }
.foot {
  margin-top: 72px; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px) 24px; border-radius: var(--radius); container-type: inline-size;
  background: var(--night); color: #F1DFC8;
  box-shadow: inset 1.5px 1.5px 1px -1px rgb(237 220 180 / .4), inset -1.5px -1.5px 1px -1px rgb(237 220 180 / .16), var(--lift);
}
.foot__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; flex-wrap: wrap; padding-bottom: clamp(36px, 6vw, 88px); }
.foot__h { font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.foot__top .status { color: color-mix(in srgb, #F1DFC8 72%, var(--night)); }
.foot__top .status::before { background: #3FD37E; }
.foot__word { font-family: var(--display); font-weight: 500; font-size: calc(100cqi / 6.32); line-height: .86; letter-spacing: -0.035em; white-space: nowrap; padding-top: .06em; border-top: 1px solid currentColor; text-align: center; }
.foot__row { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: clamp(20px, 3vw, 36px); font-size: 16px; color: color-mix(in srgb, #F1DFC8 72%, var(--night)); }
.foot ::selection { background: #D9BE91; color: var(--night); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  #brand-editor .sticky { order: -1; position: static; }
  .report { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .figs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-aside, .export { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2, .signin, .fontpair, .swatches { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: minmax(0, 1fr); }
  .figs { grid-template-columns: 1fr 1fr; }
  .fig strong { font-size: 36px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .campus-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .campus-row .pc, .campus-row .src, .campus-row [data-del] { grid-column: 2 / -1; }
  .campus-row [data-del] { justify-self: start; }
  .filters .field { max-width: none; }
  /* On a phone the bar takes two rows (mark and college, then the pages in one row that scrolls sideways), too tall
     to keep on screen, so it scrolls away with the page. */
  .top { position: relative; padding-top: 10px; }
  .top__inner { flex-wrap: wrap; column-gap: 8px; padding: 6px 6px 6px 16px; }
  .studio img { height: 26px; }
  .who__btn { padding-right: 14px; }
  .nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -6px 0 -12px; padding: 2px 4px 4px; scroll-padding-inline: 12px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 0 13px; flex: none; }
  .studio span { display: none; }
  .who__btn > span:last-child { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  /* iteration-count 1 matters: an infinite animation at .01ms would flicker. */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* PDF export: print only the prepared pages */
.print-pages { display: none; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  body { background: #fff; }
  body > *:not(.print-pages) { display: none !important; }
  .print-pages { display: block; }
  .print-page { width: 297mm; height: 210mm; break-after: page; overflow: hidden; }
  .print-page img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .print-text { padding: 16mm 18mm; font: 11pt/1.45 'Instrument Sans', Arial, sans-serif; color: #000; display: grid; gap: 5mm; align-content: start; }
  .print-text h1 { font-size: 18pt; }
  .print-text h2 { font-size: 12pt; }
  .print-text table { border-collapse: collapse; width: 100%; }
  .print-text th, .print-text td { text-align: left; border-bottom: .3mm solid #bbb; padding: 1.4mm 2mm; }
}

/* keyboard users can reach every file picker */
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; background: var(--paper-3); }
.drop .btn { margin-top: 10px; pointer-events: none; }

/* "More options" folds away what most people never need */
.more { border-top: 1px solid var(--rule); padding-top: 14px; }
.more > summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 44px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; flex: none; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm); transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
@media (hover: hover) { .more > summary:hover::before { background: var(--ink); color: var(--paper); } }
.more[open] > :not(summary) { animation: sheet-in 320ms var(--ease-out) both; }
.more[open] > summary::before { content: "–"; }
.more[open] > summary { margin-bottom: 12px; }

/* MapCheck */
.mc-banner { border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px); display: grid; gap: 8px; background: var(--slab-bg); box-shadow: var(--slab); }
.mc-banner strong::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 14px; vertical-align: .16em; background: var(--ink-3); }
.mc-banner strong { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
.mc-banner span { color: var(--ink-2); font-size: 16px; }
.mc-banner.is-pass strong::before { background: var(--live); box-shadow: 0 0 6px 1px rgb(31 157 85 / .35); }
.mc-banner.is-warn strong::before { background: var(--amber); }
.mc-banner.is-fail strong::before { background: var(--bad); } .mc-banner.is-fail strong { color: var(--bad); }
.mc-page { display: grid; gap: 22px; }
.mc-for { color: var(--ink-2); font-size: 16px; }
.mc-group { border-top: 1px solid var(--rule); padding-top: 16px; display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 16px; }
.mc-group h3, .mc-group .h3 { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.ticks--mc { gap: 14px; }
.ticks--mc em { font-style: normal; font-size: 16px; font-weight: 600; padding: 2px 10px; border-radius: var(--pill); background: color-mix(in srgb, var(--amber) 22%, var(--paper)); color: var(--warn-ink); margin-left: 6px; }
.ticks li.is-fail::before { width: 10px; height: 10px; border: 0; border-radius: 2px; background: var(--bad); transform: none; }
.ticks li.is-fail em { background: #F2D3CC; color: var(--bad); }
/* MapCheck's stamp beside each map: a card of lifted glass. Hover is the site's card hover: a brighter cream
   lift and the arrow tipping to ↗ (one change), never a colour filter. */
.mc-badge { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 16px; border-radius: var(--radius-inner); font-size: 16px; text-decoration: none; color: var(--ink); background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2); transition: background-color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out), box-shadow var(--t-fill) ease-out; }
:is(a, button).mc-badge { box-shadow: inset 1px 1px 0 var(--rim), inset 0 -1px 0 rgb(110 80 36 / .10), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); }
@media (hover: hover) { :is(a, button).mc-badge:hover { background: color-mix(in srgb, #FFFAF0 78%, transparent); } }
:is(a, button).mc-badge:active { transform: scale(.985); box-shadow: none; }
.mc-badge b { font-weight: 600; }
.mc-badge b::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.mc-badge span { color: var(--ink-2); font-size: 16px; }
.mc-badge.is-warn b::before { border: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transform: none; vertical-align: .1em; }
.mc-badge.is-fail b { color: var(--bad); }
.mc-badge.is-fail b::before { border: 0; width: 10px; height: 10px; background: var(--bad); transform: none; border-radius: 2px; }
@media (max-width: 760px) { .mc-group { grid-template-columns: 1fr; gap: 8px; } .mc-banner strong { font-size: 20px; } }
@media (max-width: 760px) { .cred { grid-template-columns: 1fr; } }

/* ---------- v04: recruitment ---------- */
.upload-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.upload-strip strong { display: block; font-size: 17px; }
.upload-strip span { color: var(--ink-2); font-size: 16px; }
.legend-key { display: flex; gap: 18px; font-size: 16px; color: var(--ink-2); padding-bottom: 8px; }
.legend-key span { display: inline-flex; align-items: center; gap: 6px; }
.k { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.k--last, .b--last { background: #B8B0A7; }
.k--now, .b--now { background: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; }
.month { display: grid; grid-template-rows: 96px auto auto; gap: 4px; text-align: center; font-size: 16px; color: var(--ink-2); }
.month > span:first-child { order: 2; }
.month__bars { order: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 96px; }
.month__bars .b { width: 7px; border-radius: 4px 4px 0 0; display: block; min-height: 0; }
.month small { order: 3; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; min-height: 1em; }
.flag { display: inline-block; font-size: 16px; font-weight: 600; padding: 2px 10px; border-radius: var(--pill); white-space: nowrap; }
.flag--down { background: #F3D6D1; color: #7A2420; }
.flag--up { background: #D5E2F2; color: #1F4373; }
.flag--down::before { content: "▼ "; }
.flag--up::before { content: "▲ "; }
button.mc-badge { border: 0; cursor: pointer; text-align: left; font: inherit; }
@media (max-width: 760px) { .month { grid-template-rows: 70px auto auto; } .month__bars { height: 70px; } .month__bars .b { width: 5px; } }

/* ---------- v05: motion on view change ---------- */
/* loader.js puts .is-entering on <main> for a moment when the route changes (not when a view redraws itself),
   so each new page rises in once, Josh's way: 14px, 560ms, his curve, sections 60ms apart, list rows 40ms
   apart (capped, so a long list never waits). Nothing here runs under Reduce Motion. */
@media (prefers-reduced-motion: no-preference) {
  main.is-entering > * { animation: rise-in var(--t-rise) var(--ease-out) both; animation-delay: calc(var(--s, 0) * 60ms); }
  main.is-entering > :nth-child(2) { --s: 1; } main.is-entering > :nth-child(3) { --s: 2; }
  main.is-entering > :nth-child(4) { --s: 3; } main.is-entering > :nth-child(n+5) { --s: 4; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div) {
    animation: rise-in 500ms var(--ease-out) both; animation-delay: calc(120ms + var(--n, 0) * 40ms);
  }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(2) { --n: 1; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(3) { --n: 2; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(4) { --n: 3; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(5) { --n: 4; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(6) { --n: 5; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(7) { --n: 6; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(n+8) { --n: 7; }
  /* A result that replaces the loader: its own blocks rise in, in order. */
  .ttl-enter > * { animation: rise-in var(--t-rise) var(--ease-out) both; }
  .ttl-enter > :nth-child(2) { animation-delay: 60ms; } .ttl-enter > :nth-child(3) { animation-delay: 120ms; } .ttl-enter > :nth-child(n+4) { animation-delay: 180ms; }
}

/* ---------- v05: the loader (loader.js) ---------- */
/* A centred spinning circle, with the title and a line saying what is happening right under it, and the
   steps below that. All steps are drawn from the start and only their state changes, so the box never
   changes size while it works. */
.ldr {
  display: grid; justify-items: center; gap: 18px; padding: clamp(28px, 4vw, 48px) clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius); background: var(--slab-bg); text-align: center; box-shadow: var(--slab);
  transition: opacity 240ms ease-out;
}
.ldr.is-leaving { opacity: 0; }
.ldr__spin { width: 44px; height: 44px; border-radius: 50%; border: 3.5px solid color-mix(in srgb, var(--ink) 12%, transparent); border-top-color: var(--ink); animation: ldr-spin 0.9s linear infinite; }
@keyframes ldr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ldr__spin { animation-duration: 2.4s; } }
.ldr[data-state="done"] .ldr__spin, .ldr[data-state="fail"] .ldr__spin { animation: none; }
.ldr[data-state="done"] .ldr__spin { border-color: var(--live); }
.ldr[data-state="fail"] .ldr__spin { border-color: var(--bad); }
.ldr__text { display: grid; gap: 6px; justify-items: center; max-width: 560px; }
.ldr__title { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
.ldr__now { min-height: calc(2 * 1.45em); font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.ldr__now > span { transition: opacity 200ms ease-out; }
.ldr__now.is-swapping > span { opacity: 0; }
.ldr__steps { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 16px; line-height: 1.35; text-align: left; width: min(100%, 460px); }
.ldr__steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); transition: color var(--t-fill) ease-out; }
.ldr__steps li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid color-mix(in srgb, var(--ink) 45%, var(--paper));
  transition: background-color var(--t-fill) ease-out, border-color var(--t-fill) ease-out;
}
.ldr__steps li.is-now { color: var(--ink); } /* same weight in every state, so a line never re-wraps and the box never changes size */
.ldr__steps li.is-now::before { border: 2px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3.5px, transparent 4px); }
.ldr__steps li.is-done { color: var(--ink); }
.ldr__steps li.is-done::before {
  border-color: var(--ink); background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.4 2.6 2.6L14 7.6' fill='none' stroke='%23F1DFC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.ldr__steps li.is-fail { color: var(--bad); }
.ldr__steps li.is-fail::before { border-color: var(--bad); background: var(--bad); border-radius: 5px; }
.ldr__fail { display: grid; gap: 14px; }
.ldr__fail[hidden] { display: none; }

/* ---------- v05: accessibility fallbacks for glass and depth (Josh's site rules) ---------- */
/* Reduce Transparency: glass becomes solid paper or warm black. */
@media (prefers-reduced-transparency: reduce) {
  .top__inner { background: var(--paper-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal__bg { background: rgb(34 29 23 / .7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal__panel { background: var(--paper); }
  .toast { background: #221D17; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a[aria-current="page"], .who__btn { background: var(--paper-3); }
}
/* Increase Contrast: solid fills and a 2px ink outline on every control. */
@media (prefers-contrast: more) {
  :root { --ink-2: color-mix(in srgb, var(--ink) 80%, var(--paper)); --rule: color-mix(in srgb, var(--ink) 55%, var(--paper)); }
  .top__inner { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 2px var(--ink); }
  .modal__panel { background: var(--paper); outline: 2px solid var(--ink); outline-offset: -2px; }
  .toast { background: #14110D; outline: 2px solid #F1DFC8; outline-offset: -4px; }
  .btn, .toggle, .tabs, .who__btn, .modal__close, .nav a[aria-current="page"] { border: 2px solid var(--ink); }
  .toggle[aria-pressed="true"], .tabs button[aria-selected="true"] { outline: 2px solid var(--ink); outline-offset: -2px; }
  :focus-visible { outline-width: 3px !important; }
}
/* Windows High Contrast and similar: shadows vanish, so give controls real borders. */
@media (forced-colors: active) {
  .btn, .toggle, .tabs button, .who__btn, .modal__close, .nav a { border: 1px solid ButtonText; }
  .arrow, .arrow::before, .arrow::after { forced-color-adjust: none; color: ButtonText; }
  .ldr__steps li::before { forced-color-adjust: none; }
}

/* change the look, next to the map */
.look { padding: 4px 0 6px; border-bottom: 1px solid var(--rule); }
.look > summary { gap: 12px; flex-wrap: wrap; }
.look__body { display: grid; gap: 16px; padding-bottom: 10px; }
.look__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.look__sw { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.look__sw input[type=color] { width: 48px; height: 48px; border: 0; padding: 0; border-radius: 14px; background: none; cursor: pointer; flex: none; }
.look__sw span { display: grid; gap: 2px; }
.look__sw small { color: var(--ink-2); font-size: 16px; }
/* what to do next, shown once after set-up */
.next-steps { display: flex; gap: 16px; justify-content: space-between; align-items: start; padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px); margin: 18px 0 4px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.next-steps ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); }
.next-steps a { color: var(--ink); }
@media (max-width: 560px) { .next-steps { flex-direction: column; } }

/* Your college: register search results */
.picks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pick { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 14px 18px; border-radius: var(--radius-inner); border: 0; min-height: 44px;
  background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 -1px 0 rgb(110 80 36 / .10), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out); }
/* A row you pick is a card: the site's cream hover and the arrow sliding in, tipped to ↗. */
@media (hover: hover) { .pick:hover { background: color-mix(in srgb, #FFFAF0 82%, transparent); } }
.pick:active { transform: scale(.985); }
.pick small { display: block; color: var(--ink-2); font-size: 16px; padding-top: 3px; }
/* on a phone the grey note under a "more" heading goes on its own line, not squeezed beside it */
@media (max-width: 760px) { .more > summary { flex-wrap: wrap; row-gap: 2px; } .more > summary > .muted { flex: 1 0 100%; padding-left: 40px; } }

.table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* an unexpected error: a calm note pinned to the bottom of the screen */
.oops { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); z-index: 200; box-shadow: var(--lift-sm); }
.oops code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; }

/* on a phone the map keeps a readable size and scrolls sideways inside its frame, instead of shrinking until its labels can't be read */
@media (max-width: 640px) { .sheet { overflow-x: auto; overscroll-behavior-x: contain; } .sheet > svg { min-width: 640px; } }
.sheet:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 1000px) { .studio span { display: none; } }
.next-steps summary { cursor: pointer; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.next-steps .linkbtn { white-space: nowrap; }
html { scroll-padding-top: 110px; }
/* a short screen (a laptop zoomed in) cannot spare a bar that stays on screen */
@media (max-height: 620px) { .top { position: relative; } html { scroll-padding-top: 16px; } }
small { font-size: max(16px, 0.9em); }
@media (max-height: 620px) {
  .head__word, .head--small .head__word { font-size: 48px; }
  .head__row { padding-top: 8px; font-size: 17px; }
}
.map-options { display: grid; gap: 4px; margin-top: 8px; border-top: 1px solid var(--rule); }
.map-options > .note { margin: 0; }
.ticks li.ticks__more { display: block; }
.ticks li.ticks__more::before { content: none; }
.ticks__more .ticks { padding-top: 6px; }
.logo-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pick { width: 132px; height: 72px; padding: 8px; border-radius: 14px; border: 2px solid var(--rule); background: #fff; cursor: pointer; display: grid; place-items: center; }
.logo-pick img { max-width: 100%; max-height: 100%; }
.logo-pick[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.understood { font-size: 17px; margin: 12px 0 4px; color: var(--ink); }
.export .para { font-size: 17px; line-height: 1.55; margin: 4px 0 8px; padding: 14px 16px; border-left: 3px solid var(--ink-2); background: color-mix(in srgb, var(--ink) 4%, transparent); }

/* A group of colleges: the "which map" switch, the colleges list, campuses under each college */
.switch-view { display: grid; gap: 8px; padding-top: 18px; }
.switch-view .label { font-size: 16px; font-weight: 600; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; vertical-align: -2px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.dot--big { width: 22px; height: 22px; margin: 0; }
.toggles--big .toggle { min-height: 52px; font-size: 17px; padding: 0 20px 0 16px; }
.member-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.member-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.member-row small { display: block; color: var(--ink-2); font-size: 16px; }
.member-row .row { gap: 8px; }
.member-block { padding: 6px 0 14px; }
.member-block + .member-block { border-top: 2px solid var(--rule); }
.member-block__head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0 4px; }
.member-block__head small { display: block; color: var(--ink-2); font-size: 16px; }
.member-block__head input[type="color"] { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.member-block__head input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.member-block__head input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 50%; }
.campus-row__member { grid-column: 2 / -1; display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--ink-2); }
.campus-row__member .input { max-width: 320px; }
@media (max-width: 640px) { .member-row { grid-template-columns: 22px minmax(0, 1fr); } .member-row > :last-child { grid-column: 2; } }

/* the recruitment year and what's changed since the last export */
.year, .since { margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.since ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 17px; }
.year__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.year__step { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-inner); background: var(--paper, #fff); border: 1px solid rgb(0 0 0 / .08); font-size: 16px; }
.year__step span { color: var(--ink-2); }
.year__step b { font-weight: 700; }
.year__step.is-done b { color: var(--ok, #2f6b3a); }
.year__step.is-now, .year__step.is-next { border: 2px solid var(--ink); }
.year__step.is-missed b, .year__step.is-later b { color: var(--ink-2); font-weight: 600; }

/* v06: the check before the maps open. One list, large type, each line with its fix beside it */
.ticks--review { gap: 16px; margin-bottom: 6px; }
.ticks--review > li { font-size: 19px; font-weight: 600; padding: 14px 0 0; border-top: 1px solid var(--rule); }
.ticks--review > li:first-child { border-top: 0; padding-top: 0; }
.ticks--review small { font-weight: 400; font-size: 17px; line-height: 1.5; margin-top: 4px; }
.ticks li.is-none::before { width: 10px; height: 10px; border: 1.6px solid var(--ink-3); border-radius: 50%; transform: none; }
.swatches { display: inline-flex; gap: 6px; align-items: center; vertical-align: middle; margin-left: 12px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.swatches .logo-tile { width: auto; height: 28px; padding: 0 6px; border-radius: 6px; }
.swatches .logo-tile img, .swatches .logo-tile svg { height: 22px; width: auto; }
.btn--big { min-height: 56px; padding: 0 28px; font-size: 19px; }
.pitch-panel { margin-top: 28px; max-width: 980px; }
.pitch-list { margin: 14px 0; padding-left: 22px; display: grid; gap: 10px; font-size: 18px; line-height: 1.5; }
