/* ============================================================
   W10 DS — Atoms CSS v1.1 (spec 09a + spec 10)
   Camada 2: --t-btn-*, --t-card-*, --t-input-*, --t-chip-*, --t-avatar-*, --t-alert-*
   Camada 1 vars usadas apenas como fallback dentro de var(--t-[atom]-*, var(--t-*))
   BEM: .w10-{atom}  .w10-{atom}--{variant}  .w10-{atom}--{size}
   ============================================================ */

/* ── Global Resets & Fixes ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ══════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════ */

.w10-container {
  max-width: var(--t-container-max, 1366px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: clamp(1rem, 3cqw, 3rem);
  padding-right: clamp(1rem, 3cqw, 3rem);
}

.w10-aspect-ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.w10-aspect-ratio>* {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w10-aspect-ratio--square {
  padding-bottom: 100%;
}

.w10-aspect-ratio--landscape {
  padding-bottom: 56.25%;
}

.w10-aspect-ratio--portrait {
  padding-bottom: 133.33%;
}

.w10-aspect-ratio--cinema {
  padding-bottom: 42.86%;
}

.w10-aspect-ratio--video {
  padding-bottom: 75%;
}

/* ══════════════════════════════════════════
   ACTION — BUTTON
   ══════════════════════════════════════════ */

.w10-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--t-f-sans);
  font-weight: var(--t-btn-weight, 500);
  letter-spacing: var(--t-btn-tracking, normal);
  border-radius: var(--t-btn-radius, var(--t-radii-md));
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.12s, transform 0.12s, box-shadow 0.12s, background 0.12s;
  white-space: nowrap;
  user-select: none;
}

.w10-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.w10-btn:not(:disabled):active {
  transform: scale(0.97);
}

.w10-btn--full {
  width: 100%;
}

/* sizes */
.w10-btn--sm {
  height: var(--t-btn-height-sm, 2.25rem);
  padding: 0 var(--t-btn-px-sm, 0.875rem);
  font-size: var(--t-btn-font-sm, 0.8rem);
}

.w10-btn--md {
  height: var(--t-btn-height-md, 3rem);
  padding: 0 var(--t-btn-px-md, 1.5rem);
  font-size: var(--t-btn-font-md, 0.9rem);
}

.w10-btn--lg {
  height: var(--t-btn-height-lg, 3.5rem);
  padding: 0 var(--t-btn-px-lg, 2rem);
  font-size: var(--t-btn-font-lg, 1rem);
}

/* variants */
.w10-btn--solid {
  background: var(--t-btn-solid-bg, var(--t-accent));
  color: var(--t-btn-solid-fg, var(--t-bg));
}

.w10-btn--solid:not(:disabled):hover {
  opacity: 0.88;
}

.w10-btn--outline {
  background: transparent;
  color: var(--t-fg);
  border: var(--t-btn-border-width, 1.5px) solid var(--t-btn-outline-border, var(--t-muted));
}

.w10-btn--outline:not(:disabled):hover {
  border-color: var(--t-fg);
}

.w10-btn--ghost {
  background: transparent;
  color: var(--t-btn-ghost-fg, var(--t-accent));
}

.w10-btn--ghost:not(:disabled):hover {
  background: color-mix(in srgb, var(--t-btn-ghost-fg, var(--t-accent)) 10%, transparent);
}

.w10-btn--underline {
  background: transparent;
  color: var(--t-fg);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.w10-btn--underline:not(:disabled):hover {
  opacity: 0.65;
}

.w10-btn--brutalist {
  background: var(--t-fg);
  color: var(--t-bg);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--t-accent);
}

.w10-btn--brutalist:not(:disabled):hover {
  box-shadow: 5px 5px 0 var(--t-accent);
}

.w10-btn--brutalist:not(:disabled):active {
  box-shadow: 1px 1px 0 var(--t-accent);
  transform: translate(2px, 2px);
}

.w10-btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--t-fg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.w10-btn--glass:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.2);
}

.w10-btn--link {
  background: transparent;
  color: var(--t-accent);
  padding: 0;
  height: auto;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.w10-btn__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── Icon Button ── */
.w10-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: var(--t-btn-radius, var(--t-radii-md));
  transition: opacity 0.12s, background 0.12s;
}

.w10-icon-btn--sm {
  width: 2rem;
  height: 2rem;
}

.w10-icon-btn--md {
  width: 2.5rem;
  height: 2.5rem;
}

.w10-icon-btn--lg {
  width: 3rem;
  height: 3rem;
}

