/* ==========================================================================
   Fijate Tools - Kit de supervivencia y emergencia para el hogar (72h)
   Diseño canónico corporativo, responsive mobile-first y soporte dark/light
   ========================================================================== */

:root {
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Paleta corporativa modo oscuro (por defecto) */
  --bg-body: #0b0f17;
  --bg-card: #131b26;
  --bg-card-hover: #182230;
  --bg-input: #0e1622;
  --bg-pill: #1f2b3c;
  --bg-pill-active: #2563eb;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #f1f5f9;
  --bg-pill: #e2e8f0;
  --bg-pill-active: #2563eb;
  --border-subtle: #e2e8f0;
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Reset de contención estricta */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.hero-title,
.card-title,
.kpi-title,
.protocol-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.mono,
.kpi-val,
.item-calc-badge,
code {
  font-family: var(--font-mono);
}

/* Estructura canónica del layout */
.main-wrapper.tool-layout {
  max-width: 1200px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* Hero y presentación */
.hero-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 800px;
}

/* Tarjeta principal del configurador */
.card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

/* Sección de configuración del hogar */
.config-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stepper-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stepper-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stepper-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: -0.25rem;
}

.stepper-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-stepper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  user-select: none;
}

.btn-stepper:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  color: var(--accent-blue);
}

.btn-stepper:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper-value {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  min-width: 32px;
  text-align: center;
}

/* Selector de días de autonomía */
.days-selector-wrapper {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.days-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.days-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.days-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.days-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-day-pill {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.btn-day-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.btn-day-pill.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

/* Dashboard de KPIs vitales */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kpi-color, var(--accent-blue));
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.kpi-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--kpi-color, var(--accent-blue));
}

.kpi-val {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.kpi-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.kpi-detail {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* Barra de progreso de preparación */
.resilience-bar-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.resilience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resilience-label {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resilience-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.resilience-badge.medium {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.resilience-badge.high {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
}

.resilience-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

[data-theme="light"] .resilience-track {
  background: #e2e8f0;
}

.resilience-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  width: 0%;
}

.resilience-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* Pestañas de navegación de la herramienta */
.tool-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.tool-tab-btn {
  padding: 0.75rem 1.15rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  touch-action: manipulation;
}

.tool-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.tool-tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
}

/* Barra de herramientas y filtros del checklist */
.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-filter {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-filter:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
}

.btn-filter.active {
  background: var(--bg-pill-active);
  color: #ffffff;
  border-color: var(--bg-pill-active);
}

.toolbar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-action-tool {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.btn-action-tool:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.btn-action-tool.danger:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* Categorías del checklist */
.category-group {
  margin-bottom: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.category-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-left: auto;
}

/* Tarjetas de artículos del kit */
.items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.item-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.item-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
}

[data-theme="light"] .item-card:hover {
  border-color: #cbd5e1;
}

.item-card.completed {
  opacity: 0.65;
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
}

.item-card.completed .item-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.item-checkbox-wrapper {
  margin-top: 0.15rem;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.item-card:hover .custom-checkbox {
  border-color: var(--accent-blue);
}

.item-card.completed .custom-checkbox {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff;
}

.item-body {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.item-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.item-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.badge-tag.critico {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-tag.muy-recomendado {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-tag.complementario {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

.badge-destination {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.item-calc-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

.item-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.item-tip {
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

/* Sección de protocolos ante catástrofes */
.protocols-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.protocol-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.protocol-summary-bar {
  padding: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.protocol-summary-bar:hover {
  background: var(--bg-card-hover);
}

.protocol-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.protocol-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.protocol-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.protocol-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
}

.protocol-arrow {
  transition: transform var(--transition-fast);
  color: var(--text-dim);
}

.protocol-card.open .protocol-arrow {
  transform: rotate(180deg);
}

.protocol-content {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.protocol-card.open .protocol-content {
  display: block;
}

.protocol-desc-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 1rem 0;
}

.protocol-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  padding-left: 1.5rem;
}

.protocol-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-step {
  position: relative;
  font-size: 0.85rem;
  line-height: 1.45;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--bg-card);
}

.step-phase {
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.2rem;
}

.step-text {
  color: var(--text-muted);
}

/* Modales accesibles */
.app-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.app-modal.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.modal-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-modal {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.btn-modal.primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-modal.danger {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
}

/* ==========================================================================
   ESTILOS DE IMPRESIÓN LIMPIA A4 (@media print)
   ========================================================================== */
@media print {
  /* Ocultar elementos no relevantes en papel */
  .app-header,
  .tool-ad-sidebar,
  .tools-ad-banner-section,
  .fijate-footer,
  .tool-tabs,
  .checklist-toolbar,
  .stepper-controls,
  .days-pills,
  .btn-action-tool,
  .app-modal,
  .btn-theme-toggle {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt;
  }

  .main-wrapper.tool-layout {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tool-with-sidebar {
    display: block !important;
  }

  .card-main {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-bottom: 1rem !important;
  }

  .kpi-card {
    border: 1px solid #cccccc !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0.5rem !important;
  }

  .item-card {
    border: 1px solid #e0e0e0 !important;
    background: #ffffff !important;
    page-break-inside: avoid;
    padding: 0.5rem !important;
  }

  .custom-checkbox {
    border: 1.5px solid #000000 !important;
    background: #ffffff !important;
  }

  .item-name {
    color: #000000 !important;
    text-decoration: none !important;
  }

  .print-header-sheet {
    display: block !important;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }
}

.print-header-sheet {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .config-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .days-selector-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .days-pills {
    width: 100%;
  }

  .btn-day-pill {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }

  .item-card {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .checklist-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .btn-action-tool {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .config-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

