@layer stucco.reset, stucco.tokens, stucco.base, stucco.layout, stucco.components, stucco.utilities;
@layer stucco.reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, picture, svg, video, canvas { display: block; max-inline-size: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  p { text-wrap: pretty; overflow-wrap: break-word; }
  h1, h2, h3, h4, h5, h6 { text-wrap: balance; overflow-wrap: break-word; }
}
@layer stucco.tokens {
  :root { color-scheme: light dark;
    --st-neutral-1: light-dark(oklch(99.00% 0.0012 250.00), oklch(16.00% 0.0012 250.00));
    --st-neutral-2: light-dark(oklch(97.50% 0.0018 250.00), oklch(19.00% 0.0018 250.00));
    --st-neutral-3: light-dark(oklch(95.00% 0.0030 250.00), oklch(23.00% 0.0030 250.00));
    --st-neutral-4: light-dark(oklch(92.00% 0.0042 250.00), oklch(26.00% 0.0042 250.00));
    --st-neutral-5: light-dark(oklch(88.50% 0.0054 250.00), oklch(30.00% 0.0054 250.00));
    --st-neutral-6: light-dark(oklch(84.50% 0.0066 250.00), oklch(34.00% 0.0066 250.00));
    --st-neutral-7: light-dark(oklch(79.00% 0.0078 250.00), oklch(40.00% 0.0078 250.00));
    --st-neutral-8: light-dark(oklch(71.00% 0.0096 250.00), oklch(48.00% 0.0096 250.00));
    --st-neutral-9: light-dark(oklch(60.00% 0.0120 250.00), oklch(60.00% 0.0120 250.00));
    --st-neutral-10: light-dark(oklch(55.00% 0.0120 250.00), oklch(66.00% 0.0120 250.00));
    --st-neutral-11: light-dark(oklch(45.00% 0.0102 250.00), oklch(80.00% 0.0102 250.00));
    --st-neutral-12: light-dark(oklch(24.00% 0.0054 250.00), oklch(95.00% 0.0054 250.00));
    --st-accent-1: light-dark(oklch(99.00% 0.0049 250.00), oklch(16.00% 0.0150 250.00));
    --st-accent-2: light-dark(oklch(97.50% 0.0123 250.00), oklch(19.00% 0.0225 250.00));
    --st-accent-3: light-dark(oklch(95.00% 0.0248 250.00), oklch(23.00% 0.0375 250.00));
    --st-accent-4: light-dark(oklch(92.00% 0.0401 250.00), oklch(26.00% 0.0525 250.00));
    --st-accent-5: light-dark(oklch(88.50% 0.0584 250.00), oklch(30.00% 0.0675 250.00));
    --st-accent-6: light-dark(oklch(84.50% 0.0799 250.00), oklch(34.00% 0.0825 250.00));
    --st-accent-7: light-dark(oklch(79.00% 0.0975 250.00), oklch(40.00% 0.0975 250.00));
    --st-accent-8: light-dark(oklch(71.00% 0.1200 250.00), oklch(48.00% 0.1200 250.00));
    --st-accent-9: light-dark(oklch(60.00% 0.1500 250.00), oklch(60.00% 0.1500 250.00));
    --st-accent-10: light-dark(oklch(55.00% 0.1500 250.00), oklch(66.00% 0.1500 250.00));
    --st-accent-11: light-dark(oklch(45.00% 0.1275 250.00), oklch(80.00% 0.1049 250.00));
    --st-accent-12: light-dark(oklch(24.00% 0.0675 250.00), oklch(95.00% 0.0248 250.00));
    --st-success-1: light-dark(oklch(99.00% 0.0140 150.00), oklch(16.00% 0.0140 150.00));
    --st-success-2: light-dark(oklch(97.50% 0.0210 150.00), oklch(19.00% 0.0210 150.00));
    --st-success-3: light-dark(oklch(95.00% 0.0350 150.00), oklch(23.00% 0.0350 150.00));
    --st-success-4: light-dark(oklch(92.00% 0.0490 150.00), oklch(26.00% 0.0490 150.00));
    --st-success-5: light-dark(oklch(88.50% 0.0630 150.00), oklch(30.00% 0.0630 150.00));
    --st-success-6: light-dark(oklch(84.50% 0.0770 150.00), oklch(34.00% 0.0770 150.00));
    --st-success-7: light-dark(oklch(79.00% 0.0910 150.00), oklch(40.00% 0.0910 150.00));
    --st-success-8: light-dark(oklch(71.00% 0.1120 150.00), oklch(48.00% 0.1120 150.00));
    --st-success-9: light-dark(oklch(60.00% 0.1400 150.00), oklch(60.00% 0.1400 150.00));
    --st-success-10: light-dark(oklch(55.00% 0.1400 150.00), oklch(66.00% 0.1400 150.00));
    --st-success-11: light-dark(oklch(45.00% 0.1190 150.00), oklch(80.00% 0.1190 150.00));
    --st-success-12: light-dark(oklch(24.00% 0.0630 150.00), oklch(95.00% 0.0630 150.00));
    --st-warning-1: light-dark(oklch(99.00% 0.0105 85.00), oklch(16.00% 0.0140 85.00));
    --st-warning-2: light-dark(oklch(97.50% 0.0210 85.00), oklch(19.00% 0.0210 85.00));
    --st-warning-3: light-dark(oklch(95.00% 0.0350 85.00), oklch(23.00% 0.0350 85.00));
    --st-warning-4: light-dark(oklch(92.00% 0.0490 85.00), oklch(26.00% 0.0490 85.00));
    --st-warning-5: light-dark(oklch(88.50% 0.0630 85.00), oklch(30.00% 0.0618 85.00));
    --st-warning-6: light-dark(oklch(84.50% 0.0770 85.00), oklch(34.00% 0.0699 85.00));
    --st-warning-7: light-dark(oklch(79.00% 0.0910 85.00), oklch(40.00% 0.0822 85.00));
    --st-warning-8: light-dark(oklch(71.00% 0.1120 85.00), oklch(48.00% 0.0985 85.00));
    --st-warning-9: light-dark(oklch(60.00% 0.1230 85.00), oklch(60.00% 0.1230 85.00));
    --st-warning-10: light-dark(oklch(55.00% 0.1128 85.00), oklch(66.00% 0.1353 85.00));
    --st-warning-11: light-dark(oklch(45.00% 0.0924 85.00), oklch(80.00% 0.1190 85.00));
    --st-warning-12: light-dark(oklch(24.00% 0.0497 85.00), oklch(95.00% 0.0531 85.00));
    --st-danger-1: light-dark(oklch(99.00% 0.0048 25.00), oklch(16.00% 0.0140 25.00));
    --st-danger-2: light-dark(oklch(97.50% 0.0122 25.00), oklch(19.00% 0.0210 25.00));
    --st-danger-3: light-dark(oklch(95.00% 0.0249 25.00), oklch(23.00% 0.0350 25.00));
    --st-danger-4: light-dark(oklch(92.00% 0.0408 25.00), oklch(26.00% 0.0490 25.00));
    --st-danger-5: light-dark(oklch(88.50% 0.0606 25.00), oklch(30.00% 0.0630 25.00));
    --st-danger-6: light-dark(oklch(84.50% 0.0770 25.00), oklch(34.00% 0.0770 25.00));
    --st-danger-7: light-dark(oklch(79.00% 0.0910 25.00), oklch(40.00% 0.0910 25.00));
    --st-danger-8: light-dark(oklch(71.00% 0.1120 25.00), oklch(48.00% 0.1120 25.00));
    --st-danger-9: light-dark(oklch(60.00% 0.1400 25.00), oklch(60.00% 0.1400 25.00));
    --st-danger-10: light-dark(oklch(55.00% 0.1400 25.00), oklch(66.00% 0.1400 25.00));
    --st-danger-11: light-dark(oklch(45.00% 0.1190 25.00), oklch(80.00% 0.1143 25.00));
    --st-danger-12: light-dark(oklch(24.00% 0.0630 25.00), oklch(95.00% 0.0249 25.00));
    --st-info-1: light-dark(oklch(99.00% 0.0053 240.00), oklch(16.00% 0.0140 240.00));
    --st-info-2: light-dark(oklch(97.50% 0.0132 240.00), oklch(19.00% 0.0210 240.00));
    --st-info-3: light-dark(oklch(95.00% 0.0267 240.00), oklch(23.00% 0.0350 240.00));
    --st-info-4: light-dark(oklch(92.00% 0.0431 240.00), oklch(26.00% 0.0490 240.00));
    --st-info-5: light-dark(oklch(88.50% 0.0628 240.00), oklch(30.00% 0.0630 240.00));
    --st-info-6: light-dark(oklch(84.50% 0.0770 240.00), oklch(34.00% 0.0770 240.00));
    --st-info-7: light-dark(oklch(79.00% 0.0910 240.00), oklch(40.00% 0.0910 240.00));
    --st-info-8: light-dark(oklch(71.00% 0.1120 240.00), oklch(48.00% 0.1101 240.00));
    --st-info-9: light-dark(oklch(60.00% 0.1375 240.00), oklch(60.00% 0.1375 240.00));
    --st-info-10: light-dark(oklch(55.00% 0.1261 240.00), oklch(66.00% 0.1400 240.00));
    --st-info-11: light-dark(oklch(45.00% 0.1032 240.00), oklch(80.00% 0.1128 240.00));
    --st-info-12: light-dark(oklch(24.00% 0.0554 240.00), oklch(95.00% 0.0267 240.00));
    --st-bg: var(--st-neutral-1);
    --st-surface: var(--st-neutral-2);
    --st-surface-raised: var(--st-neutral-3);
    --st-hover: var(--st-neutral-4);
    --st-text: var(--st-neutral-12);
    --st-text-muted: var(--st-neutral-11);
    --st-border: var(--st-neutral-6);
    --st-border-strong: var(--st-neutral-9);
    --st-accent: var(--st-accent-9);
    --st-accent-hover: light-dark(var(--st-accent-8), var(--st-accent-10));
    --st-accent-text: var(--st-accent-11);
    --st-accent-soft: var(--st-accent-3);
    --st-on-accent: light-dark(oklch(0.00% 0.0000 0.00), oklch(0.00% 0.0000 0.00));
    --st-focus: var(--st-accent-9);
    --st-success: var(--st-success-9);
    --st-success-text: var(--st-success-11);
    --st-success-soft: var(--st-success-3);
    --st-warning: var(--st-warning-9);
    --st-warning-text: var(--st-warning-11);
    --st-warning-soft: var(--st-warning-3);
    --st-danger: var(--st-danger-9);
    --st-danger-text: var(--st-danger-11);
    --st-danger-soft: var(--st-danger-3);
    --st-info: var(--st-info-9);
    --st-info-text: var(--st-info-11);
    --st-info-soft: var(--st-info-3);
    --st-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --st-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --st-text-xs: clamp(0.6250rem, 0.5978rem + 0.1208vw, 0.6944rem);
    --st-text-sm: clamp(0.7500rem, 0.7174rem + 0.1449vw, 0.8333rem);
    --st-text-base: clamp(0.9000rem, 0.8609rem + 0.1739vw, 1.0000rem);
    --st-text-lg: clamp(1.0800rem, 1.0330rem + 0.2087vw, 1.2000rem);
    --st-text-xl: clamp(1.2960rem, 1.2397rem + 0.2504vw, 1.4400rem);
    --st-text-2xl: clamp(1.5552rem, 1.4876rem + 0.3005vw, 1.7280rem);
    --st-text-3xl: clamp(1.8662rem, 1.7851rem + 0.3606vw, 2.0736rem);
    --st-space-1: 4px;
    --st-space-2: 8px;
    --st-space-3: 12px;
    --st-space-4: 16px;
    --st-space-5: 20px;
    --st-space-6: 24px;
    --st-space-7: 32px;
    --st-space-8: 40px;
    --st-space-9: 48px;
    --st-space-10: 64px;
    --st-space-11: 80px;
    --st-space-12: 96px;
    --st-radius-sm: 4px; --st-radius-md: 8px; --st-radius-lg: 12px; --st-radius-full: 9999px;
    --st-control-h: 40px; --st-pad-scale: 1;
    --st-z-dropdown: 100; --st-z-sticky: 200; --st-z-overlay: 300; --st-z-toast: 400;
    --st-shadow-ink: light-dark(var(--st-neutral-12), oklch(0 0 0));
    --st-shadow-1: 0 2px 8px color-mix(in oklch, var(--st-shadow-ink) 8%, transparent);
    --st-shadow-2: 0 4px 16px color-mix(in oklch, var(--st-shadow-ink) 12%, transparent);
    --st-shadow-3: 0 6px 24px color-mix(in oklch, var(--st-shadow-ink) 18%, transparent);
    --st-surface-shadow: 0 0 transparent;
    --st-card-shadow: var(--st-shadow-1);
    --st-table-rule: var(--st-border);
    --st-table-stripe: transparent;
    --st-table-head-bg: var(--st-surface-raised);
    --st-control-bg: var(--st-surface);
    --st-control-border-width: var(--st-line);
    --st-control-radius: var(--st-radius-md);
    --st-control-invalid-ring: 0 0 0 1px var(--st-danger);
    --st-header-bg: var(--st-surface-material);
    --st-header-border: var(--st-border);
    --st-heading-weight: 650;
    --st-heading-tracking: -0.01em;
    --st-button-radius: var(--st-radius-md);
    --st-link-line: currentColor;
    --st-link-thickness: auto;
    --st-link-hover-thickness: 2px;
    --st-link-bg: none;
    --st-link-weight: inherit;
    --st-nav-current-bg: var(--st-accent-soft);
    --st-nav-current-text: var(--st-accent-text);
    --st-nav-current-bar: transparent;
    --st-focus-width: 2px;
    --st-focus-offset: 2px;
    --st-finish: none;
    --st-shell-columns: 15rem minmax(0, 1fr);
    --st-shell-areas: "nav main" "side main";
    --st-shell-columns-solo: 15rem minmax(0, 1fr);
    --st-shell-areas-solo: "nav main" "nav main";
    --st-shell-nav-direction: column;
    --st-shell-nav-pad-block: var(--st-space-4) var(--st-space-2);
    --st-shell-nav-rule-inline: var(--st-line);
    --st-shell-nav-rule-block: 0;
    --st-shell-side-bg: var(--st-surface-material);
    --st-shell-bar-inset-block: var(--st-space-1);
    --st-shell-bar-inset-inline: 0 auto;
    --st-shell-bar-inline-size: 3px;
    --st-shell-bar-block-size: auto;
    --st-surface-radius: var(--st-radius-lg);
    --st-corner-shape: round;
    --st-panel-border: var(--st-line) solid var(--st-border);
    --st-panel-rule: var(--st-line) solid var(--st-border);
    --st-panel-bg: var(--st-surface-material);
    --st-panel-radius: var(--st-surface-radius);
    --st-panel-pad-inline: var(--st-space-6);
    --st-panel-shadow: var(--st-surface-shadow);
    --st-panel-head-bg: transparent;
    --st-panel-head-pad: 0;
    --st-panel-head-margin: 0 0 var(--st-space-4);
    --st-panel-head-rule: 0 solid transparent;
    --st-line: 1px;
    --st-button-shadow: 0 0 transparent;
    --st-button-shadow-pressed: 0 0 transparent;
    --st-button-press-scale: 0.96;
    --st-button-press-shift: 0 0;
    --st-label-case: none;
    --st-label-tracking: normal;
    --st-label-weight: 600;
    --st-label-color: var(--st-text-muted);
    --st-icon-stroke: 2;
    --st-duration-fast: 120ms;
    --st-duration: 200ms;
    --st-duration-slow: 320ms;
    --st-ease: cubic-bezier(.2,0,0,1);
    --st-font-heading: var(--st-font-sans);
    --st-leading: 1.5;
    --st-tag-radius: var(--st-radius-full);
    --st-tag-bg: var(--st-surface-raised);
    --st-tag-border: var(--st-border);
    --st-rule-style: solid;
    --st-surface-material: var(--st-surface);
    --st-surface-blur: none;
    --st-surface-edge: 0 0 transparent;
    --st-panel-edge: 0 0 transparent;
    --st-backdrop: none;
    --st-relief: none;
    --st-pattern: none;
    --st-header-mask: none;
    --st-header-edge: 0px;
    --st-header-rule: var(--st-line);
  }
  [data-theme="light"] { color-scheme: light; }
  [data-theme="dark"] { color-scheme: dark; }
}
@layer stucco.base {
  body {
    background: var(--st-finish, none), var(--st-relief, none), var(--st-backdrop, none) var(--st-bg);
    color: var(--st-text);
    font-family: var(--st-font-sans);
    font-size: var(--st-text-base);
    line-height: var(--st-leading, 1.5);
  }
  :focus-visible { outline: var(--st-focus-width, 2px) solid var(--st-focus); outline-offset: var(--st-focus-offset, 2px); }
  a { color: var(--st-accent-text); }
  a, button, input, select, textarea, summary, label { touch-action: manipulation; }
  code, kbd, pre, samp { font-family: var(--st-font-mono); }
  .st-sr-only {
    position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  /* The finish's grain, the relief and the backdrop go for visitors who ask for more contrast. */
  @media (prefers-contrast: more), (forced-colors: active) {
    body { background-image: none; }
  }
  /* Translucent surfaces turn solid for visitors who ask for less transparency or more contrast. */
  @media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
    :root, [data-st-theme] { --st-surface-material: var(--st-surface); --st-surface-blur: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
@layer stucco.components {
  .st-app-shell {
    --st-app-gutter: clamp(var(--st-space-4), 3vw, var(--st-space-8));
    /* Inline padding that puts navigation link text on the header's gutter edge. */
    --st-app-side-pad: max(var(--st-space-1), calc(var(--st-app-gutter) - var(--st-space-3)));
    min-block-size: 100dvh; display: flex; flex-direction: column; container-type: inline-size;
  }
  /* The header's fill carries the theme's pattern; a shaped edge masks its bottom and replaces the rule.
     The fill sits on a layer behind the content, so the mask shapes only the fill and never clips
     what opens out of the header, such as a menu. */
  .st-app-header {
    /* Above the content that follows, so what opens out of it stays on top. */
    position: relative; z-index: 1;
    padding: var(--st-space-6) var(--st-app-gutter); padding-block-end: calc(var(--st-space-6) + var(--st-header-edge, 0px));
    border-block-end: var(--st-header-rule, var(--st-line, 1px)) solid var(--st-header-border);
  }
  .st-app-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    -webkit-mask: var(--st-header-mask, none); mask: var(--st-header-mask, none);
    background: var(--st-pattern, none) var(--st-header-bg); -webkit-backdrop-filter: var(--st-surface-blur, none); backdrop-filter: var(--st-surface-blur, none);
  }
  @media (prefers-contrast: more), (forced-colors: active) {
    .st-app-header::before { background-image: none; }
  }
  /* A grid of the primary links (nav), the sidebar (side) and main, arranged by the theme's shell layout. */
  .st-app-body {
    flex: 1; display: grid; min-inline-size: 0; container-type: inline-size;
    grid-template-columns: var(--st-shell-columns); grid-template-rows: auto 1fr; grid-template-areas: var(--st-shell-areas);
  }
  .st-app-body:where(:not([data-sidebar])) { grid-template-columns: var(--st-shell-columns-solo); grid-template-areas: var(--st-shell-areas-solo); }
  .st-app-body:where(:not([data-sidebar], [data-nav])) { grid-template: "main" 1fr / minmax(0, 1fr); }
  .st-app-nav {
    grid-area: nav; display: flex; flex-direction: var(--st-shell-nav-direction); flex-wrap: wrap; gap: 2px;
    padding: var(--st-shell-nav-pad-block) var(--st-app-side-pad); background: var(--st-shell-side-bg);
    -webkit-backdrop-filter: var(--st-surface-blur, none); backdrop-filter: var(--st-surface-blur, none);
    border: 0 solid var(--st-border);
    border-inline-end-width: var(--st-shell-nav-rule-inline); border-block-end-width: var(--st-shell-nav-rule-block);
  }
  .st-app-sidebar {
    grid-area: side; padding: var(--st-space-4) var(--st-app-side-pad);
    background: var(--st-shell-side-bg); -webkit-backdrop-filter: var(--st-surface-blur, none); backdrop-filter: var(--st-surface-blur, none);
    border-inline-end: var(--st-line, 1px) solid var(--st-border);
  }
  .st-app-main { grid-area: main; min-inline-size: 0; padding: var(--st-space-6) var(--st-app-gutter) var(--st-space-10); }
  /* Narrow shells stack everything; the primary links wrap in a row. */
  @container (width < 37.5rem) {
    .st-app-body { grid-template: "nav" auto "side" auto "main" 1fr / minmax(0, 1fr); }
    .st-app-nav { flex-direction: row; padding-block: var(--st-space-2); border-inline-end-width: 0; border-block-end-width: var(--st-line, 1px); }
    .st-app-sidebar { border-inline-end: 0; border-block-end: var(--st-line, 1px) solid var(--st-border); }
  }
  .st-app-sidebar summary {
    padding: var(--st-space-2) var(--st-space-3); border-radius: var(--st-radius-md);
    font-size: var(--st-text-sm); font-weight: var(--st-label-weight, 600); color: var(--st-label-color, var(--st-text-muted)); cursor: pointer;
    text-transform: var(--st-label-case, none); letter-spacing: var(--st-label-tracking, normal);
  }
  .st-app-sidebar summary:hover { color: var(--st-text); }
  .st-app-sidebar nav { display: flex; flex-direction: column; gap: 2px; margin-block-start: var(--st-space-1); }
  .st-app-nav > a, .st-app-sidebar nav a {
    position: relative; display: block; padding: var(--st-space-2) var(--st-space-3); border-radius: var(--st-radius-md);
    color: var(--st-text); font-weight: 500; text-decoration: none;
    transition: background-color var(--st-duration-fast) var(--st-ease);
  }
  .st-app-nav > a:hover, .st-app-sidebar nav a:hover { background: var(--st-hover); }
  .st-app-nav > a[aria-current="page"], .st-app-sidebar nav a[aria-current="page"] {
    background: var(--st-nav-current-bg); color: var(--st-nav-current-text); font-weight: 600;
  }
  /* The current page's marker, transparent unless the theme's nav style is Bar. In sidebars it runs
     along the leading edge; primary links in a row get it underneath instead. */
  .st-app-nav > a[aria-current="page"]::before, .st-app-sidebar nav a[aria-current="page"]::before {
    content: ""; position: absolute; inset-block: var(--st-space-1); inset-inline: 0 auto;
    inline-size: 3px; border-radius: var(--st-radius-full); background: var(--st-nav-current-bar);
  }
  .st-app-nav > a[aria-current="page"]::before {
    inset-block: var(--st-shell-bar-inset-block); inset-inline: var(--st-shell-bar-inset-inline);
    inline-size: var(--st-shell-bar-inline-size); block-size: var(--st-shell-bar-block-size);
  }
  @container (width < 37.5rem) {
    .st-app-nav > a[aria-current="page"]::before { inset-block: auto 0; inset-inline: var(--st-space-3); inline-size: auto; block-size: 3px; }
  }
  .st-page-header { display: flex; flex-direction: column; gap: var(--st-space-1); margin-block-end: var(--st-space-6); }
  .st-app-header .st-page-header { margin-block-end: 0; }
  .st-page-header-description { color: var(--st-text-muted); }
  .st-footer {
    padding: var(--st-space-5) var(--st-app-gutter, var(--st-space-6));
    border-block-start: var(--st-line, 1px) var(--st-rule-style, solid) var(--st-border); color: var(--st-text-muted); font-size: var(--st-text-sm);
  }
}

@layer stucco.components {
  .st-card {
    padding: var(--st-space-6); border: var(--st-line, 1px) solid var(--st-border); background: var(--st-surface-material, var(--st-surface)); -webkit-backdrop-filter: var(--st-surface-blur, none); backdrop-filter: var(--st-surface-blur, none);
    box-shadow: var(--st-surface-edge, 0 0 transparent), var(--st-card-shadow);
    border-radius: var(--st-surface-radius); corner-shape: var(--st-corner-shape);
  }
  /* The theme's panel style: a box, an open section under a strong rule, or a box with a title band. */
  .st-panel {
    padding: var(--st-space-6) var(--st-panel-pad-inline);
    border: var(--st-panel-border); border-block-start: var(--st-panel-rule);
    border-radius: var(--st-panel-radius); corner-shape: var(--st-corner-shape);
    background: var(--st-panel-bg); box-shadow: var(--st-panel-edge, 0 0 transparent), var(--st-panel-shadow);
    -webkit-backdrop-filter: var(--st-surface-blur, none); backdrop-filter: var(--st-surface-blur, none);
  }
  .st-panel-header {
    margin: var(--st-panel-head-margin); padding: var(--st-panel-head-pad);
    background: var(--st-panel-head-bg); border-block-end: var(--st-panel-head-rule);
    border-start-start-radius: inherit; border-start-end-radius: inherit; corner-shape: inherit;
  }
  /* Positioned, so absolutely placed cell content (visually hidden text) is
     clipped by the scroller instead of widening the page. */
  .st-table-scroll { position: relative; max-inline-size: 100%; overflow-x: auto; }
  .st-table { inline-size: 100%; border-collapse: collapse; text-align: start; }
  .st-table caption { text-align: start; font-family: var(--st-font-heading, inherit); font-weight: 600; padding-block: var(--st-space-4); }
  .st-table th, .st-table td { padding: var(--st-space-3) var(--st-space-4); border-block-end: 1px var(--st-rule-style, solid) var(--st-table-rule); text-align: start; vertical-align: middle; }
  .st-table tbody tr:nth-child(even) > * { background: var(--st-table-stripe); }
  .st-table th, .st-table td { white-space: nowrap; }
  .st-table thead th { background: var(--st-table-head-bg); border-block-end-style: solid; border-block-end-color: var(--st-border); color: var(--st-label-color, var(--st-text-muted)); font-size: var(--st-text-sm); font-weight: var(--st-label-weight, 600); text-transform: var(--st-label-case, none); letter-spacing: var(--st-label-tracking, normal); }
  .st-table tbody tr:last-child > * { border-block-end: 0; }
  .st-table [data-kind="number"] { text-align: end; font-variant-numeric: tabular-nums; }
  .st-table [data-kind="date"] { font-variant-numeric: tabular-nums; }
  .st-result-count { color: var(--st-text-muted); font-size: var(--st-text-sm); }
}

@layer stucco.components {
  .st-table-cards { container: st-table-cards / inline-size; }
  .st-table-card-label { display: none; }
  @container st-table-cards (width < 48rem) {
    .st-table-cards > .st-table { display: block; }
    .st-table-cards > .st-table > caption { display: block; }
    .st-table-cards > .st-table > thead { display: block; }
    .st-table-cards > .st-table > thead > tr { display: flex; flex-wrap: wrap; }
    .st-table-cards > .st-table > thead th { white-space: normal; }
    .st-table-cards > .st-table > tbody { display: grid; gap: var(--st-space-4); padding: var(--st-space-4); }
    .st-table-cards > .st-table > tbody > tr { display: block; padding: var(--st-space-3); border: var(--st-line, 1px) solid var(--st-border); border-radius: var(--st-surface-radius); background: var(--st-surface); box-shadow: var(--st-card-shadow); }
    .st-table-cards > .st-table > tbody > tr > * { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--st-space-3); white-space: normal; overflow-wrap: anywhere; text-align: start; border: 0; background: none; padding: var(--st-space-2); }
    .st-table-cards .st-table-card-label { display: block; font-size: var(--st-text-sm); color: var(--st-text-muted); font-weight: 600; }
    .st-table-cards .st-table-card-value { min-inline-size: 0; }
    .st-table-cards .st-table-card-value :where(input, select, textarea, button, a) { max-inline-size: 100%; }
  }
  @media print {
    .st-table-cards { container-type: normal; }
  }
  /* Badge: a status pill. Coloured tones use the soft/text pair every theme
     contrast-checks; the neutral ones match the filter tags. */
  .st-badge {
    display: inline-flex; align-items: center; gap: 0.35em; max-inline-size: 100%;
    padding: 0.125em 0.625em; border: var(--st-line, 1px) solid var(--st-tag-border, var(--st-border));
    border-radius: var(--st-tag-radius, var(--st-radius-full));
    background: var(--st-tag-bg, var(--st-surface-raised)); color: var(--st-text);
    font-size: var(--st-text-sm); font-weight: 550; line-height: 1.4; overflow-wrap: anywhere;
  }
  .st-badge > svg { inline-size: 1em; block-size: 1em; flex: none; }
  .st-badge[data-tone="accent"] { background: var(--st-accent-soft); color: var(--st-accent-text); border-color: transparent; }
  .st-badge[data-tone="success"] { background: var(--st-success-soft); color: var(--st-success-text); border-color: transparent; }
  .st-badge[data-tone="warning"] { background: var(--st-warning-soft); color: var(--st-warning-text); border-color: transparent; }
  .st-badge[data-tone="danger"] { background: var(--st-danger-soft); color: var(--st-danger-text); border-color: transparent; }
  .st-badge[data-tone="info"] { background: var(--st-info-soft); color: var(--st-info-text); border-color: transparent; }

  /* Avatar: initials, with an optional picture laid over them. */
  .st-avatar {
    position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden;
    inline-size: 2.5rem; block-size: 2.5rem; border-radius: var(--st-radius-full);
    background: var(--st-accent-soft); color: var(--st-accent-text);
    font-size: var(--st-text-sm); font-weight: 600; line-height: 1; user-select: none;
  }
  .st-avatar[data-size="sm"] { inline-size: 1.75rem; block-size: 1.75rem; font-size: var(--st-text-xs); }
  .st-avatar[data-size="lg"] { inline-size: 3.5rem; block-size: 3.5rem; font-size: var(--st-text-lg); }
  .st-avatar > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }

  /* Description list: stacked when narrow, term beside detail from 32rem. */
  .st-dl { container-type: inline-size; margin: 0; }
  .st-dl-item { padding-block: var(--st-space-2); }
  .st-dl-item + .st-dl-item { border-block-start: var(--st-line, 1px) solid var(--st-border); }
  .st-dl dt { color: var(--st-text-muted); font-size: var(--st-text-sm); font-weight: 600; }
  .st-dl dd { margin: 0; overflow-wrap: anywhere; }
  @container (min-width: 32rem) {
    .st-dl-item { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: var(--st-space-4); align-items: baseline; }
  }

  /* Stat: a metric tile. */
  .st-stat { display: grid; gap: var(--st-space-1); min-inline-size: 0; }
  .st-stat > p { margin: 0; }
  .st-stat-label { color: var(--st-text-muted); font-size: var(--st-text-sm); font-weight: 600; }
  .st-stat-value { font-size: var(--st-text-2xl); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
  .st-stat-change { color: var(--st-text-muted); font-size: var(--st-text-sm); }
  .st-stat-delta {
    display: inline-flex; align-items: center; gap: 0.25em; padding: 0.0625em 0.5em;
    border-radius: var(--st-radius-full); background: var(--st-tag-bg, var(--st-surface-raised)); color: var(--st-text); font-weight: 600;
  }
  .st-stat-delta > svg { inline-size: 1em; block-size: 1em; }
  .st-stat-delta[data-tone="accent"] { background: var(--st-accent-soft); color: var(--st-accent-text); }
  .st-stat-delta[data-tone="success"] { background: var(--st-success-soft); color: var(--st-success-text); }
  .st-stat-delta[data-tone="warning"] { background: var(--st-warning-soft); color: var(--st-warning-text); }
  .st-stat-delta[data-tone="danger"] { background: var(--st-danger-soft); color: var(--st-danger-text); }
  .st-stat-delta[data-tone="info"] { background: var(--st-info-soft); color: var(--st-info-text); }
}

@layer stucco.components {
  .st-sparkline { margin: 0; display: grid; gap: var(--st-space-2); min-inline-size: 0; }
  .st-sparkline figcaption { color: var(--st-text-muted); font-size: var(--st-text-sm); overflow-wrap: anywhere; }
  .st-sparkline svg { inline-size: 100%; max-inline-size: 20rem; block-size: 5rem; color: var(--st-accent-text); fill: currentColor; }
  .st-timeline { list-style: none; margin: 0; padding: 0; }
  .st-timeline > li { position: relative; display: flex; gap: var(--st-space-3); padding-block-end: var(--st-space-6); }
  .st-timeline > li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: .65rem; inset-block: 1.5rem 0; border-inline-start: 1px solid var(--st-border); }
  .st-timeline-mark { display: grid; place-items: center; inline-size: 1.4rem; block-size: 1.4rem; border: 1px solid var(--st-border-strong); border-radius: 50%; flex: none; color: var(--st-accent-text); background: var(--st-surface); }
  .st-timeline-mark:empty::after { content: ""; inline-size: .35rem; block-size: .35rem; background: currentColor; border-radius: 50%; }
  .st-timeline-mark svg { inline-size: .9rem; block-size: .9rem; }
  .st-timeline-content { min-inline-size: 0; overflow-wrap: anywhere; }
  .st-timeline time { display: block; color: var(--st-text-muted); font-size: var(--st-text-sm); margin-block-end: var(--st-space-1); }
}

