/* ========================================================
   TRACCIÓN - ÁRBOL EJECUTIVO & PRÓTESIS COGNITIVA
   Design System: Clarity UI (Ceramic & Royal Cobalt)
   ======================================================== */

:root {
  /* Colores Base */
  --bg-app: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --bg-card-elevated: #ffffff;

  /* Bordes */
  --border-subtle: rgba(226, 232, 240, 0.85);
  --border-medium: #cbd5e1;
  --border-focus: #3b82f6;

  /* Tipografía */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Colores Semánticos */
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  --brand-blue-border: #bfdbfe;

  --tint-emerald: #10b981;
  --tint-emerald-bg: #f0fdf4;
  --tint-emerald-border: #bbf7d0;
  --tint-emerald-text: #047857;

  --tint-amber: #f59e0b;
  --tint-amber-bg: #fffbeb;
  --tint-amber-border: #fde68a;
  --tint-amber-text: #b45309;

  --tint-rose: #f43f5e;
  --tint-rose-bg: #fff1f2;
  --tint-rose-border: #fecdd3;
  --tint-rose-text: #be123c;

  --tint-indigo: #6366f1;
  --tint-indigo-bg: #eef2ff;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 10px 28px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-float: 0 14px 35px -4px rgba(37, 99, 235, 0.25);
  --shadow-sheet: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Radios */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Fuentes */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-height: 68px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.app-shell {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 50px rgba(15, 23, 42, 0.05);
}

/* ========================================================
   HEADER Y BARRA SUPERIOR
   ======================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 250, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 20px 10px;
}

.header-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.user-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.avatar-initials {
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.greeting-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
}

.greeting-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-right: 2px;
}

.score-pill .pill-icon {
  width: 14px;
  height: 14px;
  color: var(--brand-blue);
}

.score-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.score-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.action-icon-btn svg {
  width: 17px;
  height: 17px;
}

.action-icon-btn:hover {
  background: var(--bg-surface-subtle);
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
}

/* Selector de Proyectos Activos (Máx 2) */
.project-selector-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.project-pill-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.project-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-pill.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  font-weight: 700;
}

.btn-add-pill {
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--border-medium);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-add-pill svg {
  width: 13px;
  height: 13px;
}

.btn-add-pill:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
}

/* ========================================================
   BANNER DE DEMOSTRACIÓN
   ======================================================== */
.demo-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideDown 0.3s ease;
}

.demo-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.demo-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-icon-wrap svg {
  width: 14px;
  height: 14px;
}

.demo-text-wrap {
  display: flex;
  flex-direction: column;
}

.demo-title {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
}

.demo-desc {
  font-size: 11px;
  color: #78350f;
  line-height: 1.3;
}

.demo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-clean-demo {
  background: #fef2f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clean-demo svg {
  width: 13px;
  height: 13px;
}

.btn-clean-demo:hover {
  background: #fee2e2;
  border-color: #fda4af;
}

.btn-dismiss-demo {
  background: transparent;
  border: none;
  color: #b45309;
  font-size: 14px;
  padding: 4px;
  cursor: pointer;
}

/* ========================================================
   CONTENIDO Y PANELES (TABS)
   ======================================================== */
.app-main {
  flex: 1;
  padding: 16px 20px calc(var(--nav-height) + 30px);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   HERO PROJECT CARD (PROYECTO ACTIVO)
   ======================================================== */
.hero-project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.proj-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.proj-quota-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint-emerald);
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.proj-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-subtle-sm {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-subtle-sm:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.btn-subtle-sm.danger:hover {
  background: var(--tint-rose-bg);
  color: var(--tint-rose-text);
  border-color: var(--tint-rose-border);
}

.proj-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.proj-hero-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
}

.meta-label {
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  min-width: 110px;
}

.meta-value {
  color: var(--text-primary);
  line-height: 1.35;
}

.proj-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar-bg {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.progress-pct-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}