.w10-icon-btn--solid {
  background: var(--t-btn-solid-bg, var(--t-accent));
  color: var(--t-btn-solid-fg, var(--t-bg));
}

.w10-icon-btn--outline {
  background: transparent;
  color: var(--t-fg);
  border: 1.5px solid var(--t-muted);
}

.w10-icon-btn--ghost {
  background: transparent;
  color: var(--t-fg);
}

.w10-icon-btn--ghost:hover {
  background: color-mix(in srgb, var(--t-fg) 8%, transparent);
}

.w10-icon-btn--brutalist {
  background: var(--t-fg);
  color: var(--t-bg);
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--t-accent);
}

/* ── FAB ── */
.w10-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.15s, transform 0.15s;
}

.w10-fab--md {
  width: 3.5rem;
  height: 3.5rem;
}

.w10-fab--lg {
  width: 4.5rem;
  height: 4.5rem;
}

.w10-fab--solid {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-fab--outline {
  background: var(--t-surface);
  color: var(--t-accent);
  border: 1.5px solid var(--t-accent);
}

.w10-fab--glass {
  background: rgba(255, 255, 255, 0.15);
  color: var(--t-fg);
  backdrop-filter: blur(10px);
}

.w10-fab:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   INPUT
   ══════════════════════════════════════════ */

.w10-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.w10-field--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.w10-label {
  font-family: var(--t-f-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t-fg);
}

.w10-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.w10-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
  color: var(--t-muted);
}

.w10-input-icon--left {
  left: 12px;
}

.w10-input-icon--right {
  right: 12px;
}

.w10-input {
  width: 100%;
  font-family: var(--t-f-sans);
  color: var(--t-fg);
  background: transparent;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.w10-input::placeholder {
  color: var(--t-muted);
  opacity: 0.7;
}

.w10-input:focus {
  border-color: var(--t-input-focus, var(--t-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-input-focus, var(--t-accent)) 18%, transparent);
}

.w10-input--pl-icon {
  padding-left: 2.25rem !important;
}

.w10-input--pr-icon {
  padding-right: 2.25rem !important;
}

.w10-input--pill {
  border-radius: var(--t-radii-pill) !important;
}

.w10-input--default {
  border: var(--t-input-border-width, 1.5px) solid var(--t-input-border, var(--t-muted));
  border-radius: var(--t-input-radius, var(--t-radii-md));
}

.w10-input--filled {
  border: 1.5px solid transparent;
  border-radius: var(--t-input-radius, var(--t-radii-md));
  background: var(--t-input-bg, var(--t-surface));
}

.w10-input--filled:focus {
  border-color: var(--t-input-focus, var(--t-accent));
  background: var(--t-input-bg, var(--t-surface));
}

.w10-input--ghost {
  border: none;
  border-bottom: 1.5px solid var(--t-muted);
  border-radius: 0;
}

.w10-input--ghost:focus {
  border-bottom-color: var(--t-accent);
  box-shadow: none;
}

.w10-input--brutalist {
  border: 2px solid var(--t-fg);
  border-radius: 0;
}

.w10-input--sm {
  height: var(--t-input-height-sm, 2.25rem);
  padding: 0 0.75rem;
  font-size: 0.8rem;
}

.w10-input--md {
  height: var(--t-input-height-md, 3rem);
  padding: 0 1rem;
  font-size: var(--t-input-font-md, 0.9rem);
}

.w10-input--lg {
  height: var(--t-input-height-lg, 3.5rem);
  padding: 0 1.25rem;
  font-size: 1rem;
}

.w10-field--error .w10-input,
.w10-field--error .w10-textarea,
.w10-field--error .w10-select {
  border-color: #ef4444;
}

.w10-field__msg {
  font-size: 0.75rem;
  color: var(--t-muted);
}

.w10-field__msg--error {
  color: #ef4444;
}

/* Textarea */
.w10-textarea {
  width: 100%;
  font-family: var(--t-f-sans);
  color: var(--t-fg);
  background: transparent;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.w10-textarea::placeholder {
  color: var(--t-muted);
  opacity: 0.7;
}

.w10-textarea:focus {
  border-color: var(--t-input-focus, var(--t-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-input-focus, var(--t-accent)) 18%, transparent);
}

.w10-textarea--default {
  border: var(--t-input-border-width, 1.5px) solid var(--t-input-border, var(--t-muted));
  border-radius: var(--t-input-radius, var(--t-radii-md));
  padding: 0.75rem 1rem;
}

.w10-textarea--filled {
  border: 1.5px solid transparent;
  border-radius: var(--t-input-radius, var(--t-radii-md));
  padding: 0.75rem 1rem;
  background: var(--t-input-bg, var(--t-surface));
}

.w10-textarea--ghost {
  border: none;
  border-bottom: 1.5px solid var(--t-muted);
  border-radius: 0;
  padding: 0.625rem 0;
}

.w10-textarea--md {
  font-size: 0.9rem;
}

.w10-textarea--lg {
  font-size: 1rem;
}

/* Select */
.w10-select-wrap {
  position: relative;
}

.w10-select {
  width: 100%;
  font-family: var(--t-f-sans);
  color: var(--t-fg);
  background: transparent;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}

.w10-select:focus {
  border-color: var(--t-input-focus, var(--t-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-input-focus, var(--t-accent)) 18%, transparent);
}

.w10-select--default {
  border: var(--t-input-border-width, 1.5px) solid var(--t-input-border, var(--t-muted));
  border-radius: var(--t-input-radius, var(--t-radii-md));
}

.w10-select--filled {
  border: 1.5px solid transparent;
  border-radius: var(--t-input-radius, var(--t-radii-md));
  background: var(--t-input-bg, var(--t-surface));
}

.w10-select--ghost {
  border: none;
  border-bottom: 1.5px solid var(--t-muted);
  border-radius: 0;
}

.w10-select--brutalist {
  border: 2px solid var(--t-fg);
  border-radius: 0;
}

.w10-select--sm {
  height: 2.25rem;
  padding: 0 2rem 0 0.75rem;
  font-size: 0.8rem;
}

.w10-select--md {
  height: 3rem;
  padding: 0 2.25rem 0 1rem;
  font-size: 0.9rem;
}

.w10-select--lg {
  height: 3.5rem;
  padding: 0 2.5rem 0 1.25rem;
  font-size: 1rem;
}

.w10-select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--t-muted);
}

