/* ==========================================================================
   ui.css: global UI (owner E3). Design spec §8.3, §8.7, §8.8. The shortcut
   sheet · toasts · copy feedback · lazy-module busy states · theme wipe ·
   layout-grid overlay · grain. The room's own chrome is css/room.css.
   Colours, type, motion, shadows and layers come from tokens.css; nothing here is
   a raw theme colour.
   ========================================================================== */

:root {
  --lt-drop: var(--shadow-card);   /* per theme in tokens.css (v2): black on dark, ink on light */
  --lt-hover: color-mix(in srgb, var(--ink) 7%, transparent);
  --lt-press: color-mix(in srgb, var(--ink) 12%, transparent);
}

/* Anchors and keyboard focus land clear of the bar (WCAG 2.4.11): the no-JS reading
   view's sticky bar (case.css adds the articles' own scroll-margin). */
html { scroll-padding-top: var(--bar-h); }

/* ==========================================================================
   Sheets: dialog#keys (native modal <dialog>, top layer).
   The dialog is a bare frame that never moves or fades: the toast region
   rides inside the topmost modal (ui.js), and a transformed or faded dialog
   would carry it along. The .lt-sheet-panel inside is the surface, the
   scroller and the thing that animates.
   ========================================================================== */
.lt-sheet {
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  max-width: none;
  max-height: none;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--t-small);
  line-height: 1.5;
}
.lt-sheet[open] { display: flex; flex-direction: column; }
.lt-sheet-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--bg-raised);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px var(--edge), var(--highlight), var(--shadow-card);
  overflow: auto;
  overscroll-behavior: contain;
  transition: opacity var(--dur-dialog-in) var(--ease-out), transform var(--dur-dialog-in) var(--ease-out);
}
.lt-sheet::backdrop {
  background: var(--scrim, rgb(5 6 8 / .72));
  transition: opacity var(--dur-dialog-in) var(--ease-out);
}
.lt-sheet[data-state="enter"] .lt-sheet-panel { opacity: 0; transform: translateY(8px) scale(.985); }
.lt-sheet[data-state="leave"] .lt-sheet-panel {
  opacity: 0;
  transform: translateY(4px) scale(.995);
  transition-duration: var(--dur-dialog-out);
  transition-timing-function: var(--ease-in);
}
.lt-sheet[data-state="enter"]::backdrop,
.lt-sheet[data-state="leave"]::backdrop { opacity: 0; }
.lt-sheet[data-state="leave"]::backdrop { transition-duration: var(--dur-dialog-out); transition-timing-function: var(--ease-in); }

.lt-sheet-head {
  position: sticky;
  top: 0;
  z-index: 1;
  flex: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--bar-h);
  padding: 0 calc(var(--s5) - 10px) 0 var(--s5);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.lt-sheet-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-2);
}

.lt-icon-btn {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-hover) linear, color var(--dur-hover) linear;
}
.lt-icon-btn .icon { width: 22px; height: 22px; }
@media (hover: hover) { .lt-icon-btn:hover { color: var(--ink); background-color: var(--lt-hover); } }
.lt-icon-btn:active { background-color: var(--lt-press); }

/* ---- dialog#keys: the shortcut sheet (head and last line pinned, list scrolls) ---- */
#keys {
  width: min(760px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 48px));
  max-height: min(820px, calc(100dvh - 48px));
}
#keys .lt-sheet-panel { overflow: hidden; }
.lt-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
/* While it overflows, ui.js makes the body a focusable region: its ring sits inside the
   panel's clip, between the head's rule and the foot's. */
.lt-sheet-body:focus-visible { outline-offset: -2px; }
/* v2: the scrolled edges fade (ui.js sets data-more-top / data-more-end, as on the room's object list), so a heading
   is never sliced by the head's or the foot's rule; scroll-padding keeps a focused row clear of the fades. */
