/* ============================================================
   Washi Design System Tokens v2.0
   ============================================================ */
:root {
  /* === BRAND EMERALD === */
  --w-emerald-50:   #ECFDF5;
  --w-emerald-100:  #D1FAE5;
  --w-emerald-500:  #10B981;
  --w-emerald-600:  #059669;
  --w-emerald-700:  #047857;
  --w-emerald-900:  #064E3B;
  --w-emerald-text: #065F46;
  --w-emerald-text-dark: #022C22;

  /* === DARK BASE === */
  --w-navy:         #0D1B2A;
  --w-navy-card:    rgba(255,255,255,0.05);
  --w-navy-border:  rgba(255,255,255,0.08);
  --w-navy-muted:   #94A3B8;
  --w-navy-subtle:  #64748B;

  /* === NEUTROS === */
  --w-page-bg:      #F8FAF9;
  --w-surface:      #FFFFFF;
  --w-border:       #E5E7EB;
  --w-border-focus: #10B981;

  /* === TEXTO === */
  --w-text-primary:   #111827;
  --w-text-secondary: #6B7280;
  --w-text-muted:     #9CA3AF;
  --w-text-label:     #374151;

  /* === SEMÁNTICOS === */
  --w-success:        #10B981;
  --w-success-bg:     #ECFDF5;
  --w-success-border: #A7F3D0;
  --w-success-text:   #065F46;

  --w-warning:        #F59E0B;
  --w-warning-bg:     #FEF3C7;
  --w-warning-border: #FDE68A;
  --w-warning-text:   #92400E;

  --w-danger:         #EF4444;
  --w-danger-bg:      #FEE2E2;
  --w-danger-border:  #FECACA;
  --w-danger-text:    #991B1B;

  --w-info:           #3B82F6;
  --w-info-bg:        #EFF6FF;
  --w-info-border:    #BFDBFE;
  --w-info-text:      #1D4ED8;

  --w-neutral-bg:     #F3F4F6;
  --w-neutral-text:   #374151;

  /* === BORDER RADIUS === */
  --w-r-xs:   6px;
  --w-r-sm:   8px;
  --w-r-md:   10px;
  --w-r-lg:   14px;
  --w-r-xl:   20px;
  --w-r-pill: 9999px;

  /* === SOMBRAS === */
  --w-shadow-sm:    0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --w-shadow-md:    0 4px 12px rgba(0,0,0,0.06);
  --w-shadow-lg:    0 8px 30px rgba(0,0,0,0.08);
  --w-shadow-focus: 0 0 0 3px rgba(16,185,129,0.18);

  /* === FUENTES (inyectadas por next/font en layout.tsx) === */
  --font-sans: var(--font-sans-raw, "Plus Jakarta Sans", system-ui, sans-serif);
  --font-mono: var(--font-mono-raw, "DM Mono", monospace);
}

/* Preferencias de animación */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.washi-body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--w-page-bg);
  color: var(--w-text-primary);
}

/* ============================================================
   Legacy component styles (migración progresiva a tokens v2)
   ============================================================ */

.washi-pageShell {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(45, 212, 167, 0.18), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(26, 35, 50, 0.14), transparent 38%),
    radial-gradient(circle at 72% 82%, rgba(45, 212, 167, 0.14), transparent 42%),
    linear-gradient(180deg, #f7f5f2 0%, #ede9e3 100%);
  color: var(--w-text-primary);
  font-family: var(--font-sans);
}

.washi-dashPage {
  place-items: stretch;
}

