@layer zw-reset, zw-tokens, zfb-hi, base, components;
/*
 * zfb-hi.css — default `--zfb-hi-*` token stylesheet for zfb's class-mode
 * syntax highlighting (Highlight Tokens epic, issue #1528).
 *
 * Every color below is EXTRACTED (not invented) from syntect's bundled
 * `base16-ocean.light` / `base16-ocean.dark` themes — the same pair zfb's
 * existing dual-mode (`--shiki-light`/`--shiki-dark`) highlighting already
 * defaults to. Regenerate with:
 *
 *   cargo test -p zfb-css --test hi_color_extraction -- --ignored --nocapture
 *
 * (see crates/zfb-css/tests/hi_color_extraction.rs for the representative
 * syntect scope path resolved per role). The `hi-ins`/`hi-del` background
 * tints are NOT theme-extracted — base16-ocean defines no diff background —
 * they are a low-alpha wash derived from each role's own extracted
 * foreground color, for diff readability only.
 *
 * `op`/`ns`/`punct` have no accent rule in base16-ocean (operators,
 * namespaces, and punctuation render in plain text color), so their tokens
 * resolve to the same color as `fg` in both themes. Rather than hand-copy
 * fg's hex pair into three more properties, they alias `var(--zfb-hi-fg)` —
 * this keeps all 18 role properties present (re-themeable individually) while
 * removing the drift risk of duplicated values, and they need no dark-media
 * override because var() re-resolves through fg's own override.
 */
