/* KalkuMapu — Tokens y estilos compartidos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --surface-2: #F3F5F2;
  --surface-3: #ECEFE7;

  --primary: oklch(0.62 0.11 160);
  --primary-strong: oklch(0.55 0.12 160);
  --primary-deep: oklch(0.40 0.09 160);
  --primary-soft: oklch(0.95 0.04 160);
  --primary-softer: oklch(0.97 0.025 160);
  --primary-border: oklch(0.85 0.06 160);

  --ink: #0F172A;
  --ink-2: #1F2937;
  --muted: #475569;
  --muted-2: #64748B;
  --line: #E5E7EB;
  --line-2: #EEF0EE;

  --success: oklch(0.62 0.09 150);
  --warning: oklch(0.72 0.12 75);
  --danger: oklch(0.58 0.16 25);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-1: 0 1px 2px rgba(15,23,42,0.04), 0 1px 1px rgba(15,23,42,0.03);
  --shadow-2: 0 4px 12px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-3: 0 12px 32px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--primary-strong); color: white; border-color: var(--primary-strong); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-2); border-color: #CBD5E1; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--line); }
.btn-danger:hover { background: oklch(0.97 0.03 25); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- Formularios ---- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.textarea { resize: vertical; min-height: 96px; }
.field-hint { font-size: 12px; color: var(--muted-2); }

/* ---- Tarjeta ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

/* ---- Pills / Etiquetas ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.pill-primary { background: var(--primary-soft); color: var(--primary-deep); border-color: var(--primary-border); }
.pill-success { background: oklch(0.96 0.04 150); color: oklch(0.42 0.08 150); border-color: oklch(0.85 0.06 150); }
.pill-warning { background: oklch(0.97 0.05 75); color: oklch(0.45 0.10 75); border-color: oklch(0.86 0.08 75); }
.pill-danger  { background: oklch(0.96 0.04 25); color: oklch(0.45 0.13 25); border-color: oklch(0.86 0.07 25); }
.pill-muted   { background: var(--surface-2); color: var(--muted); }

/* ---- Contenedor ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---- Shell de la app ---- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.mobile-topbar { display: none; }
.sidebar-scrim { display: none; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 0; left: 0; height: 100vh;
    width: 280px; z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-3);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
  }
  .mobile-topbar .menu-btn {
    background: none; border: 1px solid var(--line); border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
  }
  .mobile-topbar .mt-brand { font-family: var(--font-serif); font-size: 20px; display: flex; align-items: center; gap: 8px; }
  .sidebar-scrim { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.4); z-index: 80; }
  .sidebar-scrim.open { display: block; }
  .main { padding: 18px 16px 80px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title { font-size: 22px; }
  .course-layout { grid-template-columns: 1fr !important; }
  .module-list { position: static !important; }
  .editor-grid { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-left { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
  .table-card { overflow-x: auto; }
  .table { min-width: 640px; }
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px 18px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 12px;
}
.sidebar-brand .brand-name { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; }
.sidebar-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2);
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink-2);
  transition: background 0.15s;
}
.nav-item:hover { background: var(--surface-2); }
.nav-item.active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 500; }
.nav-item .nav-icon { width: 18px; height: 18px; flex: none; opacity: 0.8; }
.nav-item.active .nav-icon { opacity: 1; }
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 8px 4px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.user-meta { font-size: 13px; line-height: 1.3; min-width: 0; }
.user-meta .user-name { font-weight: 500; color: var(--ink); }
.user-meta .user-role { color: var(--muted-2); font-size: 12px; }

.main { padding: 32px 40px 64px; min-width: 0; }
.page-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
.page-title { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.page-subtitle { color: var(--muted); margin: 0; }
.page-actions { display: flex; gap: 10px; align-items: center; }

/* ---- Tablas ---- */
.table-card { overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted-2);
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--primary-softer); }
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---- Barra de herramientas ---- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar-left { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search input { padding-left: 36px; width: 280px; }
.search svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted-2); }

