/*
 * Spry CSS theme "airy" — glossy sky-and-glass desktop
 * ----------------------------------------------------------------
 * Light-only. One fixed sky gradient page (no wallpaper), white push
 * buttons, gel command buttons, hot/selected list states, compact menus
 * with a glossy blue hover, glossy green progress with a sweeping shine,
 * and dialogs drawn as ONE glass window frame. Activated with
 * <html data-theme="airy"> or the demo radio #spry-theme-airy.
 */

/* The progress shine sweep: layer 2 of the value background is a diagonal
   light band, sized 300% and swept left-to-right by background-position. */
@keyframes airy-progress-shine {
  /* five layers: the 300%-wide shine sweeps; the rest hold */
  from { background-position: 100% 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0% 0, 0 0, 0 0, 0 0, 0 0; }
}

/* The marquee: a 40%-wide shine fully enters, crosses, and exits by
   60% of the cycle, then holds (a faked delay). Position p%
   for a 40% layer maps to p x 60% of the track: out-left = -167%, out-right = +167% */
/* The focused-button pulse: an inner cyan glow breathing */
@keyframes airy-focus-pulse {
  from { box-shadow: inset 0 0 3px 1px rgb(52 222 255 / 0.87); }
  to { box-shadow: inset 0 0 1px 1px rgb(52 222 255 / 0.87); }
}

@keyframes airy-marquee {
  /* 35%-wide green sweep: p% maps to p x 65% — out-left = -154%, out-right = +154% */
  0% { background-position: -154% 50%, 0 0, 0 0, 0 0, 0 0; }
  60% { background-position: 154% 50%, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 154% 50%, 0 0, 0 0, 0 0, 0 0; }
}

