:root {
  --bg: #f5f6f8;
  --fg: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #1d4ed8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radio: 14px;
  --positivo: #047857;
  --negativo: #dc2626;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --fg: #f3f4f6;
    --muted: #9ca3af;
    --card: #141a26;
    --border: #222b3a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--fg); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.2; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.positivo { color: var(--positivo); }
.negativo { color: var(--negativo); }
.enlace { color: var(--accent); background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.vacio { padding: 24px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--border); border-radius: var(--radio); }

/* ---------- Login ---------- */
.pantalla {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%), var(--bg);
}
.tarjeta { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 36px 28px; text-align: center; }
.logo { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 18px; }
.tagline { color: var(--muted); font-size: 0.95rem; line-height: 1.4; margin: 0; }
#boton-google { display: flex; justify-content: center; min-height: 44px; margin-top: 28px; }
.boton-google-sim {
  width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--card); color: var(--fg); border: 1px solid var(--border); border-radius: 999px;
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10); transition: background 0.15s, transform 0.05s;
}
.boton-google-sim:hover { background: color-mix(in srgb, var(--border) 35%, var(--card)); }
.boton-google-sim:active { transform: translateY(1px); }
.boton-google-sim .g {
  font-size: 1.35rem; font-weight: 800; line-height: 1;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#cargando { margin-top: 28px; font-weight: 500; }
#cargando::after { content: ''; animation: puntos 1.2s steps(4, end) infinite; }
@keyframes puntos {
  0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '…'; }
}
#boton-demo { width: 100%; margin-top: 12px; }
.error { color: var(--negativo); margin: 14px 0 0; font-size: 0.9rem; min-height: 1em; }
.pie { margin-top: 20px; font-size: 0.75rem; color: var(--muted); text-align: center; }
.desarrollado {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 6px 0 0; font-size: 0.72rem; color: var(--muted);
}
.desarrollado .js-desarrollador { font-weight: 600; }
.icono-ulda { width: 16px; height: 16px; flex: 0 0 auto; object-fit: contain; }
.desarrollado-cab .icono-ulda { width: 14px; height: 14px; }
.icono-ulda-inline { width: 14px; height: 14px; margin: 0 1px; vertical-align: middle; }
.boton-contacto {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  color: var(--accent); text-decoration: none;
  font-size: 0.75rem; font-weight: 650;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 12%, transparent);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.boton-contacto::before { content: '✉'; font-size: 0.9rem; line-height: 1; }
.boton-contacto:hover {
  background: color-mix(in srgb, var(--accent) 16%, var(--card));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 18%, transparent);
}
.boton-contacto:active { transform: translateY(0); }
.boton-contacto.compacto { padding: 4px 10px; font-size: 0.68rem; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--card); border: 1px solid var(--border); font-size: 0.7rem; white-space: nowrap; }

