*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@font-face {
  font-family: "Inter";
  src: url("/kit/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("/kit/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/kit/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/kit/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Courier New"), local("Liberation Mono"), local("DejaVu Sans Mono"), local("Menlo"), local("Consolas");
  font-weight: 400 700;
  size-adjust: 99.98%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  --radius-small: 6px;
  --radius: 8px;
  --radius-large: 12px;
  --radius-extra-large: 16px;
  --radius-round: 9999px;
  --font-size: 1rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --app-header-height: 44px;
  --menu-gap: 0px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --speed-quick: 100ms;
  --speed-fade: 150ms;
  --speed-regular: 250ms;

  --weight-normal: 450;
  --weight-medium: 500;
  --weight-semibold: 600;

  --kit-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --kit-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon {
  flex: none;
}

.logo {
  display: inline-flex;
}

.logo svg {
  stroke: none;
}

.logo-plate {
  fill: var(--bg-brand);
  stroke: none;
}

.logo-glyph {
  fill: none;
  stroke: var(--text-on-brand);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.brand > * {
  flex: none;
}

.brand > .brand-name {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button {
  --button-height: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--button-height);
  padding: 0 var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-round);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--weight-medium);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  transition: background-color var(--speed-fade) var(--ease-out-cubic), color var(--speed-fade) var(--ease-out-cubic), box-shadow var(--speed-fade) var(--ease-out-cubic), transform var(--speed-quick) var(--ease-out-cubic);
}

.button:active {
  transform: translateY(0.5px);
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.5;
}

.button-small {
  --button-height: 28px;
  padding: 0 var(--space-2);
  font-size: 12px;
}

.button-large {
  --button-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

.button-icon {
  width: var(--button-height);
  padding: 0;
}

.button-primary {
  background: var(--bg-primary);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-small);
}

.button-primary:hover {
  background: var(--bg-primary-hover);
}

.button-accent {
  background: var(--bg-accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-small);
}

.button-accent:hover {
  background: var(--bg-accent-hover);
}

.button-secondary {
  background: var(--bg-control);
}

.button-secondary:hover {
  background: var(--bg-control-hover);
}

.button-secondary::after,
.segmented > label::after,
.tabs > a::after,
.kit-select::after,
.toast::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--border-control), var(--shadow-small);
  pointer-events: none;
}

.button-secondary:hover::after,
.kit-select:is(:hover, [aria-expanded="true"])::after {
  box-shadow: 0 0 0 1px var(--border-control-hover), var(--shadow-small);
}

.segmented > label:has(input:checked)::after {
  box-shadow: 0 0 0 1px var(--border-control-hover);
}

.tabs > a[aria-current]::after {
  box-shadow: 0 0 0 1px var(--border-control);
}

.toast::after {
  box-shadow: 0 0 0 1px var(--border-control), var(--shadow-medium);
}

.button-ghost:hover,
.button-ghost[aria-pressed="true"] {
  background: var(--bg-hover);
  color: var(--text);
}

.button-trailing {
  transition: transform 200ms var(--ease-out);
}

.button:hover .button-trailing {
  transform: translateX(2px);
}

.input,
.textarea {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  transition: border-color var(--speed-fade) ease;
}

.input-large {
  height: 44px;
  border-radius: 10px;
}

.textarea {
  height: auto;
  min-height: 88px;
  padding: 8px 12px;
  line-height: 1.5;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-subtle);
}

.input:hover,
.textarea:hover {
  border-color: var(--border-strong);
}

.input:disabled,
.textarea:disabled,
input:is([type="checkbox"], [type="radio"]):disabled {
  opacity: 0.5;
}

