/* NordBaltiq design system — one visual language, no external UI runtime. */
:root{
  --canvas:#f5f7fb;--surface:#fff;--surface-soft:#f8faff;--ink:#13253f;--ink-soft:#344a66;
  --muted:#62748a;--line:#e1e7f0;--line-strong:#cbd5e4;--blue:#2563eb;--blue-deep:#1749c7;
  --blue-wash:#eef4ff;--mint:#137f63;--mint-wash:#e7f6ee;--amber:#96601c;--amber-wash:#fff6e6;
  --red:#bf544f;--shadow:0 2px 8px rgba(20,47,81,.035),0 10px 28px rgba(20,47,81,.025);
  color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;
}
@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --canvas:#111927;--surface:#1a2738;--surface-soft:#1f3045;--ink:#eef4fd;--ink-soft:#d1ddec;
    --muted:#adbed1;--line:#35465b;--line-strong:#52677f;--blue:#79a9ff;--blue-deep:#a6c4ff;
    --blue-wash:#263d62;--mint:#7ed9af;--mint-wash:#25483e;--amber:#f4c37e;--amber-wash:#493b2c;
    --red:#ff9b91;--shadow:0 2px 20px rgba(0,0,0,.12);color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --canvas:#111927;--surface:#1a2738;--surface-soft:#1f3045;--ink:#eef4fd;--ink-soft:#d1ddec;
  --muted:#adbed1;--line:#35465b;--line-strong:#52677f;--blue:#79a9ff;--blue-deep:#a6c4ff;
  --blue-wash:#263d62;--mint:#7ed9af;--mint-wash:#25483e;--amber:#f4c37e;--amber-wash:#493b2c;
  --red:#ff9b91;--shadow:0 2px 20px rgba(0,0,0,.12);color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:94px;background:var(--canvas)}
body{margin:0;background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.5}
button,select,input{font:inherit}button,select{cursor:pointer}a{color:inherit}
.layout{width:min(1232px,calc(100% - 48px));margin-inline:auto;min-width:0}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
[hidden]{display:none!important}
:focus-visible,.chart-scroll:focus-visible,.history-visual:focus-visible,.table-wrap:focus-visible,.history-table-wrap:focus-visible{outline:3px solid #4a91f8;outline-offset:3px}
#main:focus{outline:0}
.skip{position:fixed;z-index:1000;top:-100px;left:14px;padding:13px 17px;border-radius:12px;background:var(--ink);color:var(--surface);font-weight:750;text-decoration:none}
.skip:focus{top:12px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{letter-spacing:-.035em;line-height:1.18}
p{line-height:1.6}
button,input,select{accent-color:var(--blue)}

/* Simple editorial navigation. */
.topbar{position:relative;z-index:15;background:var(--surface);border-bottom:1px solid var(--line)}
.top-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:70px}
.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;font-size:22px;font-weight:850;letter-spacing:-.045em;text-decoration:none;line-height:1}
.brand-symbol{display:grid;place-items:center;width:42px;height:42px;background:#2563eb;color:#fff;border-radius:50%}
.brand-symbol img{display:block;width:36px;height:36px;object-fit:contain}
.brand-wordmark{white-space:nowrap}
.header-nav{display:flex;align-items:center;gap:3px;justify-content:center}
.header-nav a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;font-size:13px;font-weight:650;text-decoration:none;border-radius:10px;color:var(--ink-soft);white-space:nowrap}
.header-nav a:hover,.header-nav a:focus-visible{background:var(--surface-soft);color:var(--ink)}
.header-nav .nav-active{background:var(--blue-wash);color:var(--blue-deep)}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.language-choice select,.theme-toggle{height:44px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(22,55,92,.035)}
.language-choice select{min-width:76px;padding:0 10px;font-size:13px;font-weight:750}
.theme-toggle{display:grid;place-items:center;width:44px;padding:0}
.theme-toggle:hover{background:var(--blue-wash)}
.theme-toggle .moon-icon{display:none}
:root[data-theme="dark"] .theme-toggle .moon-icon{display:block}
:root[data-theme="dark"] .theme-toggle .sun-icon{display:none}
@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-toggle .moon-icon{display:block}
  :root:not([data-theme="light"]) .theme-toggle .sun-icon{display:none}
}