.washi-dashShell {
  width: min(100%, 1280px);
  min-height: min(760px, calc(100vh - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 242, 0.88));
  border: 1px solid rgba(212, 207, 200, 0.82);
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(26, 35, 50, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.washi-dashSidebar {
  width: 220px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--w-navy);
  border-right: 1px solid var(--w-navy-border);
  color: var(--w-emerald-50);
  overflow-y: auto;
}

.washi-sidebarLogo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 1.5rem;
}
.washi-sidebarLogoIcon {
  width: 32px;
  height: 32px;
  border-radius: var(--w-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.washi-sidebarLogoName {
  color: var(--w-emerald-50);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}
.washi-sidebarLogoSub {
  color: var(--w-emerald-100);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.washi-dashNav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.washi-dashNavItem {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--w-r-sm);
  font-size: 13px;
  color: var(--w-navy-muted);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: background 150ms ease, color 150ms ease;
  cursor: pointer;
}

.washi-dashNavItem:hover {
  background: rgba(255,255,255,0.05);
  color: var(--w-emerald-100);
}

.washi-dashNavItemActive {
  background: rgba(16,185,129,0.12);
  color: var(--w-emerald-500);
  font-weight: 500;
}

.washi-dashNavItemActive:hover {
  background: rgba(16,185,129,0.16);
  color: var(--w-emerald-500);
}

.washi-dashMeta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: var(--w-r-md);
  font-family: var(--font-sans);
}

.washi-dashMeta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.washi-sidebarUser-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w-navy-700) 0%, var(--w-navy-600) 100%);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--w-emerald-300);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.washi-sidebarUser-name {
  font-size: 12px;
  color: var(--w-slate-200);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
  line-height: 1.3;
}

.washi-sidebarUser-roleBadge {
  font-size: 10px;
  color: var(--w-emerald-300);
  background: rgba(16,185,129,0.12);
  border: 0.5px solid rgba(16,185,129,0.25);
  padding: 2px 8px;
  border-radius: var(--w-r-pill);
  text-transform: capitalize;
  font-family: var(--font-sans);
  width: fit-content;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.washi-sidebarUser-tenant {
  font-size: 10px;
  color: var(--w-navy-subtle);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
  line-height: 1.3;
}

.washi-dashMeta-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.08);
  width: 100%;
}

.washi-sidebarUser-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  background: rgba(16,185,129,0.15);
  color: var(--w-emerald-400);
  padding: 2px 6px;
  border-radius: var(--w-r-pill);
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.washi-dashContent {
  padding: 24px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 22px;
}

.washi-dashContent > * {
  width: 100%;
  max-width: 900px;
}

/* ============================================================
   Page Hero — aplica a TODAS las páginas del dashboard
   ============================================================ */
.washi-pageHero {
  background: linear-gradient(135deg, var(--w-navy) 0%, var(--w-emerald-900) 100%);
  border-radius: var(--w-r-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.washi-heroChip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16,185,129,0.15);
  border: 0.5px solid rgba(16,185,129,0.35);
  color: var(--w-emerald-100);
  padding: 3px 10px;
  border-radius: var(--w-r-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.washi-heroTitle {
  font-size: 22px;
  font-weight: 500;
  color: var(--w-emerald-50);
  margin: 0 0 4px;
  font-family: var(--font-sans);
}

.washi-heroSub {
  font-size: 13px;
  color: rgba(236, 253, 245, 0.55);
  margin: 0;
  font-family: var(--font-sans);
}

.washi-dashHeader {
  display: grid;
  gap: 6px;
}

.washi-dashHeader h1 {
  margin: 0 0 4px;
  color: #1a2332;
  font-size: 30px;
  letter-spacing: 0.4px;
  line-height: 1.2;
}


.washi-dashSection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.washi-statsBar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  box-shadow: var(--w-shadow-sm);
  flex-wrap: wrap;
}

.washi-statsItem {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
}

.washi-statsItem-label {
  font-size: 11px;
  color: var(--w-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.washi-statsItem-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--w-text-primary);
}

.washi-statsItem-sep {
  width: 1px;
  height: 18px;
  background: var(--w-border);
  flex-shrink: 0;
}

.washi-statsPills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.washi-statsPill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, var(--w-surface) 100%);
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: var(--w-r-pill);
  font-family: var(--font-sans);
  box-shadow: var(--w-shadow-sm);
}

.washi-statsPill-label {
  font-size: 10px;
  color: var(--w-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.washi-statsPill-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--w-text-primary);
}

.washi-dashSection-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--w-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  padding: 0 2px;
  font-family: var(--font-sans);
}

