/* diffui kit — tokens and components for tools.diffui.ai (SPEC §23.2).
   Values are transcribed from diffui's own sources (landing-theme.css, styles.css,
   diffui-brand-share-page.js, diffui-landing-header.js, diffui-button.js, diffui-landing-footer.js)
   via the research "uikit" findings. Light is the default; html[data-theme="dark"] overrides.
   No external url()s: fonts are vendored (Geist Mono, SIL OFL 1.1, see fonts/OFL.txt). */

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GeistMono-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/GeistMono-Black.woff2) format("woff2");
}

/* ------------------------------------------------------------------ tokens: light (default) */
:root {
  color-scheme: light;
  --radius-sm: 4px; --radius-m: 8px; --radius-lg: 11px; --grid: 4px; --btn-h: 32px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-serif: Georgia, "Times New Roman", serif;
  --brand-orange: #ff6a00; --brand-gold-bright: #ffcc00;
  /* landing-theme.css */
  --bg: #f8f6f2; --panel: #fcfbf8; --panel2: #f0ede8; --text: #1a1c1e; --muted: #5c6570;
  --border: rgba(26,28,30,.12); --border2: rgba(26,28,30,.18);
  --gold: #9b7130; --gold-soft: #9b7130; --gold-muted: rgba(151,113,32,.85);
  --heading: #27231e; --copy: #39342d; --byline: #6d665c; --link: #8b6428; --accent: #1f6fd0;
  --danger: #c9503c; --success: #2f6a59; --surface: rgba(255,255,255,.78);
  --card-bg: #fcfbf8; --card-border: rgba(44,39,31,.18); --sidebar-hover: rgba(26,28,30,.06);
  --dot: rgba(40,35,27,.055); --mock-input-bg: #f8f6f2; --mock-input-border: rgba(26,28,30,.1); --code-text: #30343a;
  /* brand-share page */
  --share-dot: rgba(40,35,27,.055); --share-gold: #9b7130; --share-muted: #5c6570; --share-border: rgba(26,28,30,.14);
  --share-surface: rgba(255,255,255,.58); --share-input-bg: rgba(255,255,255,.82); --share-input-text: #25282b;
  --share-input-outline: rgba(26,28,30,.14); --share-input-focus: rgba(155,113,48,.08); --share-placeholder: rgba(37,40,43,.48);
  --share-spinner-track: rgba(26,28,30,.2); --share-frame-bg: #ebe8e2; --share-copy: #4f565d; --share-empty: #697078;
  --share-count: #737a81; --share-card-border: rgba(26,28,30,.12); --share-status: #626970;
  /* header */
  --header-text: #1a1c1e; --header-muted: #5c6570; --header-border: rgba(26,28,30,.14);
  --menu-bg: #ffffff; --menu-rim: rgba(26,28,30,.14); --menu-hover: rgba(26,28,30,.04);
  --menu-shadow: 0 0 0 1px rgba(26,28,30,.14), 0 4px 12px rgba(26,28,30,.1), 0 14px 28px rgba(26,28,30,.12);
  /* canvas node look */
  --canvas-plane: #f2efe9; --canvas-dot: rgba(40,35,27,.08); --node-fill: rgba(255,255,255,.78);
  --node-rim: rgba(26,28,30,.18); --node-rim-selected: #9b7130; --node-label: rgba(26,28,30,.68); --node-label-selected: #7c5a20;
  --edge: rgba(155,113,48,.75); --handle-fill: rgba(255,255,255,.9); --handle-rim: rgba(26,28,30,.26); --handle-glyph: rgba(26,28,30,.62);
  --canvas-stack-shadow: 0 10px 20px rgba(26,28,30,.14); --canvas-shadow-lift: 0 18px 50px rgba(26,28,30,.18);
  /* kit additions (§23.2) */
  --active-wash: linear-gradient(90deg, rgba(204,154,19,.42), rgba(232,197,107,.38));
  --focus-ring: 0 0 0 2px var(--gold);
  --scroll-thumb: rgba(26,28,30,.18); --scroll-thumb-hover: rgba(26,28,30,.32); --scroll-track: #f0ede8;
}