.switch,
:where(label:has(> input:is([type="checkbox"], [type="radio"]))) {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.switch {
  padding-inline-end: 6px;
}

.switch input {
  appearance: none;
  position: relative;
  flex: none;
  width: 30px;
  height: 20px;
  margin: 0;
  border-radius: var(--radius-round);
  background: var(--bg-toggle);
  transition: background-color var(--speed-fade) ease-out;
}

.switch input::after {
  content: "";
  position: absolute;
  inset: 3px 13px 3px 3px;
  border-radius: var(--radius-round);
  background: var(--bg-knob);
  transition: left var(--speed-quick) ease-out, right var(--speed-quick) ease-out 50ms;
}

.switch input:enabled:hover {
  background: var(--bg-toggle-hover);
}

.switch input:not(:checked):enabled:hover::after {
  right: 11px;
}

.switch input:checked {
  background: var(--bg-accent);
}

.switch input:checked:enabled:hover {
  background: var(--bg-accent-hover);
}

.switch input:checked::after {
  inset: 3px 3px 3px 13px;
  transition: left var(--speed-quick) ease-out 50ms, right var(--speed-quick) ease-out;
}

.switch input:checked:enabled:hover::after {
  left: 11px;
}

:where(input:is([type="checkbox"], [type="radio"]):not(.switch input, .segmented input)) {
  appearance: none;
  display: inline-grid;
  place-content: center;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid var(--border-toggle);
  border-radius: 3px;
  vertical-align: -2px;
  transition: background-color var(--speed-fade) ease-out, border-color var(--speed-fade) ease-out;
}

:where(input[type="radio"]:not(.segmented input)) {
  border-radius: var(--radius-round);
}

:where(input:is([type="checkbox"], [type="radio"]):not(.switch input, .segmented input)):enabled:hover {
  border-color: var(--border-toggle-hover);
}

:where(input:is([type="checkbox"], [type="radio"]):not(.switch input, .segmented input)):checked,
:where(input[type="checkbox"]:not(.switch input)):indeterminate {
  border-color: var(--border-accent);
  background: var(--bg-accent);
}

:where(input[type="radio"]:not(.segmented input)):checked {
  background: var(--bg-knob);
  box-shadow: inset 0 0 0 3px var(--border-accent);
}

:where(input[type="checkbox"]:not(.switch input)):is(:checked, :indeterminate)::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  color: var(--text-on-accent);
  mask: var(--kit-check) center / 14px no-repeat;
}

:where(input[type="checkbox"]:not(.switch input)):indeterminate::after {
  width: 8px;
  height: 2px;
  border-radius: 1px;
  mask: none;
}

.field {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  color: var(--text);
  font-size: 13px;
  font-weight: var(--weight-medium);
  line-height: 16px;
}

.field > :first-child {
  display: flex;
  flex: 1 1 min(240px, 50%);
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.field > div:not(:first-child) {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.field p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: var(--weight-normal);
  line-height: 15px;
}

.field + .field::before {
  content: "";
  position: absolute;
  inset: -1px var(--space-4) auto;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .field {
    gap: var(--space-2);
    padding-inline: calc(var(--space-4) * 2 / 3);
  }
}

.segmented {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 5px;
  background: var(--bg-surface);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}

.segmented > label,
.tabs > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  height: 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-round);
  background: var(--bg-control);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: var(--weight-medium);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--speed-fade), color var(--speed-fade);
}

.segmented > label {
  flex: 1;
  margin: 2px;
  padding: 0 var(--space-2);
}

.tabs > a {
  padding: 0 10px;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.segmented > label:is(:hover, :has(input:checked)),
.tabs > a:is(:hover, [aria-current]) {
  color: var(--text);
}

.segmented > label:has(input:checked),
.tabs > a[aria-current] {
  background: var(--bg-control-selected);
}

.segmented label:has(input:focus-visible) {
  outline: 1px solid var(--border-focus);
  outline-offset: 2px;
}

.segmented input:focus-visible {
  outline: none;
}

@media (pointer: coarse) {
  .button,
  .switch,
  .kit-select,
  .tabs > a,
  .input,
  .search-trigger,
  summary,
  :where(label:has(> input:is([type="checkbox"], [type="radio"]))) {
    min-width: 44px;
    min-height: 44px;
  }

  .switch,
  :where(label:has(> input:is([type="checkbox"], [type="radio"]))) {
    justify-content: center;
  }

  .input,
  .textarea {
    font-size: 16px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: 24px;
  padding: 0 var(--space-2) 0 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-round);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  text-decoration: none;
}

.badge-accent {
  border-color: var(--border-accent-soft);
  background: var(--bg-accent-soft);
  color: var(--text-accent);
}

.badge-success {
  border-color: var(--border-success);
  background: var(--bg-success);
  color: var(--text-success);
}

.badge-warning {
  border-color: var(--border-warning);
  background: var(--bg-warning);
  color: var(--text-warning);
}

.badge-danger {
  border-color: var(--border-danger);
  background: var(--bg-danger);
  color: var(--text-danger);
}

.badge-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  border-radius: var(--radius-small);
}

