.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] {
  color-scheme: light;
  --sm-color-page: #f4efe7;
  --sm-color-surface: #fffdf9;
  --sm-color-surface-muted: #ece4d8;
  --sm-color-text: #2d2924;
  --sm-color-text-muted: #6f675f;
  --sm-color-border: rgba(74, 58, 41, 0.28);
  --sm-border-width: 1px;
  --sm-color-accent: #a96520;
  --sm-color-accent-contrast: #000000;
  --sm-color-focus: #376f76;
  --sm-font-body:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --sm-font-display: Georgia, 'Times New Roman', serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.5rem, 6vw, 5rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.4375rem;
  --sm-radius-md: 0.625rem;
  --sm-radius-lg: 0.875rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 0 8px 24px rgba(59, 42, 24, 0.1);
  --sm-shadow-md: 0 18px 50px rgba(59, 42, 24, 0.14);
  --sm-duration-fast: 140ms;
  --sm-duration-normal: 170ms;
  --sm-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] {
  color-scheme: dark;
  --sm-color-page: #0f1114;
  --sm-color-surface: #1b2026;
  --sm-color-surface-muted: #15191e;
  --sm-color-text: #f2ebe2;
  --sm-color-text-muted: #aaa197;
  --sm-color-border: rgba(222, 211, 198, 0.24);
  --sm-border-width: 1px;
  --sm-color-accent: #d89b42;
  --sm-color-accent-contrast: #21170c;
  --sm-color-focus: #f0c49c;
  --sm-font-body:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --sm-font-display: Georgia, 'Times New Roman', serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.5rem, 6vw, 5rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.4375rem;
  --sm-radius-md: 0.625rem;
  --sm-radius-lg: 0.875rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --sm-shadow-md: 0 18px 50px rgba(0, 0, 0, 0.32);
  --sm-duration-fast: 140ms;
  --sm-duration-normal: 170ms;
  --sm-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}

