/* ============================================================================
   RESTART UI — Componentes
   Requiere tokens.css + fuentes Inter y Space Mono.
   Clases con prefijo .rs- para no colisionar con el CSS del proyecto destino.
   Todo usa los tokens semánticos: funciona igual en claro y en oscuro
   (data-theme="dark" en <html>).
   ============================================================================ */

.rs-base, body.rs-base {
  background: var(--rs-bg); color: var(--rs-text);
  font-family: var(--rs-font); font-size: var(--rs-fs-base);
  margin: 0; -webkit-font-smoothing: antialiased;
}
.rs-page { max-width: var(--rs-maxw); margin: 0 auto; padding: 28px 24px 80px; }

/* ── Topbar ──────────────────────────────────────────────── */
.rs-topbar {
  background: var(--rs-surface); border-bottom: 1px solid var(--rs-border-soft);
  padding: 0 40px; height: var(--rs-topbar-h); display: flex; align-items: center;
  justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 100;
  box-shadow: var(--rs-shadow-sm);
}
.rs-logo { height: 40px; width: auto; display: block; }
/* En oscuro, el logo azul no se lee: se cambia por el blanco */
[data-theme="dark"] .rs-logo { content: url(../assets/restart-logo-white.png); height: 14px; margin: 13px 4px; }
.rs-topbar-right { display: flex; align-items: center; gap: 10px; }
.rs-nav-back {
  color: var(--rs-text-muted); font-size: var(--rs-fs-sm); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 8px;
  transition: color .12s, background .12s;
}
.rs-nav-back:hover { color: var(--rs-accent); background: var(--rs-accent-a06); }
.rs-user-chip {
  display: inline-flex; align-items: center; gap: 7px; background: var(--rs-surface-2);
  border: 1px solid var(--rs-border); border-radius: var(--rs-r-pill);
  padding: 4px 12px 4px 4px; font-size: var(--rs-fs-sm); font-weight: 600; color: var(--rs-text);
}
.rs-user-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--rs-grad-brand);
  color: var(--rs-white); font-size: var(--rs-fs-xs); font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; object-fit: cover;
}
.rs-icon-btn {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1.5px solid var(--rs-border); border-radius: 8px; color: var(--rs-text-muted);
  cursor: pointer; text-decoration: none; transition: color .12s, border-color .12s, background .12s;
}
.rs-icon-btn:hover { color: var(--rs-accent); border-color: var(--rs-accent); background: var(--rs-accent-a08); }
.rs-icon-btn svg { width: 16px; height: 16px; }
.rs-btn-logout {
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--rs-font); font-size: var(--rs-fs-xs);
  font-weight: 600; color: var(--rs-text-muted); background: none; border: 1px solid var(--rs-border);
  border-radius: 8px; padding: 5px 10px; text-decoration: none; cursor: pointer; transition: color .12s, border-color .12s;
}
.rs-btn-logout:hover { color: var(--rs-error); border-color: color-mix(in srgb, var(--rs-error) 35%, transparent); }