.badge-link {
  position: relative;
  z-index: 1;
  transition: color var(--speed-fade) var(--ease-out-cubic), border-color var(--speed-fade) var(--ease-out-cubic), background-color var(--speed-fade) var(--ease-out-cubic), transform var(--speed-fade) var(--ease-out);
}

.badge-link:hover {
  border-color: var(--border-accent-soft);
  background: var(--bg-accent-soft);
  color: var(--text-accent);
  transform: translateY(-1px);
}

.kbd-group {
  display: inline-flex;
  gap: 3px;
}

.kbd-group kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-medium);
  line-height: 1;
}

:root:not([data-theme]) [data-kit="theme"] {
  display: none;
}

:root[data-theme-switching],
:root[data-theme-switching] *,
:root[data-theme-switching] ::before,
:root[data-theme-switching] ::after {
  transition: none !important;
}

.theme-icon-sun {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-icon-moon {
    display: none;
  }
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 32px;
  min-width: 220px;
  padding: 0 6px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--text-subtle);
  font-family: var(--font-sans);
  font-size: 13.5px;
  box-shadow: var(--shadow-small);
  transition: border-color var(--speed-fade) var(--ease-out-cubic), color var(--speed-fade) var(--ease-out-cubic);
}

.search-trigger:hover {
  border-color: var(--border-strong);
  color: var(--text-muted);
}

.search-trigger .kbd-group {
  margin-left: auto;
}

.app-sidebar .search-trigger {
  width: 100%;
  min-width: 0;
}

@media (max-width: 720px) {
  .search-trigger:not(.app-sidebar *) {
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    justify-content: center;
  }

  .search-trigger:not(.app-sidebar *) span {
    display: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .search-trigger .kbd-group {
    display: none;
  }
}

.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-sizing: border-box;
  padding: var(--space-6) var(--space-4);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-large);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--speed-fade) var(--ease-out-cubic), background-color var(--speed-fade) var(--ease-out-cubic);
}

.drop-zone:hover,
.drop-zone[data-dragover] {
  border-color: var(--border-accent);
}

.drop-zone[data-dragover] {
  background: var(--bg-accent-soft);
}

.drop-zone[hidden] {
  display: none;
}

.drop-zone[aria-busy="true"] {
  cursor: progress;
}

.drop-zone-icon {
  color: var(--text-subtle);
}

.drop-zone-label {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: var(--weight-medium);
}

.drop-zone-hint,
.drop-zone-status {
  margin: 0;
  font-size: 12.5px;
}

.drop-zone-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-1) 0 0;
}

.drop-zone-status:empty {
  display: none;
}

.drop-zone-status[data-error] {
  color: var(--text-danger);
}

.empty-state {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-sizing: border-box;
  margin: 0;
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: min(16vh, 140px) var(--space-4) var(--space-4);
  background: var(--bg-backdrop);
  backdrop-filter: blur(2px);
  font-family: var(--font-sans);
  animation: fade-in var(--speed-fade) var(--ease-out-cubic) both;
}

.palette {
  width: min(640px, 100%);
  max-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-extra-large);
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: var(--shadow-large);
  color: var(--text);
  animation: palette-in 220ms var(--ease-out) both;
}

.palette-search {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-5);
  border-bottom: 1px solid var(--border);
  color: var(--text-subtle);
}

.palette-search input {
  flex: 1;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

@media (pointer: coarse) {
  .palette-search input {
    font-size: 16px;
  }
}

.palette-search input::placeholder {
  color: var(--text-subtle);
}

.palette-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2);
  overscroll-behavior: contain;
}

.palette-group {
  padding: var(--space-3) var(--space-3) var(--space-1);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: var(--weight-medium);
}

.palette-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 42px;
  padding: 8px var(--space-3);
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  text-align: left;
}

.palette-item .icon {
  color: var(--text-subtle);
}

.palette-item[aria-selected="true"] {
  background: var(--bg-hover);
  color: var(--text);
}

.palette-item[aria-selected="true"] .icon {
  color: var(--text);
}