/* Country first, with a correct local-language heading and immediately visible destinations. */
.hero{display:flex;align-items:center;justify-content:space-between;gap:20px 24px;padding:31px 0 22px}
.hero-copy{display:flex;align-items:center;gap:16px;min-width:0}
.hero-flag{display:inline-flex;align-items:center;flex-shrink:0}
.hero-flag img{display:block;width:54px;height:36px;object-fit:cover;border:1px solid rgba(15,39,72,.14);border-radius:6px;box-shadow:0 2px 5px rgba(15,39,72,.1)}
.hero-text{min-width:0}
.hero h1{font-size:clamp(26px,2.6vw,35px);font-weight:825;letter-spacing:-.045em;margin:0 0 5px}
.subtitle{font-size:13px;color:var(--muted);margin:0;max-width:740px;line-height:1.5}
.country-switch{display:grid;grid-template-columns:repeat(4,minmax(64px,1fr));gap:7px;flex-shrink:0}
.country-pill{display:flex;align-items:center;justify-content:center;gap:9px;min-height:45px;min-width:71px;padding:5px 12px;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:750;box-shadow:var(--shadow);font-variant-numeric:tabular-nums}
.country-flag{display:block;width:30px;height:20px;object-fit:cover;flex-shrink:0;border:1px solid rgba(15,39,72,.13);border-radius:3px}
.country-pill .country-flag{width:30px;height:20px}
.country-pill:hover{border-color:var(--blue)}
.country-pill.is-selected{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue-wash) inset;color:var(--blue-deep);background:var(--blue-wash)}