@layer stucco.components {
  .st-empty-state { padding: var(--st-space-8); text-align: center; border: 1px dashed var(--st-border); }
}

@layer stucco.components {
  .st-readiness { padding: var(--st-space-5); border: var(--st-line, 1px) solid var(--st-border); border-radius: var(--st-surface-radius); background: var(--st-surface); }
  .st-readiness h2 { font-size: var(--st-text-lg); }
  .st-readiness > * + * { margin-block-start: var(--st-space-3); }
  .st-readiness-list { padding-inline-start: var(--st-space-5); }
  .st-readiness-list > li + li { margin-block-start: var(--st-space-4); }
  .st-readiness-list li > * + * { margin-block-start: var(--st-space-2); }
  .st-readiness-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--st-space-2) var(--st-space-4); }
  .st-readiness-status { font-size: var(--st-text-sm); font-weight: 600; color: var(--st-warning-text); }
  [data-ready="true"] > .st-readiness-label > .st-readiness-status { color: var(--st-success-text); }
}

@layer stucco.components {
  /* Progress and meter: native elements with a visible label. */
  .st-progress, .st-meter {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--st-space-1) var(--st-space-3);
  }
  .st-progress > label, .st-meter > label { grid-column: 1 / -1; font-size: var(--st-text-sm); font-weight: 600; }
  .st-progress-value, .st-meter-text { color: var(--st-text-muted); font-size: var(--st-text-sm); font-variant-numeric: tabular-nums; }
  .st-progress > progress, .st-meter > meter {
    -webkit-appearance: none; appearance: none; inline-size: 100%; min-inline-size: 0; block-size: 0.625rem;
    border: 0; border-radius: var(--st-radius-full); overflow: hidden;
    background: var(--st-tag-bg, var(--st-surface-raised)); color: var(--st-accent);
  }
  .st-progress > progress:last-child, .st-meter > meter:last-child { grid-column: 1 / -1; }
  .st-progress > progress::-webkit-progress-bar { background: var(--st-tag-bg, var(--st-surface-raised)); }
  .st-progress > progress::-webkit-progress-value { background: var(--st-accent); border-radius: var(--st-radius-full); }
  .st-progress > progress::-moz-progress-bar { background: var(--st-accent); border-radius: var(--st-radius-full); }
  .st-meter > meter::-webkit-meter-bar { background: var(--st-tag-bg, var(--st-surface-raised)); border: 0; border-radius: var(--st-radius-full); }
  .st-meter > meter::-webkit-meter-optimum-value { background: var(--st-success); }
  .st-meter > meter::-webkit-meter-suboptimum-value { background: var(--st-warning); }
  .st-meter > meter::-webkit-meter-even-less-good-value { background: var(--st-danger); }
  .st-meter > meter:-moz-meter-optimum::-moz-meter-bar { background: var(--st-success); }
  .st-meter > meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--st-warning); }
  .st-meter > meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--st-danger); }
}