/* Checkbox */
.w10-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-fg);
}

.w10-checkbox--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.w10-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.w10-checkbox__box {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 1.5px solid var(--t-muted);
  border-radius: var(--t-radii-sm);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.12s, background 0.12s;
  color: var(--t-bg);
}

.w10-checkbox__input:checked+.w10-checkbox__box {
  background: var(--t-accent);
  border-color: var(--t-accent);
}

.w10-checkbox__input:focus-visible+.w10-checkbox__box {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent) 25%, transparent);
}

/* Radio */
.w10-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-fg);
}

.w10-radio--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.w10-radio__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.w10-radio__dot {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 1.5px solid var(--t-muted);
  border-radius: 50%;
  background: transparent;
  position: relative;
  transition: border-color 0.12s;
}

.w10-radio__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--t-accent);
  opacity: 0;
  transition: opacity 0.12s, transform 0.12s;
  transform: scale(0.5);
}

.w10-radio__input:checked+.w10-radio__dot {
  border-color: var(--t-accent);
}

.w10-radio__input:checked+.w10-radio__dot::after {
  opacity: 1;
  transform: scale(1);
}

.w10-radio__input:focus-visible+.w10-radio__dot {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent) 25%, transparent);
}

/* Toggle */
.w10-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-fg);
}

.w10-toggle--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.w10-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.w10-toggle__track {
  position: relative;
  border-radius: var(--t-radii-pill);
  background: var(--t-muted);
  opacity: 0.5;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.w10-toggle--sm .w10-toggle__track {
  width: 2.25rem;
  height: 1.25rem;
}

.w10-toggle--md .w10-toggle__track {
  width: 2.75rem;
  height: 1.5rem;
}

.w10-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.w10-toggle--sm .w10-toggle__thumb {
  width: 1rem;
  height: 1rem;
}

.w10-toggle--md .w10-toggle__thumb {
  width: 1.25rem;
  height: 1.25rem;
}

.w10-toggle__input:checked~.w10-toggle__track {
  background: var(--t-accent);
  opacity: 1;
}

.w10-toggle--sm .w10-toggle__input:checked~.w10-toggle__track .w10-toggle__thumb {
  transform: translateX(1rem);
}

.w10-toggle--md .w10-toggle__input:checked~.w10-toggle__track .w10-toggle__thumb {
  transform: translateX(1.25rem);
}

.w10-toggle__input:focus-visible~.w10-toggle__track {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent) 25%, transparent);
}

/* Slider */
.w10-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w10-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--t-radii-pill);
  background: var(--t-surface);
  cursor: pointer;
  outline: none;
}

.w10-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--t-accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.12s;
}

.w10-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Pin Input */
.w10-pin-input {
  display: flex;
  gap: 0.5rem;
}