/* ------------------------------------------------------------------ tokens: dark */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d10; --panel: #0f1318; --panel2: #0b0f14; --text: #e6edf3; --muted: #9aa6b2;
  --border: rgba(255,255,255,.08); --border2: rgba(255,255,255,.16);
  --gold: #d4a640; --gold-soft: #b78c2f; --gold-muted: rgba(212,166,64,.72);
  --heading: #e8e1d7; --copy: #e0d9d0; --byline: #b3aaa0; --link: #f0c96e; --accent: #4aa3ff;
  --danger: #ff5c5c; --success: #63be7b; --surface: rgba(11,13,16,.88);
  --card-bg: #0e1113; --card-border: #2a2c30; --sidebar-hover: rgba(255,255,255,.06);
  --dot: rgba(255,255,255,.05); --mock-input-bg: #101215; --mock-input-border: #1e2023; --code-text: #d7dbdf;
  --share-dot: rgba(255,255,255,.06); --share-gold: #ffcc00; --share-muted: rgba(255,255,255,.68); --share-border: rgba(255,255,255,.12);
  --share-surface: rgba(255,255,255,.025); --share-input-bg: rgba(255,255,255,.035); --share-input-text: rgba(255,255,255,.86);
  --share-input-outline: rgba(255,255,255,.08); --share-input-focus: rgba(255,204,0,.045); --share-placeholder: rgba(255,255,255,.38);
  --share-spinner-track: rgba(255,255,255,.24); --share-frame-bg: #111518; --share-copy: rgba(255,255,255,.74); --share-empty: rgba(255,255,255,.5);
  --share-count: rgba(255,255,255,.46); --share-card-border: rgba(255,255,255,.1); --share-status: rgba(255,255,255,.58);
  --header-text: #e6edf3; --header-muted: #9aa6b2; --header-border: rgba(255,255,255,.16);
  --menu-bg: #0e1113; --menu-rim: rgba(255,255,255,.12); --menu-hover: rgba(255,255,255,.04);
  --menu-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.2), 0 14px 28px rgba(0,0,0,.22);
  --canvas-plane: #0b0f14; --canvas-dot: rgba(255,255,255,.1); --node-fill: rgba(18,20,24,.72);
  --node-rim: rgba(255,255,255,.18); --node-rim-selected: #d4a640; --node-label: rgba(255,255,255,.7); --node-label-selected: #f5d36c;
  --edge: rgba(212,166,64,.72); --handle-fill: rgba(7,9,12,.72); --handle-rim: rgba(255,255,255,.22); --handle-glyph: rgba(255,255,255,.68);
  --canvas-stack-shadow: 0 10px 20px rgba(0,0,0,.24); --canvas-shadow-lift: 0 18px 50px rgba(0,0,0,.45);
  --active-wash: linear-gradient(90deg, rgba(255,106,0,.2), rgba(255,204,0,.2));
  --focus-ring: 0 0 0 2px var(--gold);
  --scroll-thumb: var(--border2); --scroll-thumb-hover: rgba(255,255,255,.28); --scroll-track: var(--panel2);
}

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: .2px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font-family: inherit; font-size: 12px; color: inherit; }
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
a { color: var(--link); }
::selection { background: color-mix(in srgb, var(--gold) 28%, transparent); }