@layer stucco.components {
  /* Callout: an inline note. Text uses the tone's checked text colour, and
     links inherit it, since accent links aren't checked on every soft fill. */
  .st-callout {
    display: flex; gap: var(--st-space-3); padding: var(--st-space-4);
    border: var(--st-line, 1px) solid var(--st-tag-border, var(--st-border)); border-radius: var(--st-surface-radius);
    background: var(--st-tag-bg, var(--st-surface-raised)); color: var(--st-text);
  }
  .st-callout > svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; margin-block-start: 0.125rem; }
  .st-callout-body { display: grid; gap: var(--st-space-2); min-inline-size: 0; overflow-wrap: anywhere; }
  .st-callout-body > * { margin: 0; }
  .st-callout-title { font-weight: 600; }
  .st-callout a:not(.st-button) { color: inherit; text-decoration: underline; }
  .st-callout-actions { display: flex; flex-wrap: wrap; gap: var(--st-space-2); }
  .st-callout[data-tone="accent"] { background: var(--st-accent-soft); color: var(--st-accent-text); border-color: transparent; }
  .st-callout[data-tone="info"] { background: var(--st-info-soft); color: var(--st-info-text); border-color: transparent; }
  .st-callout[data-tone="success"] { background: var(--st-success-soft); color: var(--st-success-text); border-color: transparent; }
  .st-callout[data-tone="warning"] { background: var(--st-warning-soft); color: var(--st-warning-text); border-color: transparent; }
  .st-callout[data-tone="danger"] { background: var(--st-danger-soft); color: var(--st-danger-text); border-color: transparent; }
}