[data-theme="airy"],
html:has(#spry-theme-airy:checked) {
  color-scheme: light; /* light-only: dark mode is ignored */

  /* ---- Palette ---- */
  --spry-bg: #dff3f8;              /* sky tone: avatar rings, wells */
  --spry-bg-alt: rgb(255 255 255 / 0.55);
  --spry-bg-inset: #eff6fb;
  --spry-surface: rgb(255 255 255 / 0.82); /* glass fill: cards, popovers */
  --spry-surface-hover: rgb(255 255 255 / 0.9);
  --spry-fg: #1e1e1e;
  --spry-fg-muted: #4f5e6e;        /* muted blue-grey ink */
  --spry-border: rgb(154 194 224 / 0.7);
  --spry-border-strong: #5794bf;   /* textbox hover edge */
  --spry-accent: #1477c9;          /* command blue */
  --spry-accent-hover: #1165ab;
  --spry-accent-fg: #ffffff;
  --spry-danger: #b8312a;          /* deep enough for text on the sky glass */
  --spry-success: #217a2c;
  --spry-warning: #f2a71b;
  --spry-info: #0e8fb0;
  --spry-link: #0066cc;            /* link blues */
  --spry-link-hover: #1667c4;      /* the bright #3399ff hover falls to 2.6:1 on white */
  --spry-heading-color: #003399;
  --spry-heading-weight: 400;      /* headings are regular-weight blue */
  --spry-backdrop: rgb(0 26 51 / 0.28); /* a light scrim, so the glass still shows the page through it */

  /* ---- Typography: compact 12px UI text; radii 3/2/6 ---- */
  --spry-font: "Segoe UI", Selawik, Frutiger, "Frutiger Linotype", "Myriad Pro",
    "Open Sans", system-ui, sans-serif;
  --spry-font-heading: var(--spry-font);
  --spry-font-mono: ui-monospace, Consolas, "Lucida Console", Menlo, monospace;
  --spry-font-size: 0.85rem;
  --spry-line-height: 1.5;
  --spry-radius: 3px;
  --spry-radius-sm: 2px;
  --spry-radius-lg: 6px;
  --spry-radius-pill: 999px;
  --spry-border-width: 1px;
  --spry-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 1px 3px rgb(20 60 110 / 0.18);
  --spry-shadow-lg: inset 0 0 0 1px rgb(255 255 255 / 0.7), 0 12px 32px rgb(0 30 80 / 0.35);
  --spry-glass: blur(12px) saturate(1.7); /* topbar, cards, popovers, dialogs */
  --spry-transition: 120ms ease;

  /* windows glide in (T ≈ 240ms): tipped 12° toward the viewer over 1100px
      perspective, scale 0.86→1 and alpha 0→1, levelling flat as it lands —
      cubic ease-out f(t) = 1-(1-t)^3 — f(0.5) = 0.875, a fast start gliding
      to a soft landing. cubic-bezier(1/3, 1, 2/3, 1) IS that curve exactly
      (x(s) collapses to s). Closing mirrors it on t^3 — exactly
      cubic-bezier(1/3, 0, 2/3, 0) — and slightly faster. Transform + opacity
      only, so the whole flight is compositor-driven. Anchored popovers add a
      small translate toward their trigger (rule below), anchoring the scale
      origin to the launching point. Motion vars only — the core's two-state
      rules are never touched; drawers keep the core's own translateX
      --spry-dialog-in (docked panels, not windows). */
  --spry-dialog-duration: 240ms;
  --spry-dialog-ease: cubic-bezier(0.3333, 1, 0.6667, 1);
  --spry-dialog-close-duration: 200ms;
  --spry-dialog-close-ease: cubic-bezier(0.3333, 0, 0.6667, 0);
  --spry-dialog-in: perspective(1100px) rotateX(12deg) scale(0.86);

  /* ---- Controls: white wells, #abadb3 edge, blue focus halo ---- */
  --spry-control-bg: #ffffff;
  --spry-control-fg: var(--spry-fg);
  --spry-control-border: #abadb3;
  --spry-control-radius: 3px;
  --spry-control-padding-x: 0.65rem;
  --spry-control-padding-y: 0.35rem;
  --spry-focus-ring: 0 0 4px rgb(61 123 173 / 0.55);
  /* The faces ride the core tokens (gradients are valid backgrounds), so
     .btn:hover/:active render the same through [data-theme] and the radio */
  --spry-btn-bg: var(--airy-btn);
  --spry-btn-fg: var(--spry-fg);
  --spry-btn-border: #707070;
  --spry-btn-bg-hover: var(--airy-btn-hover);
  --spry-btn-bg-active: var(--airy-btn-pressed);

  /* ---- Gloss recipes ---- */
  /* Push-button faces: a hard split at 45% */
  --airy-btn: linear-gradient(180deg, #f2f2f2 45%, #ebebeb 45%, #cfcfcf 100%);
  --airy-btn-hover: linear-gradient(180deg, #eaf6fd 45%, #bee6fd 45%, #a7d9f5 100%);
  --airy-btn-pressed: linear-gradient(180deg, #e5f4fc 0%, #c4e5f6 30% 50%, #98d1ef 50%, #68b3db 100%);
  --airy-gloss:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgb(255 255 255 / 0.35), rgb(255 255 255 / 0) 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.6) 0%, rgb(255 255 255 / 0.22) 49%, rgb(255 255 255 / 0) 50%, rgb(255 255 255 / 0.12) 100%);
  --airy-gloss-pressed: linear-gradient(180deg, rgb(0 0 0 / 0.14) 0%, rgb(0 0 0 / 0.05) 49%, rgb(255 255 255 / 0) 50%, rgb(255 255 255 / 0.14) 100%);
  --airy-gel-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65), inset 0 0 0 1px rgb(255 255 255 / 0.2), 0 1px 2px rgb(0 0 0 / 0.25);
  --airy-hot: linear-gradient(180deg, #fafbfd 0%, #ebf3fd 100%);
  --airy-selected: linear-gradient(180deg, #dcebfc 0%, #c1dbfc 100%);
  /* Checkbox/radio marks (inline data: URIs) */
  --airy-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M2.9 6.3l2.4 2.6 4.9-5.6' fill='none' stroke='%23233c5c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --airy-mixed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Crect x='3' y='3' width='7' height='7' fill='%231f9a35' stroke='%2317702a' stroke-width='.6'/%3E%3C/svg%3E");
  --airy-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cdefs%3E%3CradialGradient id='r' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23dff7ff'/%3E%3Cstop offset='.35' stop-color='%234fb6ea'/%3E%3Cstop offset='.8' stop-color='%2311528f'/%3E%3Cstop offset='1' stop-color='%230a3a6b'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='6.5' cy='6.5' r='3.3' fill='url(%23r)'/%3E%3C/svg%3E");

  /* ---- Cards / tables / progress / popovers ---- */
  --spry-card-bg: var(--spry-surface);
  --spry-card-border: rgb(40 80 130 / 0.45);
  --spry-card-padding: 1.1rem;
  --spry-main-padding-block: 1.25rem; /* pages breathe a little less */
  --spry-card-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8), 0 2px 8px rgb(0 40 90 / 0.18);
  --spry-table-header-bg: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #f3f4f6 100%);
  --spry-table-hover: var(--airy-hot);
  --spry-progress-bg: linear-gradient(180deg, #e6e6e6 0%, #f3f3f3 100%);
  --spry-progress-fg:
    linear-gradient(180deg, rgb(255 255 255 / 0.55) 0%, rgb(255 255 255 / 0.12) 49%, rgb(255 255 255 / 0) 50%, rgb(255 255 255 / 0.25) 100%),
    linear-gradient(115deg, rgb(255 255 255 / 0) 35%, rgb(255 255 255 / 0.6) 50%, rgb(255 255 255 / 0) 65%),
    linear-gradient(180deg, #2ec539 0%, #10b32c 49%, #06b025 50%, #0b9a25 100%);
  --spry-popover-bg: rgb(255 255 255 / 0.88);
  --spry-popover-border: rgb(60 100 140 / 0.55);
  /* Window-frame recipe: plain popovers get the frame as shadows only */
  --spry-popover-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8), 0 0 0 5px rgb(170 210 245 / 0.55),
    0 0 0 6px rgb(20 60 110 / 0.5), 0 12px 32px rgb(0 30 80 / 0.4);

  /* ---- Page: one simple fixed sky gradient + one soft white radial ---- */
  & body {
    background: radial-gradient(ellipse 120% 70% at 50% -10%, rgb(255 255 255 / 0.45), rgb(255 255 255 / 0) 60%),
      linear-gradient(180deg, #7ec8f5 0%, #a5d8f5 55%, #dff3e8 100%);
    background-color: #7ec8f5;
    background-attachment: fixed;
  }

  & ::selection { background: #3399ff; color: #fff; }
  /* Text set straight on the sky (outside any pane) needs a deeper muted ink */
  & body > footer { --spry-fg-muted: #17385a; }
  & hr { border-top-color: #d5d5d5; box-shadow: 0 1px 0 rgb(255 255 255 / 0.6); }
  /* ---- Push buttons. Faces come from the tokens above; these add the
      white inner bevel and the per-state edges. :where() keeps the core
      .btn-* variants and .btn-sm/.btn-lg winning. ---- */
  & :where(.btn, button, input[type="submit"], input[type="reset"], input[type="button"]) {
    border: 1px solid #707070;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8);
    font-weight: 400;
  }
  & :where(.btn, button, input[type="submit"], input[type="reset"], input[type="button"]):hover {
    border-color: #3c7fb1;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8);
  }
  & :where(.btn, button, input[type="submit"], input[type="reset"], input[type="button"]):active {
    border-color: #2c628b;
    box-shadow: inset 1px 1px 0 rgb(0 0 0 / 0.2), inset -1px 1px 0 rgb(0 0 0 / 0.07);
  }
  /* Disabled: flat grey */
  & :where(.btn, button, input[type="submit"], input[type="reset"], input[type="button"]):disabled {
    background: #f4f4f4;
    border-color: #adb2b5;
    color: #838383;
    box-shadow: none;
  }
  /* Keyboard focus: hot face, blue edge, an inner cyan glow breathing in
      and out, and the dotted focus rectangle inside the face. :is() so it
      outranks the core's (0,2,0) focus ring. */
  & :is(.btn, button, input[type="submit"], input[type="reset"], input[type="button"]):not(.btn-primary, .btn-danger, .btn-ghost, .btn-link, .dialog-close):focus-visible {
    background: var(--airy-btn-hover);
    border-color: #3c7fb1;
    outline: 1px dotted #000;
    outline-offset: -4px;
    animation: airy-focus-pulse 1s ease-in-out infinite alternate;
  }

  /* Primary: a deep-blue gel under a hard glass highlight on the top half,
      a bright rim, and cyan light welling up from the bottom edge that
      blooms when hovered. Labels are white with a dark halo; the face
      stays deep where the text sits. */
  & .btn-primary {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.34) 0%, rgb(255 255 255 / 0.08) 45%, rgb(255 255 255 / 0) 45%),
      radial-gradient(ellipse 90% 70% at 50% 118%, rgb(110 215 255 / 0.8), rgb(110 215 255 / 0) 70%),
      linear-gradient(180deg, #2a72bd 0%, #13589f 45%, #0a4486 45%, #0e57a3 100%);
    border: 1px solid #082f5c;
    color: #fff;
    text-shadow: 0 1px 2px rgb(0 18 48 / 0.75), 0 0 6px rgb(0 30 80 / 0.45);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.55), 0 1px 2px rgb(0 30 70 / 0.35);
  }
  & .btn-primary:hover {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.38) 0%, rgb(255 255 255 / 0.1) 45%, rgb(255 255 255 / 0) 45%),
      radial-gradient(ellipse 100% 85% at 50% 118%, rgb(150 235 255 / 0.95), rgb(110 215 255 / 0) 72%),
      linear-gradient(180deg, #2f7cc9 0%, #1863ae 45%, #0c4c93 45%, #1263b3 100%);
    border-color: #07284f;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4), inset 0 1px 0 rgb(255 255 255 / 0.65), 0 0 10px rgb(60 175 255 / 0.75);
  }
  & .btn-primary:active {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.18) 0%, rgb(255 255 255 / 0.04) 45%, rgb(255 255 255 / 0) 45%),
      radial-gradient(ellipse 90% 70% at 50% 118%, rgb(110 215 255 / 0.5), rgb(110 215 255 / 0) 70%),
      linear-gradient(180deg, #0f4f92 0%, #0b437f 45%, #083a70 45%, #0c4a8c 100%);
    border-color: #062447;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.4), inset 0 0 0 1px rgb(255 255 255 / 0.15);
  }
  & .btn-primary:focus-visible { outline: 1px dotted #fff; outline-offset: -4px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4), 0 0 0 1px #fff, 0 0 8px 2px rgb(52 222 255 / 0.85); }

  /* Danger: the same gel in close-button red, an ember glow below */
  & .btn-danger {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.34) 0%, rgb(255 255 255 / 0.08) 45%, rgb(255 255 255 / 0) 45%),
      radial-gradient(ellipse 90% 70% at 50% 118%, rgb(255 165 110 / 0.75), rgb(255 165 110 / 0) 70%),
      linear-gradient(180deg, #c23a2b 0%, #a3271c 45%, #8c1c13 45%, #a8271b 100%);
    border: 1px solid #560d07;
    color: #fff;
    text-shadow: 0 1px 2px rgb(50 0 0 / 0.75), 0 0 6px rgb(60 0 0 / 0.45);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.5), 0 1px 2px rgb(60 0 0 / 0.35);
  }
  & .btn-danger:hover {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.38) 0%, rgb(255 255 255 / 0.1) 45%, rgb(255 255 255 / 0) 45%),
      radial-gradient(ellipse 100% 85% at 50% 118%, rgb(255 205 120 / 0.95), rgb(255 150 90 / 0) 72%),
      linear-gradient(180deg, #cc4232 0%, #ad2c20 45%, #951f15 45%, #b42c1f 100%);
    border-color: #4c0a05;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4), inset 0 1px 0 rgb(255 255 255 / 0.6), 0 0 10px rgb(255 110 70 / 0.75);
  }
  & .btn-danger:active {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.04) 45%, rgb(255 255 255 / 0) 45%),
      linear-gradient(180deg, #8f2018 0%, #7c1910 45%, #6b130c 45%, #841c13 100%);
    border-color: #430804;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.4);
  }
  & .btn-danger:focus-visible { outline: 1px dotted #fff; outline-offset: -4px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4), 0 0 0 1px #fff, 0 0 8px 2px rgb(255 140 90 / 0.85); }

  /* Outline: clear glass with a blue edge; it fills with the hot face on
     hover and lights up with the same cyan glow as the focused button */
  & .btn-outline {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.95) 45%, rgb(236 244 251 / 0.8) 45%, rgb(225 238 250 / 0.85) 100%);
    border-color: #3c7fb1;
    color: #0b4779;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.85);
  }
  & .btn-outline:hover { background: var(--airy-btn-hover); border-color: #2c628b; color: #0a3f6e; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8), inset 0 0 3px 1px rgb(52 222 255 / 0.6); }
  & .btn-outline:active { background: var(--airy-btn-pressed); border-color: #2c628b; color: #0a3f6e; box-shadow: inset 1px 1px 0 rgb(0 0 0 / 0.2); }

  /* Ghost: a command-bar button — chrome-less until hovered, then
      a soft glass pill with a white bevel and pale blue edge */
  & .btn-ghost, & .btn-link { background: none; border-color: transparent; box-shadow: none; text-shadow: none; }
  & .btn-link { border: 0; }
  & .btn-ghost:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.95) 0%, rgb(232 243 252 / 0.85) 45%, rgb(214 234 250 / 0.8) 45%, rgb(226 240 252 / 0.9) 100%);
    border-color: #a7c5e2;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.85);
  }
  & .btn-ghost:active {
    background: linear-gradient(180deg, rgb(214 232 248 / 0.9) 0%, rgb(196 222 245 / 0.9) 100%);
    border-color: #7da2ce;
    box-shadow: inset 1px 1px 2px rgb(0 40 90 / 0.25);
  }

  /* ---- Text fields: white wells with a darker top edge. A local
      --spry-glass (the core's input box-shadow) adds the inner shadow. ---- */
  & :where(
    input[type="text"], input[type="email"], input[type="password"], input[type="number"],
    input[type="search"], input[type="tel"], input[type="url"], input[type="date"],
    input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"],
    select, textarea, .input
  ) {
    border-color: #abadb3 #dbdfe6 #e3e9ef #e2e3ea;
    border-radius: 2px;
    --spry-glass: inset 0 1px 2px rgb(120 165 205 / 0.35), inset 0 -1px 0 rgb(255 255 255 / 0.7);
  }
  & :where(input, textarea, select)::placeholder { color: #6d6d6d; font-style: italic; }

  /* Closed drop-down lists look like push buttons */
  & :where(select:not([size]):not([multiple])) { background-color: #fff; background-image: var(--airy-btn); }
  & :where(select:not([size]):not([multiple]):hover) { background-image: var(--airy-btn-hover); }

  /* ---- Checkboxes & radios: a 13px well, shaded from the top left,
      lit blue on hover; a dark tick, a glossy radio dot, a green mixed square ---- */
  & input[type="checkbox"], & input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    margin: 0;
    vertical-align: -2px;
    border: 1px solid #8e8f8f;
    border-radius: 2px;
    background-color: #f4f4f4;
    background-image: var(--airy-mark, none), linear-gradient(135deg, #c3c8ce 0%, #e4e6e9 55%, #f8f8f8 100%);
    box-shadow: inset 0 0 0 1px #f4f4f4, inset 0 0 0 2px rgb(255 255 255 / 0.5);
  }
  & input[type="checkbox"]:hover, & input[type="radio"]:hover {
    border-color: #3c7fb1;
    background-image: var(--airy-mark, none), linear-gradient(135deg, #a9d9f8 0%, #d3eefd 55%, #f2fafe 100%);
    box-shadow: inset 0 0 0 1px #def3fd, inset 0 0 0 2px rgb(255 255 255 / 0.5);
  }
  & input[type="checkbox"]:active, & input[type="radio"]:active {
    border-color: #2c628b;
    background-image: var(--airy-mark, none), linear-gradient(135deg, #6fbdf0 0%, #b4e0fb 55%, #e2f4fe 100%);
  }
  & input[type="radio"] {
    border-radius: 50%;
    background-image: var(--airy-mark, none), radial-gradient(circle at 35% 30%, #f8f8f8 0%, #e1e3e6 50%, #c3c8ce 100%);
  }
  & input[type="radio"]:hover {
    background-image: var(--airy-mark, none), radial-gradient(circle at 35% 30%, #f2fafe 0%, #d3eefd 50%, #a9d9f8 100%);
  }
  & input[type="checkbox"]:checked { --airy-mark: var(--airy-tick); }
  & input[type="checkbox"]:indeterminate { --airy-mark: var(--airy-mixed); }
  & input[type="radio"]:checked { --airy-mark: var(--airy-dot); }

  /* ---- Switch: glossy pill track, pearl knob, blue gel when on ---- */
  & .switch .track { background: linear-gradient(180deg, #f4f6f8 0%, #dfe6ec 49%, #cfd8e0 50%, #e3e9ef 100%); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.18), inset 0 0 0 1px rgb(255 255 255 / 0.4); }
  & .switch input:checked + .track { background: var(--airy-gloss), #1477c9; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 0 8px rgb(20 119 201 / 0.55); }
  & .switch .track::after { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f0f5fa 60%, #d8e2ec 100%); box-shadow: 0 1px 3px rgb(0 30 70 / 0.5), inset 0 1px 0 #ffffff; }

  /* ---- Topbar: deep blue glass, blur, a glowing brand pill,
      an accent #4fc8ff bottom edge ---- */
  & .topbar {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.06) 49%, rgb(0 25 50 / 0.24) 50%, rgb(0 25 50 / 0.05) 100%), rgb(14 48 92 / 0.74);
    backdrop-filter: var(--spry-glass);
    border-bottom-color: rgb(6 36 74 / 0.65);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45), inset 0 -1px 0 rgb(79 200 255 / 0.55), 0 6px 18px rgb(0 30 70 / 0.35);
  }
  & .topbar .topbar-brand {
    padding: 0.15rem 0.85rem;
    border: 1px solid rgb(0 20 50 / 0.7);
    border-radius: var(--spry-radius-pill);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.25) 0%, rgb(255 255 255 / 0.05) 48%, rgb(255 255 255 / 0) 52%),
      radial-gradient(ellipse 80% 70% at 50% 100%, #5fc8f0 0%, #1173c4 45%, #0a3f80 100%);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.45), 0 0 10px rgb(110 215 255 / 0.75);
    text-shadow: 0 1px 2px rgb(0 20 50 / 0.85), 0 0 10px rgb(79 200 255 / 0.85);
  }
  & .topbar .topbar-brand:hover { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6), 0 0 18px 2px rgb(140 235 255 / 0.9); }

  /* Nav buttons: glass on hover, lit from below when active */
  & .topbar .nav a { color: #eaf6ff; border: 1px solid transparent; border-radius: 3px; text-shadow: 0 0 6px rgb(0 20 50 / 0.9); }
  & .topbar .nav a:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.35) 0%, rgb(255 255 255 / 0.1) 49%, rgb(255 255 255 / 0.04) 50%, rgb(255 255 255 / 0.2) 100%);
    border-color: rgb(0 0 0 / 0.45);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
  }
  & .topbar .nav a.active {
    background: radial-gradient(ellipse 75% 65% at 50% 100%, rgb(150 230 255 / 0.3), rgb(150 230 255 / 0) 75%),
      linear-gradient(180deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.06) 49%, rgb(255 255 255 / 0.03) 50%, rgb(255 255 255 / 0.14) 100%),
      rgb(10 52 98 / 0.95);
    border-color: rgb(0 0 0 / 0.5);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), 0 0 8px rgb(120 220 255 / 0.6);
  }
  & .topbar .nav .submenu a { color: #000; border: 1px solid transparent; border-radius: 3px; text-shadow: none; background: none; box-shadow: none; padding: 3px 12px 3px 32px; }
  & .topbar .nav .submenu a:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.75) 0%, rgb(222 234 250 / 0.9) 90%, rgb(255 255 255 / 0.85) 100%);
    border-color: #aaddfa;
    color: #000;
    text-shadow: none;
    box-shadow: none;
  }
  & .topbar .breadcrumb, & .topbar .breadcrumb li + li::before { color: #d9efff; }
  & .topbar .breadcrumb a { color: #bfe9ff; }
  & .topbar .breadcrumb a:hover, & .topbar .breadcrumb [aria-current] { color: #fff; }

  /* ---- Nav (page level): chips with hot/selected list states ---- */
  & .nav a { color: #1e3287; border: 1px solid transparent; border-radius: 3px; }
  & .nav a:hover { background: var(--airy-hot); border-color: #b8d6fb; color: #0a3f6e; }
  & .nav a.active { background: var(--airy-selected); border-color: #7da2ce; color: #1e3287; }

  /* ---- Menus: a #f0f0f0 face, a hard 4px drop shadow, and the etched
      icon-gutter line at 28px; rows start at 32px, clear of it. The hot
      row is a soft white-to-pale-blue lozenge with a light blue edge and
      3px corners; the text stays black. ---- */
  & .submenu, & .popover-menu {
    padding: 2px;
    background:
      linear-gradient(90deg, transparent 27px, rgb(0 0 0 / 0.14) 27px 28px, #ffffff 28px 29px, transparent 29px),
      #f0f0f0;
    border: 1px solid rgb(0 0 0 / 0.4);
    border-radius: 0;
    box-shadow: 4px 4px 3px -2px rgb(0 0 0 / 0.5);
  }
  & .submenu a, & .popover-menu a, & .popover-menu button {
    min-height: 22px;
    line-height: 1.25;   /* rows are ~22px: compact, not page-text leading */
    padding: 3px 12px 3px 32px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: none;
    box-shadow: none;
    color: #000;
    text-shadow: none;
  }
  & .submenu a:hover, & .popover-menu a:hover, & .popover-menu button:hover,
  & .submenu a:focus-visible, & .popover-menu :is(a, button):focus-visible {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.75) 0%, rgb(222 234 250 / 0.9) 90%, rgb(255 255 255 / 0.85) 100%);
    border-color: #aaddfa;
    color: #000;
    text-shadow: none;
    outline: none;
  }
  & .submenu a.active, & .popover-menu a.active { background: var(--airy-selected); border-color: #7da2ce; color: #000; }

  /* Sidebar menu: hot rows get the pale hot-track fill and edge, the
      selected row the deeper selection blue */
  & .menu a {
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #1e1e1e;
  }
  & .menu a:hover { background: var(--airy-hot); border-color: #b8d6fb; color: #000; }
  & .menu a.active { background: var(--airy-selected); border-color: #7da2ce; color: #000; }
  /* The core nests .submenu statically inside .menu: keep it unboxed there */
  & .menu .has-submenu .submenu { background: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; }

  /* ---- Cards: white glass panes with a gloss across the top ---- */
  & .card { background-color: var(--spry-card-bg); background-image: linear-gradient(180deg, rgb(255 255 255 / 0.9) 0, rgb(235 245 255 / 0.45) 2.2rem, rgb(255 255 255 / 0) 2.3rem); }
  & .card-header { background: linear-gradient(180deg, #f9fcfe 0%, #e9f1fb 49%, #dce7f5 50%, #e3edf9 100%); border-bottom-color: #a0afc3; color: #1e3287; }
  & .card-footer { background: linear-gradient(180deg, rgb(240 246 252 / 0.6), rgb(228 238 247 / 0.85)); }

  /* ---- Dialogs & window popovers: ONE glass frame — a translucent
     glass border (the border zone shows the blurred backdrop because the
     background is clipped to the padding box) plus the frame stack's white
     inner edge, dark outline and drop shadow. No transform/opacity/transition
     is touched: the core's two-state animation runs on the motion vars. ---- */
  & dialog, & [popover]:has(> .dialog-titlebar, > .dialog-body, > .dialog-footer) {
    border: 1px solid rgb(0 0 0 / 0.7);
    border-radius: 6px;
    background: #f0f4f8;
    box-shadow: 2px 2px 10px 1px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.67);
  }
  /* A window with a client area (.dialog-body) is drawn as true glass:
      a pale, see-through blue-white tint over a real backdrop blur (the
      page behind stays visible, softened), a white sheen under the caption,
      crisp diagonal light streaks, a dark outer line with a white inner
      highlight, 7px corners and a soft shadow.
      Bare dialogs keep the solid face above, since their text would sit
      straight on the glass. */
  & :is(dialog, [popover]):has(> .dialog-body) {
    background:
      /* the streaks: hard-stopped, so their edges stay crisp —
         each a thin bright line beside a wider, fainter band */
      linear-gradient(118deg,
        rgb(255 255 255 / 0) 0 19%,
        rgb(255 255 255 / 0.34) 19% 20.2%,
        rgb(255 255 255 / 0) 20.2% 21.4%,
        rgb(255 255 255 / 0.18) 21.4% 25.6%,
        rgb(255 255 255 / 0) 25.6% 56%,
        rgb(255 255 255 / 0.28) 56% 56.9%,
        rgb(255 255 255 / 0) 56.9% 58%,
        rgb(255 255 255 / 0.14) 58% 61.5%,
        rgb(255 255 255 / 0) 61.5% 100%),
      linear-gradient(180deg, rgb(255 255 255 / 0.55) 0, rgb(255 255 255 / 0.18) 1.9rem, rgb(255 255 255 / 0.06) 100%),
      rgb(150 186 224 / 0.42);
    backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgb(14 28 50 / 0.72);
    border-radius: 7px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55), 0 8px 28px rgb(0 20 50 / 0.45), 0 0 1px rgb(0 0 0 / 0.5);
  }

  /* Caption: title left-aligned in black with the white glow; caption
     buttons hang from the frame's top edge */
  & .dialog-titlebar {
    align-items: flex-start;
    min-height: 1.85rem;
    padding: 0 7px 0 10px;
    border: 0;
    border-radius: 6px 6px 0 0;
    background: transparent;
    box-shadow: none;
  }
  & .dialog-title {
    align-self: center;
    padding-block: 0.35rem;
    color: #000;
    font-weight: 400;
    text-shadow: 0 0 8px #fff, 0 0 8px #fff, 0 0 8px #fff, 0 0 3px #fff;
  }
  & .dialog-titlebar > :has(> .dialog-close) { display: flex; align-self: flex-start; }

  /* The close caption button: a 43x19 red gel tab hanging from the top
      frame line — square top, rounded bottom corners, white ×
      with a dark halo; it glows hotter on hover and darkens when pressed */
  & .dialog-close {
    width: 43px;
    height: 19px;
    font-size: 0.8rem;
    font-weight: 700;
    background:
      radial-gradient(ellipse 70% 65% at 50% 115%, rgb(255 190 150 / 0.8), rgb(255 190 150 / 0) 70%),
      linear-gradient(180deg, #e9a99b 0%, #dd8a77 45%, #c7452f 50%, #d35c41 100%);
    border: 1px solid rgb(60 8 0 / 0.75);
    border-top: 0;
    border-radius: 0 0 5px 5px;
    color: #fff;
    text-shadow: 0 0 3px rgb(70 0 0 / 0.95), 0 1px 1px rgb(70 0 0 / 0.8);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4), 0 1px 0 rgb(255 255 255 / 0.5);
  }
  & .dialog-close:hover {
    background:
      radial-gradient(ellipse 80% 75% at 50% 115%, rgb(255 225 120 / 0.95), rgb(255 120 60 / 0) 75%),
      linear-gradient(180deg, #f2b7a8 0%, #ea8f77 45%, #d9432a 50%, #e9653f 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), 0 0 9px rgb(255 120 70 / 0.9);
  }
  & .dialog-close:active {
    background:
      radial-gradient(ellipse 80% 75% at 50% 115%, rgb(255 160 90 / 0.6), rgb(255 120 60 / 0) 75%),
      linear-gradient(180deg, #c98270 0%, #b5604c 45%, #9a2a15 50%, #b0412a 100%);
    color: #fff;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.45);
  }

  /* The client area: ONE inset pane in the glass frame — the white
      content area over the grey command area,
     split only by the etched divider (a #dfdfdf line over a white highlight),
     never by a strip of frame. Content and command bar share the 6px frame
     margin and a single dark outline drawn around them as a pair. */
  & .dialog-body {
    background: #ffffff;
    border: 1px solid rgb(40 60 90 / 0.75);
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.55);
    margin: 0 8px 8px;
  }
  & .dialog-body:has(+ .dialog-footer) { border-bottom: 0; margin-bottom: 0; }
  & .dialog-footer {
    border: 1px solid rgb(40 60 90 / 0.75);
    border-top: 0;
    border-radius: 0;
    background: #f0f0f0;
    box-shadow: inset 0 1px 0 #dfdfdf, inset 0 2px 0 #ffffff, 0 0 0 1px rgb(255 255 255 / 0.55);
    margin: 0 8px 8px;
  }

  /* Anchored popovers emerge toward their trigger: the core drops them below
      the anchor (position-area: bottom), so they start 0.4rem closer to it and
      glide down into place while scaling up — the scale origin anchored to
      the launching point. Same specificity as the .popover-menu padding rules
     but none of them set --spry-dialog-in, and this is the file's only setter
     outside the tokens block, so the cascade is unambiguous. */
  & .popover-anchor {
    --spry-dialog-in: translateY(-0.4rem) scale(0.86);
  }

  /* Drawers are docked glass bars, not framed windows: reset the frame (this
     follows the frame rule on purpose) and light the docked edge instead */
  & [popover].drawer-left, & [popover].drawer-right { border: 0; border-radius: 0; background-clip: border-box; }
  & [popover].drawer-left { border-right: 1px solid rgb(60 100 140 / 0.55); box-shadow: -6px 0 0 rgb(170 210 245 / 0.55), -7px 0 0 rgb(20 60 110 / 0.5), -12px 0 32px rgb(0 30 80 / 0.4); }
  & [popover].drawer-right { border-left: 1px solid rgb(60 100 140 / 0.55); box-shadow: 6px 0 0 rgb(170 210 245 / 0.55), 7px 0 0 rgb(20 60 110 / 0.5), 12px 0 32px rgb(0 30 80 / 0.4); }
  & .drawer-left .dialog-titlebar, & .drawer-right .dialog-titlebar,
  & .drawer-left .dialog-footer, & .drawer-right .dialog-footer { border-radius: 0; }

  /* ---- Tabs — glossy gradient labels, 3px 3px 0 0 corners, a
     bright border-top; the active label is white and connected to the panel
     (the core's nth-of-type chains are mirrored to restyle it) ---- */
  & .tab-list { border-bottom-color: #898c95; }
  & .tab-list label {
    padding: 0.45rem 0.9rem;
    border: 1px solid #898c95;
    border-top-color: #aeb4bc;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #f3f3f3 0%, #e1e1e1 100%);
    color: #1e1e1e;
  }
  & .tab-list label:hover { background: var(--airy-btn-hover); color: #0a3f6e; }
  & .tabs > input:nth-of-type(1):checked ~ .tab-list label:nth-of-type(1),
  & .tabs > input:nth-of-type(2):checked ~ .tab-list label:nth-of-type(2),
  & .tabs > input:nth-of-type(3):checked ~ .tab-list label:nth-of-type(3),
  & .tabs > input:nth-of-type(4):checked ~ .tab-list label:nth-of-type(4),
  & .tabs > input:nth-of-type(5):checked ~ .tab-list label:nth-of-type(5),
  & .tabs > input:nth-of-type(6):checked ~ .tab-list label:nth-of-type(6) {
    margin-bottom: -1px;
    padding-bottom: calc(0.45rem + 1px);
    border-color: #898c95;
    border-bottom: 1px solid #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 75%, #e8f1fb 100%);
    color: #1e3287;
    box-shadow: inset 0 1px 0 #ffffff;
  }

  /* ---- Tables: pale gradient header band with column dividers,
      hot rows on hover, selected rows ---- */
  & thead th {
    background: var(--spry-table-header-bg);
    color: #4c607a;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid #d5d5d5;
    box-shadow: inset -1px 0 0 #e5e5e5;
  }
  & .table-hover tbody tr:hover { background: var(--airy-hot); box-shadow: inset 0 1px 0 #b8d6fb, inset 0 -1px 0 #b8d6fb; }
  & tbody tr[aria-selected="true"] { background: var(--airy-selected); box-shadow: inset 0 1px 0 #7da2ce, inset 0 -1px 0 #7da2ce; }

  /* ---- Progress: a beveled groove with end-dip shading, a green #06b025
      fill under a gloss, and a shine sweeping along it (a ::after dies
      inside progress pseudos, so the shine is background layer 2, 300%
      wide, slid by keyframes; engine rules stay separate). The marquee
      travels then pauses (60% move / 40% hold). ---- */
  & progress {
    height: 0.9rem;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgb(243 243 243 / 0.53), 0 0 0 1px rgb(234 234 234 / 0.53);
    overflow: hidden;
    background:
      radial-gradient(circle at 0 50%, rgb(0 0 0 / 0.12) 10px, transparent 30px),
      radial-gradient(circle at 100% 50%, rgb(0 0 0 / 0.12) 10px, transparent 30px),
      linear-gradient(to bottom, rgb(243 243 243 / 0.68), rgb(252 252 252 / 0.68) 3px, rgb(219 219 219 / 0.68) 6px, rgb(202 202 202 / 0.68) 6px, rgb(213 213 213 / 0.68)),
      #ddd;
  }

  & progress::-webkit-progress-bar { background: transparent; }

  /* Determinate: glossy green with the traveling shine (layer 1,
      300% wide, swept by airy-progress-shine). The shine stops once the bar
      is complete: add .is-complete (value = max). */
  & progress:not(.is-complete)::-webkit-progress-value,
  & progress:not(.is-complete)::-moz-progress-bar {
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
    background-color: #0bd82c;
    background-image:
      linear-gradient(100deg, transparent 25%, rgb(255 255 255 / 0.4) 50%, transparent 75%),
      linear-gradient(to bottom, rgb(243 243 243 / 0.68), rgb(252 252 252 / 0.68) 3px, rgb(219 219 219 / 0.68) 6px, transparent 6px),
      radial-gradient(circle at 0% 50%, rgb(0 0 0 / 0.18) 10px, transparent 30px),
      radial-gradient(circle at 100% 50%, rgb(0 0 0 / 0.18) 10px, transparent 30px),
      linear-gradient(to bottom, transparent 65%, rgb(255 255 255 / 0.33));
    background-size: 300% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    animation: airy-progress-shine 2.4s ease-in-out infinite;
  }

  & progress.is-complete::-webkit-progress-value,
  & progress.is-complete::-moz-progress-bar {
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
    background-color: #0bd82c;
    background-image:
      linear-gradient(to bottom, rgb(243 243 243 / 0.68), rgb(252 252 252 / 0.68) 3px, rgb(219 219 219 / 0.68) 6px, transparent 6px),
      linear-gradient(to bottom, transparent 65%, rgb(255 255 255 / 0.33));
  }

  /* Indeterminate: the marquee — the EMPTY groove with a soft green
     sweep crossing it (enter, cross by 60% of the cycle, then hold) */
  & progress:indeterminate {
    background:
      linear-gradient(to right, transparent, rgb(11 216 44 / 0.55) 50%, transparent 100%) 0 50% / 35% 100% no-repeat,
      radial-gradient(circle at 0% 50%, rgb(0 0 0 / 0.12) 10px, transparent 30px),
      radial-gradient(circle at 100% 50%, rgb(0 0 0 / 0.12) 10px, transparent 30px),
      linear-gradient(to bottom, rgb(243 243 243 / 0.68), rgb(252 252 252 / 0.68) 3px, rgb(219 219 219 / 0.68) 6px, rgb(202 202 202 / 0.68) 6px, rgb(213 213 213 / 0.68)),
      #ddd;
    animation: airy-marquee 3s linear infinite;
  }

  /* The busy ring glows */
  & .spinner { border-color: rgb(90 180 240 / 0.25); border-top-color: #1e90e8; border-right-color: #7fdcff; filter: drop-shadow(0 0 3px rgb(80 190 255 / 0.8)); }

  /* ---- Alerts & badges: a white fade over the tint; little gel pills ---- */
  & .alert { background-image: linear-gradient(180deg, rgb(255 255 255 / 0.65) 0%, rgb(255 255 255 / 0) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8); }
  & .alert-danger { color: #a8281c; }
  & .alert-success { color: #1e6b28; }
  & .alert-warning { color: #7a5410; }
  & .alert-info { color: #0c5f78; }
  & .hero-eyebrow { color: #0a587f; }
  & .badge { color: #0f5f9e; }
  & .badge { padding-inline: 0.6em; background-image: linear-gradient(180deg, rgb(255 255 255 / 0.5) 0%, rgb(255 255 255 / 0.12) 49%, rgb(0 0 0 / 0.06) 50%, rgb(255 255 255 / 0.15) 100%); border: 1px solid rgb(0 0 0 / 0.2); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5); }

  /* ---- Hero: a frosted band over the sky with an aqua glow ---- */
  & .hero {
    background: radial-gradient(60rem 24rem at 50% -8rem, rgb(79 200 255 / 0.28), rgb(255 255 255 / 0) 70%), rgb(255 255 255 / 0.55);
    border-block-color: rgb(154 194 224 / 0.75);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.85), inset 0 -1px 0 rgb(255 255 255 / 0.5);
    backdrop-filter: var(--spry-glass);
  }

  /* ---- Avatars: glass portrait chips ---- */
  & .avatar { color: #0b4f8a; background: linear-gradient(180deg, rgb(255 255 255 / 0.95) 0%, rgb(214 236 251 / 0.85) 100%); border: 1px solid rgb(120 170 210 / 0.7); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 1px 3px rgb(20 90 160 / 0.25); }
  & .avatar-group .avatar { border: 2px solid #dff3f8; }

  /* ---- OTP: bright frosted wells for single characters ---- */
  & .otp input { background: linear-gradient(180deg, rgb(255 255 255 / 0.95) 0%, rgb(238 247 253 / 0.95) 100%); border-color: #9bb7cc; }

  /* ---- Pagination: pages are push buttons; the current page is a blue gel ---- */
  & .pagination a { background: var(--airy-btn); border-color: #707070; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.75); }
  & .pagination a:hover { background: var(--airy-btn-hover); border-color: #3c7fb1; color: #0a3f6e; }
  & .pagination [aria-current="page"] { background: linear-gradient(180deg, rgb(255 255 255 / 0.15) 0%, rgb(255 255 255 / 0) 50%), #10689f; border-color: #0c4779; color: #fff; text-shadow: 0 1px 1px rgb(0 0 0 / 0.5); box-shadow: var(--airy-gel-shadow); }

  /* ---- Breadcrumb: links, hot on hover ---- */
  & .breadcrumb a { padding: 1px 5px; border-radius: 2px; }
  & .breadcrumb a:hover { background: var(--airy-hot); color: #0066cc; text-decoration: none; }

  /* ---- Expanders: group headers ---- */
  & details { background: #ffffff; border-color: #b6c6d8; }
  & summary:hover { background: linear-gradient(180deg, #fafbfd 0%, #ebf3fd 100%); }
  & details[open] > summary { background: linear-gradient(180deg, #fdfeff 0%, #eaf1fa 100%); color: #1e3287; }

  /* ---- Fieldset: a groupbox; kbd: a little push button ---- */
  & fieldset { border-color: #b6c6d8; border-radius: 3px; }
  & legend { color: #003399; font-weight: 400; }
  & kbd { background: var(--airy-btn); border: 1px solid #707070; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.75), 0 1px 0 rgb(0 30 80 / 0.2); }
  & :not(pre) > code { background: #eff6fb; border-color: rgb(154 194 224 / 0.7); }

  /* ---- Scrollbars: a guttered track, a push-button thumb (Chromium
      pseudos; Firefox keeps its native bars) ---- */
  & ::-webkit-scrollbar { width: 16px; height: 16px; }
  & ::-webkit-scrollbar-track { background: linear-gradient(90deg, #e3e3e3 0%, #f6f6f6 30%, #f0f0f0 100%); }
  & ::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #f3f3f3 0%, #e8e8e8 49%, #d8d8d8 50%, #cacaca 100%); border: 1px solid #959595; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8); }
  & ::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #e3f4fc 0%, #d6eef9 49%, #b9e0f5 50%, #a7d9f5 100%); border-color: #3c7fb1; }
}