/* scrollbars (styles.css) */
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; border: 2px solid var(--scroll-track); }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ button (diffui-button) */
.dui-btn {
  --height: 32px;
  box-sizing: border-box;
  height: calc(var(--height) - 1px);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--gap, 8px);
  padding: 0 var(--padding-x, 10px);
  font-family: var(--font-mono); font-size: var(--font-size, 12px); font-weight: var(--font-weight, 400);
  line-height: normal; white-space: nowrap;
  cursor: pointer; text-decoration: none; position: relative;
  color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.19); border-radius: var(--radius-sm, 4px);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  background: linear-gradient(90deg, rgba(255,106,0,.20) 0%, rgba(255,204,0,.20) 100%) var(--button-underlay, transparent);
  box-shadow: 1px 1px 0 0 rgba(255,106,0,.30), 0 4px 4px 0 rgba(0,0,0,.25);
}
.dui-btn svg, .dui-btn img { width: var(--icon-size, 12px); height: var(--icon-size, 12px); flex: 0 0 auto; }
.dui-btn:active { box-shadow: 0 2px 2px 0 rgba(0,0,0,.25); transform: translate(1px, 1px); }
html[data-theme=light] .dui-btn:not(.subtle):not(.outline):not(.danger):not(:disabled) {
  border: 1px solid rgba(173,120,0,.40);
  background: linear-gradient(90deg, rgba(204,154,19,.55) 0%, rgba(232,197,107,.49) 100%) var(--button-underlay, transparent);
  box-shadow: 1px 1px 0 0 rgba(255,189,240,.47), 0 4px 4px 0 rgb(82 56 0 / 19%);
  color: var(--text, #1a1c1e); text-shadow: -1px -1px 0 rgba(255,255,255,.25);
}
.dui-btn.subtle { color: var(--text); border-color: var(--border2); background: rgba(255,255,255,.03); box-shadow: none; text-shadow: none; }
.dui-btn.subtle:hover, .dui-btn.subtle:focus-visible { border-color: var(--gold); background: rgba(212,166,64,.1); box-shadow: none; }
.dui-btn.subtle:active { border-color: var(--gold); background: rgba(212,166,64,.14); box-shadow: none; transform: none; }
.dui-btn.outline { color: #ffcc00; border-color: rgba(255,204,0,.55); background: transparent; box-shadow: none; text-shadow: none; }
.dui-btn.outline:hover { background: rgba(255,204,0,.08); border-color: rgba(255,204,0,.8); }
html[data-theme=light] .dui-btn.outline { color: #9b7130; border-color: color-mix(in srgb, #9b7130 50%, transparent); }
html[data-theme=light] .dui-btn.outline:hover { background: color-mix(in srgb, #9b7130 10%, transparent); border-color: #9b7130; }
.dui-btn:disabled, .dui-btn[aria-disabled=true] {
  cursor: not-allowed; box-shadow: none; text-shadow: none; transform: none;
  color: rgba(255,255,255,.52); border-color: rgba(255,255,255,.1);
  background: rgba(128,128,128,.18); filter: grayscale(1) saturate(0) contrast(.72);
}
html[data-theme=light] .dui-btn:disabled, html[data-theme=light] .dui-btn[aria-disabled=true] {
  color: rgba(26,28,30,.42); border-color: rgba(26,28,30,.14); background: rgba(26,28,30,.06); filter: none;
}
/* focus ring keeps the button's own shadow visible */
.dui-btn:focus-visible { box-shadow: var(--focus-ring); }
/* size presets (instead of inline style=) */
.dui-btn--header { --height: 34px; --padding-x: 12px; --font-size: 12px; --font-weight: 500; --button-underlay: var(--bg); }
.dui-btn--lg { --height: 34px; --font-weight: 800; }

.dui-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--share-spinner-track); border-top-color: var(--share-gold);
  border-radius: 999px; display: inline-block; flex: 0 0 auto;
  animation: dui-spin .7s linear infinite;
}
@keyframes dui-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ header (diffui-landing-header) */
.topbar {
  --button-underlay: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; gap: 16px; color: var(--header-text);
}
.topbarStart { display: flex; align-items: center; gap: 24px; min-width: 0; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: inherit;
  font-family: var(--font-serif); font-size: 17px; font-weight: 500; letter-spacing: .2px; text-decoration: none;
}
.brand img { width: 22px; height: 22px; display: block; }
.brandWord { color: var(--header-text); font-size: 20px; }
.brandWord b { color: var(--gold); font-weight: 500; }
.topNav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.navLink {
  height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px;
  border: 0; background: transparent; color: var(--header-muted);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .2px;
  text-decoration: none; transition: color 120ms ease; cursor: pointer; border-radius: var(--radius-sm);
}
.navLink:hover { color: var(--header-text); }
.navLink[aria-current=page] { color: var(--gold); }
.authActions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  .topbar { background: var(--bg); position: relative; display: block; padding: 14px; }
  /* the CTA stays visible (§23.2), so the brand + nav row leaves room for it */
  .topbarStart { width: 100%; align-items: flex-start; padding-right: 136px; }
  .brand { min-height: 34px; flex: 0 0 auto; }
  .authActions { position: absolute; top: 14px; right: 14px; }
  .topNav { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; }
  .navLink { flex: 0 0 auto; }
}
@media (max-width: 520px) {
  /* narrow phones: the nav moves to its own scrollable row under the brand and CTA */
  .topbarStart { flex-wrap: wrap; row-gap: 8px; padding-right: 0; }
  .topNav { flex-basis: 100%; margin-left: -10px; }
}

/* ------------------------------------------------------------------ page shell (brand-share layout) */
.shell {
  min-height: 100vh;
  background-image: radial-gradient(var(--share-dot) 1px, transparent 1px);
  background-size: 16px 16px; background-position: 0 0;
  display: flex; flex-direction: column;
}
.shell--glow {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 32rem), radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: auto, 16px 16px;
}
.page { display: grid; gap: 22px; width: min(1120px, calc(100vw - 32px)); margin: 0 auto; padding: 28px 0 46px; flex: 1 0 auto; align-content: start; }
.page > * { min-width: 0; }
.top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.brandBlock { display: grid; gap: 8px; min-width: 0; }
h1 { margin: 0; font-size: 40px; line-height: 1; overflow-wrap: anywhere; }
h1 .gold { color: var(--share-gold); }
.tagline { max-width: 720px; margin: 0; color: var(--share-muted); font-size: 15px; line-height: 1.45; }
.promptBox { grid-column: 1 / -1; display: grid; gap: 10px; padding: 12px; border: 1px solid var(--share-border); border-radius: 8px; background: var(--share-surface); }
.promptInput {
  width: 100%; min-height: 92px; resize: vertical; border: 0; border-radius: 4px;
  background: var(--share-input-bg); color: var(--share-input-text);
  font: 13px/1.45 var(--font-mono); padding: 10px; outline: 1px solid var(--share-input-outline);
}
.promptInput:focus { outline-color: var(--share-gold); background: var(--share-input-focus); }
.promptInput::placeholder { color: var(--share-placeholder); }
.promptActions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.frame {
  width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--share-border); border-radius: 8px;
  background: var(--share-frame-bg); display: grid; place-items: center; overflow: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f7f7f5; }