.lt-sheet-body { scroll-padding-block: var(--s6); }
.lt-sheet-body[data-more-end] { -webkit-mask-image: linear-gradient(#000 calc(100% - 40px), transparent); mask-image: linear-gradient(#000 calc(100% - 40px), transparent); }
.lt-sheet-body[data-more-top] { -webkit-mask-image: linear-gradient(transparent, #000 32px); mask-image: linear-gradient(transparent, #000 32px); }
.lt-sheet-body[data-more-top][data-more-end] { -webkit-mask-image: linear-gradient(transparent, #000 32px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(transparent, #000 32px, #000 calc(100% - 40px), transparent); }

.lt-keys-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: none;
  color: var(--ink);
  padding-block: 14px;
}

.lt-keys-switch {
  padding: var(--s4) var(--s5) var(--s5);
  border-bottom: 1px solid var(--rule);
}
.lt-switch {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: calc(100% + 2 * var(--s3));
  min-height: 44px;
  margin: 0 calc(-1 * var(--s3));
  padding: 0 var(--s3);   /* the focus ring frames the row with air on every side */
  border: 0;
  border-radius: var(--radius-control);
  background: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lt-switch-text { flex: 1 1 auto; }
.lt-switch-state {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lt-switch-track {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 40px;
  height: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-control);
  transition: background-color var(--dur-hover) linear, border-color var(--dur-hover) linear;
}
.lt-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-lamp);
  background: var(--ink-3);
  transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover) linear;
}
.lt-switch:focus-visible { outline-offset: 0; }
@media (hover: hover) { .lt-switch:hover .lt-switch-track { border-color: var(--ink-3); } }
.lt-switch[aria-checked="true"] .lt-switch-state { color: var(--signal-ink); }
.lt-switch[aria-checked="true"] .lt-switch-track { border-color: var(--signal); background: var(--signal-wash); }
.lt-switch[aria-checked="true"] .lt-switch-thumb { transform: translateX(18px); background: var(--signal); }
.lt-keys-note {
  margin: var(--s2) 0 0;
  max-width: 34em;
  font-size: var(--t-meta);
  line-height: 1.5;
  color: var(--ink-3);
}

.lt-keys-list { padding: var(--s1) var(--s5) var(--s5); }
@media (min-width: 720px) {
  .lt-keys-list { columns: 2; column-gap: var(--s6); }
  .lt-keys-group { break-inside: avoid; }
}
.lt-keys-group { display: flow-root; padding-top: var(--s5); } /* padding, not margin: survives column breaks */
.lt-keys-group-title {
  margin: 0 0 var(--s2);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-3);
}
.lt-keys-rows { margin: 0; }
.lt-keys-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr); /* fits "Ctrl" + "K" */
  align-items: center;
  gap: var(--s4);
  min-height: 40px;
  border-top: 1px solid var(--rule);
}
.lt-keys-row:last-child { border-bottom: 1px solid var(--rule); }
.lt-keys-row dt { display: flex; align-items: center; }
.lt-keys-row dd { margin: 0; color: var(--ink-2); }
.lt-caps { display: inline-flex; align-items: center; gap: 4px; }
/* Room: the arrow cluster as an inverted T (↑ over ← ↓ →), small caps so it fits the 72px column. */
.lt-caps-arrows { display: inline-grid; grid-template-columns: repeat(3, 20px); grid-template-rows: 16px 16px; gap: 2px; padding-block: 4px; }
.lt-caps-arrows .lt-kbd { min-width: 0; width: 20px; height: 16px; padding: 0; font-size: 11px; border-bottom-width: 1px; }
.lt-caps-arrows .lt-kbd:nth-child(1) { grid-area: 1 / 2; }
.lt-caps-arrows .lt-kbd:nth-child(2) { grid-area: 2 / 1; }
.lt-caps-arrows .lt-kbd:nth-child(3) { grid-area: 2 / 2; }
.lt-caps-arrows .lt-kbd:nth-child(4) { grid-area: 2 / 3; }
.lt-kbd {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--rule-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-control);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.lt-kbd-sym { font-family: system-ui, -apple-system, sans-serif; font-size: 14px; } /* ⌘ isn't in the mono subset */
.lt-keys-list[data-off] [data-single] .lt-kbd { color: var(--ink-3); border-color: var(--rule); background: transparent; }
.lt-keys-list[data-off] [data-single] dd { color: var(--ink-3); }