.palette-item .label {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.palette-item .hint {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: var(--text-subtle);
  font-size: 12.5px;
  text-align: end;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.palette-item mark {
  background: none;
  color: var(--text-accent);
  font-weight: var(--weight-semibold);
}

.palette-empty {
  padding: var(--space-10) var(--space-4);
  color: var(--text-subtle);
  text-align: center;
}

.palette-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 10px var(--space-4);
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 12px;
}

.palette-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes palette-in {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(-6px);
  }
}

.toast-region {
  position: fixed;
  right: clamp(var(--space-4), (100vw - 384px) / 2, var(--space-6));
  bottom: 52px;
  z-index: 1100;
  display: grid;
  gap: var(--space-2);
  width: min(384px, calc(100vw - 2 * var(--space-4)));
  font-family: var(--font-sans);
}

.toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-large);
  background: var(--bg-surface);
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
  animation: toast-in 400ms ease both;
}

.toast > .icon {
  color: var(--text-accent);
}

.toast strong {
  display: block;
  font-weight: var(--weight-medium);
}

.toast > div {
  flex: 1;
  min-width: 0;
}

.toast-action {
  align-self: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-small);
  background: var(--bg-raised);
  font-size: 12.5px;
  font-weight: var(--weight-semibold);
}

.toast-action:hover {
  background: var(--bg-hover);
}

.toast p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--text-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.toast-dismiss {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin: -4px -4px -4px 0;
  padding: 6px;
  border: 0;
  border-radius: var(--radius-round);
  background: none;
  color: var(--text-subtle);
  transition: color var(--speed-fade);
}

.toast-dismiss:hover {
  color: var(--text);
}

.toast[data-leaving] {
  animation: toast-out 400ms ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}

.dialog {
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-large);
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font-sans);
  box-shadow: var(--shadow-large);
}

.dialog::backdrop {
  background: var(--bg-backdrop);
}

.dialog-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: inherit;
  padding: var(--space-5);
  overflow-y: auto;
  color: var(--text-subtle);
  font-size: 15px;
  font-weight: var(--weight-normal);
  line-height: 23px;
}

.dialog-content p {
  margin: 0;
}

.dialog-title {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: var(--weight-semibold);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: 14px;
}

.dialog-actions > :first-child:nth-last-child(n + 3) {
  margin-inline-end: auto;
}

.dialog-sheet {
  width: min(480px, 100vw);
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  border-width: 0 0 0 1px;
  border-radius: 0;
}

.dialog-sheet > .dialog-content {
  height: 100%;
}

.dialog-sheet .dialog-actions {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  background: var(--bg-surface);
}

.tooltip {
  position: fixed;
  inset: auto;
  top: var(--kit-float-top, 0);
  left: var(--kit-float-left, 0);
  z-index: 1100;
  max-width: min(320px, calc(100vw - 16px));
  margin: 0;
  padding: 5px var(--space-2);
  overflow: visible;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--text-muted);
  font: var(--weight-normal) 12px/18px var(--font-sans);
  box-shadow: var(--shadow-small);
}

.kit-chevron {
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: var(--kit-chevron) center / contain no-repeat;
  opacity: 0.7;
  transition: transform var(--speed-fade) var(--ease-out);
}

[aria-expanded="true"]:not([role="treeitem"]) > .kit-chevron,
details[open] > summary .kit-chevron {
  transform: rotate(180deg);
}

[role="treeitem"][aria-expanded="false"] .kit-chevron {
  transform: rotate(-90deg);
}

:where(summary:has(.kit-chevron)) {
  min-height: 32px;
}

summary:has(> .kit-chevron) {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

summary:has(> .kit-chevron)::-webkit-details-marker {
  display: none;
}

summary > .kit-chevron {
  margin-inline-start: auto;
}

.kit-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: 30px;
  padding: 0 28px 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--bg-control);
  color: var(--text-muted);
  font: 400 13px/16px var(--font-sans);
  text-align: start;
  transition: background-color var(--speed-fade), color var(--speed-fade);
}

.kit-select:hover,
.kit-select[aria-expanded="true"] {
  border-color: transparent;
  background: var(--bg-control-hover);
}

.kit-select > .kit-chevron {
  position: absolute;
  right: 5px;
  width: 20px;
  height: 20px;
}