@layer stucco.components {
  .st-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: var(--st-space-1); padding-block: var(--st-space-4); }
  .st-pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-inline-size: calc(var(--st-control-h) * 0.9); block-size: calc(var(--st-control-h) * 0.9);
    padding-inline: var(--st-space-3); border: var(--st-line, 1px) solid var(--st-border); border-radius: var(--st-radius-md);
    background: var(--st-surface); color: var(--st-text); font-weight: 550; text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: background-color var(--st-duration-fast) var(--st-ease), border-color var(--st-duration-fast) var(--st-ease);
  }
  .st-pagination a:hover { background: var(--st-hover); border-color: var(--st-border-strong); }
  .st-pagination a[aria-current="page"] { background: var(--st-accent); border-color: var(--st-accent); color: var(--st-on-accent); }
  .st-pagination > span { padding-inline: var(--st-space-1); color: var(--st-text-muted); }
  /* Tabs: links to sections of a page, the current one underlined in the accent. */
  .st-tabs {
    display: flex; gap: var(--st-space-1); overflow-x: auto;
    border-block-end: var(--st-line, 1px) solid var(--st-border);
  }
  .st-tabs > a {
    position: relative; flex: none; padding: var(--st-space-2) var(--st-space-3);
    border-radius: var(--st-radius-md) var(--st-radius-md) 0 0;
    color: var(--st-text-muted); font-weight: 550; text-decoration: none; white-space: nowrap;
    transition: background-color var(--st-duration-fast) var(--st-ease), color var(--st-duration-fast) var(--st-ease);
  }
  .st-tabs > a:hover { background: var(--st-hover); color: var(--st-text); }
  .st-tabs > a[aria-current="page"] { color: var(--st-text); }
  .st-tabs > a[aria-current="page"]::after {
    content: ""; position: absolute; inset-inline: var(--st-space-2); bottom: calc(-1 * var(--st-line, 1px));
    block-size: 3px; border-radius: var(--st-radius-full); background: var(--st-accent);
  }

  /* Breadcrumbs: the separators are decoration, with empty alternative text. */
  .st-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; margin: 0; padding: 0; list-style: none; font-size: var(--st-text-sm); }
  .st-breadcrumbs li { min-inline-size: 0; overflow-wrap: anywhere; }
  .st-breadcrumbs li + li::before { content: "/"; content: "/" / ""; padding-inline: var(--st-space-2); color: var(--st-text-muted); }
  .st-breadcrumbs a { color: var(--st-text-muted); }
  .st-breadcrumbs a:hover { color: var(--st-text); }
  .st-breadcrumbs [aria-current="page"] { color: var(--st-text); font-weight: 600; }

  /* Steps: a row of numbered markers, a column when narrow. */
  .st-steps { container-type: inline-size; }
  .st-steps ol { display: flex; flex-direction: column; gap: var(--st-space-3); margin: 0; padding: 0; list-style: none; }
  .st-steps li { display: flex; align-items: center; gap: var(--st-space-2); min-inline-size: 0; overflow-wrap: anywhere; color: var(--st-text-muted); }
  .st-steps-marker {
    display: inline-grid; place-items: center; flex: none; inline-size: 1.75rem; block-size: 1.75rem;
    border: var(--st-line, 1px) solid var(--st-tag-border, var(--st-border)); border-radius: var(--st-radius-full);
    background: var(--st-tag-bg, var(--st-surface-raised)); color: var(--st-text); font-size: var(--st-text-sm); font-weight: 600;
  }
  .st-steps li[data-state="done"] .st-steps-marker { background: var(--st-accent-soft); color: var(--st-accent-text); border-color: transparent; }
  .st-steps li[data-state="current"] { color: var(--st-text); font-weight: 600; }
  .st-steps li[data-state="current"] .st-steps-marker { background: var(--st-accent); color: var(--st-on-accent); border-color: transparent; }
  @container (min-width: 36rem) {
    .st-steps ol { flex-direction: row; }
    .st-steps li { flex: 1 1 0; }
  }
}