/* ---- Toggle ---- */
.toggle { position: relative; display: inline-block; width: 38px; height: 22px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider { position: absolute; inset: 0; background: #CBD5E1; border-radius: 999px; transition: 0.2s; }
.toggle .slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px; background: white; border-radius: 50%;
  transition: 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle input:checked + .slider { background: var(--primary-strong); }
.toggle input:checked + .slider::before { transform: translateX(16px); }

/* ---- Tarjeta de curso ---- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.course-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.course-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--primary-soft); }
.course-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-title { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -0.005em; }
.course-desc { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.course-price { font-weight: 600; font-size: 16px; color: var(--ink); }
.course-price .currency { color: var(--muted-2); font-weight: 400; font-size: 13px; }

/* ---- Placeholder botánico ---- */
.botanical {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; font-family: var(--font-mono); font-size: 11px; color: var(--primary-deep);
  background:
    radial-gradient(circle at 20% 30%, oklch(0.88 0.07 160 / 0.6), transparent 50%),
    radial-gradient(circle at 80% 70%, oklch(0.84 0.08 170 / 0.5), transparent 50%),
    linear-gradient(135deg, oklch(0.95 0.04 160), oklch(0.93 0.05 170));
}
.botanical::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, oklch(0.55 0.11 160 / 0.10) 1px, transparent 1.5px);
  background-size: 14px 14px; opacity: 0.6;
}
.botanical-tag {
  position: absolute; bottom: 10px; left: 12px;
  padding: 3px 8px; background: rgba(255,255,255,0.8); backdrop-filter: blur(4px);
  border-radius: 999px; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase;
}
.cover-photo { width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.bot-mint { filter: hue-rotate(0deg); }
.bot-sage { filter: hue-rotate(-10deg); }
.bot-moss { filter: hue-rotate(-20deg) saturate(1.1); }
.bot-eucalyptus { filter: hue-rotate(20deg); }
.bot-fennel { filter: hue-rotate(-5deg) brightness(1.05); }
.bot-thyme { filter: hue-rotate(10deg) saturate(1.15); }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.4); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fade-in 0.18s ease;
}
.modal {
  background: var(--surface); border-radius: var(--r-xl);
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-3); overflow: hidden;
  animation: pop-in 0.22s ease;
}
.modal-head { padding: 22px 24px 4px; position: relative; }
.modal-head h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.modal-head p { margin: 0; color: var(--muted); font-size: 14px; }
.modal-body { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--surface-2); display: flex; justify-content: flex-end; gap: 10px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: none; color: var(--muted-2);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal-close:hover { background: var(--surface-2); color: var(--ink); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---- Auth ---- */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 40px 20px;
  background:
    radial-gradient(circle at 15% 20%, oklch(0.94 0.04 130 / 0.7), transparent 40%),
    radial-gradient(circle at 85% 80%, oklch(0.93 0.04 150 / 0.6), transparent 40%),
    var(--bg);
}
.auth-card {
  background: var(--surface); border-radius: var(--r-xl);
  padding: 40px 36px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-2); border: 1px solid var(--line);
}
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.01em; }
.auth-title { font-size: 22px; margin: 0 0 6px; letter-spacing: -0.01em; font-weight: 600; }
.auth-sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--primary-deep); font-weight: 500; }
.auth-foot a:hover { text-decoration: underline; }

/* ---- Utilidades ---- */
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.kbd { display: inline-block; padding: 1px 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 48px 24px; color: var(--muted); }

.progress { height: 6px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary-strong); border-radius: 999px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.stat-delta { font-size: 12px; color: var(--success); margin-top: 4px; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 14px; }
.section-head h3 { margin: 0; font-size: 16px; font-weight: 600; }

.row { display: flex; gap: 12px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 12px; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; }

input[type="checkbox"].chk { width: 16px; height: 16px; accent-color: var(--primary-strong); }

/* ---- Checkout ---- */
.checkout-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, oklch(0.94 0.04 160 / 0.5), transparent 40%),
    radial-gradient(circle at 85% 90%, oklch(0.93 0.05 170 / 0.4), transparent 40%),
    var(--bg);
}
.checkout-header {
  padding: 20px 32px; border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,0.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
}
.checkout-brand { display:flex; align-items:center; gap:10px; font-family: var(--font-serif); font-size: 22px; }
.checkout-wrap { max-width: 980px; margin: 0 auto; padding: 36px 24px 60px; }
.stepper { display:flex; align-items:center; gap: 10px; margin: 0 auto 36px; max-width: 540px; justify-content: center; }
.step { display:flex; align-items:center; gap: 10px; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-weight: 600; font-size: 13px; color: var(--muted-2); flex: none;
}
.step-label { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.step.active .step-dot { background: var(--primary-strong); border-color: var(--primary-strong); color: white; }
.step.active .step-label { color: var(--ink); font-weight: 500; }
.step.done .step-dot { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary-deep); }
.step-line { flex: 1; height: 1.5px; background: var(--line); min-width: 24px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1); }
.checkout-summary { position: sticky; top: 24px; height: fit-content; }
.summary-line { display:flex; justify-content:space-between; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.summary-total { display:flex; justify-content:space-between; padding: 14px 0 0; font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 8px; }
.summary-cover { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background-size: cover; background-position: center; margin-bottom: 14px; }

@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-header { padding: 14px 18px; }
  .checkout-wrap { padding: 24px 16px 60px; }
}

/* ---- Pasarelas de pago ---- */
.gateway {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer; transition: all 0.15s;
  width: 100%; text-align: left; font-family: inherit;
}
.gateway:hover { border-color: var(--primary); background: var(--primary-softer); }
.gateway.selected { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 3px var(--primary-soft); }
.gateway-logo { width: 64px; height: 40px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; }
.gateway-paypal { background: #003087; color: #FFC439; }
.gateway-mp { background: #009EE3; color: white; }

/* ---- Icono de tipo de módulo ---- */
.mod-type-emoji { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.resource-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-deep); display:flex; align-items:center; justify-content:center; flex: none; }

/* ---- Tarjetas de radio ---- */
.radio-card { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: var(--surface); transition: all 0.15s; }
.radio-card:hover { border-color: var(--primary-border); }
.radio-card.active { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 3px var(--primary-soft); }
.radio-card input { margin-top: 2px; accent-color: var(--primary-strong); }
.radio-card .rc-title { font-weight: 500; font-size: 14px; }
.radio-card .rc-desc { color: var(--muted); font-size: 13px; }

/* ---- Tabs ---- */
.tabs { display:flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { padding: 10px 16px; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.15s; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--primary-strong); font-weight: 500; }

/* ---- Notificación / Toast ---- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--ink); color: white;
  padding: 14px 20px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-3);
  display: flex; align-items: center; gap: 10px;
  animation: pop-in 0.22s ease;
  max-width: 380px;
}
.toast-success { background: oklch(0.42 0.08 150); }
.toast-danger { background: var(--danger); }