.w10-pin-cell {
  width: 2.75rem;
  height: 3.25rem;
  text-align: center;
  font-family: var(--t-f-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--t-fg);
  background: transparent;
  outline: none;
  transition: border-color 0.15s;
}

.w10-pin-cell--default {
  border: 1.5px solid var(--t-muted);
  border-radius: var(--t-radii-md);
}

.w10-pin-cell--brutalist {
  border: 2px solid var(--t-fg);
  border-radius: 0;
}

.w10-pin-cell:focus {
  border-color: var(--t-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent) 18%, transparent);
}

/* File Input */
.w10-file-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1.5rem;
  border: 2px dashed var(--t-muted);
  border-radius: var(--t-radii-lg);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  color: var(--t-fg);
}

.w10-file-input:hover {
  border-color: var(--t-accent);
  background: color-mix(in srgb, var(--t-accent) 4%, transparent);
}

.w10-file-input__native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.w10-file-input__icon {
  color: var(--t-muted);
}

.w10-file-input__label {
  font-size: 0.9rem;
  font-weight: 500;
}

.w10-file-input__hint {
  font-size: 0.75rem;
  color: var(--t-muted);
}

/* ══════════════════════════════════════════
   DISPLAY — CARD
   ══════════════════════════════════════════ */

.w10-card {
  background: var(--t-card-bg, var(--t-surface));
  border-radius: var(--t-card-radius, var(--t-radii-lg));
  overflow: hidden;
}

.w10-card--default {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.w10-card--bordered {
  border: var(--t-card-border-width, 1.5px) solid var(--t-card-border, var(--t-muted));
}

.w10-card--elevated {
  box-shadow: var(--t-card-shadow, 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04));
}

.w10-card--glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.w10-card--brutalist {
  border: 2px solid var(--t-fg);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--t-accent);
}

.w10-card--flat {
  background: transparent;
  border: none;
  border-radius: 0;
}

.w10-card--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.w10-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* paddings */
.w10-card--p-none {
  padding: 0;
}

.w10-card--p-sm {
  padding: 0.75rem;
}

.w10-card--p-md {
  padding: 1.25rem;
}

.w10-card--p-lg {
  padding: 2rem;
}

/* ── Badge ── */
.w10-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--t-f-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--t-chip-radius, var(--t-radii-pill));
  white-space: nowrap;
}

.w10-badge--sm {
  font-size: 0.62rem;
  padding: 1px 6px;
}

.w10-badge--md {
  font-size: 0.7rem;
  padding: 2px 8px;
}

.w10-badge--filled {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-badge--outline {
  background: transparent;
  border: 1.5px solid var(--t-accent);
  color: var(--t-accent);
}

.w10-badge--dot,
.w10-badge--pulsing {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  position: relative;
}

.w10-badge--accent {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-badge--muted {
  background: var(--t-muted);
  color: var(--t-bg);
}

.w10-badge--success {
  background: #22c55e;
  color: #fff;
}

.w10-badge--warning {
  background: #f59e0b;
  color: #fff;
}

.w10-badge--error {
  background: #ef4444;
  color: #fff;
}

.w10-badge--pulsing::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: w10-pulse 1.5s ease-out infinite;
}

@keyframes w10-pulse {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ── Chip ── */
.w10-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--t-chip-radius, var(--t-radii-pill));
  border: 1.5px solid var(--t-muted);
  color: var(--t-fg);
  background: transparent;
  font-family: var(--t-f-sans);
  cursor: default;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.w10-chip--sm {
  padding: 3px 10px;
  font-size: 0.72rem;
}

.w10-chip--md {
  padding: 5px 14px;
  font-size: 0.82rem;
}

.w10-chip--selected {
  background: var(--t-accent);
  color: var(--t-bg);
  border-color: var(--t-accent);
}

.w10-chip--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.w10-chip__icon {
  display: flex;
  align-items: center;
}

.w10-chip__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  opacity: 0.55;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-left: 2px;
}

.w10-chip__dismiss:hover {
  opacity: 1;
}

