:root {
  /* Look & feel editorial: naranja de marca, tinta casi negra, Lora + Verdana */
  --brand: #e66012;
  --page: #f6f6f6;
  --surface: #ffffff;
  --strip: #f2f2f2;
  --ink: #161615;
  --ink-2: #5f5f5f;
  --ink-3: #8e8e8e;
  --rule: #dddddd;
  --axis: #c1c1c1;
  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: Verdana, Geneva, Tahoma, sans-serif;
  /* Estados del retraso (siempre con etiqueta, nunca solo color) */
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --nodata: #8e8e8e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 13px/1.5 var(--sans); }
a { color: inherit; }

.page { max-width: 1240px; margin: 0 auto; background: var(--surface); padding: 12px 20px 28px; min-height: 100vh; }

/* Franja superior tipo "TEMES:" */


/* Pestañas de transporte: discretas, para no competir con la cabecera naranja de ValenciaExtra */
.mainnav { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--rule); }
.mainnav a { color: var(--ink-2); text-decoration: none; font: 400 17px/1.2 var(--serif); padding: 10px 2px 9px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.mainnav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.mainnav a.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--brand); }

main { display: flex; flex-direction: column; }
.block { padding: 26px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 10px; }
.block:last-child { border-bottom: 0; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }

.kicker { color: var(--brand); text-transform: uppercase; font: 700 11px/1.3 var(--sans); letter-spacing: 0.03em; margin: 0 0 6px; }
h2 { font: 700 24px/1.2 var(--serif); margin: 0 0 14px; letter-spacing: -0.01em; }
.headline { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.updated { margin: 0 0 18px; color: var(--ink-3); font-size: 12px; }
.muted { color: var(--ink-3); font: 400 14px var(--sans); }
.faq-item h3 { font: 700 19px/1.3 var(--serif); margin: 14px 0 6px; }
.faq-item:first-child h3 { margin-top: 0; }
.faq-item p { margin: 0 0 10px; max-width: 760px; line-height: 1.55; }
.lead { color: var(--ink-2); font: 400 15px/1.5 var(--serif); margin: 0 0 6px; }

/* Líneas de la red: una ficha por línea (recorrido y estado ahora) */
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 28px; }
.line-card { scroll-margin-top: 10px; }
.line-card h3 { font: 700 18px/1.3 var(--serif); margin: 0 0 6px; }
.line-card h3 .line-badge { vertical-align: 2px; margin-right: 4px; }
.line-card p { margin: 0 0 6px; line-height: 1.5; font-size: 15px; }
.line-card .line-now { color: var(--ink-2); font: 400 14px/1.45 var(--sans); }

.grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
.grid > div { min-width: 0; scroll-margin-top: 10px; }
/* Llarga distància: la taula (parades i hores previstes) és el principal; el mapa només té les estacions de la
   Comunitat, estreta i allargada, i cap bé en un terç */
@media (min-width: 901px) {
  body[data-mode="larga_distancia"] .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* KPIs: cifras grandes en serif, separadas por filetes */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--rule); }