@layer stucco.components {
  /* A modal dialog: the native <dialog>, styled as a raised surface. */
  .st-dialog {
    inline-size: min(32rem, calc(100vw - 2 * var(--st-space-4)));
    max-block-size: calc(100dvh - 2 * var(--st-space-6));
    /* The reset zeroes margins; a modal dialog centres itself with auto ones. */
    margin: auto; padding: 0; overflow: auto;
    border: var(--st-line, 1px) solid var(--st-border);
    border-radius: var(--st-surface-radius); corner-shape: var(--st-corner-shape);
    background: var(--st-surface); color: var(--st-text);
    box-shadow: var(--st-shadow-3);
    transition: opacity var(--st-duration) var(--st-ease), translate var(--st-duration) var(--st-ease);
  }
  .st-dialog[open] { display: flex; flex-direction: column; }
  @starting-style { .st-dialog[open] { opacity: 0; translate: 0 var(--st-space-3); } }
  .st-dialog::backdrop { background: color-mix(in oklch, var(--st-shadow-ink, currentColor) 45%, transparent); }
  .st-dialog-header {
    display: flex; align-items: start; justify-content: space-between; gap: var(--st-space-4);
    padding: var(--st-space-5) var(--st-space-6) 0;
  }
  .st-dialog-header > .st-heading { margin: 0; }
  .st-dialog-close {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    inline-size: 2rem; block-size: 2rem; margin-block-start: calc(-1 * var(--st-space-1)); margin-inline-end: calc(-1 * var(--st-space-2));
    border: 0; border-radius: var(--st-radius-md); background: transparent; color: var(--st-text-muted);
    font: inherit; font-size: var(--st-text-xl); line-height: 1; cursor: pointer;
  }
  .st-dialog-close:hover { background: var(--st-hover); color: var(--st-text); }
  .st-dialog-body { padding: var(--st-space-4) var(--st-space-6); }
  .st-dialog-body > * + * { margin-block-start: var(--st-space-3); }
  .st-dialog-actions {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--st-space-2);
    padding: 0 var(--st-space-6) var(--st-space-5);
  }
  .st-dialog-actions form { display: contents; }

  /* A menu: a popover list under its button. Without script it opens centred. */
  .st-menu { display: inline-block; }
  .st-menu-button::after {
    content: ""; inline-size: 0.4em; block-size: 0.4em; margin-inline-start: var(--st-space-1);
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; translate: 0 -0.15em;
  }
  .st-menu-popover {
    margin: auto; padding: var(--st-space-1);
    min-inline-size: 11rem; max-inline-size: min(20rem, calc(100vw - 2 * var(--st-space-4)));
    border: var(--st-line, 1px) solid var(--st-border); border-radius: var(--st-radius-md);
    background: var(--st-surface); color: var(--st-text); box-shadow: var(--st-shadow-2);
  }
  .st-menu-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
  .st-menu-list form { margin: 0; }
  .st-menu-item, .st-menu-list li > form > button {
    display: flex; inline-size: 100%; padding: var(--st-space-2) var(--st-space-3);
    border: 0; border-radius: var(--st-radius-sm); background: transparent; color: var(--st-text);
    font: inherit; text-align: start; text-decoration: none; cursor: pointer;
  }
  .st-menu-item:hover, .st-menu-list li > form > button:hover { background: var(--st-hover); }
  .st-menu-separator { block-size: var(--st-line, 1px); margin: var(--st-space-1) 0; background: var(--st-border); }

  /* A toast: a status message at the edge of the screen. */
  .st-toast {
    position: fixed; z-index: var(--st-z-toast); inset-block-end: var(--st-space-4); inset-inline-end: var(--st-space-4);
    display: flex; align-items: center; gap: var(--st-space-3);
    max-inline-size: min(24rem, calc(100vw - 2 * var(--st-space-8)));
    padding: var(--st-space-3) var(--st-space-3) var(--st-space-3) var(--st-space-4);
    border: var(--st-line, 1px) solid var(--st-border); border-inline-start: 4px solid var(--st-toast-edge, var(--st-border-strong));
    border-radius: var(--st-radius-md); background: var(--st-surface); color: var(--st-text); box-shadow: var(--st-shadow-2);
    transition: opacity var(--st-duration) var(--st-ease), translate var(--st-duration) var(--st-ease);
  }
  @starting-style { .st-toast { opacity: 0; translate: 0 var(--st-space-3); } }
  .st-toast[data-tone="success"] { --st-toast-edge: var(--st-success); }
  .st-toast[data-tone="warning"] { --st-toast-edge: var(--st-warning); }
  .st-toast[data-tone="danger"] { --st-toast-edge: var(--st-danger); }
  .st-toast[data-tone="info"] { --st-toast-edge: var(--st-info); }
  .st-toast[data-tone="accent"] { --st-toast-edge: var(--st-accent); }
  .st-toast-message { margin: 0; }
  /* The dismiss button only works with script, so only shows with it. */
  .st-toast-dismiss { display: none; }
  :root[data-st-script] .st-toast-dismiss {
    display: inline-flex; flex: none; padding: var(--st-space-1) var(--st-space-2);
    border: 0; border-radius: var(--st-radius-sm); background: transparent; color: var(--st-text-muted);
    font: inherit; font-size: var(--st-text-sm); font-weight: 550; cursor: pointer;
  }
  :root[data-st-script] .st-toast-dismiss:hover { background: var(--st-hover); color: var(--st-text); }

  /* A tooltip: the control's name, shown on hover and focus. */
  .st-tooltip-anchor { position: relative; display: inline-flex; }
  .st-tooltip {
    position: absolute; z-index: var(--st-z-overlay); bottom: calc(100% + var(--st-space-1)); left: 50%; translate: -50% 0;
    padding: var(--st-space-1) var(--st-space-2); border-radius: var(--st-radius-sm);
    background: var(--st-text); color: var(--st-bg); font-size: var(--st-text-sm); line-height: 1.3; white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: opacity var(--st-duration-fast) var(--st-ease), visibility var(--st-duration-fast);
  }
  /* A bridge over the gap, so the pointer can move onto the tooltip. */
  .st-tooltip::after { content: ""; position: absolute; inset-inline: 0; top: 100%; block-size: var(--st-space-1); }
  .st-tooltip-anchor:hover > .st-tooltip, .st-tooltip-anchor:focus-within > .st-tooltip { opacity: 1; visibility: visible; }
  .st-tooltip-anchor[data-dismissed] > .st-tooltip { opacity: 0; visibility: hidden; }
}

