/**
 * Estilos para el Simulador de la Ley de Segunda Oportunidad (EPI)
 * fijate.com/tools/simulador-ley-segunda-oportunidad/
 */

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

  /* Paleta Claro */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-card-alt: #f8fafc;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-heading: #0f172a;

  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-bg: #eff6ff;

  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;
  --color-success-text: #065f46;

  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;
  --color-warning-text: #92400e;

  --color-danger: #ef4444;
  --color-danger-bg: #fef2f2;
  --color-danger-border: #fecaca;
  --color-danger-text: #991b1b;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
  --bg-page: #0b0f17;
  --bg-card: #131b26;
  --bg-card-subtle: #1a2434;
  --bg-card-alt: #0e1622;
  --border-color: #223145;
  --border-focus: #60a5fa;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;

  --color-primary: #3b82f6;
  --color-primary-hover: #60a5fa;
  --color-primary-bg: #172554;

  --color-success: #10b981;
  --color-success-bg: #064e3b;
  --color-success-border: #047857;
  --color-success-text: #6ee7b7;

  --color-warning: #f59e0b;
  --color-warning-bg: #78350f;
  --color-warning-border: #b45309;
  --color-warning-text: #fde68a;

  --color-danger: #f87171;
  --color-danger-bg: #7f1d1d;
  --color-danger-border: #b91c1c;
  --color-danger-text: #fecaca;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Reset y Contenedor */
body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  margin-top: 0;
}

.text-mono {
  font-family: var(--font-mono);
}

.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.font-bold { font-weight: 700; }

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

.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 Encabezado */
.tool-hero-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-legal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.tool-hero-title {
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.tool-hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 850px;
}

.law-reference-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

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

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.kpi-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-heading);
}

.kpi-highlight-success .kpi-value {
  color: var(--color-success);
}

.kpi-highlight-primary .kpi-value {
  color: var(--color-primary);
}

/* Navegación por pasos (Wizard Tabs) */
.wizard-nav {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.step-nav-btn {
  flex: 1 1 0%;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.step-nav-btn:hover {
  background: var(--bg-card-subtle);
  color: var(--text-heading);
}

.step-nav-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.78rem;
}

.step-nav-btn.active .step-number {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Paneles del Asistente */
.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

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

.form-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.85rem;
}

.section-card-title {
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}

.section-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-help-inline {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-help-inline:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Preguntas del Test de Buena Fe */
.question-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
}

.question-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.question-text {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.question-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.radio-toggle-group {
  display: inline-flex;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  gap: 0.25rem;
}

.radio-toggle-item {
  position: relative;
  margin: 0;
}

.radio-toggle-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-toggle-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-toggle-item input[type="radio"]:checked + label {
  background: var(--bg-card);
  color: var(--text-heading);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radio-toggle-item.danger-option input[type="radio"]:checked + label {
  background: var(--color-danger);
  color: #ffffff;
}

.radio-toggle-item.success-option input[type="radio"]:checked + label {
  background: var(--color-success);
  color: #ffffff;
}

.conditional-subgroup {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card-subtle);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: none;
}

/* Campos de Formulario */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

.input-with-currency {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-currency input {
  width: 100%;
  height: 42px;
  padding: 0 45px 0 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.input-with-currency input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.input-currency-symbol {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
  pointer-events: none;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Botones de Navegación del Paso */
.step-actions-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

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

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

.btn-secondary {
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-bg);
}

/* Semáforo de Buena Fe */
.semaphore-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.semaphore-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.semaphore-badge {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.semaphore-badge.status-apto {
  background: var(--color-success-bg);
  color: var(--color-success-text);
  border: 1px solid var(--color-success-border);
}

.semaphore-badge.status-riesgo {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border: 1px solid var(--color-warning-border);
}

.semaphore-badge.status-no-apto {
  background: var(--color-danger-bg);
  color: var(--color-danger-text);
  border: 1px solid var(--color-danger-border);
}

.semaphore-title {
  font-size: 1.18rem;
  margin: 0;
}

.semaphore-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.semaphore-issues-list {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Barra de progreso de deudas */
.debt-progress-wrapper {
  margin: 1.25rem 0;
}

.debt-progress-bar-container {
  display: flex;
  height: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
}

.progress-segment-exonerated {
  background: var(--color-success);
  transition: width 0.3s ease;
}

.progress-segment-remaining {
  background: var(--color-danger);
  transition: width 0.3s ease;
}

.debt-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-weight: 600;
}

/* Tablas de Desglose */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th, .legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.legal-table th {
  background: var(--bg-card-subtle);
  color: var(--text-heading);
  font-weight: 600;
}

/* Tarjeta de Viabilidad de Vivienda */
.home-verdict-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border-left: 5px solid;
}

.home-verdict-card.verdict-alta {
  background: var(--color-success-bg);
  border-color: var(--color-success);
  color: var(--color-success-text);
}

.home-verdict-card.verdict-media {
  background: var(--color-warning-bg);
  border-color: var(--color-warning);
  color: var(--color-warning-text);
}

.home-verdict-card.verdict-baja {
  background: var(--color-danger-bg);
  border-color: var(--color-danger);
  color: var(--color-danger-text);
}

.home-verdict-card.verdict-no_aplica {
  background: var(--bg-card-subtle);
  border-color: var(--border-color);
  color: var(--text-main);
}

.home-verdict-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.home-verdict-title {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.home-reasons-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Comparador de Itinerarios */
.itineraries-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.itinerary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.itinerary-card.featured-itinerary {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.itinerary-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.itinerary-title {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.itinerary-kpi-block {
  margin: 1rem 0;
  padding: 0.85rem;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  text-align: center;
}

.itinerary-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.itinerary-kpi-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.itinerary-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
}

.itinerary-details-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.25rem;
  position: relative;
}

.itinerary-details-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* Visor de Dictamen Imprimible */
.dictamen-viewer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.dictamen-actions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dictamen-pre-box {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 480px;
  overflow-y: auto;
  line-height: 1.6;
}

/* Modal Accesible Sin Alert */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.15rem;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-body {
  padding: 1.5rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-main);
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-card-subtle);
}

/* Acordeón de Guía Legal y FAQ SEO */
.seo-guide-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.seo-guide-section h2 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.seo-guide-section h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.seo-guide-section p {
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.faq-accordion details {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-accordion summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.faq-accordion details[open] summary::after {
  content: '−';
}

.faq-accordion .faq-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Modo Impresión */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .app-header,
  .tools-ad-banner-section,
  .tool-ad-sidebar,
  .wizard-nav,
  .step-actions-footer,
  .dictamen-actions-header,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .fijate-footer,
  .seo-guide-section,
  .affiliate-showcase-container {
    display: none !important;
  }

  .tool-layout, .tool-with-sidebar, .tool-main-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .step-pane {
    display: none !important;
  }

  #step-dictamen {
    display: block !important;
  }

  .dictamen-viewer-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .dictamen-pre-box {
    border: 1px solid #000000 !important;
    max-height: none !important;
    overflow: visible !important;
    font-size: 9pt !important;
    color: #000000 !important;
    background: #ffffff !important;
  }
}

/* Responsive móvil */
@media (max-width: 768px) {
  .tool-hero-title {
    font-size: 1.45rem;
  }
  .form-section-card {
    padding: 1.25rem;
  }
  .wizard-nav {
    flex-wrap: nowrap;
    padding: 0.25rem;
  }
  .step-nav-btn {
    min-width: 120px;
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  .kpi-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step-actions-footer {
    flex-direction: column;
  }
  .step-actions-footer button {
    width: 100%;
  }
}
