/**
 * Estilos canónicos del Simulador de Consumo y Autonomía de Furgonetas Camper en Puertos de Montaña
 * fijate.com/tools/simulador-consumo-camper-puertos-montana/
 */

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

  /* Colores de interfaz (Tema claro por defecto) */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-sunken: #e2e8f0;
  
  --text-primary: #0f172a;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border-color: #cbd5e1;
  --border-focus: #3b82f6;

  --accent-primary: #0284c7;
  --accent-hover: #0369a1;
  --accent-surface: #e0f2fe;

  --status-safe-bg: #ecfdf5;
  --status-safe-border: #a7f3d0;
  --status-safe-text: #065f46;
  --status-safe-accent: #10b981;

  --status-warn-bg: #fffbeb;
  --status-warn-border: #fde68a;
  --status-warn-text: #92400e;
  --status-warn-accent: #f59e0b;

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

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
  --bg-primary: #0b0f17;
  --bg-surface: #131b26;
  --bg-surface-elevated: #1a2433;
  --bg-surface-sunken: #0e1520;

  --text-primary: #e2e8f0;
  --text-heading: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0b0f17;

  --border-color: #27354a;
  --border-focus: #38bdf8;

  --accent-primary: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-surface: #0c2638;

  --status-safe-bg: #06281e;
  --status-safe-border: #0d5f43;
  --status-safe-text: #6ee7b7;
  --status-safe-accent: #10b981;

  --status-warn-bg: #2d1e04;
  --status-warn-border: #78490a;
  --status-warn-text: #fcd34d;
  --status-warn-accent: #f59e0b;

  --status-danger-bg: #300d0d;
  --status-danger-border: #7f1d1d;
  --status-danger-text: #fca5a5;
  --status-danger-accent: #ef4444;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

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

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

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

.tool-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1536px) {
  .tool-with-sidebar {
    grid-template-columns: 1fr 300px;
  }
}

.tool-main-content {
  min-width: 0;
}

.tool-ad-sidebar {
  display: none;
}

@media (min-width: 1536px) {
  .tool-ad-sidebar {
    display: block;
    position: sticky;
    top: 5rem;
    height: fit-content;
  }
}

/* Cabecera de la herramienta */
.tool-hero {
  margin-bottom: 2rem;
}

.tool-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--accent-surface);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.tool-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.tool-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 850px;
}

/* Cockpit y KPIs superiores */
.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

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

.kpi-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

.kpi-body {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

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

.kpi-unit {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.kpi-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-danger {
  color: var(--status-danger-accent);
  font-weight: 700;
}

.badge-success {
  color: var(--status-safe-accent);
  font-weight: 600;
}

/* Área central de dos columnas: Formulario vs Diagnosis Térmica */
.simulator-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .simulator-workspace {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Paneles contenedores */
.panel-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Formularios y controles responsivos */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0.5rem 0 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 540px) {
  .form-row.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-row.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.input-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Campos de entrada táctiles >= 40px */
input[type="number"],
input[type="text"],
select {
  height: 42px;
  min-height: 42px;
  padding: 0 0.85rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-surface-sunken);
  color: var(--text-primary);
  width: 100%;
  max-width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Regla canónica estricta para desplegables */
select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Wrappers Flexbox con sufijo */
.input-flex-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-surface-sunken);
  overflow: hidden;
}

.input-flex-wrap input {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.input-flex-wrap input:focus {
  box-shadow: none;
}

.input-suffix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background-color: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  border-left: 1px solid var(--border-color);
  white-space: nowrap;
}

/* Sliders interactivos */
.range-sync-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.range-inputs-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.range-inputs-row input[type="range"] {
  flex: 1 1 0%;
  height: 6px;
  border-radius: 4px;
  background: var(--bg-surface-sunken);
  cursor: pointer;
  accent-color: var(--accent-primary);
}

.range-inputs-row .input-flex-wrap {
  width: 105px;
  flex: 0 0 105px;
}

/* Checkbox estilizados */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.custom-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-surface-sunken);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.custom-checkbox-card:hover {
  border-color: var(--border-focus);
}

