diff design_system/src/styles/elements.css @ 258:60a876c4587a

[ui] Add semantic primitive ownership Build a layered Zenbu token and sizing system, make authored controls use native-underneath primitives, migrate mrjunejune without imposing visual surfaces, and document/enforce HTML ownership in the catalog and wiki. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Wed, 05 Aug 2026 05:25:40 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/design_system/src/styles/elements.css	Wed Aug 05 05:25:40 2026 -0700
@@ -0,0 +1,2030 @@
+:where(
+  zen-accordion,
+  zen-alert-dialog,
+  zen-aspect-ratio,
+  zen-attachment,
+  zen-avatar,
+  zen-badge,
+  zen-breadcrumb,
+  zen-bubble,
+  zen-box,
+  zen-button-group,
+  zen-calendar,
+  zen-carousel,
+  zen-chart,
+  zen-checkbox,
+  zen-collapsible,
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-data-table,
+  zen-date-picker,
+  zen-dialog,
+  zen-direction,
+  zen-drawer,
+  zen-dropdown-menu,
+  zen-empty,
+  zen-form,
+  zen-hover-card,
+  zen-heading,
+  zen-icon,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-item,
+  zen-kbd,
+  zen-label,
+  zen-marker,
+  zen-menubar,
+  zen-message,
+  zen-message-scroller,
+  zen-native-select,
+  zen-navigation-menu,
+  zen-pagination,
+  zen-popover,
+  zen-progress,
+  zen-radio-group,
+  zen-resizable,
+  zen-scroll-area,
+  zen-select,
+  zen-separator,
+  zen-sheet,
+  zen-sidebar,
+  zen-skeleton,
+  zen-slider,
+  zen-spinner,
+  zen-switch,
+  zen-table,
+  zen-text,
+  zen-tabs,
+  zen-textarea,
+  zen-toggle,
+  zen-toggle-group,
+  zen-tooltip,
+  zen-typography
+) {
+  box-sizing: border-box;
+  color: var(--zenbu-sys-color-text-primary);
+  font-family: var(--zenbu-sys-font-family-ui);
+}
+
+:where(
+  zen-button,
+  zen-calendar,
+  zen-checkbox,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-field,
+  zen-form,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+) {
+  --zenbu-control-height: var(--zenbu-sys-control-height-md);
+  --zenbu-control-padding-block: var(--zenbu-sys-control-padding-block-md);
+  --zenbu-control-padding-inline: var(--zenbu-sys-control-padding-inline-md);
+  --zenbu-control-gap: var(--zenbu-sys-control-gap-md);
+  --zenbu-control-font-size: var(--zenbu-sys-font-size-md);
+  --zenbu-control-line-height: var(--zenbu-sys-control-line-height-md);
+  --zenbu-control-icon-size: var(--zenbu-sys-icon-size-md);
+}
+
+:where(
+  zen-button,
+  zen-calendar,
+  zen-checkbox,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-field,
+  zen-form,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+)[size="xs"] {
+  --zenbu-control-height: var(--zenbu-sys-control-height-xs);
+  --zenbu-control-padding-block: var(--zenbu-sys-control-padding-block-xs);
+  --zenbu-control-padding-inline: var(--zenbu-sys-control-padding-inline-xs);
+  --zenbu-control-gap: var(--zenbu-sys-control-gap-xs);
+  --zenbu-control-font-size: var(--zenbu-sys-font-size-xs);
+  --zenbu-control-line-height: var(--zenbu-sys-control-line-height-xs);
+  --zenbu-control-icon-size: var(--zenbu-sys-icon-size-xs);
+}
+
+:where(
+  zen-button,
+  zen-calendar,
+  zen-checkbox,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-field,
+  zen-form,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+)[size="sm"] {
+  --zenbu-control-height: var(--zenbu-sys-control-height-sm);
+  --zenbu-control-padding-block: var(--zenbu-sys-control-padding-block-sm);
+  --zenbu-control-padding-inline: var(--zenbu-sys-control-padding-inline-sm);
+  --zenbu-control-gap: var(--zenbu-sys-control-gap-sm);
+  --zenbu-control-font-size: var(--zenbu-sys-font-size-sm);
+  --zenbu-control-line-height: var(--zenbu-sys-control-line-height-sm);
+  --zenbu-control-icon-size: var(--zenbu-sys-icon-size-sm);
+}
+
+:where(
+  zen-button,
+  zen-calendar,
+  zen-checkbox,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-field,
+  zen-form,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+)[size="lg"] {
+  --zenbu-control-height: var(--zenbu-sys-control-height-lg);
+  --zenbu-control-padding-block: var(--zenbu-sys-control-padding-block-lg);
+  --zenbu-control-padding-inline: var(--zenbu-sys-control-padding-inline-lg);
+  --zenbu-control-gap: var(--zenbu-sys-control-gap-lg);
+  --zenbu-control-font-size: var(--zenbu-sys-font-size-lg);
+  --zenbu-control-line-height: var(--zenbu-sys-control-line-height-lg);
+  --zenbu-control-icon-size: var(--zenbu-sys-icon-size-lg);
+}
+
+:where(
+  zen-button,
+  zen-calendar,
+  zen-checkbox,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-field,
+  zen-form,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+)[size="xl"] {
+  --zenbu-control-height: var(--zenbu-sys-control-height-xl);
+  --zenbu-control-padding-block: var(--zenbu-sys-control-padding-block-xl);
+  --zenbu-control-padding-inline: var(--zenbu-sys-control-padding-inline-xl);
+  --zenbu-control-gap: var(--zenbu-sys-control-gap-xl);
+  --zenbu-control-font-size: var(--zenbu-sys-font-size-xl);
+  --zenbu-control-line-height: var(--zenbu-sys-control-line-height-xl);
+  --zenbu-control-icon-size: var(--zenbu-sys-icon-size-xl);
+}
+
+zen-box {
+  display: block;
+  padding: var(--zenbu-box-padding, 0);
+}
+
+zen-box[padding="xs"] { --zenbu-box-padding: var(--zenbu-sys-padding-xs); }
+zen-box[padding="sm"] { --zenbu-box-padding: var(--zenbu-sys-padding-sm); }
+zen-box[padding="md"] { --zenbu-box-padding: var(--zenbu-sys-padding-md); }
+zen-box[padding="lg"] { --zenbu-box-padding: var(--zenbu-sys-padding-lg); }
+zen-box[padding="xl"] { --zenbu-box-padding: var(--zenbu-sys-padding-xl); }
+
+:where(zen-text, zen-heading) {
+  display: contents;
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-md);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-md);
+}
+
+:where(zen-text, zen-heading)[size="xs"] {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-xs);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-xs);
+}
+
+:where(zen-text, zen-heading)[size="sm"] {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-sm);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-sm);
+}
+
+:where(zen-text, zen-heading)[size="md"] {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-md);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-md);
+}
+
+:where(zen-text, zen-heading)[size="lg"] {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-lg);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-lg);
+}
+
+:where(zen-text, zen-heading)[size="xl"] {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-xl);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-xl);
+}
+
+zen-text > :where(span, p, small, strong) {
+  font-size: var(--zenbu-type-font-size);
+  line-height: var(--zenbu-type-line-height);
+}
+
+zen-heading {
+  --zenbu-type-font-size: var(--zenbu-sys-font-size-2xl);
+  --zenbu-type-line-height: var(--zenbu-sys-line-height-xl);
+}
+
+zen-heading > :where(h1, h2, h3, h4, h5, h6) {
+  font-size: var(--zenbu-type-font-size);
+  font-weight: var(--zenbu-sys-font-weight-display);
+  line-height: var(--zenbu-type-line-height);
+}
+
+zen-icon {
+  --zenbu-icon-size: 1em;
+  display: inline-grid;
+  width: var(--zenbu-icon-size, 1em);
+  height: var(--zenbu-icon-size, 1em);
+  flex: 0 0 auto;
+  place-items: center;
+  color: inherit;
+  vertical-align: -0.125em;
+}
+
+zen-icon > svg {
+  display: block;
+  width: 100%;
+  height: 100%;
+}
+
+zen-link {
+  display: contents;
+}
+
+zen-link[effect="paw"] > a > [data-zen-link-decoration] {
+  width: 1em;
+  height: 1em;
+  margin-inline-end: var(--zenbu-sys-space-related);
+  color: var(--zenbu-sys-color-link-decoration);
+  animation: zen-paw-step 600ms ease-out both;
+}
+
+zen-link[effect="paw"] > a:hover > [data-zen-link-decoration] {
+  animation: zen-paw-wiggle 400ms ease-in-out infinite;
+}
+
+:where(
+  zen-alert-dialog,
+  zen-calendar,
+  zen-combobox,
+  zen-command,
+  zen-date-picker,
+  zen-dialog,
+  zen-drawer,
+  zen-form,
+  zen-input-otp,
+  zen-popover,
+  zen-progress,
+  zen-radio-group,
+  zen-resizable,
+  zen-select,
+  zen-sheet,
+  zen-sidebar,
+  zen-slider,
+  zen-tabs
+) {
+  display: block;
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) {
+  display: block;
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) details {
+  interpolate-size: allow-keywords;
+  border-block-end: 1px solid color-mix(
+    in srgb,
+    var(--zenbu-sys-color-border-default) 28%,
+    transparent
+  );
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) summary {
+  display: flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-control);
+  padding: var(--zenbu-sys-space-control) 0;
+  font-weight: 800;
+  list-style: none;
+  cursor: pointer;
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) summary::marker,
+:where(
+  zen-accordion,
+  zen-collapsible
+) summary::-webkit-details-marker {
+  display: none;
+  content: "";
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) summary > [data-zen-disclosure-icon] {
+  margin-inline-start: auto;
+  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) details[open] > summary > [data-zen-disclosure-icon] {
+  transform: rotate(180deg);
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) details::details-content {
+  block-size: 0;
+  overflow: clip;
+  opacity: 0;
+  transition:
+    block-size 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
+    content-visibility 220ms allow-discrete,
+    opacity 180ms ease;
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) details[open]::details-content {
+  block-size: auto;
+  opacity: 1;
+}
+
+:where(
+  zen-accordion,
+  zen-collapsible
+) details > :not(summary) {
+  margin-block-start: 0;
+  padding-block-end: var(--zenbu-sys-space-control);
+  color: var(--zenbu-sys-color-text-secondary);
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) > [data-zen-trigger],
+:where(
+  zen-dropdown-menu,
+  zen-menubar,
+  zen-navigation-menu,
+  zen-popover
+) [data-zen-trigger],
+zen-empty > button,
+zen-form button,
+zen-input-group button {
+  min-height: var(--zenbu-control-height);
+  padding:
+    var(--zenbu-control-padding-block)
+    var(--zenbu-control-padding-inline);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  box-shadow: var(--zenbu-sys-shadow-subtle);
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+  font-weight: 800;
+  cursor: pointer;
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) dialog {
+  width: min(32rem, calc(100vi - 2rem));
+  padding: var(--zenbu-sys-space-container);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  box-shadow: var(--zenbu-sys-shadow-raised);
+  background: var(--zenbu-sys-color-surface-raised);
+  color: var(--zenbu-sys-color-text-primary);
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) dialog[open],
+:where(
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-hover-card,
+  zen-menubar,
+  zen-navigation-menu,
+  zen-popover,
+  zen-tooltip
+) :where(
+  [data-zen-content],
+  [role="listbox"],
+  [role="menu"]
+):not([hidden]) {
+  animation: zen-surface-open 160ms ease-out;
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) dialog::backdrop {
+  background: var(--zenbu-sys-color-scrim);
+  backdrop-filter: blur(3px);
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) dialog > h3 {
+  margin-block-start: 0;
+}
+
+:where(
+  zen-alert-dialog,
+  zen-dialog,
+  zen-drawer,
+  zen-sheet
+) dialog button {
+  min-height: 2.35rem;
+  margin-inline-end: var(--zenbu-sys-space-related);
+  padding-inline: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+  font-weight: 700;
+  cursor: pointer;
+}
+
+zen-alert-dialog dialog button[value="confirm"] {
+  background: var(--zenbu-sys-color-danger-foreground);
+  color: var(--zenbu-sys-color-text-inverse);
+}
+
+:where(zen-sheet, zen-drawer) dialog {
+  position: fixed;
+  max-width: none;
+  max-height: none;
+  margin: 0;
+}
+
+:where(zen-sheet, zen-drawer)[placement="right"] dialog {
+  inset: 0 0 0 auto;
+  width: min(28rem, 92vi);
+  height: 100vb;
+  border-radius: var(--zenbu-sys-radius-container) 0 0 var(--zenbu-sys-radius-container);
+}
+
+:where(zen-sheet, zen-drawer)[placement="left"] dialog {
+  inset: 0 auto 0 0;
+  width: min(28rem, 92vi);
+  height: 100vb;
+  border-radius: 0 var(--zenbu-sys-radius-container) var(--zenbu-sys-radius-container) 0;
+}
+
+:where(zen-sheet, zen-drawer)[placement="bottom"] dialog,
+zen-drawer:not([placement]) dialog {
+  inset: auto 0 0;
+  width: 100vi;
+  border-radius: var(--zenbu-sys-radius-container) var(--zenbu-sys-radius-container) 0 0;
+}
+
+zen-aspect-ratio {
+  --zenbu-aspect-ratio: 16 / 9;
+  display: block;
+  aspect-ratio: var(--zenbu-aspect-ratio, 16 / 9);
+  overflow: hidden;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-aspect-ratio > * {
+  width: 100%;
+  height: 100%;
+}
+
+.demo-media {
+  display: grid;
+  place-items: center;
+  background: var(--zenbu-sys-color-surface-subtle);
+  color: var(--zenbu-sys-color-text-primary);
+  font-size: var(--zenbu-sys-font-size-lg);
+  font-weight: 900;
+}
+
+zen-attachment {
+  display: grid;
+  grid-template-columns: 3rem minmax(0, 1fr) auto;
+  align-items: center;
+  gap: var(--zenbu-sys-space-control);
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-attachment > span {
+  display: grid;
+  width: 3rem;
+  height: 3rem;
+  place-items: center;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: var(--zenbu-sys-color-info-foreground);
+  color: var(--zenbu-sys-color-text-inverse);
+  font-size: var(--zenbu-sys-font-size-xs);
+  font-weight: 900;
+}
+
+zen-attachment > div,
+zen-item > div {
+  display: grid;
+}
+
+:where(zen-attachment, zen-item) small {
+  color: var(--zenbu-sys-color-text-secondary);
+}
+
+:where(zen-attachment, zen-item) > button {
+  border: 0;
+  background: transparent;
+  color: inherit;
+  cursor: pointer;
+}
+
+zen-avatar {
+  --zenbu-avatar-size: var(--zenbu-sys-control-height-md);
+  display: inline-grid;
+  width: var(--zenbu-avatar-size, 2.75rem);
+  height: var(--zenbu-avatar-size, 2.75rem);
+  overflow: hidden;
+  place-items: center;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 50%;
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+  font-weight: 900;
+}
+
+zen-avatar > img {
+  width: 100%;
+  height: 100%;
+  object-fit: cover;
+}
+
+zen-badge {
+  display: inline-flex;
+  align-items: center;
+  min-height: 1.75rem;
+  padding: 0 var(--zenbu-sys-space-related);
+  border: 1px solid var(--zenbu-sys-color-border-default);
+  border-radius: 999px;
+  background: var(--zenbu-sys-color-surface-default);
+  font-size: var(--zenbu-sys-font-size-xs);
+  font-weight: 850;
+}
+
+zen-badge[tone="success"] {
+  background: var(--zenbu-sys-color-success-foreground);
+  color: var(--zenbu-sys-color-text-inverse);
+}
+
+zen-badge[tone="danger"] {
+  background: var(--zenbu-sys-color-danger-foreground);
+  color: var(--zenbu-sys-color-text-inverse);
+}
+
+:where(zen-breadcrumb, zen-pagination) nav {
+  display: flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+}
+
+zen-breadcrumb ol {
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+  margin: 0;
+  padding: 0;
+  list-style: none;
+}
+
+zen-breadcrumb li:not(:last-child)::after {
+  margin-inline-start: var(--zenbu-sys-space-related);
+  color: var(--zenbu-sys-color-text-secondary);
+  content: "/";
+}
+
+:where(zen-breadcrumb, zen-pagination) a {
+  color: var(--zenbu-sys-color-info-foreground);
+  text-underline-offset: 0.2em;
+}
+
+zen-bubble {
+  display: block;
+  width: fit-content;
+  max-width: min(42rem, 88%);
+  padding: var(--zenbu-sys-space-control) var(--zenbu-sys-space-group);
+  border-radius: var(--zenbu-sys-radius-container) var(--zenbu-sys-radius-container)
+    var(--zenbu-sys-radius-container) var(--zenbu-sys-radius-control-small);
+  background: var(--zenbu-sys-color-surface-raised);
+  box-shadow: var(--zenbu-sys-shadow-subtle);
+}
+
+zen-bubble[align="end"] {
+  margin-inline-start: auto;
+  border-radius: var(--zenbu-sys-radius-container) var(--zenbu-sys-radius-container)
+    var(--zenbu-sys-radius-control-small) var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+zen-bubble > :first-child {
+  margin-block-start: 0;
+}
+
+zen-bubble > :last-child {
+  margin-block-end: 0;
+}
+
+zen-button-group {
+  display: inline-flex;
+}
+
+zen-button-group > :where(button, a) {
+  min-height: 2.5rem;
+  padding-inline: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 0;
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+  font-weight: 750;
+  cursor: pointer;
+}
+
+zen-button-group > :first-child {
+  border-radius: var(--zenbu-sys-radius-control) 0 0 var(--zenbu-sys-radius-control);
+}
+
+zen-button-group > :last-child {
+  border-radius: 0 var(--zenbu-sys-radius-control) var(--zenbu-sys-radius-control) 0;
+}
+
+zen-button-group > :not(:first-child) {
+  margin-inline-start: calc(-1 * var(--zenbu-sys-stroke-width-emphasis));
+}
+
+:where(
+  zen-calendar,
+  zen-date-picker,
+  zen-slider
+) {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+  max-width: 22rem;
+}
+
+:where(
+  zen-calendar,
+  zen-date-picker,
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-select,
+  zen-slider,
+  zen-textarea
+):not([appearance="plain"]) :where(input, select, textarea) {
+  appearance: none;
+  min-height: var(--zenbu-control-height);
+  box-sizing: border-box;
+  padding:
+    var(--zenbu-control-padding-block)
+    var(--zenbu-control-padding-inline);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+  font-family: inherit;
+  font-size: var(--zenbu-control-font-size);
+  line-height: var(--zenbu-control-line-height);
+}
+
+:where(
+  zen-input,
+  zen-input-group,
+  zen-input-otp,
+  zen-native-select,
+  zen-select,
+  zen-textarea,
+  zen-calendar,
+  zen-date-picker
+):not([appearance="plain"]) :where(input, select, textarea),
+zen-field:not([appearance="plain"]) > :where(input, select, textarea) {
+  appearance: none;
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+}
+
+:where(zen-native-select, zen-select) {
+  position: relative;
+}
+
+:where(zen-native-select, zen-select) select {
+  width: 100%;
+  padding-inline-end: 2.75rem;
+  cursor: pointer;
+}
+
+:where(zen-native-select, zen-select) > [data-zen-select-icon] {
+  position: absolute;
+  inset-inline-end: var(--zenbu-sys-space-control);
+  inset-block-end: 0.9rem;
+  pointer-events: none;
+}
+
+:where(
+  zen-calendar,
+  zen-date-picker,
+  zen-input,
+  zen-native-select,
+  zen-select,
+  zen-textarea
+):not([appearance="plain"]) {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+}
+
+zen-textarea:not([appearance="plain"]) textarea {
+  width: 100%;
+  min-height: 8rem;
+  resize: vertical;
+}
+
+:where(
+  zen-checkbox,
+  zen-input,
+  zen-native-select,
+  zen-radio-group,
+  zen-select,
+  zen-slider,
+  zen-switch,
+  zen-textarea
+)[appearance="plain"] {
+  display: contents;
+  color: inherit;
+  font-family: inherit;
+}
+
+:where(zen-calendar, zen-date-picker) > input[data-zen-calendar-input] {
+  position: absolute;
+  width: 1px;
+  height: 1px;
+  overflow: hidden;
+  clip-path: inset(50%);
+  pointer-events: none;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-generated="calendar"] {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+}
+
+zen-date-picker [data-zen-generated="calendar"] {
+  position: relative;
+}
+
+:where(zen-calendar, zen-date-picker) :where(
+  [data-zen-date-trigger],
+  [data-zen-calendar-previous],
+  [data-zen-calendar-next],
+  [data-zen-calendar-day]
+) {
+  appearance: none;
+  border: 0;
+  background: transparent;
+  color: var(--zenbu-sys-color-text-primary);
+  font: inherit;
+  cursor: pointer;
+}
+
+zen-date-picker [data-zen-date-trigger] {
+  display: inline-flex;
+  min-height: var(--zenbu-control-height);
+  align-items: center;
+  gap: var(--zenbu-control-gap);
+  justify-content: flex-start;
+  padding:
+    var(--zenbu-control-padding-block)
+    var(--zenbu-control-padding-inline);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  box-shadow: var(--zenbu-sys-shadow-subtle);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-date-picker[data-invalid] [data-zen-date-trigger],
+zen-calendar[data-invalid] [data-zen-calendar-view] {
+  border-color: var(--zenbu-sys-color-danger-foreground);
+}
+
+zen-date-picker [data-zen-calendar-panel] {
+  position: absolute;
+  z-index: 40;
+  inset-block-start: calc(100% + var(--zenbu-sys-space-related));
+  inset-inline-start: 0;
+  width: min(21rem, calc(100vi - 2rem));
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  box-shadow: var(--zenbu-sys-shadow-raised);
+  background: var(--zenbu-sys-color-surface-raised);
+  transform-origin: top left;
+  animation: zen-calendar-open 160ms ease-out;
+}
+
+zen-date-picker [data-zen-calendar-panel][hidden] {
+  display: none;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-view] {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+  padding: var(--zenbu-sys-space-control);
+  border: 1px solid var(--zenbu-sys-color-border-subtle);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-date-picker [data-zen-calendar-view] {
+  padding: 0;
+  border: 0;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-view] > header {
+  display: grid;
+  grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+  text-align: center;
+}
+
+:where(zen-calendar, zen-date-picker) :where(
+  [data-zen-calendar-previous],
+  [data-zen-calendar-next]
+) {
+  display: grid;
+  width: 2.5rem;
+  height: 2.5rem;
+  place-items: center;
+  border: 1px solid var(--zenbu-sys-color-border-subtle);
+  border-radius: 50%;
+}
+
+:where(zen-calendar, zen-date-picker) :where(
+  [data-zen-calendar-previous],
+  [data-zen-calendar-next]
+):hover {
+  background: var(--zenbu-sys-color-action-neutral-background-hover);
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-weekdays],
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-grid] > [role="row"] {
+  display: grid;
+  grid-template-columns: repeat(7, minmax(2rem, 1fr));
+  gap: var(--zenbu-sys-space-icon-label);
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-weekdays] > span {
+  padding-block: var(--zenbu-sys-space-icon-label);
+  color: var(--zenbu-sys-color-text-secondary);
+  font-size: var(--zenbu-sys-font-size-xs);
+  font-weight: 800;
+  text-align: center;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-grid] {
+  display: grid;
+  gap: var(--zenbu-sys-space-icon-label);
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day] {
+  aspect-ratio: 1;
+  min-width: 2rem;
+  border-radius: 50%;
+  font-size: var(--zenbu-sys-font-size-sm);
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day]:hover {
+  background: var(--zenbu-sys-color-action-neutral-background-hover);
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day][data-outside] {
+  color: var(--zenbu-sys-color-text-tertiary);
+  opacity: 0.55;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day][data-today] {
+  outline: 1px solid var(--zenbu-sys-color-info-foreground);
+  outline-offset: -2px;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day][aria-selected="true"] {
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+  font-weight: 900;
+}
+
+:where(zen-calendar, zen-date-picker) [data-zen-calendar-day]:disabled {
+  color: var(--zenbu-sys-color-text-disabled);
+  cursor: not-allowed;
+}
+
+@keyframes zen-calendar-open {
+  from {
+    opacity: 0;
+    transform: translateY(calc(-1 * var(--zenbu-sys-space-icon-label))) scale(0.98);
+  }
+}
+
+@keyframes zen-paw-step {
+  from {
+    opacity: 0;
+    transform: scale(0);
+  }
+  to {
+    opacity: 1;
+    transform: scale(1);
+  }
+}
+
+@keyframes zen-paw-wiggle {
+  0%,
+  100% {
+    transform: rotate(-15deg);
+  }
+  50% {
+    transform: rotate(15deg);
+  }
+}
+
+@keyframes zen-surface-open {
+  from {
+    opacity: 0;
+    transform: translateY(calc(-1 * var(--zenbu-sys-space-icon-label))) scale(0.98);
+  }
+}
+
+@media print {
+  zen-link[effect="paw"] > a > [data-zen-link-decoration] {
+    display: none;
+  }
+}
+
+zen-input-group {
+  display: flex;
+  align-items: stretch;
+  width: min(100%, 36rem);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-input-group > :where(span, button) {
+  display: inline-flex;
+  align-items: center;
+  padding-inline: var(--zenbu-sys-space-control);
+}
+
+zen-input-group input {
+  min-width: 0;
+  flex: 1;
+  border: 0;
+  border-radius: 0;
+}
+
+zen-input-group button {
+  min-height: auto;
+  border-width: 0 0 0 var(--zenbu-sys-stroke-width-emphasis);
+  border-radius: 0 var(--zenbu-sys-radius-control-small) var(--zenbu-sys-radius-control-small) 0;
+  box-shadow: none;
+}
+
+zen-carousel {
+  position: relative;
+  display: grid;
+  grid-template-columns: auto minmax(0, 1fr) auto;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+}
+
+zen-carousel [data-zen-viewport] {
+  display: flex;
+  grid-column: 1 / -1;
+  gap: var(--zenbu-sys-space-control);
+  overflow: auto;
+  scroll-snap-type: inline mandatory;
+  scrollbar-width: none;
+}
+
+zen-carousel [data-zen-viewport] > * {
+  min-width: min(22rem, 82vi);
+  min-height: 9rem;
+  padding: var(--zenbu-sys-space-container);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-raised);
+  scroll-snap-align: start;
+}
+
+zen-carousel :where([data-zen-prev], [data-zen-next]) {
+  width: 2.5rem;
+  height: 2.5rem;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 50%;
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+  cursor: pointer;
+}
+
+zen-carousel [data-zen-prev] {
+  grid-column: 1;
+}
+
+zen-carousel [data-zen-next] {
+  grid-column: 3;
+}
+
+zen-chart {
+  display: block;
+  min-height: 15rem;
+  padding: var(--zenbu-sys-space-group);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-chart [data-zen-chart-plot] {
+  display: flex;
+  height: 12rem;
+  align-items: end;
+  justify-content: space-around;
+  gap: var(--zenbu-sys-space-control);
+  border-block-end: 1px solid var(--zenbu-sys-color-border-default);
+}
+
+zen-chart [data-zen-chart-plot] > span {
+  --zenbu-chart-value: 0%;
+  position: relative;
+  width: min(3rem, 15%);
+  height: var(--zenbu-chart-value);
+  min-height: 1rem;
+  border-radius: var(--zenbu-sys-radius-control-small) var(--zenbu-sys-radius-control-small) 0 0;
+  background: var(--zenbu-sys-color-data-1);
+}
+
+zen-chart [data-zen-chart-plot] > span:nth-child(2) {
+  background: var(--zenbu-sys-color-data-2);
+}
+
+zen-chart [data-zen-chart-plot] > span:nth-child(3) {
+  background: var(--zenbu-sys-color-data-3);
+}
+
+zen-chart [data-zen-chart-plot] > span:nth-child(4) {
+  background: var(--zenbu-sys-color-data-4);
+}
+
+zen-chart [data-zen-chart-plot] > span:nth-child(5) {
+  background: var(--zenbu-sys-color-data-5);
+}
+
+zen-chart [data-zen-chart-plot] > span::after {
+  position: absolute;
+  inset-block-start: 100%;
+  inset-inline-start: 50%;
+  padding-block-start: var(--zenbu-sys-space-icon-label);
+  color: var(--zenbu-sys-color-text-secondary);
+  content: attr(data-label);
+  font-size: var(--zenbu-sys-font-size-xs);
+  transform: translateX(-50%);
+}
+
+:where(
+  zen-checkbox:not([appearance="plain"]),
+  zen-switch:not([appearance="plain"])
+) label,
+zen-radio-group:not([appearance="plain"]) label {
+  display: flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+  width: fit-content;
+  cursor: pointer;
+}
+
+:where(
+  zen-checkbox:not([appearance="plain"]),
+  zen-radio-group:not([appearance="plain"])
+) input {
+  appearance: none;
+  display: inline-grid;
+  width: 1.2rem;
+  height: 1.2rem;
+  flex: 0 0 auto;
+  place-content: center;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  background: var(--zenbu-sys-color-surface-default);
+  cursor: pointer;
+}
+
+zen-checkbox:not([appearance="plain"]) input {
+  border-radius: var(--zenbu-sys-radius-control-small);
+}
+
+zen-checkbox:not([appearance="plain"]) input::before {
+  width: 0.55rem;
+  height: 0.3rem;
+  border-block-end: 2px solid var(--zenbu-sys-color-action-primary-foreground);
+  border-inline-start: 2px solid var(--zenbu-sys-color-action-primary-foreground);
+  content: "";
+  opacity: 0;
+  transform: translateY(-0.08rem) rotate(-45deg);
+}
+
+zen-checkbox:not([appearance="plain"]) input:checked {
+  background: var(--zenbu-sys-color-action-primary-background);
+}
+
+zen-checkbox:not([appearance="plain"]) input:checked::before {
+  opacity: 1;
+}
+
+zen-radio-group:not([appearance="plain"]) input {
+  border-radius: 50%;
+}
+
+zen-radio-group:not([appearance="plain"]) input::before {
+  width: 0.55rem;
+  height: 0.55rem;
+  border-radius: 50%;
+  background: var(--zenbu-sys-color-info-foreground);
+  content: "";
+  opacity: 0;
+}
+
+zen-radio-group:not([appearance="plain"]) input:checked::before {
+  opacity: 1;
+}
+
+zen-radio-group:not([appearance="plain"]) fieldset {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+  padding: var(--zenbu-sys-space-group);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+}
+
+zen-switch:not([appearance="plain"]) input {
+  appearance: none;
+  width: 2.75rem;
+  height: 1.5rem;
+  margin: 0;
+  padding: 2px;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 999px;
+  background: var(--zenbu-sys-color-surface-default);
+  cursor: pointer;
+  transition: background var(--zenbu-sys-motion-duration-feedback) ease;
+}
+
+zen-switch:not([appearance="plain"]) input::before {
+  display: block;
+  width: 1rem;
+  height: 1rem;
+  border-radius: 50%;
+  background: var(--zenbu-sys-color-border-default);
+  content: "";
+  transition: transform var(--zenbu-sys-motion-duration-feedback) ease;
+}
+
+zen-switch:not([appearance="plain"]) input:checked {
+  background: var(--zenbu-sys-color-success-foreground);
+}
+
+zen-switch:not([appearance="plain"]) input:checked::before {
+  background: var(--zenbu-sys-color-text-inverse);
+  transform: translateX(1.2rem);
+}
+
+:where(zen-combobox, zen-command) {
+  position: relative;
+  display: grid;
+  width: min(100%, 28rem);
+  gap: var(--zenbu-sys-space-related);
+}
+
+:where(zen-combobox, zen-command) > input {
+  min-height: var(--zenbu-control-height);
+  padding:
+    var(--zenbu-control-padding-block)
+    var(--zenbu-control-padding-inline);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+  color: var(--zenbu-sys-color-text-primary);
+}
+
+:where(
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-menubar,
+  zen-navigation-menu
+) :where([role="listbox"], [role="menu"]) {
+  z-index: 20;
+  display: grid;
+  min-width: 12rem;
+  padding: var(--zenbu-sys-space-icon-label);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  box-shadow: var(--zenbu-sys-shadow-raised);
+  background: var(--zenbu-sys-color-surface-raised);
+}
+
+:where(
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-menubar,
+  zen-navigation-menu
+) :where([role="listbox"], [role="menu"])[hidden] {
+  display: none;
+}
+
+:where(
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-menubar,
+  zen-navigation-menu
+) :where([role="option"], [role="menuitem"]) {
+  display: block;
+  width: 100%;
+  padding: var(--zenbu-sys-space-related) var(--zenbu-sys-space-control);
+  border: 0;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: transparent;
+  color: var(--zenbu-sys-color-text-primary);
+  text-align: start;
+  text-decoration: none;
+  cursor: pointer;
+}
+
+:where(
+  zen-combobox,
+  zen-command,
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-menubar,
+  zen-navigation-menu
+) :where([role="option"], [role="menuitem"]):is(
+  :hover,
+  :focus,
+  [aria-selected="true"]
+) {
+  outline: none;
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+:where(
+  zen-context-menu,
+  zen-dropdown-menu,
+  zen-navigation-menu
+) {
+  position: relative;
+  display: inline-block;
+}
+
+zen-context-menu > [data-zen-trigger] {
+  min-height: 8rem;
+  padding: var(--zenbu-sys-space-container);
+  border: 2px dashed var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+:where(
+  zen-dropdown-menu,
+  zen-navigation-menu
+) > [role="menu"],
+zen-navigation-menu nav > [role="menu"] {
+  position: absolute;
+  inset-block-start: calc(100% + var(--zenbu-sys-space-related));
+  inset-inline-start: 0;
+}
+
+zen-context-menu > [role="menu"] {
+  position: fixed;
+}
+
+zen-menubar {
+  position: relative;
+  display: flex;
+  width: fit-content;
+  padding: var(--zenbu-sys-space-icon-label);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-menubar > [data-zen-trigger] {
+  border: 0;
+  box-shadow: none;
+  background: transparent;
+  color: var(--zenbu-sys-color-text-primary);
+}
+
+zen-menubar > [role="menu"] {
+  position: absolute;
+  inset-block-start: calc(100% + var(--zenbu-sys-space-icon-label));
+}
+
+zen-data-table,
+zen-table {
+  display: block;
+  max-width: 100%;
+  overflow: auto;
+}
+
+:where(zen-data-table, zen-table) table {
+  width: 100%;
+  border-collapse: collapse;
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+:where(zen-data-table, zen-table) :where(th, td) {
+  padding: var(--zenbu-sys-space-control);
+  border-block-end: 1px solid color-mix(
+    in srgb,
+    var(--zenbu-sys-color-border-default) 30%,
+    transparent
+  );
+  text-align: start;
+}
+
+:where(zen-data-table, zen-table) th {
+  font-size: var(--zenbu-sys-font-size-sm);
+}
+
+zen-data-table [data-zen-sort] {
+  padding: 0;
+  border: 0;
+  background: transparent;
+  color: inherit;
+  font-weight: 850;
+  cursor: pointer;
+}
+
+zen-direction {
+  display: contents;
+}
+
+zen-empty {
+  display: grid;
+  justify-items: center;
+  gap: var(--zenbu-sys-space-related);
+  padding: var(--zenbu-sys-space-section) var(--zenbu-sys-space-container);
+  border: var(--zenbu-sys-stroke-width-emphasis) dashed var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+  text-align: center;
+}
+
+zen-empty > p {
+  max-width: 34rem;
+  margin: 0;
+  color: var(--zenbu-sys-color-text-secondary);
+}
+
+zen-form form {
+  display: grid;
+  max-width: 34rem;
+  gap: var(--zenbu-sys-space-group);
+}
+
+zen-form[data-invalid] form {
+  padding-inline-start: var(--zenbu-sys-space-control);
+  border-inline-start: 0.35rem solid var(--zenbu-sys-color-danger-foreground);
+}
+
+:where(zen-hover-card, zen-tooltip, zen-popover) {
+  position: relative;
+  display: inline-block;
+}
+
+:where(zen-hover-card, zen-tooltip, zen-popover) [data-zen-content] {
+  position: absolute;
+  z-index: 30;
+  inset-block-start: calc(100% + var(--zenbu-sys-space-related));
+  inset-inline-start: 0;
+  width: max-content;
+  max-width: min(22rem, calc(100vi - 2rem));
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  box-shadow: var(--zenbu-sys-shadow-raised);
+  background: var(--zenbu-sys-color-surface-raised);
+  color: var(--zenbu-sys-color-text-primary);
+}
+
+:where(zen-hover-card, zen-tooltip, zen-popover) [data-zen-content][hidden] {
+  display: none;
+}
+
+zen-tooltip [data-zen-content] {
+  padding: var(--zenbu-sys-space-icon-label) var(--zenbu-sys-space-related);
+  background: var(--zenbu-sys-color-border-default);
+  color: var(--zenbu-sys-color-surface-default);
+  font-size: var(--zenbu-sys-font-size-xs);
+}
+
+zen-input-otp [data-zen-otp-slots] {
+  display: flex;
+  gap: var(--zenbu-control-gap);
+}
+
+zen-input-otp [data-zen-otp-slots] > span {
+  display: grid;
+  width: var(--zenbu-control-height);
+  height: var(--zenbu-control-height);
+  place-items: center;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: var(--zenbu-sys-color-surface-default);
+  font-size: var(--zenbu-control-font-size);
+  font-weight: var(--zenbu-sys-font-weight-strong);
+}
+
+zen-item {
+  display: grid;
+  grid-template-columns: auto minmax(0, 1fr) auto;
+  align-items: center;
+  gap: var(--zenbu-sys-space-control);
+  padding: var(--zenbu-sys-space-control);
+  border-block-end: 1px solid color-mix(
+    in srgb,
+    var(--zenbu-sys-color-border-default) 28%,
+    transparent
+  );
+}
+
+zen-kbd {
+  display: inline-flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-icon-label);
+}
+
+zen-kbd kbd {
+  min-width: 1.75rem;
+  padding: 0.1rem var(--zenbu-sys-space-icon-label);
+  border: 1px solid var(--zenbu-sys-color-border-default);
+  border-block-end-width: 3px;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: var(--zenbu-sys-color-surface-default);
+  font: 700 var(--zenbu-sys-font-size-xs)/1.5 var(--zenbu-sys-font-family-code);
+  text-align: center;
+}
+
+zen-label {
+  display: block;
+  margin-block-end: var(--zenbu-sys-space-related);
+  font-weight: 800;
+}
+
+zen-marker {
+  display: flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-related);
+  color: var(--zenbu-sys-color-text-secondary);
+  font-size: var(--zenbu-sys-font-size-xs);
+  text-transform: uppercase;
+}
+
+zen-marker::before,
+zen-marker::after {
+  height: 1px;
+  flex: 1;
+  background: color-mix(
+    in srgb,
+    var(--zenbu-sys-color-border-default) 32%,
+    transparent
+  );
+  content: "";
+}
+
+zen-message {
+  display: grid;
+  grid-template-columns: auto minmax(0, 1fr);
+  align-items: start;
+  gap: var(--zenbu-sys-space-control);
+}
+
+zen-message > div {
+  display: grid;
+  gap: var(--zenbu-sys-space-icon-label);
+}
+
+zen-message-scroller {
+  position: relative;
+  display: block;
+}
+
+zen-message-scroller [data-zen-viewport] {
+  max-height: 12rem;
+  overflow: auto;
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-message-scroller [data-zen-scroll-end] {
+  position: absolute;
+  inset-inline-end: var(--zenbu-sys-space-control);
+  inset-block-end: var(--zenbu-sys-space-control);
+}
+
+zen-navigation-menu nav {
+  display: flex;
+  align-items: center;
+  gap: var(--zenbu-sys-space-control);
+}
+
+zen-pagination nav {
+  flex-wrap: wrap;
+}
+
+zen-pagination a {
+  display: inline-grid;
+  min-width: 2.35rem;
+  min-height: 2.35rem;
+  place-items: center;
+  padding-inline: var(--zenbu-sys-space-related);
+  border: 1px solid transparent;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  text-decoration: none;
+}
+
+zen-pagination a[aria-current] {
+  border-color: var(--zenbu-sys-color-border-default);
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+zen-progress {
+  display: grid;
+  gap: var(--zenbu-sys-space-related);
+}
+
+zen-progress progress {
+  appearance: none;
+  width: 100%;
+  height: 0.75rem;
+  overflow: hidden;
+  border: 0;
+  border-radius: 999px;
+  accent-color: var(--zenbu-sys-color-success-foreground);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-progress progress::-webkit-progress-bar {
+  background: var(--zenbu-sys-color-surface-subtle);
+}
+
+zen-progress progress::-webkit-progress-value {
+  background: var(--zenbu-sys-color-success-foreground);
+}
+
+zen-progress progress::-moz-progress-bar {
+  background: var(--zenbu-sys-color-success-foreground);
+}
+
+zen-resizable {
+  display: flex;
+  min-height: 12rem;
+  overflow: hidden;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+}
+
+zen-resizable [data-zen-panel] {
+  min-width: 0;
+  flex: 1 1 50%;
+  padding: var(--zenbu-sys-space-group);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-resizable [data-zen-handle] {
+  width: 0.65rem;
+  flex: 0 0 0.65rem;
+  border-inline: 1px solid var(--zenbu-sys-color-border-default);
+  background: var(--zenbu-sys-color-action-primary-background);
+  cursor: col-resize;
+}
+
+zen-scroll-area {
+  display: block;
+  max-height: 10rem;
+  overflow: auto;
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+  scrollbar-color: var(--zenbu-sys-color-action-primary-background) transparent;
+}
+
+zen-separator {
+  display: block;
+}
+
+zen-separator hr {
+  margin-block: var(--zenbu-sys-space-group);
+  border: 0;
+  border-block-start: 1px solid var(--zenbu-sys-color-border-default);
+}
+
+zen-separator[orientation="vertical"] {
+  display: inline-block;
+  width: 1px;
+  min-height: 1.5rem;
+  background: var(--zenbu-sys-color-border-default);
+}
+
+zen-sidebar {
+  display: grid;
+  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
+  gap: var(--zenbu-sys-space-control);
+}
+
+zen-sidebar > [data-zen-sidebar-trigger] {
+  grid-column: 1 / -1;
+  justify-self: start;
+}
+
+zen-sidebar [data-zen-sidebar-panel] {
+  padding: var(--zenbu-sys-space-control);
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-container);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-sidebar [data-zen-sidebar-panel] nav {
+  display: grid;
+  gap: var(--zenbu-sys-space-icon-label);
+}
+
+zen-sidebar [data-zen-sidebar-panel] a {
+  padding: var(--zenbu-sys-space-related);
+  border-radius: var(--zenbu-sys-radius-control-small);
+  color: inherit;
+  text-decoration: none;
+}
+
+zen-sidebar [data-zen-sidebar-panel] a:hover {
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+zen-skeleton {
+  --zenbu-skeleton-width: 100%;
+  display: block;
+  width: var(--zenbu-skeleton-width, 100%);
+  height: 1rem;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background:
+    linear-gradient(
+      100deg,
+      color-mix(in srgb, var(--zenbu-sys-color-text-secondary) 18%, transparent) 20%,
+      color-mix(in srgb, var(--zenbu-sys-color-text-secondary) 8%, transparent) 38%,
+      color-mix(in srgb, var(--zenbu-sys-color-text-secondary) 18%, transparent) 56%
+    );
+  background-size: 200% 100%;
+  animation: zen-skeleton-shimmer 1.4s linear infinite;
+}
+
+zen-skeleton[shape="circle"] {
+  width: 3rem;
+  height: 3rem;
+  border-radius: 50%;
+}
+
+zen-slider:not([appearance="plain"]) input {
+  appearance: none;
+  width: 100%;
+  height: 0.5rem;
+  padding-inline: 0;
+  border: 0;
+  border-radius: 999px;
+  background: var(--zenbu-sys-color-surface-sunken);
+  cursor: pointer;
+}
+
+zen-slider:not([appearance="plain"]) input::-webkit-slider-thumb {
+  appearance: none;
+  width: 1.35rem;
+  height: 1.35rem;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 50%;
+  box-shadow: var(--zenbu-sys-shadow-subtle);
+  background: var(--zenbu-sys-color-action-primary-background);
+}
+
+zen-slider:not([appearance="plain"]) input::-moz-range-thumb {
+  width: 1.35rem;
+  height: 1.35rem;
+  border: var(--zenbu-sys-stroke-width-emphasis) solid var(--zenbu-sys-color-border-default);
+  border-radius: 50%;
+  box-shadow: var(--zenbu-sys-shadow-subtle);
+  background: var(--zenbu-sys-color-action-primary-background);
+}
+
+zen-spinner {
+  display: inline-block;
+  width: 1.35rem;
+  height: 1.35rem;
+  border: 3px solid color-mix(
+    in srgb,
+    var(--zenbu-sys-color-text-secondary) 28%,
+    transparent
+  );
+  border-inline-end-color: var(--zenbu-sys-color-info-foreground);
+  border-radius: 50%;
+  animation: zen-element-spin 650ms linear infinite;
+}
+
+zen-tabs [role="tablist"] {
+  display: flex;
+  width: fit-content;
+  gap: var(--zenbu-sys-space-icon-label);
+  padding: var(--zenbu-sys-space-icon-label);
+  border: 1px solid var(--zenbu-sys-color-border-default);
+  border-radius: var(--zenbu-sys-radius-control);
+  background: var(--zenbu-sys-color-surface-default);
+}
+
+zen-tabs [role="tab"] {
+  min-height: 2.25rem;
+  padding-inline: var(--zenbu-sys-space-control);
+  border: 0;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: transparent;
+  color: var(--zenbu-sys-color-text-primary);
+  font-weight: 750;
+  cursor: pointer;
+}
+
+zen-tabs [role="tab"][aria-selected="true"] {
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+zen-tabs [role="tabpanel"] {
+  padding-block: var(--zenbu-sys-space-group);
+}
+
+zen-tabs [role="tabpanel"][hidden] {
+  display: none;
+}
+
+:where(zen-toggle, zen-toggle-group) {
+  display: inline-flex;
+}
+
+:where(zen-toggle, zen-toggle-group) > button {
+  min-height: 2.5rem;
+  padding-inline: var(--zenbu-sys-space-control);
+  border: 1px solid transparent;
+  border-radius: var(--zenbu-sys-radius-control-small);
+  background: transparent;
+  color: var(--zenbu-sys-color-text-primary);
+  font-weight: 750;
+  cursor: pointer;
+}
+
+:where(zen-toggle, zen-toggle-group) > button[aria-pressed="true"] {
+  border-color: var(--zenbu-sys-color-border-default);
+  background: var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-action-primary-foreground);
+}
+
+zen-typography {
+  display: block;
+  max-width: 65ch;
+  line-height: var(--zenbu-sys-type-body-line-height);
+}
+
+zen-typography > :where(h1, h2, h3) {
+  line-height: 1.15;
+  text-wrap: balance;
+}
+
+zen-typography blockquote {
+  margin-inline: 0;
+  padding-inline-start: var(--zenbu-sys-space-group);
+  border-inline-start: 0.35rem solid var(--zenbu-sys-color-action-primary-background);
+  color: var(--zenbu-sys-color-text-secondary);
+  font-style: italic;
+}
+
+:where(
+  button,
+  summary,
+  [tabindex]
+):focus-visible {
+  outline: 3px solid var(--zenbu-sys-color-focus-outer);
+  outline-offset: 3px;
+}
+
+:where(
+  zen-calendar:not([appearance="plain"]),
+  zen-checkbox:not([appearance="plain"]),
+  zen-combobox:not([appearance="plain"]),
+  zen-command:not([appearance="plain"]),
+  zen-date-picker:not([appearance="plain"]),
+  zen-field:not([appearance="plain"]),
+  zen-form:not([appearance="plain"]),
+  zen-input:not([appearance="plain"]),
+  zen-input-group:not([appearance="plain"]),
+  zen-input-otp:not([appearance="plain"]),
+  zen-native-select:not([appearance="plain"]),
+  zen-radio-group:not([appearance="plain"]),
+  zen-select:not([appearance="plain"]),
+  zen-slider:not([appearance="plain"]),
+  zen-switch:not([appearance="plain"]),
+  zen-textarea:not([appearance="plain"])
+) :where(input, select, textarea):focus-visible {
+  outline: none;
+}
+
+@keyframes zen-element-spin {
+  to { transform: rotate(1turn); }
+}
+
+@keyframes zen-skeleton-shimmer {
+  to { background-position-x: -200%; }
+}
+
+@media (max-width: 640px) {
+  zen-sidebar {
+    display: block;
+  }
+
+  zen-sidebar > [data-zen-sidebar-trigger] {
+    margin-block-end: var(--zenbu-sys-space-related);
+  }
+
+  :where(zen-calendar, zen-date-picker) {
+    width: 100%;
+    max-width: 100%;
+  }
+
+  zen-date-picker [data-zen-calendar-panel] {
+    position: fixed;
+    inset: auto var(--zenbu-sys-space-control) var(--zenbu-sys-space-control);
+    width: auto;
+    max-height: calc(100vb - 2 * var(--zenbu-sys-space-control));
+    overflow: auto;
+    transform-origin: bottom center;
+  }
+}
+
+@media (forced-colors: active) {
+  :where(
+    zen-aspect-ratio,
+    zen-attachment,
+    zen-avatar,
+    zen-badge,
+    zen-empty,
+    zen-resizable,
+    zen-scroll-area
+  ) {
+    border: 1px solid CanvasText;
+  }
+}
+
+@media (prefers-reduced-motion: reduce) {
+  zen-link[effect="paw"] > a > [data-zen-link-decoration],
+  zen-link[effect="paw"] > a:hover > [data-zen-link-decoration] {
+    animation: none;
+  }
+
+  zen-skeleton,
+  zen-spinner {
+    animation: none;
+  }
+
+  zen-switch input,
+  zen-switch input::before,
+  :where(
+    zen-accordion,
+    zen-collapsible
+  ) details::details-content,
+  :where(
+    zen-accordion,
+    zen-collapsible
+  ) summary > [data-zen-disclosure-icon] {
+    transition: none;
+  }
+
+  zen-date-picker [data-zen-calendar-panel] {
+    animation: none;
+  }
+
+  :where(
+    zen-alert-dialog,
+    zen-dialog,
+    zen-drawer,
+    zen-sheet
+  ) dialog[open],
+  :where(
+    zen-combobox,
+    zen-command,
+    zen-context-menu,
+    zen-dropdown-menu,
+    zen-hover-card,
+    zen-menubar,
+    zen-navigation-menu,
+    zen-popover,
+    zen-tooltip
+  ) :where(
+    [data-zen-content],
+    [role="listbox"],
+    [role="menu"]
+  ):not([hidden]) {
+    animation: none;
+  }
+}