/* ── Hero ────────────────────────────────────────────────── */
.rs-hero {
  background: var(--rs-grad-hero); padding: 32px 56px 44px; position: relative;
  overflow: hidden; border-radius: 0 0 28px 28px; color: var(--rs-text-on-dark);
}
.rs-hero--arq, .rs-hero--fin { background: var(--rs-grad-hero); }   /* v1: ahora todo es Fox Blue */
.rs-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.rs-hero::after {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: color-mix(in srgb, var(--rs-fox-300) 30%, transparent);
  right: -80px; top: -120px; filter: blur(60px); pointer-events: none;
}
.rs-hero-content { position: relative; z-index: 1; }
.rs-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--rs-fs-xs);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.65); margin-bottom: 14px;
}
.rs-hero-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: rgba(255,255,255,.4); display: block; }
.rs-hero-title { font-size: var(--rs-fs-2xl); font-weight: 800; color: #fff; letter-spacing: -1.5px; line-height: 1.1; margin: 0 0 12px; }
.rs-hero-sub { font-size: 15px; color: rgba(255,255,255,.72); font-weight: 400; max-width: 560px; margin: 0; }
@media (max-width: 720px) { .rs-hero { padding: 24px 20px 32px; } .rs-hero-title { font-size: 32px; } .rs-topbar { padding: 0 16px; } }
/* Celular: el chip muestra solo el avatar y «Salir» solo el ícono (el texto queda para lectores de pantalla) */
@media (max-width: 560px) {
  .rs-topbar { padding: 0 12px; gap: 8px; }
  .rs-topbar-right { gap: 6px; }
  .rs-user-chip { font-size: 0; gap: 0; padding: 3px; }
  .rs-btn-logout { font-size: 0; gap: 0; padding: 7px; }
  .rs-btn-logout svg { width: 14px; height: 14px; }
  .rs-nav-back { padding: 6px 8px; }
}

/* ── Cards ───────────────────────────────────────────────── */
.rs-card {
  background: var(--rs-surface); border: 1px solid var(--rs-border-soft); border-radius: var(--rs-r-lg);
  padding: 24px; box-shadow: var(--rs-shadow);
}
.rs-card-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rs-border-soft);
}
.rs-card-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rs-accent); margin: 0; }

/* Paso numerado (01, 02…) para guiar un flujo de arriba hacia abajo */
.rs-step {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 8px; background: var(--rs-accent-a12); color: var(--rs-accent);
  font: 700 13px var(--rs-mono);
}

/* KPI: etiqueta en mayúsculas y número grande */
.rs-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.rs-kpi {
  background: var(--rs-surface); border: 1px solid var(--rs-border-soft); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--rs-shadow); display: flex; flex-direction: column; gap: 6px;
}
.rs-kpi-label { font-size: var(--rs-fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rs-text-muted); }
.rs-kpi-value { font: 800 28px/1 var(--rs-font); letter-spacing: -1px; color: var(--rs-text); }
.rs-kpi-value--accent { color: var(--rs-accent); }
.rs-kpi-value--bad { color: var(--rs-error); }
.rs-kpi-note { font-size: var(--rs-fs-sm); color: var(--rs-text-muted); }

/* Banner de acceso a una sección (por ejemplo, arriba de un panel de inicio) */
.rs-banner {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: var(--rs-accent-a06); border: 1px solid var(--rs-border); border-radius: 18px; padding: 18px 24px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.rs-banner:hover { background: var(--rs-accent-a12); border-color: var(--rs-accent-a30); box-shadow: var(--rs-shadow-md); }
.rs-banner-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--rs-accent-a12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-banner-icon svg { width: 22px; height: 22px; color: var(--rs-accent); }
.rs-banner-title { font-size: 15px; font-weight: 700; color: var(--rs-text); margin-bottom: 2px; }
.rs-banner-sub { font-size: 12px; color: var(--rs-text-muted); }
.rs-banner-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--rs-accent); white-space: nowrap; }
.rs-banner-cta svg { width: 14px; height: 14px; }