.lt-sheet-foot {
  flex: none;
  padding: var(--s4) var(--s5) var(--s5);
  border-top: 1px solid var(--rule);
}
.lt-keys-foot {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-2);
  text-wrap: balance;
  font-variant-ligatures: common-ligatures;
  hanging-punctuation: first allow-end;
}

/* ==========================================================================
   Toasts (§8.7): bottom centre, bg-raised, rule-strong border, mono 13px.
   Markup and timing are core's (LT.toast); at most 3. Success carries a lamp.
   ========================================================================== */
.lt-toasts {
  position: fixed;
  /* centred on the page column: a scroll lock's scrollbar compensation doesn't shift it */
  left: calc((100% - var(--scrollbar-comp, 0px)) / 2);
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* a stack shares one width: the widest message's */
  gap: var(--s2);
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
/* The terminal drawer (terminal.css sets the same rule): toasts ride above it.
   With the layout grid on, they also clear its legend (bottom left, up to full width on phones). */
html[data-terminal="open"] .lt-toasts { bottom: calc(var(--lt-term-h, 44vh) + 12px); }
html[data-grid] .lt-toasts { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
html[data-grid][data-terminal="open"] .lt-toasts { bottom: calc(var(--lt-term-h, 44vh) + 64px); }

.lt-toast {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--s2);
  max-width: min(560px, calc(100vw - 32px));
  padding: var(--s3) var(--s4);
  border: 1px solid var(--edge);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
  box-shadow: var(--highlight), var(--shadow-card);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: var(--track-mono);
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
  pointer-events: auto;
  transition: opacity var(--dur-toast) var(--ease-out), transform var(--dur-toast) var(--ease-out);
}
.lt-toast[data-tone="success"]::before {
  content: "";
  flex: none;
  width: var(--lamp);
  height: var(--lamp);
  border-radius: var(--radius-lamp);
  background: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-wash);
}
.lt-toast[data-state="enter"] { opacity: 0; transform: translateY(8px) scale(.98); }
.lt-toast[data-state="leave"] {
  opacity: 0;
  transform: translateY(4px);
  transition-timing-function: var(--ease-in);
}

/* ==========================================================================
   Copy feedback (§8.7): the button reads "Copied" with a check for 1.6 s.
   ========================================================================== */
[data-run="action:copy-email"][data-copied] {
  color: var(--signal-ink);
  border-color: var(--signal);
}
[data-run="action:copy-email"][data-copied] .icon { color: var(--signal); }
/* On a filled primary (the contact panel's), signal text on ink would fail contrast: the label keeps its colour and a
   signal rule under it says "copied". */