:where(.sm-theme[data-sm-theme='backlog-atlas']) {
  min-height: 100vh;
  margin: 0;
  color: var(--sm-color-text);
  background:
    radial-gradient(
      circle at 84% -8%,
      color-mix(in srgb, #315d63 16%, transparent),
      transparent 28rem
    ),
    radial-gradient(
      circle at 8% 108%,
      color-mix(in srgb, var(--sm-color-accent) 10%, transparent),
      transparent 34rem
    ),
    var(--sm-color-page);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.6;
}
:where(.sm-theme[data-sm-theme='backlog-atlas']) *,
:where(.sm-theme[data-sm-theme='backlog-atlas']) *::before,
:where(.sm-theme[data-sm-theme='backlog-atlas']) *::after {
  box-sizing: border-box;
}
:where(.sm-theme[data-sm-theme='backlog-atlas']) :is(h1, h2, h3) {
  margin-block: 0;
  font-family: var(--sm-font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
:where(.sm-theme[data-sm-theme='backlog-atlas']) :is(p, ul) {
  margin-block: 0;
}
:where(.sm-theme[data-sm-theme='backlog-atlas']) :is(a, button) {
  color: inherit;
  font: inherit;
}
:where(.sm-theme[data-sm-theme='backlog-atlas']) :focus-visible {
  outline: 2px solid var(--sm-color-focus);
  outline-offset: 3px;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  :where(.sm-theme[data-sm-theme='backlog-atlas']),
  :where(.sm-theme[data-sm-theme='backlog-atlas']) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-typography {
  --sm-typography-link: #8b5116;
  --sm-typography-muted: #6f675f;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-typography {
  --sm-typography-link: #f0c49c;
  --sm-typography-muted: #aaa197;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography {
  --sm-typography-link-hover-color: var(--sm-color-text);
  --sm-typography-link-hover-background: transparent;
  --sm-typography-link-hover-decoration: 0.2em;
  --sm-typography-link-focus-radius: var(--sm-radius-sm);
  --sm-typography-link-focus-outline: 3px solid var(--sm-color-focus);
  --sm-typography-link-focus-offset: 3px;
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.7;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h1,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h2,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h3,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h4 {
  margin: 0;
  color: var(--sm-color-text);
  font-family: var(--sm-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h1 {
  font-size: var(--sm-text-xl);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h2 {
  font-size: var(--sm-text-lg);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h3 {
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography h4 {
  font-size: var(--sm-text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography p,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ul,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ol {
  margin: 0;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ul {
  list-style: disc;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ol {
  list-style: decimal;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ul,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography ol {
  padding-left: var(--sm-space-6);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography strong {
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography em {
  font-style: italic;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-text-muted {
  color: var(--sm-typography-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-link {
  color: var(--sm-typography-link);
  font-weight: 600;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    text-decoration-thickness var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-link + .sm-link {
  margin-left: var(--sm-space-3);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-link:hover {
  color: var(--sm-typography-link-hover-color);
  background: var(--sm-typography-link-hover-background);
  text-decoration-thickness: var(--sm-typography-link-hover-decoration);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-link:focus-visible {
  border-radius: var(--sm-typography-link-focus-radius);
  outline: var(--sm-typography-link-focus-outline);
  outline-offset: var(--sm-typography-link-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-typography .sm-link {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: var(--sm-space-2);
  padding-inline: var(--sm-space-4);
  border: var(--sm-border-width) solid transparent;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    filter var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-button {
  --sm-button-danger: #b91c1c;
  --sm-button-danger-contrast: #fffdf9;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-button {
  --sm-button-danger: #f87171;
  --sm-button-danger-contrast: #1b2026;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[data-sm-variant='primary'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-button[data-sm-variant='secondary'] {
  color: var(--sm-color-text);
  border-color: var(--sm-color-border);
  background: var(--sm-color-surface);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-button[data-sm-variant='destructive'] {
  color: var(--sm-button-danger-contrast);
  border-color: var(--sm-button-danger);
  background: var(--sm-button-danger);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[data-sm-variant='ghost'] {
  color: var(--sm-color-text);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[data-sm-size='small'] {
  min-height: 2rem;
  padding-inline: var(--sm-space-3);
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[data-sm-size='default'] {
  min-height: 2.5rem;
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[data-sm-size='large'] {
  min-height: 3rem;
  padding-inline: var(--sm-space-5);
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button:active:not(:disabled) {
  box-shadow: none;
  transform: translateY(1px);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.5;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[aria-busy='true'] {
  color: transparent;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-button[aria-busy='true']::before {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--sm-radius-full);
  color: var(--sm-color-text-muted);
  animation: sm-button-spin 700ms linear infinite;
  content: '';
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-button {
    transition: none;
  }

  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-button[aria-busy='true']::before {
    animation: none;
  }
}

@keyframes sm-button-spin {
  to {
    transform: rotate(1turn);
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-text-input {
  --sm-field-background: #fffdf9;
  --sm-field-text: #2d2924;
  --sm-field-placeholder: #6f675f;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-text-input {
  --sm-field-background: #1b2026;
  --sm-field-text: #f2ebe2;
  --sm-field-placeholder: #aaa197;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input::placeholder {
  color: var(--sm-field-placeholder);
  opacity: 1;
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-text-input
  input:placeholder-shown {
  border-color: var(--sm-color-border);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-text-input
  input[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input .sm-field-hint,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-text-input input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-textarea {
  --sm-field-background: #fffdf9;
  --sm-field-text: #2d2924;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-textarea {
  --sm-field-background: #1b2026;
  --sm-field-text: #f2ebe2;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  line-height: 1.55;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea textarea:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-textarea
  textarea[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea textarea:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea textarea:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea .sm-field-hint,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-textarea textarea {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-select {
  --sm-field-background: #fffdf9;
  --sm-field-text: #2d2924;
  --sm-field-placeholder: #6f675f;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-select {
  --sm-field-background: #1b2026;
  --sm-field-text: #f2ebe2;
  --sm-field-placeholder: #aaa197;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select select {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-select
  select:has(option[value='']:checked) {
  color: var(--sm-field-placeholder);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select select:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-select
  select[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select select:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select .sm-field-hint,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-select .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-select .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-select select {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-checkbox {
  --sm-choice-background: #fffdf9;
  --sm-choice-text: #2d2924;
  --sm-choice-border: #6f675f;
  --sm-choice-selected: #a96520;
  --sm-choice-mark: #fffdf9;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-checkbox {
  --sm-choice-background: #1b2026;
  --sm-choice-text: #f2ebe2;
  --sm-choice-border: #aaa197;
  --sm-choice-selected: #d89b42;
  --sm-choice-mark: #2d2924;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input[type='checkbox'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: var(--sm-radius-sm);
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input::after {
  width: 0.3rem;
  height: 0.6rem;
  border: solid currentColor;
  border-width: 0 0.125rem 0.125rem 0;
  content: '';
  opacity: 0;
  transform: translateY(-0.0625rem) rotate(45deg);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input:checked,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input:indeterminate {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input:checked::after {
  opacity: 1;
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-checkbox
  input:indeterminate::after {
  width: 0.65rem;
  height: 0.125rem;
  border: 0;
  background: currentColor;
  opacity: 1;
  transform: none;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-checkbox:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-checkbox input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-radio {
  --sm-choice-background: #fffdf9;
  --sm-choice-text: #2d2924;
  --sm-choice-border: #6f675f;
  --sm-choice-selected: #a96520;
  --sm-choice-mark: #fffdf9;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-radio {
  --sm-choice-background: #1b2026;
  --sm-choice-text: #f2ebe2;
  --sm-choice-border: #aaa197;
  --sm-choice-selected: #d89b42;
  --sm-choice-mark: #2d2924;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio-group {
  display: grid;
  gap: var(--sm-space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio-group legend {
  margin-bottom: var(--sm-space-3);
  color: var(--sm-color-text-muted);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input[type='radio'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: 50%;
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input::after {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
  opacity: 0;
  transform: scale(0.5);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input:checked {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-radio:has(input:disabled) label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-radio input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: var(--sm-border-width) solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-card-text);
  background: linear-gradient(
    145deg,
    var(--sm-card-background),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-card {
  --sm-card-background: #fffdf9;
  --sm-card-text: #2d2924;
  --sm-card-muted: #6f675f;
  --sm-card-border: #94a3b8;
  --sm-card-accent: #376f76;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-card {
  --sm-card-background: #1b2026;
  --sm-card-text: #f2ebe2;
  --sm-card-muted: #c9beb1;
  --sm-card-border: #6f675f;
  --sm-card-accent: #f0c49c;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__header,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__body,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__footer {
  padding-inline: var(--sm-space-5);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__header {
  display: grid;
  gap: var(--sm-space-2);
  padding-block: var(--sm-space-5) var(--sm-space-3);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__header h2,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__header p,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__body p {
  margin: 0;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__header h2 {
  min-width: 0;
  color: var(--sm-card-text);
  font-size: var(--sm-text-lg);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__eyebrow {
  color: var(--sm-card-accent);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__body {
  min-width: 0;
  padding-block: var(--sm-space-2) var(--sm-space-5);
  color: var(--sm-card-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__footer {
  padding-block: var(--sm-space-3);
  border-top: var(--sm-border-width) solid var(--sm-card-border);
  color: var(--sm-card-muted);
  background: color-mix(
    in srgb,
    var(--sm-card-background) 88%,
    var(--sm-card-text)
  );
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card--interactive {
  cursor: pointer;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card--interactive:hover {
  border-color: var(--sm-card-accent);
  box-shadow: var(--sm-shadow-md);
  transform: translateY(-2px);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card--interactive:focus-within {
  border-color: var(--sm-card-accent);
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
  box-shadow: var(--sm-shadow-md);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__link {
  color: var(--sm-card-text);
  text-decoration-color: var(--sm-card-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__link::after {
  position: absolute;
  inset: 0;
  content: '';
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-card__link:focus-visible {
  border-radius: var(--sm-radius-sm);
  outline: 2px solid var(--sm-color-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-card {
    transition: none;
  }

  .sm-theme[data-sm-theme='backlog-atlas'] .sm-card--interactive:hover {
    transform: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge {
  display: inline-flex;
  gap: var(--sm-space-2);
  align-items: center;
  width: fit-content;
  padding: var(--sm-space-1) var(--sm-space-3);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  line-height: 1.4;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-badge {
  --sm-badge-neutral-background: #e2e8f0;
  --sm-badge-neutral-text: #2d2924;
  --sm-badge-accent-background: #f0c49c;
  --sm-badge-accent-text: #2d2924;
  --sm-badge-success-background: #dcfce7;
  --sm-badge-success-text: #166534;
  --sm-badge-warning-background: #fef3c7;
  --sm-badge-warning-text: #854d0e;
  --sm-badge-danger-background: #fee2e2;
  --sm-badge-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-badge {
  --sm-badge-neutral-background: #2a3037;
  --sm-badge-neutral-text: #f2ebe2;
  --sm-badge-accent-background: #134e4a;
  --sm-badge-accent-text: #f0c49c;
  --sm-badge-success-background: #14532d;
  --sm-badge-success-text: #dcfce7;
  --sm-badge-warning-background: #78350f;
  --sm-badge-warning-text: #fef3c7;
  --sm-badge-danger-background: #7f1d1d;
  --sm-badge-danger-text: #fee2e2;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge__marker {
  display: grid;
  place-items: center;
  min-width: 1em;
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge[data-sm-intent='neutral'] {
  color: var(--sm-badge-neutral-text);
  background: var(--sm-badge-neutral-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge[data-sm-intent='accent'] {
  color: var(--sm-badge-accent-text);
  background: var(--sm-badge-accent-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge[data-sm-intent='success'] {
  color: var(--sm-badge-success-text);
  background: var(--sm-badge-success-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge[data-sm-intent='warning'] {
  color: var(--sm-badge-warning-text);
  background: var(--sm-badge-warning-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-badge[data-sm-intent='danger'] {
  color: var(--sm-badge-danger-text);
  background: var(--sm-badge-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-badge {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-md);
  box-shadow: var(--sm-shadow-sm);
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-alert {
  --sm-alert-info-background: #dbeafe;
  --sm-alert-info-text: #1e3a8a;
  --sm-alert-success-background: #dcfce7;
  --sm-alert-success-text: #166534;
  --sm-alert-warning-background: #fef3c7;
  --sm-alert-warning-text: #854d0e;
  --sm-alert-danger-background: #fee2e2;
  --sm-alert-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-alert {
  --sm-alert-info-background: #1e3a8a;
  --sm-alert-info-text: #eff6ff;
  --sm-alert-success-background: #14532d;
  --sm-alert-success-text: #ecfdf5;
  --sm-alert-warning-background: #78350f;
  --sm-alert-warning-text: #fefce8;
  --sm-alert-danger-background: #7f1d1d;
  --sm-alert-danger-text: #fef2f2;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__content {
  display: grid;
  gap: var(--sm-space-1);
  min-width: 0;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__content h2,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__content p {
  margin: 0;
  color: inherit;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__content h2 {
  font-size: var(--sm-text-sm);
  line-height: 1.4;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert__content p {
  font-size: var(--sm-text-sm);
  line-height: 1.6;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert[data-sm-intent='info'] {
  color: var(--sm-alert-info-text);
  background: var(--sm-alert-info-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert[data-sm-intent='success'] {
  color: var(--sm-alert-success-text);
  background: var(--sm-alert-success-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert[data-sm-intent='warning'] {
  color: var(--sm-alert-warning-text);
  background: var(--sm-alert-warning-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-alert[data-sm-intent='danger'] {
  color: var(--sm-alert-danger-text);
  background: var(--sm-alert-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-alert {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  scrollbar-gutter: stable;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table-scroll:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-table {
  --sm-table-background: #fffdf9;
  --sm-table-text: #2d2924;
  --sm-table-header-background: #e2e8f0;
  --sm-table-header-text: #2d2924;
  --sm-table-hover-background: #dbeafe;
  --sm-table-hover-text: #1e3a8a;
  --sm-table-selected-background: #f0c49c;
  --sm-table-selected-text: #2d2924;
  --sm-table-empty-background: #f1f5f9;
  --sm-table-empty-text: #6f675f;
  --sm-table-border: #6f675f;
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-table {
  --sm-table-background: #1b2026;
  --sm-table-text: #f2ebe2;
  --sm-table-header-background: #2a3037;
  --sm-table-header-text: #f2ebe2;
  --sm-table-hover-background: #1e3a8a;
  --sm-table-hover-text: #eff6ff;
  --sm-table-selected-background: #134e4a;
  --sm-table-selected-text: #f0c49c;
  --sm-table-empty-background: #15191e;
  --sm-table-empty-text: #c9beb1;
  --sm-table-border: #94a3b8;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table caption {
  padding: var(--sm-space-4) var(--sm-space-5);
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-base);
  font-weight: 700;
  text-align: left;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table thead {
  color: var(--sm-table-header-text);
  background: var(--sm-table-header-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table th,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-table td {
  padding: var(--sm-space-3) var(--sm-space-5);
  border-bottom: var(--sm-border-width) solid var(--sm-table-border);
  color: inherit;
  text-align: left;
  vertical-align: middle;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table thead th {
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table tbody th {
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table tbody tr:last-child > * {
  border-bottom: 0;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table tbody tr:hover > * {
  color: var(--sm-table-hover-text);
  background: var(--sm-table-hover-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table tr[aria-current='true'] > * {
  color: var(--sm-table-selected-text);
  background: var(--sm-table-selected-background);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table__selection {
  display: inline-flex;
  gap: var(--sm-space-1);
  align-items: center;
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table__empty {
  padding-block: var(--sm-space-6) !important;
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
  text-align: center !important;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table__empty-content {
  display: grid;
  gap: var(--sm-space-2);
  justify-items: center;
}

.sm-theme[data-sm-theme='backlog-atlas']
  .sm-table__empty-content
  > [aria-hidden='true'] {
  font-size: var(--sm-text-xl);
  line-height: 1;
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-table--empty tbody tr:hover > * {
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-table-scroll {
    scroll-behavior: auto;
  }

  .sm-theme[data-sm-theme='backlog-atlas'] .sm-table th,
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-table td {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    box-shadow var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-media-card[data-sm-layout='vertical'] {
  grid-template-rows: 11rem auto;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-media-card[data-sm-layout='horizontal'] {
  grid-template-columns: minmax(9rem, 36%) 1fr;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__media {
  display: block;
  min-height: 9rem;
  overflow: hidden;
  background: linear-gradient(145deg, #315d63, #d89b42);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__content {
  display: grid;
  gap: var(--sm-space-4);
  align-content: start;
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__content header {
  display: grid;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__content h2 {
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__content a {
  color: inherit;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-3);
  padding: 0;
  margin: 0;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
  list-style: none;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__content footer {
  display: flex;
  justify-content: flex-end;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card:hover,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card:focus-within {
  transform: translateY(-2px);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-media-card:hover
  .sm-media-card__media
  img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card,
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-media-card__media img {
    transition: none;
    transform: none;
  }
}
@media (max-width: 42rem) {
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-media-card[data-sm-layout='horizontal'] {
    grid-template-columns: 1fr;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs {
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tablist'] {
  display: flex;
  gap: var(--sm-space-2);
  overflow-x: auto;
  border-bottom: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab'] {
  position: relative;
  min-height: 2.75rem;
  padding: var(--sm-space-2) var(--sm-space-4);
  border: 0;
  border-radius: var(--sm-radius-md) var(--sm-radius-md) 0 0;
  color: var(--sm-component-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab'] span {
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab']:hover {
  color: var(--sm-color-text);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [aria-selected='true'] {
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  box-shadow: inset 0 -3px 0 var(--sm-color-accent);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tabpanel'] {
  min-height: 7rem;
  padding: var(--sm-space-5);
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-tabs [role='tab'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-2);
  color: var(--sm-color-text);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-progress label {
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-progress output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  appearance: none;
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-progress
  progress::-webkit-progress-bar {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-progress
  progress::-webkit-progress-value {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-progress
  progress::-moz-progress-bar {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-progress[data-sm-size='compact']
  progress {
  height: 0.35rem;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-progress[data-sm-state='indeterminate']
  progress {
  background: repeating-linear-gradient(
    90deg,
    var(--sm-color-accent) 0 18%,
    var(--sm-color-surface-muted) 18% 36%
  );
  background-size: 200% 100%;
  animation: sm-progress-backlog-atlas 1.1s linear infinite;
}
@keyframes sm-progress-backlog-atlas {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-progress
    progress::-webkit-progress-value,
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-progress
    progress::-moz-progress-bar {
    transition: none;
  }
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-progress[data-sm-state='indeterminate']
    progress {
    animation: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter {
  display: grid;
  gap: var(--sm-space-5);
  min-width: 0;
  margin: 0;
  padding: var(--sm-space-5);
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter legend {
  padding-inline: var(--sm-space-2);
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter__single,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter__paired {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-3);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter input[type='range'] {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.4rem;
  margin: 0.65rem 0;
  appearance: none;
  border-radius: var(--sm-radius-md);
  background: linear-gradient(
    90deg,
    var(--sm-color-accent),
    var(--sm-color-surface-muted)
  );
  cursor: pointer;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-range-filter__track {
  position: relative;
  grid-column: 1 / -1;
  min-height: 2rem;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-range-filter__track
  input[type='range'] {
  position: absolute;
  inset: 0.35rem 0 auto;
  background: linear-gradient(
    90deg,
    var(--sm-color-surface-muted) var(--sm-range-min, 20%),
    var(--sm-color-accent) var(--sm-range-min, 20%) var(--sm-range-max, 80%),
    var(--sm-color-surface-muted) var(--sm-range-max, 80%)
  );
  pointer-events: none;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-range-filter
  input[type='range']::-webkit-slider-thumb {
  width: 1.2rem;
  height: 1.2rem;
  appearance: none;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-range-filter
  input[type='range']::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-range-filter
  input[type='range']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 4px;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-range-filter
  input[type='range']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-range-filter
    input[type='range'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure {
  overflow: hidden;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: var(--sm-space-4);
  padding: var(--sm-space-4) var(--sm-space-5);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  transition: background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-disclosure
  summary::-webkit-details-marker {
  display: none;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary::after {
  content: '+';
  color: var(--sm-color-accent);
  font-size: var(--sm-text-lg);
  line-height: 1;
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary:hover {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure__meta {
  margin-left: auto;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure__content {
  padding: var(--sm-space-5);
  border-top: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure[open] summary {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary,
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-disclosure summary::after {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
  align-items: center;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination ol {
  display: flex;
  gap: var(--sm-space-1);
  padding: 0;
  margin: 0;
  list-style: none;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination a,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination__unavailable {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  padding-inline: var(--sm-space-3);
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: inherit;
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination a:hover {
  transform: translateY(-2px);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination a:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 2px;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination [aria-current='page'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination [aria-disabled='true'] {
  opacity: 0.42;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-pagination a {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--sm-color-border);
  border-top: 0.35rem solid var(--sm-color-accent);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-md);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog::backdrop {
  background: color-mix(in srgb, var(--sm-color-page) 35%, #000000 65%);
  backdrop-filter: blur(4px);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__header,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__body,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__actions {
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__header {
  display: grid;
  gap: var(--sm-space-2);
  border-bottom: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__header h2,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__body p {
  margin: 0;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__body {
  display: grid;
  gap: var(--sm-space-4);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sm-space-3);
  border-top: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-dialog {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating {
  display: grid;
  gap: var(--sm-space-3);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating legend {
  margin-bottom: var(--sm-space-2);
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating label {
  position: relative;
  display: grid;
  min-width: 3rem;
  min-height: 2.75rem;
  place-items: center;
  padding: var(--sm-space-2);
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating input[type='radio'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating label:hover {
  transform: translateY(-2px);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating label:has(input:checked) {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating input:checked + span {
  font-weight: 900;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating input:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating input:disabled {
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-rating > output {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-rating label {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: 1px solid var(--sm-color-border);
  border-left: 0.35rem solid currentColor;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  box-shadow: var(--sm-shadow-md);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    opacity var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 900;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__content {
  display: grid;
  gap: var(--sm-space-2);
  min-width: 0;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__content h2,
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__content p {
  margin: 0;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__content h2 {
  font-size: var(--sm-text-base);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__content p {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast__actions {
  display: flex;
  gap: var(--sm-space-2);
  align-items: start;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast[data-sm-intent='info'] {
  color: var(--sm-color-focus);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast[data-sm-intent='success'] {
  color: #2f7d4d;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast[data-sm-intent='warning'] {
  color: #9a6700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast[data-sm-intent='danger'] {
  color: #b4232e;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-toast:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-toast {
    transition: none;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state {
  display: grid;
  justify-items: center;
  gap: var(--sm-space-3);
  min-width: 0;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid var(--sm-color-border);
  border-style: dashed;
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
  text-align: center;
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state__illustration {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  font-size: 2rem;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state h2 {
  max-width: 24rem;
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state p {
  max-width: 32rem;
  margin: 0;
  color: var(--sm-component-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state .sm-button {
  margin-top: var(--sm-space-2);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state:focus-within {
  border-style: solid;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-empty-state {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton-group {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--sm-space-3);
  padding: var(--sm-space-4);
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  background: linear-gradient(
    145deg,
    var(--sm-color-surface),
    var(--sm-color-surface-muted)
  );
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton {
  position: relative;
  min-height: 1rem;
  overflow: hidden;
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    100deg,
    transparent 20%,
    color-mix(in srgb, var(--sm-color-text) 12%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: sm-skeleton-backlog-atlas 1.35s var(--sm-ease-standard) infinite;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton[data-sm-shape='media'] {
  grid-row: span 3;
  min-height: 6rem;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton[data-sm-shape='title'] {
  width: 62%;
  height: 1.5rem;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton[data-sm-shape='text'] {
  width: 88%;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes sm-skeleton-backlog-atlas {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas'] .sm-skeleton::after {
    animation: none;
    transform: none;
    background: transparent;
  }
}

.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='light'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='backlog-atlas'][data-sm-mode='dark'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='backlog-atlas'] .sm-spinner {
  display: inline-flex;
  gap: var(--sm-space-3);
  align-items: center;
  color: var(--sm-color-text);
  font-weight: 700;
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-spinner
  > span[aria-hidden='true'] {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.2rem solid var(--sm-color-surface-muted);
  border-top-color: var(--sm-color-accent);
  border-radius: var(--sm-radius-full);
  animation: sm-spinner-backlog-atlas 0.8s linear infinite;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-spinner[data-sm-size='small'] {
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-spinner[data-sm-size='small']
  > span[aria-hidden='true'] {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}
.sm-theme[data-sm-theme='backlog-atlas'] .sm-spinner[data-sm-size='large'] {
  font-size: var(--sm-text-lg);
}
.sm-theme[data-sm-theme='backlog-atlas']
  .sm-spinner[data-sm-size='large']
  > span[aria-hidden='true'] {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.3rem;
}
@keyframes sm-spinner-backlog-atlas {
  to {
    transform: rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='backlog-atlas']
    .sm-spinner
    > span[aria-hidden='true'] {
    animation: none;
    border-right-color: var(--sm-color-accent);
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] {
  color-scheme: light;
  --sm-color-page: #f5f5f5;
  --sm-color-surface: #ffffff;
  --sm-color-surface-muted: #e8e8e8;
  --sm-color-text: #171717;
  --sm-color-text-muted: #5f5f5f;
  --sm-color-border: #b8b8b8;
  --sm-border-width: 1px;
  --sm-color-accent: #c50f1f;
  --sm-color-accent-contrast: #ffffff;
  --sm-color-focus: #c50f1f;
  --sm-font-body: 'Segoe UI', Arial, ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Segoe UI', Arial, ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.6875rem;
  --sm-text-sm: 0.8125rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.375rem;
  --sm-text-xl: clamp(2.75rem, 7vw, 5.5rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0;
  --sm-radius-md: 0;
  --sm-radius-lg: 0.125rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: none;
  --sm-shadow-md: 0 16px 48px rgba(0, 0, 0, 0.24);
  --sm-duration-fast: 80ms;
  --sm-duration-normal: 120ms;
  --sm-ease-standard: cubic-bezier(0.1, 0.9, 0.2, 1);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] {
  color-scheme: dark;
  --sm-color-page: #080808;
  --sm-color-surface: #151515;
  --sm-color-surface-muted: #242424;
  --sm-color-text: #ffffff;
  --sm-color-text-muted: #b5b5b5;
  --sm-color-border: #505050;
  --sm-border-width: 1px;
  --sm-color-accent: #ff5a5f;
  --sm-color-accent-contrast: #090909;
  --sm-color-focus: #ff5a5f;
  --sm-font-body: 'Segoe UI', Arial, ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Segoe UI', Arial, ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.6875rem;
  --sm-text-sm: 0.8125rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.375rem;
  --sm-text-xl: clamp(2.75rem, 7vw, 5.5rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0;
  --sm-radius-md: 0;
  --sm-radius-lg: 0.125rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: none;
  --sm-shadow-md: 0 16px 48px rgba(0, 0, 0, 0.5);
  --sm-duration-fast: 80ms;
  --sm-duration-normal: 120ms;
  --sm-ease-standard: cubic-bezier(0.1, 0.9, 0.2, 1);
}

:where(.sm-theme[data-sm-theme='metro-minimalist']) {
  min-height: 100vh;
  margin: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-page);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.5;
}
:where(.sm-theme[data-sm-theme='metro-minimalist']) *,
:where(.sm-theme[data-sm-theme='metro-minimalist']) *::before,
:where(.sm-theme[data-sm-theme='metro-minimalist']) *::after {
  box-sizing: border-box;
}
:where(.sm-theme[data-sm-theme='metro-minimalist']) :is(h1, h2, h3) {
  margin-block: 0;
  font-family: var(--sm-font-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
:where(.sm-theme[data-sm-theme='metro-minimalist']) :is(p, ul) {
  margin-block: 0;
}
:where(.sm-theme[data-sm-theme='metro-minimalist']) :is(a, button) {
  color: inherit;
  font: inherit;
}
:where(.sm-theme[data-sm-theme='metro-minimalist']) :focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 2px;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  :where(.sm-theme[data-sm-theme='metro-minimalist']),
  :where(.sm-theme[data-sm-theme='metro-minimalist']) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-typography {
  --sm-typography-link: #8f0915;
  --sm-typography-muted: #5f5f5f;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-typography {
  --sm-typography-link: #ff8a8e;
  --sm-typography-muted: #b5b5b5;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography {
  --sm-typography-link-hover-color: var(--sm-color-text);
  --sm-typography-link-hover-background: transparent;
  --sm-typography-link-hover-decoration: 0.2em;
  --sm-typography-link-focus-radius: var(--sm-radius-sm);
  --sm-typography-link-focus-outline: 3px solid var(--sm-color-focus);
  --sm-typography-link-focus-offset: 3px;
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.7;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h1,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h2,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h3,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h4 {
  margin: 0;
  color: var(--sm-color-text);
  font-family: var(--sm-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h1 {
  font-size: var(--sm-text-xl);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h2 {
  font-size: var(--sm-text-lg);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h3 {
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography h4 {
  font-size: var(--sm-text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography p,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ul,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ol {
  margin: 0;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ul {
  list-style: disc;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ol {
  list-style: decimal;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ul,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography ol {
  padding-left: var(--sm-space-6);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography strong {
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography em {
  font-style: italic;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-text-muted {
  color: var(--sm-typography-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-link {
  color: var(--sm-typography-link);
  font-weight: 600;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    text-decoration-thickness var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-link + .sm-link {
  margin-left: var(--sm-space-3);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-link:hover {
  color: var(--sm-typography-link-hover-color);
  background: var(--sm-typography-link-hover-background);
  text-decoration-thickness: var(--sm-typography-link-hover-decoration);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-typography
  .sm-link:focus-visible {
  border-radius: var(--sm-typography-link-focus-radius);
  outline: var(--sm-typography-link-focus-outline);
  outline-offset: var(--sm-typography-link-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-typography .sm-link {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: var(--sm-space-2);
  padding-inline: var(--sm-space-4);
  border: var(--sm-border-width) solid transparent;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    filter var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-button {
  --sm-button-danger: #b91c1c;
  --sm-button-danger-contrast: #ffffff;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-button {
  --sm-button-danger: #f87171;
  --sm-button-danger-contrast: #151515;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-button[data-sm-variant='primary'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-button[data-sm-variant='secondary'] {
  color: var(--sm-color-text);
  border-color: var(--sm-color-border);
  background: var(--sm-color-surface);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-button[data-sm-variant='destructive'] {
  color: var(--sm-button-danger-contrast);
  border-color: var(--sm-button-danger);
  background: var(--sm-button-danger);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-button[data-sm-variant='ghost'] {
  color: var(--sm-color-text);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button[data-sm-size='small'] {
  min-height: 2rem;
  padding-inline: var(--sm-space-3);
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button[data-sm-size='default'] {
  min-height: 2.5rem;
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button[data-sm-size='large'] {
  min-height: 3rem;
  padding-inline: var(--sm-space-5);
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button:active:not(:disabled) {
  box-shadow: none;
  transform: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.5;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-button[aria-busy='true'] {
  color: transparent;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-button[aria-busy='true']::before {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--sm-radius-full);
  color: var(--sm-color-text-muted);
  animation: sm-button-spin 700ms linear infinite;
  content: '';
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-button {
    transition: none;
  }

  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-button[aria-busy='true']::before {
    animation: none;
  }
}

@keyframes sm-button-spin {
  to {
    transform: rotate(1turn);
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-text-input {
  --sm-field-background: #ffffff;
  --sm-field-text: #171717;
  --sm-field-placeholder: #5f5f5f;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-text-input {
  --sm-field-background: #151515;
  --sm-field-text: #ffffff;
  --sm-field-placeholder: #b5b5b5;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input::placeholder {
  color: var(--sm-field-placeholder);
  opacity: 1;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-text-input
  input:placeholder-shown {
  border-color: var(--sm-color-border);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-text-input
  input[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input .sm-field-hint,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-text-input input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-textarea {
  --sm-field-background: #ffffff;
  --sm-field-text: #171717;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-textarea {
  --sm-field-background: #151515;
  --sm-field-text: #ffffff;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  line-height: 1.55;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-textarea
  textarea:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-textarea
  textarea[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea textarea:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea textarea:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea .sm-field-hint,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-textarea textarea {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-select {
  --sm-field-background: #ffffff;
  --sm-field-text: #171717;
  --sm-field-placeholder: #5f5f5f;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-select {
  --sm-field-background: #151515;
  --sm-field-text: #ffffff;
  --sm-field-placeholder: #b5b5b5;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select select {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-select
  select:has(option[value='']:checked) {
  color: var(--sm-field-placeholder);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select select:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-select
  select[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select select:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select .sm-field-hint,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-select .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-select .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-select select {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-checkbox {
  --sm-choice-background: #ffffff;
  --sm-choice-text: #171717;
  --sm-choice-border: #5f5f5f;
  --sm-choice-selected: #c50f1f;
  --sm-choice-mark: #ffffff;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-checkbox {
  --sm-choice-background: #151515;
  --sm-choice-text: #ffffff;
  --sm-choice-border: #b5b5b5;
  --sm-choice-selected: #ff5a5f;
  --sm-choice-mark: #171717;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-checkbox
  input[type='checkbox'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: var(--sm-radius-sm);
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input::after {
  width: 0.3rem;
  height: 0.6rem;
  border: solid currentColor;
  border-width: 0 0.125rem 0.125rem 0;
  content: '';
  opacity: 0;
  transform: translateY(-0.0625rem) rotate(45deg);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input:checked,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input:indeterminate {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input:checked::after {
  opacity: 1;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-checkbox
  input:indeterminate::after {
  width: 0.65rem;
  height: 0.125rem;
  border: 0;
  background: currentColor;
  opacity: 1;
  transform: none;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-checkbox:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-checkbox input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-radio {
  --sm-choice-background: #ffffff;
  --sm-choice-text: #171717;
  --sm-choice-border: #5f5f5f;
  --sm-choice-selected: #c50f1f;
  --sm-choice-mark: #ffffff;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-radio {
  --sm-choice-background: #151515;
  --sm-choice-text: #ffffff;
  --sm-choice-border: #b5b5b5;
  --sm-choice-selected: #ff5a5f;
  --sm-choice-mark: #171717;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio-group {
  display: grid;
  gap: var(--sm-space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio-group legend {
  margin-bottom: var(--sm-space-3);
  color: var(--sm-color-text-muted);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input[type='radio'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: 50%;
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input::after {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
  opacity: 0;
  transform: scale(0.5);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input:checked {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-radio:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-radio input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: var(--sm-border-width) solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-card-text);
  background: var(--sm-card-background);
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-card {
  --sm-card-background: #ffffff;
  --sm-card-text: #171717;
  --sm-card-muted: #5f5f5f;
  --sm-card-border: #94a3b8;
  --sm-card-accent: #8f0915;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-card {
  --sm-card-background: #151515;
  --sm-card-text: #ffffff;
  --sm-card-muted: #c8c8c8;
  --sm-card-border: #5f5f5f;
  --sm-card-accent: #ff8a8e;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__header,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__body,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__footer {
  padding-inline: var(--sm-space-5);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__header {
  display: grid;
  gap: var(--sm-space-2);
  padding-block: var(--sm-space-5) var(--sm-space-3);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__header h2,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__header p,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__body p {
  margin: 0;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__header h2 {
  min-width: 0;
  color: var(--sm-card-text);
  font-size: var(--sm-text-lg);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__eyebrow {
  color: var(--sm-card-accent);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__body {
  min-width: 0;
  padding-block: var(--sm-space-2) var(--sm-space-5);
  color: var(--sm-card-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__footer {
  padding-block: var(--sm-space-3);
  border-top: var(--sm-border-width) solid var(--sm-card-border);
  color: var(--sm-card-muted);
  background: color-mix(
    in srgb,
    var(--sm-card-background) 88%,
    var(--sm-card-text)
  );
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card--interactive {
  cursor: pointer;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card--interactive:hover {
  border-color: var(--sm-card-accent);
  box-shadow: var(--sm-shadow-md);
  transform: translateY(-2px);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card--interactive:focus-within {
  border-color: var(--sm-card-accent);
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
  box-shadow: var(--sm-shadow-md);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__link {
  color: var(--sm-card-text);
  text-decoration-color: var(--sm-card-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__link::after {
  position: absolute;
  inset: 0;
  content: '';
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-card__link:focus-visible {
  border-radius: var(--sm-radius-sm);
  outline: 2px solid var(--sm-color-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-card {
    transition: none;
  }

  .sm-theme[data-sm-theme='metro-minimalist'] .sm-card--interactive:hover {
    transform: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-badge {
  display: inline-flex;
  gap: var(--sm-space-2);
  align-items: center;
  width: fit-content;
  padding: var(--sm-space-1) var(--sm-space-3);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  line-height: 1.4;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-badge {
  --sm-badge-neutral-background: #e2e8f0;
  --sm-badge-neutral-text: #171717;
  --sm-badge-accent-background: #ffe1e2;
  --sm-badge-accent-text: #8f0915;
  --sm-badge-success-background: #dcfce7;
  --sm-badge-success-text: #166534;
  --sm-badge-warning-background: #fef3c7;
  --sm-badge-warning-text: #854d0e;
  --sm-badge-danger-background: #fee2e2;
  --sm-badge-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-badge {
  --sm-badge-neutral-background: #303030;
  --sm-badge-neutral-text: #ffffff;
  --sm-badge-accent-background: #134e4a;
  --sm-badge-accent-text: #ffe1e2;
  --sm-badge-success-background: #14532d;
  --sm-badge-success-text: #dcfce7;
  --sm-badge-warning-background: #78350f;
  --sm-badge-warning-text: #fef3c7;
  --sm-badge-danger-background: #7f1d1d;
  --sm-badge-danger-text: #fee2e2;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-badge__marker {
  display: grid;
  place-items: center;
  min-width: 1em;
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-badge[data-sm-intent='neutral'] {
  color: var(--sm-badge-neutral-text);
  background: var(--sm-badge-neutral-background);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-badge[data-sm-intent='accent'] {
  color: var(--sm-badge-accent-text);
  background: var(--sm-badge-accent-background);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-badge[data-sm-intent='success'] {
  color: var(--sm-badge-success-text);
  background: var(--sm-badge-success-background);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-badge[data-sm-intent='warning'] {
  color: var(--sm-badge-warning-text);
  background: var(--sm-badge-warning-background);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-badge[data-sm-intent='danger'] {
  color: var(--sm-badge-danger-text);
  background: var(--sm-badge-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-badge {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-md);
  box-shadow: var(--sm-shadow-sm);
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-alert {
  --sm-alert-info-background: #dbeafe;
  --sm-alert-info-text: #1e3a8a;
  --sm-alert-success-background: #dcfce7;
  --sm-alert-success-text: #166534;
  --sm-alert-warning-background: #fef3c7;
  --sm-alert-warning-text: #854d0e;
  --sm-alert-danger-background: #fee2e2;
  --sm-alert-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-alert {
  --sm-alert-info-background: #1e3a8a;
  --sm-alert-info-text: #eff6ff;
  --sm-alert-success-background: #14532d;
  --sm-alert-success-text: #ecfdf5;
  --sm-alert-warning-background: #78350f;
  --sm-alert-warning-text: #fefce8;
  --sm-alert-danger-background: #7f1d1d;
  --sm-alert-danger-text: #fef2f2;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__content {
  display: grid;
  gap: var(--sm-space-1);
  min-width: 0;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__content h2,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__content p {
  margin: 0;
  color: inherit;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__content h2 {
  font-size: var(--sm-text-sm);
  line-height: 1.4;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert__content p {
  font-size: var(--sm-text-sm);
  line-height: 1.6;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert[data-sm-intent='info'] {
  color: var(--sm-alert-info-text);
  background: var(--sm-alert-info-background);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-alert[data-sm-intent='success'] {
  color: var(--sm-alert-success-text);
  background: var(--sm-alert-success-background);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-alert[data-sm-intent='warning'] {
  color: var(--sm-alert-warning-text);
  background: var(--sm-alert-warning-background);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-alert[data-sm-intent='danger'] {
  color: var(--sm-alert-danger-text);
  background: var(--sm-alert-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-alert {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  scrollbar-gutter: stable;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table-scroll:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-table {
  --sm-table-background: #ffffff;
  --sm-table-text: #171717;
  --sm-table-header-background: #e2e8f0;
  --sm-table-header-text: #171717;
  --sm-table-hover-background: #dbeafe;
  --sm-table-hover-text: #1e3a8a;
  --sm-table-selected-background: #ffe1e2;
  --sm-table-selected-text: #8f0915;
  --sm-table-empty-background: #f1f5f9;
  --sm-table-empty-text: #5f5f5f;
  --sm-table-border: #5f5f5f;
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-table {
  --sm-table-background: #151515;
  --sm-table-text: #ffffff;
  --sm-table-header-background: #303030;
  --sm-table-header-text: #ffffff;
  --sm-table-hover-background: #1e3a8a;
  --sm-table-hover-text: #eff6ff;
  --sm-table-selected-background: #134e4a;
  --sm-table-selected-text: #ffe1e2;
  --sm-table-empty-background: #242424;
  --sm-table-empty-text: #d0d0d0;
  --sm-table-border: #94a3b8;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table caption {
  padding: var(--sm-space-4) var(--sm-space-5);
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-base);
  font-weight: 700;
  text-align: left;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table thead {
  color: var(--sm-table-header-text);
  background: var(--sm-table-header-background);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table th,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-table td {
  padding: var(--sm-space-3) var(--sm-space-5);
  border-bottom: var(--sm-border-width) solid var(--sm-table-border);
  color: inherit;
  text-align: left;
  vertical-align: middle;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table thead th {
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table tbody th {
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table tbody tr:last-child > * {
  border-bottom: 0;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table tbody tr:hover > * {
  color: var(--sm-table-hover-text);
  background: var(--sm-table-hover-background);
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-table
  tr[aria-current='true']
  > * {
  color: var(--sm-table-selected-text);
  background: var(--sm-table-selected-background);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table__selection {
  display: inline-flex;
  gap: var(--sm-space-1);
  align-items: center;
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table__empty {
  padding-block: var(--sm-space-6) !important;
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
  text-align: center !important;
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-table__empty-content {
  display: grid;
  gap: var(--sm-space-2);
  justify-items: center;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-table__empty-content
  > [aria-hidden='true'] {
  font-size: var(--sm-text-xl);
  line-height: 1;
}

.sm-theme[data-sm-theme='metro-minimalist']
  .sm-table--empty
  tbody
  tr:hover
  > * {
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-table-scroll {
    scroll-behavior: auto;
  }

  .sm-theme[data-sm-theme='metro-minimalist'] .sm-table th,
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-table td {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  box-shadow: none;
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    box-shadow var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-media-card[data-sm-layout='vertical'] {
  grid-template-rows: 11rem auto;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-media-card[data-sm-layout='horizontal'] {
  grid-template-columns: minmax(9rem, 36%) 1fr;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__media {
  display: block;
  min-height: 9rem;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #171717 0 66%,
    var(--sm-color-accent) 66%
  );
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__content {
  display: grid;
  gap: var(--sm-space-4);
  align-content: start;
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__content header {
  display: grid;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__content h2 {
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 600;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__content a {
  color: inherit;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-3);
  padding: 0;
  margin: 0;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
  list-style: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__content footer {
  display: flex;
  justify-content: flex-end;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card:hover,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card:focus-within {
  transform: translateX(3px);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-media-card:hover
  .sm-media-card__media
  img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card,
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-media-card__media img {
    transition: none;
    transform: none;
  }
}
@media (max-width: 42rem) {
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-media-card[data-sm-layout='horizontal'] {
    grid-template-columns: 1fr;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs {
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tablist'] {
  display: flex;
  gap: var(--sm-space-2);
  overflow-x: auto;
  border-bottom: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tab'] {
  position: relative;
  min-height: 2.75rem;
  padding: var(--sm-space-2) var(--sm-space-4);
  border: 0;
  border-radius: 0 0 0 0;
  color: var(--sm-component-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tab'] span {
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tab']:hover {
  color: var(--sm-color-text);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [aria-selected='true'] {
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  box-shadow: inset 0 -3px 0 var(--sm-color-accent);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-tabs
  [role='tab']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tab']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tabpanel'] {
  min-height: 7rem;
  padding: var(--sm-space-5);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  background: var(--sm-color-surface);
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-tabs [role='tab'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-2);
  color: var(--sm-color-text);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-progress label {
  font-weight: 700;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-progress output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  appearance: none;
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-progress
  progress::-webkit-progress-bar {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-progress
  progress::-webkit-progress-value {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-progress
  progress::-moz-progress-bar {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-progress[data-sm-size='compact']
  progress {
  height: 0.35rem;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-progress[data-sm-state='indeterminate']
  progress {
  background: repeating-linear-gradient(
    90deg,
    var(--sm-color-accent) 0 18%,
    var(--sm-color-surface-muted) 18% 36%
  );
  background-size: 200% 100%;
  animation: sm-progress-metro-minimalist 1.1s linear infinite;
}
@keyframes sm-progress-metro-minimalist {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-progress
    progress::-webkit-progress-value,
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-progress
    progress::-moz-progress-bar {
    transition: none;
  }
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-progress[data-sm-state='indeterminate']
    progress {
    animation: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter {
  display: grid;
  gap: var(--sm-space-5);
  min-width: 0;
  margin: 0;
  padding: var(--sm-space-5);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter legend {
  padding-inline: var(--sm-space-2);
  font-weight: 600;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter__single,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter__paired {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-3);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter
  input[type='range'] {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.4rem;
  margin: 0.65rem 0;
  appearance: none;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    var(--sm-color-accent),
    var(--sm-color-surface-muted)
  );
  cursor: pointer;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-range-filter__track {
  position: relative;
  grid-column: 1 / -1;
  min-height: 2rem;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter__track
  input[type='range'] {
  position: absolute;
  inset: 0.35rem 0 auto;
  background: linear-gradient(
    90deg,
    var(--sm-color-surface-muted) var(--sm-range-min, 20%),
    var(--sm-color-accent) var(--sm-range-min, 20%) var(--sm-range-max, 80%),
    var(--sm-color-surface-muted) var(--sm-range-max, 80%)
  );
  pointer-events: none;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter
  input[type='range']::-webkit-slider-thumb {
  width: 1.2rem;
  height: 1.2rem;
  appearance: none;
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  background: var(--sm-color-accent);
  box-shadow: none;
  pointer-events: auto;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter
  input[type='range']::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  background: var(--sm-color-accent);
  box-shadow: none;
  pointer-events: auto;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter
  input[type='range']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 4px;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-range-filter
  input[type='range']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-range-filter
    input[type='range'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure {
  overflow: hidden;
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: var(--sm-space-4);
  padding: var(--sm-space-4) var(--sm-space-5);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  transition: background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-disclosure
  summary::-webkit-details-marker {
  display: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure summary::after {
  content: '+';
  color: var(--sm-color-accent);
  font-size: var(--sm-text-lg);
  line-height: 1;
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure summary:hover {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-disclosure
  summary:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure__meta {
  margin-left: auto;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure__content {
  padding: var(--sm-space-5);
  border-top: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure[open] summary {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-disclosure[open]
  summary::after {
  content: '−';
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure summary,
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-disclosure summary::after {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
  align-items: center;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination ol {
  display: flex;
  gap: var(--sm-space-1);
  padding: 0;
  margin: 0;
  list-style: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination a,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination__unavailable {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  padding-inline: var(--sm-space-3);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  color: inherit;
  background: var(--sm-color-surface);
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination a:hover {
  transform: translateX(3px);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination a:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 2px;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-pagination
  [aria-current='page'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-pagination
  [aria-disabled='true'] {
  opacity: 0.42;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-pagination a {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--sm-color-border);
  border-top: 0.35rem solid var(--sm-color-accent);
  border-radius: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog::backdrop {
  background: color-mix(in srgb, var(--sm-color-page) 35%, #000000 65%);
  backdrop-filter: blur(4px);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__header,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__body,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__actions {
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__header {
  display: grid;
  gap: var(--sm-space-2);
  border-bottom: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__header h2,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__body p {
  margin: 0;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__body {
  display: grid;
  gap: var(--sm-space-4);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sm-space-3);
  border-top: 1px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-dialog {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating {
  display: grid;
  gap: var(--sm-space-3);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating legend {
  margin-bottom: var(--sm-space-2);
  font-weight: 600;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating label {
  position: relative;
  display: grid;
  min-width: 3rem;
  min-height: 2.75rem;
  place-items: center;
  padding: var(--sm-space-2);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  background: var(--sm-color-surface);
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating input[type='radio'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating label:hover {
  transform: translateX(3px);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-rating
  label:has(input:checked) {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating input:checked + span {
  font-weight: 900;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating input:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating input:disabled {
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-rating
  label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-rating > output {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-rating label {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: 1px solid var(--sm-color-border);
  border-left: 0.35rem solid currentColor;
  border-radius: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    opacity var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 900;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__content {
  display: grid;
  gap: var(--sm-space-2);
  min-width: 0;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__content h2,
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__content p {
  margin: 0;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__content h2 {
  font-size: var(--sm-text-base);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__content p {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast__actions {
  display: flex;
  gap: var(--sm-space-2);
  align-items: start;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast[data-sm-intent='info'] {
  color: var(--sm-color-focus);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-toast[data-sm-intent='success'] {
  color: #2f7d4d;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-toast[data-sm-intent='warning'] {
  color: #9a6700;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast[data-sm-intent='danger'] {
  color: #b4232e;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-toast:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-toast {
    transition: none;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light']
  .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark']
  .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state {
  display: grid;
  justify-items: center;
  gap: var(--sm-space-3);
  min-width: 0;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid var(--sm-color-border);
  border-style: dashed;
  border-radius: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  text-align: center;
  box-shadow: none;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state__illustration {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  font-size: 2rem;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state h2 {
  max-width: 24rem;
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 600;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state p {
  max-width: 32rem;
  margin: 0;
  color: var(--sm-component-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state .sm-button {
  margin-top: var(--sm-space-2);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state:focus-within {
  border-style: solid;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-empty-state {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton-group {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--sm-space-3);
  padding: var(--sm-space-4);
  border: 1px solid var(--sm-color-border);
  border-radius: 0;
  background: var(--sm-color-surface);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton {
  position: relative;
  min-height: 1rem;
  overflow: hidden;
  border-radius: 0;
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    100deg,
    transparent 20%,
    color-mix(in srgb, var(--sm-color-text) 12%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: sm-skeleton-metro-minimalist 1.35s var(--sm-ease-standard) infinite;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-skeleton[data-sm-shape='media'] {
  grid-row: span 3;
  min-height: 6rem;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-skeleton[data-sm-shape='title'] {
  width: 62%;
  height: 1.5rem;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton[data-sm-shape='text'] {
  width: 88%;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes sm-skeleton-metro-minimalist {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist'] .sm-skeleton::after {
    animation: none;
    transform: none;
    background: transparent;
  }
}

.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='light'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='metro-minimalist'][data-sm-mode='dark'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='metro-minimalist'] .sm-spinner {
  display: inline-flex;
  gap: var(--sm-space-3);
  align-items: center;
  color: var(--sm-color-text);
  font-weight: 700;
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-spinner
  > span[aria-hidden='true'] {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.2rem solid var(--sm-color-surface-muted);
  border-top-color: var(--sm-color-accent);
  border-radius: var(--sm-radius-full);
  animation: sm-spinner-metro-minimalist 0.8s linear infinite;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-spinner[data-sm-size='small'] {
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-spinner[data-sm-size='small']
  > span[aria-hidden='true'] {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}
.sm-theme[data-sm-theme='metro-minimalist'] .sm-spinner[data-sm-size='large'] {
  font-size: var(--sm-text-lg);
}
.sm-theme[data-sm-theme='metro-minimalist']
  .sm-spinner[data-sm-size='large']
  > span[aria-hidden='true'] {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.3rem;
}
@keyframes sm-spinner-metro-minimalist {
  to {
    transform: rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='metro-minimalist']
    .sm-spinner
    > span[aria-hidden='true'] {
    animation: none;
    border-right-color: var(--sm-color-accent);
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] {
  color-scheme: light;
  --sm-color-page: #f6f8fc;
  --sm-color-surface: #ffffff;
  --sm-color-surface-muted: #eef4ff;
  --sm-color-text: #0f172a;
  --sm-color-text-muted: #64748b;
  --sm-color-border: rgba(15, 23, 42, 0.14);
  --sm-border-width: 1px;
  --sm-color-accent: #2563eb;
  --sm-color-accent-contrast: #ffffff;
  --sm-color-focus: #0ea5a5;
  --sm-font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Sora', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.25rem, 6vw, 4.75rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.5rem;
  --sm-radius-md: 0.875rem;
  --sm-radius-lg: 1.5rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --sm-shadow-md: 0 20px 50px rgba(15, 23, 42, 0.14);
  --sm-duration-fast: 120ms;
  --sm-duration-normal: 180ms;
  --sm-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] {
  color-scheme: dark;
  --sm-color-page: #0b1220;
  --sm-color-surface: #111a2b;
  --sm-color-surface-muted: #172a45;
  --sm-color-text: #e5edf8;
  --sm-color-text-muted: #9aa9be;
  --sm-color-border: rgba(229, 237, 248, 0.18);
  --sm-border-width: 1px;
  --sm-color-accent: #60a5fa;
  --sm-color-accent-contrast: #08111f;
  --sm-color-focus: #2dd4bf;
  --sm-font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Sora', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.25rem, 6vw, 4.75rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.5rem;
  --sm-radius-md: 0.875rem;
  --sm-radius-lg: 1.5rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.35);
  --sm-shadow-md: 0 24px 60px rgba(0, 0, 0, 0.45);
  --sm-duration-fast: 120ms;
  --sm-duration-normal: 180ms;
  --sm-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) {
  min-height: 100vh;
  margin: 0;
  color: var(--sm-color-text);
  background:
    radial-gradient(
      circle at 12% 8%,
      color-mix(in srgb, var(--sm-color-accent) 10%, transparent),
      transparent 28rem
    ),
    radial-gradient(
      circle at 88% 4%,
      color-mix(in srgb, var(--sm-color-focus) 8%, transparent),
      transparent 24rem
    ),
    var(--sm-color-page);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.6;
  transition:
    color var(--sm-duration-normal) var(--sm-ease-standard),
    background-color var(--sm-duration-normal) var(--sm-ease-standard);
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) *,
:where(.sm-theme[data-sm-theme='modern-minimalist']) *::before,
:where(.sm-theme[data-sm-theme='modern-minimalist']) *::after {
  box-sizing: border-box;
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) :is(h1, h2, h3) {
  margin-block: 0;
  font-family: var(--sm-font-display);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) :is(p, ul) {
  margin-block: 0;
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) :is(a, button) {
  color: inherit;
  font: inherit;
}

:where(.sm-theme[data-sm-theme='modern-minimalist']) :focus-visible {
  outline: 2px solid var(--sm-color-focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  :where(.sm-theme[data-sm-theme='modern-minimalist']),
  :where(.sm-theme[data-sm-theme='modern-minimalist']) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-typography {
  --sm-typography-link: #075985;
  --sm-typography-muted: #52637a;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-typography {
  --sm-typography-link: #7dd3fc;
  --sm-typography-muted: #a7b5c8;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography {
  --sm-typography-link-hover-color: var(--sm-color-text);
  --sm-typography-link-hover-background: transparent;
  --sm-typography-link-hover-decoration: 0.2em;
  --sm-typography-link-focus-radius: var(--sm-radius-sm);
  --sm-typography-link-focus-outline: 3px solid var(--sm-color-focus);
  --sm-typography-link-focus-offset: 3px;
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.7;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h1,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h2,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h3,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h4 {
  margin: 0;
  color: var(--sm-color-text);
  font-family: var(--sm-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h1 {
  font-size: var(--sm-text-xl);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h2 {
  font-size: var(--sm-text-lg);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h3 {
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography h4 {
  font-size: var(--sm-text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography p,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ul,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ol {
  margin: 0;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ul {
  list-style: disc;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ol {
  list-style: decimal;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ul,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography ol {
  padding-left: var(--sm-space-6);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography strong {
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography em {
  font-style: italic;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography .sm-text-muted {
  color: var(--sm-typography-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography .sm-link {
  color: var(--sm-typography-link);
  font-weight: 600;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    text-decoration-thickness var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-typography
  .sm-link
  + .sm-link {
  margin-left: var(--sm-space-3);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-typography .sm-link:hover {
  color: var(--sm-typography-link-hover-color);
  background: var(--sm-typography-link-hover-background);
  text-decoration-thickness: var(--sm-typography-link-hover-decoration);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-typography
  .sm-link:focus-visible {
  border-radius: var(--sm-typography-link-focus-radius);
  outline: var(--sm-typography-link-focus-outline);
  outline-offset: var(--sm-typography-link-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-typography .sm-link {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: var(--sm-space-2);
  padding-inline: var(--sm-space-4);
  border: var(--sm-border-width) solid transparent;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    filter var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-button {
  --sm-button-danger: #b91c1c;
  --sm-button-danger-contrast: #ffffff;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-button {
  --sm-button-danger: #f87171;
  --sm-button-danger-contrast: #111a2b;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[data-sm-variant='primary'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[data-sm-variant='secondary'] {
  color: var(--sm-color-text);
  border-color: var(--sm-color-border);
  background: var(--sm-color-surface);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[data-sm-variant='destructive'] {
  color: var(--sm-button-danger-contrast);
  border-color: var(--sm-button-danger);
  background: var(--sm-button-danger);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[data-sm-variant='ghost'] {
  color: var(--sm-color-text);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button[data-sm-size='small'] {
  min-height: 2rem;
  padding-inline: var(--sm-space-3);
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[data-sm-size='default'] {
  min-height: 2.5rem;
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button[data-sm-size='large'] {
  min-height: 3rem;
  padding-inline: var(--sm-space-5);
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button:active:not(:disabled) {
  box-shadow: none;
  transform: translateY(1px);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.5;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-button[aria-busy='true'] {
  color: transparent;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-button[aria-busy='true']::before {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--sm-radius-full);
  color: var(--sm-color-text-muted);
  animation: sm-button-spin 700ms linear infinite;
  content: '';
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-button {
    transition: none;
  }

  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-button[aria-busy='true']::before {
    animation: none;
  }
}

@keyframes sm-button-spin {
  to {
    transform: rotate(1turn);
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-text-input {
  --sm-field-background: #ffffff;
  --sm-field-text: #0f172a;
  --sm-field-placeholder: #52637a;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-text-input {
  --sm-field-background: #111a2b;
  --sm-field-text: #e5edf8;
  --sm-field-placeholder: #9aa9be;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input input {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input input::placeholder {
  color: var(--sm-field-placeholder);
  opacity: 1;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-text-input
  input:placeholder-shown {
  border-color: var(--sm-color-border);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-text-input
  input:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-text-input
  input[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input input:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input input:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input .sm-field-hint,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-text-input input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-textarea {
  --sm-field-background: #ffffff;
  --sm-field-text: #0f172a;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-textarea {
  --sm-field-background: #111a2b;
  --sm-field-text: #e5edf8;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  line-height: 1.55;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-textarea
  textarea:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-textarea
  textarea[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea textarea:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea textarea:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea .sm-field-hint,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-textarea textarea {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-select {
  --sm-field-background: #ffffff;
  --sm-field-text: #0f172a;
  --sm-field-placeholder: #52637a;
  --sm-field-error: #b91c1c;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-select {
  --sm-field-background: #111a2b;
  --sm-field-text: #e5edf8;
  --sm-field-placeholder: #9aa9be;
  --sm-field-error: #fca5a5;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select label {
  font-size: var(--sm-text-sm);
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select select {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  transition:
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-select
  select:has(option[value='']:checked) {
  color: var(--sm-field-placeholder);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select select:focus-visible {
  border-color: var(--sm-color-focus);
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-select
  select[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  outline-color: var(--sm-field-error);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select select:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select .sm-field-hint,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-select .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-select .sm-field-error {
  color: var(--sm-field-error);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-select select {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-checkbox {
  --sm-choice-background: #ffffff;
  --sm-choice-text: #0f172a;
  --sm-choice-border: #64748b;
  --sm-choice-selected: #2563eb;
  --sm-choice-mark: #ffffff;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-checkbox {
  --sm-choice-background: #111a2b;
  --sm-choice-text: #e5edf8;
  --sm-choice-border: #9aa9be;
  --sm-choice-selected: #60a5fa;
  --sm-choice-mark: #0f172a;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-checkbox
  input[type='checkbox'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: var(--sm-radius-sm);
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input::after {
  width: 0.3rem;
  height: 0.6rem;
  border: solid currentColor;
  border-width: 0 0.125rem 0.125rem 0;
  content: '';
  opacity: 0;
  transform: translateY(-0.0625rem) rotate(45deg);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input:checked,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input:indeterminate {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input:checked::after {
  opacity: 1;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-checkbox
  input:indeterminate::after {
  width: 0.65rem;
  height: 0.125rem;
  border: 0;
  background: currentColor;
  opacity: 1;
  transform: none;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-checkbox:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-checkbox input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-radio {
  --sm-choice-background: #ffffff;
  --sm-choice-text: #0f172a;
  --sm-choice-border: #64748b;
  --sm-choice-selected: #2563eb;
  --sm-choice-mark: #ffffff;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-radio {
  --sm-choice-background: #111a2b;
  --sm-choice-text: #e5edf8;
  --sm-choice-border: #9aa9be;
  --sm-choice-selected: #60a5fa;
  --sm-choice-mark: #0f172a;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio-group {
  display: grid;
  gap: var(--sm-space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio-group legend {
  margin-bottom: var(--sm-space-3);
  color: var(--sm-color-text-muted);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 2px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: none;
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input[type='radio'] {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: 50%;
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  transition:
    background var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input::after {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
  opacity: 0;
  transform: scale(0.5);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input:checked {
  border-color: var(--sm-choice-selected);
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-radio:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-radio input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: var(--sm-border-width) solid var(--sm-card-border);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-card-text);
  background: var(--sm-card-background);
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    border-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-card {
  --sm-card-background: #ffffff;
  --sm-card-text: #172033;
  --sm-card-muted: #526078;
  --sm-card-border: #94a3b8;
  --sm-card-accent: #0f766e;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-card {
  --sm-card-background: #111a2b;
  --sm-card-text: #edf4ff;
  --sm-card-muted: #aebbd0;
  --sm-card-border: #64748b;
  --sm-card-accent: #5eead4;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__header,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__body,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__footer {
  padding-inline: var(--sm-space-5);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__header {
  display: grid;
  gap: var(--sm-space-2);
  padding-block: var(--sm-space-5) var(--sm-space-3);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__header h2,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__header p,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__body p {
  margin: 0;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__header h2 {
  min-width: 0;
  color: var(--sm-card-text);
  font-size: var(--sm-text-lg);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__eyebrow {
  color: var(--sm-card-accent);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__body {
  min-width: 0;
  padding-block: var(--sm-space-2) var(--sm-space-5);
  color: var(--sm-card-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__footer {
  padding-block: var(--sm-space-3);
  border-top: var(--sm-border-width) solid var(--sm-card-border);
  color: var(--sm-card-muted);
  background: color-mix(
    in srgb,
    var(--sm-card-background) 88%,
    var(--sm-card-text)
  );
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card--interactive {
  cursor: pointer;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card--interactive:hover {
  border-color: var(--sm-card-accent);
  box-shadow: var(--sm-shadow-md);
  transform: translateY(-2px);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-card--interactive:focus-within {
  border-color: var(--sm-card-accent);
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
  box-shadow: var(--sm-shadow-md);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__link {
  color: var(--sm-card-text);
  text-decoration-color: var(--sm-card-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__link::after {
  position: absolute;
  inset: 0;
  content: '';
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-card__link:focus-visible {
  border-radius: var(--sm-radius-sm);
  outline: 2px solid var(--sm-color-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-card {
    transition: none;
  }

  .sm-theme[data-sm-theme='modern-minimalist'] .sm-card--interactive:hover {
    transform: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-badge {
  display: inline-flex;
  gap: var(--sm-space-2);
  align-items: center;
  width: fit-content;
  padding: var(--sm-space-1) var(--sm-space-3);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-size: var(--sm-text-xs);
  font-weight: 700;
  line-height: 1.4;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-badge {
  --sm-badge-neutral-background: #e2e8f0;
  --sm-badge-neutral-text: #172033;
  --sm-badge-accent-background: #ccfbf1;
  --sm-badge-accent-text: #115e59;
  --sm-badge-success-background: #dcfce7;
  --sm-badge-success-text: #166534;
  --sm-badge-warning-background: #fef3c7;
  --sm-badge-warning-text: #854d0e;
  --sm-badge-danger-background: #fee2e2;
  --sm-badge-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-badge {
  --sm-badge-neutral-background: #334155;
  --sm-badge-neutral-text: #f8fafc;
  --sm-badge-accent-background: #134e4a;
  --sm-badge-accent-text: #ccfbf1;
  --sm-badge-success-background: #14532d;
  --sm-badge-success-text: #dcfce7;
  --sm-badge-warning-background: #78350f;
  --sm-badge-warning-text: #fef3c7;
  --sm-badge-danger-background: #7f1d1d;
  --sm-badge-danger-text: #fee2e2;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-badge__marker {
  display: grid;
  place-items: center;
  min-width: 1em;
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-badge[data-sm-intent='neutral'] {
  color: var(--sm-badge-neutral-text);
  background: var(--sm-badge-neutral-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-badge[data-sm-intent='accent'] {
  color: var(--sm-badge-accent-text);
  background: var(--sm-badge-accent-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-badge[data-sm-intent='success'] {
  color: var(--sm-badge-success-text);
  background: var(--sm-badge-success-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-badge[data-sm-intent='warning'] {
  color: var(--sm-badge-warning-text);
  background: var(--sm-badge-warning-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-badge[data-sm-intent='danger'] {
  color: var(--sm-badge-danger-text);
  background: var(--sm-badge-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-badge {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-md);
  box-shadow: var(--sm-shadow-sm);
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-alert {
  --sm-alert-info-background: #dbeafe;
  --sm-alert-info-text: #1e3a8a;
  --sm-alert-success-background: #dcfce7;
  --sm-alert-success-text: #166534;
  --sm-alert-warning-background: #fef3c7;
  --sm-alert-warning-text: #854d0e;
  --sm-alert-danger-background: #fee2e2;
  --sm-alert-danger-text: #991b1b;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-alert {
  --sm-alert-info-background: #1e3a8a;
  --sm-alert-info-text: #eff6ff;
  --sm-alert-success-background: #14532d;
  --sm-alert-success-text: #ecfdf5;
  --sm-alert-warning-background: #78350f;
  --sm-alert-warning-text: #fefce8;
  --sm-alert-danger-background: #7f1d1d;
  --sm-alert-danger-text: #fef2f2;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: var(--sm-border-width) solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 800;
  line-height: 1;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__content {
  display: grid;
  gap: var(--sm-space-1);
  min-width: 0;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__content h2,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__content p {
  margin: 0;
  color: inherit;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__content h2 {
  font-size: var(--sm-text-sm);
  line-height: 1.4;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert__content p {
  font-size: var(--sm-text-sm);
  line-height: 1.6;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-alert[data-sm-intent='info'] {
  color: var(--sm-alert-info-text);
  background: var(--sm-alert-info-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-alert[data-sm-intent='success'] {
  color: var(--sm-alert-success-text);
  background: var(--sm-alert-success-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-alert[data-sm-intent='warning'] {
  color: var(--sm-alert-warning-text);
  background: var(--sm-alert-warning-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-alert[data-sm-intent='danger'] {
  color: var(--sm-alert-danger-text);
  background: var(--sm-alert-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-alert {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  scrollbar-gutter: stable;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table-scroll:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-table {
  --sm-table-background: #ffffff;
  --sm-table-text: #172033;
  --sm-table-header-background: #e2e8f0;
  --sm-table-header-text: #172033;
  --sm-table-hover-background: #dbeafe;
  --sm-table-hover-text: #1e3a8a;
  --sm-table-selected-background: #ccfbf1;
  --sm-table-selected-text: #115e59;
  --sm-table-empty-background: #f1f5f9;
  --sm-table-empty-text: #526078;
  --sm-table-border: #64748b;
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-table {
  --sm-table-background: #111a2b;
  --sm-table-text: #edf4ff;
  --sm-table-header-background: #334155;
  --sm-table-header-text: #f8fafc;
  --sm-table-hover-background: #1e3a8a;
  --sm-table-hover-text: #eff6ff;
  --sm-table-selected-background: #134e4a;
  --sm-table-selected-text: #ccfbf1;
  --sm-table-empty-background: #1e293b;
  --sm-table-empty-text: #cbd5e1;
  --sm-table-border: #94a3b8;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table caption {
  padding: var(--sm-space-4) var(--sm-space-5);
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-base);
  font-weight: 700;
  text-align: left;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table thead {
  color: var(--sm-table-header-text);
  background: var(--sm-table-header-background);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table th,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-table td {
  padding: var(--sm-space-3) var(--sm-space-5);
  border-bottom: var(--sm-border-width) solid var(--sm-table-border);
  color: inherit;
  text-align: left;
  vertical-align: middle;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table thead th {
  font-size: var(--sm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table tbody th {
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table tbody tr:last-child > * {
  border-bottom: 0;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table tbody tr:hover > * {
  color: var(--sm-table-hover-text);
  background: var(--sm-table-hover-background);
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-table
  tr[aria-current='true']
  > * {
  color: var(--sm-table-selected-text);
  background: var(--sm-table-selected-background);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table__selection {
  display: inline-flex;
  gap: var(--sm-space-1);
  align-items: center;
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table__empty {
  padding-block: var(--sm-space-6) !important;
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
  text-align: center !important;
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-table__empty-content {
  display: grid;
  gap: var(--sm-space-2);
  justify-items: center;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-table__empty-content
  > [aria-hidden='true'] {
  font-size: var(--sm-text-xl);
  line-height: 1;
}

.sm-theme[data-sm-theme='modern-minimalist']
  .sm-table--empty
  tbody
  tr:hover
  > * {
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-table-scroll {
    scroll-behavior: auto;
  }

  .sm-theme[data-sm-theme='modern-minimalist'] .sm-table th,
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-table td {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    box-shadow var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-media-card[data-sm-layout='vertical'] {
  grid-template-rows: 11rem auto;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-media-card[data-sm-layout='horizontal'] {
  grid-template-columns: minmax(9rem, 36%) 1fr;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__media {
  display: block;
  min-height: 9rem;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #0ea5a5);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__content {
  display: grid;
  gap: var(--sm-space-4);
  align-content: start;
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__content header {
  display: grid;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__content h2 {
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__content a {
  color: inherit;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-3);
  padding: 0;
  margin: 0;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
  list-style: none;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__content footer {
  display: flex;
  justify-content: flex-end;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card:hover,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card:focus-within {
  transform: translateY(-2px);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-media-card:hover
  .sm-media-card__media
  img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card,
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-media-card__media img {
    transition: none;
    transform: none;
  }
}
@media (max-width: 42rem) {
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-media-card[data-sm-layout='horizontal'] {
    grid-template-columns: 1fr;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs {
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tablist'] {
  display: flex;
  gap: var(--sm-space-2);
  overflow-x: auto;
  border-bottom: var(--sm-border-width) solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tab'] {
  position: relative;
  min-height: 2.75rem;
  padding: var(--sm-space-2) var(--sm-space-4);
  border: 0;
  border-radius: var(--sm-radius-md) var(--sm-radius-md) 0 0;
  color: var(--sm-component-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tab'] span {
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tab']:hover {
  color: var(--sm-color-text);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [aria-selected='true'] {
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  box-shadow: inset 0 -3px 0 var(--sm-color-accent);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-tabs
  [role='tab']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tab']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tabpanel'] {
  min-height: 7rem;
  padding: var(--sm-space-5);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-tabs [role='tab'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-2);
  color: var(--sm-color-text);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-progress label {
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-progress output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  appearance: none;
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-progress
  progress::-webkit-progress-bar {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-progress
  progress::-webkit-progress-value {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-progress
  progress::-moz-progress-bar {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-progress[data-sm-size='compact']
  progress {
  height: 0.35rem;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-progress[data-sm-state='indeterminate']
  progress {
  background: repeating-linear-gradient(
    90deg,
    var(--sm-color-accent) 0 18%,
    var(--sm-color-surface-muted) 18% 36%
  );
  background-size: 200% 100%;
  animation: sm-progress-modern-minimalist 1.1s linear infinite;
}
@keyframes sm-progress-modern-minimalist {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-progress
    progress::-webkit-progress-value,
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-progress
    progress::-moz-progress-bar {
    transition: none;
  }
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-progress[data-sm-state='indeterminate']
    progress {
    animation: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter {
  display: grid;
  gap: var(--sm-space-5);
  min-width: 0;
  margin: 0;
  padding: var(--sm-space-5);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter legend {
  padding-inline: var(--sm-space-2);
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter__single,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter__paired {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-3);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter
  input[type='range'] {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.4rem;
  margin: 0.65rem 0;
  appearance: none;
  border-radius: var(--sm-radius-md);
  background: linear-gradient(
    90deg,
    var(--sm-color-accent),
    var(--sm-color-surface-muted)
  );
  cursor: pointer;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-range-filter__track {
  position: relative;
  grid-column: 1 / -1;
  min-height: 2rem;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter__track
  input[type='range'] {
  position: absolute;
  inset: 0.35rem 0 auto;
  background: linear-gradient(
    90deg,
    var(--sm-color-surface-muted) var(--sm-range-min, 20%),
    var(--sm-color-accent) var(--sm-range-min, 20%) var(--sm-range-max, 80%),
    var(--sm-color-surface-muted) var(--sm-range-max, 80%)
  );
  pointer-events: none;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter
  input[type='range']::-webkit-slider-thumb {
  width: 1.2rem;
  height: 1.2rem;
  appearance: none;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter
  input[type='range']::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter
  input[type='range']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 4px;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-range-filter
  input[type='range']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-range-filter
    input[type='range'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure {
  overflow: hidden;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: var(--sm-space-4);
  padding: var(--sm-space-4) var(--sm-space-5);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  transition: background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-disclosure
  summary::-webkit-details-marker {
  display: none;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure summary::after {
  content: '+';
  color: var(--sm-color-accent);
  font-size: var(--sm-text-lg);
  line-height: 1;
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure summary:hover {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-disclosure
  summary:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure__meta {
  margin-left: auto;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure__content {
  padding: var(--sm-space-5);
  border-top: var(--sm-border-width) solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure[open] summary {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-disclosure[open]
  summary::after {
  content: '−';
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure summary,
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-disclosure summary::after {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
  align-items: center;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination ol {
  display: flex;
  gap: var(--sm-space-1);
  padding: 0;
  margin: 0;
  list-style: none;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination a,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination__unavailable {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  padding-inline: var(--sm-space-3);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: inherit;
  background: var(--sm-color-surface);
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination a:hover {
  transform: translateY(-2px);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination a:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 2px;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-pagination
  [aria-current='page'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-pagination
  [aria-disabled='true'] {
  opacity: 0.42;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-pagination a {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  padding: 0;
  overflow: auto;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-top: 0.35rem solid var(--sm-color-accent);
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog::backdrop {
  background: color-mix(in srgb, var(--sm-color-page) 35%, #000000 65%);
  backdrop-filter: blur(4px);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__header,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__body,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__actions {
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__header {
  display: grid;
  gap: var(--sm-space-2);
  border-bottom: var(--sm-border-width) solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__header h2,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__body p {
  margin: 0;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__body {
  display: grid;
  gap: var(--sm-space-4);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sm-space-3);
  border-top: var(--sm-border-width) solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-dialog {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating {
  display: grid;
  gap: var(--sm-space-3);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating legend {
  margin-bottom: var(--sm-space-2);
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating label {
  position: relative;
  display: grid;
  min-width: 3rem;
  min-height: 2.75rem;
  place-items: center;
  padding: var(--sm-space-2);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-surface);
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating input[type='radio'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating label:hover {
  transform: translateY(-2px);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-rating
  label:has(input:checked) {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating input:checked + span {
  font-weight: 900;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating input:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating input:disabled {
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-rating
  label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-rating > output {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-rating label {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-left: 0.35rem solid currentColor;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    opacity var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 900;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__content {
  display: grid;
  gap: var(--sm-space-2);
  min-width: 0;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__content h2,
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__content p {
  margin: 0;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__content h2 {
  font-size: var(--sm-text-base);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__content p {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast__actions {
  display: flex;
  gap: var(--sm-space-2);
  align-items: start;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast[data-sm-intent='info'] {
  color: var(--sm-color-focus);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-toast[data-sm-intent='success'] {
  color: #2f7d4d;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-toast[data-sm-intent='warning'] {
  color: #9a6700;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-toast[data-sm-intent='danger'] {
  color: #b4232e;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-toast:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-toast {
    transition: none;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark']
  .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state {
  display: grid;
  justify-items: center;
  gap: var(--sm-space-3);
  min-width: 0;
  padding: clamp(2rem, 7vw, 5rem);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-style: dashed;
  border-radius: var(--sm-radius-lg);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  text-align: center;
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state__illustration {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  font-size: 2rem;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state h2 {
  max-width: 24rem;
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state p {
  max-width: 32rem;
  margin: 0;
  color: var(--sm-component-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state .sm-button {
  margin-top: var(--sm-space-2);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state:focus-within {
  border-style: solid;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-empty-state {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light']
  .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-skeleton-group {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--sm-space-3);
  padding: var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-lg);
  background: var(--sm-color-surface);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-skeleton {
  position: relative;
  min-height: 1rem;
  overflow: hidden;
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-skeleton::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    100deg,
    transparent 20%,
    color-mix(in srgb, var(--sm-color-text) 12%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: sm-skeleton-modern-minimalist 1.35s var(--sm-ease-standard)
    infinite;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-skeleton[data-sm-shape='media'] {
  grid-row: span 3;
  min-height: 6rem;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-skeleton[data-sm-shape='title'] {
  width: 62%;
  height: 1.5rem;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-skeleton[data-sm-shape='text'] {
  width: 88%;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes sm-skeleton-modern-minimalist {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist'] .sm-skeleton::after {
    animation: none;
    transform: none;
    background: transparent;
  }
}

.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='light'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='modern-minimalist'][data-sm-mode='dark'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='modern-minimalist'] .sm-spinner {
  display: inline-flex;
  gap: var(--sm-space-3);
  align-items: center;
  color: var(--sm-color-text);
  font-weight: 700;
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-spinner
  > span[aria-hidden='true'] {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.2rem solid var(--sm-color-surface-muted);
  border-top-color: var(--sm-color-accent);
  border-radius: var(--sm-radius-full);
  animation: sm-spinner-modern-minimalist 0.8s linear infinite;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-spinner[data-sm-size='small'] {
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-spinner[data-sm-size='small']
  > span[aria-hidden='true'] {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}
.sm-theme[data-sm-theme='modern-minimalist'] .sm-spinner[data-sm-size='large'] {
  font-size: var(--sm-text-lg);
}
.sm-theme[data-sm-theme='modern-minimalist']
  .sm-spinner[data-sm-size='large']
  > span[aria-hidden='true'] {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.3rem;
}
@keyframes sm-spinner-modern-minimalist {
  to {
    transform: rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='modern-minimalist']
    .sm-spinner
    > span[aria-hidden='true'] {
    animation: none;
    border-right-color: var(--sm-color-accent);
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] {
  color-scheme: light;
  --sm-color-page: #d3d3d3;
  --sm-color-surface: #f5f5f5;
  --sm-color-surface-muted: #e5e5e5;
  --sm-color-text: #323232;
  --sm-color-text-muted: #666666;
  --sm-color-border: #080808;
  --sm-border-width: 2px;
  --sm-color-accent: #f2c14e;
  --sm-color-accent-contrast: #242424;
  --sm-color-focus: #3f8efc;
  --sm-font-body: 'Chivo', ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Chivo', ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.25rem, 6vw, 4.75rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.1875rem;
  --sm-radius-md: 0.3125rem;
  --sm-radius-lg: 0.3125rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 4px 4px 0 #080808;
  --sm-shadow-md: 8px 8px 0 #080808;
  --sm-duration-fast: 90ms;
  --sm-duration-normal: 140ms;
  --sm-ease-standard: steps(2, end);
  --sm-private-grid-dot: #bcbcbc;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] {
  color-scheme: dark;
  --sm-color-page: #1f1f1f;
  --sm-color-surface: #151515;
  --sm-color-surface-muted: #2b2b2b;
  --sm-color-text: #f5f5f5;
  --sm-color-text-muted: #9a9a9a;
  --sm-color-border: #f5f5f5;
  --sm-border-width: 2px;
  --sm-color-accent: #f2c14e;
  --sm-color-accent-contrast: #242424;
  --sm-color-focus: #5da0ff;
  --sm-font-body: 'Chivo', ui-sans-serif, system-ui, sans-serif;
  --sm-font-display: 'Chivo', ui-sans-serif, system-ui, sans-serif;
  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: clamp(2.25rem, 6vw, 4.75rem);
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-radius-sm: 0.1875rem;
  --sm-radius-md: 0.3125rem;
  --sm-radius-lg: 0.3125rem;
  --sm-radius-full: 999px;
  --sm-shadow-sm: 4px 4px 0 #f5f5f5;
  --sm-shadow-md: 8px 8px 0 #f5f5f5;
  --sm-duration-fast: 90ms;
  --sm-duration-normal: 140ms;
  --sm-ease-standard: steps(2, end);
  --sm-private-grid-dot: #666666;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) {
  min-height: 100vh;
  margin: 0;
  color: var(--sm-color-text);
  background-color: var(--sm-color-page);
  background-image: radial-gradient(
    circle,
    var(--sm-private-grid-dot) 10%,
    transparent 11%
  );
  background-size: 1rem 1rem;
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  font-weight: 700;
  line-height: 1.5;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) *,
:where(.sm-theme[data-sm-theme='neo-brutalism']) *::before,
:where(.sm-theme[data-sm-theme='neo-brutalism']) *::after {
  box-sizing: border-box;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) :is(h1, h2, h3) {
  margin-block: 0;
  font-family: var(--sm-font-display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) :is(p, ul) {
  margin-block: 0;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) :is(a, button) {
  color: inherit;
  font: inherit;
}

:where(.sm-theme[data-sm-theme='neo-brutalism']) :focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-eyebrow {
  color: #7a3500;
  text-shadow: 2px 2px 0 #080808;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-eyebrow {
  color: var(--sm-color-accent);
  text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  :where(.sm-theme[data-sm-theme='neo-brutalism']),
  :where(.sm-theme[data-sm-theme='neo-brutalism']) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-typography {
  --sm-typography-link: #151515;
  --sm-typography-muted: #555555;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-typography {
  --sm-typography-link: #fff8c5;
  --sm-typography-muted: #ababab;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography {
  --sm-typography-link-hover-color: var(--sm-color-accent-contrast);
  --sm-typography-link-hover-background: var(--sm-color-accent);
  --sm-typography-link-hover-decoration: 0.22em;
  --sm-typography-link-focus-radius: 0;
  --sm-typography-link-focus-outline: 3px solid var(--sm-color-focus);
  --sm-typography-link-focus-offset: 4px;
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-base);
  line-height: 1.65;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-eyebrow {
  color: var(--sm-color-accent);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light']
  .sm-typography
  .sm-eyebrow {
  color: #7a3500;
  text-shadow: 2px 2px 0 #080808;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark']
  .sm-typography
  .sm-eyebrow {
  text-shadow: none;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h1,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h2,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h3,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h4 {
  margin: 0;
  color: var(--sm-color-text);
  font-family: var(--sm-font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h1 {
  font-size: var(--sm-text-xl);
  text-shadow: 3px 3px 0 var(--sm-color-accent);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h2 {
  font-size: var(--sm-text-lg);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h3 {
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography h4 {
  font-size: var(--sm-text-sm);
  letter-spacing: 0.06em;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography p,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ul,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ol {
  margin: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ul,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ol {
  padding-left: var(--sm-space-6);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ul {
  list-style: square;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography ol {
  list-style: decimal-leading-zero;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography strong {
  font-weight: 900;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--sm-color-accent);
  text-decoration-thickness: 0.2em;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography code {
  padding: 0.12em 0.4em;
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-accent);
  box-shadow: 2px 2px 0 var(--sm-color-border);
  color: var(--sm-color-accent-contrast);
  font-family: var(--sm-font-body);
  font-size: 0.9em;
  font-weight: 700;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-text-muted {
  color: var(--sm-typography-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-link {
  color: var(--sm-typography-link);
  font-weight: 900;
  text-decoration-color: var(--sm-color-accent);
  text-decoration-thickness: 0.22em;
  text-underline-offset: 0.2em;
  transition: background var(--sm-duration-fast) steps(2, end);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-link + .sm-link {
  margin-left: var(--sm-space-3);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-link:hover {
  color: var(--sm-typography-link-hover-color);
  background: var(--sm-typography-link-hover-background);
  text-decoration-thickness: var(--sm-typography-link-hover-decoration);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-link:focus-visible {
  border-radius: var(--sm-typography-link-focus-radius);
  outline: var(--sm-typography-link-focus-outline);
  outline-offset: var(--sm-typography-link-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-typography .sm-link {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button {
  position: relative;
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  justify-content: center;
  gap: var(--sm-space-2);
  padding-inline: var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    filter var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-button {
  --sm-button-danger: #b91c1c;
  --sm-button-danger-contrast: #ffffff;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-button {
  --sm-button-danger: #f87171;
  --sm-button-danger-contrast: #151515;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[data-sm-variant='primary'] {
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-button[data-sm-variant='secondary'] {
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-button[data-sm-variant='destructive'] {
  color: var(--sm-button-danger-contrast);
  border-color: var(--sm-button-danger);
  background: var(--sm-button-danger);
  box-shadow: 4px 4px 0 var(--sm-button-danger);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[data-sm-variant='ghost'] {
  color: var(--sm-color-text);
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[data-sm-size='small'] {
  min-height: 2rem;
  padding-inline: var(--sm-space-3);
  font-size: var(--sm-text-xs);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[data-sm-size='default'] {
  min-height: 2.625rem;
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[data-sm-size='large'] {
  min-height: 3.25rem;
  padding-inline: var(--sm-space-5);
  font-size: var(--sm-text-base);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translate(-1px, -1px);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 4px;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button:active:not(:disabled) {
  box-shadow: none;
  transform: translate(4px, 4px);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.65);
  opacity: 0.48;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[aria-busy='true'] {
  color: transparent;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-button[aria-busy='true']::before {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--sm-radius-full);
  color: var(--sm-color-text-muted);
  animation: sm-button-spin 700ms steps(8, end) infinite;
  content: '';
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-button {
    transition: none;
  }

  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-button[aria-busy='true']::before {
    animation: none;
  }
}

@keyframes sm-button-spin {
  to {
    transform: rotate(1turn);
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-text-input {
  --sm-field-background: #f5f5f5;
  --sm-field-text: #323232;
  --sm-field-placeholder: #555555;
  --sm-field-error: #a61b1b;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-text-input {
  --sm-field-background: #151515;
  --sm-field-text: #f5f5f5;
  --sm-field-placeholder: #ababab;
  --sm-field-error: #ff9b9b;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 4px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: translate(4px, 4px);
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input label {
  font-size: var(--sm-text-sm);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input {
  width: 100%;
  min-height: 2.875rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  font-weight: 700;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input::placeholder {
  color: var(--sm-field-placeholder);
  opacity: 1;
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-text-input
  input:placeholder-shown {
  border-style: dashed;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-text-input
  input[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  box-shadow: 4px 4px 0 var(--sm-field-error);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(0.75);
  opacity: 0.58;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input .sm-field-hint,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input .sm-field-error {
  color: var(--sm-field-error);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-text-input input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-textarea {
  --sm-field-background: #f5f5f5;
  --sm-field-text: #323232;
  --sm-field-error: #a61b1b;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-textarea {
  --sm-field-background: #151515;
  --sm-field-text: #f5f5f5;
  --sm-field-error: #ff9b9b;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 4px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: translate(4px, 4px);
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea label {
  font-size: var(--sm-text-sm);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea textarea {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea textarea:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-textarea
  textarea[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  box-shadow: 4px 4px 0 var(--sm-field-error);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea textarea:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(0.75);
  opacity: 0.58;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea textarea:read-only {
  border-style: dashed;
  background: var(--sm-color-surface-muted);
  box-shadow: none;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea .sm-field-hint,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea .sm-field-error {
  color: var(--sm-field-error);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-textarea textarea {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-select {
  --sm-field-background: #f5f5f5;
  --sm-field-text: #323232;
  --sm-field-placeholder: #555555;
  --sm-field-error: #a61b1b;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-select {
  --sm-field-background: #151515;
  --sm-field-text: #f5f5f5;
  --sm-field-placeholder: #ababab;
  --sm-field-error: #ff9b9b;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 4px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: translate(4px, 4px);
  display: grid;
  gap: var(--sm-space-2);
  color: var(--sm-field-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select label {
  font-size: var(--sm-text-sm);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select select {
  width: 100%;
  min-height: 2.875rem;
  padding: var(--sm-space-3) var(--sm-space-4);
  border: var(--sm-border-width) solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-field-text);
  background: var(--sm-field-background);
  box-shadow: var(--sm-shadow-sm);
  font: inherit;
  font-weight: 700;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-select
  select:has(option[value='']:checked) {
  border-style: dashed;
  color: var(--sm-field-placeholder);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select select:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-select
  select[aria-invalid='true'] {
  border-color: var(--sm-field-error);
  box-shadow: 4px 4px 0 var(--sm-field-error);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select select:disabled {
  color: var(--sm-color-text-muted);
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(0.75);
  opacity: 0.58;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select .sm-field-hint,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-select .sm-field-error {
  margin: 0;
  font-size: var(--sm-text-xs);
  font-weight: 700;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select .sm-field-hint {
  color: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-select .sm-field-error {
  color: var(--sm-field-error);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-select select {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-checkbox {
  --sm-choice-background: #f5f5f5;
  --sm-choice-text: #323232;
  --sm-choice-border: #323232;
  --sm-choice-selected: #ffc340;
  --sm-choice-mark: #151515;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-checkbox {
  --sm-choice-background: #151515;
  --sm-choice-text: #f5f5f5;
  --sm-choice-border: #f5f5f5;
  --sm-choice-selected: #ffc340;
  --sm-choice-mark: #151515;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 4px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: translate(3px, 3px);
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input[type='checkbox'] {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: 0;
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: 3px 3px 0 var(--sm-color-border);
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input::after {
  width: 0.3rem;
  height: 0.65rem;
  border: solid currentColor;
  border-width: 0 0.16rem 0.16rem 0;
  content: '';
  opacity: 0;
  transform: translateY(-0.0625rem) rotate(45deg);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input:checked,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input:indeterminate {
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input:checked::after {
  opacity: 1;
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-checkbox
  input:indeterminate::after {
  width: 0.7rem;
  height: 0.16rem;
  border: 0;
  background: currentColor;
  opacity: 1;
  transform: none;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.5;
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-checkbox:has(input:disabled)
  label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-checkbox input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-radio {
  --sm-choice-background: #f5f5f5;
  --sm-choice-text: #323232;
  --sm-choice-border: #323232;
  --sm-choice-selected: #ffc340;
  --sm-choice-mark: #151515;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-radio {
  --sm-choice-background: #151515;
  --sm-choice-text: #f5f5f5;
  --sm-choice-border: #f5f5f5;
  --sm-choice-selected: #ffc340;
  --sm-choice-mark: #151515;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio-group {
  display: grid;
  gap: var(--sm-space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio-group legend {
  margin-bottom: var(--sm-space-3);
  color: var(--sm-color-text-muted);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio {
  --sm-field-focus-outline: 3px solid var(--sm-color-focus);
  --sm-field-focus-offset: 4px;
  --sm-field-focus-shadow: none;
  --sm-field-focus-transform: translate(3px, 3px);
  display: flex;
  gap: var(--sm-space-3);
  align-items: flex-start;
  color: var(--sm-choice-text);
  font-family: var(--sm-font-body);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio label {
  padding-top: 0.0625rem;
  font-size: var(--sm-text-sm);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input[type='radio'] {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  place-content: center;
  margin: 0;
  border: var(--sm-border-width) solid var(--sm-choice-border);
  border-radius: 50%;
  appearance: none;
  color: var(--sm-choice-mark);
  background: var(--sm-choice-background);
  box-shadow: 3px 3px 0 var(--sm-color-border);
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input::after {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
  opacity: 0;
  transform: scale(0.5);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input:checked {
  background: var(--sm-choice-selected);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input:focus-visible {
  outline: var(--sm-field-focus-outline);
  outline-offset: var(--sm-field-focus-offset);
  box-shadow: var(--sm-field-focus-shadow);
  transform: var(--sm-field-focus-transform);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input:disabled {
  background: var(--sm-color-surface-muted);
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.5;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-radio:has(input:disabled) label {
  color: var(--sm-color-text-muted);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-radio input {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 3px solid var(--sm-card-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-card-text);
  background: var(--sm-card-background);
  box-shadow: var(--sm-shadow-md);
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    box-shadow var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-card {
  --sm-card-background: #fffef4;
  --sm-card-text: #202020;
  --sm-card-muted: #525252;
  --sm-card-border: #202020;
  --sm-card-accent: #ffd42a;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-card {
  --sm-card-background: #202020;
  --sm-card-text: #faf7e8;
  --sm-card-muted: #c7c2ad;
  --sm-card-border: #faf7e8;
  --sm-card-accent: #ffd42a;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__header,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__body,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__footer {
  padding-inline: var(--sm-space-5);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__header {
  display: grid;
  gap: var(--sm-space-2);
  padding-block: var(--sm-space-5) var(--sm-space-3);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__header h2,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__header p,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__body p {
  margin: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__header h2 {
  min-width: 0;
  color: var(--sm-card-text);
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-lg);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__eyebrow {
  width: fit-content;
  padding: var(--sm-space-1) var(--sm-space-2);
  border: 2px solid var(--sm-card-border);
  color: #202020;
  background: var(--sm-card-accent);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__body {
  min-width: 0;
  padding-block: var(--sm-space-2) var(--sm-space-5);
  color: var(--sm-card-muted);
  font-family: var(--sm-font-body);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__footer {
  padding-block: var(--sm-space-3);
  border-top: 3px solid var(--sm-card-border);
  color: #202020;
  background: var(--sm-card-accent);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card--interactive {
  cursor: pointer;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card--interactive:hover {
  box-shadow: 8px 8px 0 var(--sm-card-border);
  transform: translate(-2px, -2px);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card--interactive:focus-within {
  outline: 4px solid var(--sm-color-focus);
  outline-offset: 4px;
  box-shadow: 8px 8px 0 var(--sm-card-border);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__link {
  color: var(--sm-card-text);
  text-decoration-color: var(--sm-card-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__link::after {
  position: absolute;
  inset: 0;
  content: '';
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-card__link:focus-visible {
  outline: 3px dashed var(--sm-color-focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-card {
    transition: none;
  }

  .sm-theme[data-sm-theme='neo-brutalism'] .sm-card--interactive:hover {
    transform: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge {
  display: inline-flex;
  gap: var(--sm-space-2);
  align-items: center;
  width: fit-content;
  padding: var(--sm-space-1) var(--sm-space-3);
  border: 2px solid currentColor;
  border-radius: var(--sm-radius-sm);
  box-shadow: 3px 3px 0 currentColor;
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-badge {
  --sm-badge-neutral-background: #faf7e8;
  --sm-badge-neutral-text: #202020;
  --sm-badge-accent-background: #ffd42a;
  --sm-badge-accent-text: #202020;
  --sm-badge-success-background: #a7f3d0;
  --sm-badge-success-text: #14532d;
  --sm-badge-warning-background: #fde68a;
  --sm-badge-warning-text: #713f12;
  --sm-badge-danger-background: #fecaca;
  --sm-badge-danger-text: #7f1d1d;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-badge {
  --sm-badge-neutral-background: #3f3f46;
  --sm-badge-neutral-text: #faf7e8;
  --sm-badge-accent-background: #ffd42a;
  --sm-badge-accent-text: #202020;
  --sm-badge-success-background: #14532d;
  --sm-badge-success-text: #ecfdf5;
  --sm-badge-warning-background: #713f12;
  --sm-badge-warning-text: #fefce8;
  --sm-badge-danger-background: #7f1d1d;
  --sm-badge-danger-text: #fef2f2;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge__marker {
  display: grid;
  place-items: center;
  min-width: 1em;
  font-family: var(--sm-font-display);
  line-height: 1;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge[data-sm-intent='neutral'] {
  color: var(--sm-badge-neutral-text);
  background: var(--sm-badge-neutral-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge[data-sm-intent='accent'] {
  color: var(--sm-badge-accent-text);
  background: var(--sm-badge-accent-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge[data-sm-intent='success'] {
  color: var(--sm-badge-success-text);
  background: var(--sm-badge-success-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge[data-sm-intent='warning'] {
  color: var(--sm-badge-warning-text);
  background: var(--sm-badge-warning-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-badge[data-sm-intent='danger'] {
  color: var(--sm-badge-danger-text);
  background: var(--sm-badge-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-badge {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: 3px solid currentColor;
  border-radius: var(--sm-radius-sm);
  box-shadow: 6px 6px 0 currentColor;
  font-family: var(--sm-font-body);
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-alert {
  --sm-alert-info-background: #bfdbfe;
  --sm-alert-info-text: #1e3a8a;
  --sm-alert-success-background: #a7f3d0;
  --sm-alert-success-text: #14532d;
  --sm-alert-warning-background: #fde68a;
  --sm-alert-warning-text: #713f12;
  --sm-alert-danger-background: #fecaca;
  --sm-alert-danger-text: #7f1d1d;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-alert {
  --sm-alert-info-background: #1e3a8a;
  --sm-alert-info-text: #eff6ff;
  --sm-alert-success-background: #14532d;
  --sm-alert-success-text: #ecfdf5;
  --sm-alert-warning-background: #713f12;
  --sm-alert-warning-text: #fefce8;
  --sm-alert-danger-background: #7f1d1d;
  --sm-alert-danger-text: #fef2f2;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid currentColor;
  background: transparent;
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-lg);
  font-weight: 900;
  line-height: 1;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__content {
  display: grid;
  gap: var(--sm-space-1);
  min-width: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__content h2,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__content p {
  margin: 0;
  color: inherit;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__content h2 {
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-base);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert__content p {
  font-size: var(--sm-text-sm);
  line-height: 1.55;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert[data-sm-intent='info'] {
  color: var(--sm-alert-info-text);
  background: var(--sm-alert-info-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert[data-sm-intent='success'] {
  color: var(--sm-alert-success-text);
  background: var(--sm-alert-success-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert[data-sm-intent='warning'] {
  color: var(--sm-alert-warning-text);
  background: var(--sm-alert-warning-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-alert[data-sm-intent='danger'] {
  color: var(--sm-alert-danger-text);
  background: var(--sm-alert-danger-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-alert {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 3px solid var(--sm-color-text);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
  scrollbar-gutter: stable;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table-scroll:focus-visible {
  outline: 4px solid var(--sm-color-focus);
  outline-offset: 4px;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-body);
  font-size: var(--sm-text-sm);
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-table {
  --sm-table-background: #fffef4;
  --sm-table-text: #202020;
  --sm-table-header-background: #ffd42a;
  --sm-table-header-text: #202020;
  --sm-table-hover-background: #bfdbfe;
  --sm-table-hover-text: #1e3a8a;
  --sm-table-selected-background: #a7f3d0;
  --sm-table-selected-text: #14532d;
  --sm-table-empty-background: #f5f5dc;
  --sm-table-empty-text: #3f3f46;
  --sm-table-border: #202020;
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-table {
  --sm-table-background: #202020;
  --sm-table-text: #faf7e8;
  --sm-table-header-background: #ffd42a;
  --sm-table-header-text: #202020;
  --sm-table-hover-background: #1e3a8a;
  --sm-table-hover-text: #eff6ff;
  --sm-table-selected-background: #14532d;
  --sm-table-selected-text: #ecfdf5;
  --sm-table-empty-background: #3f3f46;
  --sm-table-empty-text: #faf7e8;
  --sm-table-border: #faf7e8;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table caption {
  padding: var(--sm-space-4) var(--sm-space-5);
  border-bottom: 3px solid var(--sm-table-border);
  color: var(--sm-table-text);
  background: var(--sm-table-background);
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-base);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table thead {
  color: var(--sm-table-header-text);
  background: var(--sm-table-header-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table th,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-table td {
  padding: var(--sm-space-3) var(--sm-space-5);
  border-right: 2px solid var(--sm-table-border);
  border-bottom: 2px solid var(--sm-table-border);
  color: inherit;
  text-align: left;
  vertical-align: middle;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background-color var(--sm-duration-fast) var(--sm-ease-standard);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table tr > :last-child {
  border-right: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table tbody tr:last-child > * {
  border-bottom: 0;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table thead th {
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table tbody th {
  font-weight: 900;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table tbody tr:hover > * {
  color: var(--sm-table-hover-text);
  background: var(--sm-table-hover-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table tr[aria-current='true'] > * {
  color: var(--sm-table-selected-text);
  background: var(--sm-table-selected-background);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table__selection {
  display: inline-flex;
  gap: var(--sm-space-1);
  align-items: center;
  margin-left: var(--sm-space-2);
  padding: 0 var(--sm-space-1);
  border: 2px solid currentColor;
  font-size: var(--sm-text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table__empty {
  padding-block: var(--sm-space-6) !important;
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
  text-align: center !important;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table__empty-content {
  display: grid;
  gap: var(--sm-space-2);
  justify-items: center;
}

.sm-theme[data-sm-theme='neo-brutalism']
  .sm-table__empty-content
  > [aria-hidden='true'] {
  font-family: var(--sm-font-display);
  font-size: var(--sm-text-xl);
  line-height: 1;
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-table--empty tbody tr:hover > * {
  color: var(--sm-table-empty-text);
  background: var(--sm-table-empty-background);
}

@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-table-scroll {
    scroll-behavior: auto;
  }

  .sm-theme[data-sm-theme='neo-brutalism'] .sm-table th,
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-table td {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-media-card {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  box-shadow: var(--sm-shadow-sm);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    box-shadow var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-media-card[data-sm-layout='vertical'] {
  grid-template-rows: 11rem auto;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-media-card[data-sm-layout='horizontal'] {
  grid-template-columns: minmax(9rem, 36%) 1fr;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__media {
  display: block;
  min-height: 9rem;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    var(--sm-color-accent) 0 18px,
    var(--sm-color-surface) 18px 36px
  );
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__content {
  display: grid;
  gap: var(--sm-space-4);
  align-content: start;
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__content header {
  display: grid;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__content h2 {
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__content a {
  color: inherit;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-3);
  padding: 0;
  margin: 0;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
  list-style: none;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__content footer {
  display: flex;
  justify-content: flex-end;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card:hover,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card:focus-within {
  transform: translate(-2px, -2px);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-media-card:hover
  .sm-media-card__media
  img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card,
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-media-card__media img {
    transition: none;
    transform: none;
  }
}
@media (max-width: 42rem) {
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-media-card[data-sm-layout='horizontal'] {
    grid-template-columns: 1fr;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-tabs {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs {
  display: grid;
  gap: var(--sm-space-4);
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tablist'] {
  display: flex;
  gap: var(--sm-space-2);
  overflow-x: auto;
  border-bottom: 2px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab'] {
  position: relative;
  min-height: 2.75rem;
  padding: var(--sm-space-2) var(--sm-space-4);
  border: 0;
  border-radius: var(--sm-radius-sm) var(--sm-radius-sm) 0 0;
  color: var(--sm-component-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab'] span {
  margin-left: var(--sm-space-2);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab']:hover {
  color: var(--sm-color-text);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [aria-selected='true'] {
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  box-shadow: inset 0 -3px 0 var(--sm-color-accent);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tabpanel'] {
  min-height: 7rem;
  padding: var(--sm-space-5);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-tabs [role='tab'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-progress {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-2);
  color: var(--sm-color-text);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-progress label {
  font-weight: 700;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-progress output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  appearance: none;
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-progress
  progress::-webkit-progress-bar {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-progress
  progress::-webkit-progress-value {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-progress
  progress::-moz-progress-bar {
  background: var(--sm-color-accent);
  transition: width var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-progress[data-sm-size='compact']
  progress {
  height: 0.35rem;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-progress[data-sm-state='indeterminate']
  progress {
  background: repeating-linear-gradient(
    90deg,
    var(--sm-color-accent) 0 18%,
    var(--sm-color-surface-muted) 18% 36%
  );
  background-size: 200% 100%;
  animation: sm-progress-neo-brutalism 1.1s linear infinite;
}
@keyframes sm-progress-neo-brutalism {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-progress
    progress::-webkit-progress-value,
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-progress
    progress::-moz-progress-bar {
    transition: none;
  }
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-progress[data-sm-state='indeterminate']
    progress {
    animation: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light']
  .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-range-filter {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter {
  display: grid;
  gap: var(--sm-space-5);
  min-width: 0;
  margin: 0;
  padding: var(--sm-space-5);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter legend {
  padding-inline: var(--sm-space-2);
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter__single,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter__paired {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sm-space-3);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter output {
  color: var(--sm-component-muted);
  font-variant-numeric: tabular-nums;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter input[type='range'] {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.4rem;
  margin: 0.65rem 0;
  appearance: none;
  border-radius: var(--sm-radius-sm);
  background: linear-gradient(
    90deg,
    var(--sm-color-accent),
    var(--sm-color-surface-muted)
  );
  cursor: pointer;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-range-filter__track {
  position: relative;
  grid-column: 1 / -1;
  min-height: 2rem;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-range-filter__track
  input[type='range'] {
  position: absolute;
  inset: 0.35rem 0 auto;
  background: linear-gradient(
    90deg,
    var(--sm-color-surface-muted) var(--sm-range-min, 20%),
    var(--sm-color-accent) var(--sm-range-min, 20%) var(--sm-range-max, 80%),
    var(--sm-color-surface-muted) var(--sm-range-max, 80%)
  );
  pointer-events: none;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-range-filter
  input[type='range']::-webkit-slider-thumb {
  width: 1.2rem;
  height: 1.2rem;
  appearance: none;
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-range-filter
  input[type='range']::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-accent);
  box-shadow: var(--sm-shadow-sm);
  pointer-events: auto;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-range-filter
  input[type='range']:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 4px;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-range-filter
  input[type='range']:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-range-filter
    input[type='range'] {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-disclosure {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure {
  overflow: hidden;
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: var(--sm-space-4);
  padding: var(--sm-space-4) var(--sm-space-5);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  transition: background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-disclosure
  summary::-webkit-details-marker {
  display: none;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary::after {
  content: '+';
  color: var(--sm-color-accent);
  font-size: var(--sm-text-lg);
  line-height: 1;
  transition: transform var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary:hover {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: -3px;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure__meta {
  margin-left: auto;
  color: var(--sm-component-muted);
  font-size: var(--sm-text-xs);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure__content {
  padding: var(--sm-space-5);
  border-top: 2px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure[open] summary {
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary,
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-disclosure summary::after {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-pagination {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
  align-items: center;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination ol {
  display: flex;
  gap: var(--sm-space-1);
  padding: 0;
  margin: 0;
  list-style: none;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination a,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination__unavailable {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  padding-inline: var(--sm-space-3);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  color: inherit;
  background: var(--sm-color-surface);
  text-decoration: none;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination a:hover {
  transform: translate(-2px, -2px);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination a:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 2px;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination [aria-current='page'] {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination [aria-disabled='true'] {
  opacity: 0.42;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-pagination a {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-dialog {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  padding: 0;
  overflow: auto;
  border: 2px solid var(--sm-color-border);
  border-top: 0.35rem solid var(--sm-color-accent);
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog::backdrop {
  background: color-mix(in srgb, var(--sm-color-page) 35%, #000000 65%);
  backdrop-filter: blur(4px);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__header,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__body,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__actions {
  padding: var(--sm-space-5);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__header {
  display: grid;
  gap: var(--sm-space-2);
  border-bottom: 2px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__header h2,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__body p {
  margin: 0;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__body {
  display: grid;
  gap: var(--sm-space-4);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sm-space-3);
  border-top: 2px solid var(--sm-color-border);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-dialog {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-rating {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating {
  display: grid;
  gap: var(--sm-space-3);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sm-color-text);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating legend {
  margin-bottom: var(--sm-space-2);
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-space-2);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating label {
  position: relative;
  display: grid;
  min-width: 3rem;
  min-height: 2.75rem;
  place-items: center;
  padding: var(--sm-space-2);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface);
  cursor: pointer;
  transition:
    transform var(--sm-duration-fast) var(--sm-ease-standard),
    background var(--sm-duration-fast) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating input[type='radio'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating label:hover {
  transform: translate(-2px, -2px);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating label:has(input:checked) {
  color: var(--sm-color-accent-contrast);
  border-color: var(--sm-color-accent);
  background: var(--sm-color-accent);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating input:checked + span {
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating input:focus-visible {
  outline: 3px solid var(--sm-color-focus);
  outline-offset: 3px;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating input:disabled {
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-rating > output {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-rating label {
    transition: none;
    transform: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-toast {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--sm-space-3);
  align-items: start;
  padding: var(--sm-space-4);
  border: 2px solid var(--sm-color-border);
  border-left: 0.35rem solid currentColor;
  border-radius: var(--sm-radius-sm);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  box-shadow: var(--sm-shadow-md);
  transition:
    transform var(--sm-duration-normal) var(--sm-ease-standard),
    opacity var(--sm-duration-normal) var(--sm-ease-standard);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--sm-radius-full);
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__content {
  display: grid;
  gap: var(--sm-space-2);
  min-width: 0;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__content h2,
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__content p {
  margin: 0;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__content h2 {
  font-size: var(--sm-text-base);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__content p {
  color: var(--sm-component-muted);
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast__actions {
  display: flex;
  gap: var(--sm-space-2);
  align-items: start;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast[data-sm-intent='info'] {
  color: var(--sm-color-focus);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast[data-sm-intent='success'] {
  color: #2f7d4d;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast[data-sm-intent='warning'] {
  color: #9a6700;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast[data-sm-intent='danger'] {
  color: #b4232e;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-toast:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-toast {
    transition: none;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-empty-state {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state {
  display: grid;
  justify-items: center;
  gap: var(--sm-space-3);
  min-width: 0;
  padding: clamp(2rem, 7vw, 5rem);
  border: 2px solid var(--sm-color-border);
  border-style: dashed;
  border-radius: var(--sm-radius-md);
  color: var(--sm-color-text);
  background: var(--sm-color-surface);
  text-align: center;
  box-shadow: var(--sm-shadow-sm);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state__illustration {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-sm);
  color: var(--sm-color-accent-contrast);
  background: var(--sm-color-accent);
  font-size: 2rem;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state h2 {
  max-width: 24rem;
  margin: 0;
  font-size: var(--sm-text-lg);
  font-weight: 900;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state p {
  max-width: 32rem;
  margin: 0;
  color: var(--sm-component-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state .sm-button {
  margin-top: var(--sm-space-2);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state:focus-within {
  border-style: solid;
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-empty-state {
    scroll-behavior: auto;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-skeleton {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton-group {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--sm-space-3);
  padding: var(--sm-space-4);
  border: 2px solid var(--sm-color-border);
  border-radius: var(--sm-radius-md);
  background: var(--sm-color-surface);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton {
  position: relative;
  min-height: 1rem;
  overflow: hidden;
  border-radius: var(--sm-radius-sm);
  background: var(--sm-color-surface-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    100deg,
    transparent 20%,
    color-mix(in srgb, var(--sm-color-text) 12%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: sm-skeleton-neo-brutalism 1.35s var(--sm-ease-standard) infinite;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton[data-sm-shape='media'] {
  grid-row: span 3;
  min-height: 6rem;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton[data-sm-shape='title'] {
  width: 62%;
  height: 1.5rem;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton[data-sm-shape='text'] {
  width: 88%;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes sm-skeleton-neo-brutalism {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism'] .sm-skeleton::after {
    animation: none;
    transform: none;
    background: transparent;
  }
}

.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='light'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}
.sm-theme[data-sm-theme='neo-brutalism'][data-sm-mode='dark'] .sm-spinner {
  --sm-component-surface: var(--sm-color-surface);
  --sm-component-muted: var(--sm-color-text-muted);
}

.sm-theme[data-sm-theme='neo-brutalism'] .sm-spinner {
  display: inline-flex;
  gap: var(--sm-space-3);
  align-items: center;
  color: var(--sm-color-text);
  font-weight: 700;
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-spinner
  > span[aria-hidden='true'] {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.2rem solid var(--sm-color-surface-muted);
  border-top-color: var(--sm-color-accent);
  border-radius: var(--sm-radius-full);
  animation: sm-spinner-neo-brutalism 0.8s linear infinite;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-spinner[data-sm-size='small'] {
  font-size: var(--sm-text-sm);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-spinner[data-sm-size='small']
  > span[aria-hidden='true'] {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}
.sm-theme[data-sm-theme='neo-brutalism'] .sm-spinner[data-sm-size='large'] {
  font-size: var(--sm-text-lg);
}
.sm-theme[data-sm-theme='neo-brutalism']
  .sm-spinner[data-sm-size='large']
  > span[aria-hidden='true'] {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.3rem;
}
@keyframes sm-spinner-neo-brutalism {
  to {
    transform: rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-theme[data-sm-theme='neo-brutalism']
    .sm-spinner
    > span[aria-hidden='true'] {
    animation: none;
    border-right-color: var(--sm-color-accent);
  }
}