/* ── Tarjeta de área (panel de inicio) ───────────────────── */
.rs-dept-card {
  background: var(--rs-surface); border-radius: var(--rs-r-xl); overflow: hidden;
  box-shadow: var(--rs-shadow); border: 1px solid var(--rs-border-soft);
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.rs-dept-card:hover { box-shadow: var(--rs-shadow-lg); transform: translateY(-4px); }
/* Monocromo: los departamentos se distinguen por ícono y nombre, no por color */
.rs-dept-header {
  padding: 26px 26px 22px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
  background: var(--rs-grad-brand);
}
.rs-dept-header::before, .rs-dept-header::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.rs-dept-header::before { width: 140px; height: 140px; right: -30px; top: -50px; }
.rs-dept-header::after { width: 80px; height: 80px; right: 70px; bottom: -30px; }
.rs-dept-header > * { position: relative; z-index: 1; }
.rs-dept-header--comercial, .rs-dept-header--arquitectura, .rs-dept-header--finanzas { background: var(--rs-grad-brand); }
.rs-dept-icon {
  width: 50px; height: 50px; border-radius: var(--rs-r-lg); background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.rs-dept-icon svg { width: 24px; height: 24px; color: #fff; }
.rs-dept-name { font-size: var(--rs-fs-lg); font-weight: 800; color: #fff; letter-spacing: -.3px; }
.rs-dept-count { font-size: var(--rs-fs-xs); color: rgba(255,255,255,.6); margin-top: 2px; font-weight: 500; }

.rs-module-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 24px; text-decoration: none;
  color: var(--rs-text); border-bottom: 1px solid var(--rs-border-soft); position: relative;
  transition: background .15s, padding-left .18s ease;
}
.rs-module-link:last-child { border-bottom: none; }
.rs-module-link::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--rs-accent); opacity: 0; transition: opacity .15s;
}
.rs-module-link:hover { background: var(--rs-accent-a06); padding-left: 30px; }
.rs-module-link:hover::before { opacity: 1; }
.rs-mod-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--rs-accent-a12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .15s;
}
.rs-module-link:hover .rs-mod-icon { transform: scale(1.08); }
.rs-mod-icon svg { width: 17px; height: 17px; color: var(--rs-accent); }
.rs-module-name { font-size: 13px; font-weight: 600; color: var(--rs-text); margin-bottom: 2px; }
.rs-module-sub { font-size: var(--rs-fs-xs); color: var(--rs-text-muted); }
.rs-module-arrow { margin-left: auto; color: var(--rs-accent-a30); transition: transform .18s, color .15s; }
.rs-module-link:hover .rs-module-arrow { transform: translateX(4px); color: var(--rs-text-muted); }
.rs-module-arrow svg { width: 14px; height: 14px; display: block; }

/* ── Botones ─────────────────────────────────────────────── */
.rs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--rs-r); font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; font-family: var(--rs-font); text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .2s, border-color .15s, color .15s;
}
.rs-btn svg { width: 16px; height: 16px; }
.rs-btn:disabled { opacity: .5; cursor: not-allowed; }
.rs-btn--sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.rs-btn--lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.rs-btn--primary, .rs-btn--arq, .rs-btn--fin { background: var(--rs-accent); color: var(--rs-on-accent); box-shadow: 0 4px 14px var(--rs-accent-a25); }
.rs-btn--primary:hover:not(:disabled), .rs-btn--arq:hover:not(:disabled), .rs-btn--fin:hover:not(:disabled) { background: var(--rs-accent-hover); }
.rs-btn--success { background: var(--rs-success); color: #fff; }
.rs-btn--danger { background: transparent; color: var(--rs-error); border: 1.5px solid color-mix(in srgb, var(--rs-error) 30%, transparent); }
.rs-btn--danger:hover:not(:disabled) { background: color-mix(in srgb, var(--rs-error) 8%, transparent); }
.rs-btn--ghost { background: var(--rs-accent-a08); color: var(--rs-accent); }
.rs-btn--ghost:hover:not(:disabled) { background: var(--rs-accent-a16); }
.rs-btn--outline { background: var(--rs-surface); color: var(--rs-accent); border: 1.5px solid var(--rs-border); }
.rs-btn--outline:hover:not(:disabled) { border-color: var(--rs-accent); background: var(--rs-accent-a06); }
.rs-btn--on-dark { background: #fff; color: var(--rs-fox); }          /* sobre el hero o un banner de marca */
.rs-btn--on-dark:hover:not(:disabled) { background: var(--rs-selago); }

/* ── Pestañas (pills) ────────────────────────────────────── */
.rs-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--rs-surface); box-shadow: var(--rs-shadow); }
.rs-tab {
  height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--rs-text-muted);
  font: 600 13px var(--rs-font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.rs-tab:hover { color: var(--rs-accent); }
.rs-tab[aria-selected="true"], .rs-tab.is-active { background: var(--rs-accent); color: var(--rs-on-accent); }
/* Sobre el hero: translúcidas, la activa en blanco */
.rs-hero .rs-tabs { background: transparent; box-shadow: none; padding: 0; gap: 6px; }
.rs-hero .rs-tab { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.rs-hero .rs-tab:hover { background: rgba(255,255,255,.18); color: #fff; }
.rs-hero .rs-tab[aria-selected="true"], .rs-hero .rs-tab.is-active { background: #fff; color: var(--rs-fox); font-weight: 700; }

/* ── Selector segmentado (Días / Semanas / Meses) ───────── */
.rs-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--rs-bg); }
.rs-seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font: 600 12px var(--rs-font); color: var(--rs-text-muted); cursor: pointer; }
.rs-seg button:hover { color: var(--rs-accent); }
.rs-seg button[aria-pressed="true"] { background: var(--rs-accent); color: var(--rs-on-accent); font-weight: 700; }

/* ── Badges y chips de estado ────────────────────────────── */
.rs-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px;
  border-radius: var(--rs-r-pill); font-size: var(--rs-fs-sm); font-weight: 700; white-space: nowrap;
}
.rs-badge--ok       { background: var(--rs-success-bg); color: var(--rs-success); }
.rs-badge--warn     { background: var(--rs-warn-bg);    color: var(--rs-warn); }
.rs-badge--error    { background: var(--rs-error-bg);   color: var(--rs-error); }
.rs-badge--info     { background: var(--rs-accent-a08); color: var(--rs-accent); }
.rs-badge--excluded { background: color-mix(in srgb, var(--rs-rol-arquitecto) 12%, transparent); color: var(--rs-rol-arquitecto); }
.rs-badge--neutral  { background: var(--rs-surface-2);  color: var(--rs-text-muted); }
.rs-badge--dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* En vivo: punto que late */
.rs-badge--live { background: var(--rs-error-bg); color: var(--rs-error); }
.rs-badge--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rs-error) 22%, transparent); animation: rs-pulso 1.4s ease-in-out infinite; }
@keyframes rs-pulso { 50% { opacity: .35; } }
.rs-tag { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--rs-surface-2); color: var(--rs-text-muted); font: 700 11px var(--rs-mono); }
.rs-tag--accent { background: var(--rs-accent-a12); color: var(--rs-accent); }