.btn-ink[data-run="action:copy-email"][data-copied] { color: var(--bg); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.btn-ink[data-run="action:copy-email"][data-copied] .icon { color: inherit; }

/* ==========================================================================
   Lazy modules on their way (ui.js): a press that waits for the case view,
   or the palette is answered at once. The control carries aria-busy +
   data-lt-loading until the view opens: a 2px signal bar sweeps along its
   bottom edge (held still under reduced motion or the pause).
   ========================================================================== */
[data-lt-loading] { cursor: progress; }
html.js :is(a, button)[data-lt-loading] {
  background-image: linear-gradient(var(--signal), var(--signal));
  background-repeat: no-repeat;
  background-size: 36% 2px;
  background-position: -57% 100%;
  animation: lt-loading 1.1s var(--ease-in-out) infinite;
}
.rb-btn[data-lt-loading] { background-color: var(--lt-press); }
@keyframes lt-loading {
  from { background-position: -57% 100%; }
  to { background-position: 157% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js :is(a, button)[data-lt-loading] { animation: none; background-size: 100% 2px; background-position: 0 100%; }
}
html.js[data-motion="paused"] :is(a, button)[data-lt-loading] { animation: none; background-size: 100% 2px; background-position: 0 100%; }

/* ==========================================================================
   Motion buttons: the icon follows the visitor's pause. With the OS asking for
   reduced motion there is nothing to pause or resume, so the control steps aside.
   ========================================================================== */
html[data-motion="paused"] [data-run="action:motion"] .icon-pause { display: none; }
html[data-motion="paused"] [data-run="action:motion"] .icon-play { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  html [data-run="action:motion"] { display: none; }
}

/* ==========================================================================
   Theme wipe (§8.3): the new theme wipes down over 520 ms, led by a 1px
   signal scan line. ui.js sets html[data-lt-wipe="<new theme>"] for the
   transition only (never under reduced motion, the pause or forced colours).
   - The new snapshot is uncovered top-down: clip-path inset(0 0 100% 0) →
     inset(0) on ::view-transition-new(root); the old one stays put beneath.
   - The line is .lt-scan, a strip on its own transition layer (it is parked
     just above the viewport, so it is never seen outside a wipe). Its group
     slides from the top edge to the bottom one (100lvh: the snapshot's own
     height) on the same curve and clock as the clip, so the two stay locked.
   - The strip is drawn from its old (captured) image: WebKit paints that one
     but not the live new image of an element parked off screen.
   - Phosphor: its glow falls on the dark side of the edge (the old scope below
     it, or the new scope above it).
   ========================================================================== */
html[data-lt-theme-swap] *,
html[data-lt-theme-swap] *::before,
html[data-lt-theme-swap] *::after { transition: none !important; }

html[data-lt-wipe]::view-transition-old(root),
html[data-lt-wipe]::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
html[data-lt-wipe]::view-transition-new(root) {
  animation: lt-wipe-reveal var(--dur-wipe) var(--ease-in-out) both;
}
@keyframes lt-wipe-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

.lt-scan {
  /* a beam's falloff: bright at the line, a short soft tail */
  --lt-scan-a: color-mix(in srgb, var(--signal) 42%, transparent);
  --lt-scan-b: color-mix(in srgb, var(--signal) 13%, transparent);
  --lt-scan-c: color-mix(in srgb, var(--signal) 4%, transparent);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-wipe);
  width: 100%;
  height: 49px;           /* 24px of glow either side of the 1px line */
  transform: translateY(-100%);
  pointer-events: none;
  contain: strict;
  view-transition-name: lt-scan;
  background: linear-gradient(var(--signal), var(--signal)) 0 50% / 100% 1px no-repeat;
}
html[data-lt-wipe="light"] .lt-scan {
  background:
    linear-gradient(var(--signal), var(--signal)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--lt-scan-a), var(--lt-scan-b) 5px, var(--lt-scan-c) 12px, transparent) 0 100% / 100% 24px no-repeat;
}
html[data-lt-wipe="dark"] .lt-scan {
  /* captured in the light theme, whose signal is deeper: a little more glow */
  --lt-scan-a: color-mix(in srgb, var(--signal) 56%, transparent);
  --lt-scan-b: color-mix(in srgb, var(--signal) 18%, transparent);
  --lt-scan-c: color-mix(in srgb, var(--signal) 6%, transparent);
  background:
    linear-gradient(var(--signal), var(--signal)) 0 50% / 100% 1px no-repeat,
    linear-gradient(transparent, var(--lt-scan-c) 12px, var(--lt-scan-b) 19px, var(--lt-scan-a)) 0 0 / 100% 24px no-repeat;
}
html[data-lt-wipe]::view-transition-group(lt-scan) {
  animation: lt-wipe-scan var(--dur-wipe) var(--ease-in-out) both;
}
html[data-lt-wipe]::view-transition-old(lt-scan),
html[data-lt-wipe]::view-transition-new(lt-scan) {
  animation: none;
  mix-blend-mode: normal;
}
html[data-lt-wipe]::view-transition-new(lt-scan) { opacity: 0; }
@keyframes lt-wipe-scan {
  from { transform: translateY(calc(.5px - 50%)); }
  to { transform: translateY(calc(100lvh + .5px - 50%)); }
}

