/* Stage B real-data bridge additions. LAB only. */
.lab-stage-note{margin:16px auto 0;padding:10px 14px;border:1px dashed var(--line,#dbe3ec);border-radius:14px;background:var(--surface,#fff);font-size:13px;color:var(--muted,#5c6b7a)}
.service-evidence{grid-column:2 / -1;display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:-4px;font-size:12px;color:var(--muted,#667085)}
.service-evidence span{display:inline-flex;align-items:center;gap:5px}
.real-pharmacy-summary{display:grid;gap:16px}
.real-pharmacy-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.real-pharmacy-main h2{margin:3px 0 5px}
.real-pharmacy-main p{margin:0;color:var(--muted,#667085)}
.real-pharmacy-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--muted,#667085);font-size:14px}
.real-pharmacy-open-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:14px;background:var(--soft,#f5f8fb)}
.real-pharmacy-open-summary strong{font-size:18px}
.pharmacy-real-list{display:grid;gap:12px}
.pharmacy-real-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;padding:18px;border:1px solid var(--line,#dbe3ec);border-radius:18px;background:var(--surface,#fff)}
.pharmacy-real-title{display:flex;align-items:flex-start;gap:12px}
.pharmacy-real-title img{width:34px;height:34px}
.pharmacy-real-copy strong{display:block;font-size:17px}
.pharmacy-real-copy .alias{display:block;margin-top:2px;color:var(--muted,#667085);font-size:13px}
.pharmacy-real-copy .address{display:block;margin-top:7px;color:var(--text,#1b2430);font-size:14px}
.pharmacy-real-copy .detail{display:block;margin-top:5px;color:var(--muted,#667085);font-size:13px}
.pharmacy-real-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.pharmacy-real-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid var(--line,#dbe3ec);border-radius:12px;text-decoration:none;font-weight:700}
.pharmacy-real-actions a:first-child{background:var(--ink,#172033);color:#fff;border-color:transparent}
.status-real-open,.status-real-open-guard,.status-real-guard{white-space:nowrap}
.source-real{display:grid;gap:8px}
.source-real p{margin:0;color:var(--muted,#667085)}
.lab-connection-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#eef8f1;color:#246b3b;font-size:12px;font-weight:800}
@media(max-width:700px){.real-pharmacy-main{display:grid}.pharmacy-real-row{grid-template-columns:1fr}.pharmacy-real-row>.status{justify-self:start}.service-evidence{grid-column:1/-1}.real-pharmacy-open-summary{align-items:flex-start;flex-direction:column}}

/* B1.1 · pharmacy visual corrections */
.real-pharmacy-main>.status,
.pharmacy-real-row>.status{align-self:start;justify-self:end;width:max-content;max-width:100%;height:auto;min-height:0;white-space:nowrap}
.pharmacy-holder-name{margin-top:2px!important;font-weight:700;color:var(--ink,#172033)!important}
.pharmacy-real-copy>strong{font-size:17px}
.pharmacy-real-copy .alias{font-weight:600}
@media(max-width:700px){
  .real-pharmacy-main>.status,.pharmacy-real-row>.status{justify-self:start}
}

/* B2 · Autobuses Línea 34 real read-only */
.b2-bus-layout{align-items:start}
.b2-bus-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 18px;align-items:start;padding:18px;border:1px solid var(--line,#dbe3ec);border-radius:18px;background:var(--surface,#fff);margin-bottom:18px}
.b2-bus-status-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:999px;background:var(--soft,#f5f8fb);font-weight:900}
.b2-bus-status h2,.b2-bus-status p{margin-top:0}.b2-bus-status p{margin-bottom:6px}.b2-bus-status small{color:var(--muted,#667085)}
.b2-notices{display:grid;gap:10px}.b2-notice{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--line,#dbe3ec);border-radius:14px;background:var(--soft,#f5f8fb)}.b2-notice a{font-weight:800;text-decoration:none;white-space:nowrap}
.b2-stop-form{display:grid;gap:8px}.b2-stop-form label{font-weight:800}.b2-stop-form>div{display:flex;gap:10px}.b2-stop-form select{min-width:0;flex:1;padding:10px 12px;border:1px solid var(--line,#dbe3ec);border-radius:12px;background:var(--surface,#fff);color:inherit}
.b2-stop-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.b2-nearest-result{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--soft,#f5f8fb)}.b2-nearest-result p{margin:0 0 8px}
.b2-next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.b2-next-card{margin:0}.b2-next-detail{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--muted,#667085);font-size:13px}
.b2-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.b2-day-grid article{padding:14px;border:1px solid var(--line,#dbe3ec);border-radius:14px}.b2-day-grid h3{margin-top:0}
.b2-time-chips{display:flex;flex-wrap:wrap;gap:8px}.b2-time-chip{display:grid;gap:2px;min-width:112px;padding:9px 10px;border-radius:12px;background:var(--soft,#f5f8fb)}.b2-time-chip strong{font-size:17px}.b2-time-chip small{font-size:11px;color:var(--muted,#667085)}
.b2-weekly-grid{display:grid;gap:12px}.b2-week{padding:15px;border:1px solid var(--line,#dbe3ec);border-radius:14px}.b2-week h3{margin-top:0}.b2-week>div{display:grid;grid-template-columns:170px 1fr;gap:10px;margin:7px 0}.b2-week span,.b2-week small{color:var(--muted,#667085)}
.b2-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.b2-route{padding:15px;border:1px solid var(--line,#dbe3ec);border-radius:14px}.b2-route h3{margin-top:0}.b2-route ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}.b2-route li{display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:12px;background:var(--soft,#f5f8fb)}.b2-route li.is-selected{outline:2px solid currentColor}.b2-route li strong,.b2-route li small{display:block}.b2-route li small{color:var(--muted,#667085);margin-top:2px}.b2-route-actions{display:grid;gap:4px;text-align:right}.b2-route-actions a{font-size:12px;font-weight:800;text-decoration:none}
.b2-blocked{border-style:dashed}.service-bus-alert{border-width:2px}
@media(max-width:760px){.b2-bus-status{grid-template-columns:auto 1fr}.b2-bus-status>.status{grid-column:1/-1;justify-self:start}.b2-next-grid,.b2-day-grid,.b2-routes{grid-template-columns:1fr}.b2-stop-form>div{display:grid}.b2-week>div{grid-template-columns:1fr}.b2-notice{align-items:flex-start;flex-direction:column}.b2-route li{align-items:flex-start}.b2-route-actions{text-align:left}}

/* Stage B2 UX V0.2 · lectura primero: parada → sentido → próximo bus → recorrido */
.b2-focus-shell{max-width:980px}.b2-focus-column{gap:16px}.b2-service-strip{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid var(--line,#dbe3ec);border-radius:14px;background:var(--panel,#fff);font-size:12px}.b2-service-strip strong{font-size:13px}.b2-service-strip span:not(.b2-service-dot){color:var(--muted,#667085)}.b2-service-strip a{margin-left:auto;font-weight:800;color:var(--blue,#1769aa);text-decoration:none}.b2-service-dot{width:9px;height:9px;border-radius:50%;background:#3aa65b;box-shadow:0 0 0 4px rgba(58,166,91,.12)}
.b2-alert-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:16px;border:1px solid #e7c77c;background:#fff8e8}.b2-alert-panel h2{margin:0;font:700 25px/1.08 var(--serif)}.b2-alert-panel p{margin:5px 0 6px;color:var(--muted,#667085)}.b2-alert-panel small{color:var(--muted,#667085)}
.b2-stop-picker{padding:20px}.b2-stop-form-focus{max-width:none}.b2-stop-form-focus>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.b2-stop-form-focus select{min-height:48px}.b2-stop-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.b2-nearest-result{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--soft,#f4f7fb)}
.b2-direction-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border:1px solid var(--line,#dbe3ec);border-radius:16px;background:var(--soft,#f4f7fb)}.b2-direction-switch a{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;padding:12px 14px;border-radius:12px;color:var(--ink,#0d2b45);text-decoration:none}.b2-direction-switch a>span{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(23,105,170,.08);color:var(--blue,#1769aa);font-weight:900;align-self:center}.b2-direction-switch strong{font-size:16px}.b2-direction-switch small{font-size:11px;color:var(--muted,#667085);margin-top:1px}.b2-direction-switch a.is-active{background:var(--navy,#0a3157);color:#fff;box-shadow:0 6px 18px rgba(7,42,74,.12)}.b2-direction-switch a.is-active>span{background:rgba(255,255,255,.14);color:#fff}.b2-direction-switch a.is-active small{color:rgba(255,255,255,.72)}
.b2-next-focus{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:22px;padding:24px;border-radius:18px;background:linear-gradient(135deg,var(--navy,#0a3157),#0e4778);color:#fff;box-shadow:0 12px 28px rgba(7,42,74,.14)}.b2-next-focus .section-kicker{color:#9ed3ff}.b2-next-focus-time{display:flex;align-items:end;gap:14px;margin:4px 0 2px}.b2-next-focus-time>strong{font:700 64px/.95 var(--serif);letter-spacing:-.04em}.b2-next-focus-time>span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:#fff;color:var(--navy,#0a3157);font-size:12px;font-weight:900;margin-bottom:7px}.b2-next-focus h2{font:700 25px/1.05 var(--serif);margin:8px 0 5px}.b2-next-explain{margin:0;color:rgba(255,255,255,.78);font-size:13px}.b2-special-note{display:inline-block;margin:10px 0 0;padding:7px 9px;border-radius:9px;background:rgba(255,255,255,.1);font-size:11px}.b2-next-following{align-self:stretch;padding-left:20px;border-left:1px solid rgba(255,255,255,.18);display:grid;align-content:center;gap:9px}.b2-next-following>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.62);font-weight:900}.b2-next-following>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:8px 0;border-top:1px solid rgba(255,255,255,.12)}.b2-next-following strong{font:700 24px var(--serif)}.b2-next-following small{color:rgba(255,255,255,.66);font-size:10px;text-align:right}
.b2-blocked-focus .button{margin-top:12px}
.b2-trip-section{padding:22px}.b2-trip-timeline{list-style:none;margin:8px 0 0;padding:0;position:relative}.b2-trip-timeline:before{content:"";position:absolute;left:15px;top:18px;bottom:18px;width:2px;background:#bed9ec}.b2-trip-timeline li{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 72px;gap:12px;align-items:center;min-height:55px;padding:7px 0}.b2-trip-node{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #69a8d1;z-index:1;margin-left:10px}.b2-trip-stop strong,.b2-trip-stop small{display:block}.b2-trip-stop strong{font-size:14px}.b2-trip-stop small{font-size:10px;color:var(--muted,#667085);margin-top:2px}.b2-trip-time{text-align:right}.b2-trip-time strong{display:block;font:700 18px var(--serif)}.b2-trip-time small{display:block;font-size:9px;text-transform:uppercase;color:var(--muted,#667085);margin-top:1px}.b2-trip-timeline li.is-selected{margin:4px 0;padding:11px 10px;border-radius:13px;background:#eaf4ff}.b2-trip-timeline li.is-selected .b2-trip-node{background:var(--blue,#1769aa);box-shadow:0 0 0 4px rgba(23,105,170,.16)}.b2-trip-timeline li.is-selected .b2-trip-stop strong,.b2-trip-timeline li.is-selected .b2-trip-time strong{color:var(--navy,#0a3157)}.b2-you-are-here{display:inline-block!important;width:max-content;margin-top:4px;padding:3px 7px;border-radius:999px;background:var(--blue,#1769aa);color:#fff!important;font-size:9px!important;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.b2-trip-timeline li.is-origin .b2-trip-node,.b2-trip-timeline li.is-destination .b2-trip-node{background:#f5b942;box-shadow:0 0 0 2px #f5b942}.b2-trip-timeline li.is-origin .b2-trip-stop strong,.b2-trip-timeline li.is-destination .b2-trip-stop strong{font-size:13px}
.b2-more-departures{padding:20px}.b2-departure-list{display:grid;gap:0;border:1px solid var(--line,#dbe3ec);border-radius:14px;overflow:hidden}.b2-departure-list>div{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border-top:1px solid var(--line,#dbe3ec)}.b2-departure-list>div:first-child{border-top:0}.b2-departure-list strong{font:700 20px var(--serif)}.b2-departure-list span{font-size:12px;font-weight:800}.b2-departure-list small{font-size:10px;color:var(--muted,#667085);text-align:right}
.b2-future{border-left:4px solid #f0b64a}.b2-notice{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line,#dbe3ec)}.b2-notice:first-of-type{border-top:0}.b2-notice a{white-space:nowrap;font-size:12px;font-weight:800;color:var(--blue,#1769aa)}
.b2-secondary-info{display:grid;gap:10px}.b2-disclosure{border:1px solid var(--line,#dbe3ec);border-radius:15px;background:var(--panel,#fff);overflow:hidden}.b2-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;list-style:none}.b2-disclosure summary::-webkit-details-marker{display:none}.b2-disclosure summary span:first-child strong,.b2-disclosure summary span:first-child small{display:block}.b2-disclosure summary span:first-child strong{font:700 17px var(--serif)}.b2-disclosure summary span:first-child small{font-size:11px;color:var(--muted,#667085);margin-top:2px}.b2-disclosure summary>span:last-child{font-size:11px;font-weight:900;color:var(--blue,#1769aa)}.b2-disclosure[open] summary{border-bottom:1px solid var(--line,#dbe3ec)}.b2-disclosure-body{padding:16px}.b2-weekly-grid{display:grid;gap:10px}.b2-week{padding:14px;border:1px solid var(--line,#dbe3ec);border-radius:12px}.b2-week h3{margin:0 0 10px}.b2-week>div{display:grid;grid-template-columns:170px 1fr;gap:10px;margin:7px 0}.b2-week span,.b2-week small{color:var(--muted,#667085)}.b2-week small{display:block;margin-top:8px}.b2-compact-stops{display:grid;gap:6px}.b2-compact-stops>div{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 10px;border-radius:10px;background:var(--soft,#f4f7fb)}.b2-compact-stops>div.is-selected{outline:2px solid var(--blue,#1769aa);background:#eaf4ff}.b2-compact-stops>div>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:10px;font-weight:900}.b2-compact-stops p{margin:0}.b2-compact-stops p strong,.b2-compact-stops p small{display:block}.b2-compact-stops p small{font-size:10px;color:var(--muted,#667085)}.b2-compact-stops a{font-size:11px;font-weight:800;color:var(--blue,#1769aa)}
.b2-source-note{padding:12px 15px;border-radius:12px;background:var(--soft,#f4f7fb);color:var(--muted,#667085);font-size:11px}.b2-source-note strong{color:var(--ink,#0d2b45)}
@media(max-width:760px){.b2-focus-shell{width:calc(100% - 20px)}.b2-service-strip{align-items:flex-start;flex-wrap:wrap}.b2-service-strip a{margin-left:19px;width:100%}.b2-alert-panel{align-items:flex-start;flex-direction:column}.b2-stop-form-focus>div{grid-template-columns:1fr}.b2-stop-tools{display:grid;grid-template-columns:1fr 1fr}.b2-stop-tools .button:last-child:nth-child(3){grid-column:1/-1}.b2-direction-switch a{grid-template-columns:28px minmax(0,1fr);padding:10px}.b2-direction-switch a>span{width:26px;height:26px}.b2-direction-switch strong{font-size:14px}.b2-direction-switch small{font-size:9px}.b2-next-focus{grid-template-columns:1fr;padding:19px;gap:14px}.b2-next-focus-time>strong{font-size:56px}.b2-next-following{padding:12px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18);grid-template-columns:auto repeat(3,1fr);align-items:end}.b2-next-following>span{align-self:center}.b2-next-following>div{display:block;padding:0 0 0 8px;border-top:0;border-left:1px solid rgba(255,255,255,.12)}.b2-next-following strong{font-size:19px}.b2-next-following small{display:block;text-align:left;margin-top:2px}.b2-trip-section{padding:16px}.b2-trip-timeline li{grid-template-columns:28px minmax(0,1fr) 56px;gap:9px;min-height:50px}.b2-trip-timeline:before{left:13px}.b2-trip-node{margin-left:7px}.b2-trip-time strong{font-size:16px}.b2-departure-list>div{grid-template-columns:70px 1fr}.b2-departure-list small{grid-column:2;text-align:left}.b2-week>div{grid-template-columns:1fr}.b2-week>div strong{font-size:13px}.b2-compact-stops>div{grid-template-columns:24px minmax(0,1fr) auto}.b2-compact-stops>div>a:last-child{grid-column:2/4}.b2-disclosure summary{padding:13px 14px}.b2-disclosure-body{padding:12px}}
.b2-next-day{display:inline-block;margin-top:3px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.12);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#fff}

/* Stage B2 UX V0.3 · interacción sin recarga + lenguaje ciudadano + contraste nocturno */
:root{--b2-deep:#0a3157;--b2-deep-2:#0e4778;--b2-accent:#0b69b7;--b2-accent-soft:#eaf4ff;--b2-on-deep:#fff;--b2-timeline:#bed9ec}
.b2-direction-block{display:grid;gap:7px}.b2-direction-block>.section-kicker{margin:0 0 1px 6px}.b2-auto-hint{margin:1px 6px 0;color:var(--muted,#667085);font-size:11px}.b2-auto-hint[hidden]{display:none}
.b2-direction-switch a.is-active{background:var(--b2-deep);color:var(--b2-on-deep);box-shadow:0 6px 18px rgba(7,42,74,.18)}.b2-direction-switch a.is-active>span{background:rgba(255,255,255,.14);color:#fff}.b2-direction-switch a.is-active small{color:rgba(255,255,255,.78)}
.b2-next-focus{background:linear-gradient(135deg,var(--b2-deep),var(--b2-deep-2));color:var(--b2-on-deep)}.b2-next-focus .section-kicker{color:#a9d9ff}.b2-next-explain{color:rgba(255,255,255,.84)}
.b2-stop-form select{background:var(--panel,#fff);color:var(--ink,#0d2b45)}.b2-js .b2-stop-form-focus button[type=submit]{display:none}.b2-js .b2-stop-form-focus>div{grid-template-columns:1fr}
.b2-trip-timeline:before{background:var(--b2-timeline)}.b2-trip-timeline li.is-selected{background:var(--b2-accent-soft)}.b2-trip-timeline li.is-selected .b2-trip-stop strong,.b2-trip-timeline li.is-selected .b2-trip-time strong{color:var(--ink,#0d2b45)}
.b2-compact-stops>div.is-selected{background:var(--b2-accent-soft);outline-color:var(--b2-accent)}
.b2-next-following>span{line-height:1.2}.b2-departure-list small:empty{display:none}
html[data-theme=dark]{--b2-deep:#0f4c78;--b2-deep-2:#0b5f96;--b2-accent:#54b4ef;--b2-accent-soft:#153d5d;--b2-on-deep:#f7fbff;--b2-timeline:#4b86ad}
html[data-theme=dark] .b2-direction-switch{background:#102a40;border-color:#294a65}
html[data-theme=dark] .b2-direction-switch a{color:#eaf3fb}html[data-theme=dark] .b2-direction-switch a>span{background:#153d5d;color:#77c8fa}html[data-theme=dark] .b2-direction-switch small{color:#9db2c5}
html[data-theme=dark] .b2-direction-switch a.is-active{background:var(--b2-deep);color:#fff;border-color:transparent}html[data-theme=dark] .b2-direction-switch a.is-active>span{background:rgba(255,255,255,.14);color:#fff}html[data-theme=dark] .b2-direction-switch a.is-active small{color:#d2e6f5}
html[data-theme=dark] .b2-next-focus{background:linear-gradient(135deg,var(--b2-deep),var(--b2-deep-2));color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.22)}html[data-theme=dark] .b2-next-focus .section-kicker{color:#c3e6ff}html[data-theme=dark] .b2-next-focus-time>span{background:#e3f2ff;color:#082849}html[data-theme=dark] .b2-next-explain{color:#d3e7f6}html[data-theme=dark] .b2-special-note{background:rgba(255,255,255,.12)}
html[data-theme=dark] .b2-trip-timeline li.is-selected{background:var(--b2-accent-soft)}html[data-theme=dark] .b2-trip-timeline li.is-selected .b2-trip-stop strong,html[data-theme=dark] .b2-trip-timeline li.is-selected .b2-trip-time strong{color:#f3f9fe}html[data-theme=dark] .b2-trip-timeline li.is-selected .b2-trip-stop small{color:#bad1e3}html[data-theme=dark] .b2-trip-node{background:#0d2236;box-shadow:0 0 0 2px #69b9ea}html[data-theme=dark] .b2-trip-timeline li.is-selected .b2-trip-node{background:#65c1f5;box-shadow:0 0 0 4px rgba(84,180,239,.2)}
html[data-theme=dark] .b2-compact-stops>div.is-selected{background:var(--b2-accent-soft);outline-color:#54b4ef}html[data-theme=dark] .b2-compact-stops>div>span{background:#16324a;color:#eaf3fb}
html[data-theme=dark] .b2-stop-form select{background:#0d2236;color:#eef7ff;border-color:#35536d}html[data-theme=dark] .b2-stop-form select option{background:#0d2236;color:#eef7ff}
html[data-theme=dark] .b2-alert-panel{background:#2a2515;border-color:#66561f}html[data-theme=dark] .b2-alert-panel p,html[data-theme=dark] .b2-alert-panel small{color:#d2c9aa}
html[data-theme=dark] .b2-service-strip a,html[data-theme=dark] .b2-notice a,html[data-theme=dark] .b2-compact-stops a,html[data-theme=dark] .b2-disclosure summary>span:last-child{color:#62bdf4}
@media(max-width:760px){.b2-direction-block>.section-kicker{margin-left:2px}.b2-auto-hint{margin-left:2px;margin-right:2px}.b2-stop-form-focus>div{grid-template-columns:1fr}.b2-next-focus-time{align-items:center;flex-wrap:wrap}.b2-next-focus-time>span{margin-bottom:0}.b2-next-following{overflow-x:auto}.b2-next-following>div{min-width:64px}}
/* Stage B2 UX V0.3.1 · separación visual entre hero y estado */
.b2-focus-column > .b2-service-strip:first-child,.b2-focus-column > .b2-alert-panel:first-child{margin-top:18px}
@media(max-width:760px){.b2-focus-column > .b2-service-strip:first-child,.b2-focus-column > .b2-alert-panel:first-child{margin-top:14px}}

/* Stage B2 UX V0.3.2 · resumen compacto + recorrido completo bajo demanda */
.b2-trip-summary-section{padding:20px}.b2-trip-summary{list-style:none;margin:12px 0 16px;padding:0 0 0 2px;position:relative}.b2-trip-summary:before{content:"";position:absolute;left:14px;top:17px;bottom:17px;width:2px;background:var(--b2-timeline)}.b2-trip-summary li{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 62px;gap:10px;align-items:center;min-height:48px;padding:5px 0}.b2-trip-summary-node{width:12px;height:12px;border-radius:50%;background:var(--panel,#fff);box-shadow:0 0 0 2px #69a8d1;z-index:1;margin-left:8px}.b2-trip-summary-stop strong,.b2-trip-summary-stop small{display:block}.b2-trip-summary-stop strong{font-size:14px}.b2-trip-summary-stop small{font-size:10px;color:var(--muted,#667085);margin-top:2px}.b2-trip-summary-time{text-align:right}.b2-trip-summary-time strong{font:700 18px var(--serif)}.b2-trip-summary li.is-selected{margin:3px 0;padding:9px 10px;border-radius:12px;background:var(--b2-accent-soft)}.b2-trip-summary li.is-selected .b2-trip-summary-node{background:var(--b2-accent);box-shadow:0 0 0 4px rgba(23,105,170,.14)}.b2-trip-summary li.is-origin .b2-trip-summary-node,.b2-trip-summary li.is-destination .b2-trip-summary-node{background:#f5b942;box-shadow:0 0 0 2px #f5b942}.b2-trip-summary li.is-now .b2-trip-summary-node{width:9px;height:9px;margin-left:9px;background:#fff;box-shadow:0 0 0 3px var(--b2-accent)}.b2-route-open{margin-top:2px}.b2-special-note-light{background:var(--soft,#f4f7fb);color:var(--ink,#0d2b45);margin:0 0 12px}
.b2-route-dialog{width:min(760px,calc(100vw - 28px));max-height:86vh;padding:0;border:1px solid var(--line,#dbe3ec);border-radius:20px;background:var(--panel,#fff);color:var(--ink,#0d2b45);box-shadow:0 24px 70px rgba(4,29,51,.3);overflow:hidden}.b2-route-dialog::backdrop{background:rgba(4,23,39,.58);backdrop-filter:blur(2px)}.b2-route-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px 15px;border-bottom:1px solid var(--line,#dbe3ec);background:var(--panel,#fff)}.b2-route-dialog-head h2{margin:2px 0 4px;font:700 28px/1.05 var(--serif)}.b2-route-dialog-head p{margin:0;color:var(--muted,#667085);font-size:12px}.b2-route-dialog-head .section-kicker{color:var(--blue,#1769aa);font-size:10px}.b2-route-close{width:38px;height:38px;border:1px solid var(--line,#dbe3ec);border-radius:50%;background:var(--soft,#f4f7fb);color:var(--ink,#0d2b45);font-size:26px;line-height:1;cursor:pointer}.b2-route-dialog-scroll{max-height:calc(86vh - 92px);overflow:auto;padding:14px 22px 24px;overscroll-behavior:contain}.b2-route-legend{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--soft,#f4f7fb);font-size:10px;color:var(--muted,#667085)}.b2-route-legend span{display:flex;align-items:center;gap:6px}.b2-route-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#69a8d1}.b2-route-legend i.is-your{background:var(--b2-accent)}.b2-route-legend i.is-special{background:#f5b942}
.b2-full-route-timeline{list-style:none;margin:16px 0 8px;padding:0;position:relative}.b2-full-route-timeline:before{content:"";position:absolute;left:15px;top:18px;bottom:18px;width:2px;background:var(--b2-timeline)}.b2-full-route-timeline li{--b2-gap-px:13px;position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 70px;gap:11px;align-items:center;min-height:42px;margin-top:var(--b2-gap-px);padding:4px 0}.b2-full-route-timeline li:first-child{margin-top:0}.b2-full-route-node{width:11px;height:11px;border-radius:50%;background:var(--panel,#fff);box-shadow:0 0 0 2px #69a8d1;z-index:1;margin-left:10px}.b2-full-route-stop strong,.b2-full-route-stop small{display:block}.b2-full-route-stop strong{font-size:13px}.b2-full-route-stop small{margin-top:2px;color:var(--muted,#667085);font-size:9px}.b2-full-route-time{text-align:right}.b2-full-route-time strong{display:block;font:700 17px var(--serif)}.b2-full-route-time small{display:block;margin-top:1px;color:var(--muted,#667085);font-size:8px;text-transform:uppercase}.b2-full-route-timeline li.is-selected{padding:9px 9px;border-radius:12px;background:var(--b2-accent-soft)}.b2-full-route-timeline li.is-selected .b2-full-route-node{background:var(--b2-accent);box-shadow:0 0 0 4px rgba(23,105,170,.15)}.b2-full-route-timeline li.is-special .b2-full-route-node,.b2-full-route-timeline li.is-origin .b2-full-route-node,.b2-full-route-timeline li.is-destination .b2-full-route-node{background:#f5b942;box-shadow:0 0 0 2px #f5b942}.b2-route-gap-label{position:absolute;left:28px;top:calc((var(--b2-gap-px) * -0.5) - 5px);padding:1px 5px;border-radius:999px;background:var(--panel,#fff);color:var(--muted,#667085);font-size:8px;font-weight:800}.b2-route-source{margin:16px 0 5px;color:var(--muted,#667085);font-size:10px;line-height:1.45}.b2-route-source-link{font-size:11px;font-weight:800;color:var(--blue,#1769aa);text-decoration:none}
html[data-theme=dark] .b2-trip-summary li.is-selected,html[data-theme=dark] .b2-full-route-timeline li.is-selected{background:var(--b2-accent-soft)}html[data-theme=dark] .b2-trip-summary-node,html[data-theme=dark] .b2-full-route-node{background:#0d2236;box-shadow:0 0 0 2px #69b9ea}html[data-theme=dark] .b2-route-dialog,html[data-theme=dark] .b2-route-dialog-head{background:#0d2236;border-color:#294a65;color:#eef7ff}html[data-theme=dark] .b2-route-close{background:#153d5d;border-color:#35536d;color:#eef7ff}html[data-theme=dark] .b2-route-legend,html[data-theme=dark] .b2-special-note-light{background:#102a40;color:#c3d5e4}html[data-theme=dark] .b2-route-gap-label{background:#0d2236;color:#a9bfd0}html[data-theme=dark] .b2-route-source-link{color:#62bdf4}
@media(max-width:760px){.b2-trip-summary-section{padding:16px}.b2-route-dialog{width:100%;max-width:none;max-height:88dvh;margin:0;border-radius:20px 20px 0 0;position:fixed;inset:auto 0 0 0}.b2-route-dialog-scroll{max-height:calc(88dvh - 88px);padding:12px 16px 24px}.b2-route-dialog-head{padding:16px}.b2-route-dialog-head h2{font-size:24px}.b2-full-route-timeline li{grid-template-columns:28px minmax(0,1fr) 56px;gap:8px}.b2-full-route-timeline:before{left:13px}.b2-full-route-node{margin-left:7px}.b2-full-route-time strong{font-size:15px}.b2-route-gap-label{left:24px}.b2-trip-summary li{grid-template-columns:28px minmax(0,1fr) 54px;gap:8px}.b2-trip-summary:before{left:13px}.b2-trip-summary-node{margin-left:7px}.b2-trip-summary-time strong{font-size:16px}}

/* B2 UX V0.3.2 · posición temporal prevista dentro del recorrido completo */
.b2-full-route-timeline li.is-now{padding:7px 9px;border-radius:12px;background:color-mix(in srgb,var(--b2-accent-soft) 72%,transparent)}
.b2-full-route-timeline li.is-now .b2-full-route-node{width:9px;height:9px;background:var(--b2-accent);box-shadow:0 0 0 4px rgba(23,105,170,.16)}
.b2-full-route-timeline li.is-now .b2-full-route-stop strong{color:var(--b2-deep)}
html[data-theme=dark] .b2-full-route-timeline li.is-now{background:#123754}
html[data-theme=dark] .b2-full-route-timeline li.is-now .b2-full-route-stop strong{color:#eef7ff}

/* B2 UX V0.3.2 R1 · unificación de horarios habituales y excepciones por fecha */
.b2-next-day.is-exception{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.14);color:#fff}
.b2-next-following>div.is-exception{background:rgba(255,255,255,.08);border-radius:10px;padding:7px 8px}.b2-next-following>div.is-exception small{color:#d9edfb}
.b2-exception-calendar{display:grid;gap:14px}.b2-exception-calendar>.info-heading{margin-bottom:0}.b2-exception-card{padding:16px;border:1px solid #e5bd5d;border-radius:16px;background:#fffaf0}.b2-exception-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.b2-exception-head h3{margin:3px 0 0;font-size:20px}.b2-exception-head a{font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}.b2-exception-date{display:inline-flex;padding:4px 8px;border-radius:999px;background:#ffe8a6;color:#6e4a00;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.b2-exception-direction{display:grid;gap:7px;padding:12px 0;border-top:1px solid rgba(120,91,22,.15)}.b2-exception-direction:first-of-type{border-top:0}.b2-exception-direction>strong{font-size:14px}.b2-exception-effective{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:0}.b2-exception-effective span{font-size:11px;color:var(--muted,#667085)}.b2-exception-effective b{font-size:17px}.b2-exception-compare{display:flex;gap:9px 12px;align-items:flex-start;flex-wrap:wrap;font-size:11px;color:var(--muted,#667085)}.b2-exception-compare>div{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.b2-exception-compare s{color:#9a3d3d;text-decoration-thickness:2px}.b2-exception-compare em{padding:2px 6px;border-radius:999px;background:#eaf7ee;color:#24703b;font-style:normal;font-weight:900}.b2-weekly-warning{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff8e8;color:#6f5718;font-size:12px}
html[data-theme=dark] .b2-exception-card{background:#282410;border-color:#6f5a1e;color:#eef7ff}html[data-theme=dark] .b2-exception-date{background:#5c4814;color:#ffe39a}html[data-theme=dark] .b2-exception-compare,html[data-theme=dark] .b2-exception-effective span{color:#c7d5df}html[data-theme=dark] .b2-exception-compare s{color:#ffaaaa}html[data-theme=dark] .b2-exception-compare em{background:#173923;color:#9ee0ad}html[data-theme=dark] .b2-weekly-warning{background:#2a2515;color:#eadba9}
@media(max-width:760px){.b2-exception-head{display:grid}.b2-exception-head a{white-space:normal}.b2-exception-effective{display:grid;gap:3px}.b2-exception-compare{display:grid}.b2-next-following>div.is-exception{min-width:92px}}

/* B2 UX V0.3.3 · recorrido vivo, semántica de color y composición responsive */
.b2-trip-summary-section>.b2-trip-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}.b2-trip-service-badge{justify-self:end;max-width:310px;text-align:center}.b2-special-route-callout{display:grid;gap:2px;margin:2px 0 12px;padding:11px 13px;border:1px solid var(--line,#dbe3ec);border-radius:12px;background:var(--soft,#f4f7fb);color:var(--ink,#0d2b45)}.b2-special-route-callout span{font-size:9px;font-weight:900;letter-spacing:.12em;color:var(--blue,#1769aa)}.b2-special-route-callout strong{font-size:13px}.b2-route-summary-actions{display:grid;gap:8px;justify-items:start}.b2-route-summary-actions .muted-note{margin:0}.b2-route-summary-actions .b2-route-open{margin:0;position:relative}
/* Naranja = únicamente posición estimada del autobús. Las paradas conservan la familia azul. */
.b2-trip-summary li.is-origin .b2-trip-summary-node,.b2-trip-summary li.is-destination .b2-trip-summary-node{background:var(--b2-deep,#0f4c78);box-shadow:0 0 0 2px var(--b2-deep,#0f4c78)}.b2-trip-summary li.is-now .b2-trip-summary-node{width:13px;height:13px;margin-left:8px;background:#f5b942;box-shadow:0 0 0 4px rgba(245,185,66,.2)}.b2-trip-summary li.is-past:not(.is-selected) .b2-trip-summary-node{background:#b9cfde;box-shadow:0 0 0 2px #b9cfde}.b2-trip-summary li.is-next:not(.is-selected) .b2-trip-summary-node{background:#69a8d1;box-shadow:0 0 0 3px rgba(105,168,209,.18)}
.b2-full-route-timeline li.is-special .b2-full-route-node{background:var(--panel,#fff);box-shadow:0 0 0 2px #69a8d1}.b2-full-route-timeline li.is-origin .b2-full-route-node,.b2-full-route-timeline li.is-destination .b2-full-route-node{background:var(--b2-deep,#0f4c78);box-shadow:0 0 0 2px var(--b2-deep,#0f4c78)}.b2-full-route-timeline li.is-now .b2-full-route-node{width:14px;height:14px;margin-left:9px;background:#f5b942;box-shadow:0 0 0 4px rgba(245,185,66,.22)}.b2-full-route-timeline li.is-past:not(.is-selected) .b2-full-route-node{background:#b9cfde;box-shadow:0 0 0 2px #b9cfde}.b2-full-route-timeline li.is-next:not(.is-selected) .b2-full-route-node{background:#69a8d1;box-shadow:0 0 0 4px rgba(105,168,209,.18)}.b2-full-route-timeline li.is-past:not(.is-selected){opacity:.72}.b2-full-route-timeline li.is-now{opacity:1}.b2-full-route-timeline li.is-special .b2-full-route-stop small{color:var(--blue,#1769aa);font-weight:750}.b2-full-route-timeline li,.b2-trip-summary li{transition:opacity .2s ease,background-color .2s ease}.b2-full-route-node,.b2-trip-summary-node{transition:background-color .2s ease,box-shadow .2s ease}
.b2-route-legend i{background:transparent;border:2px solid #69a8d1;box-sizing:border-box}.b2-route-legend i.is-your{background:var(--b2-accent);border-color:var(--b2-accent)}.b2-route-legend i.is-now{background:#f5b942;border-color:#f5b942}.b2-route-source{margin-bottom:0}.b2-route-source-link{display:none!important}
html[data-theme=dark] .b2-special-route-callout{background:#102a40;border-color:#294a65;color:#eef7ff}html[data-theme=dark] .b2-special-route-callout span{color:#75c8f5}html[data-theme=dark] .b2-full-route-timeline li.is-special .b2-full-route-node{background:#0d2236;box-shadow:0 0 0 2px #69b9ea}html[data-theme=dark] .b2-trip-summary li.is-origin .b2-trip-summary-node,html[data-theme=dark] .b2-trip-summary li.is-destination .b2-trip-summary-node,html[data-theme=dark] .b2-full-route-timeline li.is-origin .b2-full-route-node,html[data-theme=dark] .b2-full-route-timeline li.is-destination .b2-full-route-node{background:#69b9ea;box-shadow:0 0 0 2px #69b9ea}
@media(max-width:760px){.b2-trip-summary-section>.b2-trip-heading{grid-template-columns:1fr;gap:10px}.b2-trip-service-badge{justify-self:start;max-width:100%;white-space:normal;text-align:left}.b2-trip-summary-section>.b2-trip-heading>div{min-width:0}.b2-trip-summary-section>.b2-trip-heading h2{font-size:28px}.b2-trip-summary-section>.b2-trip-heading p:not(.section-kicker){max-width:none}.b2-route-summary-actions{justify-items:stretch}.b2-route-summary-actions .b2-route-open{width:100%}.b2-special-route-callout{margin-top:4px}.b2-route-dialog-head{align-items:flex-start}.b2-route-dialog-subtitle{max-width:calc(100vw - 100px)}}
html[data-theme=dark] .b2-trip-summary li.is-now .b2-trip-summary-node,html[data-theme=dark] .b2-full-route-timeline li.is-now .b2-full-route-node{background:#f5b942;box-shadow:0 0 0 4px rgba(245,185,66,.24)}


/* B2 UX V0.3.4 · pulido fino del timeline: Tu parada no rompe el eje ni la columna horaria */
.b2-trip-summary li.is-selected,
.b2-full-route-timeline li.is-selected{
  margin-left:0;
  margin-right:0;
  border-radius:0;
  background:transparent;
}
.b2-trip-summary li.is-selected{margin-top:0;margin-bottom:0;padding:5px 0}
.b2-full-route-timeline li.is-selected{padding:4px 0}
.b2-trip-summary li.is-selected::after,
.b2-full-route-timeline li.is-selected::after{
  content:"";
  position:absolute;
  right:0;
  z-index:0;
  border:1px solid color-mix(in srgb,var(--b2-accent,#1769aa) 16%,transparent);
  background:color-mix(in srgb,var(--b2-accent-soft,#eaf4ff) 82%,var(--panel,#fff));
  box-shadow:0 1px 0 rgba(8,40,73,.03);
  pointer-events:none;
}
.b2-trip-summary li.is-selected::after{left:34px;top:2px;bottom:2px;border-radius:11px}
.b2-full-route-timeline li.is-selected::after{left:36px;top:1px;bottom:1px;border-radius:11px}
.b2-trip-summary li.is-selected .b2-trip-summary-node,
.b2-trip-summary li.is-selected .b2-trip-summary-stop,
.b2-trip-summary li.is-selected .b2-trip-summary-time,
.b2-full-route-timeline li.is-selected .b2-full-route-node,
.b2-full-route-timeline li.is-selected .b2-full-route-stop,
.b2-full-route-timeline li.is-selected .b2-full-route-time{
  position:relative;
  z-index:2;
}
.b2-trip-summary li.is-selected .b2-trip-summary-stop,
.b2-full-route-timeline li.is-selected .b2-full-route-stop{padding-left:4px}
.b2-trip-summary li.is-selected .b2-trip-summary-time,
.b2-full-route-timeline li.is-selected .b2-full-route-time{padding-right:2px}
.b2-trip-summary li.is-selected .b2-trip-summary-node,
.b2-full-route-timeline li.is-selected .b2-full-route-node{
  background:var(--b2-accent,#1769aa);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--b2-accent,#1769aa) 16%,transparent);
}
.b2-you-are-here{
  margin-top:3px;
  padding:2px 6px;
  font-size:8px!important;
  line-height:1.25;
  letter-spacing:.045em;
}
html[data-theme=dark] .b2-trip-summary li.is-selected,
html[data-theme=dark] .b2-full-route-timeline li.is-selected{background:transparent}
html[data-theme=dark] .b2-trip-summary li.is-selected::after,
html[data-theme=dark] .b2-full-route-timeline li.is-selected::after{
  border-color:#315b79;
  background:#123754;
  box-shadow:none;
}
@media(max-width:760px){
  .b2-trip-summary li.is-selected::after{left:31px}
  .b2-full-route-timeline li.is-selected::after{left:31px}
  .b2-trip-summary li.is-selected .b2-trip-summary-stop,
  .b2-full-route-timeline li.is-selected .b2-full-route-stop{padding-left:3px}
}


/* B3 Weather V2 */
.b3-weather-page{--w-blue:#1769aa;--w-deep:#0f4c78;--w-soft:#edf7fd;--w-line:#dce7ef;--w-muted:#637789;--w-yellow:#f3c84a;--w-orange:#ef8f36;--w-red:#d65353}.b3-weather-shell{padding-top:18px;padding-bottom:48px}.b3-weather-page .service-hero{background:linear-gradient(135deg,#eaf6fd,#f7fbfe)}.b3-weather-hero-value strong{font-size:42px}.b3-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.b3-section-head h2{margin:2px 0 0;font:700 29px/1.08 var(--serif)}.b3-source-link,.b3-weather-source-card a{font-size:12px;font-weight:850;color:var(--w-blue);text-decoration:none}.b3-weather-source-state{display:flex;justify-content:space-between;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid #e8c96f;border-radius:14px;background:#fff8e8;font-size:13px}.b3-weather-alerts,.b3-today,.b3-hours,.b3-days,.b3-observation,.b3-weather-source-card{background:var(--panel,#fff);border:1px solid var(--line,#dfe6ed);border-radius:18px;box-shadow:0 8px 26px rgba(28,64,94,.05)}.b3-weather-alerts{padding:20px;margin-bottom:18px}.b3-alert-summary{display:flex;gap:10px;align-items:center;margin:-4px 0 13px;font-size:12px;color:var(--w-muted)}.b3-alert-summary strong{color:var(--ink,#102f49)}.b3-alert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.b3-alert-card{position:relative;padding:15px;border:1px solid var(--w-line);border-radius:15px;background:#fff}.b3-alert-card.is-primary{grid-column:span 2;padding:18px}.b3-alert-yellow{border-color:#e4c65e;background:#fffaf0}.b3-alert-orange{border-color:#e99a4b;background:#fff6ec}.b3-alert-red{border-color:#d96868;background:#fff1f1}.b3-alert-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.b3-alert-badge{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.b3-alert-yellow .b3-alert-badge{background:#f7df80;color:#655000}.b3-alert-orange .b3-alert-badge{background:#f2aa63;color:#613000}.b3-alert-red .b3-alert-badge{background:#e47c7c;color:#591515}.b3-alert-state{font-size:10px;font-weight:800;color:var(--w-muted)}.b3-alert-value{margin:14px 0 1px;font:800 43px/1 var(--serif);color:var(--w-deep)}.b3-alert-card h3{margin:5px 0 8px;font-size:18px;line-height:1.15}.b3-alert-card.is-primary h3{font-size:23px}.b3-alert-card p{margin:10px 0 0;color:#425b6f;font-size:12px;line-height:1.5}.b3-alert-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--w-muted)}.b3-alert-meta strong{color:var(--ink,#102f49)}.b3-zone-note{margin:13px 0 0;color:var(--w-muted);font-size:11px}.b3-no-alerts{display:flex;gap:12px;align-items:center;padding:15px;border-radius:14px;background:#eef9f2;border:1px solid #bfe3cb}.b3-no-alerts>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#d8f1e0;color:#277344;font-weight:900}.b3-no-alerts div{display:grid;gap:2px}.b3-no-alerts small{color:var(--w-muted)}.b3-no-alerts.is-unknown{background:#fff8e8;border-color:#e8c96f}.b3-weather-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.b3-weather-main{display:grid;gap:18px}.b3-today,.b3-hours,.b3-days{padding:20px}.b3-source-chip{padding:5px 8px;border-radius:999px;background:var(--w-soft);color:var(--w-deep);font-size:10px;font-weight:850}.b3-today-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:10px}.b3-today-main,.b3-weather-fact{display:grid;align-content:center;gap:4px;padding:14px;border-radius:14px;background:#f6f9fc}.b3-today-main{background:linear-gradient(135deg,#eaf6fd,#f7fbfe)}.b3-today-main span,.b3-weather-fact span{font-size:10px;font-weight:800;color:var(--w-muted);text-transform:uppercase;letter-spacing:.04em}.b3-today-main strong{font:800 35px/1 var(--serif);color:var(--w-deep)}.b3-today-main strong em{font-style:normal;color:#8da3b5}.b3-today-main small{color:#425b6f}.b3-weather-fact strong{font-size:18px}.b3-hour-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(118px,1fr);gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.b3-hour-strip article{display:grid;gap:5px;align-content:start;min-height:124px;padding:12px;border:1px solid var(--w-line);border-radius:13px;background:#fbfdff}.b3-hour-strip time{font-size:11px;font-weight:850;color:var(--w-muted)}.b3-hour-strip strong{font:800 28px/1 var(--serif);color:var(--w-deep)}.b3-hour-strip span{font-size:11px;font-weight:750;line-height:1.25}.b3-hour-strip small{font-size:9px;line-height:1.35;color:var(--w-muted)}.b3-day-list{display:grid}.b3-day-list article{display:grid;grid-template-columns:minmax(0,1fr) 90px 74px;gap:12px;align-items:center;padding:12px 2px;border-top:1px solid var(--w-line)}.b3-day-list article:first-child{border-top:0}.b3-day-list article>div:first-child{display:grid;gap:2px}.b3-day-list article>div:first-child span{font-size:11px;color:var(--w-muted)}.b3-day-rain{display:grid;gap:1px}.b3-day-rain small{font-size:9px;color:var(--w-muted)}.b3-day-temp{display:flex;justify-content:flex-end;gap:7px;font-size:18px}.b3-day-temp span{color:#7e92a3}.b3-weather-aside{display:grid;gap:14px;position:sticky;top:84px}.b3-observation,.b3-weather-source-card{padding:17px}.b3-observation h2{margin:5px 0 2px;font:800 40px/1 var(--serif);color:var(--w-deep)}.b3-observation p,.b3-weather-source-card p{color:#4d6578;font-size:12px;line-height:1.5}.b3-observation dl{display:grid;margin:13px 0}.b3-observation dl div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--w-line);font-size:11px}.b3-observation dt{color:var(--w-muted)}.b3-observation dd{margin:0;font-weight:800}.b3-observation>small{display:block;color:var(--w-muted);font-size:9px;line-height:1.45}.b3-observation.is-unavailable h2{font-size:22px;line-height:1.15}.b3-weather-source-card h3{margin:5px 0 7px}.b3-empty-state{padding:15px;border-radius:13px;background:#f6f9fc;display:grid;gap:3px}.b3-empty-state span{font-size:11px;color:var(--w-muted)}
.b3-home-important{margin-top:16px;margin-bottom:-4px}.b3-home-important-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.b3-home-important-head p{margin:0}.b3-home-important-head span{font-size:10px;color:var(--muted,#667085)}.b3-home-weather-alert{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:16px 18px;border:1px solid #e99a4b;border-radius:16px;background:#fff6ec;color:inherit;text-decoration:none}.b3-home-weather-alert.b3-alert-yellow{border-color:#e4c65e;background:#fffaf0}.b3-home-weather-alert.b3-alert-red{border-color:#d96868;background:#fff1f1}.b3-home-alert-badge{font-size:9px;font-weight:900;letter-spacing:.08em}.b3-home-weather-alert>strong{font:800 30px/1 var(--serif);color:var(--w-deep)}.b3-home-weather-alert>div{display:grid;gap:2px}.b3-home-weather-alert small{color:var(--w-muted)}.service-weather-alert{border-color:#e6bb57}.service-weather-real .service-evidence{grid-column:2/4}
html[data-theme=dark] .b3-weather-page{--w-soft:#102a40;--w-line:#294a65;--w-muted:#adc1d1}.b3-weather-page{}html[data-theme=dark] .b3-weather-page .service-hero{background:linear-gradient(135deg,#0e2c43,#123952)}html[data-theme=dark] .b3-weather-alerts,html[data-theme=dark] .b3-today,html[data-theme=dark] .b3-hours,html[data-theme=dark] .b3-days,html[data-theme=dark] .b3-observation,html[data-theme=dark] .b3-weather-source-card{background:#0d2236;border-color:#294a65;color:#eef7ff}html[data-theme=dark] .b3-alert-card{background:#102a40;border-color:#35536d;color:#eef7ff}html[data-theme=dark] .b3-alert-yellow{background:#2a2515;border-color:#66561f}html[data-theme=dark] .b3-alert-orange{background:#332115;border-color:#80512b}html[data-theme=dark] .b3-alert-red{background:#351b1b;border-color:#7b3939}html[data-theme=dark] .b3-alert-card p,html[data-theme=dark] .b3-today-main small,html[data-theme=dark] .b3-weather-source-card p,html[data-theme=dark] .b3-observation p{color:#c4d4e0}html[data-theme=dark] .b3-alert-value,html[data-theme=dark] .b3-today-main strong,html[data-theme=dark] .b3-hour-strip strong,html[data-theme=dark] .b3-observation h2,html[data-theme=dark] .b3-home-weather-alert>strong{color:#eaf6ff}html[data-theme=dark] .b3-today-main,html[data-theme=dark] .b3-weather-fact,html[data-theme=dark] .b3-empty-state{background:#102a40}html[data-theme=dark] .b3-hour-strip article{background:#102a40;border-color:#294a65}html[data-theme=dark] .b3-weather-source-state{background:#2a2515;border-color:#66561f;color:#eadba9}html[data-theme=dark] .b3-home-weather-alert{background:#332115;color:#eef7ff}html[data-theme=dark] .b3-home-weather-alert.b3-alert-yellow{background:#2a2515}html[data-theme=dark] .b3-home-weather-alert.b3-alert-red{background:#351b1b}
@media(max-width:980px){.b3-weather-layout{grid-template-columns:1fr}.b3-weather-aside{grid-template-columns:1fr 1fr;position:static}.b3-today-grid{grid-template-columns:2fr repeat(2,1fr)}.b3-alert-grid{grid-template-columns:1fr 1fr}.b3-alert-card.is-primary{grid-column:1/-1}}
@media(max-width:680px){.b3-weather-shell{padding-top:12px}.b3-section-head{align-items:flex-start}.b3-section-head h2{font-size:25px}.b3-source-link{font-size:10px}.b3-alert-grid{grid-template-columns:1fr}.b3-alert-card.is-primary{grid-column:auto}.b3-alert-card.is-primary h3{font-size:20px}.b3-alert-value{font-size:38px}.b3-alert-top{align-items:flex-start}.b3-alert-state{text-align:right}.b3-today,.b3-hours,.b3-days,.b3-weather-alerts{padding:15px}.b3-today-grid{grid-template-columns:1fr 1fr}.b3-today-main{grid-column:1/-1}.b3-hour-strip{margin-right:-15px;padding-right:15px}.b3-day-list article{grid-template-columns:minmax(0,1fr) 66px 60px;gap:8px}.b3-day-list article>div:first-child span{font-size:10px}.b3-weather-aside{grid-template-columns:1fr}.b3-home-weather-alert{grid-template-columns:auto minmax(0,1fr) auto;gap:10px}.b3-home-weather-alert>strong{grid-row:2;grid-column:1/2;font-size:25px}.b3-home-weather-alert>div{grid-column:2/3;grid-row:1/3}.b3-home-weather-alert .row-link{grid-column:3;grid-row:1/3}.b3-home-alert-badge{grid-column:1/2}.b3-home-important-head{align-items:flex-start}.b3-weather-source-state{display:grid}}

/* B3 Weather V0.1.1 · lenguaje ciudadano + flujo sin sidebar flotante */
.b3-weather-layout{display:block}
.b3-weather-main{display:grid;gap:18px}
.b3-weather-aside{position:static;display:none}
.b3-nearby-now{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:18px;align-items:center;padding:18px 20px;background:var(--panel,#fff);border:1px solid var(--line,#dfe6ed);border-radius:18px;box-shadow:0 8px 26px rgba(28,64,94,.05)}
.b3-nearby-main{min-width:0}
.b3-nearby-main .section-kicker{margin-bottom:6px}
.b3-nearby-value-row{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.b3-nearby-value-row h2{margin:0;font:800 38px/1 var(--serif);color:var(--w-deep)}
.b3-nearby-value-row span{font-size:12px;font-weight:750;color:var(--w-muted)}
.b3-nearby-main>p:last-child{margin:8px 0 0;color:#4d6578;font-size:11px;line-height:1.45}
.b3-nearby-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.b3-nearby-facts>div{display:grid;gap:4px;padding:12px 14px;border-radius:13px;background:#f6f9fc}
.b3-nearby-facts span{font-size:10px;font-weight:800;color:var(--w-muted);text-transform:uppercase;letter-spacing:.04em}
.b3-nearby-facts strong{font-size:16px;line-height:1.25}
.b3-weather-simple-source{margin:0;padding:2px 2px 0;color:var(--w-muted);font-size:11px}
.b3-weather-simple-source a{font-weight:800;color:var(--w-blue);text-decoration:none}
html[data-theme=dark] .b3-nearby-now{background:#0d2236;border-color:#294a65;color:#eef7ff}
html[data-theme=dark] .b3-nearby-value-row h2{color:#eaf6ff}
html[data-theme=dark] .b3-nearby-main>p:last-child{color:#c4d4e0}
html[data-theme=dark] .b3-nearby-facts>div{background:#102a40}
@media(max-width:760px){.b3-nearby-now{grid-template-columns:1fr;padding:15px}.b3-nearby-facts{grid-template-columns:1fr 1fr}.b3-nearby-value-row h2{font-size:34px}}
@media(max-width:460px){.b3-nearby-facts{grid-template-columns:1fr}}

/* B3 Weather V0.1.2 · compact desktop + responsive hardening */
.b3-weather-page{max-width:100%;overflow-x:clip}
.b3-weather-page .service-hero>.shell,.b3-weather-shell{width:min(1040px,calc(100% - 32px))}
.b3-weather-page .service-hero{padding-top:28px;padding-bottom:30px}
.b3-weather-page .service-hero h1{font-size:42px;line-height:1.02}
.b3-weather-page .service-hero p:not(.eyebrow){font-size:15px}
.b3-weather-hero-value strong{font-size:36px}
.b3-weather-shell{padding-top:14px;padding-bottom:40px}
.b3-weather-main,.b3-weather-alerts,.b3-alert-grid,.b3-alert-card,.b3-today-grid,.b3-hour-strip,.b3-day-list,.b3-nearby-now,.b3-nearby-main,.b3-nearby-facts{min-width:0;max-width:100%}
.b3-weather-alerts{padding:16px;margin-bottom:14px}
.b3-section-head{margin-bottom:12px}
.b3-section-head h2{font-size:25px}
.b3-alert-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.b3-alert-card,.b3-alert-card.is-primary{grid-column:auto;padding:14px}
.b3-alert-value{margin-top:10px;font-size:34px}
.b3-alert-card h3,.b3-alert-card.is-primary h3{font-size:17px}
.b3-alert-card p{font-size:11px;line-height:1.42}
.b3-alert-meta{font-size:10px;gap:9px}
.b3-zone-note{margin-top:10px}
.b3-today,.b3-hours,.b3-days{padding:17px}
.b3-nearby-now{padding:16px 17px}
.b3-alert-card h3,.b3-alert-card p,.b3-alert-meta,.b3-zone-note,.b3-nearby-now,.b3-day-list article,.b3-hour-strip article{overflow-wrap:anywhere}
@media(max-width:900px){
  .b3-weather-page .service-hero>.shell,.b3-weather-shell{width:calc(100% - 28px);max-width:100%}
  .b3-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b3-alert-card.is-primary{grid-column:auto}
}
@media(max-width:640px){
  .b3-weather-page{overflow-x:hidden}
  .b3-weather-page .service-hero>.shell,.b3-weather-shell{width:calc(100% - 24px);max-width:100%}
  .b3-weather-page .service-hero{padding:16px 0 18px}
  .b3-weather-page .service-hero h1{font-size:31px}
  .b3-weather-page .service-hero p:not(.eyebrow){font-size:13px}
  .b3-weather-shell{padding-top:10px;padding-bottom:30px}
  .b3-section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;align-items:start}
  .b3-section-head h2{font-size:23px}
  .b3-source-link{justify-self:start;white-space:normal}
  .b3-weather-alerts,.b3-today,.b3-hours,.b3-days{padding:13px;border-radius:15px}
  .b3-alert-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .b3-alert-card,.b3-alert-card.is-primary{width:100%;padding:12px;border-radius:13px}
  .b3-alert-top{flex-wrap:wrap;align-items:flex-start}
  .b3-alert-state{margin-left:auto}
  .b3-alert-value{font-size:31px}
  .b3-alert-card h3,.b3-alert-card.is-primary h3{font-size:16px}
  .b3-alert-card p{font-size:11px}
  .b3-alert-summary{flex-wrap:wrap}
  .b3-today-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .b3-today-main{grid-column:1/-1}
  .b3-weather-fact{min-width:0;padding:11px}
  .b3-weather-fact strong{font-size:16px;overflow-wrap:anywhere}
  .b3-hour-strip{width:100%;margin:0;padding:0 0 5px;grid-auto-columns:minmax(104px,42vw);overscroll-behavior-inline:contain}
  .b3-day-list article{grid-template-columns:minmax(0,1fr) 58px 56px;gap:6px}
  .b3-nearby-now{width:100%;grid-template-columns:minmax(0,1fr);gap:12px;padding:13px;border-radius:15px}
  .b3-nearby-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .b3-nearby-facts>div{min-width:0;padding:10px}
  .b3-nearby-value-row{align-items:flex-start;gap:8px}
  .b3-nearby-value-row h2{font-size:31px}
  .b3-nearby-value-row span{width:100%}
}
@media(max-width:420px){
  .b3-today-grid,.b3-nearby-facts{grid-template-columns:minmax(0,1fr)}
  .b3-today-main{grid-column:auto}
  .b3-day-list article{grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .b3-day-rain{grid-column:1;grid-row:2}
  .b3-day-temp{grid-column:2;grid-row:1/3;align-self:center}
}

/* B3 Weather V0.1.3 · Safari grid containment repair */
.b3-weather-layout{
  min-width:0;
  width:100%;
  max-width:100%;
}
.b3-weather-main{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  min-width:0;
  width:100%;
  max-width:100%;
}
.b3-weather-main>*{
  min-width:0;
  width:100%;
  max-width:100%;
}
.b3-section-head,
.b3-section-head>div,
.b3-section-head h2,
.b3-today-grid,
.b3-day-list,
.b3-day-list article,
.b3-day-list article>*,
.b3-nearby-now,
.b3-nearby-main,
.b3-nearby-value-row,
.b3-nearby-value-row>*{
  min-width:0;
  max-width:100%;
}
.b3-section-head h2{
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
.b3-hour-strip{
  min-width:0;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
}
@media(max-width:640px){
  .b3-weather-main{grid-template-columns:minmax(0,1fr)}
  .b3-weather-main>*{inline-size:100%;max-inline-size:100%}
  .b3-section-head h2{font-size:21px;line-height:1.12}
  .b3-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b3-today-main{grid-column:1/-1}
  .b3-weather-fact{min-height:0}
  .b3-nearby-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b3-day-list article>div:first-child strong,
  .b3-day-list article>div:first-child span{overflow-wrap:anywhere}
}
@media(max-width:350px){
  .b3-today-grid,.b3-nearby-facts{grid-template-columns:minmax(0,1fr)}
}

/* B4 Mercado semanal V0.1 · citizen-first compact responsive */
.b4-market-page{max-width:100%;overflow-x:clip}
.b4-market-intro{padding:22px 0 24px;background:linear-gradient(180deg,rgba(239,247,252,.72),rgba(255,255,255,0));border-bottom:1px solid var(--line,#dfe6ed)}
.b4-market-intro>.shell,.b4-market-shell{width:min(1040px,calc(100% - 32px))}
.b4-market-intro-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,.7fr);gap:24px;align-items:end;margin-top:12px}
.b4-market-intro h1{margin:2px 0 7px;font:800 36px/1.04 var(--serif);letter-spacing:-.025em}
.b4-market-intro p:not(.eyebrow){max-width:650px;margin:0;color:var(--muted,#5f7280);font-size:14px;line-height:1.45}
.b4-market-intro-now{display:grid;gap:3px;padding:13px 15px;border:1px solid var(--line,#dfe6ed);border-radius:15px;background:var(--panel,#fff);box-shadow:0 7px 22px rgba(28,64,94,.05)}
.b4-market-intro-now span{font-size:10px;font-weight:850;letter-spacing:.06em;color:var(--blue,#1766a3)}
.b4-market-intro-now strong{font-size:16px;line-height:1.25}
.b4-market-intro-now small{color:var(--muted,#5f7280);font-weight:700}
.b4-market-shell{display:grid;gap:16px;padding-top:16px;padding-bottom:42px}
.b4-market-status,.b4-market-section,.b4-market-useful>article,.b4-market-source{min-width:0;padding:18px 20px;border:1px solid var(--line,#dfe6ed);border-radius:18px;background:var(--panel,#fff);box-shadow:0 8px 26px rgba(28,64,94,.05)}
.b4-market-status{border-top:4px solid #4b95c8}
.b4-market-status.is-live{border-top-color:#2d9f72}.b4-market-status.is-change{border-top-color:#d7922d}.b4-market-status.is-unavailable{border-top-color:#8998a5}
.b4-market-status-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.b4-market-status h2,.b4-market-section h2,.b4-market-useful h2,.b4-market-source h2{margin:3px 0 0;font:800 24px/1.12 var(--serif);letter-spacing:-.015em}
.b4-market-state{display:inline-flex;align-items:center;gap:6px;flex:none;padding:7px 10px;border-radius:999px;background:#eaf4fb;color:#235d86;font-size:10px;font-weight:850;letter-spacing:.035em}
.b4-market-state.is-live{background:#e7f7ef;color:#176943}.b4-market-state.is-change{background:#fff2da;color:#805315}.b4-market-state i,.b4-home-market-dot{width:7px;height:7px;border-radius:50%;background:#d64040;box-shadow:0 0 0 4px rgba(214,64,64,.12);animation:b4pulse 1.7s ease-in-out infinite;display:inline-block}
@keyframes b4pulse{50%{opacity:.45;transform:scale(.82)}}
.b4-market-facts{display:grid;grid-template-columns:1.35fr .8fr .8fr;gap:10px;margin-top:16px}
.b4-market-facts>div{display:grid;gap:4px;min-width:0;padding:12px 13px;border-radius:13px;background:#f6f9fc}
.b4-market-facts span{font-size:10px;font-weight:850;letter-spacing:.045em;color:var(--muted,#5f7280);text-transform:uppercase}.b4-market-facts strong{font-size:16px;line-height:1.22;overflow-wrap:anywhere}.b4-market-facts small{font-size:10px;color:var(--muted,#5f7280)}
.b4-market-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.b4-market-actions .button{min-height:42px}.b4-market-actions img{width:16px;height:16px}
.b4-market-notice{display:grid;gap:2px;margin-top:14px;padding:11px 13px;border-radius:12px;background:#edf6fc;color:#31566f;font-size:11px;line-height:1.4}.b4-market-notice.warning{background:#fff0e4;color:#744a28}.b4-market-notice.info{background:#eef5fb}.b4-market-notice strong{font-size:12px}
.b4-market-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:12px}.b4-market-heading p:last-child{margin:6px 0 0;color:var(--muted,#5f7280);font-size:12px;line-height:1.45}
.b4-market-upcoming{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.b4-market-upcoming article{display:grid;gap:7px;min-width:0;padding:12px 13px;border:1px solid var(--line,#dfe6ed);border-radius:13px;background:#fbfdff}.b4-market-upcoming article>div{display:grid;gap:3px}.b4-market-upcoming strong{font-size:13px;line-height:1.25}.b4-market-upcoming span,.b4-market-upcoming small{color:var(--muted,#5f7280);font-size:10px;line-height:1.35;overflow-wrap:anywhere}.b4-market-upcoming .is-cancelled{background:#fff3ee;border-color:#efd1c6}.b4-market-upcoming .is-cancelled span{color:#9a452f;font-weight:800}
.b4-market-week{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.b4-market-week article{display:grid;gap:4px;padding:13px 14px;border-radius:13px;background:#f6f9fc}.b4-market-week span{font-size:10px;font-weight:850;letter-spacing:.05em;color:var(--blue,#1766a3)}.b4-market-week strong{font-size:15px;line-height:1.2}.b4-market-week small{font-size:10px;color:var(--muted,#5f7280)}
.b4-market-product-list{display:flex;flex-wrap:wrap;gap:8px}.b4-market-product-list span{padding:8px 10px;border-radius:999px;background:#f1f6fa;font-size:11px;font-weight:750;color:#34556c}
.b4-market-useful{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.b4-market-useful>article{padding:15px}.b4-market-useful h2{font-size:19px}.b4-market-useful p:last-child{margin:8px 0 0;color:var(--muted,#5f7280);font-size:11px;line-height:1.5}
.b4-market-source{display:flex;align-items:center;justify-content:space-between;gap:18px}.b4-market-source>div{min-width:0}.b4-market-source h2{font-size:20px}.b4-market-source p:last-child{margin:6px 0 0;max-width:720px;color:var(--muted,#5f7280);font-size:11px;line-height:1.5}.b4-market-source>a{flex:none;font-size:11px;font-weight:800;text-decoration:none;color:var(--blue,#1766a3)}
.service-market-real .status{display:inline-flex;align-items:center;gap:5px}
html[data-theme=dark] .b4-market-intro{background:linear-gradient(180deg,rgba(18,47,70,.62),rgba(13,34,54,0));border-color:#294a65}html[data-theme=dark] .b4-market-intro-now,html[data-theme=dark] .b4-market-status,html[data-theme=dark] .b4-market-section,html[data-theme=dark] .b4-market-useful>article,html[data-theme=dark] .b4-market-source{background:#0d2236;border-color:#294a65;color:#eef7ff}html[data-theme=dark] .b4-market-facts>div,html[data-theme=dark] .b4-market-week article,html[data-theme=dark] .b4-market-product-list span,html[data-theme=dark] .b4-market-upcoming article{background:#102a40;border-color:#294a65;color:#eaf6ff}html[data-theme=dark] .b4-market-intro p:not(.eyebrow),html[data-theme=dark] .b4-market-intro-now small,html[data-theme=dark] .b4-market-facts span,html[data-theme=dark] .b4-market-facts small,html[data-theme=dark] .b4-market-heading p:last-child,html[data-theme=dark] .b4-market-upcoming span,html[data-theme=dark] .b4-market-upcoming small,html[data-theme=dark] .b4-market-week small,html[data-theme=dark] .b4-market-useful p:last-child,html[data-theme=dark] .b4-market-source p:last-child{color:#c4d4e0}html[data-theme=dark] .b4-market-product-list span{color:#d6e7f3}
@media(max-width:820px){.b4-market-intro-grid{grid-template-columns:minmax(0,1fr)}.b4-market-intro-now{max-width:430px}.b4-market-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.b4-market-facts>div:first-child{grid-column:1/-1}.b4-market-upcoming{grid-template-columns:repeat(2,minmax(0,1fr))}.b4-market-useful{grid-template-columns:1fr 1fr}.b4-market-useful>article:last-child{grid-column:1/-1}}
@media(max-width:640px){.b4-market-page{overflow-x:hidden}.b4-market-intro>.shell,.b4-market-shell{width:calc(100% - 24px);max-width:100%}.b4-market-intro{padding:15px 0 17px}.b4-market-intro-grid{gap:12px;margin-top:8px}.b4-market-intro h1{font-size:29px;line-height:1.05}.b4-market-intro p:not(.eyebrow){font-size:12px}.b4-market-intro-now{padding:10px 12px}.b4-market-shell{gap:12px;padding-top:12px;padding-bottom:30px}.b4-market-status,.b4-market-section,.b4-market-source{padding:13px;border-radius:15px}.b4-market-status-top{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.b4-market-state{justify-self:start}.b4-market-status h2,.b4-market-section h2{font-size:21px}.b4-market-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.b4-market-facts>div:first-child{grid-column:1/-1}.b4-market-facts>div{padding:10px}.b4-market-facts strong{font-size:14px}.b4-market-actions{display:grid;grid-template-columns:1fr}.b4-market-actions .button{width:100%;justify-content:center}.b4-market-upcoming{grid-template-columns:minmax(0,1fr);gap:7px}.b4-market-upcoming article{grid-template-columns:minmax(0,1fr) auto;align-items:center}.b4-market-upcoming small{text-align:right;max-width:150px}.b4-market-week{grid-template-columns:minmax(0,1fr)}.b4-market-week article{grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:8px}.b4-market-useful{grid-template-columns:minmax(0,1fr)}.b4-market-useful>article:last-child{grid-column:auto}.b4-market-source{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.b4-market-source>a{justify-self:start}.b4-market-product-list{gap:6px}.b4-market-product-list span{font-size:10px;padding:7px 9px}}
@media(max-width:390px){.b4-market-facts{grid-template-columns:minmax(0,1fr)}.b4-market-facts>div:first-child{grid-column:auto}.b4-market-upcoming article{grid-template-columns:minmax(0,1fr)}.b4-market-upcoming small{text-align:left;max-width:none}.b4-market-week article{grid-template-columns:62px minmax(0,1fr);}.b4-market-week small{grid-column:2}}

/* B4 Mercado semanal UX V0.1.2 · less repetition + citizen language */
.b4-market-v012 .b4-market-intro-grid{grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
.b4-market-v012 .b4-market-routine{max-width:none;font-weight:650;color:var(--muted,#5f7280)}
.b4-market-v012 .b4-market-shell{gap:13px}
.b4-market-v012 .b4-market-status{padding:18px 20px}
.b4-market-v012 .b4-market-next-line{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line,#dfe6ed)}
.b4-market-v012 .b4-market-next-line>div{display:grid;gap:3px;min-width:0}
.b4-market-v012 .b4-market-next-line strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.b4-market-v012 .b4-market-next-line small{font-size:11px;line-height:1.4;color:var(--muted,#5f7280);overflow-wrap:anywhere}
.b4-market-v012 .b4-market-next-line>span{flex:none;padding:7px 10px;border-radius:999px;background:#f1f6fa;color:#34556c;font-size:12px;font-weight:800}
.b4-market-v012 .b4-market-actions{align-items:center;margin-top:12px}
.b4-market-v012 .b4-market-text-link{font-size:12px;font-weight:800;text-decoration:none;color:var(--blue,#1766a3)}
.b4-market-v012 .b4-market-after-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.b4-market-v012 .b4-market-after-list article{display:grid;gap:3px;min-width:0;padding:11px 12px;border-radius:12px;background:#f6f9fc}
.b4-market-v012 .b4-market-after-list strong{font-size:12px;line-height:1.3}
.b4-market-v012 .b4-market-after-list span{font-size:11px;line-height:1.35;color:var(--muted,#5f7280);overflow-wrap:anywhere}
.b4-market-v012 .b4-market-after-list small{font-size:9px;font-weight:800;color:#8b5c1a;text-transform:uppercase;letter-spacing:.03em}
.b4-market-v012 .b4-market-after-list .is-cancelled{background:#fff3ee}.b4-market-v012 .b4-market-after-list .is-cancelled span{color:#9a452f;font-weight:800}
.b4-market-v012 .b4-market-more{margin-top:10px}
.b4-market-v012 .b4-market-more summary{display:inline-flex;cursor:pointer;color:var(--blue,#1766a3);font-size:11px;font-weight:800;list-style:none}.b4-market-v012 .b4-market-more summary::-webkit-details-marker{display:none}.b4-market-v012 .b4-market-more summary::after{content:' +';margin-left:3px}.b4-market-v012 .b4-market-more[open] summary::after{content:' −'}
.b4-market-v012 .b4-market-after-list.is-more{margin-top:9px}
.b4-market-v012 .b4-market-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.b4-market-v012 .b4-market-place-grid article{display:grid;gap:4px;min-width:0;padding:13px 14px;border-radius:13px;background:#f6f9fc}
.b4-market-v012 .b4-market-place-grid span{font-size:10px;font-weight:850;color:var(--blue,#1766a3)}
.b4-market-v012 .b4-market-place-grid strong{font-size:15px;line-height:1.25}.b4-market-v012 .b4-market-place-grid small{font-size:10px;line-height:1.4;color:var(--muted,#5f7280);overflow-wrap:anywhere}
.b4-market-v012 .b4-market-place-grid a{margin-top:3px;font-size:11px;font-weight:800;text-decoration:none;color:var(--blue,#1766a3)}
.b4-market-v012 .b4-market-products .b4-market-heading,.b4-market-v012 .b4-market-practical .b4-market-heading{margin-bottom:10px}
.b4-market-v012 .b4-market-practical-list{display:grid}
.b4-market-v012 .b4-market-practical-list p{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;margin:0;padding:10px 0;border-top:1px solid var(--line,#dfe6ed)}
.b4-market-v012 .b4-market-practical-list p:first-child{padding-top:0;border-top:0}.b4-market-v012 .b4-market-practical-list p:last-child{padding-bottom:0}
.b4-market-v012 .b4-market-practical-list strong{font-size:12px}.b4-market-v012 .b4-market-practical-list span{font-size:11px;line-height:1.45;color:var(--muted,#5f7280)}
.b4-market-v012 .b4-market-source-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 3px 0;color:var(--muted,#5f7280);font-size:10px;line-height:1.4}
.b4-market-v012 .b4-market-source-line a{flex:none;font-weight:800;text-decoration:none;color:var(--blue,#1766a3)}
.b4-market-v012 .b4-market-fallback{margin:9px 0 0;color:var(--muted,#5f7280);font-size:12px;line-height:1.5}
html[data-theme=dark] .b4-market-v012 .b4-market-next-line{border-color:#294a65}html[data-theme=dark] .b4-market-v012 .b4-market-next-line small,html[data-theme=dark] .b4-market-v012 .b4-market-practical-list span,html[data-theme=dark] .b4-market-v012 .b4-market-source-line,html[data-theme=dark] .b4-market-v012 .b4-market-after-list span,html[data-theme=dark] .b4-market-v012 .b4-market-place-grid small{color:#c4d4e0}html[data-theme=dark] .b4-market-v012 .b4-market-next-line>span,html[data-theme=dark] .b4-market-v012 .b4-market-after-list article,html[data-theme=dark] .b4-market-v012 .b4-market-place-grid article{background:#102a40;color:#eaf6ff}html[data-theme=dark] .b4-market-v012 .b4-market-practical-list p{border-color:#294a65}
@media(max-width:640px){.b4-market-v012 .b4-market-routine{font-size:11px;line-height:1.5}.b4-market-v012 .b4-market-next-line{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.b4-market-v012 .b4-market-next-line>span{justify-self:start}.b4-market-v012 .b4-market-actions{display:flex;flex-wrap:wrap}.b4-market-v012 .b4-market-actions .button{width:auto}.b4-market-v012 .b4-market-after-list{grid-template-columns:minmax(0,1fr)}.b4-market-v012 .b4-market-after-list article{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.b4-market-v012 .b4-market-after-list article small{grid-column:1/-1}.b4-market-v012 .b4-market-place-grid{grid-template-columns:minmax(0,1fr)}.b4-market-v012 .b4-market-practical-list p{grid-template-columns:minmax(0,1fr);gap:3px;padding:9px 0}.b4-market-v012 .b4-market-source-line{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}.b4-market-v012 .b4-market-source-line a{justify-self:start}}

/* B5 Festivos V2 V0.1 · citizen-first real calendar */
.b5-holidays-page{overflow-x:hidden}.b5-holiday-intro{padding-top:24px;padding-bottom:10px}.b5-holiday-intro .back-link{margin-bottom:14px}.b5-holiday-intro h1{font:800 36px/1.04 var(--serif);letter-spacing:-.025em;margin:0 0 8px;color:var(--ink)}.b5-holiday-intro>p:last-child{margin:0;max-width:720px;color:var(--muted);font-size:14px}.b5-holidays-shell{max-width:1040px;margin-top:10px;margin-bottom:30px}.b5-next-card,.b5-calendar-card,.b5-commerce-card,.b5-practical-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(8,40,73,.045)}.b5-next-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(250px,.7fr);gap:18px;align-items:center;padding:20px;border-top:4px solid var(--blue)}.b5-date-tile{width:74px;height:74px;border-radius:16px;background:var(--soft);display:grid;place-items:center;align-content:center;color:var(--navy)}.b5-date-tile strong{font:800 33px/1 var(--serif)}.b5-date-tile span{font-size:10px;font-weight:900;letter-spacing:.11em}.b5-next-copy h2{font:800 27px/1.08 var(--serif);margin:1px 0 5px}.b5-next-date{margin:0;color:var(--ink);font-weight:750;font-size:14px}.b5-next-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.b5-next-meta span{font-size:11px;color:var(--muted);background:var(--soft);border-radius:999px;padding:5px 8px}.b5-commerce-status{border-left:1px solid var(--line);padding-left:18px;min-width:0}.b5-commerce-status span,.b5-commerce-status strong,.b5-commerce-status small{display:block}.b5-commerce-status span{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--muted)}.b5-commerce-status strong{font:800 17px/1.15 var(--serif);margin:4px 0}.b5-commerce-status small{font-size:11px;line-height:1.45;color:var(--muted)}.b5-commerce-open strong{color:#287444}.b5-commerce-limited strong{color:#9b6711}.b5-commerce-pending strong{color:var(--muted)}.b5-next-unavailable{grid-template-columns:1fr}.b5-year-tabs{display:flex;gap:8px;margin:14px 0 10px}.b5-year-tabs a{padding:8px 15px;border:1px solid var(--line);background:var(--panel);border-radius:999px;font-weight:850;font-size:12px}.b5-year-tabs a.active{background:var(--navy);color:#fff;border-color:var(--navy)}.b5-calendar-card,.b5-commerce-card,.b5-practical-card{padding:19px;margin-top:12px}.b5-section-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:12px}.b5-section-head h2{font:800 24px/1.08 var(--serif);margin:0}.b5-count{font-size:10px;font-weight:850;color:var(--muted);background:var(--soft);padding:7px 10px;border-radius:999px;white-space:nowrap}.b5-holiday-list{display:grid}.b5-holiday-list article{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line);min-width:0}.b5-holiday-list article:first-child{border-top:0}.b5-holiday-list time{width:50px;height:50px;border-radius:11px;background:var(--soft);display:grid;place-items:center;align-content:center}.b5-holiday-list time strong{font:800 21px/1 var(--serif)}.b5-holiday-list time span{font-size:8px;font-weight:900;letter-spacing:.08em}.b5-holiday-list article>div{min-width:0}.b5-holiday-list article>div strong,.b5-holiday-list article>div span{display:block}.b5-holiday-list article>div strong{font:750 15px/1.15 var(--serif)}.b5-holiday-list article>div span{font-size:11px;color:var(--muted);margin-top:3px}.b5-local-badge{font-size:9px;letter-spacing:.08em;background:#e8f2ff;color:#245d8a;padding:5px 7px;border-radius:999px}.b5-holiday-list article.is-local time{background:#e8f2ff}.b5-empty{margin:4px 0;color:var(--muted);font-size:13px}.b5-past-details,.b5-commerce-details{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.b5-past-details summary,.b5-commerce-details summary{cursor:pointer;color:var(--blue);font-size:12px;font-weight:850;list-style:none}.b5-past-details summary::-webkit-details-marker,.b5-commerce-details summary::-webkit-details-marker{display:none}.b5-past-details summary:after,.b5-commerce-details summary:after{content:' +';font-weight:900}.b5-past-details[open] summary:after,.b5-commerce-details[open] summary:after{content:' −'}.b5-past-list{margin-top:8px;opacity:.76}.b5-commerce-card>p{max-width:760px;margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.55}.b5-commerce-card>p strong{color:var(--ink)}.b5-commerce-dates{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:10px}.b5-commerce-dates span{background:var(--soft);border-radius:9px;padding:8px 5px;text-align:center;font-size:10px;font-weight:800;white-space:nowrap}.b5-commerce-note{margin-top:12px!important}.b5-exception-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:12px}.b5-small-note{font-size:11px;color:var(--muted);margin:10px 0 0}.b5-pending-commerce{background:var(--soft);border-radius:12px;padding:13px 14px}.b5-pending-commerce strong,.b5-pending-commerce span{display:block}.b5-pending-commerce strong{font:750 15px var(--serif)}.b5-pending-commerce span{font-size:12px;color:var(--muted);margin-top:3px}.b5-practical-list{display:grid}.b5-practical-list a{display:grid;grid-template-columns:145px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line);min-width:0}.b5-practical-list a:first-child{border-top:0}.b5-practical-list strong{font:750 14px var(--serif)}.b5-practical-list span{font-size:12px;color:var(--muted);min-width:0}.b5-practical-list b{font-size:20px;color:var(--blue)}.b5-source-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 2px 0;color:var(--muted);font-size:11px}.b5-source-line a{color:var(--blue);font-weight:800}.b5-home-holiday-signal{}.b5-holidays-page *{min-width:0}
html[data-theme=dark] .b5-next-card,html[data-theme=dark] .b5-calendar-card,html[data-theme=dark] .b5-commerce-card,html[data-theme=dark] .b5-practical-card{background:var(--panel)}html[data-theme=dark] .b5-local-badge,html[data-theme=dark] .b5-holiday-list article.is-local time{background:#17334a;color:#b9dcf5}html[data-theme=dark] .b5-commerce-open strong{color:#9bd5aa}html[data-theme=dark] .b5-commerce-limited strong{color:#e7c47c}
@media(max-width:900px){.b5-next-card{grid-template-columns:auto minmax(0,1fr)}.b5-commerce-status{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.b5-commerce-dates{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.b5-holiday-intro{padding-top:17px}.b5-holiday-intro h1{font-size:29px}.b5-holiday-intro>p:last-child{font-size:13px}.b5-holidays-shell{margin-top:6px;margin-bottom:20px}.b5-next-card{grid-template-columns:60px minmax(0,1fr);gap:12px;padding:14px}.b5-date-tile{width:58px;height:58px;border-radius:13px}.b5-date-tile strong{font-size:27px}.b5-next-copy h2{font-size:22px}.b5-next-date{font-size:12px}.b5-next-meta{margin-top:7px}.b5-calendar-card,.b5-commerce-card,.b5-practical-card{padding:14px;margin-top:10px}.b5-section-head h2{font-size:21px}.b5-holiday-list article{grid-template-columns:48px minmax(0,1fr) auto;gap:9px}.b5-holiday-list time{width:45px;height:45px}.b5-holiday-list time strong{font-size:19px}.b5-holiday-list article>div strong{font-size:14px}.b5-local-badge{font-size:8px;padding:4px 6px}.b5-commerce-dates{grid-template-columns:repeat(3,minmax(0,1fr))}.b5-exception-list{grid-template-columns:1fr}.b5-practical-list a{grid-template-columns:1fr auto;gap:4px 10px}.b5-practical-list span{grid-column:1}.b5-practical-list b{grid-column:2;grid-row:1/3}.b5-source-line{display:grid;gap:5px}.b5-year-tabs{margin-top:10px}.b5-count{font-size:9px}}

/* B6 Salud V2 V0.1 · real health + contextual donation */
.b6-health-page{overflow-x:hidden}.b6-health-page *{min-width:0}.b6-health-intro{padding-top:24px;padding-bottom:10px}.b6-health-intro .back-link{margin-bottom:14px}.b6-health-intro h1{font:800 36px/1.04 var(--serif);letter-spacing:-.025em;margin:0 0 8px;color:var(--ink)}.b6-health-intro>p:last-child{margin:0;max-width:760px;color:var(--muted);font-size:14px;line-height:1.5}.b6-health-shell{max-width:1040px;margin-top:10px;margin-bottom:30px}.b6-emergency-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border:1px solid #efc4c4;border-radius:15px;background:#fff6f6;margin-bottom:12px}.b6-emergency-strip>div:first-child{display:grid;gap:2px}.b6-emergency-strip strong{font-size:13px}.b6-emergency-strip span{font-size:11px;color:var(--muted)}.b6-emergency-actions{display:flex;gap:8px;flex-wrap:wrap}.b6-emergency-actions a{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e6b1b1;font-size:11px;font-weight:850;text-decoration:none;color:#8c2f2f}.b6-health-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.b6-health-service-card,.b6-now-card,.b6-section-card,.b6-appointment-card,.b6-donation-card,.b6-donation-info{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(8,40,73,.045)}.b6-health-service-card{display:block;padding:18px;color:inherit;text-decoration:none;border-top:4px solid var(--blue)}.b6-health-service-card.is-warn,.b6-now-card.is-warn,.b6-donation-card.is-warn{border-top-color:#d39a32}.b6-health-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.b6-health-card-head>span{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--muted)}.b6-state{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:var(--soft);font-size:9px;font-weight:900;letter-spacing:.045em;color:var(--navy);white-space:nowrap}.b6-health-service-card h2{font:800 24px/1.08 var(--serif);margin:12px 0 6px}.b6-health-service-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.b6-card-cta{display:block;margin-top:15px;color:var(--blue);font-size:11px}.b6-health-source-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 2px 0;color:var(--muted);font-size:10px;line-height:1.45}.b6-health-source-line a{color:var(--blue);font-weight:800;text-decoration:none}.b6-now-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px;border-top:4px solid var(--blue);margin-bottom:12px}.b6-now-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.b6-now-title h2{font:800 28px/1.06 var(--serif);margin:2px 0 4px}.b6-now-summary{margin:4px 0;color:var(--ink);font-size:14px;font-weight:700}.b6-now-address{margin:4px 0 0;color:var(--muted);font-size:12px}.b6-now-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.b6-section-card{padding:19px;margin-top:12px}.b6-section-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:12px}.b6-section-head h2{font:800 24px/1.08 var(--serif);margin:0}.b6-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.b6-resource-card{display:flex;flex-direction:column;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.b6-resource-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.b6-resource-card h3{font:800 18px/1.12 var(--serif);margin:0}.b6-mini-warn{padding:4px 6px;border-radius:999px;background:#fff1ce;color:#7f5909;font-size:8px;font-weight:900;letter-spacing:.05em;white-space:nowrap}.b6-resource-address{font-size:11px;font-weight:800;margin:8px 0 5px}.b6-resource-hours{font-size:11px;line-height:1.45;color:var(--ink);margin:0}.b6-resource-note{font-size:10px;line-height:1.45;color:var(--muted);margin:7px 0 0}.b6-inline-notice{display:grid;gap:3px;margin-top:10px;padding:9px 10px;border-radius:10px;background:#fff8e8;border:1px solid #ead295}.b6-inline-notice strong{font-size:10px}.b6-inline-notice span{font-size:10px;line-height:1.4;color:var(--muted)}.b6-inline-notice a{font-size:10px;font-weight:800;color:var(--blue);text-decoration:none}.b6-inline-notice.is-warn{background:#fff1f1;border-color:#e5b2b2}.b6-resource-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:12px}.b6-resource-actions a{font-size:10px;font-weight:850;color:var(--blue);text-decoration:none}.b6-appointment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;margin-top:12px}.b6-appointment-card h2{font:800 22px/1.08 var(--serif);margin:2px 0 5px}.b6-appointment-card p{margin:0;color:var(--muted);font-size:12px}.b6-appointment-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.b6-text-link{font-size:10px;font-weight:850;color:var(--blue);text-decoration:none}.b6-donation-shell{max-width:880px}.b6-donation-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:center;padding:20px;border-top:4px solid var(--blue)}.b6-donation-card.is-empty{grid-template-columns:1fr}.b6-donation-date{display:grid;gap:4px;padding:18px;border-radius:14px;background:var(--soft)}.b6-donation-date span{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--muted)}.b6-donation-date strong{font:800 21px/1.12 var(--serif)}.b6-donation-details h2{font:800 27px/1.08 var(--serif);margin:2px 0 6px}.b6-donation-details>p:not(.section-kicker){margin:0;color:var(--muted);font-size:13px}.b6-donation-note{margin-top:8px!important}.b6-donation-info{padding:18px;margin-top:12px}.b6-donation-info h2{font:800 21px/1.08 var(--serif);margin:0 0 6px}.b6-donation-info p{max-width:700px;margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.5}.service-health-real .service-evidence{grid-column:2/4}.service-health-alert{border-color:#d6a147}.b6-home-donation-signal{}.b6-health-page .button{white-space:nowrap}
html[data-theme=dark] .b6-emergency-strip{background:#321c1c;border-color:#704040}html[data-theme=dark] .b6-emergency-actions a{background:#241719;border-color:#704040;color:#f1b7b7}html[data-theme=dark] .b6-resource-card{background:#102a40}html[data-theme=dark] .b6-inline-notice{background:#2b2516;border-color:#6a5725}html[data-theme=dark] .b6-inline-notice.is-warn{background:#351b1b;border-color:#7b3939}html[data-theme=dark] .b6-mini-warn{background:#3a3017;color:#ead089}
@media(max-width:900px){.b6-resource-grid{grid-template-columns:1fr 1fr}.b6-resource-card:last-child{grid-column:1/-1}.b6-now-card,.b6-appointment-card{grid-template-columns:1fr}.b6-now-actions,.b6-appointment-actions{justify-content:flex-start}.b6-donation-card{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:640px){.b6-health-intro{padding-top:17px}.b6-health-intro h1{font-size:29px}.b6-health-intro>p:last-child{font-size:13px}.b6-health-shell{margin-top:6px;margin-bottom:20px}.b6-emergency-strip{display:grid;gap:9px;padding:12px}.b6-emergency-actions a{padding:7px 9px}.b6-health-hub-grid{grid-template-columns:1fr}.b6-health-service-card{padding:14px}.b6-health-service-card h2{font-size:21px}.b6-now-card{padding:14px;gap:12px}.b6-now-title h2{font-size:23px}.b6-now-summary{font-size:12px}.b6-now-actions .button,.b6-appointment-actions .button{width:auto}.b6-section-card{padding:14px}.b6-section-head h2{font-size:21px}.b6-resource-grid{grid-template-columns:1fr}.b6-resource-card:last-child{grid-column:auto}.b6-resource-card{padding:13px}.b6-appointment-card{padding:14px}.b6-appointment-card h2{font-size:20px}.b6-donation-card{grid-template-columns:1fr;padding:14px;gap:12px}.b6-donation-date{padding:13px}.b6-donation-date strong{font-size:19px}.b6-donation-details h2{font-size:23px}.b6-donation-info{padding:14px}.b6-health-source-line{display:grid;gap:5px}}


/* B7 Fiestas/Eventos V2 V0.1 · real programs + compact archive */
.b7-events-page{overflow-x:hidden}.b7-events-page *{min-width:0}.b7-events-intro{padding-top:24px;padding-bottom:10px}.b7-events-intro .back-link{margin-bottom:14px}.b7-events-intro h1{font:800 36px/1.04 var(--serif);letter-spacing:-.025em;margin:0 0 8px;color:var(--ink)}.b7-events-intro>p:last-child{margin:0;max-width:790px;color:var(--muted);font-size:14px;line-height:1.5}.b7-events-shell{max-width:1040px;margin-top:10px;margin-bottom:30px}.b7-section-card,.b7-archive,.b7-pending-card,.b7-summary-card,.b7-change-card,.b7-focus-card,.b7-program-card,.b7-sources{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(8,40,73,.045)}.b7-section-card{padding:19px}.b7-section-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:12px}.b7-section-head h2{font:800 24px/1.08 var(--serif);margin:0}.b7-upcoming-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.b7-event-card{display:flex;flex-direction:column;min-height:176px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:inherit;text-decoration:none}.b7-event-card.is-live{border-color:#ca8d8d}.b7-card-top{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900;letter-spacing:.06em;color:var(--muted)}.b7-card-top i,.b7-live-dot,.b7-home-live-dot{width:7px;height:7px;border-radius:50%;background:#d64040;box-shadow:0 0 0 4px rgba(214,64,64,.12);animation:b4pulse 1.7s ease-in-out infinite;display:inline-block;flex:0 0 auto}.b7-event-card h3{font:800 20px/1.08 var(--serif);margin:10px 0 5px}.b7-event-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.b7-event-card>strong{display:block;margin-top:10px;font-size:11px;line-height:1.4}.b7-event-card>b{margin-top:auto;padding-top:13px;color:var(--blue);font-size:10px}.b7-empty-card h2{font:800 23px/1.08 var(--serif);margin:0 0 5px}.b7-empty-card>p:last-child{margin:0;color:var(--muted);font-size:12px}.b7-archive{margin-top:12px;overflow:hidden}.b7-archive>summary,.b7-program-day>summary,.b7-sources>summary{cursor:pointer;list-style:none}.b7-archive>summary::-webkit-details-marker,.b7-program-day>summary::-webkit-details-marker,.b7-sources>summary::-webkit-details-marker{display:none}.b7-archive>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.b7-archive>summary span{display:grid;gap:2px}.b7-archive>summary small{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--muted)}.b7-archive>summary strong{font:800 21px/1.08 var(--serif)}.b7-archive>summary>b{font-size:10px;color:var(--blue)}.b7-archive-list{border-top:1px solid var(--line);padding:0 18px}.b7-archive-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line);text-decoration:none}.b7-archive-list a:first-child{border-top:0}.b7-archive-list span{display:grid;gap:2px}.b7-archive-list strong{font:800 16px/1.12 var(--serif)}.b7-archive-list small{color:var(--muted);font-size:10px}.b7-archive-list b{font-size:10px;color:var(--blue);white-space:nowrap}.b7-source-line{margin:11px 2px 0;color:var(--muted);font-size:10px;line-height:1.5}.b7-detail-shell{max-width:900px}.b7-pending-card{padding:20px;border-top:4px solid #d4a24d}.b7-pending-card>span,.b7-summary-card>div>span{font-size:9px;font-weight:900;letter-spacing:.07em;color:var(--muted)}.b7-pending-card h2{font:800 26px/1.08 var(--serif);margin:8px 0 6px}.b7-pending-card p{margin:0;max-width:680px;color:var(--muted);font-size:13px;line-height:1.5}.b7-summary-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-top:4px solid var(--blue)}.b7-summary-card h2{font:800 27px/1.08 var(--serif);margin:4px 0}.b7-summary-card p{margin:0;color:var(--muted);font-size:11px}.b7-change-card{margin-top:12px;padding:17px;border-top:4px solid #d39a32}.b7-change-card article{display:grid;gap:4px;padding-top:10px;margin-top:10px;border-top:1px solid var(--line)}.b7-change-card article:first-of-type{padding-top:0;margin-top:0;border-top:0}.b7-change-card article strong{font-size:13px}.b7-change-card article span{font-size:11px;color:var(--muted)}.b7-change-card article a{font-size:10px;color:var(--blue);font-weight:800;text-decoration:none}.b7-focus-card{margin-top:12px;padding:15px 18px;background:linear-gradient(135deg,#eef7ff,var(--panel))}.b7-focus-card>div{display:grid;gap:3px}.b7-focus-card span{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--blue)}.b7-focus-card strong{font:800 20px/1.12 var(--serif)}.b7-focus-card small{color:var(--muted);font-size:10px}.b7-program-card{padding:18px;margin-top:12px}.b7-program-days{display:grid;gap:8px}.b7-program-day{border:1px solid var(--line);border-radius:13px;background:var(--soft);overflow:hidden}.b7-program-day>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px}.b7-program-day>summary span{display:grid;gap:2px}.b7-program-day>summary strong{font:800 15px/1.15 var(--serif)}.b7-program-day>summary small{font-size:9px;color:var(--muted)}.b7-program-day>summary>b{font-size:9px;color:var(--blue)}.b7-day-events{border-top:1px solid var(--line);padding:0 13px;background:var(--panel)}.b7-day-events article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:11px 0;border-top:1px solid var(--line)}.b7-day-events article:first-child{border-top:0}.b7-day-events article.is-changed{opacity:.65}.b7-day-events time{font-size:11px;font-weight:900;color:var(--navy)}.b7-day-events article>div{display:grid;gap:2px}.b7-day-events strong{font-size:12px}.b7-day-events span{font-size:10px;color:var(--ink)}.b7-day-events small{font-size:9px;color:var(--muted);line-height:1.4}.b7-sources{margin-top:12px;box-shadow:none}.b7-sources>summary{padding:12px 15px;font-size:10px;font-weight:850;color:var(--blue)}.b7-sources>div{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding:12px 15px}.b7-sources a{font-size:9px;font-weight:800;color:var(--blue);text-decoration:none}.service-fiestas-real.is-dynamic{border-color:#c9dcef}.service-fiestas-real .status{display:inline-flex;align-items:center;gap:6px}
html[data-theme=dark] .b7-event-card,html[data-theme=dark] .b7-program-day{background:#102a40}html[data-theme=dark] .b7-focus-card{background:linear-gradient(135deg,#102b43,var(--panel))}
@media(max-width:900px){.b7-upcoming-grid{grid-template-columns:1fr 1fr}.b7-event-card:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:640px){.b7-events-intro{padding-top:17px}.b7-events-intro h1{font-size:29px}.b7-events-intro>p:last-child{font-size:13px}.b7-events-shell{margin-top:6px;margin-bottom:20px}.b7-section-card{padding:14px}.b7-section-head h2{font-size:21px}.b7-upcoming-grid{grid-template-columns:1fr}.b7-event-card:last-child:nth-child(odd){grid-column:auto}.b7-event-card{min-height:0;padding:13px}.b7-archive>summary{padding:14px}.b7-archive>summary strong{font-size:19px}.b7-archive-list{padding:0 14px}.b7-archive-list a{align-items:start}.b7-archive-list b{font-size:9px}.b7-pending-card{padding:15px}.b7-pending-card h2{font-size:22px}.b7-summary-card{padding:14px}.b7-summary-card h2{font-size:23px}.b7-program-card{padding:14px}.b7-program-day>summary{padding:11px}.b7-day-events{padding:0 11px}.b7-day-events article{grid-template-columns:62px minmax(0,1fr);gap:9px}.b7-focus-card{padding:13px}.b7-focus-card strong{font-size:18px}.b7-sources>div{display:grid}}
.b7-section-spaced{margin-top:12px}.b7-section-head p:not(.section-kicker){margin:5px 0 0;color:var(--muted);font-size:11px}.b7-pending-list{display:grid}.b7-pending-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid var(--line);text-decoration:none}.b7-pending-list a:first-child{border-top:0}.b7-pending-list span{display:grid;gap:2px}.b7-pending-list strong{font:800 16px/1.12 var(--serif)}.b7-pending-list small{font-size:10px;color:var(--muted)}.b7-pending-list b{font-size:10px;color:var(--blue);white-space:nowrap}.b7-day-events strong em{display:inline-block;margin-left:5px;padding:3px 5px;border-radius:999px;background:#fff0e8;color:#944226;font:900 8px/1 var(--sans);font-style:normal;letter-spacing:.04em}
@media(max-width:640px){.b7-pending-list a{align-items:start}.b7-pending-list b{font-size:9px}}

/* B8 Avisos importantes V0.1 · señales ciudadanas reales */
.b8-alerts-shell{display:grid;gap:28px;padding-top:26px;padding-bottom:44px}
.b8-group{display:grid;gap:14px}
.b8-notice-list{display:grid;gap:12px}
.b8-notice{position:relative;display:grid;gap:10px;padding:20px 22px;border:1px solid var(--line,#dfe5ea);border-radius:18px;background:var(--card,#fff);box-shadow:0 7px 24px rgba(22,35,45,.05);overflow:hidden}
.b8-notice:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#6f7f8d}
.b8-notice.b8-tone-yellow:before,.b8-notice.b8-tone-warning:before{background:#d9a514}
.b8-notice.b8-tone-orange:before{background:#d87524}
.b8-notice.b8-tone-red:before{background:#c63b3b}
.b8-notice.b8-tone-info:before{background:#3d78a8}
.b8-notice-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.b8-state{font-size:12px;font-weight:900;letter-spacing:.055em;color:var(--ink,#17232c)}
.b8-service{font-size:13px;color:var(--muted,#65727c)}
.b8-notice h3{margin:0;font-size:21px;line-height:1.2}
.b8-notice p{margin:0;max-width:820px;color:var(--muted,#596873);line-height:1.55}
.b8-notice-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted,#65727c)}
.b8-notice-meta span+span:before{content:"·";margin-right:12px}
.b8-notice-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:2px}
.b8-service-link,.b8-source-link{font-weight:800;text-decoration:none}
.b8-source-link{font-size:13px;color:var(--muted,#65727c)}
.b8-empty{display:flex;gap:16px;align-items:flex-start;padding:24px;border:1px solid var(--line,#dfe5ea);border-radius:18px;background:var(--card,#fff)}
.b8-empty-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:rgba(41,139,95,.12);font-weight:900}
.b8-empty h2{margin:0 0 5px;font-size:21px}.b8-empty p{margin:0;color:var(--muted,#65727c)}
.b8-check-note{display:flex;gap:8px;flex-wrap:wrap;padding:13px 16px;border-radius:14px;background:rgba(217,165,20,.10);font-size:14px}
.b8-recent{border:1px solid var(--line,#dfe5ea);border-radius:18px;background:var(--card,#fff);overflow:hidden}
.b8-recent summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;cursor:pointer;list-style:none}.b8-recent summary::-webkit-details-marker{display:none}
.b8-recent summary span{display:grid;gap:2px}.b8-recent summary small{color:var(--muted,#65727c)}.b8-recent summary b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:rgba(91,111,126,.10)}
.b8-notice-list-recent{padding:0 14px 14px}.b8-notice-list-recent .b8-notice{box-shadow:none}
.b8-home-important{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;border:1px solid var(--line,#dfe5ea);border-radius:18px;background:var(--card,#fff);text-decoration:none;color:inherit;box-shadow:0 8px 28px rgba(22,35,45,.06);position:relative;overflow:hidden}
.b8-home-important:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#d9a514}.b8-home-important.b8-tone-orange:before{background:#d87524}.b8-home-important.b8-tone-red:before{background:#c63b3b}.b8-home-important.b8-tone-info:before{background:#3d78a8}
.b8-home-state{font-size:11px;font-weight:900;letter-spacing:.055em;padding:6px 9px;border-radius:999px;background:rgba(217,165,20,.12);white-space:nowrap}.b8-home-important>div{min-width:0;display:grid;gap:4px}.b8-home-important strong{font-size:18px;line-height:1.25}.b8-home-important small{color:var(--muted,#65727c);line-height:1.4}
@media(max-width:700px){.b8-alerts-shell{gap:22px;padding-top:20px}.b8-notice{padding:17px 17px 17px 19px;border-radius:16px}.b8-notice h3{font-size:19px}.b8-notice-actions{align-items:flex-start;flex-direction:column;gap:8px}.b8-home-important{grid-template-columns:1fr auto;padding:17px}.b8-home-state{grid-column:1/-1;justify-self:start}.b8-home-important>div{grid-column:1}.b8-home-important>.row-link{grid-column:2;grid-row:2}.b8-empty{padding:19px}.b8-notice-meta span+span:before{display:none}.b8-notice-meta{display:grid;gap:3px}}
[data-theme="dark"] .b8-notice,[data-theme="dark"] .b8-empty,[data-theme="dark"] .b8-recent,[data-theme="dark"] .b8-home-important{box-shadow:none}
/* B10 V0.1.1 · visual gate R1 */
html[data-theme=dark] .b8-home-important,
html[data-theme=dark] .b8-notice,
html[data-theme=dark] .b8-empty,
html[data-theme=dark] .b8-recent{background:var(--panel);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .b8-home-important strong,
html[data-theme=dark] .b8-notice h3{color:var(--ink)}
html[data-theme=dark] .b8-home-important small,
html[data-theme=dark] .b8-notice p,
html[data-theme=dark] .b8-notice-meta{color:#a9bfd1}
html[data-theme=dark] .b8-home-state{background:#3a3017;color:#ffe39a}
html[data-theme=dark] .b5-year-tabs a.active{background:#1766a3;color:#fff;border-color:#3c8ac3}
html[data-theme=dark] .b5-year-tabs a:not(.active){background:var(--panel);color:var(--ink);border-color:var(--line)}
.b2-source-note{margin-top:18px;margin-bottom:22px}


/* Global Visual Dark Repair V0.1 · 2026-10-04 */
html[data-theme=dark] .b3-no-alerts{background:#123522;border-color:#2d6a43;color:#eef7ff}
html[data-theme=dark] .b3-no-alerts>span{background:#1d5131;color:#9ce6b5}
html[data-theme=dark] .b3-no-alerts small{color:#b9cbd8}
html[data-theme=dark] .b3-no-alerts.is-unknown{background:#2a2515;border-color:#66561f;color:#eef7ff}
html[data-theme=dark] .b3-no-alerts.is-unknown>span{background:#4a3d12;color:#ffe39a}
html[data-theme=dark] .pharmacy-real-row{background:#102a40;border-color:#294a65;color:#eef7ff}
html[data-theme=dark] .pharmacy-real-copy .address{color:#eef7ff}
html[data-theme=dark] .pharmacy-real-actions a{border-color:#35536d;color:#8fc3ff}
html[data-theme=dark] .pharmacy-real-actions a:first-child{background:#dcecff;color:#071521;border-color:transparent}