/* ── Tag ── */
.w10-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--t-radii-sm);
  font-family: var(--t-f-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.w10-tag--sm {
  font-size: 0.62rem;
  padding: 2px 6px;
}

.w10-tag--md {
  font-size: 0.7rem;
  padding: 3px 8px;
}

.w10-tag--default {
  background: var(--t-chip-bg, color-mix(in srgb, var(--t-accent) 12%, transparent));
  color: var(--t-chip-fg, var(--t-accent));
}

.w10-tag--colored {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-tag--outline {
  background: transparent;
  border: 1px solid var(--t-accent);
  color: var(--t-accent);
}

.w10-tag--accent {
  color: var(--t-chip-fg, var(--t-accent));
  background: var(--t-chip-bg, color-mix(in srgb, var(--t-accent) 12%, transparent));
}

.w10-tag--muted {
  color: var(--t-muted);
  background: color-mix(in srgb, var(--t-muted) 15%, transparent);
}

/* ── Avatar ── */
.w10-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--t-avatar-bg, color-mix(in srgb, var(--t-accent) 15%, var(--t-surface)));
  color: var(--t-avatar-fg, var(--t-accent));
  font-family: var(--t-f-sans);
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.w10-avatar--circle {
  border-radius: var(--t-avatar-radius, 50%);
}

.w10-avatar--square {
  border-radius: 0;
}

.w10-avatar--rounded {
  border-radius: var(--t-radii-md);
}

.w10-avatar--xs {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.55rem;
}

.w10-avatar--sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.65rem;
}

.w10-avatar--md {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.8rem;
}

.w10-avatar--lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.1rem;
}

.w10-avatar--xl {
  width: 5rem;
  height: 5rem;
  font-size: 1.5rem;
}

.w10-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w10-avatar__status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  border: 2px solid var(--t-bg);
}

.w10-avatar__status--online {
  background: #22c55e;
}

.w10-avatar__status--offline {
  background: #9ca3af;
}

.w10-avatar__status--away {
  background: #f59e0b;
}

.w10-avatar__status--busy {
  background: #ef4444;
}

.w10-avatar-group {
  display: flex;
}

.w10-avatar-group .w10-avatar {
  border: 2px solid var(--t-bg);
  margin-left: -8px;
}

.w10-avatar-group .w10-avatar:first-child {
  margin-left: 0;
}

/* ── Image Frame ── */
.w10-image-frame {
  position: relative;
  overflow: hidden;
}

.w10-image-frame--rounded {
  border-radius: var(--t-radii-lg);
}

.w10-image-frame--square {
  aspect-ratio: 1 / 1;
}

.w10-image-frame--landscape {
  aspect-ratio: 16 / 9;
}

.w10-image-frame--portrait {
  aspect-ratio: 3 / 4;
}

.w10-image-frame--cinema {
  aspect-ratio: 21 / 9;
}

.w10-image-frame--free {
  aspect-ratio: auto;
}

.w10-image-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w10-image-frame__placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: color-mix(in srgb, var(--t-muted) 20%, var(--t-surface));
}

/* ── Skeleton ── */
.w10-skeleton {
  background: linear-gradient(90deg,
      var(--t-surface) 25%,
      color-mix(in srgb, var(--t-muted) 25%, var(--t-surface)) 50%,
      var(--t-surface) 75%);
  background-size: 200% 100%;
  animation: w10-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--t-radii-sm);
}

.w10-skeleton--text {
  height: 0.85rem;
  margin-bottom: 6px;
  border-radius: 3px;
}

.w10-skeleton--heading {
  height: 1.6rem;
  margin-bottom: 10px;
}

.w10-skeleton--avatar {
  border-radius: 50%;
}

.w10-skeleton--button {
  height: 2.5rem;
  width: 6.25rem;
  border-radius: var(--t-radii-md);
}

.w10-skeleton--card {
  height: 11.25rem;
  border-radius: var(--t-radii-lg);
}

@keyframes w10-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── Progress ── */
.w10-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.w10-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--t-muted);
}

.w10-progress {
  width: 100%;
  background: color-mix(in srgb, var(--t-muted) 20%, transparent);
  border-radius: var(--t-radii-pill);
  overflow: hidden;
}

.w10-progress--sm {
  height: 4px;
}

.w10-progress--md {
  height: 8px;
}

.w10-progress__bar {
  height: 100%;
  background: var(--t-accent);
  border-radius: var(--t-radii-pill);
  transition: width 0.3s ease;
}

/* Circular */
.w10-progress-circle__bg {
  stroke: color-mix(in srgb, var(--t-muted) 25%, transparent);
}

.w10-progress-circle__fill {
  stroke: var(--t-accent);
  transition: stroke-dasharray 0.4s ease;
}

.w10-progress-circle__text {
  font-family: var(--t-f-mono);
  font-size: 0.6rem;
  fill: var(--t-fg);
}

/* Steps */
.w10-progress-steps {
  display: flex;
  gap: 4px;
}

.w10-progress-step {
  flex: 1;
  height: 4px;
  border-radius: var(--t-radii-pill);
  background: color-mix(in srgb, var(--t-muted) 25%, transparent);
  transition: background 0.2s;
}