@layer zfb-hi {
  :root {
    --zfb-hi-fg: light-dark(#4f5b66, #c0c5ce);
    --zfb-hi-bg: light-dark(#eff1f5, #2b303b);
    --zfb-hi-op: var(--zfb-hi-fg);
    --zfb-hi-ns: var(--zfb-hi-fg);
    --zfb-hi-punct: var(--zfb-hi-fg);
    --zfb-hi-esc: light-dark(#96b5b4, #96b5b4);
    --zfb-hi-com: light-dark(#a7adba, #65737e);
    --zfb-hi-str: light-dark(#a3be8c, #a3be8c);
    --zfb-hi-num: light-dark(#d08770, #d08770);
    --zfb-hi-const: light-dark(#d08770, #d08770);
    --zfb-hi-kw: light-dark(#b48ead, #b48ead);
    --zfb-hi-fn: light-dark(#8fa1b3, #8fa1b3);
    --zfb-hi-ty: light-dark(#d08770, #ebcb8b);
    --zfb-hi-prop: light-dark(#bf616a, #bf616a);
    --zfb-hi-var: light-dark(#bf616a, #bf616a);
    --zfb-hi-tag: light-dark(#bf616a, #bf616a);
    --zfb-hi-attr: light-dark(#d08770, #d08770);
    --zfb-hi-ins: light-dark(#a3be8c, #a3be8c);
    --zfb-hi-ins-bg: light-dark(rgb(163 190 140 / 15%), rgb(163 190 140 / 15%));
    --zfb-hi-del: light-dark(#bf616a, #bf616a);
    --zfb-hi-del-bg: light-dark(rgb(191 97 106 / 15%), rgb(191 97 106 / 15%));
    --zfb-hi-hd: light-dark(#8fa1b3, #8fa1b3);
  }

  /* light-dark() resolves LIGHT unless the host declares color-scheme —
     ship a media fallback so dark works with zero host configuration. */
  @media (prefers-color-scheme: dark) {
    :root {
      --zfb-hi-fg: #c0c5ce;
      --zfb-hi-bg: #2b303b;
      --zfb-hi-esc: #96b5b4;
      --zfb-hi-com: #65737e;
      --zfb-hi-str: #a3be8c;
      --zfb-hi-num: #d08770;
      --zfb-hi-const: #d08770;
      --zfb-hi-kw: #b48ead;
      --zfb-hi-fn: #8fa1b3;
      --zfb-hi-ty: #ebcb8b;
      --zfb-hi-prop: #bf616a;
      --zfb-hi-var: #bf616a;
      --zfb-hi-tag: #bf616a;
      --zfb-hi-attr: #d08770;
      --zfb-hi-ins: #a3be8c;
      --zfb-hi-ins-bg: rgb(163 190 140 / 15%);
      --zfb-hi-del: #bf616a;
      --zfb-hi-del-bg: rgb(191 97 106 / 15%);
      --zfb-hi-hd: #8fa1b3;
    }
  }

  .hi-root {
    color: var(--zfb-hi-fg);
    background: var(--zfb-hi-bg);
  }
  .hi-esc {
    color: var(--zfb-hi-esc);
  }
  .hi-op {
    color: var(--zfb-hi-op);
  }
  .hi-com {
    color: var(--zfb-hi-com);
  }
  .hi-str {
    color: var(--zfb-hi-str);
  }
  .hi-num {
    color: var(--zfb-hi-num);
  }
  .hi-const {
    color: var(--zfb-hi-const);
  }
  .hi-kw {
    color: var(--zfb-hi-kw);
  }
  .hi-fn {
    color: var(--zfb-hi-fn);
  }
  .hi-ty {
    color: var(--zfb-hi-ty);
  }
  .hi-ns {
    color: var(--zfb-hi-ns);
  }
  .hi-prop {
    color: var(--zfb-hi-prop);
  }
  .hi-var {
    color: var(--zfb-hi-var);
  }
  .hi-tag {
    color: var(--zfb-hi-tag);
  }
  .hi-attr {
    color: var(--zfb-hi-attr);
  }
  .hi-punct {
    color: var(--zfb-hi-punct);
  }
  .hi-ins {
    color: var(--zfb-hi-ins);
    background: var(--zfb-hi-ins-bg);
  }
  .hi-del {
    color: var(--zfb-hi-del);
    background: var(--zfb-hi-del-bg);
  }
  .hi-hd {
    color: var(--zfb-hi-hd);
  }
}


@layer zw-reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
  }
  html {
    line-height: 1.5;
    font-family: ui-sans-serif, system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
  }
  body {
    line-height: inherit;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1em;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    background-color: transparent;
    background-image: none;
  }
  textarea {
    resize: vertical;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    vertical-align: middle;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  table {
    border-collapse: collapse;
    border-color: inherit;
    text-indent: 0;
  }
  summary {
    display: list-item;
  }
  hr {
    height: 0;
    border-top-width: 1px;
  }
}
@layer zw-tokens {
  :root {
    --zw-color-accent: var(--color-accent);
    --zw-color-accent-hover: var(--color-accent-hover);
    --zw-color-bg: var(--color-bg);
    --zw-color-chat-assistant-bg: var(--color-chat-assistant-bg);
    --zw-color-chat-assistant-text: var(--color-chat-assistant-text);
    --zw-color-chat-user-bg: var(--color-chat-user-bg);
    --zw-color-chat-user-text: var(--color-chat-user-text);
    --zw-color-code-bg: var(--color-code-bg);
    --zw-color-code-fg: var(--color-code-fg);
    --zw-color-danger: var(--color-danger);
    --zw-color-fg: var(--color-fg);
    --zw-color-image-overlay-bg: var(--color-image-overlay-bg);
    --zw-color-image-overlay-fg: var(--color-image-overlay-fg);
    --zw-color-info: var(--color-info);
    --zw-color-matched-keyword-bg: var(--color-matched-keyword-bg);
    --zw-color-matched-keyword-fg: var(--color-matched-keyword-fg);
    --zw-color-muted: var(--color-muted);
    --zw-color-overlay: var(--color-overlay);
    --zw-color-sel-bg: var(--color-sel-bg);
    --zw-color-sel-fg: var(--color-sel-fg);
    --zw-color-success: var(--color-success);
    --zw-color-surface: var(--color-surface);
    --zw-color-warning: var(--color-warning);
    --zw-color-zd-accent: var(--color-zd-accent);
    --zw-color-zd-accent-hover: var(--color-zd-accent-hover);
    --zw-color-zd-bg: var(--color-zd-bg);
    --zw-color-zd-chat-assistant-bg: var(--color-zd-chat-assistant-bg);
    --zw-color-zd-chat-assistant-text: var(--color-zd-chat-assistant-text);
    --zw-color-zd-chat-user-bg: var(--color-zd-chat-user-bg);
    --zw-color-zd-chat-user-text: var(--color-zd-chat-user-text);
    --zw-color-zd-code-bg: var(--color-zd-code-bg);
    --zw-color-zd-code-fg: var(--color-zd-code-fg);
    --zw-color-zd-danger: var(--color-zd-danger);
    --zw-color-zd-fg: var(--color-zd-fg);
    --zw-color-zd-image-overlay-bg: var(--color-zd-image-overlay-bg);
    --zw-color-zd-image-overlay-fg: var(--color-zd-image-overlay-fg);
    --zw-color-zd-info: var(--color-zd-info);
    --zw-color-zd-matched-keyword-bg: var(--color-zd-matched-keyword-bg);
    --zw-color-zd-matched-keyword-fg: var(--color-zd-matched-keyword-fg);
    --zw-color-zd-muted: var(--color-zd-muted);
    --zw-color-zd-overlay: var(--color-zd-overlay);
    --zw-color-zd-sel-bg: var(--color-zd-sel-bg);
    --zw-color-zd-sel-fg: var(--color-zd-sel-fg);
    --zw-color-zd-success: var(--color-zd-success);
    --zw-color-zd-surface: var(--color-zd-surface);
    --zw-color-zd-warning: var(--color-zd-warning);
    --zw-ease-in-out: var(--ease-in-out);
    --zw-font-family-mono: var(--font-mono);
    --zw-font-family-sans: var(--font-sans);
    --zw-font-size-body: var(--text-body);
    --zw-font-size-caption: var(--text-caption);
    --zw-font-size-display: var(--text-display);
    --zw-font-size-heading: var(--text-heading);
    --zw-font-size-micro: var(--text-micro);
    --zw-font-size-small: var(--text-small);
    --zw-font-size-title: var(--text-title);
    --zw-font-weight-bold: var(--font-weight-bold);
    --zw-font-weight-medium: var(--font-weight-medium);
    --zw-font-weight-normal: var(--font-weight-normal);
    --zw-font-weight-semibold: var(--font-weight-semibold);
    --zw-tracking-normal: var(--tracking-normal);
    --zw-tracking-tight: var(--tracking-tight);
    --zw-tracking-wide: var(--tracking-wide);
    --zw-tracking-wider: var(--tracking-wider);
    --zw-leading-none: var(--leading-none);
    --zw-leading-normal: var(--leading-normal);
    --zw-leading-relaxed: var(--leading-relaxed);
    --zw-leading-snug: var(--leading-snug);
    --zw-leading-tight: var(--leading-tight);
    --zw-radius-default: var(--radius-DEFAULT);
    --zw-radius-lg: var(--radius-lg);
    --zw-shadow-lg: var(--shadow-lg);
    --zw-spacing-hsp-2xl: var(--spacing-hsp-2xl);
    --zw-spacing-hsp-2xs: var(--spacing-hsp-2xs);
    --zw-spacing-hsp-lg: var(--spacing-hsp-lg);
    --zw-spacing-hsp-md: var(--spacing-hsp-md);
    --zw-spacing-hsp-sm: var(--spacing-hsp-sm);
    --zw-spacing-hsp-xl: var(--spacing-hsp-xl);
    --zw-spacing-hsp-xs: var(--spacing-hsp-xs);
    --zw-spacing-icon-lg: var(--spacing-icon-lg);
    --zw-spacing-icon-md: var(--spacing-icon-md);
    --zw-spacing-icon-sm: var(--spacing-icon-sm);
    --zw-spacing-icon-xs: var(--spacing-icon-xs);
    --zw-spacing-image-overlay-inset: var(--spacing-image-overlay-inset);
    --zw-spacing-vsp-2xl: var(--spacing-vsp-2xl);
    --zw-spacing-vsp-2xs: var(--spacing-vsp-2xs);
    --zw-spacing-vsp-3xs: var(--spacing-vsp-3xs);
    --zw-spacing-vsp-lg: var(--spacing-vsp-lg);
    --zw-spacing-vsp-md: var(--spacing-vsp-md);
    --zw-spacing-vsp-sm: var(--spacing-vsp-sm);
    --zw-spacing-vsp-xl: var(--spacing-vsp-xl);
    --zw-spacing-vsp-xs: var(--spacing-vsp-xs);
    --zw-z-content: var(--z-index-content);
    --zw-z-drag: var(--z-index-drag);
    --zw-z-dropdown: var(--z-index-dropdown);
    --zw-z-local-1: var(--z-index-local-1);
    --zw-z-local-2: var(--z-index-local-2);
    --zw-z-local-3: var(--z-index-local-3);
    --zw-z-modal: var(--z-index-modal);
    --zw-z-modal-backdrop: var(--z-index-modal-backdrop);
    --zw-z-popover: var(--z-index-popover);
    --zw-z-sidebar: var(--z-index-sidebar);
    --zw-z-toast: var(--z-index-toast);
    --zw-z-toolbar: var(--z-index-toolbar);
    --zw-z-tooltip: var(--z-index-tooltip);
  }
}
@property --zw-translate-x {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@property --zw-translate-y {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@layer zw-reset, zd-flow;

:root {
  --color-bg: var(--zd-bg);
  --color-fg: var(--zd-fg);
  --color-sel-bg: var(--zd-selection-bg);
  --color-sel-fg: var(--zd-selection-fg);
  --color-surface: var(--zd-surface);
  --color-muted: var(--zd-muted);
  --color-accent: var(--zd-accent);
  --color-accent-hover: var(--zd-accent-hover);
  --color-code-bg: var(--zd-code-bg);
  --color-code-fg: var(--zd-code-fg);
  --color-success: var(--zd-success);
  --color-danger: var(--zd-danger);
  --color-warning: var(--zd-warning);
  --color-info: var(--zd-info);
  --color-overlay: #000;
  --color-image-overlay-bg: var(--zd-image-overlay-bg);
  --color-image-overlay-fg: var(--zd-image-overlay-fg);
  --color-chat-user-bg: var(--zd-chat-user-bg);
  --color-chat-user-text: var(--zd-chat-user-text);
  --color-chat-assistant-bg: var(--zd-chat-assistant-bg);
  --color-chat-assistant-text: var(--zd-chat-assistant-text);
  --color-matched-keyword-bg: var(--zd-matched-keyword-bg);
  --color-matched-keyword-fg: var(--zd-matched-keyword-fg);
  --spacing-0: 0;
  --spacing-px: 1px;
  --spacing-hsp-2xs: .125rem;
  --spacing-hsp-xs: .375rem;
  --spacing-hsp-sm: .5rem;
  --spacing-hsp-md: .75rem;
  --spacing-hsp-lg: 1rem;
  --spacing-hsp-xl: 1.5rem;
  --spacing-hsp-2xl: 2rem;
  --spacing-vsp-3xs: .25rem;
  --spacing-vsp-2xs: .4375rem;
  --spacing-vsp-xs: .875rem;
  --spacing-vsp-sm: 1.25rem;
  --spacing-vsp-md: 1.5rem;
  --spacing-vsp-lg: 1.75rem;
  --spacing-vsp-xl: 2.5rem;
  --spacing-vsp-2xl: 3.5rem;
  --spacing-icon-xs: .75rem;
  --spacing-icon-sm: 1rem;
  --spacing-icon-md: 1.25rem;
  --spacing-icon-lg: 1.5rem;
  --spacing-image-overlay-inset: .5rem;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --text-micro: var(--text-scale-2xs);
  --text-caption: var(--text-scale-xs);
  --text-small: var(--text-scale-sm);
  --text-body: var(--text-scale-md);
  --text-title: var(--text-scale-lg);
  --text-heading: var(--text-scale-xl);
  --text-display: var(--text-scale-2xl);
  --font-sans: system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-none: 1;
  --tracking-tight: -.025em;
  --tracking-normal: normal;
  --tracking-wide: .05em;
  --tracking-wider: .1em;
  --radius-DEFAULT: .25rem;
  --radius-lg: .5rem;
  --radius-full: 9999px;
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --breakpoint-sm: 640px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

:root {
  --color-zd-bg: var(--zd-bg);
  --color-zd-fg: var(--zd-fg);
  --color-zd-sel-bg: var(--zd-selection-bg);
  --color-zd-sel-fg: var(--zd-selection-fg);
  --color-zd-surface: var(--zd-surface);
  --color-zd-muted: var(--zd-muted);
  --color-zd-accent: var(--zd-accent);
  --color-zd-accent-hover: var(--zd-accent-hover);
  --color-zd-code-bg: var(--zd-code-bg);
  --color-zd-code-fg: var(--zd-code-fg);
  --color-zd-success: var(--zd-success);
  --color-zd-danger: var(--zd-danger);
  --color-zd-warning: var(--zd-warning);
  --color-zd-info: var(--zd-info);
  --color-zd-overlay: #000;
  --color-zd-image-overlay-bg: var(--zd-image-overlay-bg);
  --color-zd-image-overlay-fg: var(--zd-image-overlay-fg);
  --color-zd-chat-user-bg: var(--zd-chat-user-bg);
  --color-zd-chat-user-text: var(--zd-chat-user-text);
  --color-zd-chat-assistant-bg: var(--zd-chat-assistant-bg);
  --color-zd-chat-assistant-text: var(--zd-chat-assistant-text);
  --color-zd-matched-keyword-bg: var(--zd-matched-keyword-bg);
  --color-zd-matched-keyword-fg: var(--zd-matched-keyword-fg);
}

:root {
  --z-index-content: 0;
  --z-index-local-1: 1;
  --z-index-local-2: 2;
  --z-index-local-3: 3;
  --z-index-sidebar: 10;
  --z-index-toolbar: 20;
  --z-index-dropdown: 30;
  --z-index-popover: 40;
  --z-index-modal-backdrop: 50;
  --z-index-modal: 60;
  --z-index-toast: 70;
  --z-index-tooltip: 80;
  --z-index-drag: 90;
}

:root {
  --zd-sidebar-w: clamp(14rem, 20vw, 22rem);
  --text-scale-2xs: .75rem;
  --text-scale-xs: .875rem;
  --text-scale-sm: 1rem;
  --text-scale-md: 1.2rem;
  --text-scale-lg: 1.4rem;
  --text-scale-xl: 3rem;
  --text-scale-2xl: 3.75rem;
  --default-transition-duration: .15s;
  --zd-transition-slow: .2s;
  --zd-transition-slower: .3s;
  --zd-header-h: 80px;
}

[id] {
  scroll-margin-top: var(--zd-header-h);
}

body {
  background-color: var(--color-bg);
  color: var(--color-fg);
}

::selection {
  background-color: var(--color-sel-bg);
  color: var(--color-sel-fg);
}

@layer base {
  ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  html {
    font-family: var(--font-sans);
    -webkit-tap-highlight-color: transparent;
  }

  code, kbd, samp, pre {
    font-family: var(--font-mono);
  }

  button, input, select, optgroup, textarea, ::file-selector-button {
    background-color: #0000;
    border-radius: 0;
  }

  button, ::file-selector-button {
    appearance: button;
  }

  :disabled {
    opacity: 1;
  }

  ::placeholder {
    opacity: 1;
    color: color-mix(in oklab, currentColor 50%, transparent);
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    margin-inline-end: 4px;
  }

  hr {
    color: inherit;
  }

  abbr:where([title]) {
    text-decoration: underline dotted;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  html {
    font-family: var(--font-sans), "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }

  a {
    text-underline-offset: 4px;
  }

  button {
    cursor: pointer;
  }

  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
}

[data-search-results] mark {
  background-color: var(--color-matched-keyword-bg);
  color: var(--color-matched-keyword-fg);
  padding: 0;
  border-radius: 2px;
}

@media (width >= 64rem) {
  .hidden:has( > [data-version-switcher]) {
    display: block;
  }
}

.find-match {
  background-color: color-mix(in oklch, var(--color-warning) 40%, transparent);
  border-radius: 2px;
}

.find-match-active {
  background-color: color-mix(in oklch, var(--color-warning) 70%, transparent);
  border-radius: 2px;
  outline: 2px solid color-mix(in oklch, var(--color-warning) 90%, transparent);
}

:where(.tokenpanel-shell, .tokenpanel-mini-pill, [data-design-token-panel-modal], .tokenpanel-highlight-settings-popover, .tokenpanel-chain-popover, .tokenpanel-color-picker, .tokenpanel-tooltip, .tokenpanel-elpath-label, .tokenpanel-elpath-toast, .tokenpanel-element-inspect-box, .tokenpanel-element-inspect-label, .tokenpanel-element-inspect-view) {
  color-scheme: dark;
  --tokentweak-palette-base-0: oklch(18% 0 0);
  --tokentweak-palette-base-1: oklch(25% 0 0);
  --tokentweak-palette-base-2: oklch(34% 0 0);
  --tokentweak-palette-base-3: oklch(53.6% 0 0);
  --tokentweak-palette-base-4: oklch(66% 0 0);
  --tokentweak-palette-base-5: oklch(80% 0 0);
  --tokentweak-palette-base-6: oklch(91% 0 0);
  --tokentweak-color-fg: var(--tokentweak-palette-base-5);
  --tokentweak-color-bg: var(--tokentweak-palette-base-0);
  --tokentweak-color-muted: var(--tokentweak-palette-base-4);
  --tokentweak-color-border: var(--tokentweak-palette-base-3);
  --tokentweak-color-surface: var(--tokentweak-palette-base-1);
  --tokentweak-color-accent: #d69a66;
  --tokentweak-color-accent-bar: #efb477;
  --tokentweak-color-accent-hover: #a7c0e3;
  --tokentweak-color-code-bg: var(--tokentweak-palette-base-2);
  --tokentweak-color-code-fg: var(--tokentweak-palette-base-6);
  --tokentweak-color-success: #93bb77;
  --tokentweak-color-danger: #da6871;
  --tokentweak-color-warning: #dfbb77;
  --tokentweak-font-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --tokentweak-pad-2xs: 2px;
  --tokentweak-pad-xs: 6px;
  --tokentweak-pad-sm: 8px;
  --tokentweak-pad-md: 12px;
  --tokentweak-pad-lg: 16px;
  --tokentweak-pad-xl: 24px;
  --tokentweak-pad-2xl: 32px;
  --tokentweak-gap-2xs: 7px;
  --tokentweak-gap-xs: 14px;
  --tokentweak-gap-sm: 20px;
  --tokentweak-gap-md: 24px;
  --tokentweak-gap-lg: 28px;
  --tokentweak-gap-xl: 40px;
  --tokentweak-gap-2xl: 56px;
  --tokentweak-text-micro: 12px;
  --tokentweak-text-caption: 14px;
  --tokentweak-text-small: 16px;
  --tokentweak-text-body: 19px;
  --tokentweak-text-subheading: 22px;
  --tokentweak-text-heading: 48px;
  --tokentweak-text-display: 60px;
  --radius-tokentweak: 4px;
  --tokentweak-z-overlay: 2147480000;
  --tokentweak-z-shell: 2147480000;
  --tokentweak-z-settings-popover: 2147480000;
  --tokentweak-z-color-picker: 2147480000;
  --tokentweak-z-tooltip: 2147480000;
  --tokentweak-z-command-palette: 2147480000;
  --tokentweak-z-inspector-box: 2147480000;
  --tokentweak-z-toast: 2147480000;
}

.tokenpanel-color-picker {
  position: fixed;
  width: 320px;
  padding: var(--tokentweak-pad-md);
  background: var(--tokentweak-color-surface);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  box-shadow: 0 8px 24px #0006;
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-2xs);
  z-index: var(--tokentweak-z-color-picker);
  color: var(--tokentweak-color-fg);
  font-size: var(--tokentweak-text-caption);
}

.tokenpanel-color-picker[data-mode-shell="expanded"] {
  width: 520px;
  padding: var(--tokentweak-pad-lg);
  gap: var(--tokentweak-gap-xs);
}

.tokenpanel-color-picker-header {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-2xs);
}

.tokenpanel-color-picker-drag-handle {
  flex-shrink: 0;
  cursor: grab;
  color: var(--tokentweak-color-muted);
  font-size: var(--tokentweak-text-caption);
  line-height: 1;
  padding: var(--tokentweak-pad-2xs);
  border-radius: var(--radius-tokentweak);
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.tokenpanel-color-picker-drag-handle:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-drag-handle:active {
  cursor: grabbing;
}

.tokenpanel-color-picker-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-caption);
}

.tokenpanel-color-picker-mode-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--tokentweak-color-bg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 999px;
  padding: 2px;
  flex-shrink: 0;
}

.tokenpanel-color-picker-mode-btn {
  border-radius: 999px;
  padding-inline: var(--tokentweak-pad-xs);
  padding-block: var(--tokentweak-pad-2xs);
  font-size: var(--tokentweak-text-micro);
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color .12s, color .12s;
  white-space: nowrap;
}

.tokenpanel-color-picker-mode-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-mode-btn[aria-pressed="true"] {
  background-color: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-mode-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-picker-expand-btn {
  flex-shrink: 0;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: var(--tokentweak-pad-2xs);
  border-radius: var(--radius-tokentweak);
  transition: color .12s;
}

.tokenpanel-color-picker-expand-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-expand-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-picker-close-btn {
  position: relative;
  flex-shrink: 0;
  min-width: 16px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: var(--tokentweak-pad-2xs);
  border-radius: var(--radius-tokentweak);
  text-align: center;
  transition: color .12s;
}

.tokenpanel-color-picker-close-btn:after {
  content: "";
  position: absolute;
  inset: -4px;
}

.tokenpanel-color-picker-close-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-close-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-picker-top-row {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-2xs);
}

.tokenpanel-color-picker-preview {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-tokentweak);
  border: 1px solid var(--tokentweak-color-border);
  overflow: hidden;
}

.tokenpanel-color-picker-preview-checkerboard {
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(gray 0% 25%, silver 0% 50%);
  background-size: 10px 10px;
}

.tokenpanel-color-picker-preview-color {
  position: absolute;
  inset: 0;
}

.tokenpanel-color-picker-hex-input {
  flex: 1;
  min-width: 0;
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-caption);
  background: var(--tokentweak-color-bg);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  padding: var(--tokentweak-pad-2xs) var(--tokentweak-pad-xs);
  transition: border-color .12s;
}

.tokenpanel-color-picker-hex-input:hover {
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-hex-input:focus-visible {
  border-color: var(--tokentweak-color-accent);
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.tokenpanel-color-picker-grid > [role="row"] {
  display: contents;
}

.tokenpanel-color-picker[data-mode-shell="expanded"] .tokenpanel-color-picker-grid {
  grid-template-columns: repeat(12, 1fr);
}

.tokenpanel-color-picker-grid-cell {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-tokentweak);
  cursor: pointer;
  transition: box-shadow .12s;
}

.tokenpanel-color-picker-grid-cell:hover {
  box-shadow: 0 0 0 2px var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-grid-cell[aria-selected="true"] {
  box-shadow: 0 0 0 2px var(--tokentweak-color-accent);
}

.tokenpanel-color-picker-grid-cell:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-picker-grid-cell[data-oog="true"]:after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px dashed oklch(98% 0 0 / .4);
  border-radius: var(--radius-tokentweak);
  pointer-events: none;
}

.tokenpanel-color-picker-sliders {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-2xs);
}

.tokenpanel-color-picker-slider-row {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-2xs);
}

.tokenpanel-color-picker-slider-label {
  flex-shrink: 0;
  width: 20px;
  font-size: var(--tokentweak-text-micro);
  color: var(--tokentweak-color-muted);
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-color-picker-slider {
  flex: 1;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.tokenpanel-color-picker-slider:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-color-picker-slider-track {
  width: 100%;
  height: 18px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-color-picker-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tokentweak-color-fg);
  border: 2px solid var(--tokentweak-color-bg);
  box-shadow: 0 0 0 1px var(--tokentweak-color-border);
  pointer-events: none;
}

.tokenpanel-color-picker-slider-value {
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-micro);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-color-picker-readout {
  display: none;
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-micro);
  color: var(--tokentweak-color-muted);
  padding-top: var(--tokentweak-pad-2xs);
  border-top: 1px solid var(--tokentweak-color-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-color-picker[data-mode-shell="expanded"] .tokenpanel-color-picker-readout {
  display: block;
}

.tokenpanel-color-picker__disclosure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--tokentweak-gap-2xs);
  padding: var(--tokentweak-pad-sm);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  overflow-wrap: anywhere;
}

.tokenpanel-color-picker__convert {
  padding: var(--tokentweak-pad-2xs) var(--tokentweak-pad-sm);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  cursor: pointer;
}

.tokenpanel-color-picker__convert:focus-visible {
  outline: 2px solid var(--tokentweak-color-fg);
  outline-offset: 2px;
}

.tokenpanel-color-picker-slider[aria-disabled="true"], .tokenpanel-color-picker-grid-cell[aria-disabled="true"], .tokenpanel-color-picker-hex-input:disabled {
  cursor: default;
  opacity: .5;
}

.tokenpanel-palette-chart svg {
  fill: currentColor;
  overflow: visible;
}

.tokenpanel-palette-chart {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-tokentweak);
  overflow: hidden;
  touch-action: none;
}

.tokenpanel-palette-chart-bands {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tokenpanel-palette-chart-band.is-invalid {
  fill: var(--tokentweak-color-surface);
  stroke: var(--tokentweak-color-muted);
  stroke-dasharray: 4 3;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.tokenpanel-palette-chart-curve {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.tokenpanel-palette-chart-hit-line {
  fill: none;
  pointer-events: stroke;
  cursor: grab;
}

.tokenpanel-palette-chart-hit-line:active {
  cursor: grabbing;
}

.tokenpanel-palette-chart-line {
  fill: none;
}

.tokenpanel-palette-chart-curve--l .tokenpanel-palette-chart-line {
  stroke: var(--tokentweak-color-accent);
}

.tokenpanel-palette-chart-curve--c .tokenpanel-palette-chart-line {
  stroke: var(--tokentweak-color-success);
}

.tokenpanel-palette-chart-curve--h .tokenpanel-palette-chart-line {
  stroke: var(--tokentweak-color-warning);
}

.tokenpanel-palette-chart-node-visual {
  fill: var(--tokentweak-color-bg);
}

.tokenpanel-palette-chart-node-visual.is-readonly {
  stroke-dasharray: 2 2;
}

.tokenpanel-palette-chart-curve--l .tokenpanel-palette-chart-node-visual {
  stroke: var(--tokentweak-color-accent);
}

.tokenpanel-palette-chart-curve--c .tokenpanel-palette-chart-node-visual {
  stroke: var(--tokentweak-color-success);
}

.tokenpanel-palette-chart-curve--h .tokenpanel-palette-chart-node-visual {
  stroke: var(--tokentweak-color-warning);
}

.tokenpanel-palette-chart-node-hit {
  pointer-events: all;
  cursor: grab;
  outline: none;
}

.tokenpanel-palette-chart-node-hit:active {
  cursor: grabbing;
}

.tokenpanel-palette-chart-node-hit:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-palette-chart-readonly-blocker {
  pointer-events: all;
  cursor: default;
}

.tokenpanel-palette-chart-blockers {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tokenpanel-palette-edit-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tokenpanel-palette-edit-group {
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  overflow: hidden;
}

.tokenpanel-palette-edit-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-palette-edit-group-header:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: -2px;
}

.tokenpanel-palette-edit-group.is-active .tokenpanel-palette-edit-group-header {
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-edit-group-chevron {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--tokentweak-color-muted);
  transform: rotate(-90deg);
  transition: transform .15s;
}

.tokenpanel-palette-edit-group-chevron.is-open {
  transform: rotate(0);
}

.tokenpanel-palette-edit-group-heading {
  flex: auto;
  min-width: 0;
  margin: 0;
  color: var(--tokentweak-color-fg);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  text-transform: none;
  letter-spacing: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-palette-edit-group-preview {
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tokenpanel-palette-edit-preview-chip {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgb(from var(--tokentweak-color-fg) r g b / .12);
  pointer-events: none;
}

.tokenpanel-palette-edit-preview-chip.is-invalid, .tokenpanel-palette-edit-swatch[data-invalid], .tokenpanel-palette-readout-swatch.is-invalid {
  background-color: var(--tokentweak-color-surface);
  background-image: repeating-linear-gradient(135deg,transparent 0 4px,rgb(from var(--tokentweak-color-muted) r g b / .25) 4px 6px);
}

.tokenpanel-palette-edit-group-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.tokenpanel-palette-edit-swatches {
  display: flex;
  gap: 4px;
}

.tokenpanel-palette-edit-swatch {
  position: relative;
  flex: 1 1 0;
  height: 30px;
  border-radius: var(--radius-tokentweak);
  border: 1px solid rgb(from var(--tokentweak-color-fg) r g b / .08);
  outline: 0 solid #0000;
  cursor: pointer;
  transition: outline-width 80ms;
}

.tokenpanel-palette-edit-swatch.is-selected {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 1px;
}

.tokenpanel-palette-edit-swatch:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent-hover);
  outline-offset: 1px;
}

.tokenpanel-palette-edit-swatch.is-readonly {
  border-style: double;
  border-width: 3px;
}

.tokenpanel-palette-edit-swatch-lock {
  position: absolute;
  inset: 2px 2px auto auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-tokentweak);
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-surface);
  border: 1px solid var(--tokentweak-color-border);
  pointer-events: none;
}

.tokenpanel-palette-edit-swatch-lock svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tokenpanel-palette-edit-swatch[data-out-of-gamut] {
  border-style: dashed;
  border-color: var(--tokentweak-color-danger);
  border-width: 2px;
}

.tokenpanel-palette-edit-swatch[data-invalid] {
  border-style: dashed;
  border-color: var(--tokentweak-color-border);
}

.tokenpanel-palette-edit-swatch-idx {
  position: absolute;
  inset: auto 0 2px;
  text-align: center;
  font-size: 9px;
  color: #0000008c;
  text-shadow: 0 0 2px #fff6;
  pointer-events: none;
}

.tokenpanel-palette-edit-editor {
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-surface);
}

.tokenpanel-palette-edit-editor-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-edit-editor-title {
  flex: auto;
  font-size: 11px;
  color: var(--tokentweak-color-muted);
}

.tokenpanel-palette-edit-channels {
  display: flex;
  gap: 3px;
}

.tokenpanel-palette-edit-channel {
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 650;
  border-radius: var(--radius-tokentweak);
  border: 1px solid var(--tokentweak-color-border);
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-palette-edit-channel:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 1px;
}

.tokenpanel-palette-edit-channel--l.is-on {
  border-color: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-accent);
}

.tokenpanel-palette-edit-channel--c.is-on {
  border-color: var(--tokentweak-color-success);
  color: var(--tokentweak-color-success);
}

.tokenpanel-palette-edit-channel--h.is-on {
  border-color: var(--tokentweak-color-warning);
  color: var(--tokentweak-color-warning);
}

.tokenpanel-palette-edit-direct {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-edit-direct-hint {
  font-size: 11px;
  color: var(--tokentweak-color-muted);
}

.tokenpanel-palette-readout {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-readout-swatch {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tokentweak);
  border: 1px solid rgb(from var(--tokentweak-color-fg) r g b / .12);
}

.tokenpanel-palette-readout-rows {
  font-family: var(--tokentweak-font-mono);
  font-size: 10.5px;
  color: var(--tokentweak-color-fg);
  line-height: 1.5;
}

.tokenpanel-palette-readout-key {
  display: inline-block;
  width: 42px;
  color: var(--tokentweak-color-muted);
  font-weight: 600;
}

.tokenpanel-palette-readout-gamut {
  margin-top: 4px;
  color: var(--tokentweak-color-danger);
  font-size: 10px;
}

.tokenpanel-palette-mode-toggle {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  overflow: hidden;
}

.tokenpanel-palette-mode-btn {
  padding: 4px 16px;
  font-size: 12px;
  line-height: 20px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color .15s, color .15s;
}

.tokenpanel-palette-mode-btn + .tokenpanel-palette-mode-btn {
  border-left: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-mode-btn:hover {
  color: var(--tokentweak-color-fg);
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .06);
}

.tokenpanel-palette-mode-btn.is-active {
  background-color: rgb(from var(--tokentweak-color-accent) r g b / .16);
  color: var(--tokentweak-color-accent);
  font-weight: 600;
}

.tokenpanel-palette-mode-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: -2px;
}

.tokenpanel-palette-check-view {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-xs);
}

.tokenpanel-palette-check-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tokenpanel-palette-check-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.tokenpanel-palette-check-switch input[type="checkbox"] {
  accent-color: var(--tokentweak-color-accent);
  margin: 0;
}

.tokenpanel-palette-check-switch:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-palette-check-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: var(--tokentweak-gap-xs);
  align-items: start;
}

.tokenpanel-palette-check-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.tokenpanel-palette-check-col-cap {
  margin-bottom: -6px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tokenpanel-palette-check-base-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  margin-inline: -8px;
  border: 1px solid #0000;
  border-radius: var(--radius-tokentweak);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color .12s, border-color .12s;
}

.tokenpanel-palette-check-base-row:hover {
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .06);
}

.tokenpanel-palette-check-base-row:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: -2px;
}

.tokenpanel-palette-check-base-row.is-selected {
  border-color: var(--tokentweak-color-accent);
  background-color: rgb(from var(--tokentweak-color-accent) r g b / .12);
}

.tokenpanel-palette-check-base-row.is-selected .tokenpanel-palette-check-row-name {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-palette-check-base-row.is-disabled {
  cursor: not-allowed;
  border-style: dashed;
}

.tokenpanel-palette-check-base-row.is-disabled:hover {
  background-color: #0000;
}

.tokenpanel-palette-check-base-row.tokenpanel-palette-check-row--modes {
  cursor: default;
  -webkit-user-select: auto;
  user-select: auto;
  flex-wrap: wrap;
}

.tokenpanel-palette-check-base-row.tokenpanel-palette-check-row--modes:hover {
  background-color: #0000;
}

.tokenpanel-palette-check-row--modes .tokenpanel-per-mode-fields {
  flex: 0 auto;
  min-width: 0;
}

.tokenpanel-palette-check-swatch {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(from var(--tokentweak-color-fg) r g b / .16);
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-palette-check-swatch.is-invalid, .tokenpanel-palette-check-aa-sample.is-invalid {
  background-color: var(--tokentweak-color-surface);
  background-image: repeating-linear-gradient(135deg,transparent 0 4px,rgb(from var(--tokentweak-color-muted) r g b / .25) 4px 6px);
}

.tokenpanel-palette-check-row-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-palette-check-row-value {
  color: var(--tokentweak-color-muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-palette-check-na {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
}

.tokenpanel-palette-check-candidate-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}

.tokenpanel-palette-check-aa-sample {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 24px;
  border: 1px solid rgb(from var(--tokentweak-color-fg) r g b / .12);
  border-radius: var(--radius-tokentweak);
  font-size: 12px;
  font-weight: 600;
}

.tokenpanel-palette-check-ratio {
  flex-shrink: 0;
  width: 38px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.tokenpanel-palette-check-chip {
  flex-shrink: 0;
  min-width: 36px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.tokenpanel-palette-check-chip.is-na {
  border: 1px dashed var(--tokentweak-color-border);
  color: var(--tokentweak-color-muted);
}

.tokenpanel-palette-check-footer {
  padding-top: 12px;
  border-top: 1px solid rgb(from var(--tokentweak-color-border) r g b / .35);
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

.tokenpanel-palette-check-tally-count, .tokenpanel-palette-check-tally-total {
  color: var(--tokentweak-color-fg);
  font-weight: 700;
}

.tokenpanel-palette-check-tally-mode {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-palette-check-tally-base {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-row--modes {
  align-items: flex-start;
  min-width: 0;
}

.tokenpanel-row--modes .tokenpanel-row-label {
  flex: 0 220px;
  align-self: center;
}

.tokenpanel-modes-values {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  flex: auto;
  min-width: 0;
  flex-wrap: wrap;
}

.tokenpanel-modes-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 170px;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
}

.tokenpanel-modes-side {
  flex: none;
  min-width: 32px;
  color: var(--tokentweak-color-muted);
  font-size: 10px;
  text-transform: capitalize;
}

.tokenpanel-modes-chip {
  display: inline-block;
  width: 26px;
  height: 22px;
  flex: none;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background-color: var(--tokentweak-color-surface);
}

.tokenpanel-modes-value-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-row--editor-disabled .tokenpanel-modes-chip {
  cursor: default;
}

.tokenpanel-palette-edit-modes-row {
  width: 100%;
  padding-block: 3px;
}

.tokenpanel-color-modes-card {
  grid-column: 1 / -1;
}

.tokenpanel-palette-check-row--modes .tokenpanel-modes-values, .tokenpanel-palette-check-row--modes .tokenpanel-modes-value {
  flex: 0 auto;
}

@container tokenpanel-card (width <= 319px) {
  .tokenpanel-row--modes .tokenpanel-card-editor, .tokenpanel-row--modes .tokenpanel-modes-values {
    flex: 1 0 100%;
  }

  .tokenpanel-row--modes .tokenpanel-modes-value {
    flex-basis: 100%;
  }
}

.tokenpanel-specimen-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--tokentweak-pad-sm);
  color: var(--tokentweak-color-muted);
  font-size: 12px;
}

.tokenpanel-specimen-field {
  display: flex;
  align-items: center;
  flex: 280px;
  min-width: 0;
  gap: var(--tokentweak-pad-sm);
  padding: 2px 8px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-bg);
}

.tokenpanel-specimen-field-label {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tokenpanel-specimen-text-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--tokentweak-color-fg);
  font: inherit;
}

.tokenpanel-specimen-presets {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-specimen-preset {
  padding: 3px 8px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
}

.tokenpanel-specimen-preset:hover, .tokenpanel-specimen-preset:focus-visible {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-specimen-preset:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: -2px;
}

.tokenpanel-specimen-preset.is-active {
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-surface);
}

.tokenpanel-specimen-width {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
}

.tokenpanel-specimen-width input {
  width: 90px;
  accent-color: var(--tokentweak-color-accent);
}

.tokenpanel-specimen-width-value {
  min-width: 40px;
  font-family: var(--tokentweak-font-mono);
}

.tokenpanel-specimen-on-page-toggle {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  color: var(--tokentweak-color-fg);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-specimen-on-page-toggle input {
  accent-color: var(--tokentweak-color-accent);
}

.tokenpanel-row--specimen-compact .tokenpanel-specimen-size-text, .tokenpanel-row--specimen-compact .tokenpanel-specimen-line-height-text {
  display: none;
}

.tokenpanel-on-page-specimen {
  display: block;
  box-sizing: border-box;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px dashed var(--tokentweak-color-accent, currentColor);
  border-radius: 8px;
  background: canvas;
  color: inherit;
  font: inherit;
}

.tokenpanel-on-page-specimen-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tokentweak-pad-md, 12px);
  margin-bottom: var(--tokentweak-pad-sm, 8px);
  color: var(--tokentweak-color-accent, currentColor);
  font: 11px/1.4 var(--tokentweak-font-mono, monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tokenpanel-on-page-specimen-heading > span:last-child {
  color: var(--tokentweak-color-muted, currentColor);
  text-align: right;
}

.tokenpanel-on-page-specimen-section + .tokenpanel-on-page-specimen-section {
  margin-top: var(--tokentweak-pad-md, 12px);
}

.tokenpanel-on-page-specimen-section-label {
  margin-bottom: var(--tokentweak-pad-2xs, 2px);
  color: var(--tokentweak-color-muted, currentColor);
  font: 10px/1.4 var(--tokentweak-font-mono, monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tokenpanel-on-page-specimen-row {
  display: grid;
  grid-template-columns: minmax(130px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: var(--tokentweak-pad-md, 12px);
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px dashed color-mix(in srgb,currentColor 20%,transparent);
}

.tokenpanel-on-page-specimen-row:last-child {
  border-bottom: 0;
}

.tokenpanel-on-page-specimen-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--tokentweak-color-muted, currentColor);
  font: 11px/1.35 var(--tokentweak-font-mono, monospace);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tokenpanel-on-page-specimen-meta > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-on-page-specimen-meta > span + span {
  color: var(--tokentweak-color-accent-hover, currentColor);
  font-size: 10px;
}

.tokenpanel-on-page-specimen-size-text, .tokenpanel-on-page-specimen-line-height-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-on-page-specimen-size-text {
  line-height: 1.15;
  white-space: nowrap;
}

.tokenpanel-on-page-specimen-line-height-text {
  max-width: 100%;
  overflow: hidden;
  padding: 0 var(--tokentweak-pad-sm, 8px);
  border-radius: 3px;
  background-color: color-mix(in srgb,currentColor 3%,transparent);
  background-image: repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--tokenpanel-specimen-line) - 1px),color-mix(in srgb,currentColor 45%,transparent) calc(var(--tokenpanel-specimen-line) - 1px),color-mix(in srgb,currentColor 45%,transparent) var(--tokenpanel-specimen-line));
  background-origin: content-box;
}

@media (width <= 620px) {
  .tokenpanel-on-page-specimen-row {
    grid-template-columns: minmax(110px, 130px) minmax(0, 1fr);
    gap: var(--tokentweak-pad-sm, 8px);
  }
}

.tokenpanel-row--specimen-size .tokenpanel-row-head, .tokenpanel-row--specimen-line-height .tokenpanel-row-head, .tokenpanel-row.tokenpanel-row--specimen-size {
  display: grid;
  grid-template-columns: 13px minmax(120px, 150px) minmax(0, 1fr) auto repeat(3, auto);
  align-items: center;
  column-gap: var(--tokentweak-pad-xs);
  row-gap: var(--tokentweak-pad-xs);
  min-width: 0;
  width: 100%;
}

.tokenpanel-row--specimen-size .tokenpanel-row-label, .tokenpanel-row--specimen-line-height .tokenpanel-row-label, .tokenpanel-row.tokenpanel-row--specimen-size > .tokenpanel-row-label {
  display: none;
}

.tokenpanel-specimen-size-leading, .tokenpanel-specimen-line-height-leading {
  display: contents;
}

.tokenpanel-row--specimen-size .tokenpanel-bulk-row-checkbox, .tokenpanel-row--specimen-line-height .tokenpanel-bulk-row-checkbox {
  grid-column: 1;
}

.tokenpanel-row--specimen-size .tokenpanel-specimen-meta, .tokenpanel-row--specimen-line-height .tokenpanel-specimen-meta {
  grid-column: 2;
}

.tokenpanel-row--specimen-size .tokenpanel-specimen-size-text, .tokenpanel-row--specimen-line-height .tokenpanel-specimen-line-height-text {
  grid-column: 3;
}

.tokenpanel-row--specimen-size .tokenpanel-row-input-group, .tokenpanel-row--specimen-line-height .tokenpanel-row-input-group, .tokenpanel-row.tokenpanel-row--specimen-size > .tokenpanel-row-select, .tokenpanel-row.tokenpanel-row--specimen-size > .tokenpanel-tier-ref-selector {
  grid-column: 4;
}

.tokenpanel-row--specimen-size .tokenpanel-row-number-input, .tokenpanel-row--specimen-line-height .tokenpanel-row-number-input {
  width: 64px;
}

.tokenpanel-row--specimen-size .tokenpanel-row-unit, .tokenpanel-row--specimen-line-height .tokenpanel-row-unit {
  width: 28px;
}

.tokenpanel-row--specimen-size .tokenpanel-changed-revert, .tokenpanel-row--specimen-line-height .tokenpanel-changed-revert {
  grid-column: 5;
}

.tokenpanel-row--specimen-size .tokenpanel-chain-button, .tokenpanel-row--specimen-line-height .tokenpanel-chain-button {
  grid-column: 6;
}

.tokenpanel-row--specimen-size .tokenpanel-highlight-toggle, .tokenpanel-row--specimen-line-height .tokenpanel-highlight-toggle {
  grid-column: 7;
}

.tokenpanel-row--specimen-size :is(.tokenpanel-bulk-preview, .tokenpanel-changed-tail), .tokenpanel-row--specimen-line-height :is(.tokenpanel-bulk-preview, .tokenpanel-changed-tail) {
  grid-column: 2 / -1;
}

.tokenpanel-specimen-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tokenpanel-specimen-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-specimen-meta span + span {
  color: var(--tokentweak-color-accent-hover);
  font-size: 10px;
}

.tokenpanel-specimen-size-text {
  min-width: 0;
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-row--specimen-line-height .tokenpanel-row-head {
  align-items: start;
}

.tokenpanel-specimen-line-height-text {
  max-width: 100%;
  overflow: hidden;
  padding: 0 8px;
  border-radius: 3px;
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .03);
  background-image: repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--tokenpanel-specimen-line) - 1px),rgb(from var(--tokentweak-color-accent) r g b / .45) calc(var(--tokenpanel-specimen-line) - 1px),rgb(from var(--tokentweak-color-accent) r g b / .45) var(--tokenpanel-specimen-line));
  background-origin: content-box;
  color: var(--tokentweak-color-fg);
}

.tokenpanel-preview-glyph {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tokenpanel-preview-glyph--bar {
  width: 72px;
  justify-content: flex-start;
}

.tokenpanel-preview-glyph--bar > span {
  max-width: 70px;
  height: 6px;
  border-radius: 1px;
  background: var(--tokentweak-color-accent);
}

.tokenpanel-preview-glyph--radius > span {
  width: 22px;
  height: 22px;
  border: 2px solid var(--tokentweak-color-accent);
}

.tokenpanel-preview-glyph-track {
  position: absolute;
  right: 3px;
  left: 3px;
  height: 1px;
  background: var(--tokentweak-color-muted);
}

.tokenpanel-preview-glyph-dot {
  position: absolute;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tokentweak-color-accent);
  transition-property: transform;
  transition-timing-function: ease;
}

.tokenpanel-preview-glyph--duration:hover .tokenpanel-preview-glyph-dot {
  transform: translate(38px);
}

@container tokenpanel (width <= 620px) {
  .tokenpanel-row--specimen-size .tokenpanel-row-head, .tokenpanel-row--specimen-line-height .tokenpanel-row-head, .tokenpanel-row.tokenpanel-row--specimen-size {
    grid-template-columns: 13px minmax(110px, 145px) minmax(0, 1fr) auto repeat(3, auto);
    column-gap: var(--tokentweak-pad-sm);
  }

  .tokenpanel-row--specimen-size .tokenpanel-row-number-input, .tokenpanel-row--specimen-line-height .tokenpanel-row-number-input {
    width: 80px;
  }

  .tokenpanel-row--specimen-size .tokenpanel-row-unit, .tokenpanel-row--specimen-line-height .tokenpanel-row-unit {
    width: 32px;
  }
}

@container tokenpanel-specimen-card (width <= 359px) {
  .tokenpanel-row--specimen-size .tokenpanel-row-head, .tokenpanel-row--specimen-line-height .tokenpanel-row-head, .tokenpanel-row.tokenpanel-row--specimen-size {
    grid-template-columns: 13px minmax(0, 1fr) repeat(3, auto);
    box-sizing: border-box;
    padding-inline-end: 4px;
  }

  .tokenpanel-row--specimen-size .tokenpanel-bulk-row-checkbox, .tokenpanel-row--specimen-line-height .tokenpanel-bulk-row-checkbox {
    grid-column: 1;
    grid-row: 1;
  }

  .tokenpanel-row--specimen-size .tokenpanel-specimen-meta, .tokenpanel-row--specimen-line-height .tokenpanel-specimen-meta {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .tokenpanel-row--specimen-size .tokenpanel-specimen-size-text, .tokenpanel-row--specimen-line-height .tokenpanel-specimen-line-height-text {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .tokenpanel-row--specimen-size .tokenpanel-row-input-group, .tokenpanel-row--specimen-line-height .tokenpanel-row-input-group {
    grid-column: 2;
    grid-row: 3;
  }

  .tokenpanel-row--specimen-size .tokenpanel-changed-revert, .tokenpanel-row--specimen-line-height .tokenpanel-changed-revert {
    grid-column: 3;
    grid-row: 3;
  }

  .tokenpanel-row--specimen-size .tokenpanel-chain-button, .tokenpanel-row--specimen-line-height .tokenpanel-chain-button {
    grid-column: 4;
    grid-row: 3;
  }

  .tokenpanel-row--specimen-size .tokenpanel-highlight-toggle, .tokenpanel-row--specimen-line-height .tokenpanel-highlight-toggle {
    grid-column: 5;
    grid-row: 3;
  }

  .tokenpanel-row--specimen-size :is(.tokenpanel-bulk-preview, .tokenpanel-changed-tail), .tokenpanel-row--specimen-line-height :is(.tokenpanel-bulk-preview, .tokenpanel-changed-tail) {
    grid-column: 2 / -1;
    grid-row: 4;
  }
}

.tokenpanel-element-inspect-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.tokenpanel-element-inspect-toggle:hover, .tokenpanel-element-inspect-toggle:focus-visible {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-element-inspect-toggle.is-active {
  color: var(--tokentweak-color-accent);
  background: rgb(from var(--tokentweak-color-accent) r g b / .12);
  border-radius: 3px;
}

.tokenpanel-element-inspect-toggle:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-element-inspect-toggle:after {
  content: "";
  position: absolute;
  inset: 0;
}

html.tokenpanel-element-inspect-inspecting, html.tokenpanel-element-inspect-inspecting * {
  cursor: crosshair !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.tokenpanel-element-inspect-box {
  background: rgb(from var(--tokentweak-color-accent-hover) r g b / .25);
  outline: 1px solid rgb(from var(--tokentweak-color-accent-hover) r g b / .9);
  outline-offset: -1px;
  box-shadow: inset 0 0 0 1px rgb(from var(--tokentweak-color-accent-hover) r g b / .9);
  pointer-events: none;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
}

.tokenpanel-element-inspect-box.is-pinned {
  background: none;
  outline-style: dashed;
  outline-color: var(--tokentweak-color-accent);
  box-shadow: inset 0 0 0 1px var(--tokentweak-color-accent);
}

.tokenpanel-element-inspect-label {
  align-items: baseline;
  gap: var(--tokentweak-pad-sm, 8px);
  max-width: 90vw;
  border-radius: 3px;
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono, monospace);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(from var(--tokentweak-color-bg) r g b / .4);
  pointer-events: none;
  box-sizing: border-box !important;
  display: inline-flex !important;
  margin: 0 !important;
  padding: 2px 6px !important;
}

.tokenpanel-element-inspect-label.is-pinned {
  background: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-bg);
}

.tokenpanel-element-inspect-label-name {
  overflow: hidden;
  color: var(--tokentweak-color-accent);
  font-weight: 600;
  text-overflow: ellipsis;
}

.tokenpanel-element-inspect-label.is-pinned .tokenpanel-element-inspect-label-name {
  color: var(--tokentweak-color-bg);
}

.tokenpanel-element-inspect-label-size {
  flex-shrink: 0;
  color: var(--tokentweak-color-muted);
}

.tokenpanel-element-inspect-label.is-pinned .tokenpanel-element-inspect-label-size {
  color: var(--tokentweak-color-bg);
}

.tokenpanel-element-inspect-view {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-md);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-element-inspect-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 24px;
  margin-block: calc(var(--tokentweak-pad-sm) * -1);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

.tokenpanel-element-inspect-pinned-label {
  color: var(--tokentweak-color-muted);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tokenpanel-element-inspect-crumb, .tokenpanel-element-inspect-clear, .tokenpanel-element-inspect-jump {
  position: relative;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
}

.tokenpanel-element-inspect-crumb:hover, .tokenpanel-element-inspect-crumb:focus-visible, .tokenpanel-element-inspect-clear:hover, .tokenpanel-element-inspect-clear:focus-visible, .tokenpanel-element-inspect-jump:hover, .tokenpanel-element-inspect-jump:focus-visible {
  border-color: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-element-inspect-crumb.is-pinned {
  border-color: var(--tokentweak-color-accent);
  background: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-element-inspect-clear {
  margin-left: auto;
  border-color: #0000;
  color: var(--tokentweak-color-accent);
}

.tokenpanel-element-inspect-section {
  position: relative;
  flex-shrink: 0;
  padding: var(--tokentweak-gap-sm) var(--tokentweak-pad-md) var(--tokentweak-pad-md);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-element-inspect-section-heading {
  position: absolute;
  top: -10px;
  left: 12px;
  padding-inline: var(--tokentweak-pad-sm);
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.tokenpanel-element-inspect-rows {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-pad-md);
}

.tokenpanel-element-inspect-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(160px, 1.2fr) minmax(130px, 1fr);
  align-items: center;
  gap: var(--tokentweak-pad-md);
  min-width: 0;
}

.tokenpanel-element-inspect-row.is-unconfirmed {
  opacity: .45;
}

.tokenpanel-element-inspect-token-label, .tokenpanel-element-inspect-property {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--tokentweak-font-mono);
  line-height: 1.3;
}

.tokenpanel-element-inspect-token-var {
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-element-inspect-token-id, .tokenpanel-element-inspect-expression {
  overflow: hidden;
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-element-inspect-property-name {
  color: var(--tokentweak-color-accent-hover);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

.tokenpanel-element-inspect-not-confirmed {
  color: var(--tokentweak-color-warning);
  font-size: 10px;
}

.tokenpanel-element-inspect-edit-value, .tokenpanel-element-inspect-color-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.tokenpanel-element-inspect-number-input, .tokenpanel-element-inspect-text-input, .tokenpanel-element-inspect-select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 2px 6px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

.tokenpanel-element-inspect-number-input {
  max-width: 80px;
  text-align: right;
}

.tokenpanel-element-inspect-unit {
  flex-shrink: 0;
  width: 28px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

.tokenpanel-element-inspect-number-input:disabled, .tokenpanel-element-inspect-text-input:disabled, .tokenpanel-element-inspect-select:disabled {
  opacity: .6;
}

.tokenpanel-element-inspect-number-input:focus-visible, .tokenpanel-element-inspect-text-input:focus-visible, .tokenpanel-element-inspect-select:focus-visible, .tokenpanel-element-inspect-crumb:focus-visible, .tokenpanel-element-inspect-clear:focus-visible, .tokenpanel-element-inspect-jump:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-element-inspect-swatch {
  width: 28px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
}

.tokenpanel-element-inspect-resolved-value {
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-element-inspect-jump {
  flex-shrink: 0;
  border-color: #0000;
  color: var(--tokentweak-color-accent);
  font-size: 10px;
}

.tokenpanel-element-inspect-empty, .tokenpanel-element-inspect-warning {
  color: var(--tokentweak-color-muted);
  font-size: 11px;
}

.tokenpanel-element-inspect-empty--start {
  padding: var(--tokentweak-gap-lg) var(--tokentweak-pad-md);
  text-align: center;
}

.tokenpanel-element-inspect-kbd {
  padding-inline: 4px;
  border: 1px solid var(--tokentweak-color-border);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
}

.tokenpanel-element-inspect-warning {
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
  border-left: 2px solid var(--tokentweak-color-warning);
}

.tokenpanel-element-inspect-value-empty {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
}

@container tokenpanel (width <= 620px) {
  .tokenpanel-element-inspect-row {
    grid-template-columns: minmax(110px, 1fr) minmax(120px, 1fr);
  }

  .tokenpanel-element-inspect-row > :last-child {
    grid-column: 2;
  }
}

:where(.tokenpanel-shell, .tokenpanel-mini-pill, [data-design-token-panel-modal], .tokenpanel-color-picker, .tokenpanel-highlight-settings-popover, .tokenpanel-chain-popover, .tokenpanel-tooltip, .tokenpanel-elpath-label, .tokenpanel-elpath-toast, .tokenpanel-element-inspect-box, .tokenpanel-element-inspect-label, .tokenpanel-element-inspect-view) {
  box-sizing: border-box;
}

:where(.tokenpanel-shell, .tokenpanel-mini-pill, [data-design-token-panel-modal], .tokenpanel-color-picker, .tokenpanel-highlight-settings-popover, .tokenpanel-chain-popover, .tokenpanel-element-inspect-view) :where(*) {
  box-sizing: border-box;
}

.tokenpanel-shell {
  container: tokenpanel / inline-size;
  z-index: var(--tokentweak-z-shell);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  border-radius: 0;
  box-shadow: 0 4px 24px #00000040;
  transition: opacity .2s;
}

.tokenpanel-shell.is-ghosted {
  opacity: .35;
}

.tokenpanel-shell.is-docked-right {
  border-width: 0 0 0 1px;
  box-shadow: none;
}

.tokenpanel-shell.is-docked-bottom {
  border-width: 1px 0 0;
  box-shadow: none;
}

.tokenpanel-shell.is-docked-right .tokenpanel-header, .tokenpanel-shell.is-docked-bottom .tokenpanel-header {
  cursor: default !important;
}

.tokenpanel-dock-resize-handle {
  position: absolute;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-dock-resize-handle.is-right {
  inset-block: 0;
  left: -3px;
  width: 6px;
  cursor: ew-resize;
}

.tokenpanel-dock-resize-handle.is-bottom {
  inset-inline: 0;
  top: -3px;
  height: 6px;
  cursor: ns-resize;
}

.tokenpanel-dock-modes {
  display: flex;
  gap: 2px;
  padding: 1px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  flex-shrink: 0;
}

.tokenpanel-dock-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 3px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
}

.tokenpanel-dock-mode:hover, .tokenpanel-dock-mode:focus-visible {
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-bg);
}

.tokenpanel-dock-mode.is-active {
  color: var(--tokentweak-color-accent);
  background: var(--tokentweak-color-bg);
}

:where(.tokenpanel-shell) .tokenpanel-dock-mode svg {
  fill: none !important;
}

.tokenpanel-dock-modes.is-compact {
  flex-direction: column;
  border: 0;
  padding: 0;
}

.tokenpanel-dock-modes.is-compact .tokenpanel-dock-mode {
  justify-content: flex-start;
  gap: var(--tokentweak-pad-sm);
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
}

.tokenpanel-mini-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--tokentweak-z-shell, 2147480000);
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--tokentweak-color-border, #6d6d6d);
  border-radius: 999px;
  background: var(--tokentweak-color-surface, #1c1c1c);
  color: var(--tokentweak-color-fg, #b8b8b8);
  font-size: 12px;
  line-height: 16px;
  box-shadow: 0 4px 24px #0000004d;
}

.tokenpanel-mini-pill-brand {
  color: var(--tokentweak-color-fg, #b8b8b8);
  font-weight: 600;
}

.tokenpanel-mini-pill-changed-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--tokentweak-color-accent, #d69a66);
  color: var(--tokentweak-color-bg, #181818);
  font-size: 10px;
  font-weight: 700;
}

.tokenpanel-mini-pill-changed-count:empty, .tokenpanel-mini-pill-undo:empty {
  display: none;
}

.tokenpanel-mini-pill-changes {
  color: var(--tokentweak-color-muted, #888);
}

.tokenpanel-mini-pill-divider {
  width: 1px;
  height: 16px;
  flex-shrink: 0;
  background: var(--tokentweak-color-border, #6d6d6d);
  opacity: .55;
}

.tokenpanel-mini-pill-undo {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.tokenpanel-mini-pill-apply, .tokenpanel-mini-pill-expand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--tokentweak-color-accent, #d69a66);
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s, background-color .15s;
}

.tokenpanel-mini-pill-apply {
  padding-inline: 4px;
  font: inherit;
  font-weight: 600;
}

.tokenpanel-mini-pill-expand {
  padding: 4px;
  color: var(--tokentweak-color-muted, #888);
}

.tokenpanel-mini-pill-apply:hover, .tokenpanel-mini-pill-apply:focus-visible, .tokenpanel-mini-pill-expand:hover, .tokenpanel-mini-pill-expand:focus-visible {
  background: var(--tokentweak-color-bg, #181818);
  color: var(--tokentweak-color-fg, #b8b8b8);
}

.tokenpanel-mini-pill-apply:focus-visible, .tokenpanel-mini-pill-expand:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent, #d69a66);
  outline-offset: 2px;
}

.tokenpanel-mini-pill-apply[aria-disabled="true"] {
  background: none;
  color: var(--tokentweak-color-muted, #888);
  cursor: not-allowed;
  opacity: .6;
}

.tokenpanel-ghost-idle-toggle {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  flex-shrink: 0;
  color: var(--tokentweak-color-fg);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-ghost-idle-toggle.is-compact {
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
}

.tokenpanel-ghost-idle-checkbox {
  accent-color: var(--tokentweak-color-accent);
  cursor: pointer;
}

.tokenpanel-resize-handle {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  -webkit-user-select: none;
  user-select: none;
  background-image: repeating-linear-gradient(-45deg,transparent 0,transparent 2px,var(--tokentweak-color-border) 2px,var(--tokentweak-color-border) 3px);
  -webkit-mask-image: linear-gradient(135deg, #0000 50%, #000 50%);
  mask-image: linear-gradient(135deg, #0000 50%, #000 50%);
  border-bottom-right-radius: 0;
  transition: opacity .15s;
  opacity: .7;
}

.tokenpanel-resize-handle:hover, .tokenpanel-resize-handle:focus-visible {
  opacity: 1;
}

.tokenpanel-header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--tokentweak-pad-md);
  padding-inline: var(--tokentweak-pad-xl);
  padding-block: var(--tokentweak-gap-xs);
  border-bottom: 1px solid var(--tokentweak-color-border);
  flex-shrink: 0;
  position: relative;
}

.tokenpanel-title {
  color: var(--tokentweak-color-fg);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.tokenpanel-action-link {
  color: var(--tokentweak-color-accent);
  font-size: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tokenpanel-action-link:hover {
  color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-action-link[aria-disabled="true"] {
  color: var(--tokentweak-color-muted);
  cursor: not-allowed;
  opacity: .6;
}

.tokenpanel-actions-menu-btn {
  display: none;
  color: var(--tokentweak-color-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}

.tokenpanel-header > .tokenpanel-action-link, .tokenpanel-actions-popover .tokenpanel-action-link, .tokenpanel-actions-menu-btn, .tokenpanel-header > .tokenpanel-tweaker-diff-button, .tokenpanel-close-btn, .tokenpanel-gear-btn, .tokenpanel-elpath-toggle, .tokenpanel-tweaker-toggle {
  box-sizing: border-box;
  min-width: 24px;
  min-height: 24px;
}

.tokenpanel-actions-menu-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-actions-menu-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-actions-popover {
  box-sizing: border-box;
  max-width: calc(100% - 48px);
  position: absolute;
  top: calc(100% + 4px);
  left: var(--tokentweak-pad-xl);
  z-index: var(--tokentweak-z-color-picker);
  display: flex;
  flex-direction: column;
  min-width: 180px;
  background: var(--tokentweak-color-surface);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px #0006;
  padding: 4px;
}

.tokenpanel-actions-popover .tokenpanel-action-link {
  white-space: normal;
  text-align: left;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
}

.tokenpanel-actions-popover .tokenpanel-action-link:hover {
  background: rgb(from var(--tokentweak-color-fg) r g b / .06);
}

.tokenpanel-actions-popover .tokenpanel-action-link[aria-disabled="true"] {
  background: none;
}

.tokenpanel-spacer {
  flex: 1;
}

.tokenpanel-close-btn {
  color: var(--tokentweak-color-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tokenpanel-close-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-search-control {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  width: 260px;
  min-width: 120px;
  padding: var(--tokentweak-pad-2xs) var(--tokentweak-pad-sm);
  color: var(--tokentweak-color-muted);
  background: var(--tokentweak-color-bg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  flex-shrink: 1;
}

.tokenpanel-search-glyph {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.tokenpanel-search-glyph svg, .tokenpanel-search-compact-btn svg {
  stroke: currentColor;
  fill: none !important;
}

.tokenpanel-search-input {
  min-height: 24px;
  flex: auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--tokentweak-color-fg);
  font: inherit;
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  background: none;
  border: 0;
  outline: none;
}

.tokenpanel-search-input::placeholder {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-search-key {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  line-height: 1;
}

.tokenpanel-search-compact-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0;
  color: var(--tokentweak-color-muted);
  background: none;
  border: 0;
  cursor: pointer;
}

.tokenpanel-search-compact-btn:hover, .tokenpanel-search-compact-btn:focus-visible {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-search-compact-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-history-controls {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-2xs);
  flex-shrink: 0;
}

.tokenpanel-history-button, .tokenpanel-history-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-tokentweak);
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s, background-color .15s, opacity .15s;
}

.tokenpanel-history-button:hover, .tokenpanel-history-button:focus-visible, .tokenpanel-history-toggle:hover, .tokenpanel-history-toggle:focus-visible, .tokenpanel-history-toggle.is-active {
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-bg);
}

.tokenpanel-history-button:focus-visible, .tokenpanel-history-toggle:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-history-button.is-disabled, .tokenpanel-history-button[aria-disabled="true"] {
  opacity: .3;
  cursor: default;
}

.tokenpanel-history-count {
  min-width: 30px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-history-icon {
  pointer-events: none;
  fill: none !important;
  stroke: currentColor !important;
}

.tokenpanel-shell.is-history-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.tokenpanel-shell.is-history-open > .tokenpanel-header, .tokenpanel-shell.is-history-open > .tokenpanel-tabbar, .tokenpanel-shell.is-history-open > .tokenpanel-footer {
  grid-column: 1 / -1;
}

.tokenpanel-shell.is-history-open > .tokenpanel-header {
  grid-row: 1;
}

.tokenpanel-shell.is-history-open > .tokenpanel-tabbar {
  grid-row: 2;
}

.tokenpanel-shell.is-history-open > .tokenpanel-body {
  grid-column: 1;
  grid-row: 3;
}

.tokenpanel-shell.is-history-open > .tokenpanel-history-rail {
  grid-column: 2;
  grid-row: 3;
}

.tokenpanel-history-rail {
  display: flex;
  flex-direction: column;
  width: 270px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--tokentweak-color-border);
  background: var(--tokentweak-color-bg);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-history-rail-heading, .tokenpanel-history-heading {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  min-height: 34px;
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
  border-bottom: 1px solid var(--tokentweak-color-border);
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tokenpanel-history-heading {
  justify-content: space-between;
}

.tokenpanel-history-heading-count {
  letter-spacing: normal;
  text-transform: none;
}

.tokenpanel-snapshots {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-pad-xs);
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-snapshot-row, .tokenpanel-snapshot-compare {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  min-width: 0;
  font-size: 12px;
}

.tokenpanel-snapshot-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-fg);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.tokenpanel-snapshot-tag:hover, .tokenpanel-snapshot-tag:focus-visible, .tokenpanel-snapshot-tag.is-selected {
  background: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-bg);
}

.tokenpanel-snapshot-tag[aria-disabled="true"] {
  opacity: .5;
  cursor: default;
}

.tokenpanel-snapshot-tag:focus-visible, .tokenpanel-snapshot-save:focus-visible, .tokenpanel-snapshot-segmented [role="button"]:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-snapshot-meta {
  min-width: 0;
  overflow: hidden;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.tokenpanel-snapshot-save {
  padding: 3px 6px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background: none;
  color: var(--tokentweak-color-accent);
  cursor: pointer;
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tokenpanel-snapshot-save:hover {
  color: var(--tokentweak-color-fg);
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-snapshot-compare {
  padding-top: var(--tokentweak-pad-2xs);
}

.tokenpanel-snapshot-compare-label {
  min-width: 0;
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  flex: 1;
}

.tokenpanel-snapshot-segmented {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  flex-shrink: 0;
}

.tokenpanel-snapshot-segmented [role="button"] {
  min-width: 25px;
  padding: 3px 7px;
  border: 0;
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  font-size: 11px;
}

.tokenpanel-snapshot-segmented [role="button"] + [role="button"] {
  border-left: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-snapshot-segmented [role="button"]:hover, .tokenpanel-snapshot-segmented [role="button"].is-selected {
  background: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-bg);
}

.tokenpanel-snapshot-segmented [role="button"][aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

.tokenpanel-snapshot-flip-hint {
  min-width: 12px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  text-align: center;
}

.tokenpanel-history-notice {
  display: block;
  overflow: hidden;
  max-height: 42px;
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-md);
  border-bottom: 1px solid var(--tokentweak-color-border);
  color: var(--tokentweak-color-warning);
  font-size: 10px;
  line-height: 14px;
  text-overflow: ellipsis;
}

.tokenpanel-history-list {
  min-height: 0;
  overflow: auto;
  padding-block: var(--tokentweak-pad-2xs);
  flex: 1;
}

.tokenpanel-history-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 2px;
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-md);
  border: 0;
  border-left: 2px solid #0000;
  border-radius: 0;
  background: none;
  color: var(--tokentweak-color-fg);
  cursor: pointer;
  text-align: left;
}

.tokenpanel-history-entry:hover, .tokenpanel-history-entry:focus-visible {
  background: var(--tokentweak-color-surface);
}

.tokenpanel-history-entry:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: -2px;
}

.tokenpanel-history-entry.is-current {
  border-left-color: var(--tokentweak-color-accent);
  background: var(--tokentweak-color-surface);
}

.tokenpanel-history-entry.is-future {
  opacity: .4;
}

.tokenpanel-history-entry-address {
  max-width: 100%;
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-history-entry-reason, .tokenpanel-history-entry-detail {
  max-width: 100%;
  overflow: hidden;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-history-entry-reason {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-history-start .tokenpanel-history-entry-detail {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-history-empty {
  padding: var(--tokentweak-pad-md);
  color: var(--tokentweak-color-muted);
  font-size: 11px;
}

@container tokenpanel (width <= 639px) {
  .tokenpanel-shell.is-history-open {
    display: flex;
    flex-direction: column;
  }

  .tokenpanel-shell.is-history-open > .tokenpanel-history-rail {
    display: none;
  }
}

.tokenpanel-tabbar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--tokentweak-color-border);
  padding-inline: var(--tokentweak-pad-xl);
  flex-shrink: 0;
  gap: var(--tokentweak-pad-md);
  position: relative;
}

.tokenpanel-search-matchbar {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  min-height: 28px;
  padding-inline: var(--tokentweak-pad-xl);
  color: var(--tokentweak-color-muted);
  font-size: 12px;
  border-bottom: 1px solid var(--tokentweak-color-border);
  flex-shrink: 0;
}

.tokenpanel-search-match-count {
  color: var(--tokentweak-color-fg);
  font-weight: 700;
}

.tokenpanel-search-hint {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-search-chip {
  padding: 0;
  color: var(--tokentweak-color-muted);
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.tokenpanel-search-chip:hover, .tokenpanel-search-chip:focus-visible {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-search-chip:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-tabbar-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tokenpanel-tabbar-tabs::-webkit-scrollbar {
  display: none;
}

.tokenpanel-tabbar-tabs.has-overflow {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), #0000);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), #0000);
}

.tokenpanel-tab-overflow {
  position: relative;
  flex-shrink: 0;
}

.tokenpanel-tab-overflow-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-inline-start: 1px solid var(--tokentweak-color-border);
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
}

.tokenpanel-tab-overflow-trigger:hover, .tokenpanel-tab-overflow-trigger:focus-visible {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-tab-overflow-trigger:focus-visible, .tokenpanel-tab-overflow-popover:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-tab-overflow-trigger svg {
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none !important;
}

.tokenpanel-tab-overflow-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: var(--tokentweak-z-color-picker);
  display: flex;
  flex-direction: column;
  min-width: 160px;
  max-width: min(240px, 100cqw - 16px);
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  background: var(--tokentweak-color-surface);
  box-shadow: 0 8px 24px #0006;
}

.tokenpanel-tab-overflow-option {
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.tokenpanel-tab-overflow-option.is-focused {
  background: rgb(from var(--tokentweak-color-fg) r g b / .06);
  color: var(--tokentweak-color-fg);
}

.tokenpanel-tab-overflow-option[aria-selected="true"] {
  color: var(--tokentweak-color-accent);
  font-weight: 600;
}

.tokenpanel-tab-button {
  border: none;
  background: none;
  padding-inline: var(--tokentweak-pad-md);
  padding-block: var(--tokentweak-gap-xs);
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid #0000;
  color: var(--tokentweak-color-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s, border-color .15s;
}

.tokenpanel-tab-button:hover, .tokenpanel-tab-button:focus-visible {
  color: var(--tokentweak-color-fg);
  text-decoration: underline;
}

.tokenpanel-tab-button.is-active {
  color: var(--tokentweak-color-fg);
  border-bottom-color: var(--tokentweak-color-accent);
  text-decoration: none;
}

.tokenpanel-density {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  flex-shrink: 0;
}

.tokenpanel-density-label {
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.tokenpanel-density-slider {
  width: 80px;
  accent-color: var(--tokentweak-color-accent);
  cursor: pointer;
}

.tokenpanel-density.is-compact, .tokenpanel-actions-popover .tokenpanel-changed-only-toggle {
  width: 100%;
  box-sizing: border-box;
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-md);
}

.tokenpanel-density.is-compact .tokenpanel-density-slider {
  min-width: 0;
  flex: 1;
}

@container tokenpanel (width <= 1135px) {
  .tokenpanel-header > .tokenpanel-action-link, .tokenpanel-header > .tokenpanel-tweaker-diff-button, .tokenpanel-header > .tokenpanel-history-controls, .tokenpanel-header > .tokenpanel-apply-sync, .tokenpanel-header > .tokenpanel-elpath-toggle, .tokenpanel-header > .tokenpanel-element-inspect-toggle, .tokenpanel-header > .tokenpanel-tweaker-toggle {
    display: none;
  }

  .tokenpanel-header > .tokenpanel-actions-menu-btn {
    display: inline-flex;
  }
}

@container tokenpanel (width <= 479px) {
  .tokenpanel-header {
    gap: var(--tokentweak-pad-sm);
    padding-inline: 16px;
  }

  .tokenpanel-actions-popover {
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .tokenpanel-tabbar > .tokenpanel-density, .tokenpanel-tabbar > .tokenpanel-ghost-idle-toggle, .tokenpanel-tabbar > .tokenpanel-changed-only-toggle {
    display: none;
  }

  .tokenpanel-search-control {
    width: 24px;
    min-width: 24px;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border-width: 0;
  }

  .tokenpanel-search-glyph, .tokenpanel-search-input, .tokenpanel-search-key {
    display: none;
  }

  .tokenpanel-search-compact-btn {
    display: inline-flex;
  }
}

@container tokenpanel (width <= 379px) {
  .tokenpanel-density-label {
    display: none;
  }

  .tokenpanel-density.is-compact .tokenpanel-density-label {
    display: inline;
  }
}

@container tokenpanel (width <= 299px) {
  .tokenpanel-density-slider {
    width: 56px;
  }
}

.tokenpanel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-inline: var(--tokentweak-pad-xl);
  padding-block: var(--tokentweak-gap-sm);
}

.tokenpanel-footer {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 34px;
  padding-inline: var(--tokentweak-pad-xl);
  padding-block: var(--tokentweak-pad-xs);
  border-top: 1px solid var(--tokentweak-color-border);
  flex-shrink: 0;
}

.tokenpanel-command-palette-backdrop {
  position: absolute;
  inset: 0;
  z-index: var(--tokentweak-z-command-palette);
  background: #00000073;
}

.tokenpanel-command-palette {
  position: absolute;
  top: 60px;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(520px, 100% - 32px);
  max-height: min(460px, 100% - 80px);
  overflow: hidden;
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-surface);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  box-shadow: 0 16px 48px #00000080;
  transform: translate(-50%);
}

.tokenpanel-command-palette-input {
  padding: var(--tokentweak-pad-md) var(--tokentweak-pad-lg);
  color: var(--tokentweak-color-fg);
  font: inherit;
  font-family: var(--tokentweak-font-mono);
  font-size: 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--tokentweak-color-border);
  outline: none;
}

.tokenpanel-command-palette-input::placeholder {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-command-palette-list {
  min-height: 0;
  padding-block: var(--tokentweak-pad-xs);
  overflow-y: auto;
}

.tokenpanel-command-palette-group {
  padding: var(--tokentweak-pad-sm) var(--tokentweak-pad-lg) var(--tokentweak-pad-2xs);
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tokenpanel-command-palette-item {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-lg);
  cursor: pointer;
}

.tokenpanel-command-palette-item:hover, .tokenpanel-command-palette-item.is-selected {
  color: var(--tokentweak-color-accent);
  background: rgb(from var(--tokentweak-color-fg) r g b / .06);
}

.tokenpanel-command-palette-item.is-disabled {
  background: none;
  color: var(--tokentweak-color-muted);
  cursor: not-allowed;
  opacity: .6;
}

.tokenpanel-command-palette-item-label {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-command-palette-item-detail {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-command-palette-item.is-selected .tokenpanel-command-palette-item-detail {
  color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-command-palette-item.is-disabled .tokenpanel-command-palette-item-detail {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-command-palette-empty {
  padding: var(--tokentweak-pad-lg);
  color: var(--tokentweak-color-muted);
  font-size: 13px;
}

.tokenpanel-command-palette-footer {
  display: flex;
  gap: var(--tokentweak-pad-md);
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-lg);
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  border-top: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-command-palette-footer-hint {
  margin-left: auto;
  font-family: var(--tokentweak-font-mono);
}

.tokenpanel-notes-heading {
  margin: 0 0 var(--tokentweak-gap-2xs) 0;
  color: var(--tokentweak-color-fg);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
}

.tokenpanel-notes-body {
  color: var(--tokentweak-color-fg);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-2xs);
}

:where(.tokenpanel-shell) .tokenpanel-notes-body h1, :where(.tokenpanel-shell) .tokenpanel-notes-body h2, :where(.tokenpanel-shell) .tokenpanel-notes-body h3, :where(.tokenpanel-shell) .tokenpanel-notes-body h4, :where(.tokenpanel-shell) .tokenpanel-notes-body h5, :where(.tokenpanel-shell) .tokenpanel-notes-body h6 {
  display: block !important;
  margin: var(--tokentweak-gap-2xs) 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--tokentweak-color-fg) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body p {
  display: block !important;
  margin: 0 0 var(--tokentweak-gap-2xs) 0 !important;
  padding: 0 !important;
  color: var(--tokentweak-color-fg) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body ul, :where(.tokenpanel-shell) .tokenpanel-notes-body ol {
  display: block !important;
  margin: 0 0 var(--tokentweak-gap-2xs) 0 !important;
  padding: 0 0 0 20px !important;
  color: var(--tokentweak-color-fg) !important;
  list-style: revert !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body li {
  display: list-item !important;
  margin: 0 !important;
  padding: 0 !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body a {
  color: var(--tokentweak-color-accent) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  background: none !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body a:hover, :where(.tokenpanel-shell) .tokenpanel-notes-body a:focus-visible {
  color: var(--tokentweak-color-accent-hover) !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body table {
  display: table !important;
  width: 100% !important;
  margin: 0 0 var(--tokentweak-gap-2xs) 0 !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body thead {
  display: table-header-group !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body tbody {
  display: table-row-group !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body tr {
  display: table-row !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body th, :where(.tokenpanel-shell) .tokenpanel-notes-body td {
  display: table-cell !important;
  border: 1px solid var(--tokentweak-color-border) !important;
  padding: var(--tokentweak-pad-2xs) var(--tokentweak-pad-xs) !important;
  text-align: left !important;
  color: var(--tokentweak-color-fg) !important;
  font-weight: 400 !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body th {
  font-weight: 600 !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body blockquote {
  display: block !important;
  margin: 0 0 var(--tokentweak-gap-2xs) 0 !important;
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-md) !important;
  border: 0 !important;
  border-left: 3px solid var(--tokentweak-color-border) !important;
  color: var(--tokentweak-color-muted) !important;
  font-style: normal !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body pre, :where(.tokenpanel-shell) .tokenpanel-notes-body code {
  font-family: var(--tokentweak-font-mono) !important;
  font-size: 12px !important;
  color: var(--tokentweak-color-code-fg) !important;
  background: var(--tokentweak-color-code-bg) !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body code {
  display: inline !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body pre {
  display: block !important;
  margin: 0 0 var(--tokentweak-gap-2xs) 0 !important;
  padding: var(--tokentweak-pad-sm) !important;
  border-radius: 6px !important;
  overflow-x: auto !important;
  white-space: pre !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body pre code {
  padding: 0 !important;
  background: none !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body hr {
  display: block !important;
  margin: var(--tokentweak-gap-2xs) 0 !important;
  height: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--tokentweak-color-border) !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body strong, :where(.tokenpanel-shell) .tokenpanel-notes-body b {
  font-weight: 700 !important;
  font-style: normal !important;
}

:where(.tokenpanel-shell) .tokenpanel-notes-body em, :where(.tokenpanel-shell) .tokenpanel-notes-body i {
  font-style: italic !important;
  font-weight: inherit !important;
}

.tokenpanel-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 192px;
  padding-block: var(--tokentweak-gap-md);
  padding-inline: var(--tokentweak-pad-xl);
}

.tokenpanel-empty-state-text {
  color: var(--tokentweak-color-muted, #a8a8a8);
  font-size: 13px;
  line-height: 1.5;
  max-width: 512px;
  margin: 0;
}

.tokenpanel-empty-state-text code {
  font-family: var(--tokentweak-font-mono, Menlo, Monaco, Consolas, monospace);
  font-size: 13px;
  color: var(--tokentweak-color-fg);
}

.tokenpanel-empty-state-link {
  color: var(--tokentweak-color-accent);
  text-decoration: underline;
  transition: color .15s;
}

.tokenpanel-empty-state-link:hover, .tokenpanel-empty-state-link:focus-visible {
  color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-tab-content {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-sm);
}

.tokenpanel-tab-actions {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-md);
}

.tokenpanel-bulk-tier-controls {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  margin-left: var(--tokentweak-pad-xs);
}

.tokenpanel-bulk-checkbox {
  flex: none;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--tokentweak-color-accent);
  cursor: pointer;
}

.tokenpanel-bulk-checkbox:disabled {
  cursor: default;
  opacity: .45;
}

.tokenpanel-bulk-tier-quick {
  display: none;
  align-items: center;
  gap: 2px;
}

.tokenpanel-tab-section:hover .tokenpanel-bulk-tier-quick, .tokenpanel-tab-section:focus-within .tokenpanel-bulk-tier-quick {
  display: inline-flex;
}

.tokenpanel-bulk-quick-btn {
  min-width: 28px;
  padding-inline: var(--tokentweak-pad-xs);
  padding-block: 1px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  line-height: 16px;
  cursor: pointer;
  border-radius: 2px;
}

.tokenpanel-bulk-quick-btn:hover, .tokenpanel-bulk-quick-btn:focus-visible {
  color: var(--tokentweak-color-fg);
  background: var(--tokentweak-color-bg);
}

.tokenpanel-row--bulk-selected {
  background: rgb(from var(--tokentweak-color-accent) r g b / .08);
  border-radius: 4px;
}

.tokenpanel-bulk-preview {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  min-width: 0;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-bulk-preview-new {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-bulk-preview-arrow {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-bulk-action-bar {
  position: sticky;
  bottom: calc(-1 * var(--tokentweak-gap-sm));
  z-index: var(--tokentweak-z-color-picker);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--tokentweak-pad-sm);
  margin-inline: calc(-1 * var(--tokentweak-pad-xl));
  margin-top: var(--tokentweak-gap-2xs);
  padding-inline: var(--tokentweak-pad-xl);
  padding-block: var(--tokentweak-pad-sm);
  border-top: 1px solid var(--tokentweak-color-accent);
  background: var(--tokentweak-color-bg);
  box-shadow: 0 -8px 24px #0006;
  color: var(--tokentweak-color-fg);
  font-size: 12px;
}

.tokenpanel-bulk-selection-count {
  color: var(--tokentweak-color-fg);
  font-weight: 600;
  white-space: nowrap;
}

.tokenpanel-bulk-operation {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  color: var(--tokentweak-color-muted);
  white-space: nowrap;
}

.tokenpanel-bulk-number-input {
  width: 60px;
  min-width: 0;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  padding-inline: var(--tokentweak-pad-xs);
  padding-block: 2px;
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  text-align: right;
}

.tokenpanel-bulk-number-input.is-active {
  border-color: var(--tokentweak-color-accent);
}

.tokenpanel-bulk-number-input:focus, .tokenpanel-bulk-number-input:focus-visible {
  border-color: var(--tokentweak-color-accent);
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 1px;
}

.tokenpanel-bulk-ramp {
  flex: none;
  display: inline-block;
  height: 28px;
  overflow: visible;
  color: var(--tokentweak-color-muted);
}

.tokenpanel-bulk-ramp-old {
  opacity: .55;
  fill: var(--tokentweak-color-muted) !important;
}

.tokenpanel-bulk-ramp-new {
  opacity: .85;
  fill: var(--tokentweak-color-accent) !important;
}

.tokenpanel-bulk-clear {
  white-space: nowrap;
}

.tokenpanel-bulk-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--tokentweak-pad-md);
  padding-block: var(--tokentweak-pad-xs);
  border: 1px solid var(--tokentweak-color-accent);
  border-radius: var(--radius-tokentweak);
  background: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-bg);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.tokenpanel-bulk-apply:hover, .tokenpanel-bulk-apply:focus-visible {
  background: var(--tokentweak-color-accent-hover);
  border-color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-bulk-apply[aria-disabled="true"] {
  cursor: default;
  opacity: .6;
}

.tokenpanel-tab-section {
  container: tokenpanel-section / inline-size;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 8px;
  padding: 18px 14px 14px;
}

.tokenpanel-tab-section-heading {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--tokentweak-color-surface);
  padding: 0 8px;
  margin: 0;
  color: var(--tokentweak-color-fg);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  text-transform: none;
  letter-spacing: normal;
}

.tokenpanel-tab-section-heading--color {
  font-size: 14px;
}

.tokenpanel-tab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,var(--tokenpanel-grid-min, 288px)),1fr));
  gap: var(--tokentweak-gap-xs);
}

.tokenpanel-tab-grid--specimen {
  grid-template-columns: minmax(0, 1fr);
  padding-inline: 4px;
}

.tokenpanel-color-preset-select {
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  padding-inline: var(--tokentweak-pad-sm);
  padding-block: 2px;
  font-size: 12px;
  border-radius: var(--radius-tokentweak);
  max-width: 224px;
  cursor: pointer;
  transition: border-color .15s;
}

.tokenpanel-color-preset-select:hover {
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-color-palette-grid, .tokenpanel-color-palette-grid--secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: var(--tokentweak-pad-sm);
}

.tokenpanel-color-base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,var(--tokenpanel-grid-min, 176px)),1fr));
  gap: 6px;
}

.tokenpanel-color-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.tokenpanel-color-swatch-button {
  display: block;
  border: 1px solid var(--tokentweak-color-border);
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-tokentweak);
  background: none;
  padding: 0;
  transition: border-color .15s;
}

.tokenpanel-color-swatch-button:hover {
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-color-swatch-button:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-field {
  display: inline-flex;
}

.tokenpanel-color-field-swatch {
  display: block;
  width: 44px;
  height: 28px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  cursor: pointer;
  padding: 0;
  transition: border-color .15s;
}

.tokenpanel-color-field-swatch:hover {
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-color-field-swatch:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-color-field-swatch[aria-disabled="true"] {
  cursor: default;
  opacity: .6;
}

.tokenpanel-color-swatch-label-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.tokenpanel-color-swatch-label {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  -webkit-user-select: none;
  user-select: none;
  font-size: 11px;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-tooltip {
  position: fixed;
  z-index: var(--tokentweak-z-tooltip);
  pointer-events: none;
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  line-height: 1.3;
  width: max-content;
  max-width: calc(100vw - 12px);
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 12px #00000080;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 90ms, transform 90ms;
}

.tokenpanel-tooltip[data-show="true"] {
  opacity: 1;
  transform: translateY(0);
}

.tokenpanel-tooltip--help {
  white-space: normal;
  max-width: min(320px, 100vw - 12px);
}

.tokenpanel-help-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--tokentweak-color-border);
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color .15s, color .15s, border-color .15s;
}

.tokenpanel-help-icon:hover, .tokenpanel-help-icon.is-pinned {
  color: var(--tokentweak-color-fg);
  border-color: var(--tokentweak-color-fg);
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .1);
}

.tokenpanel-help-icon:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-help-icon:after {
  content: "";
  position: absolute;
  inset: -5px;
}

.tokenpanel-popover {
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  padding: 12px;
  border-radius: var(--radius-tokentweak);
  box-shadow: 0 4px 12px #0000004d;
}

.tokenpanel-palette-selector {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tokenpanel-palette-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  padding-inline: 6px;
  padding-block: 4px;
  font-size: 12px;
  border-radius: var(--radius-tokentweak);
  cursor: pointer;
  transition: border-color .15s;
}

.tokenpanel-palette-trigger:hover {
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-palette-trigger:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-palette-trigger-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-palette-trigger-color {
  flex-shrink: 0;
  border: 1px solid var(--tokentweak-color-border);
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.tokenpanel-palette-trigger-value {
  flex-shrink: 0;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  width: 2.5em;
}

.tokenpanel-palette-trigger-icon {
  color: var(--tokentweak-color-muted);
  flex-shrink: 0;
}

.tokenpanel-palette-options {
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  padding: 10px;
  border-radius: var(--radius-tokentweak);
  box-shadow: 0 4px 12px #0000004d;
}

.tokenpanel-palette-options-extras {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-extra-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 8px;
  padding-block: 4px;
  border-radius: 4px;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color .15s;
}

.tokenpanel-palette-extra-option:hover {
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .1);
}

.tokenpanel-palette-extra-option.is-selected {
  background-color: rgb(from var(--tokentweak-color-accent) r g b / .2);
}

.tokenpanel-palette-extra-option.is-active {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 1px;
}

.tokenpanel-palette-extra-color {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-palette-extra-label {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-palette-options-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
}

.tokenpanel-palette-option-button {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  border: 1px solid var(--tokentweak-color-border);
  cursor: pointer;
  padding: 0;
  transition: box-shadow .15s;
}

.tokenpanel-palette-option-button:hover {
  box-shadow: 0 0 0 2px var(--tokentweak-color-fg);
}

.tokenpanel-palette-option-button.is-selected {
  box-shadow: 0 0 0 2px var(--tokentweak-color-accent);
}

.tokenpanel-palette-option-button.is-active {
  outline: 2px solid var(--tokentweak-color-fg);
  outline-offset: 1px;
}

.tokenpanel-card {
  min-width: 0;
  container: tokenpanel-card / inline-size;
}

.tokenpanel-tab-grid--specimen .tokenpanel-card {
  container-name: tokenpanel-specimen-card;
}

.tokenpanel-card-label, .tokenpanel-card-editor, .tokenpanel-card-actions {
  display: contents;
}

.tokenpanel-row {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
}

.tokenpanel-row--stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tokenpanel-row--column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tokenpanel-row--flash {
  animation: .9s ease-out tokenpanel-row-flash;
}

@keyframes tokenpanel-row-flash {
  0%, 35% {
    outline: 1px solid var(--tokentweak-color-accent);
  }

  to {
    outline-color: #0000;
  }
}

.tokenpanel-row-head {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
}

.tokenpanel-row-label {
  color: var(--tokentweak-color-fg);
  font-family: var(--tokentweak-font-mono);
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-row-input-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tokenpanel-row-number-input {
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  padding-inline: 6px;
  padding-block: 2px;
  font-family: var(--tokentweak-font-mono);
  text-align: right;
  font-size: 12px;
  width: 80px;
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-row-number-input:disabled {
  opacity: .6;
}

.tokenpanel-row-number-input--invalid {
  border-color: var(--tokentweak-color-danger);
  color: var(--tokentweak-color-danger);
}

.tokenpanel-row-unit {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  -webkit-user-select: none;
  user-select: none;
  font-size: 12px;
  width: 32px;
}

.tokenpanel-row-unit--interactive {
  cursor: pointer;
  border-radius: 2px;
}

.tokenpanel-row-unit--interactive:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-row-unit--interactive:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-row-unit--interactive[aria-disabled="true"] {
  cursor: default;
  opacity: .6;
}

.tokenpanel-row-select {
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  padding-inline: 6px;
  padding-block: 2px;
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  width: 112px;
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-row-select:disabled {
  opacity: .6;
}

.tokenpanel-row-text-input {
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  padding-inline: 6px;
  padding-block: 2px;
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-tokentweak);
}

.tokenpanel-row-text-input:disabled {
  opacity: .6;
}

.tokenpanel-pill-toggle {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  flex-shrink: 0;
  cursor: pointer;
}

.tokenpanel-pill-toggle-checkbox {
  accent-color: var(--tokentweak-color-accent);
}

.tokenpanel-pill-toggle-text {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
}

[data-design-token-panel-modal] {
  margin-inline: auto;
  width: 100%;
  max-width: 736px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  padding: var(--tokentweak-pad-xl);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-user-select: text;
  user-select: text;
}

[data-design-token-panel-modal]::backdrop {
  background-color: rgb(from var(--tokentweak-color-bg) r g b / .8);
}

[data-design-token-panel-modal] [class*="__header"] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--tokentweak-pad-md);
  margin-bottom: var(--tokentweak-gap-sm);
}

[data-design-token-panel-modal] [class*="__title"] {
  font-size: var(--tokentweak-text-subheading);
  font-weight: 700;
  color: var(--tokentweak-color-fg);
}

[data-design-token-panel-modal] [class*="__hint"] {
  font-size: var(--tokentweak-text-small);
  color: var(--tokentweak-color-muted);
  margin-bottom: var(--tokentweak-gap-xs);
}

[data-design-token-panel-modal] [class*="__section-heading"] {
  font-size: var(--tokentweak-text-small);
  font-weight: 700;
  color: var(--tokentweak-color-fg);
  margin-top: var(--tokentweak-gap-sm);
  margin-bottom: var(--tokentweak-gap-2xs);
}

[data-design-token-panel-modal] [class*="__list"]:not([class*="__list-item"]) {
  overflow-x: auto;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-code-fg);
  padding: var(--tokentweak-pad-sm);
  font-size: var(--tokentweak-text-small);
  margin-bottom: var(--tokentweak-gap-xs);
}

[data-design-token-panel-modal] [class*="__list-item"] {
  font-family: var(--tokentweak-font-mono);
}

[data-design-token-panel-modal] [class*="__actions"] {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-md);
  margin-top: var(--tokentweak-gap-md);
}

.tokenpanel-apply-sync {
  color: var(--tokentweak-color-success);
  font-size: var(--tokentweak-text-small);
  white-space: nowrap;
}

.tokenpanel-apply-sync.is-unsaved {
  color: var(--tokentweak-color-warning);
}

.tokenpanel-apply-preview {
  display: grid;
  grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  min-height: 320px;
  max-height: 58vh;
  border: 1px solid var(--tokentweak-color-border);
  background: var(--tokentweak-color-code-bg);
}

.tokenpanel-apply-preview-files {
  overflow: auto;
  border-right: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-apply-preview-file {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-xs);
  padding: var(--tokentweak-pad-sm);
  cursor: pointer;
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-small);
}

.tokenpanel-apply-preview-file.is-selected {
  background: var(--tokentweak-color-surface);
}

.tokenpanel-apply-preview-file input, .tokenpanel-apply-preview-hunk-header input {
  accent-color: var(--tokentweak-color-accent);
}

.tokenpanel-apply-preview-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-apply-preview-file-meta {
  color: var(--tokentweak-color-muted);
  font-size: var(--tokentweak-text-small);
  white-space: nowrap;
}

.tokenpanel-apply-preview-unrouted {
  margin: var(--tokentweak-pad-sm);
  padding: var(--tokentweak-pad-sm);
  border: 1px solid var(--tokentweak-color-warning);
  color: var(--tokentweak-color-warning);
  font-size: var(--tokentweak-text-small);
}

.tokenpanel-apply-preview-diff {
  overflow: auto;
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-small);
}

.tokenpanel-apply-preview-hunk {
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-apply-preview-hunk.is-off .is-delete, .tokenpanel-apply-preview-hunk.is-off .is-add {
  opacity: .35;
  text-decoration: line-through;
}

.tokenpanel-apply-preview-hunk-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-xs);
  padding: var(--tokentweak-pad-xs) var(--tokentweak-pad-sm);
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-accent);
}

.tokenpanel-apply-preview-line {
  display: flex;
  min-width: max-content;
  white-space: pre;
  line-height: 18px;
}

.tokenpanel-apply-preview-line-number {
  width: 44px;
  padding-right: var(--tokentweak-pad-sm);
  color: var(--tokentweak-color-muted);
  text-align: right;
  -webkit-user-select: none;
  user-select: none;
}

.tokenpanel-apply-preview-line.is-context {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-apply-preview-line.is-delete {
  color: var(--tokentweak-color-danger);
  background: rgb(from var(--tokentweak-color-danger) r g b / .14);
}

.tokenpanel-apply-preview-line.is-add {
  color: var(--tokentweak-color-success);
  background: rgb(from var(--tokentweak-color-success) r g b / .14);
}

[data-design-token-panel-modal] [class*="__toggle"] {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  font-size: var(--tokentweak-text-small);
  color: var(--tokentweak-color-fg);
  cursor: pointer;
  margin-bottom: var(--tokentweak-gap-xs);
}

[data-design-token-panel-modal] [class*="__textarea"] {
  width: 100%;
  min-height: 192px;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-code-fg);
  padding: var(--tokentweak-pad-sm);
  font-family: var(--tokentweak-font-mono);
  font-size: var(--tokentweak-text-small);
  resize: vertical;
  margin-bottom: var(--tokentweak-gap-xs);
}

[data-design-token-panel-modal] [class*="__json"] {
  overflow-x: auto;
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-code-fg);
  padding: var(--tokentweak-pad-sm);
  font-size: var(--tokentweak-text-small);
  white-space: pre;
  font-family: var(--tokentweak-font-mono);
}

[data-design-token-panel-modal] [class*="__status"] {
  font-size: var(--tokentweak-text-small);
  margin-bottom: var(--tokentweak-gap-xs);
}

[data-design-token-panel-modal] [class*="__status--info"] {
  color: var(--tokentweak-color-success);
}

[data-design-token-panel-modal] [class*="__status--error"] {
  color: var(--tokentweak-color-danger);
}

[data-design-token-panel-modal] [class*="__status--warning"] {
  color: var(--tokentweak-color-warning);
}

[data-design-token-panel-modal] [class*="__status--success"] {
  color: var(--tokentweak-color-success);
}

[data-design-token-panel-modal] [class*="__applying"] {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-muted);
  padding: var(--tokentweak-pad-sm);
  font-size: var(--tokentweak-text-small);
}

[data-design-token-panel-modal] [class*="__spinner"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--tokentweak-color-border);
  border-top-color: var(--tokentweak-color-fg);
  border-radius: 50%;
  animation: .75s linear infinite design-token-panel-modal-spin;
}

@keyframes design-token-panel-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

[data-design-token-panel-modal] [class*="__revert-hint"] {
  font-size: var(--tokentweak-text-small);
  font-style: italic;
  color: var(--tokentweak-color-muted);
  margin-top: var(--tokentweak-gap-sm);
  margin-bottom: var(--tokentweak-gap-2xs);
}

[data-design-token-panel-modal] [class*="__button"] {
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-muted);
  padding-inline: var(--tokentweak-pad-lg);
  padding-block: var(--tokentweak-gap-2xs);
  font-size: var(--tokentweak-text-small);
  cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}

[data-design-token-panel-modal] [class*="__button"]:hover, [data-design-token-panel-modal] [class*="__button"]:focus-visible {
  color: var(--tokentweak-color-fg);
  border-color: var(--tokentweak-color-fg);
}

[data-design-token-panel-modal] [class*="__button"]:disabled {
  cursor: not-allowed;
  opacity: .5;
}

[data-design-token-panel-modal] [class*="__button--primary"] {
  border-color: var(--tokentweak-color-accent);
  background-color: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-bg);
}

[data-design-token-panel-modal] [class*="__button--primary"]:hover, [data-design-token-panel-modal] [class*="__button--primary"]:focus-visible {
  border-color: var(--tokentweak-color-accent-hover);
  background-color: var(--tokentweak-color-accent-hover);
  color: var(--tokentweak-color-bg);
}

[data-design-token-panel-modal] [class*="__close-button"] {
  border: 1px solid var(--tokentweak-color-border);
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-muted);
  padding-inline: var(--tokentweak-pad-sm);
  padding-block: var(--tokentweak-gap-2xs);
  font-size: var(--tokentweak-text-small);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

[data-design-token-panel-modal] [class*="__close-button"]:hover, [data-design-token-panel-modal] [class*="__close-button"]:focus-visible {
  color: var(--tokentweak-color-fg);
  border-color: var(--tokentweak-color-fg);
}

.tokenpanel-tier-ref-selector {
  flex: 1;
  min-width: 0;
}

.tokenpanel-tier-ref-selector--grouped {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  flex-wrap: wrap;
}

select.tokenpanel-tier-ref-select {
  width: 100%;
  background-color: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: var(--radius-tokentweak);
  padding-inline: var(--tokentweak-pad-sm);
  padding-block: 4px;
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  cursor: pointer;
}

.tokenpanel-tier-ref-selector--grouped > select.tokenpanel-tier-ref-select {
  flex: 1;
  min-width: 0;
  width: auto;
}

select.tokenpanel-tier-ref-select:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-row-label-sub {
  display: block;
  font-size: var(--tokentweak-text-micro, 11px);
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  line-height: 1.2;
}

.tokenpanel-per-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.tokenpanel-per-mode-fields {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  flex-wrap: wrap;
}

.tokenpanel-semantic-resolved-chip {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  pointer-events: none;
}

.tokenpanel-per-mode-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tokenpanel-per-mode-label {
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.tokenpanel-tab-section-heading--with-help {
  align-items: center;
  gap: 6px;
  display: inline-flex !important;
}

@container tokenpanel-section (width <= 319px) {
  .tokenpanel-tab-section-heading--with-help {
    position: static;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    padding: 0;
    padding-inline: 5px;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
  }
}

.tokenpanel-tab-section [role="heading"] {
  display: block;
}

.tokenpanel-code {
  font-family: var(--tokentweak-font-mono);
  font-size: inherit;
  background: none;
  color: inherit;
  padding: 0;
  border: none;
  border-radius: 0;
  white-space: pre-wrap;
}

[data-design-token-panel-modal] [class*="__button"][aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .5;
  pointer-events: none;
}

[data-design-token-panel-modal] [role="button"]:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-action-link:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-close-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-tab-button:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-highlight-overlay {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  display: block;
}

.tokenpanel-highlight-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  vertical-align: middle;
  border-radius: 2px;
  transition: background-color .15s, color .15s;
}

.tokenpanel-highlight-toggle:hover {
  color: var(--tokentweak-color-fg);
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .1);
}

.tokenpanel-highlight-toggle:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-highlight-toggle.is-active {
  opacity: 1;
}

.tokenpanel-chain-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  color: var(--tokentweak-color-muted);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.tokenpanel-chain-button:hover, .tokenpanel-chain-button:focus-visible, .tokenpanel-chain-button.is-open {
  color: var(--tokentweak-color-accent);
  background-color: rgb(from var(--tokentweak-color-fg) r g b / .1);
}

.tokenpanel-chain-button:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-chain-button:after {
  content: "";
  position: absolute;
  inset: -4px;
}

:where(.tokenpanel-shell) .tokenpanel-chain-button svg {
  fill: none !important;
  stroke: currentColor !important;
}

.tokenpanel-chain-popover {
  box-sizing: border-box;
  width: min(460px, 100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  padding: var(--tokentweak-pad-md);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  background: var(--tokentweak-color-surface);
  color: var(--tokentweak-color-fg);
  box-shadow: 0 8px 32px #00000080;
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  line-height: 1.4;
}

.tokenpanel-chain-hops {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding-bottom: var(--tokentweak-pad-sm);
  border-bottom: 1px solid var(--tokentweak-color-border);
}

.tokenpanel-chain-hop-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.tokenpanel-chain-hop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-code-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-chain-hop.is-literal {
  color: var(--tokentweak-color-accent-hover);
}

.tokenpanel-chain-hop-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 2px;
}

.tokenpanel-chain-arrow {
  color: var(--tokentweak-color-muted);
}

.tokenpanel-chain-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--tokentweak-pad-sm);
  min-height: 22px;
  padding-top: var(--tokentweak-pad-sm);
}

.tokenpanel-chain-row-label {
  flex: 0 0 104px;
  color: var(--tokentweak-color-muted);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tokenpanel-chain-row-value {
  color: var(--tokentweak-color-fg);
  font-variant-numeric: tabular-nums;
}

.tokenpanel-chain-row-action {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  margin-left: auto;
  color: var(--tokentweak-color-muted);
  white-space: nowrap;
}

.tokenpanel-chain-chip-list {
  display: inline-flex;
  flex: 180px;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.tokenpanel-chain-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  background: none;
  color: var(--tokentweak-color-fg);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-chain-chip:hover, .tokenpanel-chain-chip:focus-visible {
  border-color: var(--tokentweak-color-accent);
  color: var(--tokentweak-color-accent);
}

.tokenpanel-chain-chip:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 1px;
}

.tokenpanel-chain-empty {
  color: var(--tokentweak-color-muted);
}

:where(.tokenpanel-shell, .tokenpanel-mini-pill) svg {
  pointer-events: none;
  display: inline-block;
  overflow: visible;
  fill: currentColor !important;
}

:where(.tokenpanel-chain-popover) svg {
  pointer-events: none;
  display: inline-block;
  overflow: visible;
  fill: currentColor !important;
}

:where(.tokenpanel-chain-popover) .tokenpanel-highlight-toggle svg {
  fill: none !important;
  stroke: currentColor !important;
}

:where(.tokenpanel-shell) .tokenpanel-highlight-toggle svg {
  stroke: currentColor;
  fill: none !important;
}

:where(.tokenpanel-mini-pill) svg {
  stroke: currentColor;
  fill: none !important;
}

.tokenpanel-highlight-settings-popover {
  width: 370px;
  background: var(--tokentweak-color-surface);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 6px;
  box-shadow: 0 8px 32px #00000080;
}

.tokenpanel-highlight-settings-header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--tokentweak-color-border);
  font-weight: 600;
  font-size: 13px;
  color: var(--tokentweak-color-fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tokenpanel-highlight-settings-header-label {
  flex: 1;
  min-width: 0;
}

.tokenpanel-highlight-settings-outline-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tokenpanel-highlight-settings-outline-input {
  width: 44px;
  background: var(--tokentweak-color-bg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  color: var(--tokentweak-color-fg);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding: 3px 6px;
  text-align: right;
}

.tokenpanel-highlight-settings-outline-px {
  color: var(--tokentweak-color-muted);
  font-size: 12px;
  font-weight: 400;
}

.tokenpanel-highlight-settings-list {
  padding: 4px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tokenpanel-highlight-settings-row {
  display: grid;
  grid-template-columns: 22px 32px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
}

.tokenpanel-highlight-settings-row:hover {
  background: rgb(from var(--tokentweak-color-fg) r g b / .03);
}

.tokenpanel-highlight-settings-num {
  color: var(--tokentweak-color-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 11px;
}

.tokenpanel-highlight-settings-ring {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: none;
  box-sizing: border-box;
  cursor: pointer;
  flex-shrink: 0;
}

.tokenpanel-highlight-settings-ring:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-highlight-settings-name {
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  color: var(--tokentweak-color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-highlight-settings-name.is-active {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-highlight-settings-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--tokentweak-color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--tokentweak-pad-sm);
}

.tokenpanel-highlight-settings-reset-btn {
  padding: 6px 12px;
  background: var(--tokentweak-color-code-bg);
  border: 1px solid var(--tokentweak-color-border);
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  color: var(--tokentweak-color-fg);
  transition: background .15s;
}

.tokenpanel-highlight-settings-reset-btn:hover {
  background: rgb(from var(--tokentweak-color-fg) r g b / .08);
}

.tokenpanel-highlight-settings-reset-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.tokenpanel-gear-btn {
  color: var(--tokentweak-color-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tokenpanel-gear-btn:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-gear-btn:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-elpath-toggle, .tokenpanel-tweaker-toggle {
  color: var(--tokentweak-color-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tokenpanel-elpath-toggle:hover, .tokenpanel-tweaker-toggle:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-elpath-toggle:focus-visible, .tokenpanel-tweaker-toggle:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.tokenpanel-elpath-toggle.is-active, .tokenpanel-tweaker-toggle.is-active {
  color: var(--tokentweak-color-accent);
}

.tokenpanel-actions-popover .tokenpanel-elpath-toggle, .tokenpanel-actions-popover .tokenpanel-element-inspect-toggle, .tokenpanel-actions-popover .tokenpanel-tweaker-toggle {
  width: auto;
  height: auto;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 10px;
  white-space: normal;
}

:where(.tokenpanel-shell) .tokenpanel-elpath-toggle svg, :where(.tokenpanel-shell) .tokenpanel-tweaker-toggle svg, :where(.tokenpanel-shell) .tokenpanel-element-inspect-toggle svg {
  stroke: currentColor;
  fill: none !important;
}

:where(.tokenpanel-shell) .tokenpanel-element-inspect-toggle svg path {
  stroke: currentColor;
  fill: none !important;
}

html.tokenpanel-elpath-inspecting, html.tokenpanel-elpath-inspecting * {
  cursor: crosshair !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.tokenpanel-elpath-box {
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  box-sizing: border-box;
  background: #6fa8dc40;
  outline: 1px solid #6fa8dce6;
  outline-offset: -1px;
  box-shadow: inset 0 0 0 1px #6fa8dce6;
}

.tokenpanel-elpath-label {
  pointer-events: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-width: 90vw;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--tokentweak-color-surface, #1c1c1c);
  color: var(--tokentweak-color-fg, #b8b8b8);
  font-family: var(--tokentweak-font-mono, Menlo, Monaco, Consolas, monospace);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px #0006;
}

.tokenpanel-elpath-label-name {
  color: var(--tokentweak-color-accent, #d69a66);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tokenpanel-elpath-label-size {
  color: var(--tokentweak-color-muted, #888);
  flex-shrink: 0;
}

.tokenpanel-elpath-toast {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto 0;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--tokentweak-color-surface, #1c1c1c);
  color: var(--tokentweak-color-fg, #b8b8b8);
  font-family: var(--tokentweak-font-mono, Menlo, Monaco, Consolas, monospace);
  font-size: 12px;
  line-height: 1.4;
  max-width: min(90vw, 520px);
  box-shadow: 0 4px 16px #00000073;
  border: 1px solid #ffffff14;
}

.tokenpanel-elpath-toast .tokenpanel-elpath-toast-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-elpath-toast svg {
  flex-shrink: 0;
  stroke: var(--tokentweak-color-success, #93bb77);
  pointer-events: none;
  display: inline-block;
  overflow: visible;
  fill: none !important;
}

.tokenpanel-elpath-toast.is-error svg {
  stroke: var(--tokentweak-color-danger, #da6871);
}

.tokenpanel-row-number-input:focus-visible, .tokenpanel-row-text-input:focus-visible, .tokenpanel-row-select:focus-visible, .tokenpanel-color-preset-select:focus-visible, .tokenpanel-density-slider:focus-visible, .tokenpanel-pill-toggle-checkbox:focus-visible, .tokenpanel-bulk-checkbox:focus-visible, .tokenpanel-bulk-number-input:focus-visible, .tokenpanel-highlight-settings-outline-input:focus-visible, [data-design-token-panel-modal] [class*="__textarea"]:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

.tokenpanel-close-btn {
  position: relative;
}

.tokenpanel-close-btn:after {
  content: "";
  position: absolute;
  inset: 0;
}

.tokenpanel-gear-btn {
  position: relative;
}

.tokenpanel-gear-btn:after {
  content: "";
  position: absolute;
  inset: 0;
}

.tokenpanel-elpath-toggle, .tokenpanel-tweaker-toggle {
  position: relative;
}

.tokenpanel-elpath-toggle:after, .tokenpanel-tweaker-toggle:after {
  content: "";
  position: absolute;
  inset: 0;
}

.tokenpanel-highlight-toggle {
  position: relative;
}

.tokenpanel-highlight-toggle:after {
  content: "";
  position: absolute;
  inset: -4px;
}

.tokenpanel-resize-handle {
  overflow: visible;
}

.tokenpanel-resize-handle:after {
  content: "";
  position: absolute;
  inset: -4px;
  cursor: nwse-resize;
}

@media (prefers-reduced-motion: reduce) {
  [data-design-token-panel-modal] [class*="__spinner"] {
    animation: 1.5s ease-in-out infinite design-token-panel-modal-pulse;
  }

  @keyframes design-token-panel-modal-pulse {
    0%, to {
      opacity: 1;
    }

    50% {
      opacity: .4;
    }
  }

  .tokenpanel-tooltip {
    transform: none;
    transition: opacity 90ms;
  }

  .tokenpanel-tooltip[data-show="true"] {
    transform: none;
  }
}

.tokenpanel-tab-button {
  position: relative;
}

.tokenpanel-changed-tab-badge {
  position: absolute;
  top: 6px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--tokentweak-color-accent-bar);
  color: var(--tokentweak-color-bg);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.tokenpanel-changed-only-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--tokentweak-pad-xs);
  flex-shrink: 0;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.tokenpanel-changed-only-toggle:hover {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-changed-only-checkbox {
  accent-color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-changed-footer-content {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-pad-sm);
  width: 100%;
  min-width: 0;
}

.tokenpanel-changed-summary {
  min-width: 0;
  overflow: hidden;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenpanel-changed-summary-count {
  color: var(--tokentweak-color-fg);
  font-weight: 700;
}

.tokenpanel-changed-footer-spacer {
  flex: auto;
  min-width: var(--tokentweak-pad-xs);
}

.tokenpanel-changed-footer-content .tokenpanel-action-link {
  flex-shrink: 0;
}

.tokenpanel-changed-copy[aria-disabled="true"], .tokenpanel-changed-revert-all[aria-disabled="true"] {
  opacity: .35;
  cursor: default;
}

.tokenpanel-changed-revert-all {
  color: var(--tokentweak-color-danger);
}

.tokenpanel-changed-revert-all:hover, .tokenpanel-changed-revert-all:focus-visible {
  color: var(--tokentweak-color-fg);
}

.tokenpanel-row.is-changed, .tokenpanel-row--column.is-changed {
  position: relative;
  border-left: 2px solid var(--tokentweak-color-accent-bar);
  padding-left: 6px;
  margin-left: -8px;
}

.tokenpanel-row.is-changed .tokenpanel-row-number-input, .tokenpanel-row--column.is-changed .tokenpanel-row-number-input, .tokenpanel-row.is-changed .tokenpanel-row-select, .tokenpanel-row--column.is-changed .tokenpanel-row-select, .tokenpanel-row.is-changed .tokenpanel-row-text-input, .tokenpanel-row--column.is-changed .tokenpanel-row-text-input, .tokenpanel-row.is-changed .tokenpanel-color-field-swatch, .tokenpanel-row--column.is-changed .tokenpanel-color-field-swatch, .tokenpanel-row.is-changed .tokenpanel-row-color-input, .tokenpanel-row--column.is-changed .tokenpanel-row-color-input {
  border-color: var(--tokentweak-color-accent-bar);
  color: var(--tokentweak-color-code-fg);
}

.tokenpanel-row.is-changed .tokenpanel-row-number-input:focus-visible, .tokenpanel-row.is-changed .tokenpanel-row-select:focus-visible, .tokenpanel-row.is-changed .tokenpanel-row-text-input:focus-visible, .tokenpanel-row.is-changed .tokenpanel-color-field-swatch:focus-visible {
  outline-color: var(--tokentweak-color-accent-bar);
}

.is-changed .tokenpanel-row-label {
  min-width: 9ch;
}

.tokenpanel-changed-tail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

@container tokenpanel-card (width <= 319px) {
  .tokenpanel-row, .tokenpanel-row-head, .tokenpanel-palette-selector {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tokenpanel-card-label, .tokenpanel-card-editor, .tokenpanel-card-actions {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
  }

  .tokenpanel-card-label {
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tokenpanel-card-editor {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tokenpanel-card-editor:has(.tokenpanel-row-select, .tokenpanel-row-text-input, .tokenpanel-tier-ref-selector, .tokenpanel-palette-trigger), .is-changed .tokenpanel-card-editor {
    flex: 1 0 100%;
  }

  .tokenpanel-card-actions {
    flex: none;
    gap: 8px;
    padding-inline: 4px;
    box-sizing: border-box;
  }

  .tokenpanel-card-actions:empty {
    display: none;
  }

  .tokenpanel-card-actions > *, .tokenpanel-bulk-checkbox, .tokenpanel-chain-button, .tokenpanel-highlight-toggle, .tokenpanel-changed-revert, .tokenpanel-color-field-swatch {
    flex-shrink: 0;
  }

  .tokenpanel-row-label, .tokenpanel-row-label-sub, .tokenpanel-palette-trigger-label, .tokenpanel-palette-trigger-value, .tokenpanel-changed-tail {
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    text-overflow: clip;
    min-width: 0;
    max-width: 100%;
  }

  .is-changed .tokenpanel-row-label {
    min-width: 0;
  }

  .tokenpanel-changed-tail {
    flex: 1 0 100%;
  }

  .tokenpanel-row-input-group {
    flex: none;
    gap: 4px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tokenpanel-row-number-input {
    width: 80px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .is-changed .tokenpanel-row-number-input {
    width: 56px;
  }

  .tokenpanel-row-unit {
    width: auto;
    flex: none;
    white-space: nowrap;
  }

  .tokenpanel-row-select, .tokenpanel-row-text-input, .tokenpanel-tier-ref-selector, select.tokenpanel-tier-ref-select {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tokenpanel-palette-selector, .tokenpanel-palette-trigger {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tokenpanel-palette-trigger {
    flex-wrap: wrap;
  }

  .tokenpanel-palette-trigger-value {
    width: auto;
  }
}

.tokenpanel-changed-tail-old {
  text-decoration: line-through;
  text-decoration-color: var(--tokentweak-color-muted);
}

.tokenpanel-changed-tail-new {
  color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-changed-revert {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: var(--radius-tokentweak);
  color: var(--tokentweak-color-muted);
  cursor: pointer;
}

.tokenpanel-changed-revert:hover, .tokenpanel-changed-revert:focus-visible {
  color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-changed-revert:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent-bar);
  outline-offset: 1px;
}

.tokenpanel-changed-revert:after {
  content: "";
  position: absolute;
  inset: -2px;
}

.tokenpanel-changed-revert svg {
  pointer-events: none;
  fill: none !important;
  stroke: currentColor !important;
}

.tokenpanel-changed-marker {
  flex: none;
  color: var(--tokentweak-color-accent-bar);
  font-size: 9px;
  line-height: 1;
}

.tokenpanel-color-swatch-wrap.is-changed {
  position: relative;
  border-left: 2px solid var(--tokentweak-color-accent-bar);
  padding-left: 4px;
  margin-left: -6px;
}

.tokenpanel-color-swatch-wrap.is-changed .tokenpanel-color-swatch-button {
  border-color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-color-swatch-wrap.is-changed .tokenpanel-color-swatch-button:focus-visible {
  outline-color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-palette-selector.is-changed {
  border-left: 2px solid var(--tokentweak-color-accent-bar);
  padding-left: 4px;
  margin-left: -6px;
}

.tokenpanel-palette-selector.is-changed .tokenpanel-palette-trigger {
  border-color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-palette-selector.is-changed .tokenpanel-palette-trigger:focus-visible {
  outline-color: var(--tokentweak-color-accent-bar);
}

.tokenpanel-palette-edit-group-changed-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  margin-left: 4px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--tokentweak-color-accent-bar);
  color: var(--tokentweak-color-bg);
  font-family: var(--tokentweak-font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.tokenpanel-changed-empty {
  padding: var(--tokentweak-pad-lg);
  color: var(--tokentweak-color-muted);
  font-family: var(--tokentweak-font-mono);
  font-size: 12px;
  text-align: center;
}

@container tokenpanel (width <= 479px) {
  .tokenpanel-changed-footer-content {
    flex-wrap: wrap;
  }

  .tokenpanel-changed-summary {
    flex: 100%;
  }

  .tokenpanel-changed-footer-spacer {
    display: none;
  }
}

[data-design-token-panel-modal-variant="import"] [class$="__analysis"] {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-sm);
}

[data-design-token-panel-modal-variant="import"] [class*="__analysis-schema"], [data-design-token-panel-modal-variant="import"] [class*="__mode-summary"] {
  color: var(--tokentweak-color-muted);
  font-size: var(--tokentweak-text-small);
}

[data-design-token-panel-modal-variant="import"] [class*="__fieldset"] {
  min-width: 0;
  margin: 0;
  padding: var(--tokentweak-pad-sm);
  border: 1px solid var(--tokentweak-color-border);
}

[data-design-token-panel-modal-variant="import"] [class*="__fieldset"] legend {
  padding-inline: var(--tokentweak-pad-xs);
  color: var(--tokentweak-color-fg);
  font-size: var(--tokentweak-text-small);
  font-weight: 700;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-list"], [data-design-token-panel-modal-variant="import"] [class*="__radio-list"] {
  display: flex;
  flex-direction: column;
  gap: var(--tokentweak-gap-2xs);
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-option"], [data-design-token-panel-modal-variant="import"] [class*="__radio-option"] {
  display: flex;
  align-items: center;
  gap: var(--tokentweak-gap-xs);
  min-height: 24px;
  color: var(--tokentweak-color-fg);
  font-size: var(--tokentweak-text-small);
  cursor: pointer;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-option"] input, [data-design-token-panel-modal-variant="import"] [class*="__radio-option"] input {
  flex: none;
  accent-color: var(--tokentweak-color-accent);
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-option"] input:focus-visible, [data-design-token-panel-modal-variant="import"] [class*="__radio-option"] input:focus-visible {
  outline: 2px solid var(--tokentweak-color-accent);
  outline-offset: 2px;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-option"]:has(input:disabled) {
  color: var(--tokentweak-color-muted);
  cursor: not-allowed;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-name"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-meta"], [data-design-token-panel-modal-variant="import"] [class*="__tab-disabled"] {
  color: var(--tokentweak-color-muted);
  font-size: 11px;
  white-space: nowrap;
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-meta"] {
  margin-left: auto;
  font-family: var(--tokentweak-font-mono);
}

[data-design-token-panel-modal-variant="import"] [class*="__tab-disabled"] {
  font-style: italic;
}

[data-design-token-panel-modal-variant="import"] [class*="__unknown-list"] {
  max-height: 160px;
  overflow: auto;
  border: 1px solid var(--tokentweak-color-border);
  background: var(--tokentweak-color-code-bg);
  color: var(--tokentweak-color-code-fg);
  padding: var(--tokentweak-pad-sm);
}

[data-design-token-panel-modal-variant="import"] [class*="__unknown-item"] {
  overflow-wrap: anywhere;
}

.zd-content {
  color: var(--color-fg);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
}

@layer zd-flow {
  .zd-content > :where(* + *) {
    margin-top: var(--flow-space, var(--spacing-vsp-md));
  }
}

.zd-content :where(h2) {
  --flow-space: var(--spacing-vsp-2xl);
}

.zd-content :where(h3) {
  --flow-space: var(--spacing-vsp-xl);
}

.zd-content :where(h4) {
  --flow-space: var(--spacing-vsp-lg);
}

.zd-content :where(h5, h6) {
  --flow-space: var(--spacing-vsp-md);
  font-size: var(--text-small);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
}

.zd-content :where(h2, h3, h4, h5, h6) + :where(h2, h3, h4, h5, h6) {
  --flow-space: var(--spacing-vsp-xs);
}

.zd-content :where(h2, h3, h4, h5, h6) + :where(:not(h2, h3, h4, h5, h6)) {
  --flow-space: var(--spacing-vsp-xs);
}

.zd-content > :first-child {
  margin-top: 0;
}

.zd-content .zd-preset-gen :where(section) > :where(* + *) {
  margin-top: var(--flow-space, var(--spacing-vsp-md));
}

.zd-content :where(h2, h3, h4, h5, h6) .hash-link {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (hover: hover) {
  .zd-content :where(h2, h3, h4, h5, h6) .hash-link:hover {
    color: var(--color-accent-hover);
  }
}

.zd-content :where(h2, h3, h4, h5, h6) .hash-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

:where(.zd-content [data-site-nav] a) {
  color: inherit;
  text-decoration: none;
}

:where(.zd-content [data-site-nav] a):hover, :where(.zd-content [data-site-nav] a):focus-visible {
  text-decoration: underline;
}

.zd-content :where(li) {
  margin-bottom: var(--spacing-vsp-xs);
}

.zd-content :where() {
  color: var(--color-muted);
}

.zd-content :where(li:has( > input[type="checkbox"][disabled]), li:has( > p > input[type="checkbox"][disabled])) {
  list-style-type: none;
}

.zd-content :where(li > ul, li > ol) {
  margin-top: var(--spacing-vsp-xs);
  margin-bottom: 0;
}

.zd-content :where(blockquote p) {
  margin-bottom: var(--spacing-vsp-xs);
}

.zd-content :where(code:not(pre code)) {
  font-size: var(--text-small);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-mono);
  background-color: var(--color-code-bg);
  color: var(--color-code-fg);
  border-radius: var(--radius-DEFAULT);
  padding: 2px var(--spacing-hsp-xs);
  overflow-wrap: anywhere;
}

.zd-content :where(pre) {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  line-height: var(--leading-relaxed);
  border: 1px solid var(--color-muted);
  padding: var(--spacing-vsp-sm) var(--spacing-hsp-lg);
  overflow-x: auto;
}

.zd-content :where(pre code) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  background: none;
  padding: 0;
  border: none;
  color: inherit;
  font-size: inherit;
}

.zd-content :where(th), .zd-content :where(td) {
  padding: var(--spacing-vsp-xs) var(--spacing-hsp-md);
  border-bottom: 1px solid var(--color-muted);
  overflow-wrap: break-word;
}

.zd-content :where(th) {
  font-weight: var(--font-weight-semibold);
  text-align: left;
  border-bottom-width: 2px;
}

.zd-content :where(hr) {
  border: none;
  border-top: 1px solid var(--color-muted);
  margin: var(--spacing-vsp-xl) 0;
}

.zd-content :where(img) {
  max-width: 100%;
  height: auto;
}

.zd-content :where(dt) {
  font-weight: var(--font-weight-semibold);
  margin-top: var(--spacing-vsp-md);
}

.zd-content :where(dd) {
  padding-left: var(--spacing-hsp-xl);
  margin-bottom: var(--spacing-vsp-xs);
}

[data-admonition] {
  border-left: 4px solid var(--color-muted);
  padding: var(--spacing-vsp-md) var(--spacing-hsp-lg) var(--spacing-vsp-sm);
  background-color: color-mix(in srgb, var(--color-muted) 12%, var(--color-bg));
  border-radius: 0 var(--radius-DEFAULT) var(--radius-DEFAULT) 0;
}

.admonition-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-small);
  margin-bottom: var(--spacing-vsp-2xs);
}

.admonition-title:before {
  margin-right: var(--spacing-hsp-2xs);
}

@layer zd-flow {
  .admonition-body > :where(* + *) {
    margin-top: var(--spacing-vsp-sm);
  }
}

.admonition-body > :first-child {
  margin-top: 0;
}

.admonition-body > :last-child {
  margin-bottom: 0;
}

[data-admonition="note"], .admonition-note {
  border-left-color: var(--color-accent);
  background-color: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
}

[data-admonition="note"] .admonition-title, .admonition-note .admonition-title {
  color: var(--color-accent);
}

[data-admonition="note"] .admonition-title:before, .admonition-note .admonition-title:before {
  content: "📝";
}

[data-admonition="tip"], .admonition-tip {
  border-left-color: var(--color-success);
  background-color: color-mix(in srgb, var(--color-success) 12%, var(--color-bg));
}

[data-admonition="tip"] .admonition-title, .admonition-tip .admonition-title {
  color: var(--color-success);
}

[data-admonition="tip"] .admonition-title:before, .admonition-tip .admonition-title:before {
  content: "💡";
}

[data-admonition="info"], .admonition-info {
  border-left-color: var(--color-info);
  background-color: color-mix(in srgb, var(--color-info) 12%, var(--color-bg));
}

[data-admonition="info"] .admonition-title, .admonition-info .admonition-title {
  color: var(--color-info);
}

[data-admonition="info"] .admonition-title:before, .admonition-info .admonition-title:before {
  content: "ℹ️";
}

[data-admonition="warning"], .admonition-warning {
  border-left-color: var(--color-warning);
  background-color: color-mix(in srgb, var(--color-warning) 12%, var(--color-bg));
}

[data-admonition="warning"] .admonition-title, .admonition-warning .admonition-title {
  color: var(--color-warning);
}

[data-admonition="warning"] .admonition-title:before, .admonition-warning .admonition-title:before {
  content: "⚠️";
}

[data-admonition="danger"], .admonition-danger {
  border-left-color: var(--color-danger);
  background-color: color-mix(in srgb, var(--color-danger) 12%, var(--color-bg));
}

[data-admonition="danger"] .admonition-title, .admonition-danger .admonition-title {
  color: var(--color-danger);
}

[data-admonition="danger"] .admonition-title:before, .admonition-danger .admonition-title:before {
  content: "🚨";
}

[data-admonition="important"], .admonition-important {
  border-left-color: var(--color-accent);
  background-color: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
}

[data-admonition="important"] .admonition-title, .admonition-important .admonition-title {
  color: var(--color-accent);
}

[data-admonition="important"] .admonition-title:before, .admonition-important .admonition-title:before {
  content: "❗";
}

[data-admonition="caution"], .admonition-caution {
  border-left-color: var(--color-danger);
  background-color: color-mix(in srgb, var(--color-danger) 12%, var(--color-bg));
}

[data-admonition="caution"] .admonition-title, .admonition-caution .admonition-title {
  color: var(--color-danger);
}

[data-admonition="caution"] .admonition-title:before, .admonition-caution .admonition-title:before {
  content: "⛔";
}

.zd-content .mermaid {
  margin-block: var(--spacing-vsp-lg);
  display: flex;
  justify-content: center;
}

.zd-content .mermaid svg {
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.zd-content .mermaid foreignObject {
  overflow: visible;
}

h1.text-heading {
  font-family: var(--zdc-doc-title-font, inherit);
  font-weight: var(--zdc-doc-title-weight, var(--font-weight-bold));
  letter-spacing: var(--zdc-doc-title-tracking, var(--tracking-normal));
}

h2.text-title {
  font-family: var(--zdc-doc-h2-font, inherit);
  font-weight: var(--zdc-doc-h2-weight, var(--font-weight-bold));
  letter-spacing: var(--zdc-doc-h2-tracking, var(--tracking-normal));
}

h3.text-body.font-bold {
  font-weight: var(--zdc-doc-h3-weight, var(--font-weight-bold));
}

h4.text-body.font-semibold {
  font-weight: var(--zdc-doc-h4-weight, var(--font-weight-semibold));
}

.zd-content {
  font-family: var(--zdc-doc-prose-font, var(--font-sans));
}

a.text-accent.underline {
  text-decoration: var(--zdc-doc-link-decoration, underline);
}

[data-admonition] {
  border-radius: var(--zdc-admonition-radius, 0 var(--radius-DEFAULT) var(--radius-DEFAULT) 0);
  border-left-width: var(--zdc-admonition-border-width, 4px);
}

.zd-home-inner {
  inline-size: 100%;
  max-inline-size: 60rem;
  min-inline-size: 0;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.zd-home-copy, .zd-home-links {
  min-inline-size: 0;
}

.zd-home-links {
  overflow-wrap: anywhere;
}

.zd-home-rule {
  inline-size: 100%;
  margin-block: var(--spacing-vsp-xl);
  margin-inline: 0;
  border: 0;
  border-block-start: 1px solid var(--color-muted);
}

.zd-compact-prose {
  min-inline-size: 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.zd-compact-prose > :where(* + *) {
  margin-top: var(--flow-space, 1rem);
}

.zd-compact-prose :where(h2, h3, h4, h5, h6) {
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.4;
  padding: 0;
  border: 0;
  background: none;
}

.zd-compact-prose :where(h2) {
  --flow-space: 1.75rem;
}

.zd-compact-prose :where(h3) {
  font-size: 1.125rem;
  --flow-space: 1.5rem;
}

.zd-compact-prose :where(h4) {
  font-size: 1rem;
  --flow-space: 1.25rem;
}

.zd-compact-prose :where(h5, h6) {
  font-size: .9375rem;
  --flow-space: 1.25rem;
}

.zd-compact-prose > :where(h2, h3, h4, h5, h6) + * {
  margin-top: .5rem;
}

.zd-compact-prose > :first-child {
  margin-top: 0;
}

.zd-compact-prose :where(pre) {
  max-inline-size: 100%;
  overflow-x: auto;
}

.zd-compact-prose :where(img) {
  max-inline-size: 100%;
  block-size: auto;
}

.zd-content h2.zd-home-heading, html[data-theme-pack] .zd-content h2.zd-home-heading {
  font-size: var(--text-title);
  line-height: var(--leading-tight);
  padding: 0;
  border: 0;
  background: none;
  position: static;
  counter-increment: none;
}

.zd-content h2.zd-home-heading:before, .zd-content h2.zd-home-heading:after, html[data-theme-pack] .zd-content h2.zd-home-heading:before, html[data-theme-pack] .zd-content h2.zd-home-heading:after {
  content: none;
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-modal, 100);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-page-loading-overlay, color-mix(in oklch, var(--color-overlay, #000) 60%, transparent));
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease-out;
}

.page-loading-overlay[data-visible] {
  opacity: 1;
}

a[data-zd-nav-pending], button[data-zd-nav-pending] {
  color: var(--color-accent);
}

.page-loading-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid var(--color-page-loading-spinner, #fff);
  border-bottom-color: #0000;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: 1s linear infinite page-loading-spin;
}

@media (width >= 1024px) {
  .page-loading-spinner {
    width: 64px;
    height: 64px;
    border-width: 6px;
  }
}

@keyframes page-loading-spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loading-spinner {
    animation: none;
    border-bottom-color: var(--color-page-loading-spinner, #fff);
  }
}

header[data-header] {
  background-color: var(--color-surface, var(--color-bg));
  z-index: var(--z-index-toolbar, 20);
}

.code-block-wrapper {
  position: relative;
}

:is(pre.hi-root, .tab-panel pre).word-wrap {
  overflow-x: hidden;
}

:is(pre.hi-root, .tab-panel pre).word-wrap code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-block-sr-announce {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.code-buttons {
  position: absolute;
  top: var(--spacing-hsp-sm);
  right: var(--spacing-hsp-sm);
  display: flex;
  gap: var(--spacing-hsp-2xs);
  opacity: 0;
  transition: opacity .15s;
  z-index: var(--z-index-local-1);
}

.code-block-wrapper:hover .code-buttons, .code-block-wrapper:focus-within .code-buttons {
  opacity: 1;
}

.code-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  color: var(--color-fg);
  cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}

.code-btn:hover {
  color: var(--color-fg);
  border-color: var(--color-fg);
}

.code-btn .code-icon {
  width: var(--spacing-icon-sm);
  height: var(--spacing-icon-sm);
}

.code-btn-copy .code-icon-check {
  display: none;
}

.code-btn-copy .code-icon-copy {
  display: block;
}

.code-btn-copy.copied .code-icon-check {
  display: block;
  color: var(--color-success);
}

.code-btn-copy.copied .code-icon-copy {
  display: none;
}

.code-btn-wrap.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

@media (scripting: none) {
  .code-buttons {
    display: none;
  }
}

:root {
  --zfb-hi-fg: var(--zd-code-fg);
  --zfb-hi-bg: var(--zd-code-bg);
  --zfb-hi-esc: var(--zd-syntax-string);
  --zfb-hi-op: var(--zd-code-fg);
  --zfb-hi-com: var(--zd-syntax-comment);
  --zfb-hi-str: var(--zd-syntax-string);
  --zfb-hi-num: var(--zd-syntax-number);
  --zfb-hi-const: var(--zd-syntax-number);
  --zfb-hi-kw: var(--zd-syntax-keyword);
  --zfb-hi-fn: var(--zd-syntax-callable);
  --zfb-hi-ty: var(--zd-syntax-type);
  --zfb-hi-ns: var(--zd-syntax-type);
  --zfb-hi-prop: var(--zd-syntax-name);
  --zfb-hi-var: var(--zd-syntax-name);
  --zfb-hi-tag: var(--zd-syntax-name);
  --zfb-hi-attr: var(--zd-syntax-name);
  --zfb-hi-punct: var(--zd-code-fg);
  --zfb-hi-ins: var(--zd-syntax-inserted);
  --zfb-hi-ins-bg: color-mix(in srgb,
    var(--zd-syntax-inserted) 15%,
    var(--zd-code-bg));
  --zfb-hi-del: var(--zd-syntax-deleted);
  --zfb-hi-del-bg: color-mix(in srgb,
    var(--zd-syntax-deleted) 15%,
    var(--zd-code-bg));
  --zfb-hi-hd: var(--zd-syntax-keyword);
}

.zd-html-preview-code pre.hi-root {
  margin: 0;
  padding: var(--spacing-hsp-md);
  font-size: var(--text-caption);
  line-height: 1.6;
  overflow-x: auto;
}

.zd-html-preview-code pre.hi-root code {
  font-family: var(--font-mono);
  white-space: pre;
}

pre.hi-root .line.highlighted, pre.hi-root [data-line-highlight="true"] {
  background-color: color-mix(in srgb, var(--color-accent) 15%, transparent);
}

pre.hi-root .line .highlighted-word {
  background-color: color-mix(in srgb, var(--color-accent) 25%, transparent);
  border-bottom: 1px solid var(--color-accent);
}

.code-block-container {
  margin-top: 1em;
  margin-bottom: 1em;
}

.code-block-title {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--color-muted);
  background-color: var(--color-code-bg);
  border: 1px solid var(--color-muted);
  border-bottom: none;
  padding: var(--spacing-vsp-2xs) var(--spacing-hsp-lg);
}

.code-block-container pre.hi-root {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0 !important;
}

.code-group-panel pre[data-lang] {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  line-height: var(--leading-relaxed);
  background-color: var(--color-code-bg);
  color: var(--color-code-fg);
  padding: var(--spacing-vsp-xs) var(--spacing-hsp-lg);
  overflow-x: auto;
  border-radius: 0 0 var(--radius-DEFAULT) var(--radius-DEFAULT);
  margin: 0;
}

.katex {
  font-size: 1.1em;
}

.katex-display {
  margin: var(--spacing-vsp-md) 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--spacing-vsp-xs) 0;
}

.katex-display > .katex {
  white-space: nowrap;
}

.katex .base {
  color: var(--zd-fg);
}

@media (width >= 1024px) {
  #desktop-sidebar {
    transition: transform var(--zd-transition-slow) ease-in-out,
      visibility var(--zd-transition-slow);
  }

  html[data-sidebar-hidden] #desktop-sidebar {
    transform: translateX(calc(-1 * var(--zd-sidebar-w)));
    visibility: hidden;
  }

  .zd-sidebar-content-wrapper {
    transition: margin-left var(--zd-transition-slow) ease-in-out;
  }

  html[data-sidebar-hidden] .zd-sidebar-content-wrapper {
    margin-left: 0;
  }

  .zd-doc-content-band {
    transition: max-width var(--zd-transition-slow) ease-in-out;
  }

  html[data-sidebar-hidden] .zd-doc-content-band {
    max-width: 80rem;
  }
}

.zd-doc-content-band[data-zd-nosidebar] {
  max-width: 80rem;
}

.zd-doc-content-band[data-zd-wide], html[data-sidebar-hidden] .zd-doc-content-band[data-zd-wide] {
  max-width: clamp(50rem, 92.5vw, 120rem);
}

@media (width >= 1024px) {
  .zd-desktop-sidebar-toggle {
    left: var(--zd-sidebar-w);
  }

  html[data-sidebar-hidden] .zd-desktop-sidebar-toggle {
    left: 0;
  }
}

@media (width >= 1280px) {
  .zd-toc-col {
    width: var(--zdc-toc-width, 280px);
    overflow: clip;
    transition: width var(--zd-transition-slow) ease-in-out;
  }

  html[data-toc-hidden] .zd-toc-col {
    width: 0;
  }

  html[data-toc-hidden] .zd-doc-content-band:has( > .zd-toc-col) {
    gap: 0;
  }

  .zd-doc-content-band {
    transition: max-width var(--zd-transition-slow) ease-in-out,
      gap var(--zd-transition-slow) ease-in-out;
  }

  .zd-toc-col nav[data-zd-toc] {
    transition: opacity var(--zd-transition-slow) ease-in-out,
      transform var(--zd-transition-slow) ease-in-out,
      visibility var(--zd-transition-slow);
  }

  html[data-toc-hidden] .zd-toc-col nav[data-zd-toc] {
    opacity: 0;
    transform: translateX(1.5rem);
    visibility: hidden;
  }

  .zd-desktop-toc-toggle {
    right: 0;
  }
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(-.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

[data-zfb-transition-persist^="header-"] {
  view-transition-name: zfb-header;
}

[data-zfb-transition-persist^="sidebar-"] {
  view-transition-name: zfb-sidebar;
}

[data-zfb-transition-persist^="footer-"] {
  view-transition-name: zfb-footer;
}

[data-zfb-transition-persist="desktop-sidebar-toggle"] {
  view-transition-name: zfb-sidebar-toggle;
}

[data-zfb-transition-persist="desktop-toc-toggle"] {
  view-transition-name: zfb-toc-toggle;
}

::view-transition-old(zfb-header), ::view-transition-new(zfb-header), ::view-transition-group(zfb-header), ::view-transition-old(zfb-sidebar), ::view-transition-new(zfb-sidebar), ::view-transition-group(zfb-sidebar), ::view-transition-old(zfb-footer), ::view-transition-new(zfb-footer), ::view-transition-group(zfb-footer), ::view-transition-old(zfb-sidebar-toggle), ::view-transition-new(zfb-sidebar-toggle), ::view-transition-group(zfb-sidebar-toggle), ::view-transition-old(zfb-toc-toggle), ::view-transition-new(zfb-toc-toggle), ::view-transition-group(zfb-toc-toggle) {
  animation: none;
}

::view-transition-old(zfb-header):only-child, ::view-transition-old(zfb-sidebar):only-child, ::view-transition-old(zfb-footer):only-child, ::view-transition-old(zfb-sidebar-toggle):only-child, ::view-transition-old(zfb-toc-toggle):only-child {
  animation: var(--default-transition-duration) ease-in both contentFadeOut;
}

::view-transition-new(zfb-header):only-child, ::view-transition-new(zfb-sidebar):only-child, ::view-transition-new(zfb-footer):only-child, ::view-transition-new(zfb-sidebar-toggle):only-child, ::view-transition-new(zfb-toc-toggle):only-child {
  animation: var(--zd-transition-slower) ease-out both contentFadeIn;
}

::view-transition-old(root) {
  animation: var(--default-transition-duration) ease-in both contentFadeOut;
}

::view-transition-new(root) {
  animation: var(--zd-transition-slower) ease-out both contentFadeIn;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(root), ::view-transition-old(zfb-header):only-child, ::view-transition-old(zfb-sidebar):only-child, ::view-transition-old(zfb-footer):only-child, ::view-transition-old(zfb-sidebar-toggle):only-child, ::view-transition-old(zfb-toc-toggle):only-child, ::view-transition-new(zfb-header):only-child, ::view-transition-new(zfb-sidebar):only-child, ::view-transition-new(zfb-footer):only-child, ::view-transition-new(zfb-sidebar-toggle):only-child, ::view-transition-new(zfb-toc-toggle):only-child {
    animation: none;
  }
}

.ai-chat-md :where(p) {
  margin: 0 0 var(--spacing-vsp-2xs);
}

.ai-chat-md :where(p:last-child) {
  margin-bottom: 0;
}

.ai-chat-md :where(strong) {
  font-weight: var(--font-weight-bold);
}

.ai-chat-md :where(em) {
  font-style: italic;
}

.ai-chat-md :where(a) {
  color: var(--color-accent);
  text-decoration: underline;
}

.ai-chat-md :where(a:hover) {
  color: var(--color-accent-hover);
}

.ai-chat-md {
  --_chat-code-radius: 3px;
  --_chat-pre-radius: 6px;
}

.ai-chat-md :where(code:not(pre code)) {
  font-size: .9em;
  background: color-mix(in oklch, var(--color-muted) 20%, transparent);
  padding: .1em .3em;
  border-radius: var(--_chat-code-radius);
}

.ai-chat-md :where(pre) {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  line-height: var(--leading-relaxed);
  background: var(--color-code-bg);
  color: var(--color-code-fg);
  padding: var(--spacing-vsp-2xs) var(--spacing-hsp-sm);
  border-radius: var(--_chat-pre-radius);
  overflow-x: auto;
  margin: var(--spacing-vsp-2xs) 0;
}

.ai-chat-md :where(pre code) {
  background: none;
  padding: 0;
  font-size: inherit;
}

.ai-chat-md :where(ul) {
  list-style-type: disc;
  padding-left: var(--spacing-hsp-lg);
  margin: var(--spacing-vsp-2xs) 0;
}

.ai-chat-md :where(ol) {
  list-style-type: decimal;
  padding-left: var(--spacing-hsp-lg);
  margin: var(--spacing-vsp-2xs) 0;
}

.ai-chat-md :where(li) {
  margin-bottom: .15em;
}

.ai-chat-md :where() {
  color: var(--color-muted);
}

.ai-chat-md :where(h4, h5, h6) {
  font-weight: var(--font-weight-bold);
  margin: var(--spacing-vsp-xs) 0 var(--spacing-vsp-2xs);
}

.zd-enlargeable {
  position: relative;
  display: block;
  margin-inline: 0;
  margin-block-end: 0;
  border: 1px solid #0000;
  transition: border-color var(--default-transition-duration);
}

.zd-enlargeable:has(.zd-enlarge-btn:not([hidden])) {
  border-color: var(--color-muted);
  cursor: pointer;
}

.zd-enlargeable:has(.zd-enlarge-btn:not([hidden])):hover {
  border-color: var(--color-accent);
}

.zd-enlargeable img {
  display: block;
  max-width: 100%;
  height: auto;
}

.zd-enlarge-btn {
  position: absolute;
  top: var(--spacing-image-overlay-inset);
  right: var(--spacing-image-overlay-inset);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-image-overlay-inset);
  border: none;
  background: none;
  cursor: pointer;
  z-index: var(--z-index-local-1);
  transition: opacity var(--default-transition-duration);
}

.zd-enlarge-btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--color-image-overlay-bg) 80%, transparent);
  z-index: var(--z-index-local-1);
}

.zd-enlarge-btn > svg {
  position: relative;
  z-index: var(--z-index-local-2);
  width: var(--spacing-icon-sm);
  height: var(--spacing-icon-sm);
  color: var(--color-image-overlay-fg);
  fill: currentColor;
}

.zd-enlarge-btn:hover {
  opacity: .8;
}

.zd-enlarge-btn[hidden] {
  display: none !important;
}

dialog.zd-enlarge-dialog::backdrop {
  background: color-mix(in oklch, var(--color-overlay) 80%, transparent);
}

.zd-enlarge-dialog-close {
  position: fixed;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-image-overlay-inset);
  border: none;
  background: none;
  cursor: pointer;
  z-index: var(--z-index-local-1);
  transition: opacity var(--default-transition-duration);
}

.zd-enlarge-dialog-close:hover {
  opacity: .8;
}

.zd-enlarge-dialog-close:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--color-image-overlay-bg) 80%, transparent);
  z-index: var(--z-index-local-1);
}

.zd-enlarge-dialog-close > svg {
  position: relative;
  z-index: var(--z-index-local-2);
  width: var(--spacing-icon-lg);
  height: var(--spacing-icon-lg);
  color: var(--color-image-overlay-fg);
  fill: currentColor;
}

@media (width >= 1024px) {
  .zd-enlarge-dialog-close {
    top: 10px;
    right: 10px;
  }

  .zd-enlarge-dialog-close > svg {
    width: calc(var(--spacing-icon-lg) * 2);
    height: calc(var(--spacing-icon-lg) * 2);
  }
}

.zd-mermaid-enlargeable {
  position: relative;
  border: 1px solid #0000;
  border-radius: var(--radius-DEFAULT);
  transition: border-color var(--default-transition-duration);
}

.zd-mermaid-enlargeable:has(.zd-enlarge-btn) {
  cursor: pointer;
  border-color: var(--color-muted);
}

.zd-mermaid-enlargeable:has(.zd-enlarge-btn):hover {
  border-color: var(--color-accent);
}

dialog.zd-mermaid-dialog::backdrop {
  background: color-mix(in oklch, var(--color-overlay) 80%, transparent);
}

.zd-mermaid-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.zd-mermaid-viewport[data-pan-active] {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.zd-mermaid-viewport[data-pan-active]:active {
  cursor: grabbing;
}

.zd-mermaid-transform {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.zd-mermaid-transform svg {
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
}

.zd-mermaid-transform svg foreignObject {
  overflow: visible;
}

.zd-mermaid-toolbar {
  position: absolute;
  bottom: var(--spacing-image-overlay-inset);
  right: var(--spacing-image-overlay-inset);
  display: flex;
  gap: var(--spacing-hsp-xs);
  padding: var(--spacing-hsp-xs);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-DEFAULT);
  background: color-mix(in oklch, var(--color-surface) 92%, transparent);
  z-index: var(--z-index-local-2);
}

.zd-mermaid-tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--spacing-icon-lg) * 2);
  height: calc(var(--spacing-icon-lg) * 2);
  padding: var(--spacing-vsp-2xs);
  border: none;
  border-radius: var(--radius-DEFAULT);
  background: none;
  color: var(--color-fg);
  cursor: pointer;
  transition: background-color var(--default-transition-duration),
    opacity var(--default-transition-duration);
}

.zd-mermaid-tool-btn:hover:not([disabled]) {
  background: color-mix(in oklch, var(--color-muted) 25%, transparent);
}

.zd-mermaid-tool-btn[aria-pressed="true"] {
  background: color-mix(in oklch, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
}

.zd-mermaid-tool-btn[disabled] {
  opacity: .4;
  cursor: default;
}

.zd-mermaid-tool-btn > svg {
  width: calc(var(--spacing-icon-md) * 2);
  height: calc(var(--spacing-icon-md) * 2);
}

.diff-row {
  border-bottom: 1px solid color-mix(in oklch, var(--color-muted) 15%, transparent);
}

.diff-line-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: var(--text-caption);
  line-height: 1.5;
  padding: 0 var(--spacing-hsp-xs);
  text-align: right;
  color: var(--color-muted);
  user-select: none;
  vertical-align: top;
  border-right: 1px solid color-mix(in oklch, var(--color-muted) 15%, transparent);
}

.diff-line-content {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: var(--text-caption);
  line-height: 1.5;
  padding: 0 var(--spacing-hsp-sm);
  white-space: pre-wrap;
  word-break: break-all;
  vertical-align: top;
}

.diff-row td:nth-child(2) {
  border-right: 2px solid var(--color-muted);
}

.diff-line-added {
  background-color: color-mix(in oklch, var(--color-success) 15%, transparent);
}

.diff-line-removed {
  background-color: color-mix(in oklch, var(--color-danger) 15%, transparent);
}

.diff-line-empty {
  background-color: color-mix(in oklch, var(--color-muted) 8%, transparent);
}

a.group.block.rounded {
  border-radius: var(--zdc-card-radius, var(--zdc-surface-radius, var(--radius-DEFAULT)));
}

.zd-doc-content-band {
  max-width: var(--zdc-content-max-width, clamp(50rem,75vw,90rem));
}

nav[data-zd-toc] {
  width: var(--zdc-toc-width, 280px);
}

a[data-nav-active] {
  background-color: var(--zdc-nav-active-indicator-color, var(--color-fg));
  font-weight: var(--zdc-nav-active-weight, var(--font-weight-medium));
}

body {
  font-family: var(--zdc-chrome-font, var(--font-sans));
}

header[data-header] {
  font-family: var(--zdc-header-font, var(--zdc-chrome-font, var(--font-sans)));
}

a[data-header-logo] {
  font-family: var(--zdc-header-logo-font, inherit);
  font-weight: var(--zdc-header-logo-weight, var(--font-weight-bold));
}

#desktop-sidebar, aside[data-zd-mobile-sidebar] {
  font-family: var(--zdc-sidebar-font, var(--zdc-chrome-font, var(--font-sans)));
}

nav[data-zd-toc], div[data-zd-mobile-toc] {
  font-family: var(--zdc-toc-font, var(--zdc-chrome-font, var(--font-sans)));
}

button[data-zd-pending] {
  opacity: .7;
  pointer-events: none;
}

.zd-asset-page [data-zd-asset-details-list] :is(dt, dd) {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

.zd-asset-page .zd-asset-code {
  counter-reset: line;
}

.zd-asset-page .zd-asset-code .line {
  display: block;
  width: 100%;
}

.zd-asset-page .zd-asset-code .line:before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  box-sizing: border-box;
  width: var(--zd-asset-gutter, 4ch);
  padding-right: var(--spacing-hsp-lg);
  color: var(--color-muted);
  text-align: right;
  user-select: none;
}

.zd-asset-page .zd-asset-code .line:target {
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.zd-asset-page .zd-asset-filebar {
  position: sticky;
  top: 3.5rem;
  z-index: var(--z-index-local-2);
}

.zd-asset-page .zd-asset-code + .code-buttons {
  display: none;
}

.zd-asset-page .zd-asset-stage.is-checker {
  background-color: var(--color-bg);
  background-image: linear-gradient(45deg, color-mix(in srgb, var(--color-muted) 10%, var(--color-bg)) 25%, transparent 25%),
    linear-gradient(-45deg, color-mix(in srgb, var(--color-muted) 10%, var(--color-bg)) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, color-mix(in srgb, var(--color-muted) 10%, var(--color-bg)) 75%),
    linear-gradient(-45deg, transparent 75%, color-mix(in srgb, var(--color-muted) 10%, var(--color-bg)) 75%);
  background-position: 0 0, 0 var(--spacing-hsp-sm), var(--spacing-hsp-sm) calc(-1 * var(--spacing-hsp-sm)), calc(-1 * var(--spacing-hsp-sm)) 0;
  background-size: calc(2 * var(--spacing-hsp-sm)) calc(2 * var(--spacing-hsp-sm));
}

.zd-asset-page .zd-asset-stage.is-dark {
  background: var(--color-code-bg);
}

.zd-asset-page .zd-asset-stage.is-1to1 img {
  max-width: none;
}

.zd-asset-page .zd-asset-media-grid {
  display: grid;
  gap: var(--spacing-vsp-lg);
}

.zd-asset-page .zd-asset-media-rail {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--spacing-vsp-md);
}

.zd-asset-page .zd-asset-media-rail > * {
  width: 100%;
}

@media (width >= 1024px) {
  .zd-asset-page .zd-asset-media-grid {
    --zd-asset-rail-w: 20rem;
    grid-template-columns: minmax(0, 1fr) var(--zd-asset-rail-w);
    align-items: start;
    transition: grid-template-columns var(--zd-transition-slow) ease-in-out,
      gap var(--zd-transition-slow) ease-in-out;
  }
}

.zd-asset-details-toggle [data-zd-asset-details-chevron] {
  display: contents;
}

.zd-asset-details-toggle [data-zd-asset-details-chevron="expand"] {
  display: none;
}

html[data-asset-details-hidden] .zd-asset-details-toggle [data-zd-asset-details-chevron="collapse"] {
  display: none;
}

html[data-asset-details-hidden] .zd-asset-details-toggle [data-zd-asset-details-chevron="expand"] {
  display: contents;
}

@media (width >= 1024px) {
  html[data-asset-details-hidden] .zd-asset-page .zd-asset-media-grid {
    grid-template-columns: minmax(0, 1fr) 0;
    gap: 0;
  }

  .zd-asset-page .zd-asset-media-rail {
    overflow: clip;
    transition: opacity var(--zd-transition-slow) ease-in-out,
      visibility var(--zd-transition-slow);
  }

  .zd-asset-page .zd-asset-media-rail > * {
    width: var(--zd-asset-rail-w);
  }

  html[data-asset-details-hidden] .zd-asset-page .zd-asset-media-rail {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  .zd-asset-details-toggle {
    right: 0;
  }
}

[data-zd-asset-tree]:where(ul), [data-zd-asset-tree] :where(ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-zd-asset-tree] :where(li) {
  margin: 0;
}

[data-zd-asset-tree] :where(ul) {
  margin-left: var(--spacing-hsp-md);
  padding-left: var(--spacing-hsp-md);
  border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

[data-zd-asset-tree] :where(summary) {
  list-style: none;
}

[data-zd-asset-tree] :where(summary)::-webkit-details-marker {
  display: none;
}

[data-zd-asset-tree] :where(summary)::marker {
  content: "";
}

[data-zd-asset-tree] details[open] > summary > svg:first-child {
  transform: rotate(90deg);
}

[data-zd-asset-tree] details:not([open]) > summary > svg:nth-child(3), [data-zd-asset-tree] details[open] > summary > svg:nth-child(2) {
  display: none;
}

.zd-footer-copyright-links a {
  text-decoration-line: underline;
}

.zd-footer-copyright-links a:hover, .zd-footer-copyright-links a:focus-visible {
  color: var(--color-accent);
}

.zd-hide-details-marker::-webkit-details-marker {
  display: none;
}

.zd-list-items-no-margin li, .zd-breadcrumb-nav-no-margin nav {
  margin-bottom: 0;
}

.zd-card-links-interactive a {
  pointer-events: auto;
}

.zd-wrap-anywhere {
  overflow-wrap: anywhere;
}

site-search [data-search-results] > :is([data-search-placeholder], p) {
  padding-top: var(--spacing-vsp-sm);
}

.zd-search-excerpt-decoration {
  text-decoration-color: var(--color-muted);
}

.zd-preview-shadow {
  box-shadow: 0 0 #0000,
    0 0 #0000,
    0 0 #0000,
    0 0 #0000,
    0 1px 3px var(--color-fg);
}

@supports (color: color-mix(in lab, red, red)) {
  .zd-preview-shadow {
    box-shadow: 0 0 #0000,
      0 0 #0000,
      0 0 #0000,
      0 0 #0000,
      0 1px 3px color-mix(in srgb, var(--color-fg) 8%, transparent);
  }
}

.zd-theme-pack-active-ring {
  box-shadow: 0 0 0 2px var(--color-accent);
}

:root {
  --color-page-loading-overlay: color-mix(in oklch, var(--color-overlay) 60%, transparent);
}

.zd-fm-pill--danger {
  color: color-mix(in srgb, var(--color-danger) 92%, var(--color-fg));
  background-color: color-mix(in srgb, var(--color-danger) 12%, var(--color-bg));
}

.zd-fm-pill--success {
  color: color-mix(in srgb, var(--color-success) 92%, var(--color-fg));
  background-color: color-mix(in srgb, var(--color-success) 12%, var(--color-bg));
}

.zd-fm-pill--warning {
  color: color-mix(in srgb, var(--color-warning) 92%, var(--color-fg));
  background-color: color-mix(in srgb, var(--color-warning) 12%, var(--color-bg));
}

.zd-fm-pill--info {
  color: color-mix(in srgb, var(--color-info) 92%, var(--color-fg));
  background-color: color-mix(in srgb, var(--color-info) 12%, var(--color-bg));
}

.zd-fm-pill--muted {
  color: color-mix(in srgb, var(--color-muted) 45%, var(--color-fg));
  background-color: color-mix(in srgb, var(--color-muted) 12%, var(--color-bg));
  border: 1px solid var(--color-muted);
}
.block {
  display: block;
}
.contents {
  display: contents;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.sticky {
  position: sticky;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.bottom-hsp-lg {
  bottom: var(--zw-spacing-hsp-lg);
}
.bottom-vsp-xl {
  bottom: var(--zw-spacing-vsp-xl);
}
.-left-\[calc\(var\(--spacing-icon-lg\)\/2\)\] {
  left: calc(calc(var(--spacing-icon-lg)/2) * -1);
}
.left-0 {
  left: 0;
}
.right-0 {
  right: 0;
}
.right-hsp-lg {
  right: var(--zw-spacing-hsp-lg);
}
.top-0 {
  top: 0;
}
.top-\[3\.5rem\] {
  top: 3.5rem;
}
.top-full {
  top: 100%;
}
.top-hsp-2xs {
  top: var(--zw-spacing-hsp-2xs);
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.col-span-full {
  grid-column: 1 / -1;
}
.col-start-1 {
  grid-column-start: 1;
}
.grid-cols-1 {
  grid-template-columns: repeat(1,minmax(0,1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.grid-cols-\[auto_1fr\] {
  grid-template-columns: auto 1fr;
}
.grid-rows-\[auto_auto\] {
  grid-template-rows: auto auto;
}
.grid-rows-subgrid {
  grid-template-rows: subgrid;
}
.row-span-2 {
  grid-row: span 2 / span 2;
}
.row-start-1 {
  grid-row-start: 1;
}
.row-start-2 {
  grid-row-start: 2;
}
.items-baseline {
  align-items: baseline;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-start {
  justify-content: flex-start;
}
.place-items-center {
  place-items: center;
}
.self-end {
  align-self: flex-end;
}
.self-start {
  align-self: flex-start;
}
.self-stretch {
  align-self: stretch;
}
.size-icon-lg {
  width: var(--zw-spacing-icon-lg);
  height: var(--zw-spacing-icon-lg);
}
.h-\[0\.5rem\] {
  height: 0.5rem;
}
.h-\[0\.625rem\] {
  height: 0.625rem;
}
.h-\[0\.875rem\] {
  height: 0.875rem;
}
.h-\[1\.125rem\] {
  height: 1.125rem;
}
.h-\[1\.25rem\] {
  height: 1.25rem;
}
.h-\[1\.575rem\] {
  height: 1.575rem;
}
.h-\[10rem\] {
  height: 10rem;
}
.h-\[14px\] {
  height: 14px;
}
.h-\[1em\] {
  height: 1em;
}
.h-\[1lh\] {
  height: 1lh;
}
.h-\[2\.5rem\] {
  height: 2.5rem;
}
.h-\[2rem\] {
  height: 2rem;
}
.h-\[3\.5rem\] {
  height: 3.5rem;
}
.h-\[3rem\] {
  height: 3rem;
}
.h-\[40px\] {
  height: 40px;
}
.h-\[70vh\] {
  height: 70vh;
}
.h-\[90vh\] {
  height: 90vh;
}
.h-\[calc\(100\%_-_3rem\)\] {
  height: calc(100% - 3rem);
}
.h-\[calc\(100vh_-_3\.5rem\)\] {
  height: calc(100vh - 3.5rem);
}
.h-dvh {
  height: 100dvh;
}
.h-full {
  height: 100%;
}
.h-icon-lg {
  height: var(--zw-spacing-icon-lg);
}
.h-icon-md {
  height: var(--zw-spacing-icon-md);
}
.h-icon-sm {
  height: var(--zw-spacing-icon-sm);
}
.h-icon-xs {
  height: var(--zw-spacing-icon-xs);
}
.max-h-\[80vh\] {
  max-height: 80vh;
}
.max-h-\[85vh\] {
  max-height: 85vh;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-full {
  max-height: 100%;
}
.max-h-none {
  max-height: none;
}
.max-w-\[16rem\] {
  max-width: 16rem;
}
.max-w-\[40rem\] {
  max-width: 40rem;
}
.max-w-\[64rem\] {
  max-width: 64rem;
}
.max-w-\[85\%\] {
  max-width: 85%;
}
.max-w-\[85vw\] {
  max-width: 85vw;
}
.max-w-\[90vw\] {
  max-width: 90vw;
}
.max-w-\[calc\(100vw_-_2rem\)\] {
  max-width: calc(100vw - 2rem);
}
.max-w-\[calc\(100vw_-_var\(--spacing-hsp-xl\)\)\] {
  max-width: calc(100vw - var(--spacing-hsp-xl));
}
.max-w-\[clamp\(50rem\,75vw\,90rem\)\] {
  max-width: clamp(50rem,75vw,90rem);
}
.max-w-full {
  max-width: 100%;
}
.max-w-none {
  max-width: none;
}
.min-h-0 {
  min-height: 0;
}
.min-h-\[20rem\] {
  min-height: 20rem;
}
.min-h-\[44px\] {
  min-height: 44px;
}
.min-h-\[60vh\] {
  min-height: 60vh;
}
.min-h-\[calc\(100vh_-_3\.5rem\)\] {
  min-height: calc(100vh - 3.5rem);
}
.min-h-screen {
  min-height: 100vh;
}
.min-w-0 {
  min-width: 0;
}
.min-w-\[10rem\] {
  min-width: 10rem;
}
.min-w-\[3rem\] {
  min-width: 3rem;
}
.min-w-\[44px\] {
  min-width: 44px;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.w-1\/2 {
  width: calc(100% * 1 / 2);
}
.w-\[0\.5rem\] {
  width: 0.5rem;
}
.w-\[0\.625rem\] {
  width: 0.625rem;
}
.w-\[0\.875rem\] {
  width: 0.875rem;
}
.w-\[1\.125rem\] {
  width: 1.125rem;
}
.w-\[1\.575rem\] {
  width: 1.575rem;
}
.w-\[1\.5rem\] {
  width: 1.5rem;
}
.w-\[1\.75rem\] {
  width: 1.75rem;
}
.w-\[12rem\] {
  width: 12rem;
}
.w-\[14px\] {
  width: 14px;
}
.w-\[16px\] {
  width: 16px;
}
.w-\[16rem\] {
  width: 16rem;
}
.w-\[18px\] {
  width: 18px;
}
.w-\[1em\] {
  width: 1em;
}
.w-\[2\.5rem\] {
  width: 2.5rem;
}
.w-\[280px\] {
  width: 280px;
}
.w-\[2rem\] {
  width: 2rem;
}
.w-\[320px\] {
  width: 320px;
}
.w-\[360px\] {
  width: 360px;
}
.w-\[40px\] {
  width: 40px;
}
.w-\[6\.5rem\] {
  width: 6.5rem;
}
.w-\[90vw\] {
  width: 90vw;
}
.w-\[calc\(100vw_-_2rem\)\] {
  width: calc(100vw - 2rem);
}
.w-\[var\(--zd-sidebar-w\)\] {
  width: var(--zd-sidebar-w);
}
.w-dvw {
  width: 100dvw;
}
.w-full {
  width: 100%;
}
.w-icon-lg {
  width: var(--zw-spacing-icon-lg);
}
.w-icon-md {
  width: var(--zw-spacing-icon-md);
}
.w-icon-sm {
  width: var(--zw-spacing-icon-sm);
}
.w-icon-xs {
  width: var(--zw-spacing-icon-xs);
}
.p-0 {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}
.p-hsp-2xs {
  padding-top: var(--zw-spacing-hsp-2xs);
  padding-right: var(--zw-spacing-hsp-2xs);
  padding-bottom: var(--zw-spacing-hsp-2xs);
  padding-left: var(--zw-spacing-hsp-2xs);
}
.p-hsp-lg {
  padding-top: var(--zw-spacing-hsp-lg);
  padding-right: var(--zw-spacing-hsp-lg);
  padding-bottom: var(--zw-spacing-hsp-lg);
  padding-left: var(--zw-spacing-hsp-lg);
}
.p-hsp-md {
  padding-top: var(--zw-spacing-hsp-md);
  padding-right: var(--zw-spacing-hsp-md);
  padding-bottom: var(--zw-spacing-hsp-md);
  padding-left: var(--zw-spacing-hsp-md);
}
.p-hsp-sm {
  padding-top: var(--zw-spacing-hsp-sm);
  padding-right: var(--zw-spacing-hsp-sm);
  padding-bottom: var(--zw-spacing-hsp-sm);
  padding-left: var(--zw-spacing-hsp-sm);
}
.p-hsp-xl {
  padding-top: var(--zw-spacing-hsp-xl);
  padding-right: var(--zw-spacing-hsp-xl);
  padding-bottom: var(--zw-spacing-hsp-xl);
  padding-left: var(--zw-spacing-hsp-xl);
}
.p-hsp-xs {
  padding-top: var(--zw-spacing-hsp-xs);
  padding-right: var(--zw-spacing-hsp-xs);
  padding-bottom: var(--zw-spacing-hsp-xs);
  padding-left: var(--zw-spacing-hsp-xs);
}
.px-hsp-2xl {
  padding-left: var(--zw-spacing-hsp-2xl);
  padding-right: var(--zw-spacing-hsp-2xl);
}
.px-hsp-2xs {
  padding-left: var(--zw-spacing-hsp-2xs);
  padding-right: var(--zw-spacing-hsp-2xs);
}
.px-hsp-lg {
  padding-left: var(--zw-spacing-hsp-lg);
  padding-right: var(--zw-spacing-hsp-lg);
}
.px-hsp-md {
  padding-left: var(--zw-spacing-hsp-md);
  padding-right: var(--zw-spacing-hsp-md);
}
.px-hsp-sm {
  padding-left: var(--zw-spacing-hsp-sm);
  padding-right: var(--zw-spacing-hsp-sm);
}
.px-hsp-xl {
  padding-left: var(--zw-spacing-hsp-xl);
  padding-right: var(--zw-spacing-hsp-xl);
}
.px-hsp-xs {
  padding-left: var(--zw-spacing-hsp-xs);
  padding-right: var(--zw-spacing-hsp-xs);
}
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-\[2px\] {
  padding-top: 2px;
  padding-bottom: 2px;
}
.py-\[4px\] {
  padding-top: 4px;
  padding-bottom: 4px;
}
.py-\[calc\(var\(--spacing-vsp-xs\)_\+_0\.15rem\)\] {
  padding-top: calc(var(--spacing-vsp-xs) + 0.15rem);
  padding-bottom: calc(var(--spacing-vsp-xs) + 0.15rem);
}
.py-hsp-2xs {
  padding-top: var(--zw-spacing-hsp-2xs);
  padding-bottom: var(--zw-spacing-hsp-2xs);
}
.py-hsp-sm {
  padding-top: var(--zw-spacing-hsp-sm);
  padding-bottom: var(--zw-spacing-hsp-sm);
}
.py-hsp-xs {
  padding-top: var(--zw-spacing-hsp-xs);
  padding-bottom: var(--zw-spacing-hsp-xs);
}
.py-vsp-2xs {
  padding-top: var(--zw-spacing-vsp-2xs);
  padding-bottom: var(--zw-spacing-vsp-2xs);
}
.py-vsp-3xs {
  padding-top: var(--zw-spacing-vsp-3xs);
  padding-bottom: var(--zw-spacing-vsp-3xs);
}
.py-vsp-lg {
  padding-top: var(--zw-spacing-vsp-lg);
  padding-bottom: var(--zw-spacing-vsp-lg);
}
.py-vsp-md {
  padding-top: var(--zw-spacing-vsp-md);
  padding-bottom: var(--zw-spacing-vsp-md);
}
.py-vsp-sm {
  padding-top: var(--zw-spacing-vsp-sm);
  padding-bottom: var(--zw-spacing-vsp-sm);
}
.py-vsp-xl {
  padding-top: var(--zw-spacing-vsp-xl);
  padding-bottom: var(--zw-spacing-vsp-xl);
}
.py-vsp-xs {
  padding-top: var(--zw-spacing-vsp-xs);
  padding-bottom: var(--zw-spacing-vsp-xs);
}
.pb-\[50vh\] {
  padding-bottom: 50vh;
}
.pb-vsp-2xs {
  padding-bottom: var(--zw-spacing-vsp-2xs);
}
.pb-vsp-lg {
  padding-bottom: var(--zw-spacing-vsp-lg);
}
.pb-vsp-md {
  padding-bottom: var(--zw-spacing-vsp-md);
}
.pb-vsp-xl {
  padding-bottom: var(--zw-spacing-vsp-xl);
}
.pb-vsp-xs {
  padding-bottom: var(--zw-spacing-vsp-xs);
}
.pl-\[1\.25rem\] {
  padding-left: 1.25rem;
}
.pl-hsp-lg {
  padding-left: var(--zw-spacing-hsp-lg);
}
.pl-hsp-md {
  padding-left: var(--zw-spacing-hsp-md);
}
.pl-hsp-sm {
  padding-left: var(--zw-spacing-hsp-sm);
}
.pl-hsp-xl {
  padding-left: var(--zw-spacing-hsp-xl);
}
.pr-hsp-lg {
  padding-right: var(--zw-spacing-hsp-lg);
}
.pr-hsp-md {
  padding-right: var(--zw-spacing-hsp-md);
}
.pr-hsp-sm {
  padding-right: var(--zw-spacing-hsp-sm);
}
.pr-hsp-xl {
  padding-right: var(--zw-spacing-hsp-xl);
}
.pr-hsp-xs {
  padding-right: var(--zw-spacing-hsp-xs);
}
.pt-\[0\.15rem\] {
  padding-top: 0.15rem;
}
.pt-\[2px\] {
  padding-top: 2px;
}
.pt-vsp-3xs {
  padding-top: var(--zw-spacing-vsp-3xs);
}
.pt-vsp-md {
  padding-top: var(--zw-spacing-vsp-md);
}
.pt-vsp-sm {
  padding-top: var(--zw-spacing-vsp-sm);
}
.pt-vsp-xl {
  padding-top: var(--zw-spacing-vsp-xl);
}
.pt-vsp-xs {
  padding-top: var(--zw-spacing-vsp-xs);
}
.m-0 {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}
.m-auto {
  margin-top: auto;
  margin-right: auto;
  margin-bottom: auto;
  margin-left: auto;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-vsp-lg {
  margin-top: var(--zw-spacing-vsp-lg);
  margin-bottom: var(--zw-spacing-vsp-lg);
}
.my-vsp-md {
  margin-top: var(--zw-spacing-vsp-md);
  margin-bottom: var(--zw-spacing-vsp-md);
}
.-mb-px {
  margin-bottom: -1px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-vsp-2xs {
  margin-bottom: var(--zw-spacing-vsp-2xs);
}
.mb-vsp-lg {
  margin-bottom: var(--zw-spacing-vsp-lg);
}
.mb-vsp-md {
  margin-bottom: var(--zw-spacing-vsp-md);
}
.mb-vsp-sm {
  margin-bottom: var(--zw-spacing-vsp-sm);
}
.mb-vsp-xl {
  margin-bottom: var(--zw-spacing-vsp-xl);
}
.mb-vsp-xs {
  margin-bottom: var(--zw-spacing-vsp-xs);
}
.-ml-hsp-sm {
  margin-left: calc(var(--zw-spacing-hsp-sm) * -1);
}
.ml-\[calc\(var\(--spacing-hsp-xl\)_\+_1px\)\] {
  margin-left: calc(var(--spacing-hsp-xl) + 1px);
}
.ml-auto {
  margin-left: auto;
}
.ml-hsp-2xl {
  margin-left: var(--zw-spacing-hsp-2xl);
}
.ml-hsp-lg {
  margin-left: var(--zw-spacing-hsp-lg);
}
.ml-hsp-md {
  margin-left: var(--zw-spacing-hsp-md);
}
.ml-hsp-sm {
  margin-left: var(--zw-spacing-hsp-sm);
}
.ml-hsp-xl {
  margin-left: var(--zw-spacing-hsp-xl);
}
.ml-hsp-xs {
  margin-left: var(--zw-spacing-hsp-xs);
}
.mr-\[calc\(var\(--spacing-hsp-xl\)_\+_1px\)\] {
  margin-right: calc(var(--spacing-hsp-xl) + 1px);
}
.mr-hsp-sm {
  margin-right: var(--zw-spacing-hsp-sm);
}
.-mt-px {
  margin-top: -1px;
}
.mt-0 {
  margin-top: 0;
}
.mt-vsp-2xl {
  margin-top: var(--zw-spacing-vsp-2xl);
}
.mt-vsp-2xs {
  margin-top: var(--zw-spacing-vsp-2xs);
}
.mt-vsp-3xs {
  margin-top: var(--zw-spacing-vsp-3xs);
}
.mt-vsp-lg {
  margin-top: var(--zw-spacing-vsp-lg);
}
.mt-vsp-md {
  margin-top: var(--zw-spacing-vsp-md);
}
.mt-vsp-sm {
  margin-top: var(--zw-spacing-vsp-sm);
}
.mt-vsp-xl {
  margin-top: var(--zw-spacing-vsp-xl);
}
.mt-vsp-xs {
  margin-top: var(--zw-spacing-vsp-xs);
}
.gap-\[0\.3em\] {
  column-gap: 0.3em;
  row-gap: 0.3em;
}
.gap-\[clamp\(1\.5rem\,3vw\,4rem\)\] {
  column-gap: clamp(1.5rem,3vw,4rem);
  row-gap: clamp(1.5rem,3vw,4rem);
}
.gap-hsp-2xs {
  column-gap: var(--zw-spacing-hsp-2xs);
  row-gap: var(--zw-spacing-hsp-2xs);
}
.gap-hsp-lg {
  column-gap: var(--zw-spacing-hsp-lg);
  row-gap: var(--zw-spacing-hsp-lg);
}
.gap-hsp-md {
  column-gap: var(--zw-spacing-hsp-md);
  row-gap: var(--zw-spacing-hsp-md);
}
.gap-hsp-sm {
  column-gap: var(--zw-spacing-hsp-sm);
  row-gap: var(--zw-spacing-hsp-sm);
}
.gap-hsp-xl {
  column-gap: var(--zw-spacing-hsp-xl);
  row-gap: var(--zw-spacing-hsp-xl);
}
.gap-hsp-xs {
  column-gap: var(--zw-spacing-hsp-xs);
  row-gap: var(--zw-spacing-hsp-xs);
}
.gap-vsp-2xs {
  column-gap: var(--zw-spacing-vsp-2xs);
  row-gap: var(--zw-spacing-vsp-2xs);
}
.gap-vsp-3xs {
  column-gap: var(--zw-spacing-vsp-3xs);
  row-gap: var(--zw-spacing-vsp-3xs);
}
.gap-vsp-lg {
  column-gap: var(--zw-spacing-vsp-lg);
  row-gap: var(--zw-spacing-vsp-lg);
}
.gap-vsp-md {
  column-gap: var(--zw-spacing-vsp-md);
  row-gap: var(--zw-spacing-vsp-md);
}
.gap-vsp-xs {
  column-gap: var(--zw-spacing-vsp-xs);
  row-gap: var(--zw-spacing-vsp-xs);
}
.gap-x-hsp-2xs {
  column-gap: var(--zw-spacing-hsp-2xs);
}
.gap-x-hsp-lg {
  column-gap: var(--zw-spacing-hsp-lg);
}
.gap-x-hsp-md {
  column-gap: var(--zw-spacing-hsp-md);
}
.gap-x-hsp-sm {
  column-gap: var(--zw-spacing-hsp-sm);
}
.gap-x-hsp-xl {
  column-gap: var(--zw-spacing-hsp-xl);
}
.gap-x-hsp-xs {
  column-gap: var(--zw-spacing-hsp-xs);
}
.gap-y-vsp-2xs {
  row-gap: var(--zw-spacing-vsp-2xs);
}
.gap-y-vsp-3xs {
  row-gap: var(--zw-spacing-vsp-3xs);
}
.gap-y-vsp-lg {
  row-gap: var(--zw-spacing-vsp-lg);
}
.gap-y-vsp-md {
  row-gap: var(--zw-spacing-vsp-md);
}
.gap-y-vsp-xl {
  row-gap: var(--zw-spacing-vsp-xl);
}
.gap-y-vsp-xs {
  row-gap: var(--zw-spacing-vsp-xs);
}
.space-y-vsp-2xs > :not([hidden]) ~ :not([hidden]) {
  margin-top: var(--zw-spacing-vsp-2xs);
}
.space-y-vsp-lg > :not([hidden]) ~ :not([hidden]) {
  margin-top: var(--zw-spacing-vsp-lg);
}
.space-y-vsp-sm > :not([hidden]) ~ :not([hidden]) {
  margin-top: var(--zw-spacing-vsp-sm);
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overscroll-contain {
  overscroll-behavior: contain;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.z-dropdown {
  z-index: var(--zw-z-dropdown);
}
.z-local-1 {
  z-index: var(--zw-z-local-1);
}
.z-modal {
  z-index: var(--zw-z-modal);
}
.z-modal-backdrop {
  z-index: var(--zw-z-modal-backdrop);
}
.z-popover {
  z-index: var(--zw-z-popover);
}
.z-sidebar {
  z-index: var(--zw-z-sidebar);
}
.z-toolbar {
  z-index: var(--zw-z-toolbar);
}
.z-tooltip {
  z-index: var(--zw-z-tooltip);
}
.font-mono {
  font-family: var(--zw-font-family-mono);
}
.font-sans {
  font-family: var(--zw-font-family-sans);
}
.font-bold {
  font-weight: var(--zw-font-weight-bold);
}
.font-medium {
  font-weight: var(--zw-font-weight-medium);
}
.font-semibold {
  font-weight: var(--zw-font-weight-semibold);
}
.text-body {
  font-size: var(--zw-font-size-body);
}
.text-caption {
  font-size: var(--zw-font-size-caption);
}
.text-display {
  font-size: var(--zw-font-size-display);
}
.text-heading {
  font-size: var(--zw-font-size-heading);
}
.text-micro {
  font-size: var(--zw-font-size-micro);
}
.text-small {
  font-size: var(--zw-font-size-small);
}
.text-title {
  font-size: var(--zw-font-size-title);
}
.leading-none {
  line-height: var(--zw-leading-none);
}
.leading-normal {
  line-height: var(--zw-leading-normal);
}
.leading-relaxed {
  line-height: var(--zw-leading-relaxed);
}
.leading-snug {
  line-height: var(--zw-leading-snug);
}
.leading-tight {
  line-height: var(--zw-leading-tight);
}
.tracking-wide {
  letter-spacing: var(--zw-tracking-wide);
}
.tracking-wider {
  letter-spacing: var(--zw-tracking-wider);
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre {
  white-space: pre;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-all {
  word-break: break-all;
}
.break-words {
  overflow-wrap: break-word;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.no-underline {
  text-decoration-line: none;
}
.underline {
  text-decoration-line: underline;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.text-accent {
  color: var(--zw-color-accent);
}
.text-bg {
  color: var(--zw-color-bg);
}
.text-chat-assistant-text {
  color: var(--zw-color-chat-assistant-text);
}
.text-chat-user-text {
  color: var(--zw-color-chat-user-text);
}
.text-code-fg {
  color: var(--zw-color-code-fg);
}
.text-danger {
  color: var(--zw-color-danger);
}
.text-fg {
  color: var(--zw-color-fg);
}
.text-fg\/60 {
  color: color-mix(in oklab, var(--zw-color-fg) 60%, transparent);
}
.text-info {
  color: var(--zw-color-info);
}
.text-muted {
  color: var(--zw-color-muted);
}
.text-muted\/50 {
  color: color-mix(in oklab, var(--zw-color-muted) 50%, transparent);
}
.text-warning {
  color: var(--zw-color-warning);
}
.bg-\[\#fff\] {
  background-color: #fff;
}
.bg-accent {
  background-color: var(--zw-color-accent);
}
.bg-accent\/10 {
  background-color: color-mix(in oklab, var(--zw-color-accent) 10%, transparent);
}
.bg-bg {
  background-color: var(--zw-color-bg);
}
.bg-chat-assistant-bg {
  background-color: var(--zw-color-chat-assistant-bg);
}
.bg-chat-user-bg {
  background-color: var(--zw-color-chat-user-bg);
}
.bg-code-bg {
  background-color: var(--zw-color-code-bg);
}
.bg-fg {
  background-color: var(--zw-color-fg);
}
.bg-info\/10 {
  background-color: color-mix(in oklab, var(--zw-color-info) 10%, transparent);
}
.bg-info\/5 {
  background-color: color-mix(in oklab, var(--zw-color-info) 5%, transparent);
}
.bg-muted {
  background-color: var(--zw-color-muted);
}
.bg-overlay\/30 {
  background-color: color-mix(in oklab, var(--zw-color-overlay) 30%, transparent);
}
.bg-surface {
  background-color: var(--zw-color-surface);
}
.bg-surface\/50 {
  background-color: color-mix(in oklab, var(--zw-color-surface) 50%, transparent);
}
.bg-transparent {
  background-color: transparent;
}
.bg-warning\/10 {
  background-color: color-mix(in oklab, var(--zw-color-warning) 10%, transparent);
}
.bg-warning\/5 {
  background-color: color-mix(in oklab, var(--zw-color-warning) 5%, transparent);
}
.border {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
}
.border-y {
  border-top-width: 1px;
  border-top-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.border-b-2 {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}
.border-b-\[5px\] {
  border-bottom-width: 5px;
  border-bottom-style: solid;
}
.border-l {
  border-left-width: 1px;
  border-left-style: solid;
}
.border-l-0 {
  border-left-width: 0px;
  border-left-style: solid;
}
.border-l-\[3px\] {
  border-left-width: 3px;
  border-left-style: solid;
}
.border-r {
  border-right-width: 1px;
  border-right-style: solid;
}
.border-r-0 {
  border-right-width: 0px;
  border-right-style: solid;
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}
.border-t-\[2px\] {
  border-top-width: 2px;
  border-top-style: solid;
}
.border-t-\[3px\] {
  border-top-width: 3px;
  border-top-style: solid;
}
.border-accent {
  border-top-color: var(--zw-color-accent);
  border-right-color: var(--zw-color-accent);
  border-bottom-color: var(--zw-color-accent);
  border-left-color: var(--zw-color-accent);
}
.border-bg\/30 {
  border-top-color: color-mix(in oklab, var(--zw-color-bg) 30%, transparent);
  border-right-color: color-mix(in oklab, var(--zw-color-bg) 30%, transparent);
  border-bottom-color: color-mix(in oklab, var(--zw-color-bg) 30%, transparent);
  border-left-color: color-mix(in oklab, var(--zw-color-bg) 30%, transparent);
}
.border-danger {
  border-top-color: var(--zw-color-danger);
  border-right-color: var(--zw-color-danger);
  border-bottom-color: var(--zw-color-danger);
  border-left-color: var(--zw-color-danger);
}
.border-fg {
  border-top-color: var(--zw-color-fg);
  border-right-color: var(--zw-color-fg);
  border-bottom-color: var(--zw-color-fg);
  border-left-color: var(--zw-color-fg);
}
.border-info\/30 {
  border-top-color: color-mix(in oklab, var(--zw-color-info) 30%, transparent);
  border-right-color: color-mix(in oklab, var(--zw-color-info) 30%, transparent);
  border-bottom-color: color-mix(in oklab, var(--zw-color-info) 30%, transparent);
  border-left-color: color-mix(in oklab, var(--zw-color-info) 30%, transparent);
}
.border-muted {
  border-top-color: var(--zw-color-muted);
  border-right-color: var(--zw-color-muted);
  border-bottom-color: var(--zw-color-muted);
  border-left-color: var(--zw-color-muted);
}
.border-transparent {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.border-warning\/30 {
  border-top-color: color-mix(in oklab, var(--zw-color-warning) 30%, transparent);
  border-right-color: color-mix(in oklab, var(--zw-color-warning) 30%, transparent);
  border-bottom-color: color-mix(in oklab, var(--zw-color-warning) 30%, transparent);
  border-left-color: color-mix(in oklab, var(--zw-color-warning) 30%, transparent);
}
.border-dashed {
  border-style: dashed;
}
.border-none {
  border-style: none;
}
.border-solid {
  border-style: solid;
}
.border-collapse {
  border-collapse: collapse;
}
.rounded {
  border-top-left-radius: var(--zw-radius-default);
  border-top-right-radius: var(--zw-radius-default);
  border-bottom-right-radius: var(--zw-radius-default);
  border-bottom-left-radius: var(--zw-radius-default);
}
.rounded-\[0\.75rem\] {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}
.rounded-full {
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-bottom-left-radius: 9999px;
}
.rounded-lg {
  border-top-left-radius: var(--zw-radius-lg);
  border-top-right-radius: var(--zw-radius-lg);
  border-bottom-right-radius: var(--zw-radius-lg);
  border-bottom-left-radius: var(--zw-radius-lg);
}
.rounded-t-\[1rem\] {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-bl-\[0\.25rem\] {
  border-bottom-left-radius: 0.25rem;
}
.rounded-bl-\[1rem\] {
  border-bottom-left-radius: 1rem;
}
.rounded-bl-lg {
  border-bottom-left-radius: var(--zw-radius-lg);
}
.rounded-br-\[0\.25rem\] {
  border-bottom-right-radius: 0.25rem;
}
.rounded-br-\[1rem\] {
  border-bottom-right-radius: 1rem;
}
.outline-none {
  outline-style: none;
}
.shadow-lg {
  box-shadow: var(--zw-shadow-lg);
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.transition {
  transition-property: all;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.transition-\[background\,color\,border-color\] {
  transition-property: background,color,border-color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.transition-\[left\,color\] {
  transition-property: left,color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.transition-\[right\,color\] {
  transition-property: right,color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.transition-colors {
  transition-property: color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.transition-transform {
  transition-property: transform,translate,rotate,scale;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.duration-0 {
  transition-duration: 0ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.-translate-x-full {
  --zw-translate-x: -100%;
  translate: var(--zw-translate-x) var(--zw-translate-y);
}
.translate-x-0 {
  --zw-translate-x: 0;
  translate: var(--zw-translate-x) var(--zw-translate-y);
}
.rotate-180 {
  rotate: 180deg;
}
.rotate-90 {
  rotate: 90deg;
}
.accent-accent {
  accent-color: var(--zw-color-accent);
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.pointer-events-none {
  pointer-events: none;
}
.resize {
  resize: both;
}
.resize-x {
  resize: horizontal;
}
.select-none {
  user-select: none;
}
.list-disc {
  list-style-type: disc;
}
.list-none {
  list-style-type: none;
}
.aspect-\[1200\/630\] {
  aspect-ratio: 1200 / 630;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.align-top {
  vertical-align: top;
}
.box-border {
  box-sizing: border-box;
}
.object-contain {
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.visible {
  visibility: visible;
}
.placeholder\:text-muted::placeholder {
  color: var(--zw-color-muted);
}
.backdrop\:z-modal-backdrop::backdrop {
  z-index: var(--zw-z-modal-backdrop);
}
.backdrop\:bg-bg\/30::backdrop {
  background-color: color-mix(in oklab, var(--zw-color-bg) 30%, transparent);
}
.backdrop\:bg-bg\/80::backdrop {
  background-color: color-mix(in oklab, var(--zw-color-bg) 80%, transparent);
}
.backdrop\:bg-overlay\/60::backdrop {
  background-color: color-mix(in oklab, var(--zw-color-overlay) 60%, transparent);
}
.first\:mt-0:first-child {
  margin-top: 0;
}
.first\:border-t-0:first-child {
  border-top-width: 0px;
  border-top-style: solid;
}
.last\:pb-0:last-child {
  padding-bottom: 0;
}
.last\:border-b-0:last-child {
  border-bottom-width: 0px;
  border-bottom-style: solid;
}
.focus-within\:z-local-1:focus-within {
  z-index: var(--zw-z-local-1);
}
.focus-within\:border-accent:focus-within {
  border-top-color: var(--zw-color-accent);
  border-right-color: var(--zw-color-accent);
  border-bottom-color: var(--zw-color-accent);
  border-left-color: var(--zw-color-accent);
}
@media (hover: hover) {
  .hover\:z-local-1:hover {
    z-index: var(--zw-z-local-1);
  }
}
@media (hover: hover) {
  .hover\:underline:hover {
    text-decoration-line: underline;
  }
}
@media (hover: hover) {
  .hover\:text-accent:hover {
    color: var(--zw-color-accent);
  }
}
@media (hover: hover) {
  .hover\:text-accent-hover:hover {
    color: var(--zw-color-accent-hover);
  }
}
@media (hover: hover) {
  .hover\:text-fg:hover {
    color: var(--zw-color-fg);
  }
}
@media (hover: hover) {
  .hover\:bg-\[color-mix\(in_srgb\,var\(--color-surface\)_80\%\,var\(--color-fg\)_20\%\)\]:hover {
    background-color: color-mix(in srgb,var(--color-surface) 80%,var(--color-fg) 20%);
  }
}
@media (hover: hover) {
  .hover\:bg-accent-hover:hover {
    background-color: var(--zw-color-accent-hover);
  }
}
@media (hover: hover) {
  .hover\:bg-accent\/10:hover {
    background-color: color-mix(in oklab, var(--zw-color-accent) 10%, transparent);
  }
}
@media (hover: hover) {
  .hover\:bg-bg:hover {
    background-color: var(--zw-color-bg);
  }
}
@media (hover: hover) {
  .hover\:bg-bg\/10:hover {
    background-color: color-mix(in oklab, var(--zw-color-bg) 10%, transparent);
  }
}
@media (hover: hover) {
  .hover\:bg-danger\/10:hover {
    background-color: color-mix(in oklab, var(--zw-color-danger) 10%, transparent);
  }
}
@media (hover: hover) {
  .hover\:bg-surface:hover {
    background-color: var(--zw-color-surface);
  }
}
@media (hover: hover) {
  .hover\:border-accent:hover {
    border-top-color: var(--zw-color-accent);
    border-right-color: var(--zw-color-accent);
    border-bottom-color: var(--zw-color-accent);
    border-left-color: var(--zw-color-accent);
  }
}
@media (hover: hover) {
  .hover\:border-accent-hover:hover {
    border-top-color: var(--zw-color-accent-hover);
    border-right-color: var(--zw-color-accent-hover);
    border-bottom-color: var(--zw-color-accent-hover);
    border-left-color: var(--zw-color-accent-hover);
  }
}
@media (hover: hover) {
  .hover\:border-fg:hover {
    border-top-color: var(--zw-color-fg);
    border-right-color: var(--zw-color-fg);
    border-bottom-color: var(--zw-color-fg);
    border-left-color: var(--zw-color-fg);
  }
}
.focus\:underline:focus {
  text-decoration-line: underline;
}
.focus\:text-accent:focus {
  color: var(--zw-color-accent);
}
.focus\:border-accent:focus {
  border-top-color: var(--zw-color-accent);
  border-right-color: var(--zw-color-accent);
  border-bottom-color: var(--zw-color-accent);
  border-left-color: var(--zw-color-accent);
}
.focus\:outline-none:focus {
  outline-style: none;
}
.focus-visible\:underline:focus-visible {
  text-decoration-line: underline;
}
.focus-visible\:text-accent:focus-visible {
  color: var(--zw-color-accent);
}
.focus-visible\:text-fg:focus-visible {
  color: var(--zw-color-fg);
}
.focus-visible\:bg-accent\/10:focus-visible {
  background-color: color-mix(in oklab, var(--zw-color-accent) 10%, transparent);
}
.focus-visible\:bg-bg\/10:focus-visible {
  background-color: color-mix(in oklab, var(--zw-color-bg) 10%, transparent);
}
.focus-visible\:bg-surface:focus-visible {
  background-color: var(--zw-color-surface);
}
.focus-visible\:border-accent:focus-visible {
  border-top-color: var(--zw-color-accent);
  border-right-color: var(--zw-color-accent);
  border-bottom-color: var(--zw-color-accent);
  border-left-color: var(--zw-color-accent);
}
.focus-visible\:outline-2:focus-visible {
  outline-width: 2px;
  outline-style: solid;
}
.focus-visible\:outline-offset-2:focus-visible {
  outline-offset: 2px;
}
.focus-visible\:outline-accent:focus-visible {
  outline-color: var(--zw-color-accent);
}
.disabled\:text-muted:disabled {
  color: var(--zw-color-muted);
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.disabled\:cursor-default:disabled {
  cursor: default;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}
:where(.group:is([open], :popover-open)) .group-open\:rotate-90 {
  rotate: 90deg;
}
:where(.group:focus-within) .group-focus-within\:block {
  display: block;
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:block {
    display: block;
  }
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:underline {
    text-decoration-line: underline;
  }
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:text-accent {
    color: var(--zw-color-accent);
  }
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:text-bg {
    color: var(--zw-color-bg);
  }
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:text-fg {
    color: var(--zw-color-fg);
  }
}
@media (hover: hover) {
  :where(.group:hover) .group-hover\:bg-fg {
    background-color: var(--zw-color-fg);
  }
}
:where(.group:focus-visible) .group-focus-visible\:underline {
  text-decoration-line: underline;
}
:where(.group:focus-visible) .group-focus-visible\:text-accent {
  color: var(--zw-color-accent);
}
:where(.group:focus-visible) .group-focus-visible\:text-fg {
  color: var(--zw-color-fg);
}
@media (hover: hover) {
  :where(.peer:hover) ~ .peer-hover\:text-accent {
    color: var(--zw-color-accent);
  }
}
@media (hover: hover) {
  :where(.peer:hover) ~ .peer-hover\:border-accent {
    border-top-color: var(--zw-color-accent);
    border-right-color: var(--zw-color-accent);
    border-bottom-color: var(--zw-color-accent);
    border-left-color: var(--zw-color-accent);
  }
}
:where(.peer:focus-visible) ~ .peer-focus-visible\:text-accent {
  color: var(--zw-color-accent);
}
:where(.peer:focus-visible) ~ .peer-focus-visible\:border-accent {
  border-top-color: var(--zw-color-accent);
  border-right-color: var(--zw-color-accent);
  border-bottom-color: var(--zw-color-accent);
  border-left-color: var(--zw-color-accent);
}
@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
}
@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }
}
@media (min-width: 640px) {
  .sm\:grid {
    display: grid;
  }
}
@media (min-width: 640px) {
  .sm\:hidden {
    display: none;
  }
}
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}
@media (min-width: 640px) {
  .sm\:col-start-2 {
    grid-column-start: 2;
  }
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (min-width: 640px) {
  .sm\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
    grid-template-columns: minmax(0,1fr) auto;
  }
}
@media (min-width: 640px) {
  .sm\:grid-cols-subgrid {
    grid-template-columns: subgrid;
  }
}
@media (min-width: 640px) {
  .sm\:row-span-2 {
    grid-row: span 2 / span 2;
  }
}
@media (min-width: 640px) {
  .sm\:row-start-1 {
    grid-row-start: 1;
  }
}
@media (min-width: 640px) {
  .sm\:items-center {
    align-items: center;
  }
}
@media (min-width: 640px) {
  .sm\:justify-between {
    justify-content: space-between;
  }
}
@media (min-width: 640px) {
  .sm\:h-auto {
    height: auto;
  }
}
@media (min-width: 640px) {
  .sm\:max-h-\[80vh\] {
    max-height: 80vh;
  }
}
@media (min-width: 640px) {
  .sm\:max-w-\[52rem\] {
    max-width: 52rem;
  }
}
@media (min-width: 640px) {
  .sm\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 640px) {
  .sm\:my-\[10vh\] {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
}
@media (min-width: 640px) {
  .sm\:mr-0 {
    margin-right: 0;
  }
}
@media (min-width: 640px) {
  .sm\:gap-x-hsp-xl {
    column-gap: var(--zw-spacing-hsp-xl);
  }
}
@media (min-width: 640px) {
  .sm\:border {
    border-top-width: 1px;
    border-top-style: solid;
    border-right-width: 1px;
    border-right-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-left-width: 1px;
    border-left-style: solid;
  }
}
@media (min-width: 640px) {
  .sm\:border-muted {
    border-top-color: var(--zw-color-muted);
    border-right-color: var(--zw-color-muted);
    border-bottom-color: var(--zw-color-muted);
    border-left-color: var(--zw-color-muted);
  }
}
@media (min-width: 640px) {
  .sm\:rounded-lg {
    border-top-left-radius: var(--zw-radius-lg);
    border-top-right-radius: var(--zw-radius-lg);
    border-bottom-right-radius: var(--zw-radius-lg);
    border-bottom-left-radius: var(--zw-radius-lg);
  }
}
@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }
}
@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
}
@media (min-width: 1024px) {
  .lg\:flex-col {
    flex-direction: column;
  }
}
@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .lg\:flex-1 {
    flex: 1 1 0%;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-\[repeat\(auto-fit\,minmax\(12rem\,1fr\)\)\] {
    grid-template-columns: repeat(auto-fit,minmax(12rem,1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:justify-start {
    justify-content: flex-start;
  }
}
@media (min-width: 1024px) {
  .lg\:h-\[90vh\] {
    height: 90vh;
  }
}
@media (min-width: 1024px) {
  .lg\:max-h-\[90vh\] {
    max-height: 90vh;
  }
}
@media (min-width: 1024px) {
  .lg\:max-w-\[52\.5rem\] {
    max-width: 52.5rem;
  }
}
@media (min-width: 1024px) {
  .lg\:w-\[90vw\] {
    width: 90vw;
  }
}
@media (min-width: 1024px) {
  .lg\:w-\[clamp\(16rem\,25\%\,22rem\)\] {
    width: clamp(16rem,25%,22rem);
  }
}
@media (min-width: 1024px) {
  .lg\:px-hsp-2xl {
    padding-left: var(--zw-spacing-hsp-2xl);
    padding-right: var(--zw-spacing-hsp-2xl);
  }
}
@media (min-width: 1024px) {
  .lg\:py-vsp-2xl {
    padding-top: var(--zw-spacing-vsp-2xl);
    padding-bottom: var(--zw-spacing-vsp-2xl);
  }
}
@media (min-width: 1024px) {
  .lg\:pr-hsp-sm {
    padding-right: var(--zw-spacing-hsp-sm);
  }
}
@media (min-width: 1024px) {
  .lg\:pt-vsp-2xl {
    padding-top: var(--zw-spacing-vsp-2xl);
  }
}
@media (min-width: 1024px) {
  .lg\:m-auto {
    margin-top: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
  }
}
@media (min-width: 1024px) {
  .lg\:ml-\[var\(--zd-sidebar-w\)\] {
    margin-left: var(--zd-sidebar-w);
  }
}
@media (min-width: 1024px) {
  .lg\:gap-hsp-xl {
    column-gap: var(--zw-spacing-hsp-xl);
    row-gap: var(--zw-spacing-hsp-xl);
  }
}
@media (min-width: 1024px) {
  .lg\:text-left {
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .lg\:border {
    border-top-width: 1px;
    border-top-style: solid;
    border-right-width: 1px;
    border-right-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-left-width: 1px;
    border-left-style: solid;
  }
}
@media (min-width: 1024px) {
  .lg\:border-fg {
    border-top-color: var(--zw-color-fg);
    border-right-color: var(--zw-color-fg);
    border-bottom-color: var(--zw-color-fg);
    border-left-color: var(--zw-color-fg);
  }
}
@media (min-width: 1024px) {
  .lg\:border-solid {
    border-style: solid;
  }
}
@media (min-width: 1280px) {
  .xl\:flex {
    display: flex;
  }
}
@media (min-width: 1280px) {
  .xl\:hidden {
    display: none;
  }
}