.btn-conclude-proj {
  background: var(--tint-emerald-bg);
  border: 1px solid var(--tint-emerald-border);
  color: var(--tint-emerald-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-conclude-proj:hover {
  background: #dcfce7;
}

/* ========================================================
   TARJETA FOCO "AHORA"
   ======================================================== */
.card-focus-now {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.08);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.card-focus-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.focus-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.focus-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.focus-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.focus-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.timer-badge {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-blue-border);
}

.timer-badge.running {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
  animation: pulseTimer 1s infinite alternate;
}

@keyframes pulseTimer {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.now-input-wrap {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.now-step-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.now-step-criteria {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.timer-button-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-action {
  flex: 1;
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.btn-primary-action.running {
  background: #475569;
}

.btn-primary-action svg {
  width: 15px;
  height: 15px;
}

.btn-secondary-action {
  background: var(--tint-emerald-bg);
  border: 1px solid var(--tint-emerald-border);
  color: var(--tint-emerald-text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary-action svg {
  width: 15px;
  height: 15px;
}

.btn-secondary-action:hover {
  background: #dcfce7;
}

/* ========================================================
   ÁRBOL DE PASOS VISUAL
   ======================================================== */
.tree-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tree-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.tree-section-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.steps-tree-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.tree-phase-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tree-phase-badge {
  align-self: flex-start;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-top: 4px;
}

.tree-step-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.tree-step-node.active-now {
  border-color: #3b82f6;
  background: #fcfdff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.tree-step-node.completed {
  background: #fcfdfa;
  border-color: var(--tint-emerald-border);
  opacity: 0.9;
}

.node-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.node-title-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.node-status-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.tree-step-node.active-now .node-status-icon {
  color: var(--brand-blue);
}

.tree-step-node.completed .node-status-icon {
  color: var(--tint-emerald);
}

.node-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.tree-step-node.completed .node-title {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.node-status-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.node-status-tag.now {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.node-status-tag.pending {
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
}

.node-status-tag.done {
  background: var(--tint-emerald-bg);
  color: var(--tint-emerald-text);
  border: 1px solid var(--tint-emerald-border);
}

.node-criteria {
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  line-height: 1.35;
}

.node-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

.node-time-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.node-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========================================================
   TAB 2: PROYECTOS EN ESPERA (BACKLOG PROTEGIDO)
   ======================================================== */
.quota-status-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.quota-status-banner.has-free-slot {
  border-color: var(--tint-emerald-border);
  background: var(--tint-emerald-bg);
}

.quota-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.quota-status-banner.has-free-slot strong {
  color: var(--tint-emerald-text);
}

.quota-info span {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.wait-project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.wait-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.wait-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.wait-card-rating {
  font-size: 11px;
  color: var(--tint-amber-text);
  font-weight: 700;
}

.wait-card-obj {
  font-size: 12px;
  color: var(--text-secondary);
}

.wait-card-notes {
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
}

.wait-lock-notice {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wait-lock-notice svg {
  width: 13px;
  height: 13px;
}

.wait-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* ========================================================
   TAB 3: CONTENCIÓN Y BENTO
   ======================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.bento-card-blue { border-top: 3px solid var(--brand-blue); }
.bento-card-amber { border-top: 3px solid var(--tint-amber); }

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bento-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-card-blue .bento-icon { background: var(--brand-blue-light); color: var(--brand-blue); }
.bento-card-amber .bento-icon { background: var(--tint-amber-bg); color: var(--tint-amber-text); }

.bento-icon svg { width: 16px; height: 16px; }

.bento-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.bento-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bento-sub {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.decision-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.decision-indicator {
  width: 4px;
  height: 36px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.decision-indicator.reversible { background: var(--tint-emerald); }
.decision-indicator.costosa { background: var(--tint-amber); }
.decision-indicator.irreversible { background: var(--tint-rose); }

.decision-info { flex: 1; }
.decision-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.decision-lock-tag {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.decision-lock-tag svg { width: 12px; height: 12px; }

/* ========================================================
   TAB 4: MURO DE EVIDENCIA CON TRAZABILIDAD
   ======================================================== */
.stats-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.timeline-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--tint-emerald-bg);
  color: var(--tint-emerald-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-icon svg { width: 15px; height: 15px; }

.timeline-project-badge {
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.timeline-fact {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.timeline-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ========================================================
   BOTTOM NAVIGATION
   ======================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  padding: 0 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.nav-label {
  font-size: 11px;
  font-weight: 600;
}

.nav-item.active {
  color: var(--brand-blue);
}

.nav-item.active .nav-svg {
  stroke-width: 2.5;
}

/* ========================================================
   MODALES
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-sheet);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: sheetSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-sheet-compact {
  max-width: 400px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.modal-sheet-large {
  max-height: 88vh;
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-header-icon.blue { background: var(--brand-blue-light); color: var(--brand-blue); }
.modal-header-icon.emerald { background: var(--tint-emerald-bg); color: var(--tint-emerald-text); }
.modal-header-icon.amber { background: var(--tint-amber-bg); color: var(--tint-amber-text); }
.modal-header-icon.indigo { background: var(--tint-indigo-bg); color: var(--tint-indigo); }
.modal-header-icon.rose { background: var(--tint-rose-bg); color: var(--tint-rose-text); }

.modal-header-icon svg { width: 18px; height: 18px; }

.modal-title { font-size: 15.5px; font-weight: 800; color: var(--text-primary); }
.modal-subtitle { font-size: 11px; color: var(--text-muted); display: block; }

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
}

.modal-close svg { width: 18px; height: 18px; }

.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ========================================================
   CAMPOS DE FORMULARIO
   ======================================================== */
.field-group {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.field-input, .field-textarea, .field-select {
  width: 100%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.field-input:focus, .field-textarea:focus, .field-select:focus {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rating-dots {
  display: flex;
  gap: 8px;
}

.dot-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot-btn.active {
  background: var(--tint-amber-bg);
  border-color: var(--tint-amber-border);
  color: var(--tint-amber-text);
}

/* ========================================================
   BOTONES
   ======================================================== */
.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
}

.btn-create {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.btn-create svg { width: 13px; height: 13px; }

.btn-card-action {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.btn-card-action.primary {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  font-weight: 700;
}

.btn-icon-danger {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-danger svg { width: 14px; height: 14px; }

.btn-icon-danger:hover {
  background: var(--tint-rose-bg);
  border-color: var(--tint-rose-border);
  color: var(--tint-rose-text);
}

.btn-danger-soft {
  width: 100%;
  background: var(--tint-rose-bg);
  border: 1px solid var(--tint-rose-border);
  color: var(--tint-rose-text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-danger-soft svg { width: 16px; height: 16px; }

.btn-danger-solid {
  background: #e11d48;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-subtle {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-subtle svg { width: 14px; height: 14px; }

/* ========================================================
   ESTADOS VACÍOS
   ======================================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  margin: 10px 0;
}

.empty-state-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.empty-state-icon svg { width: 22px; height: 22px; }

.empty-state-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.empty-state-desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.empty-state-btn {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.empty-state-btn svg { width: 14px; height: 14px; }

/* ========================================================
   DIAGRAMA MAPA DE FLUJO
   ======================================================== */
.workflow-diagram {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.wf-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wf-step-badge {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
  margin-top: 6px;
}

.wf-step-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}

.wf-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.wf-step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.wf-connector {
  display: flex;
  justify-content: center;
  padding: 2px 0 2px 35px;
  color: var(--border-medium);
}

.wf-connector svg { width: 16px; height: 16px; }

.wf-valves-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.wf-valves-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.wf-valves-header svg { width: 16px; height: 16px; color: var(--brand-blue); }

/* Stack Buttons en Respaldo */
.stack-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.backup-data-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.toggle-segmented {
  display: flex;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.filter-warning-box {
  background: var(--tint-rose-bg);
  border: 1px solid var(--tint-rose-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.warning-icon svg { width: 18px; height: 18px; color: var(--tint-rose-text); }
.filter-warning-box strong { font-size: 12px; color: var(--tint-rose-text); }
.filter-warning-box p { font-size: 11px; color: var(--text-secondary); line-height: 1.3; }

.prescription-box {
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
}

.prescription-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.prescription-badge svg { width: 14px; height: 14px; }
.prescription-text { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.prescription-note { font-size: 11.5px; color: var(--text-secondary); margin-bottom: 12px; }

.choice-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.choice-card:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.choice-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.choice-icon svg { width: 16px; height: 16px; }
.choice-content strong { display: block; font-size: 13px; color: var(--text-primary); }
.choice-content span { font-size: 11.5px; color: var(--text-secondary); line-height: 1.3; }

.insight-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
}

.insight-text { font-size: 12.5px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 12px; }

/* ========================================================
   MODO OSCURO (DARK MODE - CLARITY ONYX & COBALT)
   ======================================================== */
[data-theme="dark"] {
  --bg-app: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-subtle: #1e293b;
  --bg-card-elevated: #1e293b;

  --border-subtle: rgba(51, 65, 85, 0.7);
  --border-medium: #334155;
  --border-focus: #60a5fa;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0b0f19;

  --brand-blue: #3b82f6;
  --brand-blue-hover: #60a5fa;
  --brand-blue-light: rgba(59, 130, 246, 0.15);
  --brand-blue-border: rgba(59, 130, 246, 0.35);

  --tint-emerald-bg: rgba(16, 185, 129, 0.12);
  --tint-emerald-border: rgba(16, 185, 129, 0.3);
  --tint-emerald-text: #34d399;

  --tint-amber-bg: rgba(245, 158, 11, 0.12);
  --tint-amber-border: rgba(245, 158, 11, 0.3);
  --tint-amber-text: #fbbf24;

  --tint-rose-bg: rgba(244, 63, 94, 0.12);
  --tint-rose-border: rgba(244, 63, 94, 0.3);
  --tint-rose-text: #fb7185;

  --tint-indigo-bg: rgba(99, 102, 241, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
  --shadow-sheet: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .app-header {
  background: rgba(11, 15, 25, 0.94);
  border-bottom-color: var(--border-subtle);
}

[data-theme="dark"] .bottom-nav {
  background: rgba(17, 24, 39, 0.95);
  border-top-color: var(--border-subtle);
}

[data-theme="dark"] .modal-sheet {
  background: #111827;
  color: #f8fafc;
}

[data-theme="dark"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .demo-banner {
  background: #1e1b10;
  border-bottom-color: #854d0e;
}

[data-theme="dark"] .card-focus-now {
  background: #111827;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .tree-step-node.active-now {
  background: #162032;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .tree-step-node.completed {
  background: #0d1e18;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .tree-phase-badge {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .node-status-tag.pending {
  background: #1e293b;
  color: #94a3b8;
}

[data-theme="dark"] .field-input,
[data-theme="dark"] .field-textarea,
[data-theme="dark"] .field-select {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .field-input:focus,
[data-theme="dark"] .field-textarea:focus,
[data-theme="dark"] .field-select:focus {
  background: #0f172a;
  border-color: #3b82f6;
}

[data-theme="dark"] .btn-subtle-sm:hover {
  background: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .btn-card-action:hover {
  background: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .wf-valves-box {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .toggle-segmented {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .seg-btn.active {
  background: #1e293b;
  color: #60a5fa;
}

/* ========================================================
   ESTILOS DE SINCRONIZACIÓN GOOGLE SHEETS
   ======================================================== */
.sync-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.sync-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.sync-dot.connected {
  background: var(--tint-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sync-status-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.sync-last-time {
  font-size: 11px;
  color: var(--text-muted);
}

.sync-actions-row {
  display: flex;
  gap: 10px;
}

.code-box-wrap {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 8px;
}

.code-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.btn-copy-code {
  background: #334155;
  color: #ffffff;
  border: none;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-copy-code:hover {
  background: var(--brand-blue);
}

.btn-copy-code svg {
  width: 12px;
  height: 12px;
}

.code-pre-area {
  width: 100%;
  background: #0f172a;
  color: #38bdf8;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  padding: 10px 12px;
  resize: vertical;
  outline: none;
}

.setup-steps-list {
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.setup-steps-list li {
  margin-bottom: 6px;
}

.setup-steps-list a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.guide-details {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 14px;
}

.guide-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue);
  cursor: pointer;
}

.guide-summary svg {
  width: 16px;
  height: 16px;
}

.guide-steps-content {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}