/* ==========================================================================
   Layout grid (§8.8): html[data-grid] overlays the columns with live widths.
   ========================================================================== */
.lt-grid {
  position: fixed;
  inset: 0 var(--scrollbar-comp, 0px) 0 0; /* stays on the columns while a dialog locks scrolling */
  z-index: var(--z-grid);
  display: none;
  pointer-events: none;
}
html[data-grid] .lt-grid { display: block; }
.lt-grid-frame { height: 100%; }
.lt-grid-cols {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-template-rows: 100%;
  grid-auto-rows: 0;
  column-gap: var(--gutter);
  width: min(100% - 2 * var(--margin), var(--content-max));
  height: 100%;
  margin-inline: auto;
  overflow: hidden;
}
.lt-grid-col {
  position: relative;
  background: color-mix(in srgb, var(--signal) 4.5%, transparent);
  box-shadow:
    inset 1px 0 0 color-mix(in srgb, var(--signal) 38%, transparent),
    inset -1px 0 0 color-mix(in srgb, var(--signal) 38%, transparent);
}
/* Each column's number and live width, on a chip so page text never shows through. */
.lt-grid-tag {
  position: absolute;
  top: calc(var(--bar-h) + 8px);
  left: 50%;
  display: grid;
  gap: 3px;
  padding: 4px 5px;
  border: 1px solid color-mix(in srgb, var(--signal) 38%, transparent);
  border-radius: var(--radius-control);
  background: var(--bg-raised);
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lt-grid-n { color: var(--signal-ink); }
.lt-grid-w { color: var(--ink-3); }
.lt-grid-legend {
  position: fixed;
  left: var(--margin);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  max-width: calc(100vw - 2 * var(--margin));
  padding: 3px 3px 3px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-control);
  background: var(--bg-raised);
  box-shadow: var(--lt-drop);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--ink-2);
  pointer-events: auto;
}
.lt-grid-close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.lt-grid-close .icon { width: 18px; height: 18px; }
@media (hover: hover) { .lt-grid-close:hover { color: var(--ink); background-color: var(--lt-hover); } }
/* The terminal drawer owns the bottom edge while it is open: the legend sits on top of it. */
html[data-terminal="open"] .lt-grid-legend { bottom: calc(var(--lt-term-h, 44vh) + 12px); }

/* ==========================================================================
   Grain (§2.3): a 128px noise tile on a fixed layer above the page and below
   the bar. Drawn once by ui.js; never an SVG filter.
   ========================================================================== */
html[data-grain] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background-image: var(--lt-grain);
  background-repeat: repeat;
  background-size: 128px 128px;
  opacity: var(--grain-opacity);
  pointer-events: none;
}

/* ==========================================================================
   Forced colours: system colours for state, no texture or decorative washes.
   ========================================================================== */
@media (forced-colors: active) {
  .lt-toast[data-tone="success"]::before,
  .lt-switch[aria-checked="true"] .lt-switch-thumb {
    forced-color-adjust: none;
    background: Highlight;
    box-shadow: none;
  }
  .lt-sheet-panel { border: 1px solid CanvasText; }
  .lt-switch-thumb { forced-color-adjust: none; background: GrayText; }
  .lt-icon-btn, .lt-grid-close { border: 1px solid ButtonText; }
  .lt-grid-col { background: none; box-shadow: none; border-inline: 1px solid Highlight; }
  html[data-grain] body::after { display: none; }
  :is(a, button)[data-lt-loading] { outline: 2px dashed Highlight; outline-offset: 2px; } /* gradients are dropped here */
}

@media print {
  html[data-grain] body::after,
  .lt-grid,
  .lt-toasts { display: none !important; }
}