@layer stucco.components {
  /* Opacity does not interfere with the runtime's placement or focus handling.
     Native dismissal is immediate, including interrupted openings. */
  .st-menu-popover { transition: opacity var(--st-duration-fast) var(--st-ease); }
  @starting-style { .st-menu-popover:popover-open { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) {
    @starting-style { .st-dialog[open], .st-toast { opacity: 1; translate: none; } }
  }
}

@layer stucco.components {
  .st-button {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--st-space-2);
    block-size: var(--st-control-h); padding-inline: calc(var(--st-space-4) * var(--st-pad-scale));
    border: var(--st-line, 1px) solid transparent; border-radius: var(--st-button-radius);
    font: inherit; font-weight: 550; line-height: 1; text-decoration: none; white-space: nowrap;
    cursor: pointer; user-select: none;
    transition: background-color var(--st-duration-fast) var(--st-ease), border-color var(--st-duration-fast) var(--st-ease), scale var(--st-duration-fast) var(--st-ease), translate var(--st-duration-fast) var(--st-ease), box-shadow var(--st-duration-fast) var(--st-ease);
  }
  /* The theme's button depth: a shadow at rest, and how a press moves the button. Ghost buttons stay flat. */
  .st-button:not([data-variant="ghost"]) { box-shadow: var(--st-button-shadow, 0 0 transparent); }
  .st-button:not([data-variant="ghost"]):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):active { scale: var(--st-button-press-scale, 0.96); translate: var(--st-button-press-shift, 0 0); }
  .st-button:not([data-variant="ghost"]):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):active { box-shadow: var(--st-button-shadow-pressed, 0 0 transparent); }
  .st-button[data-size="sm"] { block-size: calc(var(--st-control-h) * 0.8); padding-inline: var(--st-space-3); font-size: var(--st-text-sm); }
  .st-button[data-size="lg"] { block-size: calc(var(--st-control-h) * 1.2); padding-inline: var(--st-space-6); font-size: var(--st-text-lg); }
  .st-button[data-variant="primary"] { background: var(--st-accent); color: var(--st-on-accent); }
  .st-button[data-variant="primary"]:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { background: var(--st-accent-hover); }
  .st-button[data-variant="secondary"] { background: var(--st-surface); color: var(--st-text); border-color: var(--st-border-strong); }
  .st-button[data-variant="secondary"]:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { background: var(--st-hover); }
  .st-button[data-variant="ghost"] { background: transparent; color: var(--st-text); }
  .st-button[data-variant="ghost"]:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { background: var(--st-hover); }
  .st-button[data-variant="danger"] { background: var(--st-danger-soft); color: var(--st-danger-text); border-color: var(--st-danger); }
  .st-button[data-variant="danger"]:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { box-shadow: var(--st-button-shadow, 0 0 transparent), inset 0 0 0 1px var(--st-danger); }
  .st-button[data-icon-only] { padding-inline: 0; aspect-ratio: 1; }
  .st-button:disabled, .st-button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
  .st-button[aria-busy="true"]::after {
    content: ""; inline-size: 1em; block-size: 1em; border-radius: 50%;
    border: 2px solid currentColor; border-inline-end-color: transparent;
    animation: st-spin 0.8s linear infinite;
  }
  @keyframes st-spin { to { rotate: 1turn; } }
}

@layer stucco.components {
  .st-button[aria-busy="true"] { cursor: progress; }
  @media (prefers-reduced-motion: reduce) {
    .st-button:active { scale: 1 !important; translate: none !important; }
    .st-button[aria-busy="true"]::after { animation: none; border-style: dotted; }
  }
}

@layer stucco.components {
  .st-form > * + * { margin-block-start: var(--st-space-4); }
  .st-fieldset { border: var(--st-line, 1px) solid var(--st-border); border-radius: var(--st-radius-md); padding: var(--st-space-4); min-inline-size: 0; }
  .st-fieldset > * + * { margin-block-start: var(--st-space-4); }
  .st-legend { font-weight: 600; padding-inline: var(--st-space-1); color: var(--st-text); }
  .st-field-hint { font-size: var(--st-text-sm); color: var(--st-text-muted); }
  .st-error-summary {
    border: 2px solid var(--st-danger); border-radius: var(--st-radius-md);
    padding: var(--st-space-4); color: var(--st-text);
  }
  .st-error-summary-title { font-size: var(--st-text-lg); font-weight: 650; margin: 0 0 var(--st-space-2); }
  .st-error-summary-list { margin: 0; padding-inline-start: var(--st-space-5); }
  .st-error-summary-list > li + li { margin-block-start: var(--st-space-1); }
  .st-error-summary-list a { color: var(--st-danger-text); font-weight: 550; }
  .st-field-error { font-size: var(--st-text-sm); color: var(--st-danger-text); font-weight: 550; }
  .st-field { display: flex; flex-direction: column; gap: var(--st-space-1); }
  .st-label { font-weight: 550; color: var(--st-text); }
  .st-required { color: var(--st-danger-text); margin-inline-start: var(--st-space-1); }
  .st-input, .st-textarea, .st-select {
    inline-size: 100%; min-block-size: var(--st-control-h);
    padding: var(--st-space-2) calc(var(--st-space-3) * var(--st-pad-scale));
    background: var(--st-control-bg); color: var(--st-text);
    border: 0 solid var(--st-border-strong); border-width: var(--st-control-border-width);
    border-radius: var(--st-control-radius);
    font: inherit;
  }
  .st-input, .st-select { block-size: var(--st-control-h); padding-block: 0; }
  .st-textarea { resize: vertical; }
  .st-input::placeholder, .st-textarea::placeholder { color: var(--st-text-muted); }
  .st-input:disabled, .st-textarea:disabled, .st-select:disabled { opacity: 0.55; cursor: not-allowed; }
  .st-input[aria-invalid="true"], .st-textarea[aria-invalid="true"], .st-select[aria-invalid="true"] {
    border-color: var(--st-danger); box-shadow: var(--st-control-invalid-ring);
  }
  .st-input-group { display: flex; align-items: stretch; }
  .st-input-group > .st-input { flex: 1; min-inline-size: 0; }
  .st-input-adornment {
    display: inline-flex; align-items: center; padding-inline: var(--st-space-3);
    background: var(--st-surface-raised); color: var(--st-text-muted);
    border: 0 solid var(--st-border-strong); border-width: var(--st-control-border-width);
    border-radius: var(--st-control-radius);
  }
  .st-input-group > :first-child { border-start-end-radius: 0; border-end-end-radius: 0; }
  .st-input-group > :last-child { border-start-start-radius: 0; border-end-start-radius: 0; }
  .st-input-group > .st-input-adornment:first-child { border-inline-end-width: 0; }
  .st-input-group > .st-input-adornment:last-child { border-inline-start-width: 0; }
  .st-input-group > .st-input:not(:first-child):not(:last-child) { border-radius: 0; }
  .st-checkbox, .st-radio { display: flex; align-items: center; gap: var(--st-space-2); color: var(--st-text); cursor: pointer; }
  .st-checkbox > input, .st-radio > input { inline-size: 1.125em; block-size: 1.125em; margin: 0; accent-color: var(--st-accent); }
  .st-radio-group { border: 0; padding: 0; min-inline-size: 0; display: flex; flex-direction: column; gap: var(--st-space-2); }
  .st-radio-group > .st-legend { padding: 0; margin-block-end: var(--st-space-1); }
}

