/* GENERATED by everything-design for Langlois (Rust source of truth) — DO NOT EDIT. */
/* Web design library: one class namespace (`ed-*`) per component in
   the standard atomic catalog. All values are token custom properties, so
   a Layer-2 theme swap (data-theme) reskins the whole library. */

/* ── base ── */
[class^="ed-"], [class*=" ed-"] {
  box-sizing: border-box;
  font-family: var(--font-sans, system-ui, sans-serif);
}

/* ── atoms ── */
.ed-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-md, 8px);
  padding: 0 16px; height: 44px; position: relative;
  font-size: var(--text-body, 16px); font-weight: 500; line-height: 1;
  cursor: pointer; transition: filter .15s, background-color .15s, border-color .15s; }
.ed-button:disabled { opacity: .5; cursor: default; pointer-events: none; }
.ed-button--sm { height: 32px; padding: 0 12px; font-size: var(--text-caption, 12px); }
.ed-button--sm::after, .ed-icon-button--sm::after { content: ""; position: absolute; inset: -6px; }
.ed-button--lg { height: 48px; padding: 0 24px; }
.ed-button--primary { background: var(--color-primary, #2563EB); color: var(--color-primary-foreground, #fff); }
.ed-button--primary:hover { filter: brightness(1.08); }
.ed-button--secondary { background: var(--color-secondary, #1F2937); color: var(--color-secondary-foreground, #fff); }
.ed-button--secondary:hover { filter: brightness(1.15); }
.ed-button--outline { background: transparent; border-color: var(--color-border, #D1D5DB); color: var(--color-foreground, #111827); }
.ed-button--outline:hover { background: var(--color-muted, #F3F4F6); }
.ed-button--ghost { background: transparent; color: var(--color-foreground, #111827); }
.ed-button--ghost:hover { background: var(--color-muted, #F3F4F6); }
.ed-button--danger { background: var(--color-error, #DC2626); color: #fff; }
.ed-button--danger:hover { filter: brightness(1.08); }
.ed-button--link { height: auto; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--color-primary, #2563EB); font-size: inherit; font-weight: inherit; line-height: inherit;
  text-decoration: underline; text-underline-offset: 2px; text-align: inherit; }
.ed-button--link:hover { filter: none; text-decoration-thickness: 2px; }
.ed-button:focus-visible { outline: 2px solid var(--color-ring, #2563EB); outline-offset: 2px; }

.ed-text { margin: 0; font-size: var(--text-body, 16px); font-weight: 400;
  color: var(--color-foreground, #111827); line-height: 1.5; }
.ed-text--display { font-size: var(--text-display, 40px); font-weight: 600; line-height: 1.15; }
.ed-text--title { font-size: var(--text-title, 20px); font-weight: 600; line-height: 1.3; }
.ed-text--caption { font-size: var(--text-caption, 12px); font-weight: 500;
  color: var(--color-muted-foreground, #6B7280); }

.ed-badge { display: inline-flex; align-items: center; padding: 2px 10px;
  border-radius: var(--radius-full, 999px);
  font-size: var(--text-caption, 12px); font-weight: 500; line-height: 1.5; }
.ed-badge--neutral { background: var(--color-muted, #E5E7EB); color: var(--color-muted-foreground, #6B7280); }
.ed-badge--primary { background: var(--color-primary, #2563EB); color: var(--color-primary-foreground, #fff); }
.ed-badge--accent { background: var(--color-accent, #F59E0B); color: var(--color-accent-foreground, #111827); }
.ed-badge--danger { background: var(--color-error, #DC2626); color: #fff; }

.ed-input { width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-md, 8px);
  background: var(--color-background, #fff); color: var(--color-foreground, #111827);
  font-size: var(--text-body, 16px); font-family: inherit; }
.ed-input:focus { outline: none; border-color: var(--color-ring, #2563EB);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-ring, #2563EB) 20%, transparent); }
.ed-input:disabled { opacity: .5; cursor: default; }
.ed-input[aria-invalid="true"] { border-color: var(--color-error, #DC2626); }
.ed-input--file { height: auto; min-height: 44px; padding: 4px; cursor: pointer; }
.ed-input--file::file-selector-button { height: 30px; margin-right: 12px; padding: 0 12px;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-sm, 6px);
  background: transparent; color: var(--color-foreground, #111827);
  font: inherit; font-size: var(--text-caption, 12px); font-weight: 500; cursor: pointer; }
.ed-input--file::file-selector-button:hover { background: var(--color-muted, #F3F4F6); }
.ed-input--color { width: 48px; padding: 4px; cursor: pointer; }

.ed-select { width: 100%; height: 44px; padding: 0 36px 0 12px;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-md, 8px);
  background-color: var(--color-background, #fff); color: var(--color-foreground, #111827);
  font-size: var(--text-body, 16px); font-family: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.ed-select:focus { outline: none; border-color: var(--color-ring, #2563EB);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-ring, #2563EB) 20%, transparent); }
.ed-select:disabled { opacity: .5; cursor: default; }
.ed-select[aria-invalid="true"] { border-color: var(--color-error, #DC2626); }
.ed-select[multiple] { height: auto; padding: 4px; background-image: none; }

.ed-slider { width: 100%; height: 24px; margin: 0; cursor: pointer;
  accent-color: var(--color-primary, #2563EB); }
.ed-slider:disabled { opacity: .5; cursor: default; }

.ed-divider { border: 0; height: 1px; background: var(--color-border, #D1D5DB); margin: 0; }
.ed-divider--vertical { width: 1px; height: 24px; align-self: center; margin: 0 4px; }

.ed-avatar { display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-muted, #E5E7EB); color: var(--color-muted-foreground, #6B7280);
  font-size: var(--text-caption, 12px); font-weight: 600; text-transform: uppercase; }
.ed-avatar--sm { width: 28px; height: 28px; font-size: 11px; }
.ed-avatar--lg { width: 48px; height: 48px; font-size: 16px; }

.ed-progress { height: 8px; border-radius: var(--radius-full, 999px);
  background: var(--color-muted, #E5E7EB); overflow: hidden; }
.ed-progress__bar { height: 100%; background: var(--color-primary, #2563EB);
  border-radius: inherit; transition: width .2s; }

.ed-spinner { display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--color-muted, #E5E7EB); border-top-color: var(--color-primary, #2563EB);
  border-radius: 50%; animation: ed-spin .8s linear infinite; }
.ed-spinner--lg { width: 32px; height: 32px; border-width: 3px; }
@keyframes ed-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  [class^="ed-"], [class*=" ed-"], [class^="ed-"]::after, [class*=" ed-"]::after { transition: none !important; }
  .ed-spinner { animation-duration: 2.4s; }
}

.ed-checkbox, .ed-radio { display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: var(--text-body, 16px);
  color: var(--color-foreground, #111827); }
.ed-checkbox input, .ed-radio input, .ed-checkbox__input, .ed-radio__input {
  width: 18px; height: 18px; margin: 0; flex: none;
  accent-color: var(--color-primary, #2563EB); cursor: pointer; }
.ed-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: var(--text-body, 16px); color: var(--color-foreground, #111827); }
.ed-switch input, .ed-switch__input { -webkit-appearance: none; appearance: none; margin: 0;
  width: 40px; height: 24px; border-radius: var(--radius-full, 999px);
  background: var(--color-muted, #D1D5DB); position: relative; cursor: pointer;
  transition: background .15s; flex: none; }
.ed-switch input::after, .ed-switch__input::after { content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.ed-switch input:checked, .ed-switch__input:checked { background: var(--color-primary, #2563EB); }
.ed-switch input:checked::after, .ed-switch__input:checked::after { transform: translateX(16px); }
.ed-checkbox input:disabled, .ed-radio input:disabled, .ed-switch input:disabled,
.ed-checkbox__input:disabled, .ed-radio__input:disabled, .ed-switch__input:disabled { opacity: .5; cursor: default; }
.ed-checkbox input:focus-visible, .ed-radio input:focus-visible, .ed-switch input:focus-visible,
.ed-checkbox__input:focus-visible, .ed-radio__input:focus-visible, .ed-switch__input:focus-visible,
.ed-slider:focus-visible { outline: 2px solid var(--color-ring, #2563EB); outline-offset: 2px; }

.ed-icon-button { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 1px solid transparent; position: relative;
  border-radius: var(--radius-md, 8px); background: transparent;
  color: var(--color-foreground, #111827); font-family: inherit; font-size: 18px; line-height: 1;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ed-icon-button svg { width: 1em; height: 1em; }
.ed-icon-button:hover { background: var(--color-muted, #F3F4F6); }
.ed-icon-button--outline { border-color: var(--color-border, #D1D5DB); }
.ed-icon-button--sm { width: 32px; height: 32px; font-size: 16px; border-radius: var(--radius-sm, 6px); }
.ed-icon-button--lg { width: 48px; height: 48px; font-size: 22px; }
.ed-icon-button[aria-pressed="true"] { color: var(--color-primary, #2563EB);
  background: color-mix(in srgb, var(--color-primary, #2563EB) 14%, transparent); }
.ed-icon-button:disabled { opacity: .5; cursor: default; pointer-events: none; }

.ed-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-full, 999px);
  background: var(--color-background, #fff); color: var(--color-foreground, #111827);
  font-family: inherit; font-size: var(--text-caption, 12px); font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ed-chip:hover { background: var(--color-muted, #F3F4F6); }
.ed-chip[aria-pressed="true"], .ed-chip[aria-selected="true"], .ed-chip[aria-checked="true"] {
  background: var(--color-primary, #2563EB); border-color: var(--color-primary, #2563EB);
  color: var(--color-primary-foreground, #fff); }
.ed-chip:disabled { opacity: .5; cursor: default; pointer-events: none; }

.ed-tab { appearance: none; border: 0; background: transparent; padding: 6px 12px;
  border-radius: var(--radius-sm, 6px); font-size: var(--text-caption, 12px); font-weight: 500;
  color: var(--color-muted-foreground, #6B7280); cursor: pointer; font-family: inherit;
  white-space: nowrap; transition: background-color .15s, color .15s; }
.ed-tab:hover { color: var(--color-foreground, #111827); }
.ed-tab[aria-selected="true"] { background: var(--color-muted, #E5E7EB);
  color: var(--color-foreground, #111827); }
.ed-tab:disabled { opacity: .5; cursor: default; }

.ed-menu-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px;
  padding: 6px 12px; border: 0; border-radius: var(--radius-sm, 6px); background: transparent;
  color: var(--color-foreground, #111827); font-family: inherit; font-size: var(--text-body, 16px);
  line-height: 1.3; text-align: start; text-decoration: none; cursor: pointer; }
.ed-menu-item:hover, .ed-menu-item[data-active="true"] { background: var(--color-muted, #F3F4F6); }
.ed-menu-item[aria-checked="true"], .ed-menu-item[aria-selected="true"],
.ed-menu-item[aria-current]:not([aria-current="false"]) { color: var(--color-primary, #2563EB); font-weight: 600; }
.ed-menu-item--danger { color: var(--color-error, #DC2626); }
.ed-menu-item:disabled, .ed-menu-item[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none; }

.ed-nav-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  border: 0; border-radius: var(--radius-md, 8px); background: transparent;
  color: var(--color-muted-foreground, #6B7280); font-family: inherit; font-size: var(--text-body, 16px);
  font-weight: 500; line-height: 1.3; text-align: start; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s; }
.ed-nav-item:hover { background: var(--color-muted, #F3F4F6); color: var(--color-foreground, #111827); }
.ed-nav-item[aria-current]:not([aria-current="false"]) { font-weight: 600; color: var(--color-primary, #2563EB);
  background: color-mix(in srgb, var(--color-primary, #2563EB) 12%, transparent); }
.ed-nav-item:disabled, .ed-nav-item[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none; }

.ed-icon-button:focus-visible, .ed-chip:focus-visible, .ed-tab:focus-visible,
.ed-menu-item:focus-visible, .ed-nav-item:focus-visible, .ed-card--interactive:focus-visible {
  outline: 2px solid var(--color-ring, #2563EB); outline-offset: 2px; }

/* ── molecules ── */
.ed-text-field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ed-text-field__label { font-size: var(--text-caption, 12px); font-weight: 500;
  color: var(--color-foreground, #111827); }
.ed-text-field__hint { margin: 0; font-size: var(--text-caption, 12px);
  color: var(--color-muted-foreground, #6B7280); }
.ed-text-field--error .ed-input { border-color: var(--color-error, #DC2626); }
.ed-text-field--error .ed-text-field__hint { color: var(--color-error, #DC2626); }

.ed-alert { display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--color-border, #D1D5DB); border-left-width: 4px;
  border-radius: var(--radius-md, 8px); padding: 12px 16px;
  background: var(--color-background, #fff); }
.ed-alert--info { border-left-color: var(--color-secondary, #1F2937);
  background: color-mix(in srgb, var(--color-secondary, #1F2937) 6%, var(--color-background, #fff)); }
.ed-alert--success { border-left-color: var(--color-primary, #2563EB);
  background: color-mix(in srgb, var(--color-primary, #2563EB) 6%, var(--color-background, #fff)); }
.ed-alert--warning { border-left-color: var(--color-accent, #F59E0B);
  background: color-mix(in srgb, var(--color-accent, #F59E0B) 10%, var(--color-background, #fff)); }
.ed-alert--danger { border-left-color: var(--color-error, #DC2626);
  background: color-mix(in srgb, var(--color-error, #DC2626) 6%, var(--color-background, #fff)); }
.ed-alert__title { margin: 0; font-size: var(--text-body, 16px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-alert__body { margin: 0; font-size: var(--text-body, 16px); line-height: 1.5;
  color: var(--color-foreground, #111827); }

.ed-card { border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-lg, 12px);
  background: var(--color-surface, #fff); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; }
.ed-card__title { margin: 0; font-size: var(--text-title, 20px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-card--interactive { cursor: pointer; transition: box-shadow .15s, border-color .15s;
  font: inherit; color: inherit; text-align: start; }
.ed-card--interactive[aria-pressed="true"], .ed-card--interactive[aria-current]:not([aria-current="false"]) {
  border-color: var(--color-primary, #2563EB); box-shadow: 0 0 0 1px var(--color-primary, #2563EB); }
.ed-card--interactive:disabled { opacity: .5; cursor: default; pointer-events: none; }
.ed-card--interactive:hover { border-color: var(--color-ring, #2563EB);
  box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.ed-list-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.ed-list-row__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ed-list-row__title { margin: 0; font-size: var(--text-body, 16px); font-weight: 500;
  color: var(--color-foreground, #111827);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-list-row__subtitle { margin: 0; font-size: var(--text-caption, 12px);
  color: var(--color-muted-foreground, #6B7280); }
.ed-list-row__trailing { margin: 0; font-size: var(--text-body, 16px);
  color: var(--color-muted-foreground, #6B7280); white-space: nowrap; }

.ed-tabs { display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-md, 8px);
  background: var(--color-background, #fff); }
.ed-tabs--underline { display: flex; gap: 20px; padding: 0; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--color-border, #D1D5DB); background: transparent; }
.ed-tabs--underline .ed-tab { padding: 10px 2px; margin-bottom: -1px; border-radius: 0;
  border-bottom: 2px solid transparent; font-size: var(--text-body, 16px); }
.ed-tabs--underline .ed-tab[aria-selected="true"] { background: transparent;
  border-bottom-color: var(--color-primary, #2563EB); }

.ed-toolbar { display: flex; align-items: center; gap: 12px; }
.ed-toolbar__title { margin: 0; font-size: var(--text-title, 20px); font-weight: 600;
  color: var(--color-foreground, #111827); flex: 1; }
.ed-toolbar__actions { display: flex; gap: 8px; align-items: center; }

.ed-stat { display: flex; flex-direction: column; gap: 2px; }
.ed-stat__value { font-size: var(--text-display, 40px); font-weight: 600; line-height: 1.1;
  color: var(--color-foreground, #111827); }
.ed-stat__value--missing { color: var(--color-muted-foreground, #6B7280); }
.ed-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ed-stat__label { font-size: var(--text-caption, 12px); font-weight: 500;
  color: var(--color-muted-foreground, #6B7280); }

/* ── organisms ── */
.ed-header { display: flex; align-items: center; gap: 16px; padding: 12px 24px;
  background: var(--color-surface, #fff); border-bottom: 1px solid var(--color-border, #D1D5DB); }
.ed-header__brand { font-size: var(--text-title, 20px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-header__nav { display: flex; gap: 16px; flex: 1; }
.ed-header__nav a, .ed-header__nav button { all: unset; cursor: pointer;
  font-size: var(--text-body, 16px); font-weight: 500; color: var(--color-foreground, #111827); }
.ed-header__nav a:hover, .ed-header__nav button:hover { color: var(--color-primary, #2563EB); }
.ed-header__user { display: flex; align-items: center; gap: 8px; }
.ed-header__user span { font-size: var(--text-body, 16px); color: var(--color-foreground, #111827); }

.ed-footer { display: flex; align-items: center; gap: 8px; padding: 16px 24px;
  border-top: 1px solid var(--color-border, #D1D5DB); background: var(--color-surface, #fff); }
.ed-footer__brand { font-size: var(--text-caption, 12px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-footer__note { font-size: var(--text-caption, 12px);
  color: var(--color-muted-foreground, #6B7280); }

.ed-page { min-height: 100vh; display: flex; justify-content: center;
  background: var(--color-background, #fff); }
.ed-page__content { width: 100%; max-width: 960px; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 24px; }

.ed-data-table { display: flex; flex-direction: column;
  border: 1px solid var(--color-border, #D1D5DB); border-radius: var(--radius-lg, 12px);
  overflow: hidden; }
.ed-table-row { display: grid; grid-template-columns: var(--ed-table-columns, none);
  border-bottom: 1px solid var(--color-border, #D1D5DB); }
.ed-table-row:last-child { border-bottom: 0; }
.ed-table-row[header], .ed-table-row--header { background: var(--color-muted, #F3F4F6); }
.ed-table-cell { padding: 10px 16px; font-size: var(--text-body, 16px);
  color: var(--color-foreground, #111827); min-width: 0; }
.ed-table-row[header] .ed-table-cell, .ed-table-row--header .ed-table-cell { font-size: var(--text-caption, 12px); font-weight: 600;
  color: var(--color-muted-foreground, #6B7280); text-transform: uppercase; letter-spacing: .03em; }

.ed-empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 48px 24px; text-align: center; }
.ed-empty-state__glyph { width: 48px; height: 48px; border-radius: 50%;
  border: 2px dashed var(--color-border, #D1D5DB); display: flex; align-items: center;
  justify-content: center; color: var(--color-muted-foreground, #6B7280);
  margin-bottom: 8px; font-size: 20px; }
.ed-empty-state__title { margin: 0; font-size: var(--text-title, 20px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-empty-state__body { margin: 0; font-size: var(--text-body, 16px); line-height: 1.5;
  color: var(--color-muted-foreground, #6B7280); max-width: 420px; }
.ed-empty-state__action { margin-top: 16px; }

.ed-form { display: flex; flex-direction: column; gap: 16px; }
.ed-form__title { margin: 0; font-size: var(--text-title, 20px); font-weight: 600;
  color: var(--color-foreground, #111827); }
.ed-form__submit { align-self: flex-start; }
.ed-form__errors { margin: 0; padding: 12px 16px; border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-error, #DC2626); color: var(--color-foreground, #111827);
  background: color-mix(in srgb, var(--color-error, #DC2626) 8%, transparent); }
.ed-form__errors p { margin: 0 0 4px; font-weight: 600; }
.ed-form__errors ul { margin: 0; padding-left: 1.2em; }
.ed-form__errors a { color: inherit; }