.washi-dashGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.washi-dashCard {
  position: relative;
  padding: 16px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-left: 2px solid rgba(16,185,129,0.35);
  border-radius: var(--w-r-lg);
  box-shadow: var(--w-shadow-sm);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.washi-dashCard:hover {
  transform: translateY(-2px);
  border-color: var(--w-border-focus);
  border-left-color: var(--w-emerald-500);
  box-shadow: var(--w-shadow-md);
}

.washi-dashCard-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.washi-dashCard-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--w-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--w-emerald-600);
}

.washi-dashCard-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.washi-dashCard-content h3 {
  margin: 0;
  font-size: 12px;
  color: var(--w-text-secondary);
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.washi-dashCard-content .washi-statValue {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--w-text-primary);
  margin: 0;
  font-family: var(--font-sans);
}

.washi-dashCard-content .washi-message {
  font-size: 11px;
  color: var(--w-text-muted);
  margin: 0;
  font-family: var(--font-sans);
}

.washi-loginShell {
  width: min(100%, 1080px);
  min-height: min(720px, calc(100vh - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-xl);
  box-shadow: var(--w-shadow-lg);
  overflow: hidden;
}

.washi-bootShell {
  width: min(100%, 520px);
  min-height: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.washi-contextPanel {
  min-height: 100%;
  padding: 40px;
  display: grid;
  align-content: space-between;
  gap: 32px;
  background: var(--w-navy);
  color: var(--w-emerald-50);
}

.washi-brandLockup {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.washi-brandLogo {
  display: block;
  width: 220px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.2);
}

.washi-titleCluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.washi-miniIcon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.washi-panelCopy {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.washi-eyebrow,
.washi-kicker {
  margin: 0;
  color: var(--w-emerald-500);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.washi-panelCopy h1 {
  max-width: 520px;
  margin: 0;
  color: var(--w-emerald-50);
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.08;
}

.washi-panelCopy p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--w-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.washi-signalGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.washi-signalCard {
  min-height: 88px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  background: var(--w-navy);
  border: 1px solid var(--w-navy-border);
  border-radius: var(--w-r-lg);
}

.washi-signalCard span {
  color: var(--w-text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.washi-signalCard strong {
  color: var(--w-emerald-50);
  font-size: 18px;
  font-weight: 500;
}

.washi-flowPanel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.washi-flowPanel p {
  margin: 0;
  padding: 12px 8px;
  color: var(--w-emerald-50);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--w-r-sm);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.washi-accessCard {
  padding: 40px;
  display: grid;
  align-content: center;
  gap: 32px;
  background: var(--w-surface);
}

.washi-cardHeader {
  display: grid;
  gap: 24px;
}

.washi-cardHeader h2 {
  margin: 8px 0 0;
  color: var(--w-text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.washi-statusBadge {
  width: fit-content;
  min-height: 28px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.washi-statusBadgeCommercial {
  color: var(--w-success-text);
  background: var(--w-success-bg);
  border: 1px solid var(--w-success-border);
}

.washi-statusBadgeOperational {
  color: var(--w-text-primary);
  background: var(--w-neutral-bg);
  border: 1px solid var(--w-border);
}

.washi-statusDot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: currentColor;
}

.washi-success {
  color: var(--w-success-text);
  background: var(--w-success-bg);
}

.washi-danger {
  color: var(--w-danger-text);
  background: var(--w-danger-bg);
}

.washi-neutral {
  color: var(--w-neutral-text);
  background: var(--w-neutral-bg);
}

.washi-form,
.washi-sessionPanel {
  display: grid;
  gap: 16px;
}

.washi-form > .washi-dashCard {
  border-left: 3px solid var(--w-emerald-500);
}

.washi-premiumPanel {
  position: relative;
  overflow: visible;
}


.washi-premiumPanel > * {
  position: relative;
  z-index: 1;
}

.washi-field {
  display: grid;
  gap: 8px;
  color: var(--w-text-secondary);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.washi-field > span {
  width: fit-content;
  padding: 3px 10px;
  color: var(--w-success-text);
  background: var(--w-success-bg);
  border: 1px solid var(--w-success-border);
  border-radius: var(--w-r-pill);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.washi-field input,
.washi-field select,
.washi-field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 16px;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  font: inherit;
  font-size: 16px; /* Evita zoom automático en iOS Safari */
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 140ms ease, background 160ms ease;
}

.washi-field input:focus,
.washi-field select:focus,
.washi-field textarea:focus {
  border-color: var(--w-border-focus);
  box-shadow: var(--w-shadow-focus);
  transform: translateY(-1px);
  outline: none;
}

.washi-field select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #9CA3AF 50%), linear-gradient(135deg, #9CA3AF 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.washi-field input[type="checkbox"] {
  appearance: none;
  width: 22px;
  min-height: 22px;
  padding: 0;
  border-radius: var(--w-r-sm);
  border: 1px solid var(--w-border);
  background: var(--w-surface);
  cursor: pointer;
  box-shadow: none;
  transform: none;
}

.washi-field input[type="checkbox"]:checked {
  background: var(--w-emerald-500);
  border-color: var(--w-emerald-600);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.washi-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: saturate(0.5) hue-rotate(120deg);
  cursor: pointer;
}

.washi-segmented {
  width: fit-content;
  padding: 5px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--w-neutral-bg);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
}

.washi-segmentedButton {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--w-r-sm);
  background: transparent;
  color: var(--w-text-secondary);
  font: inherit;
  cursor: pointer;
  transition: all 170ms ease;
}

.washi-segmentedButton:hover {
  color: var(--w-text-primary);
  background: var(--w-surface);
}

.washi-segmentedButtonActive {
  color: var(--w-emerald-text-dark);
  background: var(--w-emerald-500);
  border-color: var(--w-emerald-600);
  box-shadow: var(--w-shadow-sm);
}

.washi-selectTrigger {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 140ms ease;
}

.washi-selectTrigger:hover {
  border-color: var(--w-border-focus);
}

.washi-selectTrigger:focus-visible {
  border-color: var(--w-border-focus);
  box-shadow: var(--w-shadow-focus);
  transform: translateY(-1px);
  outline: none;
}

.washi-selectTrigger[data-disabled] {
  cursor: not-allowed;
  opacity: 0.56;
}

.washi-selectIcon {
  color: var(--w-text-muted);
  font-size: 14px;
}

.washi-selectContent {
  z-index: 50;
  min-width: 220px;
  max-height: 300px;
  padding: 6px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  box-shadow: var(--w-shadow-lg);
}

.washi-selectViewport {
  display: grid;
  gap: 4px;
}

.washi-selectItem {
  min-height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: var(--w-text-primary);
  border-radius: var(--w-r-sm);
  cursor: pointer;
  user-select: none;
  transition: background 160ms ease, transform 140ms ease;
}

.washi-selectItem[data-highlighted] {
  color: var(--w-text-primary);
  background: var(--w-success-bg);
  transform: translateX(1px);
  outline: none;
}

.washi-selectItem[data-disabled] {
  color: var(--w-text-muted);
  cursor: not-allowed;
}

.washi-checkboxRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--w-text-secondary);
}

.washi-checkboxRoot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--w-r-sm);
  border: 1px solid var(--w-border);
  background: var(--w-surface);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.washi-checkboxRoot[data-state="checked"] {
  background: var(--w-emerald-500);
  border-color: var(--w-emerald-600);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.washi-checkboxRoot:focus-visible {
  outline: none;
  box-shadow: var(--w-shadow-focus);
}

.washi-checkboxRoot[data-disabled] {
  cursor: not-allowed;
  opacity: 0.56;
}

.washi-checkboxIndicator {
  color: var(--w-text-primary);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.washi-datePicker {
  position: relative;
}

.washi-dateTrigger {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 140ms ease;
}

.washi-dateTrigger:hover {
  border-color: var(--w-border-focus);
}

.washi-dateTrigger:focus-visible {
  border-color: var(--w-border-focus);
  box-shadow: var(--w-shadow-focus);
  transform: translateY(-1px);
  outline: none;
}

.washi-dateTrigger:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.washi-dateTriggerMeta {
  color: var(--w-text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.washi-datePopover {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  padding: 12px;
  display: grid;
  gap: 12px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  box-shadow: var(--w-shadow-lg);
}

.washi-dateHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.washi-dateHeader strong {
  color: var(--w-text-primary);
  font-weight: 500;
  text-transform: capitalize;
}

.washi-iconButton {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-sm);
  cursor: pointer;
  font: inherit;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.washi-iconButton:hover {
  border-color: var(--w-border-focus);
  transform: translateY(-1px);
}

.washi-dateWeekdays,
.washi-dateGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.washi-dateWeekdays span {
  min-height: 24px;
  display: grid;
  place-items: center;
  color: var(--w-text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
}

.washi-dateDay {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid transparent;
  border-radius: var(--w-r-sm);
  cursor: pointer;
  font: inherit;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.washi-dateDay:hover {
  background: var(--w-success-bg);
  border-color: var(--w-success-border);
  transform: translateY(-1px);
}

.washi-dateDay[data-muted] {
  color: var(--w-text-muted);
}

.washi-dateDay[data-selected] {
  color: var(--w-text-primary);
  background: var(--w-emerald-500);
  border-color: var(--w-emerald-600);
  box-shadow: var(--w-shadow-sm);
}

.washi-dateFooter {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.washi-dialogOverlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(13, 27, 42, 0.56);
  backdrop-filter: blur(8px);
}

.washi-dialogPanel {
  width: min(100%, 460px);
  padding: 24px;
  display: grid;
  gap: 16px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  box-shadow: var(--w-shadow-lg);
  animation: fadeSlideUp 220ms ease-out;
}

.washi-dialogPanel h2 {
  margin: 0;
  color: var(--w-text-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.washi-dialogActions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.washi-dangerButton {
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  color: var(--w-surface);
  background: var(--w-danger);
  border: 1px solid var(--w-danger-text);
  border-radius: var(--w-r-md);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: transform 150ms ease, box-shadow 180ms ease, background 180ms ease;
}

.washi-dangerButton:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--w-danger-text);
  box-shadow: var(--w-shadow-sm);
}

.washi-dangerButton:active:not(:disabled) {
  transform: scale(0.98);
}

.washi-dangerButton:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.washi-toastViewport {
  position: fixed;
  z-index: 120;
  right: 24px;
  top: 80px;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 8px;
}

.washi-toast {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  box-shadow: var(--w-shadow-lg);
  animation: fadeSlideUp 220ms ease-out;
}

.washi-toast[data-tone="success"] {
  border-color: var(--w-success-border);
}

.washi-toast[data-tone="danger"] {
  border-color: var(--w-danger-border);
}

.washi-toast strong {
  color: var(--w-text-primary);
  font-size: 14px;
  font-weight: 500;
}

.washi-toast p {
  margin: 4px 0 0;
  color: var(--w-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.washi-toast button {
  width: 28px;
  height: 28px;
  color: var(--w-text-muted);
  background: transparent;
  border: 0;
  border-radius: var(--w-r-pill);
  cursor: pointer;
  font: inherit;
}

.washi-toast button:hover {
  color: var(--w-text-primary);
  background: var(--w-neutral-bg);
}

.washi-primaryButton,
.washi-secondaryButton {
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.washi-primaryButton {
  color: var(--w-emerald-text-dark);
  background: var(--w-emerald-500);
  border: 1px solid var(--w-emerald-600);
  box-shadow: var(--w-shadow-sm);
}

.washi-secondaryButton {
  color: var(--w-text-primary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
}

.washi-primaryButton:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--w-emerald-600);
  box-shadow: var(--w-shadow-md);
}

.washi-secondaryButton:hover {
  transform: translateY(-1px);
  background: var(--w-neutral-bg);
  box-shadow: var(--w-shadow-sm);
}

.washi-primaryButton:focus-visible,
.washi-secondaryButton:focus-visible {
  outline: none;
  border-color: var(--w-border-focus);
  box-shadow: var(--w-shadow-focus);
}

.washi-primaryButton:active:not(:disabled),
.washi-secondaryButton:active {
  transform: scale(0.98);
}

.washi-ghostButton {
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--w-r-sm);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--w-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.washi-ghostButton:hover {
  background: var(--w-neutral-bg);
  color: var(--w-text-primary);
  border-color: var(--w-border);
}

.washi-ghostButton:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.washi-primaryButton:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.washi-detailRow {
  margin: 0;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--w-border);
  color: var(--w-text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.washi-detailRow span {
  width: fit-content;
  padding: 2px 8px;
  color: var(--w-text-secondary);
  background: var(--w-neutral-bg);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-pill);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.washi-detailRow strong {
  min-width: 0;
  color: var(--w-text-primary);
  font-family: var(--font-sans);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.washi-blockedMessage,
.washi-message {
  margin: 0;
  color: var(--w-text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.washi-statusLegend {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--w-success-border);
  background: var(--w-success-bg);
}

.washi-statusLegend summary {
  margin: 0;
  color: var(--w-success-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.washi-statusLegend summary::-webkit-details-marker {
  display: none;
}

.washi-statusLegend summary::after {
  content: "";
  float: right;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.washi-statusLegend:not([open]) summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.washi-statusLegendBody {
  display: grid;
  gap: 8px;
}

.washi-statusLegend p {
  margin: 0;
  color: var(--w-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.washi-statusLegend strong {
  color: var(--w-text-primary);
}

.washi-blockedMessage {
  padding: 12px 16px;
  color: var(--w-danger-text);
  background: var(--w-danger-bg);
  border: 1px solid var(--w-danger-border);
  border-radius: var(--w-r-md);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.washi-mobileMenuBtn {
  display: none;
}

.washi-mobileOverlay {
  display: none;
}

@media (max-width: 860px) {
  .washi-mobileMenuBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 110;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--w-navy);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--w-r-md);
    cursor: pointer;
    box-shadow: var(--w-shadow-sm);
  }

  .washi-hamburger,
  .washi-hamburger::before,
  .washi-hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--w-emerald-500);
    border-radius: 2px;
  }

  .washi-hamburger {
    position: relative;
  }

  .washi-hamburger::before,
  .washi-hamburger::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .washi-hamburger::before {
    top: -7px;
  }

  .washi-hamburger::after {
    top: 7px;
  }

  .washi-mobileOverlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(13, 27, 42, 0.55);
    backdrop-filter: blur(4px);
  }

  .washi-dashSidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: min(220px, 80vw);
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    border-radius: 0 16px 16px 0;
  }

  .washi-dashSidebarOpen {
    transform: translateX(0);
  }

  .washi-pageShell {
    padding: 16px;
    place-items: stretch;
  }

  .washi-loginShell {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .washi-contextPanel {
    display: none;
  }

  .washi-accessCard {
    padding: 32px 24px;
  }

  .washi-panelCopy h1 {
    font-size: 34px;
  }

  .washi-signalGrid,
  .washi-flowPanel {
    grid-template-columns: 1fr 1fr;
  }

  .washi-dashShell {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .washi-dashSidebar,
  .washi-dashContent {
    padding: 20px;
  }

  .washi-dashGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .washi-pageShell {
    padding: 0;
  }

  .washi-dashShell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .washi-loginShell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .washi-brandLogo {
    width: 184px;
    border-radius: 14px;
  }

  .washi-panelCopy h1 {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .washi-signalGrid,
  .washi-flowPanel,
  .washi-detailRow {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Error boundary page (error.tsx)
   ============================================================ */
.washi-errorPage {
  min-height: 100vh;
  margin: 0;
  background: var(--w-page-bg);
  color: var(--w-text-primary);
  font-family: var(--font-sans);
  display: grid;
  place-items: center;
  padding: 24px;
}

.washi-errorCard {
  display: grid;
  gap: 16px;
  width: min(100%, 560px);
  padding: 24px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  box-shadow: var(--w-shadow-md);
}

.washi-errorEyebrow {
  margin: 0;
  color: var(--w-danger);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.washi-errorTitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--w-text-primary);
}

.washi-errorText {
  margin: 0;
  color: var(--w-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.washi-errorActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.washi-errorBtnPrimary {
  min-height: 44px;
  padding: 0 16px;
  color: var(--w-emerald-text-dark);
  background: var(--w-emerald-500);
  border: 1px solid var(--w-emerald-600);
  border-radius: var(--w-r-md);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: transform 150ms ease, background 180ms ease;
}
.washi-errorBtnPrimary:hover {
  background: var(--w-emerald-600);
  transform: translateY(-1px);
}
.washi-errorBtnPrimary:active {
  transform: scale(0.98);
}

.washi-errorBtnSecondary {
  min-height: 44px;
  padding: 0 16px;
  color: var(--w-text-secondary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: transform 150ms ease, background 180ms ease;
}
.washi-errorBtnSecondary:hover {
  background: var(--w-page-bg);
  color: var(--w-text-primary);
  transform: translateY(-1px);
}
.washi-errorBtnSecondary:active {
  transform: scale(0.98);
}

/* ============================================================
   12) WASHI TABLE (tablas densas)
   ============================================================ */

.washi-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
}

.washi-table th,
.washi-th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--w-text-muted);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--w-border);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.washi-table td,
.washi-td {
  padding: 12px 14px;
  color: var(--w-text-primary);
  border-bottom: 1px solid var(--w-border);
  font-family: var(--font-sans);
  vertical-align: middle;
}

.washi-table tbody tr,
.washi-tr {
  transition: background 120ms ease;
}

.washi-table tbody tr:hover,
.washi-tr:hover {
  background: var(--w-page-bg);
}

.washi-table tbody tr:last-child td,
.washi-tr:last-child .washi-td {
  border-bottom: none;
}

/* ============================================================
   13) WASHI AVATAR
   ============================================================ */

.washi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--w-emerald-50);
  color: var(--w-emerald-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-sans);
  line-height: 1;
}

/* ============================================================
   14) WASHI ACTIONS CELL (hover visibility)
   ============================================================ */

.washi-actionsCell {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.washi-table tbody tr:hover .washi-actionsCell,
.washi-tr:hover .washi-actionsCell {
  opacity: 1;
}

/* ============================================================
   15) WASHI TOOLBAR + FILTER PILLS
   ============================================================ */

.washi-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
}

.washi-filterPill {
  padding: 5px 12px;
  border-radius: var(--w-r-pill);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--w-text-secondary);
  background: var(--w-neutral-bg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.washi-filterPill:hover {
  background: var(--w-page-bg);
  color: var(--w-text-primary);
}

.washi-filterPillActive {
  color: var(--w-emerald-text);
  background: var(--w-emerald-50);
  border-color: var(--w-success-border);
}

.washi-filterPillActive:hover {
  background: var(--w-success-bg);
}

/* ============================================================
   16) WASHI PAGINATION
   ============================================================ */

.washi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
}

.washi-pageBtn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--w-r-sm);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--w-text-secondary);
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.washi-pageBtn:hover {
  background: var(--w-page-bg);
  color: var(--w-text-primary);
  border-color: var(--w-border-focus);
}

.washi-pageBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.washi-pageBtnActive {
  color: var(--w-emerald-text);
  background: var(--w-emerald-50);
  border-color: var(--w-success-border);
}

/* ============================================================
   17) WASHI KANBAN
   ============================================================ */

.washi-kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.washi-kanbanColumn {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--w-page-bg);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  padding: 12px;
}

.washi-kanbanColumnHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--w-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--w-text-primary);
  font-family: var(--font-sans);
  text-transform: capitalize;
}

.washi-kanbanColumnHeader span {
  font-size: 11px;
  font-weight: 500;
  color: var(--w-text-muted);
  background: var(--w-neutral-bg);
  padding: 2px 8px;
  border-radius: var(--w-r-pill);
}

.washi-kanbanCard {
  padding: 12px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-sm);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  font-family: var(--font-sans);
  font-size: 13px;
}

.washi-kanbanCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--w-shadow-sm);
  border-color: var(--w-border-focus);
}

.washi-kanbanCardTitle {
  margin: 0 0 4px;
  font-weight: 500;
  color: var(--w-text-primary);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.washi-kanbanCardMeta {
  margin: 0;
  color: var(--w-text-secondary);
  font-size: 11px;
  line-height: 1.5;
}

.washi-kanbanCardActions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.washi-kanbanCard:hover .washi-kanbanCardActions {
  opacity: 1;
}

.washi-kanbanMore {
  padding: 8px 12px;
  text-align: center;
  color: var(--w-text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--w-r-sm);
  transition: background 120ms ease;
}

.washi-kanbanMore:hover {
  background: var(--w-neutral-bg);
  color: var(--w-text-primary);
}

/* ============================================================
   18) WASHI SERVICE GRID
   ============================================================ */

.washi-serviceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.washi-serviceCard {
  padding: 16px;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  display: grid;
  align-content: start;
  gap: 8px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  font-family: var(--font-sans);
}

.washi-serviceCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--w-shadow-sm);
  border-color: var(--w-border-focus);
}

.washi-serviceCardPaused {
  opacity: 0.55;
}

.washi-serviceCard h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--w-text-primary);
  font-family: var(--font-sans);
}

.washi-serviceCard p {
  margin: 0;
  font-size: 12px;
  color: var(--w-text-secondary);
  line-height: 1.5;
}

.washi-serviceCardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--w-text-muted);
}

.washi-serviceCardAdd {
  padding: 16px;
  background: var(--w-page-bg);
  border: 1.5px dashed var(--w-border);
  border-radius: var(--w-r-lg);
  display: grid;
  place-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
  font-family: var(--font-sans);
  color: var(--w-text-muted);
  font-size: 13px;
  font-weight: 500;
  min-height: 120px;
}

.washi-serviceCardAdd:hover {
  border-color: var(--w-border-focus);
  background: var(--w-emerald-50);
  color: var(--w-emerald-text);
}

/* ============================================================
   19) WASHI MONO (datos numéricos / técnicos)
   ============================================================ */

.washi-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ============================================================
   20) RESPONSIVE — TABLE / KANBAN / SERVICE GRID
   ============================================================ */

.washi-searchableSelect {
  position: relative;
  width: 100%;
}

.washi-searchableSelectDropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  box-shadow: var(--w-shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.washi-searchableSelectInputWrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-sm);
  background: var(--w-surface);
}