.custom-checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
  cursor: pointer;
  margin: 0;
}

.checkbox-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Botones de acción */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 1.25rem;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-sunken);
  border-color: var(--text-muted);
}

/* SECCIÓN DERECHA: Cockpit Térmico y Manómetro */
.thermal-cockpit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.gauge-container {
  width: 260px;
  height: 170px;
  position: relative;
  display: flex;
  justify-content: center;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gauge-needle {
  transform-origin: 130px 140px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Lecturas digitales de temperatura */
.digital-readings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.temp-box {
  background-color: var(--bg-surface-sunken);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}

.temp-box-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

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

/* Semáforo de Desborde Térmico */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.status-badge.thermal-safe {
  background-color: var(--status-safe-bg);
  border: 1px solid var(--status-safe-border);
  color: var(--status-safe-text);
}

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

.status-badge.thermal-danger {
  background-color: var(--status-danger-bg);
  border: 1px solid var(--status-danger-border);
  color: var(--status-danger-text);
  animation: pulse-danger 1.5s infinite ease-in-out;
}

@keyframes pulse-danger {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

/* Caja de recomendaciones técnicas */
.thermal-box {
  width: 100%;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.thermal-box.thermal-safe {
  background-color: var(--status-safe-bg);
  border-color: var(--status-safe-border);
}

.thermal-box.thermal-warning {
  background-color: var(--status-warn-bg);
  border-color: var(--status-warn-border);
}

.thermal-box.thermal-danger {
  background-color: var(--status-danger-bg);
  border-color: var(--status-danger-border);
}

.thermal-box-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.thermal-safe .thermal-box-title { color: var(--status-safe-text); }
.thermal-warning .thermal-box-title { color: var(--status-warn-text); }
.thermal-danger .thermal-box-title { color: var(--status-danger-text); }

.thermal-recommendations-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.thermal-safe .thermal-recommendations-list { color: var(--status-safe-text); }
.thermal-warning .thermal-recommendations-list { color: var(--status-warn-text); }
.thermal-danger .thermal-recommendations-list { color: var(--status-danger-text); }

/* Perfil altimétrico SVG */
.alt-profile-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.alt-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.alt-profile-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

.alt-svg-container {
  width: 100%;
  overflow-x: auto;
}

.alt-svg-container svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.alt-profile-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  font-style: italic;
}

/* Descenso y ahorro de carga */
.descent-savings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .descent-savings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.descent-badge-electric,
.descent-badge-diesel {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.descent-badge-electric {
  background-color: var(--accent-surface);
  color: var(--accent-primary);
}

.descent-badge-diesel {
  background-color: var(--status-safe-bg);
  color: var(--status-safe-text);
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.savings-card {
  background-color: var(--bg-surface-sunken);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.savings-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.savings-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
}

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

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

.accessible-modal.is-active {
  display: flex;
}

.modal-content-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: relative;
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background-color: var(--bg-surface-sunken);
  color: var(--text-primary);
}

.modal-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text-heading);
}

.modal-body ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

/* Guía SEO y acordeones */
.seo-section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.seo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 1rem;
}

.seo-lead {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-surface-elevated);
  overflow: hidden;
}

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

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

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
  margin-top: 0.25rem;
  padding-top: 0.85rem;
}

/* Estilos de impresión A4 */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .app-header,
  .tools-ad-banner-section,
  .tool-ad-sidebar,
  .fijate-footer,
  .aff-showcase-section,
  .btn-primary,
  .btn-secondary,
  #btn-help-modal {
    display: none !important;
  }

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

  .panel-card,
  .kpi-card,
  .alt-profile-wrapper {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
    page-break-inside: avoid;
  }
}