/* Daily navigation is a real linked, keyboard-friendly segmented control. */
.daynav{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 14px;min-width:0}
.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px;gap:4px;width:min(100%,590px);box-shadow:var(--shadow)}
.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:65px;padding:6px 10px;border-radius:10px;text-decoration:none;color:var(--ink-soft);font-size:13px}
.tab:hover{background:var(--surface-soft)}
.tab.active{background:var(--blue);color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.21)}
.tab-name{font-weight:750;line-height:1.3}
.tab-date{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.tab.active .tab-date{color:#dce8ff}
.tab-price{font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;min-height:16px;white-space:nowrap}
.history-menu{position:relative;flex-shrink:0}
.history-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;list-style:none;cursor:pointer;border-radius:10px;padding:10px 13px;border:1px solid var(--line-strong);background:var(--surface);font-size:12px;font-weight:700}
.history-menu>summary::-webkit-details-marker{display:none}
.history-menu>summary:hover{background:var(--blue-wash)}
.date-form{position:absolute;z-index:20;right:0;top:calc(100% + 6px);width:260px;max-width:calc(100vw - 24px);padding:14px;display:grid;gap:10px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px}
.date-form label{font-weight:700;font-size:12px;color:var(--ink-soft)}
.date-form input,.date-form button{min-height:44px;border-radius:8px;padding:8px 11px}
.date-form input{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}
.small-btn{border:0;color:#fff;background:#2563eb;font-weight:750}
.small-btn:hover{background:#1749c7}

/* Three purposes, not three identical decoration boxes. */
.dashboard{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,.92fr));gap:11px;margin:0 0 13px}
.metric,.quick-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}
.metric.primary{min-height:148px;padding:19px 23px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.metric-topline,.metric-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.metric-label,.quick-label{font-size:13px;font-weight:750;color:var(--ink-soft)}
.live-dot{width:7px;height:7px;background:#1ba965;border-radius:50%}
.metric-value{font-size:clamp(34px,3.3vw,44px);font-weight:825;line-height:1.12;letter-spacing:-.055em;font-variant-numeric:tabular-nums;margin:9px 0 4px}
.metric-unit{font-size:16px;color:var(--ink-soft);margin-inline-start:8px;font-weight:600;letter-spacing:-.02em}
.metric-note{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.price-level{font-size:12px;font-weight:750}
.price-level:not(:empty){display:inline-block;padding:3px 8px;border-radius:999px;background:var(--mint-wash);color:var(--mint)}
.price-level-high:not(:empty){background:var(--amber-wash);color:var(--amber)}
.price-level-normal:not(:empty){background:var(--surface-soft);color:var(--muted)}
.day-comparison{font-size:12px;color:var(--mint);font-weight:750;margin:5px 0 0}
.quick-card{min-width:0;position:relative;display:flex;align-items:flex-start;gap:12px;min-height:148px;padding:20px 18px;text-decoration:none}
.quick-card:hover{border-color:#9ab7eb;transform:translateY(-1px)}
.quick-icon{width:35px;height:35px;flex:0 0 35px;border-radius:10px;background:var(--blue-wash);display:grid;place-items:center;color:var(--blue)}
.quick-copy{min-width:0;display:flex;flex-direction:column;gap:6px;align-self:center}
.quick-copy strong{font-size:19px;line-height:1.25;letter-spacing:-.025em;font-weight:800;overflow-wrap:anywhere}
.quick-copy small{font-size:12px;color:var(--muted);line-height:1.4}
.quick-arrow{position:absolute;right:13px;top:13px;font-size:15px;color:var(--muted)}
.quick-copy .is-ready{color:var(--mint)}
.quick-copy .is-waiting{color:var(--ink-soft)}

/* Large data visualization and narrow, readable statistics sidebar. */
.chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 217px;gap:12px;align-items:stretch;min-width:0}
.panel{padding:21px 23px;margin:0 0 13px;min-width:0}
.chart-panel{margin:0;min-width:0}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px 18px;flex-wrap:wrap}
.section-heading h2,.panel h2{font-size:18px;line-height:1.25;font-weight:800;letter-spacing:-.03em;margin:0 0 2px}
.muted{margin:3px 0;color:var(--muted);font-size:12px;line-height:1.5}
.tools{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.toggle{display:inline-flex;align-items:center;min-height:40px;gap:6px;color:var(--ink-soft);font-weight:650;font-size:12px;cursor:pointer}
.toggle input{width:18px;height:18px;margin:0;flex-shrink:0}
.tools select{min-height:40px;max-width:180px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--ink);padding:6px 8px;font-size:12px}
.chart-scroll{width:100%;overflow:auto;overscroll-behavior-inline:contain;margin-top:10px;scrollbar-width:thin}
.chart-scroll svg{display:block;min-width:710px;width:100%;max-height:315px}
.chart-scroll.hourly svg{min-width:600px}
.chart-grid{stroke:var(--line);stroke-width:1}
.chart-axis{font-size:11px;fill:var(--muted)}
.chart-zero{stroke:var(--line-strong);stroke-dasharray:5 5}
.chart-average{stroke:var(--blue);stroke-dasharray:6 5;stroke-width:1.2;opacity:.7}
.chart-bar{fill:#83cf9f;transition:fill .12s}
.chart-bar.low{fill:#7acb92}
.chart-bar.mid{fill:#f1d47c}
.chart-bar.high{fill:#f4ae86}
.chart-bar.peak{fill:#ee857e}
.chart-bar.negative{fill:#4f92d0}
.chart-bar.now{stroke:#2563eb;stroke-width:2}
.chart-bar.is-selected{stroke:#193a78;stroke-width:2.8}
.chart-help,.swipe-hint,.chart-note{font-size:12px;color:var(--muted)}
.chart-help{margin:5px 0;line-height:1.45}
.chart-note{min-height:18px;text-align:center;font-weight:700;color:var(--ink-soft);margin:2px 0}
.chart-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:9px 0 3px}
.chart-legend span:before{content:'';display:inline-block;vertical-align:-2px;width:11px;height:11px;border-radius:3px;margin-right:6px;border:1px solid rgba(20,45,71,.06)}
.legend-low:before{background:#7acb92}
.legend-high:before{background:#ee9a7e}
.legend-now:before{background:#2563eb}
.swipe-hint{display:none;text-align:center;margin:5px 0}
.chart-aside{display:flex;flex-direction:column;justify-content:center;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:8px 18px;box-shadow:var(--shadow);min-width:0}
.metrics-summary{margin:0}
.summary-stat{padding:14px 0;display:flex;flex-direction:column;gap:4px}
.summary-stat+.summary-stat{border-top:1px solid var(--line)}
.summary-stat dt{font-size:12px;color:var(--muted);font-weight:650}
.summary-stat dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin:0}
.summary-stat dd strong{font-size:22px;line-height:1.2;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.stat-unit,.stat-time{font-size:11px;color:var(--muted);line-height:1.4}
.stat-time{display:block}
.aside-caption{font-size:10px;color:var(--muted);line-height:1.4;border-top:1px solid var(--line);margin:0;padding-top:11px}

/* A single chronological twelve-month trend, not a comparison dashboard. */
.history-comparison{margin-top:13px}
.history-comparison .section-heading{margin-bottom:12px}
.history-empty{margin:12px 0 0;padding:20px;border:1px dashed var(--line-strong);border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:13px;line-height:1.6}
.history-visual{min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:8px 0 2px}
.monthly-bars{display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));gap:5px;min-width:560px;height:174px}
.month-cluster{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:0}
.month-bar-pair{position:relative;height:140px;border-bottom:1px solid var(--line-strong)}
.month-column{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:block;width:55%;max-width:28px;height:var(--bar-height);border-radius:4px 4px 0 0;background:#3479ee}
.month-column.is-partial{background:repeating-linear-gradient(130deg,#85aeea 0px,#85aeea 5px,#bbd1f4 5px,#bbd1f4 9px)}
.month-column.is-empty{display:none}
.month-column.is-negative{background:#a68bcf;border-radius:0 0 4px 4px}
.monthly-bars.has-negative .month-bar-pair{border-bottom:0}
.monthly-bars.has-negative .month-bar-pair::after{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:var(--line-strong)}
.monthly-bars.has-negative .month-column:not(.is-negative){bottom:50%;z-index:1}
.monthly-bars.has-negative .month-column.is-negative{top:50%;bottom:auto;z-index:1}
.history-month,.history-month-label{font-size:11px;color:var(--muted);font-weight:700;text-align:center;line-height:1.3}
.history-details{margin-top:8px;border-top:1px solid var(--line)}
.history-details summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;color:var(--blue);font-weight:700;font-size:12px;list-style:none}
.history-details summary::-webkit-details-marker{display:none}
.history-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px}
.history-table{min-width:360px;table-layout:auto}
.history-table th,.history-table td{padding:10px 12px}
.history-table thead th{background:var(--surface-soft);font-size:11px;text-transform:none}
.history-table .history-price{font-weight:750;font-variant-numeric:tabular-nums}
.history-coverage{font-size:11px;color:var(--muted);line-height:1.4}
.history-month-label{text-align:left}
.planner{margin-top:0}
.planner-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.mini-label{font-size:11px;font-weight:750;color:var(--muted)}
.planner-head h2{margin:4px 0 5px;font-size:20px}
.planner-symbol{display:none}
.planner-controls{display:flex;align-items:flex-end;gap:13px;flex-wrap:wrap;margin:15px 0}
.planner-controls label{display:flex;flex-direction:column;gap:5px;min-width:150px;font-size:12px;font-weight:700;color:var(--ink-soft)}
.planner-controls select,.planner-controls input{min-height:44px;padding:9px 12px;background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);border-radius:9px;width:100%;max-width:220px}
.planner-controls input[aria-invalid="true"]{border-color:var(--red)}
.plan-result{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:13px;align-items:center}
.bigline{font-size:23px;font-weight:800;line-height:1.25;letter-spacing:-.035em;font-variant-numeric:tabular-nums;margin:5px 0 2px}
.plan-cost{display:flex;flex-direction:column;gap:5px;background:var(--blue-wash);border-radius:11px;padding:14px}
.plan-cost strong{font-size:26px;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.plan-cost small{font-size:11px;color:var(--ink-soft)}
.planner-legal{color:var(--muted);font-size:11px;margin:12px 0 0}
.table-panel{margin-top:0}
.date-links{display:flex;justify-content:space-between;gap:10px;margin:8px 0;font-size:12px;font-weight:750}
.date-links a{display:inline-flex;align-items:center;min-height:40px;text-decoration:none;color:var(--blue)}
.table-wrap{max-height:330px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:9px;margin-top:9px}
table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
th,td{padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px}
th{font-size:11px;font-weight:750;background:var(--surface-soft);color:var(--ink-soft);position:sticky;top:0;z-index:1}
tbody tr:nth-child(2n){background:var(--surface-soft)}
tbody tr.is-now{background:var(--blue-wash);font-weight:800}
.row-time{font-size:12px;background:transparent;position:static;color:var(--ink);font-weight:650}
.empty{min-height:215px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center}
.empty-icon{font-size:28px}
.empty p{margin:0;font-size:12px}
.faq{padding-bottom:7px}
.faq details{border-top:1px solid var(--line)}
.faq summary{cursor:pointer;padding:15px 2px;min-height:44px;font-weight:700;font-size:13px}
.faq details p{max-width:75ch;color:var(--ink-soft);font-size:13px;line-height:1.65}
.faq-widget-guide{padding:4px 0 16px;max-width:85ch}
.faq-widget-block{margin:12px 0;padding:12px 16px;background:var(--surface-soft);border-radius:10px;border:1px solid var(--line)}
.faq-widget-block h3{margin:0 0 8px;font-size:13px;font-weight:750;color:var(--ink)}
.faq-widget-steps{margin:0;padding-left:20px;font-size:13px;color:var(--ink-soft);line-height:1.65}
.faq-widget-steps li{margin-bottom:6px}
.faq-widget-steps code{font-size:11px;padding:2px 5px;background:var(--surface);border-radius:4px;border:1px solid var(--line);word-break:break-all}
.disclaimer{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 24px}
.footer{background:var(--surface);border-top:1px solid var(--line)}
.footer-inner{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.footer-countries{display:flex;align-items:center;gap:5px 16px;flex-wrap:wrap}
.footer-countries a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:650;text-decoration:none}
.footer-countries .country-flag{width:24px;height:16px}
.footer-countries a:hover{text-decoration:underline}
.footer-countries a[aria-current="page"]{color:var(--blue-deep);font-weight:800}
.footer-meta a{color:var(--muted);text-decoration:underline}
.footer-meta a:hover{color:var(--ink)}
.publication-panel{display:flex;gap:16px;align-items:flex-start;min-height:190px;padding:27px}
.publication-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;background:var(--blue-wash);border-radius:12px;color:var(--blue);font-size:29px}
.publication-content h2{font-size:23px;margin:6px 0 10px}
.publication-content p{font-size:13px;color:var(--muted);margin:4px 0 9px}
.publication-status{font-weight:750;color:var(--blue)!important}
.publication-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.preview-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:9px;text-decoration:none;background:var(--surface);font-size:12px;color:var(--blue);font-weight:750}
.preview-link:hover{background:var(--blue-wash)}
.swipe-hint,.chart-help,.chart-legend,.chart-note,.js-controls,.chart-scroll{display:none}
.js-enabled.has-prices .js-controls{display:flex}
.js-enabled .chart-scroll,.js-enabled .chart-help{display:block}
.js-enabled .chart-legend{display:flex}
.js-enabled .chart-note{display:block}
.noscript-note{font-size:12px;color:var(--muted)}
.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;margin-bottom:8px;border-radius:10px;padding:10px 14px;font-size:12px;background:var(--blue-wash);border:1px solid var(--line-strong);color:var(--ink)}
.connection-banner[data-state="offline"]{background:var(--amber-wash)}
.connection-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:8px;background:var(--blue);color:#fff;text-decoration:none;font-weight:750}
.connection-refresh:hover{background:var(--blue-deep)}
@media(max-width:1100px){.header-nav a{padding:9px 10px}.hero{align-items:flex-start}.country-switch{grid-template-columns:repeat(4,minmax(55px,1fr))}.country-pill{min-width:63px;padding:5px 8px}}
@media(max-width:925px){
  .header-nav{display:none}
  .hero{flex-wrap:wrap;gap:15px}.country-switch{width:100%;max-width:390px}
  .dashboard{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
  .dashboard .metric.primary{grid-row:span 2}
  .quick-card{min-height:100px;padding:13px 15px}
  .quick-icon{width:31px;height:31px;flex-basis:31px}
  .quick-copy strong{font-size:17px}
  .chart-layout{grid-template-columns:minmax(0,1fr)}
  .chart-aside{padding:5px 16px}
  .metrics-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .dashboard.is-other-day~.chart-layout .metrics-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .summary-stat{padding:10px 12px}
  .summary-stat+.summary-stat{border-top:0;border-left:1px solid var(--line)}
  .aside-caption{display:none}
}
@media(max-width:680px){
  html{scroll-padding-top:16px}
  .layout{width:calc(100% - 30px)}
  .top-inner{min-height:62px;gap:8px}
  .brand{font-size:19px;gap:8px}.brand-symbol{width:36px;height:36px}.brand-symbol img{width:32px;height:32px}
  .language-choice select,.theme-toggle{height:42px}.theme-toggle{width:42px}
  .hero{padding:22px 0 15px;gap:14px}
  .hero-copy{gap:11px;align-items:flex-start}
  .hero-flag{margin-top:3px}.hero-flag img{width:43px;height:29px}
  .hero h1{font-size:clamp(22px,6vw,28px);line-height:1.18}
  .subtitle{font-size:12px}
  .country-switch{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .country-pill{min-width:0;padding:6px 8px;min-height:45px;font-size:12px;gap:6px}
  .country-pill .country-flag{width:25px;height:17px}
  .daynav{flex-wrap:wrap;gap:6px;margin-bottom:11px}
  .daynav .tabs{width:100%;gap:3px}
  .tab{min-height:62px;padding:5px 3px;font-size:12px}
  .tab-price{font-size:12px}
  .history-menu{width:100%;display:flex;justify-content:flex-end}
  .history-menu>summary{min-height:35px;padding:5px 10px;font-size:11px}
  .dashboard,.dashboard.is-other-day{grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:10px}
  .dashboard .metric.primary{grid-row:auto;min-height:0;padding:15px 16px}
  .metric-value{font-size:36px}
  .quick-card{min-height:74px;padding:12px 14px;gap:11px}
  .quick-copy{gap:2px}
  .quick-copy strong{font-size:15px}
  .quick-copy small{font-size:11px}
  .quick-icon{width:31px;height:31px;flex-basis:31px}
  .quick-arrow{top:11px}
  .chart-layout{gap:9px}
  .panel{padding:17px 15px;margin-bottom:10px;border-radius:13px}
  .chart-panel{margin-bottom:0}
  .section-heading{align-items:flex-start}
  .tools{width:100%;gap:8px}
  .toggle{font-size:11px;min-height:40px}
  .chart-scroll{margin-top:8px}
  .chart-scroll.hourly svg{min-width:100%;max-height:290px}
  .chart-scroll:not(.hourly) svg{min-width:930px}
  .swipe-hint{display:block;font-size:11px;color:var(--muted);text-align:center;margin:6px 0}
  .js-enabled .swipe-hint{display:block}
  .chart-help{font-size:11px}
  .chart-legend{gap:7px 12px}
  .metrics-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .summary-stat{padding:10px 8px}
  .summary-stat dd strong{font-size:clamp(17px,5vw,22px)}
  .summary-stat dt,.stat-time{font-size:10px}
  .stat-unit{font-size:10px}
  .history-visual{padding-top:10px}
  .monthly-bars{min-width:520px}
  .planner-controls{gap:10px}
  .planner-controls label{min-width:calc(50% - 5px);flex:1 1 140px}
  .plan-result{grid-template-columns:1fr;gap:8px}
  .plan-cost{padding:12px}
  .bigline{font-size:21px}
  .footer-inner{align-items:flex-start;flex-direction:column}
  .publication-panel{padding:18px;gap:10px}
  .publication-icon{width:38px;height:38px;flex-basis:38px;font-size:24px}
  .connection-banner{font-size:12px}
}
@media(max-width:365px){.layout{width:calc(100% - 24px)}.brand{font-size:17px}.brand-symbol{width:33px;height:33px}.language-choice select{min-width:62px;padding:0 5px}.country-pill{gap:4px;padding:4px}.metric-unit{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}}
@media(forced-colors:active){.tab.active,.country-pill.is-selected,.quick-icon,.price-level,.plan-cost{border:1px solid Highlight;background:Canvas;color:CanvasText}.chart-bar,.month-column{fill:CanvasText;background:CanvasText}.chart-bar.is-selected{stroke:Highlight;stroke-width:4}}

/* Small-screen refinement: keep graph and metrics within one coherent surface. */
@media(min-width:366px) and (max-width:680px){
  .dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard .metric.primary{grid-column:1/-1}
  .dashboard .quick-card{min-height:100px;padding:12px 11px;gap:6px}
  .dashboard .quick-icon{display:none}
  .dashboard .quick-copy{padding-right:6px}
  .dashboard .quick-copy strong{font-size:14px}
  .dashboard .quick-arrow{right:9px;top:7px}
}
@media(max-width:680px){
  .chart-layout{display:block;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:10px}
  .chart-layout .chart-panel{border:0;box-shadow:none;border-radius:0;margin:0}
  .chart-layout .chart-aside{border:0;border-top:1px solid var(--line);box-shadow:none;border-radius:0;margin:0;padding:0 12px}
}

/* Archive UX: stable day links, compact year comparison, no dead day picker. */
.history-shortcut{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--blue);text-decoration:none;font-size:12px;font-weight:750;white-space:nowrap}
.history-shortcut:hover{background:var(--blue-wash)}
@media(max-width:680px){.history-shortcut{min-height:38px;font-size:11px}}


/* Compact, local-to-chart tooltips: no third-party overlay library or global portal. */
.chart-viewport,.history-chart-frame{position:relative;min-width:0}
.chart-tooltip,.history-tooltip{
  position:absolute;z-index:5;top:10px;left:10px;min-width:168px;max-width:min(236px,calc(100% - 16px));
  padding:10px 13px;border-radius:10px;border:1px solid var(--line-strong);
  color:var(--ink);background:var(--surface);box-shadow:0 9px 28px rgba(11,37,68,.19);
  pointer-events:none;font-variant-numeric:tabular-nums;line-height:1.4;
}
.chart-tooltip-label{display:block;color:var(--muted);font-size:10px;font-weight:750;margin-bottom:2px}
.chart-tooltip-time{display:block;font-size:12px;font-weight:700;white-space:nowrap}
.chart-tooltip-value{display:block;font-size:18px;letter-spacing:-.025em;margin-top:5px;white-space:nowrap}
.chart-viewport .chart-scroll{touch-action:pan-x pan-y}
.chart-scroll svg{cursor:crosshair}
.chart-crosshair{stroke:var(--blue);stroke-width:1.4;stroke-dasharray:3 3;pointer-events:none}
.chart-bar{pointer-events:none}
.month-cluster{appearance:none;background:transparent;color:inherit;border:0;border-radius:6px;cursor:pointer;padding:1px 2px 0;font:inherit}
.month-cluster:hover,.month-cluster:focus-visible{background:var(--blue-wash)}
.month-cluster:hover .month-column,.month-cluster:focus-visible .month-column{filter:brightness(.85)}
.history-tooltip{width:max-content;max-width:min(250px,calc(100% - 16px))}
.history-tooltip-title{display:block;font-size:12px;font-weight:800;margin-bottom:6px}
.history-tooltip-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;margin:4px 0}
.history-tooltip-row strong{font-weight:800}
.history-tooltip-coverage{display:block;color:var(--muted);font-size:10px}
.monthly-bars .month-cluster{min-width:0;min-height:44px}
@media(max-width:680px){.chart-tooltip,.history-tooltip{min-width:152px;padding:9px 11px}.chart-tooltip-value{font-size:16px}}
@media(forced-colors:active){.chart-tooltip,.history-tooltip{border:2px solid CanvasText;background:Canvas;color:CanvasText}.chart-crosshair{stroke:Highlight}}

.chart-hit-area{fill:transparent;pointer-events:all;cursor:crosshair}

.history-tooltip-price{display:block;font-size:18px;font-weight:800;letter-spacing:-.025em;white-space:nowrap;margin:2px 0 4px}

/* Compact two-line date labels cannot overlap adjacent months on small screens. */
.history-month{display:flex;flex-direction:column;align-items:center;gap:0;min-height:32px;white-space:normal}
.history-month-name{display:block;font-size:11px;line-height:1.3}
.history-month-year{display:block;font-size:10px;min-height:13px;line-height:1.3;color:var(--muted);font-weight:500}

.history-swipe{display:none;margin:2px 0 6px;text-align:center;color:var(--muted);font-size:11px}
@media(max-width:680px){.history-swipe{display:block}}