.frame.isAnimating { transition: height 360ms cubic-bezier(.2,.8,.2,1); }
.resultCta { margin: 20px 0 0; color: var(--share-copy); font-size: 14px; line-height: 1.4; text-align: center; }
.sectionHead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
h2 { margin: 0; font-size: 18px; }
.count { color: var(--share-count); font: 11px var(--font-mono); }
.status { min-height: 18px; color: var(--share-status); font: 12px var(--font-mono); margin: 0; }
.empty { color: var(--share-empty); font: 12px var(--font-mono); }
.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.example { border: 1px solid var(--share-card-border); border-radius: 7px; background: var(--share-surface); overflow: hidden; }
.example img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.label { font-size: 11px; font-weight: 500; color: var(--muted); }
.note { color: var(--muted); font-size: 11px; line-height: 1.4; margin: 0; }
.note a { color: inherit; text-underline-offset: 2px; }
.note a:hover { color: var(--gold); }
.drop {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px dashed var(--border2); border-radius: 4px; padding: 10px;
  background: rgba(255,255,255,.02); color: var(--muted); font-size: 11px;
}
.toggle { display: flex; gap: 4px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.toggle button { height: 32px; padding: 0 10px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.toggle button[data-on=true] { background: var(--panel); color: var(--text); }
.toggle button[aria-pressed=true] { background: var(--active-wash); color: var(--text); }
.toggle button:hover { color: var(--text); }
@media (max-width: 700px) {
  .top { grid-template-columns: 1fr; }
  .top .dui-btn { width: 100%; }
  h1 { font-size: 32px; }
}

/* ------------------------------------------------------------------ footer (diffui-landing-footer) */
.footer {
  width: 100%; border-top: 1px solid var(--card-border); padding: 22px 28px;
  display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 16px 28px;
  color: var(--muted); font: 12px var(--font-mono);
}
.footerBrand { display: flex; align-items: center; gap: 8px; justify-self: start; }
.footerBrand img { width: 16px; height: 16px; display: block; opacity: .85; }
.footerLinks { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.footerCenter { justify-self: center; }
.footerLegal { justify-self: end; }
.footerLinks a { color: var(--muted); text-decoration: none; transition: color 120ms ease; }
.footerLinks a:hover { color: var(--gold); }
.footerNote { grid-column: 1 / -1; justify-self: center; text-align: center; font-family: var(--font-mono); }
@media (max-width: 960px) {
  .footer { grid-template-columns: 1fr; gap: 12px; padding: 22px 16px; }
  .footerBrand, .footerCenter, .footerLegal, .footerNote { justify-self: start; text-align: left; }
  .footerLinks { gap: 8px 18px; }
}

/* ------------------------------------------------------------------ kit additions (§23.2) */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field .fieldLabel { font: 12px var(--font-mono); color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.field input[type=text], .field input[type=search], .field input[type=number], .field input:not([type]) {
  height: 32px; border: 0; border-radius: 4px; padding: 0 10px;
  background: var(--share-input-bg); color: var(--share-input-text);
  font: 13px var(--font-mono); outline: 1px solid var(--share-input-outline);
}
.field input[type=color] {
  width: 32px; height: 32px; padding: 2px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--share-input-bg); outline: 1px solid var(--share-input-outline);
}
.field input::placeholder { color: var(--share-placeholder); }
.field input:focus-visible, .field input:focus { outline: 1px solid var(--share-gold); background: var(--share-input-focus); box-shadow: none; }
.field input[aria-invalid=true] { outline-color: var(--danger); }
.fieldError { color: var(--danger); font: 11px var(--font-mono); margin: 0; }

.chip {
  display: inline-grid; gap: 6px; justify-items: stretch; padding: 0; border: 0; background: none;
  cursor: pointer; color: inherit; text-align: left; border-radius: 6px;
  transition: transform 120ms ease;
}
.chip .chipSwatch {
  display: block; height: 44px; border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.chip .chipHex { font: 11px var(--font-mono); color: var(--muted); white-space: nowrap; }
.chip:hover { transform: translateY(-1px); }
.chip:hover .chipHex { color: var(--text); }
.chip:focus-visible { box-shadow: var(--focus-ring); }

.banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--share-surface); border: 1px solid var(--share-border); border-left: 3px solid var(--gold);
  border-radius: 4px; padding: 10px 12px;
  color: var(--copy); font: 12px/1.5 var(--font-mono);
}
.banner--warn { border-left-color: var(--danger); }
.banner--stack { flex-direction: column; }

/* platform pages served by toolsd (index card grid, dev overlay; §9.8, §15.6) */
ul.examples { list-style: none; margin: 0; padding: 0; }
.toolCard {
  display: grid; align-content: start; gap: 6px; height: 100%; padding: 14px 16px;
  color: var(--text); text-decoration: none; border-radius: inherit;
  transition: background 120ms ease;
}
.toolCard:hover { background: var(--share-input-focus); }
.toolCard:hover .toolCardTitle { color: var(--share-gold); }
.toolCard:focus-visible { box-shadow: var(--focus-ring); }
.toolCardTitle { font-size: 15px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.toolCardText { font-size: 12px; }
.problems { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.problems code { font: 12px/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }

.dui-toasts {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: grid; gap: 8px; justify-items: center; z-index: 1000; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px);
}
.dui-toast {
  pointer-events: auto;
  background: var(--menu-bg); color: var(--text); box-shadow: var(--menu-shadow);
  border-radius: 8px; padding: 10px 14px; font: 12px/1.45 var(--font-mono);
  animation: dui-toast-in 180ms cubic-bezier(.2,.8,.2,1);
  transition: opacity 160ms ease, transform 160ms ease;
}
.dui-toast--success { box-shadow: inset 3px 0 0 var(--success), var(--menu-shadow); }
.dui-toast--error { box-shadow: inset 3px 0 0 var(--danger), var(--menu-shadow); }
.dui-toast.is-leaving { opacity: 0; transform: translateY(6px); }
@keyframes dui-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .dui-toast { animation: none; }
  .dui-toast.is-leaving { transform: none; }
  .chip, .chip:hover { transform: none; transition: none; }
  .dui-spinner { animation-duration: 1.6s; }
}
