/* Alexander Yurevich Baat — página «último lote TIE/NIE» (es · ca · en · pl · ru · ua).
   Se carga DESPUÉS de assets/style.css y solo añade lo propio de esta página:
   el aviso de frescura, el filtro, la tabla de provincias y la calculadora.
   Reutiliza las variables y los componentes de style.css (.wrap, .btn, .booking,
   .section-note): aquí no se definen colores, fuentes ni componentes nuevos. */

/* ---------- Aviso de frescura y honestidad ---------- */
.freshness {
  max-width: 46em; margin: 1.4em 0 0; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.freshness p { margin: 0 0 .45em; }
.freshness p:last-child { margin-bottom: 0; }
.freshness .fresh-title { font-weight: 700; color: var(--ink); }
.freshness .fresh-note,
.freshness .fresh-stale,
.freshness .disclaimer { font-size: .86rem; color: var(--muted); }
.freshness .fresh-stale { color: var(--accent-dark); }
.freshness .fresh-stale[hidden] { display: none; }

/* ---------- Filtro y tabla de provincias ---------- */
.lt-tools { max-width: 46em; margin: 0 0 1em; }
.lt-label { display: block; margin-bottom: .35em; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lt-search {
  display: block; width: 100%; padding: 11px 13px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; font: inherit;
}
.lt-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.lt-count { margin: .5em 0 0; font-size: .86rem; color: var(--muted); }
/* La tabla nunca rompe el ancho de la página: si no cabe, se desplaza en horizontal. */
.lt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lt-table { width: 100%; min-width: 40em; border-collapse: collapse; font-size: .95rem; }
.lt-table th, .lt-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lt-table th { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lt-table tbody tr:hover { background: var(--accent-soft); }
.lt-province { font-weight: 600; color: var(--ink); }
.lt-lot { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.lt-date, .lt-source { font-size: .88rem; color: var(--body); }
.lt-empty { margin: .6em 0 0; color: var(--muted); }
.lt-empty[hidden] { display: none; }

/* ---------- Calculadora ---------- */
.lt-calc {
  max-width: 46em; margin: 1.6em 0 0; padding: 20px;
  background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.lt-field { margin: 0 0 .8em; }
.lt-field select, .lt-field input {
  display: block; width: 100%; padding: 11px 12px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; font: inherit;
}
.lt-field select:focus-visible, .lt-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Veredicto de la calculadora: solo orientación, así que en tonos suaves. */
.lt-result { margin: 1em 0 0; padding: 13px 15px; border-radius: 12px; font-weight: 600; }
.lt-result[hidden] { display: none; }
.lt-result[data-state="ready"] { background: #e9f3ec; color: #2c6340; }
.lt-result[data-state="wait"] { background: #fbf0e4; color: #8a5310; }
.lt-result[data-state="error"] { background: var(--white); color: var(--body); font-weight: 400; }
.lt-fineprint { margin: .9em 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Pasos y enlaces de fuente ---------- */
.lt-steps { max-width: 46em; margin: 0; padding-left: 1.2em; }
.lt-steps li { margin-bottom: .5em; }