/* ── Alerts ──────────────────────────────────────────────── */
.rs-alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  border-radius: var(--rs-r-sm); font-size: 13.5px; line-height: 1.5;
}
.rs-alert-icon { flex-shrink: 0; font-weight: 700; }
.rs-alert--error   { background: var(--rs-error-bg);   color: var(--rs-error); }
.rs-alert--warning { background: var(--rs-warn-bg);    color: var(--rs-warn); }
.rs-alert--info    { background: var(--rs-accent-a08); color: var(--rs-accent); }
.rs-alert--success { background: var(--rs-success-bg); color: var(--rs-success); }

/* ── Tabla ───────────────────────────────────────────────── */
.rs-table-wrap { background: var(--rs-surface); border: 1px solid var(--rs-border-soft); border-radius: var(--rs-r-lg); overflow: auto; box-shadow: var(--rs-shadow-sm); }
.rs-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--rs-text); }
.rs-table thead th {
  background: var(--rs-surface-2); padding: 12px 16px; text-align: left; font-weight: 700; color: var(--rs-text-muted);
  border-bottom: 1px solid var(--rs-border-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.rs-table tbody td { padding: 11px 16px; border-bottom: 1px solid var(--rs-border-soft); }
.rs-table tbody tr:last-child td { border-bottom: none; }
.rs-table tbody tr:hover { background: var(--rs-accent-a04); }
.rs-table .rs-td-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Form ────────────────────────────────────────────────── */
.rs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rs-label { font-size: var(--rs-fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--rs-text-muted); }
.rs-hint { font-size: 12px; color: var(--rs-text-muted); }
.rs-input, .rs-textarea, .rs-select {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--rs-border); border-radius: var(--rs-r);
  font-size: 14px; color: var(--rs-text); background: var(--rs-surface-2); outline: none; font-family: var(--rs-font);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.rs-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.rs-input:focus, .rs-textarea:focus, .rs-select:focus { border-color: var(--rs-accent); background: var(--rs-surface); box-shadow: 0 0 0 4px var(--rs-accent-a12); }

/* Interruptor: <input type="checkbox" class="rs-switch" role="switch"> */
.rs-switch {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 40px; height: 24px; margin: 0;
  border-radius: 12px; background: var(--rs-accent-a16); position: relative; cursor: pointer; transition: background .15s;
}
.rs-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s;
}
.rs-switch:checked { background: var(--rs-accent); }
.rs-switch:checked::after { transform: translateX(16px); }
.rs-switch:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }
.rs-check-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rs-border-soft); cursor: pointer; }
.rs-check-row:last-child { border-bottom: none; }