.w10-progress-step--done {
  background: var(--t-accent);
}

.w10-progress-step--active {
  background: color-mix(in srgb, var(--t-accent) 50%, transparent);
}

/* ── Spinner ── */
.w10-spinner {
  display: inline-block;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--t-accent) 20%, transparent);
  border-top-color: var(--t-accent);
  animation: w10-spin 0.65s linear infinite;
}

.w10-spinner--sm {
  width: 16px;
  height: 16px;
}

.w10-spinner--md {
  width: 24px;
  height: 24px;
}

.w10-spinner--lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

@keyframes w10-spin {
  to {
    transform: rotate(360deg);
  }
}

.w10-spinner-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.w10-spinner-dots span {
  border-radius: 50%;
  background: var(--t-accent);
  animation: w10-dot-bounce 1.2s ease-in-out infinite;
}

.w10-spinner-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.w10-spinner-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.w10-spinner-dots--sm span {
  width: 5px;
  height: 5px;
}

.w10-spinner-dots--md span {
  width: 8px;
  height: 8px;
}

.w10-spinner-dots--lg span {
  width: 11px;
  height: 11px;
}

@keyframes w10-dot-bounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.w10-spinner-pulse {
  display: inline-block;
  border-radius: 50%;
  background: var(--t-accent);
  animation: w10-pulse-ring 1.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.w10-spinner-pulse--sm {
  width: 16px;
  height: 16px;
}

.w10-spinner-pulse--md {
  width: 24px;
  height: 24px;
}

.w10-spinner-pulse--lg {
  width: 40px;
  height: 40px;
}

@keyframes w10-pulse-ring {

  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ── KBD ── */
.w10-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--t-f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--t-surface);
  color: var(--t-fg);
  border: 1px solid var(--t-muted);
  border-bottom-width: 2px;
  border-radius: var(--t-radii-sm);
  padding: 2px 6px;
  white-space: nowrap;
}

.w10-kbd-sep {
  font-size: 0.65rem;
  color: var(--t-muted);
  margin: 0 2px;
}

/* ── Tooltip ── */
.w10-tooltip-wrap {
  position: relative;
  display: inline-flex;
}

.w10-tooltip {
  position: absolute;
  z-index: 50;
  background: var(--t-fg);
  color: var(--t-bg);
  font-family: var(--t-f-sans);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--t-radii-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.w10-tooltip--top {
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
}

.w10-tooltip--bottom {
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
}

.w10-tooltip--left {
  right: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
}

.w10-tooltip--right {
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
}

.w10-tooltip-trigger:hover+.w10-tooltip,
.w10-tooltip-wrap:focus-within .w10-tooltip {
  opacity: 1;
}

/* ══════════════════════════════════════════
   FEEDBACK
   ══════════════════════════════════════════ */

.w10-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--t-alert-radius, var(--t-radii-md));
  border-left: 3px solid currentColor;
  font-family: var(--t-f-sans);
}