.kpi { padding: 14px 18px 4px 0; }
.kpi + .kpi { border-left: 1px solid var(--rule); padding-left: 18px; }
.kpi .label { color: var(--ink-2); font: 700 11px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.02em; }
.kpi .value { font: 700 38px/1.15 var(--serif); font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.kpi .hint { color: var(--ink-3); font-size: 11px; }

/* Contexto de apilamiento propio: las capas de Leaflet (z-index 400-1000) no pasan por encima de la cabecera fija de ValenciaExtra (z-index 20) */
#map { height: 470px; border-radius: 2px; position: relative; z-index: 0; isolation: isolate; }
.legend { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-top: 10px; color: var(--ink-2); font-size: 11px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.muted-tiles { filter: grayscale(1) contrast(.85) brightness(1.08); }

/* Tablas */
.table-wrap { overflow: auto; max-height: 520px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink-3); font: 700 10px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.03em; position: sticky; top: 0; background: var(--surface); box-shadow: inset 0 -1px 0 var(--ink); }
.num { text-align: right; white-space: nowrap; }
td.route { color: var(--ink-2); }
td.route b { color: var(--ink); font: 600 14px/1.3 var(--serif); }
/* Larga distancia: próximas paradas en la Comunitat con la hora prevista */
.planned-stops { list-style: none; margin: 0; padding: 0; }
.planned-stops li { white-space: nowrap; line-height: 1.5; }
.planned-stops s { text-decoration-thickness: 1px; }

.line-badge { display: inline-block; min-width: 32px; text-align: center; padding: 2px 6px; border-radius: 3px; color: #fff; font: 700 11px/1.3 var(--sans); }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.s-good { --c: var(--good); } .s-warning { --c: var(--warning); } .s-serious { --c: var(--serious); }
.s-critical { --c: var(--critical); } .s-nodata { --c: var(--nodata); }
.s-good .dot, .s-warning .dot, .s-serious .dot, .s-critical .dot, .s-nodata .dot { background: var(--c); }

.train-marker {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; width: max-content;
  background: var(--c); color: #fff; border: 2px solid #fff; border-radius: 12px;
  padding: 1px 7px; font: 700 11px/16px var(--sans); box-shadow: 0 1px 3px rgb(0 0 0 / .35);
  transform: translate(-50%, -50%);
}
.train-marker.s-warning { color: var(--ink); }
.leaflet-container { font-family: var(--sans); }

/* Avisos con aspecto de lista de titulares */
.alerts { list-style: none; padding: 0; margin: 0; }
.alerts li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); position: relative; font: 400 15px/1.45 var(--serif); }
.alerts li::before { content: "↳"; position: absolute; left: 0; top: 11px; color: var(--ink-3); font-family: var(--sans); }
.alerts li a { overflow-wrap: anywhere; }
.alerts .meta { color: var(--ink-3); font: 400 11px var(--sans); margin-top: 4px; }
.alerts li.station-alerts { padding-left: 0; border-bottom: 0; }
.alerts li.station-alerts::before { content: none; }
.station-alerts summary { cursor: pointer; color: var(--ink-2); font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .02em; padding-top: 4px; }
.station-alerts ul { margin-top: 6px; }