@layer stucco.components {
  .st-conflict-notice { padding: var(--st-space-4); border: var(--st-line, 1px) solid var(--st-warning); border-radius: var(--st-radius-md); background: var(--st-warning-soft); color: var(--st-warning-text); }
  .st-conflict-notice h2 { font-size: var(--st-text-lg); }
  .st-conflict-notice > * + * { margin-block-start: var(--st-space-3); }
  .st-conflict-notice a { color: inherit; text-decoration: underline; }
}

@layer stucco.components {
  .st-icon {
    display: inline-block;
    inline-size: 1em;
    block-size: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
    stroke-width: var(--st-icon-stroke, 2);
  }
}

@layer stucco.layout {
  /* Stack: vertical rhythm between children. */
  .st-stack { display: flex; flex-direction: column; justify-content: flex-start; }
  .st-stack > * { margin-block: 0; }
  .st-stack[data-space="0"] > * + * { margin-block-start: 0; }
  .st-stack[data-space="0"][data-recursive] * + * { margin-block-start: 0; }
  .st-stack[data-space="1"] > * + * { margin-block-start: var(--st-space-1); }
  .st-stack[data-space="1"][data-recursive] * + * { margin-block-start: var(--st-space-1); }
  .st-stack[data-space="2"] > * + * { margin-block-start: var(--st-space-2); }
  .st-stack[data-space="2"][data-recursive] * + * { margin-block-start: var(--st-space-2); }
  .st-stack[data-space="3"] > * + * { margin-block-start: var(--st-space-3); }
  .st-stack[data-space="3"][data-recursive] * + * { margin-block-start: var(--st-space-3); }
  .st-stack[data-space="4"] > * + * { margin-block-start: var(--st-space-4); }
  .st-stack[data-space="4"][data-recursive] * + * { margin-block-start: var(--st-space-4); }
  .st-stack[data-space="5"] > * + * { margin-block-start: var(--st-space-5); }
  .st-stack[data-space="5"][data-recursive] * + * { margin-block-start: var(--st-space-5); }
  .st-stack[data-space="6"] > * + * { margin-block-start: var(--st-space-6); }
  .st-stack[data-space="6"][data-recursive] * + * { margin-block-start: var(--st-space-6); }
  .st-stack[data-space="8"] > * + * { margin-block-start: var(--st-space-8); }
  .st-stack[data-space="8"][data-recursive] * + * { margin-block-start: var(--st-space-8); }
  .st-stack[data-space="10"] > * + * { margin-block-start: var(--st-space-10); }
  .st-stack[data-space="10"][data-recursive] * + * { margin-block-start: var(--st-space-10); }
  .st-stack[data-space="12"] > * + * { margin-block-start: var(--st-space-12); }
  .st-stack[data-space="12"][data-recursive] * + * { margin-block-start: var(--st-space-12); }
  /* Cluster: wrapping inline group. */
  .st-cluster { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .st-cluster[data-space="0"] { gap: 0; }
  .st-cluster[data-space="1"] { gap: var(--st-space-1); }
  .st-cluster[data-space="2"] { gap: var(--st-space-2); }
  .st-cluster[data-space="3"] { gap: var(--st-space-3); }
  .st-cluster[data-space="4"] { gap: var(--st-space-4); }
  .st-cluster[data-space="5"] { gap: var(--st-space-5); }
  .st-cluster[data-space="6"] { gap: var(--st-space-6); }
  .st-cluster[data-space="8"] { gap: var(--st-space-8); }
  .st-cluster[data-space="10"] { gap: var(--st-space-10); }
  .st-cluster[data-space="12"] { gap: var(--st-space-12); }
  .st-cluster[data-justify="start"] { justify-content: flex-start; }
  .st-cluster[data-justify="center"] { justify-content: center; }
  .st-cluster[data-justify="end"] { justify-content: flex-end; }
  .st-cluster[data-justify="between"] { justify-content: space-between; }
  .st-cluster[data-align="start"] { align-items: flex-start; }
  .st-cluster[data-align="center"] { align-items: center; }
  .st-cluster[data-align="end"] { align-items: flex-end; }
  .st-cluster[data-align="baseline"] { align-items: baseline; }
  .st-cluster[data-align="stretch"] { align-items: stretch; }
  /* Grid: as many columns as fit at the minimum width. */
  .st-grid { display: grid; }
  .st-grid[data-min="xs"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
  .st-grid[data-min="sm"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }
  .st-grid[data-min="md"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 40rem), 1fr)); }
  .st-grid[data-min="lg"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 60rem), 1fr)); }
  .st-grid[data-min="xl"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 75rem), 1fr)); }
  .st-grid[data-min="prose"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 65ch), 1fr)); }
  .st-grid[data-space="0"] { gap: 0; }
  .st-grid[data-space="1"] { gap: var(--st-space-1); }
  .st-grid[data-space="2"] { gap: var(--st-space-2); }
  .st-grid[data-space="3"] { gap: var(--st-space-3); }
  .st-grid[data-space="4"] { gap: var(--st-space-4); }
  .st-grid[data-space="5"] { gap: var(--st-space-5); }
  .st-grid[data-space="6"] { gap: var(--st-space-6); }
  .st-grid[data-space="8"] { gap: var(--st-space-8); }
  .st-grid[data-space="10"] { gap: var(--st-space-10); }
  .st-grid[data-space="12"] { gap: var(--st-space-12); }
  /* Center: a horizontally centred measure. */
  .st-center { box-sizing: content-box; margin-inline: auto; }
  .st-center[data-max="xs"] { max-inline-size: 20rem; }
  .st-center[data-max="sm"] { max-inline-size: 30rem; }
  .st-center[data-max="md"] { max-inline-size: 40rem; }
  .st-center[data-max="lg"] { max-inline-size: 60rem; }
  .st-center[data-max="xl"] { max-inline-size: 75rem; }
  .st-center[data-max="prose"] { max-inline-size: 65ch; }
  .st-center[data-gutters="0"] { padding-inline: 0; }
  .st-center[data-gutters="1"] { padding-inline: var(--st-space-1); }
  .st-center[data-gutters="2"] { padding-inline: var(--st-space-2); }
  .st-center[data-gutters="3"] { padding-inline: var(--st-space-3); }
  .st-center[data-gutters="4"] { padding-inline: var(--st-space-4); }
  .st-center[data-gutters="5"] { padding-inline: var(--st-space-5); }
  .st-center[data-gutters="6"] { padding-inline: var(--st-space-6); }
  .st-center[data-gutters="8"] { padding-inline: var(--st-space-8); }
  .st-center[data-gutters="10"] { padding-inline: var(--st-space-10); }
  .st-center[data-gutters="12"] { padding-inline: var(--st-space-12); }
  .st-center[data-intrinsic] { display: flex; flex-direction: column; align-items: center; }
  /* Container: page width with responsive gutters. */
  .st-container { margin-inline: auto; padding-inline: clamp(var(--st-space-4), 4vw, var(--st-space-8)); }
  .st-container[data-size="xs"] { max-inline-size: 20rem; }
  .st-container[data-size="sm"] { max-inline-size: 30rem; }
  .st-container[data-size="md"] { max-inline-size: 40rem; }
  .st-container[data-size="lg"] { max-inline-size: 60rem; }
  .st-container[data-size="xl"] { max-inline-size: 75rem; }
  .st-container[data-size="prose"] { max-inline-size: 65ch; }
  /* Sidebar: a fixed-width side beside a fluid main that wraps when cramped. */
  .st-sidebar { display: flex; flex-wrap: wrap; }
  .st-sidebar > .st-sidebar-side { flex-grow: 1; }
  .st-sidebar > .st-sidebar-main { flex-basis: 0; flex-grow: 999; min-inline-size: 50%; }
  .st-sidebar[data-side-width="xs"] > .st-sidebar-side { flex-basis: 20rem; }
  .st-sidebar[data-side-width="sm"] > .st-sidebar-side { flex-basis: 30rem; }
  .st-sidebar[data-side-width="md"] > .st-sidebar-side { flex-basis: 40rem; }
  .st-sidebar[data-side-width="lg"] > .st-sidebar-side { flex-basis: 60rem; }
  .st-sidebar[data-side-width="xl"] > .st-sidebar-side { flex-basis: 75rem; }
  .st-sidebar[data-side-width="prose"] > .st-sidebar-side { flex-basis: 65ch; }
  .st-sidebar[data-space="0"] { gap: 0; }
  .st-sidebar[data-space="1"] { gap: var(--st-space-1); }
  .st-sidebar[data-space="2"] { gap: var(--st-space-2); }
  .st-sidebar[data-space="3"] { gap: var(--st-space-3); }
  .st-sidebar[data-space="4"] { gap: var(--st-space-4); }
  .st-sidebar[data-space="5"] { gap: var(--st-space-5); }
  .st-sidebar[data-space="6"] { gap: var(--st-space-6); }
  .st-sidebar[data-space="8"] { gap: var(--st-space-8); }
  .st-sidebar[data-space="10"] { gap: var(--st-space-10); }
  .st-sidebar[data-space="12"] { gap: var(--st-space-12); }
  /* Switcher: a row that becomes a column below the threshold. */
  .st-switcher { display: flex; flex-wrap: wrap; }
  .st-switcher > * { flex-grow: 1; }
  .st-switcher[data-threshold="xs"] > * { flex-basis: calc((20rem - 100%) * 999); }
  .st-switcher[data-threshold="sm"] > * { flex-basis: calc((30rem - 100%) * 999); }
  .st-switcher[data-threshold="md"] > * { flex-basis: calc((40rem - 100%) * 999); }
  .st-switcher[data-threshold="lg"] > * { flex-basis: calc((60rem - 100%) * 999); }
  .st-switcher[data-threshold="xl"] > * { flex-basis: calc((75rem - 100%) * 999); }
  .st-switcher[data-threshold="prose"] > * { flex-basis: calc((65ch - 100%) * 999); }
  .st-switcher[data-space="0"] { gap: 0; }
  .st-switcher[data-space="1"] { gap: var(--st-space-1); }
  .st-switcher[data-space="2"] { gap: var(--st-space-2); }
  .st-switcher[data-space="3"] { gap: var(--st-space-3); }
  .st-switcher[data-space="4"] { gap: var(--st-space-4); }
  .st-switcher[data-space="5"] { gap: var(--st-space-5); }
  .st-switcher[data-space="6"] { gap: var(--st-space-6); }
  .st-switcher[data-space="8"] { gap: var(--st-space-8); }
  .st-switcher[data-space="10"] { gap: var(--st-space-10); }
  .st-switcher[data-space="12"] { gap: var(--st-space-12); }
  .st-switcher[data-limit="2"] > :nth-last-child(n+3), .st-switcher[data-limit="2"] > :nth-last-child(n+3) ~ * { flex-basis: 100%; }
  .st-switcher[data-limit="3"] > :nth-last-child(n+4), .st-switcher[data-limit="3"] > :nth-last-child(n+4) ~ * { flex-basis: 100%; }
  .st-switcher[data-limit="4"] > :nth-last-child(n+5), .st-switcher[data-limit="4"] > :nth-last-child(n+5) ~ * { flex-basis: 100%; }
  .st-switcher[data-limit="5"] > :nth-last-child(n+6), .st-switcher[data-limit="5"] > :nth-last-child(n+6) ~ * { flex-basis: 100%; }
  .st-switcher[data-limit="6"] > :nth-last-child(n+7), .st-switcher[data-limit="6"] > :nth-last-child(n+7) ~ * { flex-basis: 100%; }
  /* Separator. */
  .st-separator { border: 0; border-block-start: var(--st-line, 1px) var(--st-rule-style, solid) var(--st-border); margin-block: var(--st-space-4); }
  /* Skip link: hidden until focused. */
  .st-skip-link { position: absolute; inset-inline-start: var(--st-space-2); inset-block-start: var(--st-space-2); z-index: var(--st-z-overlay); padding: var(--st-space-2) var(--st-space-4); background: var(--st-surface); color: var(--st-accent-text); border: 2px solid var(--st-focus); border-radius: var(--st-radius-md); transform: translateY(-200%); }
  .st-skip-link:focus { transform: none; }
  /* Surface: a background plane. */
  .st-surface { border-radius: var(--st-radius-md); }
  .st-surface[data-level="flat"] { background: var(--st-bg); }
  .st-surface[data-level="raised"] { background: var(--st-surface); }
  .st-surface[data-level="overlay"] { background: var(--st-surface-raised); box-shadow: var(--st-shadow-2); }
  .st-surface[data-border] { border: var(--st-line, 1px) solid var(--st-border); }
  .st-surface[data-padding="0"] { padding: 0; }
  .st-surface[data-padding="1"] { padding: var(--st-space-1); }
  .st-surface[data-padding="2"] { padding: var(--st-space-2); }
  .st-surface[data-padding="3"] { padding: var(--st-space-3); }
  .st-surface[data-padding="4"] { padding: var(--st-space-4); }
  .st-surface[data-padding="5"] { padding: var(--st-space-5); }
  .st-surface[data-padding="6"] { padding: var(--st-space-6); }
  .st-surface[data-padding="8"] { padding: var(--st-space-8); }
  .st-surface[data-padding="10"] { padding: var(--st-space-10); }
  .st-surface[data-padding="12"] { padding: var(--st-space-12); }
  .st-surface[data-radius="sm"] { border-radius: var(--st-radius-sm); }
  .st-surface[data-radius="md"] { border-radius: var(--st-radius-md); }
  .st-surface[data-radius="lg"] { border-radius: var(--st-radius-lg); }
  /* Theme scope: repaints its subtree in another scheme or theme. */
  .st-theme-scope { background: var(--st-finish, none), var(--st-relief, none), var(--st-backdrop, none) var(--st-bg); color: var(--st-text); }
  .st-theme-scope[data-st-theme] { font-family: var(--st-font-sans); font-size: var(--st-text-base); line-height: var(--st-leading, 1.5); }
  @media (prefers-contrast: more), (forced-colors: active) {
    .st-theme-scope { background-image: none; }
  }
}