.w10-alert--compact {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.w10-alert--info {
  background: color-mix(in srgb, #3b82f6 10%, transparent);
  color: #3b82f6;
}

.w10-alert--success {
  background: color-mix(in srgb, #22c55e 10%, transparent);
  color: #16a34a;
}

.w10-alert--warning {
  background: color-mix(in srgb, #f59e0b 10%, transparent);
  color: #d97706;
}

.w10-alert--error {
  background: color-mix(in srgb, #ef4444 10%, transparent);
  color: #dc2626;
}

.w10-alert--neutral {
  background: var(--t-surface);
  color: var(--t-muted);
  border-left-color: var(--t-muted);
}

.w10-alert__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.w10-alert__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.w10-alert__title {
  font-weight: 600;
  font-size: 0.85rem;
}

.w10-alert__body {
  font-size: 0.82rem;
  opacity: 0.85;
}

.w10-alert__dismiss {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  padding: 0;
  flex-shrink: 0;
  display: flex;
}

.w10-alert__dismiss:hover {
  opacity: 1;
}

.w10-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
}

.w10-banner--info {
  background: color-mix(in srgb, #3b82f6 12%, transparent);
  color: #1d4ed8;
}

.w10-banner--promo {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-banner--warning {
  background: color-mix(in srgb, #f59e0b 15%, transparent);
  color: #92400e;
}

.w10-banner__body {
  flex: 1;
}

.w10-banner__dismiss {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 4px;
  display: flex;
}

.w10-banner__dismiss:hover {
  opacity: 1;
}

.w10-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 0.75rem;
}

.w10-empty-state__icon {
  color: var(--t-muted);
  opacity: 0.6;
}

.w10-empty-state__heading {
  font-family: var(--t-f-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--t-fg);
}

.w10-empty-state__body {
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-muted);
  max-width: 32ch;
}

/* ══════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════ */

.w10-h1 {
  font-family: var(--t-f-display);
  font-size: clamp(2.2rem, 5cqw, 3.5rem);
  font-weight: var(--t-h1-weight, 400);
  letter-spacing: var(--t-h1-tracking, 0em);
  text-transform: var(--t-h1-case, none);
  line-height: 1.05;
  color: var(--t-fg);
}

.w10-h2 {
  font-family: var(--t-f-display);
  font-size: clamp(1.6rem, 3.5cqw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--t-fg);
}

.w10-h3 {
  font-family: var(--t-f-display);
  font-size: clamp(1.2rem, 2.5cqw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--t-fg);
}

.w10-h4 {
  font-family: var(--t-f-sans);
  font-size: clamp(1rem, 2cqw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--t-fg);
}

.w10-h5 {
  font-family: var(--t-f-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--t-fg);
}

.w10-h6 {
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--t-fg);
}

.w10-display {
  font-family: var(--t-f-display);
  font-size: clamp(3rem, 8cqw, 6rem);
  font-weight: var(--t-h1-weight, 300);
  letter-spacing: var(--t-h1-tracking, -0.04em);
  text-transform: var(--t-h1-case, none);
  line-height: 0.95;
  color: var(--t-fg);
}

.w10-body--lead {
  font-family: var(--t-f-sans);
  font-size: 1.125rem;
  line-height: var(--t-body-leading, 1.7);
  color: var(--t-fg);
}

.w10-body--base {
  font-family: var(--t-f-sans);
  font-size: 1rem;
  line-height: var(--t-body-leading, 1.65);
  color: var(--t-fg);
}

.w10-body--small {
  font-family: var(--t-f-sans);
  font-size: 0.875rem;
  line-height: var(--t-body-leading, 1.6);
  color: var(--t-fg);
}

.w10-body--caption {
  font-family: var(--t-f-sans);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--t-muted);
}

.w10-text--left {
  text-align: left;
}

.w10-text--center {
  text-align: center;
}

.w10-text--right {
  text-align: right;
}

.w10-eyebrow {
  font-family: var(--t-f-sans);
  font-size: 0.65rem;
  letter-spacing: var(--t-eyebrow-tracking, 0.16em);
  text-transform: uppercase;
  color: var(--t-accent);
  display: block;
}

.w10-eyebrow--large {
  font-size: 0.78rem;
}

.w10-code {
  font-family: var(--t-f-mono);
  font-size: 0.82em;
  background: color-mix(in srgb, var(--t-muted) 15%, transparent);
  padding: 1px 5px;
  border-radius: var(--t-radii-sm);
  color: var(--t-fg);
}

.w10-code-block {
  font-family: var(--t-f-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  background: color-mix(in srgb, var(--t-fg) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--t-muted) 30%, transparent);
  border-radius: var(--t-radii-md);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  color: var(--t-fg);
  white-space: pre;
}

.w10-blockquote {
  border-left: 3px solid var(--t-accent);
  padding-left: 1.25rem;
  margin: 0;
}

.w10-blockquote--editorial {
  font-family: var(--t-f-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--t-fg);
}

.w10-blockquote--minimal {
  font-family: var(--t-f-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-fg);
  border-left-color: var(--t-muted);
}

.w10-blockquote--pull {
  border-left: none;
  padding-left: 0;
  text-align: center;
  font-family: var(--t-f-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--t-accent);
}

.w10-blockquote__text {
  margin: 0 0 8px;
}

.w10-blockquote__cite {
  font-family: var(--t-f-mono);
  font-size: 0.75rem;
  opacity: 0.6;
  font-style: normal;
}

.w10-link {
  color: var(--t-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.12s;
}

.w10-link:hover {
  opacity: 0.75;
}

.w10-link--muted {
  color: var(--t-muted);
}

.w10-link--nav {
  color: var(--t-fg);
  text-decoration: none;
}

.w10-link--nav:hover {
  color: var(--t-accent);
}

.w10-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-family: var(--t-f-sans);
  color: var(--t-fg);
}

.w10-list--compact {
  gap: 3px;
}

.w10-list--none {
  list-style: none;
  padding-left: 0;
}

.w10-list--check {
  list-style: none;
  padding-left: 0;
}

.w10-list__item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.w10-list__icon {
  color: var(--t-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   DIVIDER & SPACER
   ══════════════════════════════════════════ */

.w10-divider {
  border: none;
  border-top: 1px solid var(--t-muted);
  opacity: 0.2;
}

.w10-divider--sm {
  margin: 0.5rem 0;
}

.w10-divider--md {
  margin: 1rem 0;
}

.w10-divider--lg {
  margin: 2rem 0;
}

.w10-divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--t-f-mono);
  font-size: 0.72rem;
  color: var(--t-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.w10-divider-text--sm {
  margin: 0.5rem 0;
}

.w10-divider-text--md {
  margin: 1rem 0;
}

.w10-divider-text--lg {
  margin: 2rem 0;
}

.w10-divider-text__line {
  flex: 1;
  height: 1px;
  background: var(--t-muted);
  opacity: 0.25;
}

.w10-divider-ornamental {
  text-align: center;
  font-family: var(--t-f-display);
  font-size: 1.2rem;
  color: var(--t-muted);
  opacity: 0.4;
}

.w10-spacer--xs {
  height: 0.25rem;
}

.w10-spacer--sm {
  height: 0.5rem;
}

.w10-spacer--md {
  height: 1rem;
}

.w10-spacer--lg {
  height: 2rem;
}

.w10-spacer--xl {
  height: 3rem;
}

.w10-spacer--2xl {
  height: 4rem;
}

.w10-spacer--3xl {
  height: 6rem;
}

/* ══════════════════════════════════════════
   NAVIGATION ATOMS
   ══════════════════════════════════════════ */

.w10-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.w10-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--t-f-sans);
  font-size: 0.82rem;
}

.w10-breadcrumb__link {
  color: var(--t-muted);
  text-decoration: none;
  transition: color 0.12s;
}

.w10-breadcrumb__link:hover {
  color: var(--t-fg);
}

.w10-breadcrumb__label {
  color: var(--t-fg);
  font-weight: 500;
}

.w10-breadcrumb__sep {
  color: var(--t-muted);
  opacity: 0.5;
}

.w10-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-fg);
  text-decoration: none;
  transition: color 0.12s;
}

.w10-nav-link:hover {
  color: var(--t-accent);
}

.w10-nav-link--active {
  color: var(--t-accent);
}

.w10-nav-link--pill {
  padding: 6px 12px;
  border-radius: var(--t-radii-pill);
}

.w10-nav-link--pill.w10-nav-link--active {
  background: color-mix(in srgb, var(--t-accent) 12%, transparent);
}

.w10-nav-link--underline {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.w10-nav-link--underline.w10-nav-link--active {
  border-bottom-color: var(--t-accent);
}

.w10-nav-link--ghost {
  padding: 6px 10px;
  border-radius: var(--t-radii-md);
}

.w10-nav-link--ghost:hover {
  background: color-mix(in srgb, var(--t-fg) 6%, transparent);
}

.w10-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--t-f-sans);
  font-size: 0.88rem;
  color: var(--t-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.w10-tab-item:hover {
  color: var(--t-fg);
}

.w10-tab-item--active {
  color: var(--t-accent);
}

.w10-tab-item--underline.w10-tab-item--active {
  box-shadow: inset 0 -2px 0 var(--t-accent);
}

.w10-tab-item--pill {
  border-radius: var(--t-radii-pill);
}

.w10-tab-item--pill.w10-tab-item--active {
  background: var(--t-accent);
  color: var(--t-bg);
}

.w10-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--t-f-sans);
  font-size: 0.78rem;
}

.w10-step-item__indicator {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  border: 1.5px solid var(--t-muted);
  color: var(--t-muted);
  background: transparent;
}

.w10-step-item--done .w10-step-item__indicator {
  background: var(--t-accent);
  border-color: var(--t-accent);
  color: var(--t-bg);
}

.w10-step-item--active .w10-step-item__indicator {
  border-color: var(--t-accent);
  color: var(--t-accent);
}

.w10-step-item__label {
  text-align: center;
  color: var(--t-muted);
}

.w10-step-item--active .w10-step-item__label {
  color: var(--t-fg);
  font-weight: 500;
}

.w10-page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-family: var(--t-f-mono);
  font-size: 0.82rem;
  color: var(--t-fg);
  background: transparent;
  border: 1px solid var(--t-muted);
  border-radius: var(--t-radii-md);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.w10-page-item:hover {
  background: color-mix(in srgb, var(--t-fg) 6%, transparent);
}

.w10-page-item--active {
  background: var(--t-accent);
  color: var(--t-bg);
  border-color: var(--t-accent);
}

.w10-page-item--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.w10-page-item--ghost {
  border: none;
}