/* Selector de periodo: píldora negra */
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; cursor: pointer; color: var(--ink); font: 700 12px var(--sans); }
.seg button.on { background: var(--ink); color: #fff; }
.chart-box { position: relative; height: 300px; margin: 8px 0 18px; }

.sources-note { border-top: 1px solid var(--ink); padding-top: 12px; margin: 0; color: var(--ink-3); font-size: 11px; }
.devby { margin-top: 20px; font-family: var(--sans); font-size: 10px; }
.devby a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.devby img { height: 20px; width: auto; display: block; }
.devby span { font-weight: bold; color: var(--ink); }
.devby a:hover span { text-decoration: underline; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 600px) {
  .page { padding: 10px 16px 24px; }
  .brand { font-size: 32px; }
  .headline { font-size: 19px; }
  .mainnav { gap: 6px 16px; }
  .mainnav a { font-size: 12px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi, .kpi + .kpi { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--rule); }
  
  #map { height: 360px; }
}
.kpi .value small { font: 700 16px var(--sans); color: var(--ink-2); margin-left: 4px; }

/* Logo, selector de transporte y extras multimodo */
.estimated-note { font-size: 13px; margin: -8px 0 16px; }
.stale-note { font: 600 14px/1.4 var(--sans); margin: -8px 0 16px; padding: 8px 12px; border-left: 4px solid var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
.train-marker .more { font-weight: 400; opacity: .85; }
.pop-row { padding: 4px 0; border-bottom: 1px solid var(--rule); font: 12px/1.5 var(--sans); }
.pop-row:last-child { border-bottom: 0; }
.alerts li.empty { color: var(--ink-3); font: 13px var(--sans); padding-left: 0; border-bottom: 0; }
.alerts li.empty::before { content: none; }
@media (max-width: 600px) {
  #units th:nth-child(2), #units td:nth-child(2) { display: none; }
}

/* Página dentro de la cabecera y el footer de ValenciaExtra (app/static/ve/ve.css) */
.page-title { font: 700 30px/1.15 var(--serif); letter-spacing: -0.01em; margin: 4px 0 16px; }
.page .c-breadcrumb { margin: 0 0 12px; }
@media (max-width: 768px) { .page-title { font-size: 24px; } }

/* ---------- Directo del día ---------- */
.lb-badge { display: flex; align-items: center; gap: 6px; margin: 18px 0 15px; color: var(--critical); font: 700 12px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.04em; }
.lb-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--critical); animation: lb-pulse 1.6s ease-in-out infinite; }
@keyframes lb-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .lb-badge .dot { animation: none; } }
.lb-old { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--surface); font: 400 14px/1.4 var(--sans); }
.lb-old a { color: var(--brand); font-weight: 700; }
.lb-keys p { margin: 0 0 8px; }
.keys-status .status, .lb-stats .status { margin: 0 12px 4px 0; display: inline-flex; }
.lb-modes { font: 400 13px var(--sans); color: var(--ink-2); }
.lb-entries { display: flex; flex-direction: column; }
.lb-entry { display: grid; grid-template-columns: 64px minmax(0, 652px); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); scroll-margin-top: 72px; }
.lb-entry:first-child { border-top: 0; padding-top: 4px; }
.lb-time { color: var(--brand); font: 700 15px/1.4 var(--sans); text-decoration: none; }
.lb-title { font: 600 22px/1.25 var(--serif); margin: 0 0 10px; color: #161615; }
.lb-body { font: 300 18px/27px var(--serif); color: #161615; }
.lb-body p { margin: 0 0 14px; }
.lb-body strong, .lb-body b { font-weight: 600; }
.lb-body q { font-style: italic; }
.lb-body a { color: #c65310; font-weight: 600; text-decoration: none; }
.lb-body a:hover { text-decoration: underline; }
.lb-hourly, .lb-opening { background: linear-gradient(90deg, rgba(0, 0, 0, 0.025), transparent); }
.lb-opening .lb-title { font-size: 24px; }
.lb-stats { font: 400 12px/1.5 var(--sans); }
/* Compartir una entrada: discreto, gris; las redes salen al pulsar */
.lb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 2px; font: 400 13px/1 var(--sans); }
.lb-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: #767676; font: inherit; cursor: pointer; }
.lb-share-btn svg { width: 12px; height: 13px; fill: currentColor; }
.lb-share-btn:hover, .lb-share-btn[aria-expanded="true"] { color: #c65310; }
.lb-share-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lb-share-row[hidden] { display: none; }
.lb-body .lb-share-row a { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: #efefef; }
.lb-share-row a svg { width: 12px; height: 12px; fill: #555; }
.lb-body .lb-share-row a:hover { background: #e66012; text-decoration: none; }
.lb-share-row a:hover svg { fill: #fff; }
.lb-share-copy { padding: 5px 10px; border: 0; border-radius: 13px; background: #efefef; color: #555; font: inherit; cursor: pointer; }
.lb-share-copy:hover { background: #e3e3e3; }
.lb-entry:target { background: linear-gradient(90deg, rgba(230, 96, 18, 0.06), transparent); }
.lb-new { display: block; margin: 0 auto 12px; padding: 8px 14px; border: 0; border-radius: 16px; background: var(--brand); color: #fff; font: 700 13px var(--sans); cursor: pointer; }
.lb-new[hidden] { display: none; }
.lb-days { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); font: 400 14px var(--sans); }
.lb-days a[rel="next"] { margin-left: auto; }
@media (max-width: 600px) {
  .lb-entry { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lb-title { font-size: 20px; }
  .lb-badge { font-size: 11px; margin: 14px 0 8px; }
}
.mainnav a.nav-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--critical); font-weight: 700; }
.mainnav a.nav-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--critical); }
@media (max-width: 600px) { .mainnav a.nav-live { margin-left: 0; } }

/* Últimas noticias de ValenciaExtra sobre el transporte (etiqueta /tag/…) */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.news a { display: block; text-decoration: none; }
.news img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--strip); margin-bottom: 8px; }
.news-title { font: 700 16px/1.3 var(--serif); }
.news a:hover .news-title { color: var(--brand); }
.news time { display: block; margin-top: 4px; font-size: 11px; }
.news-more { margin: 18px 0 0; }
.news-more a { color: var(--brand); font-weight: 700; text-decoration: none; }
.news-more a:hover { text-decoration: underline; }
@media (max-width: 900px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .news { grid-template-columns: 1fr; gap: 14px; }
  .news a { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
  .news img { margin: 0; }
  .news time { margin-left: 122px; }
}

/* Página de estación: panel de llegadas y salidas, destinos y guía */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.board-col h3 { font: 700 19px/1.3 var(--serif); margin: 0 0 8px; }
.board table td { vertical-align: top; }
.board .table-wrap { max-height: none; }
.board tr.st-late .st-label { color: #b3261e; font-weight: 700; }
.board tr.st-on_time .st-label { color: #1e7b34; font-weight: 700; }
.board tr.st-canceled td { color: var(--ink-3); }
.board tr.st-canceled .st-label { color: #b3261e; font-weight: 700; }
.board tr.st-scheduled .st-label, .board tr.st-no_data .st-label { color: var(--ink-3); }
.board-more summary { cursor: pointer; margin: 10px 0; color: var(--ink-2); font: 400 14px var(--sans); }
.st-dest { margin: 0 0 12px; padding-left: 20px; line-height: 1.6; }
.st-guide p, .st-guide li { max-width: 760px; line-height: 1.55; }
.st-guide ul { padding-left: 20px; }
@media (max-width: 900px) { .board { grid-template-columns: minmax(0, 1fr); } }
.st-photo { margin: 22px 0 0; max-width: 760px; }
.st-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
.st-photo figcaption { color: var(--ink-3); font: 400 12px/1.4 var(--sans); margin-top: 6px; }
.st-photo figcaption a { color: inherit; }
/* Directo: foto y tuit dentro de una entrada */
.lb-img { margin: 4px 0 14px; }
.lb-img img { display: block; width: 100%; height: auto; }
.lb-img figcaption { font: 300 11px/1.2 var(--sans); color: #6e6e6e; background: #f2f2f2; padding: 9px 15px; margin: 0; }
/* Tuits: nunca más anchos que la columna (X fija el iframe a 550 px; antes de cargar es un blockquote) */
.lb-body { min-width: 0; }
.lb-body .twitter-tweet { margin: 4px 0 10px !important; max-width: 100% !important; box-sizing: border-box; overflow-wrap: anywhere; }
.lb-body .twitter-tweet iframe { max-width: 100% !important; }

/* Páginas de línea: mismo aspecto que un artículo de ValenciaExtra (medido en www.valenciaextra.com: H1 Lora 700
   40/27 px, subtítulo Lora 22/18 px, texto Lora 300 18/27 px en columna de 652 px, tablas con cabecera naranja).
   Las comparten los directos (body.ve-article). .lp-body va sin .ve-article delante: el editor del backend usa las mismas reglas con <body class="lp-body"> */
body.ve-article .page { max-width: 1044px; padding: 12px 20px 28px; }
.ve-article .lp-kicker { color: #e66012; font: 700 12px/1.2 var(--sans); text-transform: uppercase; margin: 18px 0 15px; }
.ve-article .page-title { font: 700 40px/1.2 var(--serif); letter-spacing: -0.02em; color: #161615; margin: 0 0 6px; }
.ve-article .page-title.lp-nokicker { margin-top: 18px; }
.ve-article .lp-lead { font: 400 22px/1.2 var(--serif); color: #5f5f5f; margin: 0; max-width: none; }
.ve-article .lp-info { display: flex; flex-wrap: wrap; align-items: center; font: 400 12px/1.2 var(--sans); color: #5f5f5f; margin: 14px 0 13px; }
.ve-article .lp-date { margin: 0; padding-right: 15px; margin-right: 15px; border-right: 1px solid #ddd; }
.ve-article .lp-date a { color: #161615; text-decoration: none; font-weight: 700; }
.lp-share { display: flex; list-style: none; margin: 0; padding: 0; }
.lp-share li { width: 26px; height: 26px; margin: 0 3px; border-radius: 50%; background: #161615; }
.lp-share li.is-mobile { display: none; }
.lp-share a { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; }
.lp-share svg { width: 13px; height: 13px; fill: #fff; }
.lp-share li:hover { background: #e66012; }
.ve-article .lp-cover { margin: 0 0 24px; }
.ve-article .lp-cover img { display: block; width: 100%; height: auto; }
.lp-body { max-width: 652px; margin-top: 18px; font: 300 18px/27px var(--serif); color: #161615; }
.lp-body p { margin: 0 0 20px; }
.lp-body strong, .lp-body b { font-weight: 600; }
.lp-body a { color: #c65310; font-weight: 600; text-decoration: none; }
.lp-body a:hover { text-decoration: underline; }
.lp-body h2 { font: 600 26px/1.2 var(--serif); margin: 10px 0 20px; letter-spacing: normal; }
.lp-body h3 { font: 600 24px/1.2 var(--serif); margin: 10px 0 20px; }
.lp-body h4 { font: 600 20px/1.2 var(--serif); margin: 10px 0 16px; }
.lp-body ul, .lp-body ol { margin: 0 0 20px; padding-left: 22px; }
.lp-body li { margin: 0 0 8px; }
.lp-body img { max-width: 100%; height: auto; display: block; }
.lp-body figure { margin: 0 0 20px; }
.lp-body figcaption, .ve-article .lp-cover figcaption { font: 300 11px/1.2 var(--sans); color: #6e6e6e; background: #f2f2f2; padding: 9px 15px; margin: 0; }
.lp-body blockquote { margin: 0 0 20px; padding: 2px 0 2px 16px; border-left: 3px solid #e66012; font-style: italic; }
.lp-body table, .wdg table { border-collapse: collapse; border-top: 1px solid #e66012; border-left: 1px solid #e66012; margin: 0 0 20px; font: 300 13.92px/1.4 var(--serif); color: #161615; }
.lp-body table { display: block; overflow-x: auto; max-width: 100%; width: max-content; }
.wdg table { width: 100%; }
.lp-body th, .lp-body td, .wdg th, .wdg td { text-align: left; vertical-align: top; padding: 8px 15px; border-right: 1px solid #e66012; border-bottom: 1px solid #e66012; }
.lp-body thead th, .wdg thead th { background: #e66012; color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; }
.lp-body tbody th, .wdg tbody th { font-weight: 600; text-transform: none; letter-spacing: 0; color: #161615; background: #fdf0e8; }
@media (max-width: 600px) {
  body.ve-article .page { padding: 12px 20px 28px; }
  .ve-article .lp-kicker { font-size: 10px; margin: 14px 0 8px; }
  .ve-article .page-title { font-size: 27px; letter-spacing: -0.02em; margin-bottom: 8px; }
  .ve-article .lp-lead { font-size: 18px; color: #161615; }
  .ve-article .lp-info { margin-top: 25px; justify-content: center; }
  .ve-article .lp-date { flex-basis: 100%; text-align: center; border: 0; padding: 0; margin: 0 0 5px; }
  .lp-share li { margin: 0 3px 0 0; }
  .lp-share li.is-desktop { display: none; }
  .lp-share li.is-mobile { display: block; }
  .ve-article .lp-cover { margin-left: -20px; margin-right: -20px; }
  .lp-body h2 { font-size: 23px; }
  .lp-body h3 { font-size: 21px; }
}
.wdg { --line: #8e8e8e; margin: 14px 0; font-family: var(--sans); }
.wdg-scroll { overflow-x: auto; }
.wdg-head { font: 700 15px/1.3 var(--sans); margin: 0 0 6px; }
.wdg-badge { display: inline-block; min-width: 28px; padding: 2px 6px; border-radius: 4px; background: var(--line); color: #1b1b1b; font: 800 13px/1.2 var(--sans); text-align: center; }
.wdg-inc { border-left: 4px solid var(--line); background: var(--surface); padding: 10px 14px; }
.wdg-inc ul { margin: 4px 0 6px; padding-left: 18px; }
.wdg-inc li { margin: 2px 0; font-size: 14px; }
.wdg-alerts li { font-weight: 600; }
.wdg-ok { margin: 0; font-size: 14px; }
.wdg-updated, .wdg-note { color: var(--ink-3); font: 400 12px/1.4 var(--sans); margin: 4px 0 0; }
.wdg-status { display: inline; margin: 0; font-size: 14px; }
.lp-body > .wdg-status { display: block; margin: 14px 0; }
.wdg-status .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-right: 6px; vertical-align: 0; }
.wdg-stop { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--line); margin-right: 8px; vertical-align: -1px; }
.wdg-chip { display: inline-block; margin: 0 4px 2px 0; padding: 1px 6px; border-radius: 4px; background: var(--surface); border: 1px solid var(--rule); font: 700 12px/1.4 var(--sans); }
.wdg-sub { color: var(--ink-3); font-size: 12px; }
.wdg-map-canvas { height: 380px; border-radius: 6px; background: var(--surface); }
.wdg-punct { display: flex; gap: 16px; align-items: center; border-left: 4px solid var(--line); padding: 6px 14px; }
.wdg-punct p { margin: 0; font-size: 14px; line-height: 1.5; }
.wdg-big { font: 800 34px/1 var(--sans) !important; white-space: nowrap; }
.wdg-error { color: #b00020; background: #fdecec; padding: 6px 10px; font: 600 13px var(--sans); }
@media (max-width: 600px) { .wdg-map-canvas { height: 300px; } .wdg-punct { flex-direction: column; align-items: flex-start; gap: 4px; } }
