:root { font-family: "Segoe UI", system-ui, sans-serif; color: #253d36; background: #f6f8f7; font-synthesis: none; --green: #176b54; --muted: #73847e; --border: #e2e9e5; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: not-allowed; opacity: .55; }
button { color: inherit; }
:focus-visible { outline: 3px solid #77b7a0; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(29px, 2.45vw, 40px); letter-spacing: -1.5px; line-height: 1.2; font-weight: 650; margin: 10px 0 12px; }
h2 { font-size: 19px; letter-spacing: -.45px; font-weight: 650; margin: 7px 0 0; }
p { line-height: 1.65; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 238px; padding: 38px 22px 24px; background: #fff; border-right: 1px solid var(--border); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 10; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 750; letter-spacing: -.7px; color: #294439; white-space: nowrap; }
.brand-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: white; display: grid; place-items: center; }
.brand-icon .icon { width: 27px; height: 27px; }
.brand-light { font-weight: 400; }
.brand small { display: block; font-size: 8px; font-weight: 600; letter-spacing: 1.55px; margin-top: 7px; color: var(--muted); }
.nav-caption { font-size: 10px; letter-spacing: 1.8px; color: #8a9992; font-weight: 600; margin: 56px 14px 16px; }
.sidebar nav { display: flex; flex-direction: column; gap: 8px; }
.sidebar nav a { display: flex; gap: 13px; align-items: center; border-radius: 9px; padding: 14px; color: #687b72; font-size: 14px; font-weight: 500; }
.sidebar nav a:hover { background: #f4f8f5; }
.sidebar nav a.active { background: #eaf3ee; color: #146347; font-weight: 650; }
.sidebar-note { background: linear-gradient(145deg, #f2f6ed, #eaf2ec); padding: 24px 18px; border-radius: 12px; margin-top: auto; }
.little-sun { color: #a38d38; display: block; margin-bottom: 16px; }
.little-sun .icon { width: 28px; height: 28px; }
.sidebar-note strong { font-size: 18px; line-height: 1.5; font-weight: 600; }
.sidebar-note p { color: #6a7e70; font-size: 12px; margin: 12px 0 21px; }
.sidebar-note a { font-size: 10px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.sidebar-note a .icon { width: 15px; }
.sidebar-bottom { font-size: 10px; color: #718278; margin-top: 26px; padding: 0 5px; }
.sidebar-bottom small { display: block; padding: 12px 0 0 14px; color: #94a097; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #57a783; margin-right: 7px; vertical-align: middle; flex-shrink: 0; }
.status-dot.muted { background: #aab5af; }
.workspace { margin-left: 238px; width: calc(100% - 238px); min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 79px; border-bottom: 1px solid var(--border); background: #fdfefd; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; color: #7e8d85; letter-spacing: 1.4px; }
.topbar-right { font-size: 11px; letter-spacing: 0; display: flex; align-items: center; gap: 3px; }
.topbar-divider { color: #d8e0db; margin: 0 17px; }
main { padding: 39px 40px 24px; max-width: 1600px; margin-inline: auto; width: 100%; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.eyebrow { font-size: 9px; letter-spacing: 1.8px; color: #788d80; font-weight: 650; }
.page-heading p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.green-text { color: #2e8969; }
.button { border-radius: 7px; padding: 11px 15px; font-size: 12px; font-weight: 600; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 40px; }
.button .icon { width: 16px; height: 16px; }
.primary { background: var(--green); color: #fff; }
.primary:hover:not(:disabled) { background: #11513f; }
.secondary { background: white; border-color: #dce5df; color: #506b5b; }
.secondary:hover:not(:disabled) { background: #edf4ef; }
.dashboard-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 18px; }
.tab-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.tab-label > .icon { width: 16px; color: #7c9186; }
.count-badge { font-size: 10px; border-radius: 5px; color: #788c7f; background: #e8eeea; padding: 3px 7px; }
.toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px; }
.model-picker { font-size: 11px; color: #7c8d82; display: flex; gap: 9px; align-items: center; }
select, input { background: #fff; border: 1px solid #dbe4dd; color: #345647; border-radius: 6px; min-height: 40px; padding: 9px 12px; max-width: 100%; }
select { font-size: 12px; padding-right: 25px; }
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 25px; }
.city-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 17px 0; min-width: 0; box-shadow: 0 3px 8px #1c442203; }
.city-card.selected { background: linear-gradient(125deg, #edf5ee, #f6faf3); border-color: #a8c8b0; }
.city-card.selected.comparison-2 { background: linear-gradient(125deg, #f4eef8, #fbf8fc); border-color: #c8acd7; }
.city-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: nowrap; }
.city-select { border: 0; background: transparent; padding: 0; text-align: left; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.city-name { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-select small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-button { background: transparent; border: 0; border-radius: 6px; padding: 5px; display: inline-flex; align-items: center; justify-content: center; }
.icon-button:hover { background: #dceadf; }
.card-controls { display: flex; align-items: center; flex-shrink: 0; gap: 2px; }
.card-controls .icon-button { padding: 4px; min-width: 23px; min-height: 25px; color: #6d8978; }
.card-controls .icon { width: 14px; height: 14px; }
.card-controls .remove-place { margin: 0; }
.card-controls .icon-button:disabled { cursor: default; }
.drag-handle[draggable="true"] { cursor: grab; }
.drag-handle[draggable="true"]:active { cursor: grabbing; }
.sortable-card.dragging { opacity: .5; border-style: dashed; }
.sortable-card.drop-target { outline: 2px dashed #176b54; outline-offset: 4px; }
.sortable-card { min-width: 0; }
.city-card-top .card-controls { margin-left: auto; }
.comparison-number { width: 21px; height: 21px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; background: #237b5b; color: #fff; font-size: 10px; font-weight: 700; }
.comparison-2 .comparison-number { background: #8550a3; }
.layout-hint { margin: -4px 0 15px; color: #718579; font-size: 11px; }
.section-heading:has(.card-controls) { flex-wrap: wrap; }
.remove-place { color: #8d9e93; margin-right: -7px; margin-top: -5px; }
.remove-place .icon { width: 14px; height: 14px; }
.city-weather { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; text-align: left; padding: 15px 0; border: 0; background: transparent; }
.current-temperature { font-size: 49px; font-weight: 400; letter-spacing: -2.5px; line-height: 1; }
.city-weather p { font-size: 11px; margin: 8px 0 5px; }
.city-weather small { color: #7c8c81; font-size: 9px; }
.hero-weather-icon { width: 58px; height: 58px; color: #beab56; stroke-width: 1; }
.sun-fill { fill: #f7c945; stroke: #cb8c00; }
.cloud-fill { fill: #edf6f2; stroke: #3f8067; }
.city-metrics { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 11px; padding: 0 0 13px; }
.city-metrics > span { display: inline-flex; align-items: center; gap: 4px; }
.city-metrics .icon { width: 15px; height: 15px; color: #84988a; margin-right: 2px; }
.city-metrics small { font-size: 9px; color: #87988b; }
.city-local-time { color: #7c8d81; font-size: 10px; }
.city-card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #dfe9df; color: #728b79; font-size: 9px; padding: 9px 0; min-height: 34px; }
.city-card-bottom > .icon { width: 15px; height: 15px; }
.comparison-toggle { border: 0; border-radius: 5px; background: transparent; color: #7d4b96; font-size: 9px; font-weight: 650; padding: 5px 7px; }
.comparison-toggle:hover { background: #f1e8f5; color: #683b80; }
.comparison-toggle[aria-pressed="true"] { background: #eee2f3; color: #683b80; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.detail-grid { display: flex; align-items: stretch; gap: 20px; }
.detail-grid .forecast-panel, .detail-grid .hourly-panel { flex: 1 1 50%; display: flex; flex-direction: column; }
.forecast-content { --primary-series: #237b5b; --comparison-series: #8a4fa8; flex: 1; min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 22px; }
.section-heading h2 { font-size: 16px; }
.section-heading > .icon { color: #94a496; }
.forecast-expand-title { border: 0; background: transparent; color: inherit; padding: 0; text-align: left; font-weight: inherit; cursor: zoom-in; }
.forecast-expand-title:hover { color: var(--green); }
.forecast-expand-button { cursor: zoom-in; }
.forecast-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(12px, 3vw, 42px); background: rgba(23, 48, 39, .58); backdrop-filter: blur(3px); }
.forecast-overlay-dialog { width: min(1800px, 96vw); max-height: 94vh; overflow: auto; padding: clamp(18px, 2vw, 32px); background: #fff; border: 1px solid #cbdad1; border-radius: 14px; box-shadow: 0 24px 80px rgba(15, 42, 32, .28); }
.forecast-overlay-heading { margin-bottom: 14px; }
.forecast-overlay-heading h2 { font-size: clamp(19px, 1.6vw, 27px); }
.forecast-overlay-close { width: 38px; height: 38px; color: #446657; }
.forecast-overlay-close .icon { width: 21px; height: 21px; }
.forecast-overlay-dialog .temperature-chart { margin-block: 14px 18px; }
.forecast-overlay-dialog .hour-item { font-size: 11px; }
.forecast-overlay-dialog .hour-place { grid-template-rows: 34px 24px 18px; }
.forecast-overlay-dialog .hour-place > .icon { width: 30px; height: 30px; }
.forecast-overlay-dialog .hour-place strong { font-size: 15px; }
.forecast-overlay-dialog .hour-place small { font-size: 9px; }
body:has(.forecast-overlay) { overflow: hidden; }
.subtle-badge { font-size: 10px; padding: 7px 10px; border: 1px solid #d7e5dc; border-radius: 5px; background: #f2f8f4; color: #3f7259; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.subtle-badge .icon { width: 14px; height: 14px; }
.forecast-location-legend { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 7px 14px; min-height: 30px; font-size: 9px; color: #63776c; }
.forecast-location { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; }
.forecast-location::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.primary-location { color: var(--primary-series); }
.comparison-location { color: var(--comparison-series); }
.temperature-chart { width: 100%; display: block; overflow: visible; margin: 28px 0 24px; }
.forecast-chart-interactive { position: relative; min-width: 0; }
.chart-grid { stroke: #dfe9e2; stroke-dasharray: 4 5; }
.chart-label { font-size: 13px; fill: #71867a; }
.chart-line { stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.chart-line.primary-series { stroke: var(--primary-series); }
.chart-line.comparison-series { stroke: var(--comparison-series); }
.chart-point { fill: #fff; stroke-width: 2.2; }
.chart-point.primary-series { stroke: var(--primary-series); }
.chart-point.comparison-series { stroke: var(--comparison-series); }
.forecast-chart-point-action { cursor: pointer; outline: none; }
.forecast-chart-hit-area { fill: transparent !important; stroke: transparent !important; pointer-events: all; }
.forecast-chart-point-action:hover .chart-point, .forecast-chart-point-action:focus .chart-point,
.daily-chart-point.forecast-chart-point-action:hover circle:not(.forecast-chart-hit-area), .daily-chart-point.forecast-chart-point-action:focus circle:not(.forecast-chart-hit-area) { fill: #fff; stroke-width: 4; }
.forecast-point-popup { position: absolute; z-index: 20; left: var(--point-x); top: var(--point-y); width: min(260px, calc(100% - 12px)); padding: 13px 14px 12px; background: #fff; border: 1px solid #c8d9cf; border-radius: 9px; box-shadow: 0 10px 30px rgba(20, 55, 41, .2); color: #294b3c; transform: translate(-50%, calc(-100% - 12px)); font-size: 11px; line-height: 1.35; }
.forecast-point-popup.point-popup-below { transform: translate(-50%, 12px); }
.forecast-point-popup.point-popup-start { transform: translate(0, calc(-100% - 12px)); }
.forecast-point-popup.point-popup-start.point-popup-below { transform: translate(0, 12px); }
.forecast-point-popup.point-popup-end { transform: translate(-100%, calc(-100% - 12px)); }
.forecast-point-popup.point-popup-end.point-popup-below { transform: translate(-100%, 12px); }
.forecast-point-popup::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid #c8d9cf; border-bottom: 1px solid #c8d9cf; transform: translateX(-50%) rotate(45deg); }
.forecast-point-popup.point-popup-below::after { top: -7px; bottom: auto; border: 0; border-left: 1px solid #c8d9cf; border-top: 1px solid #c8d9cf; }
.forecast-point-popup.point-popup-start::after { left: 13px; transform: rotate(45deg); }
.forecast-point-popup.point-popup-end::after { right: 13px; left: auto; transform: rotate(45deg); }
.forecast-point-popup > strong, .forecast-point-popup > time { display: block; padding-right: 24px; }
.forecast-point-popup > strong { font-size: 13px; }
.forecast-point-popup > time { margin-top: 2px; color: #71847a; font-size: 10px; }
.forecast-point-popup-close { position: absolute; z-index: 1; top: 6px; right: 6px; width: 25px; height: 25px; display: grid; place-items: center; padding: 4px; border: 0; border-radius: 5px; background: transparent; color: #6c8175; }
.forecast-point-popup-close:hover { background: #edf4ef; }
.forecast-point-popup-close .icon { width: 14px; height: 14px; }
.forecast-point-popup-value { margin-top: 10px; font-size: 16px; font-weight: 700; }
.forecast-point-popup-value.primary-series { color: var(--primary-series); }
.forecast-point-popup-value.comparison-series { color: var(--comparison-series); }
.forecast-point-popup-weather { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.forecast-point-popup-weather .icon { width: 23px; height: 23px; color: #c18b19; }
.forecast-point-popup dl { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid #e7eee9; }
.forecast-point-popup dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 3px; }
.forecast-point-popup dt { color: #71847a; }
.forecast-point-popup dd { margin: 0; font-weight: 600; white-space: nowrap; }
.hourly-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; padding-bottom: 12px; }
.hour-item { min-width: 0; display: grid; grid-template-rows: 18px auto; justify-items: stretch; align-items: start; gap: 5px; padding-inline: 2px; border-right: 1px solid #e8eee9; font-size: 10px; color: #6f8378; }
.hour-item:last-child { border-right: 0; }
.hour-time { text-align: center; white-space: nowrap; }
.hour-place-stack { display: grid; gap: 4px; }
.hour-place { min-width: 0; padding-top: 4px; display: grid; grid-template-rows: 25px 21px 16px; justify-items: center; align-items: center; border-top: 2px solid var(--primary-series); border-radius: 2px; }
.hour-place.comparison-series { border-top-color: var(--comparison-series); background: #f8f3fa; }
.hour-place > .icon { width: 23px; height: 23px; color: #c18b19; stroke-width: 1.9; }
.hour-place strong { white-space: nowrap; font-size: 14px; font-weight: 650; color: #204f3a; }
.hour-place.comparison-series strong { color: #674079; }
.hour-place small { display: flex; align-items: center; gap: 2px; white-space: nowrap; color: #4983a0; font-size: 8px; }
.hour-place small .icon { width: 9px; height: 9px; }
.data-caption { color: #84948b; font-size: 9px; line-height: 1.6; margin: 15px 0 0; }
.daily-temperature-figure { margin: 0; min-width: 0; height: 100%; display: flex; flex-direction: column; }
.daily-temperature-legend { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 5px; font-size: 9px; color: #71847a; }
.daily-temperature-legend span { display: inline-flex; align-items: center; gap: 5px; }
.daily-temperature-legend span::before { content: ""; width: 13px; height: 2px; background: currentColor; }
.daily-temperature-legend .forecast-location::before { width: 8px; height: 8px; border-radius: 50%; }
.daily-maximum-key { color: #4b5f54; }
.daily-minimum-key { color: #4b5f54; }
.daily-minimum-key::before { height: 0 !important; border-top: 2px dashed currentColor; background: transparent !important; }
.daily-temperature-chart { display: block; width: 100%; height: auto; overflow: visible; }
.daily-chart-today { fill: #e6f4e9; }
.daily-chart-weekend { fill: #eef3f8; }
.daily-chart-grid { stroke: #dfe7e2; stroke-width: 1; stroke-dasharray: 3 4; }
.daily-chart-day { fill: #315b46; font-size: 10px; font-weight: 650; }
.daily-chart-date { fill: #748a7e; font-size: 8px; }
.daily-chart-maximum, .daily-chart-minimum { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.daily-chart-minimum { stroke-dasharray: 5 4; }
.daily-chart-maximum.primary-series, .daily-chart-minimum.primary-series { stroke: var(--primary-series); }
.daily-chart-maximum.comparison-series, .daily-chart-minimum.comparison-series { stroke: var(--comparison-series); }
.daily-chart-point circle { fill: #fff; stroke-width: 2.3; }
.daily-chart-point text { font-size: 9px; font-weight: 600; }
.daily-chart-point.primary-series circle { stroke: var(--primary-series); }
.daily-chart-point.primary-series text { fill: #176647; }
.daily-chart-point.comparison-series circle { stroke: var(--comparison-series); }
.daily-chart-point.comparison-series text { fill: #75418f; }
.daily-chart-missing { fill: #8a9990; font-size: 14px; }
.daily-weather-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 1; border-top: 1px solid #e5ece7; }
.daily-weather-item { min-width: 0; padding: 7px 2px 0; display: grid; align-content: start; justify-items: stretch; gap: 5px; border-right: 1px solid #e8eee9; }
.daily-weather-item:last-child { border-right: 0; }
.daily-place { min-width: 0; display: grid; justify-items: center; gap: 3px; padding-top: 4px; border-top: 2px solid var(--primary-series); border-radius: 2px; }
.daily-place.comparison-series { border-top-color: var(--comparison-series); background: #f8f3fa; }
.daily-place > .icon { width: 19px; height: 19px; color: #c18b19; stroke-width: 1.9; }
.daily-place small { display: flex; align-items: center; gap: 1px; white-space: nowrap; font-size: 7px; color: #4983a0; }
.daily-place small .icon { width: 8px; height: 8px; }
.weather-sun { color: #d69200 !important; }
.weather-partly { color: #3f8067 !important; }
.weather-cloud { color: #658096 !important; }
.weather-rain { color: #287eaa !important; }
.weather-storm { color: #7650a1 !important; }
.weather-snow { color: #438ab1 !important; }
.weather-fog { color: #77838c !important; }
.source-line { margin: 13px 0 24px; font-size: 9px; color: #84958a; }
.archive-banner { display: flex; align-items: center; gap: 24px; padding: 26px 28px; background: #edf2e8; border: 1px solid #e1e9d9; border-radius: 12px; color: #35533c; margin-top: 25px; }
.archive-banner:hover { background: #e5edde; }
.archive-banner h2 { font-size: 18px; }
.archive-banner p { font-size: 11px; margin: 8px 0 0; color: #7a8b75; }
.banner-action { margin-left: auto; font-size: 11px; font-weight: 600; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.archive-art { width: 85px; height: 66px; flex-shrink: 0; display: flex; align-items: flex-end; gap: 6px; position: relative; padding: 8px; }
.archive-art span { width: 8px; height: 20px; background: #b0c49e; border-radius: 3px 3px 0 0; }
.archive-art span:nth-child(2) { height: 29px; }
.archive-art span:nth-child(3) { height: 25px; }
.archive-art span:nth-child(4) { height: 40px; }
.archive-art span:nth-child(5) { height: 52px; }
.archive-art .icon { position: absolute; left: 2px; top: 0; width: 75px; height: 54px; color: #87a072; stroke-width: 1; opacity: .5; }
.site-footer { padding: 20px 40px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; color: #92a096; font-size: 9px; }
.site-footer a { color: #718b7a; }
.search-panel { margin-bottom: 22px; }
.search-panel label { font-size: 13px; font-weight: 600; }
.search-input-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.search-input-row input { flex: 1; min-width: 0; }
.search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.search-results button { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 6px; padding: 12px; background: #f8faf7; text-align: left; }
.search-results button span:nth-child(2) { flex: 1; min-width: 0; }
.search-results small { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 4px; overflow-wrap: anywhere; }
.search-attribution { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.search-attribution a { color: inherit; }
.form-message { font-size: 12px; margin: 15px 0 0; }
.notice { display: flex; gap: 10px; padding: 17px 20px; background: #fbf5e7; color: #7c683b; border: 1px solid #eae0c8; border-radius: 9px; font-size: 12px; line-height: 1.7; margin: 20px 0; }
.city-error { min-height: 155px; padding-top: 20px; }
.city-error .icon { width: 36px; height: 36px; color: #9aac9e; margin-bottom: 14px; display: block; }
.city-error strong { display: block; font-size: 12px; }
.city-error p { font-size: 11px; color: #7c8b80; margin-top: 9px; }
.city-loading { min-height: 155px; padding-top: 20px; font-size: 10px; color: #95a294; }
.skeleton { background: #e9efe7; border-radius: 5px; animation: pulse 1.5s ease-in-out infinite; }
.temperature-skeleton { height: 48px; width: 95px; margin-bottom: 18px; }
.text-skeleton { height: 12px; width: 140px; margin-bottom: 18px; }
.empty-state { text-align: center; padding: 45px; }
.empty-state > .icon { width: 45px; height: 45px; color: #8fa797; }
.empty-state p { color: var(--muted); font-size: 13px; max-width: 590px; margin: 15px auto 24px; }
.empty-note { color: var(--muted); font-size: 12px; padding-block: 50px; }
.history-form form { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 18px; }
.history-form label { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 9px; font-size: 12px; color: #6b8273; }
.history-form label:first-child { flex: 2; }
.history-form label input, .history-form label select { width: 100%; }
.archive-submit { flex: 0 1 320px; min-width: 0; max-width: 100%; padding-top: 27px; }
.archive-submit-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-submit-buttons .primary { flex: 1; }
.archive-submit-buttons .secondary { padding-inline: 10px; }
.archive-load-status { margin-top: 5px; font-size: 11px; line-height: 1.4; color: #526b5c; font-variant-numeric: tabular-nums; }
.archive-load-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.archive-load-state { overflow-wrap: anywhere; }
.archive-load-status[data-state="Completed"] .archive-load-state { color: #176b54; }
.archive-load-status[data-state="Failed"] .archive-load-state, .archive-load-status[data-state="Partial"] .archive-load-state { color: #875522; }
.archive-load-track { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 10px; }
.archive-load-track span { flex: 0 0 auto; margin-left: auto; }
.archive-load-status progress { display: block; flex: 1; width: 100%; min-width: 0; height: 3px; accent-color: #176b54; border-radius: 3px; overflow: hidden; }
.archive-load-status progress::-webkit-progress-bar { background: #e8efea; border-radius: 3px; }
.archive-load-status progress::-webkit-progress-value { background: #176b54; border-radius: 3px; }
.archive-load-status progress::-moz-progress-bar { background: #176b54; border-radius: 3px; }
.archive-call-counters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.archive-call-counters > div { display: flex; gap: 3px; }
.archive-call-counters dt, .archive-call-counters dd { margin: 0; }
.archive-call-counters abbr { text-decoration: none; }
.archive-call-counters .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) { .archive-submit { flex-basis: 100%; padding-top: 0; } }
.archive-pivot { margin-top: 20px; padding: 18px 20px; min-width: 0; }
.archive-chart { margin-top: 20px; padding: 18px 20px; min-width: 0; }
.archive-chart > summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.archive-chart-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; margin-top: 16px; }
.archive-chart-type { display: flex; flex-direction: column; gap: 5px; color: #526b5c; font-size: 12px; }
.archive-chart-metrics { flex: 1 1 440px; display: flex; flex-wrap: wrap; gap: 10px 18px; border: 0; min-width: 0; margin: 0; padding: 0 0 7px; }
.archive-chart-metrics legend { padding: 0 0 9px; font-size: 12px; color: #526b5c; }
.archive-chart-metrics label { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12px; }
.archive-chart-metrics input[type="checkbox"] { width: 17px; height: 17px; min-height: 17px; padding: 0; margin: 0; flex-shrink: 0; accent-color: var(--series-color); }
.archive-chart-swatch { display: inline-block; width: 15px; height: 3px; background: var(--series-color); flex-shrink: 0; }
.archive-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; }
.archive-chart-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.archive-chart-empty { color: #526b5c; font-size: 13px; margin: 18px 0 0; }
.archive-chart-plot .weather-chart-scroll { margin-top: 12px; max-height: none; overflow: visible; }
.archive-chart-plot .weather-chart-svg { min-width: 0; max-width: 1050px; margin-inline: auto; }
.archive-chart-series .weather-chart-line { stroke: var(--series-color); }
.archive-chart-series .weather-chart-area { fill: var(--series-color); fill-opacity: .15; }
.archive-chart-series .weather-chart-column, .archive-chart-series .weather-chart-point { fill: var(--series-color); }
.archive-chart-series .weather-chart-zero-value { stroke: var(--series-color); }
.archive-chart-series .weather-chart-missing { fill: var(--series-color); }
.archive-chart .chart-data-table table { min-width: 600px; }
.archive-pivot > summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.archive-pivot > summary span { font-weight: 400; color: #526b5c; font-size: 12px; }
.archive-pivot-toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.archive-pivot-toolbar label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #526b5c; }
.archive-pivot-source { font-size: 11px; flex: 1 1 180px; min-width: 0; padding-block: 10px; }
.archive-pivot-source summary { cursor: pointer; color: #526b5c; }
.archive-pivot-source p { line-height: 1.6; overflow-wrap: anywhere; }
.archive-pivot-caption { font-size: 11px; color: #526b5c; margin: 10px 0 0; }
.archive-pivot .archive-pivot-scroll { margin-top: 14px; max-height: 65vh; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
.archive-pivot table { min-width: 900px; font-variant-numeric: tabular-nums; }
.archive-pivot caption { padding: 10px; margin: 0; font-size: 12px; }
.archive-pivot th, .archive-pivot td { padding: 8px 10px; }
.archive-pivot thead th { position: sticky; top: 0; z-index: 2; }
.archive-pivot th small { display: block; font-size: 10px; font-weight: 400; }
.archive-pivot-period { position: sticky; left: 0; z-index: 1; background: #fff; white-space: normal; max-width: 260px; }
.archive-pivot thead th:first-child { left: 0; z-index: 3; }
.archive-pivot-period button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; max-width: 240px; border: 0; background: transparent; padding: 2px; text-align: left; white-space: normal; }
.archive-pivot-period .icon { width: 13px; height: 13px; flex-shrink: 0; }
.archive-pivot-period button:focus-visible, .archive-pivot summary:focus-visible { outline: 2px solid #176b54; outline-offset: 3px; }
.archive-pivot tr[data-level="Decade"] > *, .archive-pivot tr[data-level="Year"] > th { background: #f2f7f3; font-weight: 600; }
.archive-pivot td.archive-pivot-partial { background: #fff5d9; box-shadow: inset 3px 0 #d49320; }
.archive-pivot td.archive-pivot-no-data { background: #fbe9e7; box-shadow: inset 3px 0 #bf665a; }
.archive-pivot .archive-pivot-stations { color: #8b642a; }
.archive-pivot-empty { text-align: left; color: #526b5c; }
@media (max-width: 760px) { .archive-pivot { padding: 14px 12px; } .archive-pivot-period { max-width: 180px; } .archive-pivot-period button { max-width: 150px; } .archive-pivot-toolbar label, .archive-pivot-toolbar select { max-width: 100%; } }
.history-intro { text-align: center; padding: 45px 30px; margin-top: 24px; }
.history-illustration { background: #edf4eb; color: #7b9a6b; border-radius: 50%; width: 90px; height: 90px; display: grid; place-items: center; margin: 0 auto 28px; }
.history-illustration .icon { width: 42px; height: 42px; stroke-width: 1.3; }
.history-intro h2 { font-size: 26px; margin: 14px 0; }
.history-intro p { max-width: 620px; color: var(--muted); font-size: 13px; margin: 0 auto 28px; }
.history-facts { display: flex; justify-content: center; gap: 50px; font-size: 11px; color: #89998b; }
.history-facts strong { display: block; color: #547448; font-size: 20px; margin-bottom: 8px; font-weight: 500; }
.method-note { display: flex; gap: 14px; padding: 24px; margin-top: 22px; background: #edf3ef; border-radius: 10px; font-size: 12px; }
.method-note > .icon { color: #6d8b72; }
.method-note p { color: #71877a; margin: 8px 0; }
.archive-attribution { margin: 20px 0; border: 1px solid var(--border); border-radius: 9px; background: #fff; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.archive-attribution summary { padding: 16px 20px; color: #35533c; cursor: pointer; }
.archive-attribution summary:focus-visible { outline: 2px solid #176b54; outline-offset: 3px; border-radius: 9px; }
.archive-attribution p { margin: 0; padding: 0 20px 18px; color: #526b5c; }
.archive-station-periods { padding: 0 20px 18px; }
.archive-station-periods p { padding: 0 0 18px; }
.archive-station-warning strong { display: block; }
.history-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.summary-card { display: flex; flex-direction: column; gap: 15px; }
.summary-card > span { color: var(--muted); font-size: 12px; }
.summary-card strong { font-size: 26px; font-weight: 500; }
.summary-card small { color: var(--muted); font-size: 11px; }
.history-chart-panel { margin-top: 24px; }
.archive-options { margin-top: 24px; }
.archive-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 20px; }
.archive-options-grid label { display: flex; flex-direction: column; gap: 9px; font-size: 12px; color: #526b5c; }
.archive-options-grid input, .archive-options-grid select { width: 100%; min-width: 0; }
.archive-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.archive-actions > span { font-size: 12px; color: var(--muted); flex: 1; min-width: min(100%, 220px); }
.archive-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 22px; }
.archive-method { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.archive-method summary { font-size: 13px; color: #35533c; cursor: pointer; }
.archive-pagination { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
.weather-chart { margin: 24px 0 0; min-width: 0; }
.weather-chart figcaption { font-size: 14px; font-weight: 600; line-height: 1.6; color: #35533c; }
.chart-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 16px 0; }
.chart-toolbar label, .chart-statistic-picker { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #526b5c; }
.chart-toolbar select { min-width: 175px; }
.chart-statistic-picker { max-width: 360px; margin-top: 24px; }
.chart-statistic-picker select { width: 100%; }
.chart-series-label { font-size: 12px; color: #526b5c; padding-bottom: 10px; }
.weather-chart-scroll { overflow: auto; max-height: 520px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 0; }
.weather-chart-svg { display: block; width: 100%; min-width: 700px; height: auto; }
.weather-chart-grid { stroke: #e1e9e2; stroke-width: 1; }
.weather-chart-label { fill: #4f6958; font-size: 12px; }
.weather-chart-zero-axis { stroke: #748b7a; stroke-width: 1.5; }
.weather-chart-line { fill: none; stroke: #2c795b; stroke-width: 2.5; stroke-linejoin: round; }
.weather-chart-area { fill: #a6caae; fill-opacity: .5; stroke: none; }
.weather-chart-column { fill: #679772; }
.weather-chart-point { fill: #246d51; stroke: #fff; stroke-width: 1; }
.weather-chart-zero-value { stroke: #246d51; stroke-width: 2; }
.weather-chart-missing { fill: #8b642a; font-size: 16px; }
.weather-chart-datum:hover .weather-chart-column, .weather-chart-datum:hover .weather-chart-point { fill: #164d39; }
.chart-caption { font-size: 11px; color: #526b5c; line-height: 1.7; margin: 14px 0 0; }
.chart-data-table { margin-top: 16px; font-size: 12px; }
.chart-data-table summary { color: #35533c; cursor: pointer; }
.chart-data-table .table-scroll { margin-top: 16px; }
.table-scroll { overflow-x: auto; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
caption { text-align: left; margin-bottom: 15px; font-size: 14px; font-weight: 600; }
th, td { padding: 12px; text-align: right; border-bottom: 1px solid #e9eee8; }
th { color: #7b8d7b; font-weight: 500; background: #f7faf5; }
th:first-child, td:first-child { text-align: left; }
.sources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.source-card { display: flex; flex-direction: column; }
.source-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.source-symbol { width: 45px; height: 45px; border-radius: 12px; background: #e9f1e5; color: #6b8b58; display: grid; place-items: center; }
.source-symbol.blue { background: #e9f0f5; color: #6a8fa0; }
.source-symbol.amber { background: #f7f0e0; color: #b69e4a; }
.source-card h2 { font-size: 23px; margin-bottom: 16px; }
.source-card p { color: var(--muted); font-size: 13px; }
.source-card dl { margin: auto 0 20px; padding-top: 10px; font-size: 11px; }
.source-card dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #eef2e9; padding: 10px 0; }
.source-card dt { color: #94a18f; }
.source-card dd { margin: 0; text-align: right; }
.source-card > a { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.source-details { margin-top: 24px; }
.source-details h2 { margin-bottom: 18px; }
.source-details p, .source-details > a { font-size: 13px; color: #738773; }
.source-details a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes spin { to { transform: rotate(360deg); } }
.spinning { animation: spin 1.5s linear infinite; }
@media (max-width: 1500px) { .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1400px) { .detail-grid { flex-direction: column; } .detail-grid .forecast-panel, .detail-grid .hourly-panel { flex-basis: auto; width: 100%; } }
@media (max-width: 1200px) { .sidebar { width: 210px; padding: 30px 17px 22px; } .brand { font-size: 18px; } .brand-icon { width: 33px; height: 33px; } .workspace { margin-left: 210px; width: calc(100% - 210px); } main { padding: 30px 25px 24px; } .topbar, .site-footer { padding-inline: 25px; } .city-card { padding-inline: 17px; } .hero-weather-icon { width: 55px; height: 55px; } .panel { padding: 20px; } .model-picker { font-size: 0; gap: 0; } .archive-art { display: none; } }
@media (max-width: 1020px) { .city-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .topbar > span:first-child { display: none; } .topbar { justify-content: flex-end; } .archive-banner { flex-wrap: wrap; } .banner-action { margin-left: 0; } .history-summary { grid-template-columns: 1fr; gap: 12px; } .summary-card { gap: 10px; } }
@media (max-width: 760px) { .app-shell { flex-direction: column; } .sidebar { position: static; width: 100%; padding: 18px 20px 0; border-right: 0; border-bottom: 1px solid var(--border); } .brand { font-size: 22px; } .brand small, .nav-caption, .sidebar-note, .sidebar-bottom { display: none; } .sidebar nav { flex-direction: row; margin-top: 18px; gap: 8px; padding-bottom: 12px; } .sidebar nav a { padding: 10px 12px; font-size: 12px; gap: 7px; } .sidebar nav .icon { width: 16px; } .workspace { margin-left: 0; width: 100%; } .topbar { height: 45px; padding: 0 20px; justify-content: flex-start; } main { padding: 28px 20px 22px; } .page-heading { align-items: flex-start; margin-bottom: 28px; } .page-heading > .button { padding: 10px; font-size: 0; min-width: 40px; margin-top: 24px; gap: 0; } .page-heading > .button .icon { width: 17px; height: 17px; } .page-heading p { font-size: 12px; } h1 { font-size: 31px; } .dashboard-toolbar { align-items: flex-start; flex-direction: column; } .toolbar-actions { justify-content: space-between; width: 100%; } .city-grid { gap: 14px; } .city-card { padding-top: 20px; } .city-name { font-size: 18px; } .hero-weather-icon { width: 55px; } .current-temperature { font-size: 52px; } .city-metrics { flex-wrap: wrap; justify-content: flex-start; gap: 9px; } .city-local-time { margin-left: auto; } .sources-grid { grid-template-columns: 1fr; } .search-results { grid-template-columns: 1fr; } .search-input-row { flex-wrap: wrap; } .search-input-row > .icon { display: none; } .history-facts { gap: 20px; } .site-footer { flex-wrap: wrap; padding: 20px; } .notice { align-items: flex-start; } }
@media (max-width: 480px) { .city-grid { grid-template-columns: minmax(0,1fr); } .city-card { padding-inline: 24px; } .hero-weather-icon { width: 76px; height: 76px; } .city-weather { padding: 18px 0; } .current-temperature { font-size: 60px; } .city-loading, .city-error { min-height: 155px; } .toolbar-actions { gap: 8px; } .model-picker select { max-width: 190px; font-size: 11px; padding-left: 9px; } .toolbar-actions .button { font-size: 11px; padding-inline: 10px; } .subtle-badge { white-space: normal; } .section-heading { gap: 8px; } .section-heading h2 { font-size: 15px; } .panel { padding: 20px 17px; } .hour-item { grid-template-rows: 14px auto; gap: 2px; font-size: 7px; padding-inline: 1px; } .hour-place { grid-template-rows: 18px 16px 13px; padding-top: 2px; } .hour-place > .icon { width: 16px; height: 16px; } .hour-place strong { font-size: 9px; } .hour-place small { font-size: 6px; gap: 0; } .hour-place small .icon { display: none; } .daily-place > .icon { width: 15px; height: 15px; } .daily-place small { font-size: 6px; } .daily-place small .icon { display: none; } .archive-banner { padding: 22px; gap: 15px; } .history-facts { flex-wrap: wrap; gap: 18px; } .sidebar nav { justify-content: space-between; gap: 0; } .sidebar nav a { padding-inline: 8px; } .history-intro h2 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
.skip-link { position: fixed; top: -80px; left: 20px; background: #176b54; color: white; padding: 12px 20px; border-radius: 7px; z-index: 100; } .skip-link:focus { top: 15px; }