/* ── Dropzone ────────────────────────────────────────────── */
.rs-dropzone {
  border: 2px dashed var(--rs-border); border-radius: var(--rs-r); padding: 36px 24px;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: var(--rs-surface-2);
}
.rs-dropzone:hover, .rs-dropzone.rs-over { border-color: var(--rs-accent); background: var(--rs-accent-a06); }
.rs-dropzone.rs-ready { border-style: solid; border-color: var(--rs-success); background: var(--rs-success-bg); }
.rs-dz-icon { font-size: 2rem; margin-bottom: 8px; }
.rs-dz-hint { color: var(--rs-text-muted); font-size: 13px; }

/* ── Modal ───────────────────────────────────────────────── */
.rs-modal-overlay {
  position: fixed; inset: 0; background: rgba(13,15,26,.5); z-index: 600;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(3px); padding: 16px;
}
.rs-modal {
  background: var(--rs-surface); color: var(--rs-text); border-radius: var(--rs-r-lg); width: 100%; max-width: 460px;
  box-shadow: var(--rs-shadow-lg); overflow: hidden; animation: rs-modal-in .2s ease; border: 1px solid var(--rs-border-soft);
}
@keyframes rs-modal-in { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.rs-modal-head {
  background: var(--rs-grad-brand);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
}
.rs-modal-title { font-size: 15px; font-weight: 800; color: #fff; }
.rs-modal-close {
  background: rgba(255,255,255,.15); border: none; color: #fff; width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.rs-modal-close:hover { background: rgba(255,255,255,.28); }
.rs-modal-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.rs-modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }
/* Confirmación simple, sin franja de color: título, texto y botones */
.rs-confirm { padding: 22px 22px 18px; }
.rs-confirm h3 { margin: 0 0 8px; font-size: 16px; }
.rs-confirm p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--rs-text-muted); }
.rs-confirm .rs-modal-actions { padding: 18px 0 0; }

/* ── Toast ───────────────────────────────────────────────── */
.rs-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 700;
  display: inline-flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  padding: 11px 16px; border-radius: 12px; background: var(--rs-fox-900); color: #fff;
  font-size: 13px; font-weight: 600; box-shadow: var(--rs-shadow-lg);
}
.rs-toast button { background: none; border: 0; color: var(--rs-fox-200); font: 700 13px var(--rs-font); cursor: pointer; padding: 0; }
[data-theme="dark"] .rs-toast { background: var(--rs-selago); color: var(--rs-fox-900); }
[data-theme="dark"] .rs-toast button { color: var(--rs-fox-700); }

/* ── Spinner ─────────────────────────────────────────────── */
.rs-spinner {
  display: inline-block; width: 16px; height: 16px; border: 2px solid var(--rs-accent-a25);
  border-top-color: var(--rs-accent); border-radius: 50%; animation: rs-spin .65s linear infinite;
}
@keyframes rs-spin { to { transform: rotate(360deg); } }

/* ── Utilidades ──────────────────────────────────────────── */
.rs-mono { font-family: var(--rs-mono); }
.rs-muted { color: var(--rs-text-muted); }
.rs-eyebrow { font: 700 11px var(--rs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rs-accent); }
.rs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rs-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .rs-grid-3, .rs-grid-2 { grid-template-columns: 1fr; } }