.kit-select.select-small {
  height: 24px;
  padding: 0 18px 0 8px;
  font-size: 12px;
  line-height: 15px;
}

.kit-select.select-small > .kit-chevron {
  right: 1px;
}

.kit-select:disabled {
  opacity: 0.5;
}

.kit-select-value {
  display: grid;
  flex: 1;
  min-width: 0;
}

.kit-select-value > span {
  grid-area: 1 / 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kit-select-value > span:not([data-current]) {
  visibility: hidden;
}

.kit-select + select {
  display: none !important;
}

.kit-menu,
.popover {
  position: fixed;
  inset: auto;
  top: var(--kit-float-top, 0);
  left: var(--kit-float-left, 0);
  z-index: 1000;
  max-width: calc(100vw - 16px);
  margin: 0;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font-sans);
  animation: palette-in 140ms var(--ease-out);
}

.kit-menu {
  min-width: var(--kit-float-min-width, 180px);
  max-height: min(320px, calc(100dvh - 16px));
  padding: var(--space-1);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-large);
}

.popover {
  width: 302px;
  padding: var(--space-2) 0 0;
  overflow: visible;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
}

.popover > * {
  margin: 0;
  padding: var(--space-2) var(--space-4);
}

.popover > * + * {
  border-top: 1px solid var(--border);
}

.kit-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: 6px 30px 6px 10px;
  border: 0;
  border-radius: var(--radius-small);
  background: none;
  color: var(--text-muted);
  font: 400 13.5px/1.3 var(--font-sans);
  text-align: start;
  text-decoration: none;
  white-space: nowrap;
}

.kit-menu-item[hidden] {
  display: none;
}

.kit-menu-item + .kit-menu-item {
  margin-top: var(--menu-gap);
}

.kit-menu-item:hover,
.kit-menu-item:focus-visible,
.kit-menu-item[data-active] {
  outline: none;
  background: var(--bg-hover);
  color: var(--text);
}

.kit-menu-item[aria-selected="true"],
.kit-menu-item[aria-checked="true"],
.kit-menu-item[aria-current="page"] {
  color: var(--text);
  font-weight: var(--weight-medium);
}

.kit-menu-item[aria-selected="true"]::after,
.kit-menu-item[aria-checked="true"]::after,
.kit-menu-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 14px;
  height: 14px;
  background: currentColor;
  color: var(--text-accent);
  mask: var(--kit-check) center / contain no-repeat;
}

.kit-menu-item[aria-disabled="true"] {
  opacity: 0.45;
}

.kit-menu-item .icon {
  color: var(--text-subtle);
}

.kit-menu-hint {
  margin-inline-start: auto;
  padding-inline-start: var(--space-4);
  color: var(--text-subtle);
  font-size: 12px;
}

.kit-menu-group {
  padding: var(--space-2) 10px var(--space-1);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: var(--weight-medium);
}

.kit-menu[role="menu"] {
  max-height: calc(100dvh - 16px);
}

.kit-menu > hr {
  margin: var(--space-1) calc(-1 * var(--space-1));
  border: 0;
  border-top: 1px solid var(--border);
}

.kit-avatar {
  --kit-avatar-size: 20px;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--kit-avatar-size);
  height: var(--kit-avatar-size);
  border-radius: var(--radius-round);
  background: var(--bg-accent-soft);
  color: var(--text-accent);
  font-size: calc(var(--kit-avatar-size) * 0.25 + 4px);
  font-weight: var(--weight-semibold);
  line-height: 1;
  letter-spacing: 0;
}

.kit-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: var(--space-2);
  align-items: center;
  width: 100%;
  padding: var(--space-2);
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
  font: inherit;
  line-height: 1.3;
  text-align: start;
}

.kit-user:hover,
.kit-user[aria-expanded="true"] {
  background: var(--bg-hover);
}

.kit-user > .kit-avatar,
.kit-user > .kit-chevron {
  grid-row: span 2;
}

.kit-user > .kit-avatar {
  --kit-avatar-size: 32px;
}