.washi-searchableSelectSearchIcon {
  color: var(--w-text-muted);
  flex-shrink: 0;
}

.washi-searchableSelectInput {
  flex: 1;
  min-height: 36px;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--w-text-primary);
  outline: none;
}

.washi-searchableSelectInput::placeholder {
  color: var(--w-text-muted);
}

.washi-searchableSelectClear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: none;
  background: transparent;
  color: var(--w-text-muted);
  cursor: pointer;
  border-radius: var(--w-r-sm);
}

.washi-searchableSelectClear:hover {
  color: var(--w-text-primary);
  background: var(--w-success-bg);
}

.washi-searchableSelectList {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.washi-searchableSelectItem {
  min-height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--w-text-primary);
  background: transparent;
  border: none;
  border-radius: var(--w-r-sm);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, transform 140ms ease;
}

.washi-searchableSelectItem:hover {
  background: var(--w-success-bg);
  transform: translateX(1px);
}

.washi-searchableSelectItemActive {
  background: var(--w-success-bg);
}

.washi-searchableSelectItemDisabled {
  color: var(--w-text-muted);
  cursor: not-allowed;
  opacity: 0.56;
}

.washi-searchableSelectItemDisabled:hover {
  background: transparent;
  transform: none;
}

.washi-searchableSelectMeta {
  font-size: 11px;
  color: var(--w-text-muted);
}

.washi-searchableSelectEmpty {
  padding: 10px;
  text-align: center;
  color: var(--w-text-muted);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .washi-kanban {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}

@media (max-width: 860px) {
  .washi-kanban {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .washi-serviceGrid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .washi-table th,
  .washi-table td,
  .washi-th,
  .washi-td {
    padding: 10px 12px;
  }
}

@media (max-width: 640px) {
  .washi-kanban {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .washi-serviceGrid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .washi-toolbar {
    gap: 8px;
    padding: 10px 12px;
  }
}
