/* Live dashboard: reference layout, aligned to the site's shared design tokens. */
:is(.live-page-heading.page-hero,.standard-live-summary.live-command-hero,.live-market,.live-dashboard,.live-sources-card-bottom) { width: var(--container); max-width: none; margin-left: auto; margin-right: auto; }
.live-page-heading.page-hero {
  padding-top: var(--inner-page-title-top);
  padding-bottom: 24px;
}
.live-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: #526573; font-size: 13px; }
.live-breadcrumb a { color: inherit; text-decoration: none; }
.live-breadcrumb a:hover { color: #087681; text-decoration: underline; }
.live-breadcrumb > span[aria-hidden] { color: #8498a1; font-size: 19px; }
.live-page-heading.page-hero .live-breadcrumb > span:last-child { margin: 0; color: #526573; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.live-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.live-heading-copy { max-width: 660px; }
.live-page-heading.page-hero h1 { color: var(--text); font-size: var(--font-ui-page); font-weight: 700; line-height: 1.15; letter-spacing: -.028em; }
.live-page-heading.page-hero p { max-width: 650px; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.live-heading-meta { display: flex; align-items: flex-start; gap: 28px; padding-top: 6px; }
.live-heading-update { display: grid; gap: 4px; padding-top: 11px; color: #536471; font-size: var(--font-meta); white-space: nowrap; }
.live-heading-update strong { color: #233743; font-size: 13px; font-weight: 600; }
.live-page-heading.page-hero .live-heading-update > span { margin: 0; color: #536471; font-size: var(--font-meta); font-weight: 400; letter-spacing: 0; text-transform: none; }
.live-heading-tv { display: grid; justify-items: end; gap: 8px; max-width: 240px; }
.live-heading-tv .live-tv-entry { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: var(--control-primary); margin: 0; padding: 0 18px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface); color: var(--text) !important; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-card); }
.live-heading-tv .live-tv-entry:hover { background: #edf7f6; color: #073943 !important; }
.live-heading-tv .live-saver-download { min-height: 38px; padding: 0 14px; font-size: var(--font-meta); font-weight: 500; }
.live-heading-tv .live-saver-download svg { flex: 0 0 18px; }
.live-heading-tv .live-tv-entry span:first-child { font-size: 22px; font-weight: 400; }
.live-heading-tv small { color: #71818b; font-size: var(--font-meta); line-height: 1.4; text-align: right; }

.standard-live-summary.live-command-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-medium); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.standard-live-summary > [data-live-stale-warning] { grid-column: 1 / -1; padding: 10px 20px; }
.standard-live-summary > :is(.live-command-card,.live-busy-card,.live-earthquake-card) { min-height: 202px; padding: 22px 26px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.standard-live-summary > :is(.live-busy-card,.live-earthquake-card) { border-left: 1px solid #e2e9ea; }
.standard-live-summary .live-command-card { display: grid; grid-template-columns: 130px minmax(0,1fr); grid-template-rows: 28px minmax(0,1fr); align-content: stretch; column-gap: 6px; }
.standard-live-summary .live-weather-summary-body { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: inherit; column-gap: inherit; grid-template-rows: auto auto auto; align-content: center; min-width: 0; }
.standard-live-summary .live-command-card > span { grid-column: 1 / -1; grid-row: 1; color: var(--text); font-size: var(--font-meta); font-weight: 600; letter-spacing: .07em; }
.standard-live-summary :is(.live-command-card > span,.live-busy-card > span,.live-earthquake-label) { display: flex; align-items: center; align-self: stretch; min-height: 28px; }
.standard-live-summary .live-command-card > span::before { content: '☁'; margin-right: 12px; font-size: 21px; line-height: 0; vertical-align: -2px; }
.standard-live-summary .live-weather-icon-wrap { grid-column: 1; grid-row: 1 / 4; justify-self: center; align-self: center; width: 104px; height: 104px; margin: 0; border: 0; background: transparent; box-shadow: none; }
.standard-live-summary .live-command-card img { width: 96px; height: 96px; animation: none; filter: none; }
.standard-live-summary .live-weather-summary-body > strong { grid-column: 2; grid-row: 1; margin: 0; color: var(--text); font-size: clamp(36px, 3.2vw, 46px); font-weight: 600; line-height: 1.1; }
.standard-live-summary .live-weather-summary-body > p { grid-column: 2; grid-row: 2; margin: 5px 0 0; color: var(--text); font-size: 16px; font-weight: 600; }
.standard-live-summary .live-mini-row { grid-column: 2; grid-row: 3; display: flex; justify-content: flex-start; gap: 6px; align-self: auto; margin: 5px 0 0; padding: 0; border: 0; color: #667987; font-size: var(--font-meta); }
.standard-live-summary .live-mini-row b { color: inherit; font-weight: 500; }
.standard-live-summary .live-mini-row em { color: inherit; font-weight: 600; }
.standard-live-summary .live-busy-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 5px; }
.standard-live-summary .live-busy-card > span { color: var(--text); font-size: var(--font-meta); font-weight: 600; letter-spacing: .07em; }
.standard-live-summary .live-busy-card > span::before { content: '▰'; margin-right: 12px; color: #0a4a54; font-size: 17px; }
.standard-live-summary .live-busy-card strong { margin: 10px 0 0; color: var(--text); font-size: var(--font-subsection-title); font-weight: 600; }
.standard-live-summary .live-busy-card p { margin: 0; color: #586b77; font-size: 13px; }
.standard-live-summary .live-busy-card .traffic-status { padding: 0; margin: 0; border: 0; background: none; color: #1b6b6a; font-size: 15px; font-weight: 600; }
.standard-live-summary .live-busy-card .traffic-meter { width: 100%; max-width: 270px; height: 8px; margin: 5px 0 0; border-radius: 99px; background: #e5ebed; }
.standard-live-summary .live-busy-card .traffic-meter i { min-width: 12%; border-radius: inherit; }
.standard-live-summary .live-busy-card small { color: #6b7b86; font-size: var(--font-meta); }
.standard-live-summary .live-earthquake-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; text-decoration: none; }
.standard-live-summary .live-earthquake-card:hover { background: #f6faf9; transform: none; }
.standard-live-summary .live-earthquake-label { color: var(--text); font-size: var(--font-meta); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.standard-live-summary .live-earthquake-label::before { content: '∿'; margin-right: 13px; font-size: 23px; line-height: 0; vertical-align: -3px; }
.standard-live-summary .live-earthquake-content strong { color: var(--text); font-size: 16px; font-weight: 600; }
.standard-live-summary .live-earthquake-content small { max-width: 270px; margin-top: 4px; color: #667987; font-size: 13px; }
.standard-live-summary .live-earthquake-card-arrow { display: inline-flex; width: auto; height: auto; padding: 9px 14px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface); color: var(--text); font-size: var(--font-meta); font-weight: 600; }
.standard-live-summary > :is(.live-command-card,.live-busy-card) { color: inherit; text-decoration: none; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.standard-live-summary > :is(.live-command-card,.live-busy-card):hover { background: color-mix(in srgb, var(--water) 42%, var(--surface)); }
.standard-live-summary > :is(.live-command-card,.live-busy-card):focus-visible { outline: 3px solid var(--secondary); outline-offset: -4px; }
.live-dashboard .live-panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-dashboard .live-panel-title-row h2 { min-width: 0; }
:is(.live-dashboard .live-panel-action, .live-market-detail-link) { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 7px 9px 7px 12px; border: 1px solid #cbdde0; border-radius: 9px; background: #f7fbfa; color: #075663; font-size: var(--font-meta); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
:is(.live-dashboard .live-panel-action, .live-market-detail-link) svg { width: 17px; height: 17px; flex: 0 0 17px; }
:is(.live-dashboard .live-panel-action, .live-market-detail-link):hover { border-color: #9cc9c9; background: #eaf6f3; transform: translateY(-1px); }
:is(.live-dashboard .live-panel-action, .live-market-detail-link):focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }

.live-market { margin: 20px auto 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: var(--water); box-shadow: var(--shadow-card); }
.live-market-heading { align-items: center; margin-bottom: 16px; }
.live-market-title { display: flex; align-items: flex-start; gap: 15px; }
.live-market-icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; color: #da9300; font-size: 38px; line-height: 1; }
.live-market-icon svg { display: block; }
.live-market-heading h2 { margin: 0; color: var(--text); font-size: 24px; font-weight: 600; }
.live-market-heading p { margin-top: 4px; font-size: 14px; }
.live-market-detail-link { margin-top: 0; margin-left: auto; }
.live-market-detail-link:hover { text-decoration: none; }
.live-market-status { gap: 16px; }
.live-market-grid { gap: 12px; }
.live-market-card { display: grid; grid-template-columns: 66px minmax(0,1fr); align-items: center; min-height: 125px; padding: 15px; border-color: var(--border); border-radius: var(--radius-small); background: var(--surface); box-shadow: 0 2px 6px rgba(13,48,55,.025); }
.live-market-card:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(13,48,55,.07); }
.live-market-currency-icon { display: grid; width: 57px; height: 57px; place-items: center; border-radius: 50%; font-size: 30px; font-weight: 600; }
.live-market-currency-icon svg { width: 1.3em; height: 1.3em; }
.live-market-currency-gramaltin { color: #e9a219; background: #fff5dc; }
.live-market-currency-usdtry { color: #0c8060; background: #daf5e8; }
.live-market-currency-eurtry { color: #127ac3; background: #d9eeff; }
.live-market-card-body { min-width: 0; }
.live-market-card-head { align-items: baseline; }
.live-market-card-head span { color: var(--text); font-size: 14px; font-weight: 600; }
.live-market-card-head small { color: var(--muted); font-size: var(--font-meta); }
.live-market-card > .live-market-card-body > strong { display: block; margin: 5px 0 3px; color: var(--text); font-size: clamp(23px,2.15vw,28px); font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.live-market-quotes { justify-content: flex-start; gap: 18px; padding: 0; border: 0; font-size: var(--font-meta); }
.live-market-quotes span { display: inline-flex; gap: 5px; }
.live-market-quotes b { display: inline; margin: 0; color: #247860; font-size: var(--font-meta); }
.live-market-note { margin-top: 10px; font-size: var(--font-meta); }

.live-dashboard { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 20px; margin-top: 20px; padding: 0; }
.live-dashboard .live-panel { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: var(--surface); box-shadow: var(--shadow-card); }
.live-dashboard .live-panel-head { margin-bottom: 16px; }
.live-dashboard .live-panel-head > span { display: none; }
.live-dashboard .live-panel-head h2 { margin: 0; color: var(--text); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.live-dashboard .live-panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.live-dashboard .live-forecast-panel { grid-column: 1; grid-row: 1; min-height: 390px; }
.live-dashboard .live-weather-panel { grid-column: 2; grid-row: 1; min-height: 390px; }
.live-dashboard .live-water-panel { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: stretch; min-height: 380px; }
.live-dashboard .live-water-panel .live-panel-head h2::after { display: none; }
.live-dashboard .live-routes-list { grid-column: 2; grid-row: 2; min-height: 380px; }
.live-dashboard .live-pharmacy-panel { grid-column: 1 / -1; grid-row: 3; }
.live-dashboard .live-forecast-list { display: grid; flex: 1; grid-template-columns: repeat(5,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 0; }
.live-dashboard .live-forecast-list article { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 7px; min-width: 0; min-height: 0; padding: 12px 5px 8px; border: 0; border-right: 1px solid #e2e9ea; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.live-dashboard .live-forecast-list article:last-child { border-right: 0; }
.live-dashboard .live-forecast-list article:hover { transform: none; background: #f8fbfa; box-shadow: none; }
.live-dashboard .live-forecast-list article.is-today { background: transparent; box-shadow: none; }
.live-dashboard .live-forecast-list article.is-today :is(strong,b) { color: #0b2432; }
.live-dashboard .live-forecast-list article.is-today :is(.live-forecast-date span,.live-forecast-temperature span) { color: #71818d; }
.live-dashboard .live-forecast-date { order: 1; }
.live-dashboard .live-forecast-date strong { color: var(--text); font-size: 13px; font-weight: 600; }
.live-dashboard .live-forecast-date span { color: var(--muted); font-size: var(--font-meta); font-weight: 400; }
.live-dashboard .live-forecast-list img { order: 2; width: 58px; height: 58px; margin: 12px 0 2px; filter: none; }
.live-dashboard .live-forecast-temperature { order: 3; justify-content: center; gap: 4px; padding: 0; border: 0; }
.live-dashboard .live-forecast-temperature strong { color: var(--text); font-size: 24px; font-weight: 600; }
.live-dashboard .live-forecast-temperature span { color: #64798b; font-size: 17px; font-weight: 500; }
.live-dashboard .live-forecast-condition { order: 4; }
.live-dashboard .live-forecast-condition strong { color: var(--muted); font-size: var(--font-meta); font-weight: 400; white-space: normal; }
.live-dashboard .live-forecast-condition span { display: none; }
.live-weather-content { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); min-height: 255px; }
.live-weather-current { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px 15px; border-right: 1px solid #e3e9eb; text-align: center; }
.live-weather-current img { width: 108px; height: 108px; object-fit: contain; }
.live-weather-current > strong { color: var(--text); font-size: clamp(39px,4vw,52px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.live-weather-current > span { margin-top: 5px; color: var(--text); font-size: 16px; font-weight: 600; }
.live-weather-current small { margin-top: 4px; color: #728391; font-size: var(--font-meta); }
.live-weather-current small b { color: #526f7d; }
.live-dashboard .live-metric-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; align-content: stretch; gap: 0; margin-left: 22px; border: 0; overflow: visible; }
.live-dashboard .live-metric-grid article, .live-dashboard .live-metric-grid article:nth-child(5) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 10px; min-height: 0; height: auto; padding: 8px 0 8px 27px; border: 0; border-bottom: 1px solid #e2e9ea; border-radius: 0; background: transparent; box-shadow: none; }
.live-dashboard .live-metric-grid article:last-child { grid-column: auto; border-bottom: 0; }
.live-dashboard .live-metric-grid article:hover { transform: none; background: transparent; box-shadow: none; }
.live-dashboard .live-metric-grid article::before { position: absolute; top: 50%; left: 0; width: 19px; height: 19px; transform: translateY(-50%); color: #0d5b73; font-size: 19px; }
.live-dashboard .live-metric-grid article:nth-child(4)::before { transform: translateY(-50%); }
.live-dashboard .live-metric-grid span { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.live-dashboard .live-metric-grid strong { grid-column: 2; grid-row: 1; margin: 0; color: var(--text); font-size: 16px; font-weight: 600; white-space: nowrap; }
.live-dashboard .live-metric-grid small { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; color: var(--muted); font-size: var(--font-meta); line-height: 1.45; }
.live-dashboard .live-water-panel::before { display: none; }
.live-dashboard .live-water-grid { display: grid; flex: 1; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 0; }
.live-dashboard .live-water-grid article { min-width: 0; min-height: 360px; padding: 18px 16px 10px 0; border: 0; border-right: 1px solid #e1e8e9; border-radius: 0; background: transparent; box-shadow: none; }
.live-dashboard .live-water-grid article + article { padding-left: 18px; padding-right: 0; border-right: 0; }
.live-dashboard .live-water-grid article > span { display: block; min-height: 42px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.live-dashboard .live-water-grid article > span::before { display: block; margin-bottom: 5px; color: #1787b0; font-size: 27px; line-height: 1; }
.live-dashboard .live-water-grid article:first-child > span::before { content: '≋'; }
.live-dashboard .live-water-grid article:last-child > span::before { content: '▤'; }
.live-dashboard .live-water-grid article > strong { justify-content: center; margin: 18px 0 15px; color: var(--text); font-size: clamp(31px,3vw,39px); font-weight: 600; line-height: 1.1; white-space: nowrap; }
.live-dashboard .live-water-grid article > strong em { color: var(--text); font-size: 18px; font-weight: 600; }
.live-dashboard .live-water-grid .water-gauge { height: 9px; margin: 0; }
.live-dashboard .live-water-grid small { color: #718390; font-size: var(--font-meta); }
.live-water-sparkline { display: block; width: 100%; height: clamp(150px,14vw,220px); margin-top: 24px; overflow: visible; }
.live-water-sparkline polygon { fill: rgba(27, 151, 203, .13); }
.live-water-sparkline polyline { fill: none; stroke: #269bd0; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.live-water-sparkline-dam polygon { fill: rgba(35, 169, 117, .13); }
.live-water-sparkline-dam polyline { stroke: #20a772; }
.live-water-updated { display: block; margin-top: 4px; color: var(--muted); font-size: var(--font-meta); font-weight: 400; }
.live-dashboard .live-route-list { display: grid; grid-template-columns: 1fr; gap: 6px; counter-reset: live-route; }
.live-dashboard .live-route-list article, .live-dashboard .live-route-list article:last-child { display: grid; grid-template-columns: 25px minmax(0,1fr) 83px 100px; align-items: center; gap: 8px; min-height: 42px; padding: 5px 8px; border: 1px solid #e5eced; border-radius: 6px; background: #fff; box-shadow: none; }
.live-dashboard .live-route-list article:hover { transform: none; background: #f7faf9; }
.live-dashboard .live-route-list article::before { content: counter(live-route); position: static; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #045862; color: #fff; font-size: var(--font-meta); font-weight: 700; }
.live-dashboard .live-route-list article > div:first-of-type { grid-column: 2; min-width: 0; }
.live-dashboard .live-route-list strong { display: block; color: #112e3c; font-size: var(--font-meta); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dashboard .live-route-list article > div:first-of-type span { display: none; }
.live-dashboard .live-route-list .traffic-meter { display: block; grid-column: 3; grid-row: 1; height: 7px; margin: 0; border-radius: 0; background: repeating-linear-gradient(90deg,#dfe6e9 0 14%,transparent 14% 16%); }
.live-dashboard .live-route-list .traffic-meter i { display: block; height: 100%; border-radius: 0; }
.live-dashboard .live-route-list .traffic-status { grid-column: 4; grid-row: 1; justify-self: end; max-width: none; padding: 0; border: 0; background: none; color: #0b8c6b; font-size: var(--font-meta); font-weight: 600; white-space: nowrap; }
.live-dashboard .live-route-list article[data-tone="medium"] .traffic-status { color: #ce7c00; }
.live-dashboard .live-route-list article[data-tone="high"] .traffic-status, .live-dashboard .live-route-list article[data-tone="critical"] .traffic-status { color: #cc3034; }
.live-dashboard .live-route-list article small { display: none; }
.live-dashboard .live-route-list .live-route-item { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface); }
.live-dashboard .live-route-list .live-route-item[open] { background: #f9fcfb; }
.live-dashboard .live-route-item summary { display: grid; grid-template-columns: 25px minmax(0,1fr) 83px 100px 12px; align-items: center; gap: 8px; min-height: 41px; padding: 5px 8px; cursor: pointer; list-style: none; }
.live-dashboard .live-route-item summary::-webkit-details-marker { display: none; }
.live-dashboard .live-route-item summary:focus-visible { outline: 2px solid #0b7380; outline-offset: 2px; }
.live-dashboard .live-route-item .live-route-number { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #045862; color: #fff; font-size: var(--font-meta); font-weight: 700; }
.live-dashboard .live-route-item summary strong { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.live-dashboard .live-route-item .traffic-meter { display: block; height: 7px; margin: 0; border-radius: 0; background: repeating-linear-gradient(90deg,#dfe6e9 0 14%,transparent 14% 16%); }
.live-dashboard .live-route-item .traffic-meter i { display: block; height: 100%; border-radius: 0; }
.live-dashboard .live-route-item .traffic-status { justify-self: end; padding: 0; border: 0; background: transparent; color: #0b8c6b; font-size: var(--font-meta); font-weight: 600; white-space: nowrap; }
.live-dashboard .live-route-item[data-tone="medium"] .traffic-status { color: #ce7c00; }
.live-dashboard .live-route-item[data-tone="high"] .traffic-status, .live-dashboard .live-route-item[data-tone="critical"] .traffic-status { color: #cc3034; }
.live-dashboard .live-route-chevron { color: #68818f; font-size: 21px; line-height: 1; transition: transform .2s; }
.live-dashboard .live-route-item[open] .live-route-chevron { transform: rotate(90deg); }
.live-dashboard .live-route-extra { display: grid; gap: 3px; padding: 0 10px 10px 41px; color: var(--muted); font-size: var(--font-meta); }
.live-dashboard .live-route-extra small { color: var(--muted); font-size: var(--font-meta); }
.live-dashboard .live-pharmacy-panel { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); grid-template-rows: auto auto 1fr auto; gap: 10px 25px; }
.live-dashboard .live-pharmacy-panel .live-panel-head { grid-column: 1; grid-row: 1; margin: 0; }
.live-dashboard .live-pharmacy-panel .live-panel-head h2 { margin-top: 16px; font-size: 24px; }
.live-dashboard .live-pharmacy-panel .live-panel-head h2::before { content: 'E'; display: inline-grid; width: 56px; height: 56px; margin-right: 12px; place-items: center; border: 7px solid #fff0f0; border-radius: 8px; color: #d62f36; background: #fff; box-shadow: inset 0 0 0 2px #d62f36; font-size: 40px; font-weight: 600; vertical-align: middle; }
.live-dashboard .live-pharmacy-panel .live-panel-head p { margin-top: 10px; font-size: 14px; }
.live-dashboard .live-pharmacy-panel > [data-live-pharmacy-warning] { grid-column: 1; grid-row: 2; }
.live-dashboard .live-pharmacy-map { grid-column: 2; grid-row: 1 / 5; min-height: 270px; }
.live-dashboard .live-pharmacy-actions { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1; grid-row: 3; align-self: end; margin: 0; }
.live-dashboard .live-pharmacy-panel > small { grid-column: 1; grid-row: 4; margin: 0; font-size: var(--font-meta); }
.live-dashboard .live-map-button, .live-dashboard .live-call-button { flex: 1 0 auto; gap: 8px; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-small); font-size: var(--font-small); line-height: 1.4; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s; }
.live-dashboard .live-map-button { border: 1px solid #0a5662; background: #08525d; color: #fff; }
.live-dashboard .live-call-button { border: 1px solid #b8d8d9; background: #f0f8f7; color: #0a5662; box-shadow: none; }
.live-dashboard .live-call-button svg { flex: none; }
.live-dashboard [data-live-pharmacy-phone-number] { font-variant-numeric: tabular-nums; }
.live-dashboard .live-call-label { padding-left: 8px; border-left: 1px solid #bdd7d8; font-size: 12px; }
.live-dashboard .live-map-button:hover { background: #06434d; }
.live-dashboard .live-call-button:hover { border-color: #0a5662; background: #e1f0ee; }
.live-dashboard .live-pharmacy-actions > [hidden] { display: none; }
.live-sources-card-bottom { margin: 20px auto 48px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: var(--surface); box-shadow: var(--shadow-card); }
.live-sources-card-bottom .live-sources-head { align-items: flex-start; margin-bottom: 12px; }
.live-sources-card-bottom .live-sources-head > div:first-child > span { display: none; }
.live-sources-card-bottom h2 { color: var(--text); font-size: 22px; font-weight: 600; }
.live-sources-card-bottom .live-source-list { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.live-sources-card-bottom .live-source-list article { display: grid; grid-template-columns: 33px minmax(0,1fr); align-content: start; gap: 3px 8px; min-height: 78px; padding: 8px 12px; border: 0; border-right: 1px solid #e3e9eb; border-radius: 0; background: transparent; }
.live-sources-card-bottom .live-source-list article:last-child { border-right: 0; }
.live-sources-card-bottom .live-source-list article > .site-icon { grid-column: 1; grid-row: 1 / 3; }
.live-sources-card-bottom .live-source-list article > div { grid-column: 2; }
.live-sources-card-bottom .live-source-list article strong { color: var(--text); font-size: 13px; font-weight: 600; }
.live-sources-card-bottom .live-source-list article > small { grid-column: 2; justify-self: start; }
.live-sources-card-bottom .live-source-list article > div { grid-row: 1; }
.live-sources-card-bottom .live-source-list article > small { grid-row: 2; }
.live-sources-card-bottom .live-sources-note { margin-top: 8px; font-size: var(--font-meta); }

@media (max-width: 1100px) {
  .live-heading-meta { flex-direction: column; gap: 10px; align-items: flex-end; }
  .live-dashboard .live-route-list article, .live-dashboard .live-route-list article:last-child { grid-template-columns: 25px minmax(0,1fr) 56px 90px; gap: 5px; }
  .live-dashboard .live-route-item summary { grid-template-columns: 25px minmax(0,1fr) 56px 90px 10px; gap: 5px; }
  .live-dashboard .live-route-list strong { font-size: var(--font-meta); }
}
@media (max-width: 980px) {
  .live-heading-row { flex-direction: column; gap: 20px; }
  .live-heading-meta { flex-direction: row; align-items: flex-start; }
  .standard-live-summary.live-command-hero { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .standard-live-summary > .live-earthquake-card { grid-column: 1 / -1; min-height: 150px; border-top: 1px solid #e2e9ea; border-left: 0; }
  .live-dashboard { grid-template-columns: 1fr; }
  .live-dashboard > :is(.live-forecast-panel,.live-weather-panel,.live-water-panel,.live-routes-list,.live-pharmacy-panel) { grid-column: 1; grid-row: auto; min-height: 0; }
  .live-dashboard .live-water-panel { display: flex; }
  .live-dashboard .live-route-list article, .live-dashboard .live-route-list article:last-child { grid-template-columns: 26px minmax(0,1fr) 120px 110px; }
  .live-dashboard .live-route-item summary { grid-template-columns: 26px minmax(0,1fr) 120px 110px 12px; }
}
@media (max-width: 620px) {
  .live-dashboard .live-panel-title-row { flex-wrap: wrap; }
  :is(.live-dashboard .live-panel-action, .live-market-detail-link) { min-height: 34px; }
  :is(.live-page-heading.page-hero,.standard-live-summary.live-command-hero,.live-market,.live-dashboard,.live-sources-card-bottom) { width: var(--container); }
  .live-page-heading.page-hero { padding-top: var(--inner-page-title-top); }
  .live-breadcrumb { margin-bottom: 17px; }
  .live-page-heading.page-hero h1 { font-size: var(--font-ui-page); font-weight: 700; }
  .live-page-heading.page-hero p { font-size: 15px; }
  .live-heading-meta { flex-wrap: wrap; gap: 12px; }
  .live-heading-update { padding-top: 0; }
  .live-heading-tv { justify-items: start; }
  .live-heading-tv small { display: none; }
  .standard-live-summary.live-command-hero { grid-template-columns: 1fr; }
  .standard-live-summary > :is(.live-command-card,.live-busy-card,.live-earthquake-card) { min-height: 0; padding: 20px; }
  .standard-live-summary > :is(.live-busy-card,.live-earthquake-card) { border-top: 1px solid #e2e9ea; border-left: 0; }
  .standard-live-summary .live-command-card { grid-template-columns: 100px minmax(0,1fr); min-height: 170px; }
  .standard-live-summary .live-weather-icon-wrap { width: 86px; height: 86px; }
  .standard-live-summary .live-command-card img { width: 82px; height: 82px; }
  .standard-live-summary .live-weather-summary-body > strong { font-size: 40px; }
  .standard-live-summary .live-busy-card { min-height: 175px; }
  .standard-live-summary .live-earthquake-card { min-height: 140px; }
  .live-market { margin-top: 14px; padding: 16px; }
  .live-market-heading { align-items: flex-start; flex-direction: column; }
  .live-market-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 30px; }
  .live-market-icon svg { width: 38px; height: 38px; }
  .live-market-grid { grid-template-columns: 1fr; gap: 8px; }
  .live-market-card { min-height: 105px; grid-template-columns: 60px minmax(0,1fr); }
  .live-market-currency-icon { width: 46px; height: 46px; font-size: 25px; }
  .live-market-currency-gramaltin { font-size: 47px; }
  .live-dashboard .live-panel { padding: 19px; }
  .live-dashboard .live-panel-head h2 { font-size: 22px; }
  .live-dashboard .live-forecast-list { grid-template-columns: 1fr; gap: 0; }
  .live-dashboard .live-forecast-list article { display: grid; grid-template-columns: minmax(0,1fr) 46px auto; grid-template-rows: auto auto; gap: 3px 8px; min-height: 82px; padding: 8px 0; border-right: 0; border-bottom: 1px solid #e2e9ea; text-align: left; }
  .live-dashboard .live-forecast-list article:last-child { border-bottom: 0; }
  .live-dashboard .live-forecast-date { grid-column: 1; grid-row: 1; }
  .live-dashboard .live-forecast-list img { grid-column: 2; grid-row: 1 / 3; width: 42px; height: 42px; margin: 0; }
  .live-dashboard .live-forecast-temperature { grid-column: 3; grid-row: 1 / 3; }
  .live-dashboard .live-forecast-condition { grid-column: 1; grid-row: 2; }
  .live-weather-content { grid-template-columns: 1fr; }
  .live-weather-current { border-right: 0; border-bottom: 1px solid #e2e9ea; padding: 12px; }
  .live-weather-current img { width: 85px; height: 85px; }
  .live-dashboard .live-metric-grid { margin: 8px 0 0; }
  .live-dashboard .live-metric-grid article { min-height: 59px; }
  .live-dashboard .live-water-grid article { min-height: 200px; }
  .live-dashboard .live-water-grid article > strong { font-size: 29px; }
  .live-dashboard .live-water-grid article > strong em { font-size: 15px; }
  .live-dashboard .live-route-list article, .live-dashboard .live-route-list article:last-child { grid-template-columns: 23px minmax(0,1fr) 70px; min-height: 57px; padding: 7px; }
  .live-dashboard .live-route-list .traffic-meter { display: none; }
  .live-dashboard .live-route-list .traffic-status { grid-column: 3; font-size: var(--font-meta); }
  .live-dashboard .live-route-list strong { font-size: var(--font-meta); white-space: normal; }
  .live-dashboard .live-route-item summary { grid-template-columns: 23px minmax(0,1fr) 77px 10px; min-height: 55px; }
  .live-dashboard .live-route-item .traffic-meter { display: none; }
  .live-dashboard .live-route-item .traffic-status { grid-column: 3; font-size: var(--font-meta); }
  .live-dashboard .live-route-item .live-route-chevron { grid-column: 4; }
  .live-dashboard .live-route-item summary strong { white-space: normal; font-size: var(--font-meta); }
  .live-dashboard .live-pharmacy-panel { display: block; }
  .live-dashboard .live-pharmacy-map { min-height: 245px; margin-top: 14px; }
  .live-dashboard .live-pharmacy-actions { display: flex; margin-top: 10px; }
  .live-dashboard .live-pharmacy-panel > small { display: block; margin-top: 10px; }
  .live-sources-card-bottom .live-source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .live-sources-card-bottom .live-source-list article:nth-child(2) { border-right: 0; }
  .live-sources-card-bottom .live-source-list article { border-bottom: 1px solid #e3e9eb; }
  .live-sources-card-bottom .live-source-list article:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 390px) {
  .live-dashboard .live-pharmacy-actions { grid-template-columns: 1fr; }
  .live-sources-card-bottom .live-source-list { grid-template-columns: 1fr; }
  .live-sources-card-bottom .live-source-list article, .live-sources-card-bottom .live-source-list article:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--border); }
  .live-sources-card-bottom .live-source-list article:last-child { border-bottom: 0; }
  .live-dashboard .live-water-grid { grid-template-columns: 1fr; }
  .live-dashboard .live-water-grid article { min-height: 0; padding: 13px 0; border-right: 0; border-bottom: 1px solid #e1e8e9; }
  .live-dashboard .live-water-grid article + article { padding: 13px 0; border-bottom: 0; }
  .live-dashboard .live-water-grid article > span { min-height: 0; }
  .live-dashboard .live-water-grid article > strong { justify-content: flex-start; margin: 9px 0; }
}

[data-theme="dark"] .live-page-heading.page-hero h1, [data-theme="dark"] .live-dashboard .live-panel-head h2 { color: #eff7f7; }
[data-theme="dark"] :is(.live-dashboard .live-panel-action, .live-market-detail-link) { border-color: #38626a; background: #194550; color: #e5f9f7; }
[data-theme="dark"] :is(.live-dashboard .live-panel-action, .live-market-detail-link):hover { border-color: #74b4b4; background: #205660; }
[data-theme="dark"] .standard-live-summary.live-command-hero, [data-theme="dark"] .live-dashboard .live-panel, [data-theme="dark"] .live-sources-card-bottom { border-color: #28505a; background: #10343e; }
[data-theme="dark"] .standard-live-summary :is(.live-weather-summary-body > strong,.live-busy-card strong,.live-earthquake-content strong), [data-theme="dark"] .live-dashboard :is(.live-weather-current > strong,.live-weather-current > span,.live-water-grid article > strong,.live-metric-grid strong,.live-route-list strong), [data-theme="dark"] .live-sources-card-bottom h2 { color: #eff7f7; }
[data-theme="dark"] .live-market { background: #123a42; }
[data-theme="dark"] .live-market-card, [data-theme="dark"] .live-dashboard .live-route-list article { border-color: #28505a; background: #163f49; }
[data-theme="dark"] .live-page-heading.page-hero p, [data-theme="dark"] .live-breadcrumb, [data-theme="dark"] .live-page-heading.page-hero .live-breadcrumb > span:last-child, [data-theme="dark"] .live-page-heading.page-hero .live-heading-update > span, [data-theme="dark"] .live-heading-update strong { color: #bfd0d4; }
[data-theme="dark"] .live-heading-tv .live-tv-entry, [data-theme="dark"] .standard-live-summary .live-earthquake-card-arrow { border-color: #6d9ba4; background: #153c45; color: #edf7f7 !important; }
[data-theme="dark"] .standard-live-summary > :is(.live-busy-card,.live-earthquake-card), [data-theme="dark"] .standard-live-summary > .live-earthquake-card { border-color: #28505a; }
[data-theme="dark"] .standard-live-summary :is(.live-command-card > span,.live-busy-card > span,.live-earthquake-label), [data-theme="dark"] .live-market-heading h2, [data-theme="dark"] .live-market-card-head span, [data-theme="dark"] .live-market-card-body > strong, [data-theme="dark"] .live-dashboard :is(.live-forecast-date strong,.live-forecast-temperature strong,.live-water-grid article > span), [data-theme="dark"] .live-sources-card-bottom .live-source-list article strong { color: #eff7f7; }
[data-theme="dark"] .standard-live-summary :is(.live-weather-summary-body > p,.live-busy-card p,.live-busy-card small,.live-mini-row,.live-earthquake-content small), [data-theme="dark"] .live-dashboard :is(.live-panel-head p,.live-forecast-date span,.live-forecast-condition strong,.live-weather-current small,.live-metric-grid span,.live-metric-grid small,.live-water-grid small,.live-route-extra), [data-theme="dark"] .live-sources-card-bottom :is(.live-source-list span,.live-source-list small,.live-sources-note) { color: #b2c8cc; }
[data-theme="dark"] .live-dashboard .live-forecast-list article.is-today :is(strong,b), [data-theme="dark"] .live-dashboard .live-metric-grid strong { color: #eff7f7; }
[data-theme="dark"] .live-market-card, [data-theme="dark"] .live-dashboard .live-route-list .live-route-item { border-color: #28505a; background: #163f49; }
[data-theme="dark"] .live-dashboard .live-route-list .live-route-item[open] { background: #1a4852; }
[data-theme="dark"] .live-dashboard .live-route-item summary strong { color: #eff7f7; }

/* Traffic ranking: clear values, quieter typography and room for route names. */
.live-dashboard .live-routes-list { min-height: 0; }
.live-dashboard .live-routes-list .live-panel-head { margin-bottom: 20px; }
.live-dashboard .live-routes-list .live-route-list { grid-template-columns: minmax(0,1fr); gap: 10px; }
.live-dashboard .live-routes-list .live-route-item { --route-color:#159779; --route-tint:#eaf7f2; border-radius:12px; border-color:#e1ecef; transition:background .2s,border-color .2s; }
.live-dashboard .live-routes-list .live-route-item[data-tone="medium"] { --route-color:#ba7a10; --route-tint:#fff5e2; }
.live-dashboard .live-routes-list .live-route-item:is([data-tone="high"],[data-tone="critical"]) { --route-color:#ce4050; --route-tint:#fff0f1; }
.live-dashboard .live-routes-list .live-route-item:hover,.live-dashboard .live-routes-list .live-route-item[open] { border-color:#b8d7df; background:#f8fcfc; }
.live-dashboard .live-routes-list .live-route-item summary { grid-template-columns:30px minmax(0,1fr) minmax(100px,150px) 12px; column-gap:12px; row-gap:10px; min-height:78px; padding:12px 14px; }
.live-dashboard .live-routes-list .live-route-item summary strong { grid-column:2; grid-row:1; }
.live-dashboard .live-routes-list .live-route-item .live-route-number { grid-column:1; grid-row:1/3; }
.live-dashboard .live-routes-list .live-route-item .live-route-chevron { grid-column:4; grid-row:1/3; }
.live-dashboard .live-routes-list .live-route-number { width:30px; height:30px; border-radius:10px; background:var(--route-tint); color:var(--route-color); font-size:13px; font-weight:600; }
.live-dashboard .live-routes-list .live-route-item summary strong { font-size:14px; font-weight:500; white-space:normal; line-height:1.4; }
.live-dashboard .live-routes-list .live-route-flow { display:grid; grid-column:2/4; grid-row:2; min-width:0; width:100%; grid-template-columns:minmax(0,1fr) 42px; align-items:center; gap:10px; }
.live-dashboard .live-routes-list .live-route-flow .traffic-meter { display:block; height:9px; width:100%; grid-area:auto; border-radius:99px; background:#e8eff1; overflow:hidden; }
.live-dashboard .live-routes-list .live-route-flow .traffic-meter i { min-width:0; border-radius:99px; background:var(--route-color); }
.live-dashboard .live-routes-list .live-route-flow small { grid-area:auto; color:var(--muted); font-size:var(--font-meta); font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; }
.live-dashboard .live-routes-list .live-route-item .traffic-status { grid-column:3; grid-row:1; min-width:0; max-width:100%; box-sizing:border-box; padding:5px 8px; border-radius:7px; color:var(--route-color); background:var(--route-tint); font-size:var(--font-meta); font-weight:500; white-space:normal; overflow-wrap:anywhere; line-height:1.4; text-align:center; }
.live-dashboard .live-routes-list .live-route-extra { margin:0 14px 12px 56px; padding:12px 0 0; border-top:1px solid #e5eef1; gap:5px; line-height:1.5; }
[data-theme="dark"] .live-dashboard .live-routes-list .live-route-item { border-color:#28505a; }
[data-theme="dark"] .live-dashboard .live-routes-list .live-route-item:hover,[data-theme="dark"] .live-dashboard .live-routes-list .live-route-item[open] { background:#1a4852; }
@media(max-width:620px) {
 .live-dashboard .live-routes-list .live-route-item summary { grid-template-columns:30px minmax(0,1fr) 106px 10px; gap:8px; padding:12px; }
 .live-dashboard .live-routes-list .live-route-item summary strong { grid-column:2; font-size:13px; }
 .live-dashboard .live-routes-list .live-route-item .traffic-status { grid-column:3; grid-row:1; font-size:var(--font-meta); padding:4px 6px; }
 .live-dashboard .live-routes-list .live-route-item .live-route-chevron { grid-column:4; grid-row:1/3; }
 .live-dashboard .live-routes-list .live-route-extra { margin-left:50px; }
}
[data-theme="dark"] .live-dashboard .live-weather-current, [data-theme="dark"] .live-dashboard .live-water-grid article, [data-theme="dark"] .live-dashboard .live-forecast-list article, [data-theme="dark"] .live-sources-card-bottom .live-source-list article { border-color: #28505a; }
[data-theme="dark"] .standard-live-summary .live-busy-card .traffic-status, [data-theme="dark"] .live-market-quotes b { color: #85dcc8; }