/* ---------- Cabecera y navegación ---------- */
.cabecera {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: var(--card); border-bottom: 1px solid var(--border);
}
.cabecera .logo { width: 48px; height: 48px; margin: 0; }
.titulo-grupo { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.cabecera .titulo { font-weight: 650; line-height: 1.1; }
.desarrollado-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.titulo-desarrollador { font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.perfil-cab { display: flex; align-items: center; gap: 8px; }
.perfil-texto { display: flex; flex-direction: column; line-height: 1.15; }
.perfil-texto strong { font-size: 0.8rem; }

.nav {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto;
  background: var(--card); border-bottom: 1px solid var(--border);
  padding: 6px 12px calc(6px + env(safe-area-inset-top, 0px));
}
.nav-item {
  display: flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none;
  color: var(--muted); padding: 9px 12px; border-radius: 10px; font-size: 0.9rem;
}
.nav-item.activo { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 600; }
.nav-icon { font-size: 1.1rem; line-height: 1; }
.nav-mas, .menu-movil { display: none; }

main { max-width: 1180px; margin: 0 auto; padding: 22px 16px calc(90px + env(safe-area-inset-bottom)); }
.cab-vista { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cab-vista .muted { margin: 0; }
.barra-acc { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cab-seccion { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 12px; }

/* ---------- Botones y formularios ---------- */
button { padding: 10px 16px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 0.95rem; cursor: pointer; }
button.secundario { background: transparent; color: var(--fg); border: 1px solid var(--border); }
button.peligro { background: transparent; color: var(--negativo); border: 1px solid color-mix(in srgb, var(--negativo) 40%, transparent); }
button.pequeño { padding: 6px 10px; font-size: 0.82rem; border-radius: 8px; }
/* Botón de retorno / "Ver todos": con forma de acción, no un enlace de texto. */
.boton-volver {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.boton-volver span { font-size: 1.15rem; line-height: 1; }
button.icono { padding: 2px 7px; background: transparent; color: var(--muted); border: 1px solid var(--border); font-size: 1rem; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.campo { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.campo span { font-size: 0.78rem; color: var(--muted); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--card); color: var(--fg); font: inherit; font-size: 0.92rem;
}
.campo textarea { resize: vertical; }
.campo.ancho { grid-column: 1 / -1; }
.form-editor, .modal form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

/* ---------- Modal ---------- */
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(0, 0, 0, 0.45); }
.modal h3 { margin-bottom: 16px; }
.modal-acc { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.aviso { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 100; padding: 10px 16px; border-radius: 10px; background: #065f46; color: #fff; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }
.aviso.error { background: #991b1b; }

/* ---------- Tarjetas / listas ---------- */
.lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 16px; box-shadow: var(--shadow); }
.item-cab { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.item-det { font-size: 0.9rem; margin: 4px 0; overflow-wrap: anywhere; }
.item-acc { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.badge.estado.borrador { color: #92400e; border-color: #f59e0b; }
.badge.estado.enviado { color: #1d4ed8; border-color: #3b82f6; }
.badge.estado.aprobado { color: #047857; border-color: #10b981; }
.badge.estado.rechazado { color: #b91c1c; border-color: #ef4444; }

/* ---------- Catálogo de categorías ---------- */
.cat-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); }
.cat-bar strong { margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--accent) 8%, var(--card)); color: var(--fg); font-size: 0.8rem; }
.chip.inactiva { opacity: 0.5; text-decoration: line-through; }
.chip button.icono { padding: 0 3px; border: 0; background: transparent; }
.sugerencias-categoria { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 1em; }
.sugerencias-categoria button.chip { cursor: pointer; color: var(--accent); }

/* Selector compacto y hoja de categorías. */
.selector-categoria {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 12px; min-height: 44px;
  background: var(--card); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radio);
  font: inherit; text-align: left; cursor: pointer;
}
.selector-categoria span:last-child { color: var(--accent); font-size: 1.1rem; }
.cat-sheet { width: min(520px, calc(100% - 24px)); max-height: 82vh; overflow: auto; }
.cat-lista { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.cat-opcion, .cat-gestion {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 12px 14px; min-height: 46px;
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
  color: var(--fg); border: 1px solid var(--border); border-radius: 10px;
  font: inherit; text-align: left; cursor: pointer;
}
.cat-opcion.activa { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
.cat-gestion button.icono { padding: 2px 8px; }
.cat-vacio { padding: 12px; text-align: center; }
@media (max-width: 640px) {
  .cat-sheet { margin: auto auto 0; width: 100%; max-width: none; max-height: 86vh; border-radius: 18px 18px 0 0; }
  .cat-sheet::backdrop { background: rgba(0, 0, 0, 0.45); }
}

/* ---------- Ajustes y reglas de margen ---------- */
.ajustes-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ajuste-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 18px; box-shadow: var(--shadow); }
.ajuste-card h3 { margin-top: 4px; }
.ajuste-card .form-editor { margin-bottom: 14px; }
.preview-margen { display: flex; flex-direction: column; gap: 4px; padding: 14px; margin: 10px 0 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); }
.margen-grande { font-size: 2rem; color: var(--accent); }
.lista-reglas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.regla { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.regla-cab { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.regla-det { margin: 6px 0; font-size: 0.9rem; }
.regla .item-acc { margin-top: 8px; }

/* ---------- KPI (gráficos sin librerías) ---------- */
/* Sticky solo dentro de KPI: quedan visibles al bajar, sin mezclarse con el menú principal. */
.kpi-tabs {
  position: sticky; top: 0; z-index: 15;
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: -8px 0 16px; padding: 10px 0;
  background: linear-gradient(var(--bg) 78%, color-mix(in srgb, var(--bg) 0%, transparent));
}
.kpi-tab {
  padding: 10px 15px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer;
}
.kpi-tab.activo {
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
  color: var(--accent); border-color: var(--accent); font-weight: 600;
}
.kpi-stacked { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--border); }
.kpi-stacked .coste { background: var(--muted); }
.kpi-stacked .beneficio { background: var(--accent); }
.kpi-leyenda { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.kpi-chip { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 18px; box-shadow: var(--shadow); }
.kpi-chip h3 { margin-top: 2px; }
.kpi-total { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.kpi-centro { display: flex; justify-content: center; margin: 14px 0; }
.kpi-donut {
  position: relative; width: 132px; height: 132px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), color-mix(in srgb, var(--border) 60%, var(--card)) 0);
  display: grid; place-items: center;
}
.kpi-donut::before { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: var(--card); }
.kpi-donut > div { position: relative; text-align: center; display: flex; flex-direction: column; line-height: 1.2; }
.kpi-donut strong { font-size: 1.15rem; color: var(--accent); }
.kpi-donut span { font-size: 0.75rem; color: var(--muted); }
.kpi-barras { display: flex; align-items: flex-end; gap: 8px; height: 156px; margin-top: 14px; }
.kpi-barra { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; height: 100%; }
.kpi-barra-num { height: 26px; font-size: 0.65rem; color: var(--muted); white-space: nowrap; }
.kpi-barra-caja { flex: 1; width: 100%; display: flex; align-items: flex-end; background: color-mix(in srgb, var(--border) 35%, transparent); border-radius: 6px 6px 0 0; }
.kpi-barra-relleno { width: 100%; background: var(--accent); border-radius: 6px 6px 0 0; }
.kpi-barra > span { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.kpi-hbarras { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.kpi-hbarra { display: grid; grid-template-columns: minmax(70px, 100px) 1fr auto; align-items: center; gap: 8px; font-size: 0.82rem; }
.kpi-hbarra > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-hbarra-caja { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--border) 40%, transparent); overflow: hidden; }
.kpi-hbarra-caja > div { height: 100%; border-radius: 999px; background: var(--accent); }
.kpi-hbarra strong { font-size: 0.78rem; }

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

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px; }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.kpi span { font-size: 0.78rem; color: var(--muted); }
.kpi strong { font-size: 1.25rem; }
.banner-demo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radio); background: color-mix(in srgb, #f59e0b 15%, var(--card)); border: 1px solid #f59e0b; font-size: 0.9rem; }
.pie-nota { margin-top: 28px; }

/* ---------- Editor de presupuesto ---------- */
.editor-cab { margin-bottom: 16px; }
.editor-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.bloques { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bloque { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 16px; }
.bloque-cab { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bloque-cab p { margin: 0; }
.bloque-pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 0.85rem; }
.resumen { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 16px; position: sticky; top: 62px; }
.resumen h3 { margin-bottom: 12px; }
.fila { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 0.9rem; }
.fila.total { border-top: 2px solid var(--border); margin-top: 6px; padding-top: 10px; font-size: 1.05rem; }
.fila.total strong { color: var(--accent); }
.aviso-rebaja { color: #b45309; }
.resumen hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; }
.notas-internas { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.resumen-cliente .fila.total strong { font-size: 1.3rem; }

.tabla-wrap { overflow-x: auto; }
table.lineas { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.lineas th, .lineas td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.lineas th:last-child, .lineas td:last-child { text-align: right; }
.lineas tbody tr:last-child td { border-bottom: 0; }

/* ---------- Vista cliente / impresión ---------- */
.print-cab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 14px; margin-bottom: 14px; }
.print-logo { width: 56px; height: 56px; object-fit: contain; }
.print-cliente { margin-left: auto; text-align: right; }
.print-titulo { margin: 0 0 16px; }
.modo-cliente .solo-interno { display: none !important; }
.modo-cliente .resumen { position: static; }

@media (max-width: 860px) {
  .editor-cuerpo { grid-template-columns: 1fr; }
  .resumen { position: static; order: -1; }
  .perfil-texto { display: none; }
  .cabecera .logo { width: 40px; height: 40px; }
  .desarrollado-cab { display: none; }

  /* Móvil: barra inferior fija con 4 secciones + "Más" (vertical). */
  .nav {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; z-index: 30;
    display: flex; justify-content: space-around; gap: 2px; overflow: visible;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }
  .nav > .nav-item { display: none; }
  .nav > .nav-item[data-nav="inicio"],
  .nav > .nav-item[data-nav="clientes"],
  .nav > .nav-item[data-nav="presupuestos"],
  .nav > .nav-item[data-nav="kpi"] {
    display: flex; flex: 1; flex-direction: column; gap: 2px;
    justify-content: center; padding: 6px 4px; font-size: 0.72rem; text-align: center;
  }
  .nav-mas {
    display: flex; flex: 1; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 4px; min-width: 0; background: transparent; color: var(--muted);
    border: 0; border-radius: 10px; font: inherit; font-size: 0.72rem; cursor: pointer;
  }
  .nav-mas.abierto { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
  .menu-movil {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 31;
    display: none; flex-direction: column; gap: 2px; padding: 8px;
    background: var(--card); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .menu-movil:not([hidden]) { display: flex; }
  .menu-movil .nav-item { display: flex; justify-content: flex-start; padding: 12px 14px; font-size: 0.95rem; }
  main { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media print {
  body { background: #fff; color: #000; }
  .cabecera, #nav-host, .barra-acc, .bloque-pie, .aviso, .modal, .banner-demo, .cab-vista button { display: none !important; }
  .resumen { display: none !important; }
  .modo-cliente .resumen { display: block !important; border: 0; }
  main { max-width: none; padding: 0; }
  #vista-app { display: block !important; }
  .bloque { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .print-cab { box-shadow: none; }
  .lineas th, .lineas td { white-space: normal; }
}