.kit-user > b,
.kit-user > small {
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kit-user > b {
  font-size: 13px;
  font-weight: var(--weight-medium);
}

.kit-user > small {
  color: var(--text-subtle);
  font-size: 12px;
}

.app-sidebar > .kit-user {
  margin-top: auto;
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 1px solid var(--border-focus);
  outline-offset: var(--focus-offset, 2px);
}

:where(button, summary, select, [popovertarget], [role="button"], [role="option"], [role="tab"], [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="switch"], input:is([type="checkbox"], [type="radio"]), label:is([for], :has(input:is([type="checkbox"], [type="radio"])))) {
  cursor: pointer;
}

:where(:disabled, [aria-disabled="true"], label:has(input:disabled)) {
  cursor: not-allowed;
}

:root:has(.site-header) {
  --site-header-height: 56px;
  scroll-padding-top: calc(var(--site-header-height) + var(--space-4));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: var(--bg-page-translucent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  box-sizing: border-box;
  max-width: var(--page-width, 1180px);
  height: var(--site-header-height);
  margin: 0 auto;
  margin-inline: max(0px, round(down, (100% - var(--page-width, 1180px)) / 2, 1px)) auto;
  padding: 0 var(--space-6);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: var(--radius-small);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--speed-fade) var(--ease-out-cubic), background-color var(--speed-fade) var(--ease-out-cubic);
}

.site-nav a:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav > .site-nav-switch,
.site-nav[data-folded] > a {
  display: none;
}

.site-nav[data-folded] {
  flex: none;
}

.site-nav[data-folded] > .site-nav-switch {
  display: inline-flex;
}

.site-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

@media (max-width: 720px) {
  .site-header-inner {
    gap: var(--space-2);
    padding: 0 var(--space-4);
  }

  .site-nav a {
    padding: 6px 8px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  padding-block: clamp(var(--space-12), 9vw, var(--space-24)) clamp(var(--space-12), 7vw, var(--space-20));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 720px;
  z-index: -1;
  background: radial-gradient(closest-side, var(--bg-glow), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--bg-grid) 1px, transparent 1px), linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero .eyebrow {
  margin-bottom: var(--space-6);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--text) 30%, var(--text-faded));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--text-accent), var(--bg-accent) 60%, var(--bg-accent-partner));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 600px;
  margin-top: var(--space-6);
  color: var(--text-muted);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  font-size: 20px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
}

.section-heading > :not(h2) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-subtle);
  font-size: 14px;
}

.section-heading > a:hover {
  color: var(--text);
}

.kit-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 var(--space-3);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.kit-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-family: var(--font-sans);
}

.kit-nav-home {
  --focus-offset: -10px;

  display: inline-grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -11px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.kit-nav-home:hover .logo-plate {
  fill: var(--bg-brand-hover);
}

.kit-nav-sep {
  color: var(--text-subtle);
  font-size: 15px;
  font-weight: 400;
}

.kit-nav-title {
  min-width: 0;
  margin: 0;
  font: inherit;
}

.kit-nav-switch,
.site-nav-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 30px;
  padding: 0 6px 0 8px;
  margin-inline-start: -4px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
  font: var(--weight-semibold) 14px/1 var(--font-sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color var(--speed-fade) var(--ease-out-cubic);
}

.kit-nav-switch:hover,
.kit-nav-switch[aria-expanded="true"],
.site-nav-switch:hover,
.site-nav-switch[aria-expanded="true"] {
  background: var(--bg-hover);
}

.card {
  padding: var(--space-4);
  overflow: clip;
  border-radius: 10px;
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-small);
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  background: var(--bg-hover);
}

.card:has(> .table) {
  container-type: inline-size;
}

.card > :is(.table, .field) {
  width: calc(100% + 2 * var(--space-4));
  margin: 0 calc(-1 * var(--space-4));
}

.card > :is(.table, .field):first-child {
  margin-top: calc(-1 * var(--space-4));
}

.card > :is(.table, .field):last-child {
  margin-bottom: calc(-1 * var(--space-4));
}

.table {
  position: relative;
  width: 100%;
  border-spacing: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: var(--weight-normal);
  font-variant-numeric: tabular-nums;
}

.table thead th {
  height: 32px;
  padding: 0 var(--space-3);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: var(--weight-medium);
  text-align: start;
  white-space: nowrap;
}

.app-main .card > .table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.table :is(td, tbody th) {
  height: 40px;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
  font-weight: inherit;
  text-align: start;
  overflow-wrap: anywhere;
}

.table tr:last-child > :is(td, tbody th) {
  border-bottom: 0;
}