@layer stucco.components {
  /* Disclosure: a native details element with its marker replaced by a
     chevron that turns when open. */
  .st-disclosure { border-block-end: var(--st-line, 1px) solid var(--st-border); }
  .st-disclosure > summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--st-space-3);
    padding-block: var(--st-space-3); cursor: pointer; list-style: none; font-weight: 600; overflow-wrap: anywhere;
  }
  .st-disclosure > summary::-webkit-details-marker { display: none; }
  .st-disclosure > summary > :is(h2, h3, h4, h5, h6) { margin: 0; font-size: inherit; font-weight: inherit; }
  .st-disclosure > summary > svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; transition: transform 150ms ease; }
  .st-disclosure[open] > summary > svg { transform: rotate(180deg); }
  .st-disclosure > summary:focus-visible { outline: 2px solid var(--st-focus, var(--st-accent)); outline-offset: 2px; border-radius: var(--st-radius-sm); }
  .st-disclosure-body { padding-block-end: var(--st-space-4); }
  .st-accordion { border-block-start: var(--st-line, 1px) solid var(--st-border); }
  @media (prefers-reduced-motion: reduce) {
    .st-disclosure > summary > svg { transition: none; }
  }
}

@layer stucco.components {
  .st-heading { font-family: var(--st-font-heading, inherit); font-weight: var(--st-heading-weight); line-height: 1.2; letter-spacing: var(--st-heading-tracking); color: var(--st-text); }
  .st-heading[data-size="xs"], .st-text[data-size="xs"] { font-size: var(--st-text-xs); }
  .st-heading[data-size="sm"], .st-text[data-size="sm"] { font-size: var(--st-text-sm); }
  .st-heading[data-size="md"], .st-text[data-size="md"] { font-size: var(--st-text-base); }
  .st-heading[data-size="lg"], .st-text[data-size="lg"] { font-size: var(--st-text-lg); }
  .st-heading[data-size="xl"], .st-text[data-size="xl"] { font-size: var(--st-text-xl); }
  .st-heading[data-size="2xl"], .st-text[data-size="2xl"] { font-size: var(--st-text-2xl); }
  .st-heading[data-size="3xl"], .st-text[data-size="3xl"] { font-size: var(--st-text-3xl); }
  .st-heading.st-heading-display { font-size: clamp(2.75rem, 1.75rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: anywhere; }
  .st-text { color: var(--st-text); }
  .st-text[data-tone="muted"] { color: var(--st-text-muted); }
  .st-text[data-tone="accent"] { color: var(--st-accent-text); }
  .st-text[data-tone="success"] { color: var(--st-success-text); }
  .st-text[data-tone="warning"] { color: var(--st-warning-text); }
  .st-text[data-tone="danger"] { color: var(--st-danger-text); }
  .st-text[data-tone="info"] { color: var(--st-info-text); }
  .st-text[data-weight="normal"] { font-weight: 400; }
  .st-text[data-weight="medium"] { font-weight: 550; }
  .st-text[data-weight="bold"] { font-weight: 700; }
  .st-link {
    color: var(--st-accent-text); font-weight: var(--st-link-weight, inherit);
    text-decoration-line: underline; text-decoration-color: var(--st-link-line, currentColor);
    text-decoration-thickness: var(--st-link-thickness, auto); text-underline-offset: 0.2em;
    background-image: var(--st-link-bg, none);
  }
  .st-link:hover { text-decoration-color: currentColor; text-decoration-thickness: var(--st-link-hover-thickness, 2px); }
  .st-code {
    font-family: var(--st-font-mono); font-size: 0.9em;
    background: var(--st-surface-raised); color: var(--st-text);
    padding: 0.1em 0.35em; border-radius: var(--st-radius-sm);
  }
  .st-kbd { display: inline-flex; align-items: baseline; gap: 0.2em; font-family: var(--st-font-mono); font-size: 0.85em; white-space: nowrap; }
  .st-kbd > kbd {
    font-family: inherit; padding: 0.1em 0.4em; border: 1px solid var(--st-border-strong);
    border-block-end-width: 2px; border-radius: var(--st-radius-sm); background: var(--st-surface);
  }
}