.table tbody tr:has(a[href]) {
  position: relative;
}

.table tbody tr:has(a[href]):hover {
  background: var(--bg-hover);
}

.table a {
  color: inherit;
  text-decoration: none;
}

.table td:first-child > a[href]::after {
  content: "";
  position: absolute;
  inset: 0;
}

@container (max-width: 520px) {
  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .table tr {
    --lead-basis: 0%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1) var(--space-2);
    padding: 10px var(--space-3);
    border-bottom: 1px solid var(--border);
  }

  .table tr:has(> :nth-child(3)) {
    --lead-basis: 100%;
  }

  .table tr:last-child {
    border-bottom: 0;
  }

  .table :is(td, tbody th) {
    height: auto;
    padding: 0;
    border-bottom: 0;
    color: var(--text-subtle);
    font-size: 12px;
  }

  .table :is(td, tbody th):empty {
    display: none;
  }

  .table tr > :only-child {
    flex: 1;
  }

  .table :where(tr:has(> :nth-child(3))) > [data-label]::before {
    content: attr(data-label) " ";
  }

  .table :is(td.lead, tbody th[scope="row"]),
  .table tr:not(:has(> .lead, > th[scope="row"], > :only-child)) > td:first-child {
    order: -1;
    flex: 1 0 var(--lead-basis);
    color: var(--text);
    font-size: 13px;
    font-weight: var(--weight-medium);
  }

  .table :is(td.lead, tbody th[scope="row"])::before,
  .table tr:not(:has(> .lead, > th[scope="row"], > :only-child)) > td:first-child::before {
    content: none;
  }
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--weight-medium);
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.breadcrumbs li + li::before {
  content: "\203A" / "";
  margin: 0 var(--space-2) 0 3px;
  color: var(--text-subtle);
}

.breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 5px 0 var(--space-1);
  border-radius: var(--radius-small);
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  background: var(--bg-hover);
}

.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
}

.app-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: var(--space-4);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  background: var(--bg-page);
  color: var(--text-subtle);
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 var(--space-2);
  border-radius: var(--radius);
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.app-nav details {
  margin-top: var(--space-4);
}

.app-nav details > a {
  margin-top: 1px;
}

.app-nav summary {
  justify-content: flex-start;
  gap: 2px;
  min-height: 28px;
  margin-inline-start: 5px;
  padding: 0 var(--space-1);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: var(--weight-medium);
}

.app-nav summary > .kit-chevron {
  margin-inline-start: 0;
}

.app-nav details:not([open]) > summary .kit-chevron {
  transform: rotate(-90deg);
}

.app-nav details[open] > summary .kit-chevron {
  transform: none;
}

.app-nav a:hover,
.app-nav a[aria-current="page"],
.app-nav summary:hover {
  background: var(--bg-current);
  color: var(--text);
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: var(--space-2) var(--space-2) var(--space-2) 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--bg-surface);
  box-shadow: var(--shadow-small);
}

.app-main > :not(.app-header) {
  flex: 1 1 auto;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-scrollbar) transparent;
}

.app-header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--app-header-height);
  padding: 0 10px 0 var(--space-2);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.app-sidebar-toggle {
  display: none;
}

@media (max-width: 720px), print {
  .app-shell {
    display: block;
    height: auto;
    overflow: visible;
  }

  .app-sidebar:not(:popover-open) {
    display: none;
  }

  .app-sidebar:popover-open {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 85vw);
    height: 100dvh;
    border-right: 1px solid var(--border-strong);
    box-shadow: var(--shadow-large);
  }

  .app-sidebar::backdrop {
    background: var(--bg-backdrop);
  }

  .app-nav a,
  .app-nav summary {
    min-height: 44px;
  }

  .app-main {
    display: block;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app-main > :not(.app-header) {
    overflow: visible;
  }

  .app-header {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .app-main .card > .table thead th {
    top: var(--app-header-height);
  }

  .app-sidebar-toggle {
    display: inline-flex;
  }
}

@media print {
  .app-sidebar-toggle,
  .app-header-actions {
    display: none;
  }

  .app-header {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .palette-backdrop,
  .palette,
  .toast,
  .toast[data-leaving],
  .kit-menu,
  .popover {
    animation: none;
  }

  .kit-chevron {
    transition: none;
  }
}
