:root{color-scheme:light dark;--font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--bg: #f3f8fe;--bg-glow: radial-gradient(60% 45% at 18% 0%, #d4ebff 0%, rgba(212, 235, 255, 0) 100%);--surface: #ffffff;--surface-2: #f6f9fd;--surface-3: #edf3fa;--border: #e1e8f1;--border-strong: #c9d5e3;--text: #22234a;--text-muted: #667085;--text-faint: #98a2b3;--brand: #4fb3f6;--brand-strong: #2b9ded;--brand-ink: #0b2a4a;--brand-soft: #e4f3fe;--ink: #3b3b55;--ink-text: #ffffff;--good: #15803d;--good-bg: #e7f7ee;--good-line: #a7dfbb;--moderate: #b45309;--moderate-bg: #fff4e1;--moderate-line: #f6d38f;--bad: #c62828;--bad-bg: #fdecec;--bad-line: #f4a9a9;--radius: 14px;--radius-sm: 10px;--shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(23, 48, 92, .08);--shadow-pop: 0 12px 32px rgba(23, 48, 92, .18);--focus: 0 0 0 3px rgba(79, 179, 246, .45)}@media (prefers-color-scheme: dark){:root{--bg: #1b1e33;--bg-glow: radial-gradient(60% 45% at 18% 0%, #2a3566 0%, rgba(42, 53, 102, 0) 100%);--surface: #252941;--surface-2: #2b304c;--surface-3: #323859;--border: #383e5e;--border-strong: #4a5178;--text: #f2f3ff;--text-muted: #aab0d0;--text-faint: #7f86ad;--brand-soft: #1d3a56;--ink: #3d4262;--good: #6fe3a0;--good-bg: #103a24;--good-line: #1f6b43;--moderate: #ffd166;--moderate-bg: #3d2b06;--moderate-line: #7a5610;--bad: #ff8a8a;--bad-bg: #4a1212;--bad-line: #8a2a2a;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);--shadow-pop: 0 12px 32px rgba(0, 0, 0, .5)}}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;font-family:var(--font);font-size:16px;line-height:1.5;color:var(--text);background:var(--bg-glow),var(--bg);background-attachment:fixed;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,p{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}:focus-visible{outline:none;box-shadow:var(--focus)}.muted{color:var(--text-muted)}#root{min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}.main{flex:1;width:100%;max-width:920px;margin:0 auto;padding:28px 16px 40px}.topbar{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.topbar-inner{max-width:1100px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar-logo{display:inline-flex;border-radius:8px}.logo{display:inline-block;line-height:0}.logo img{display:block;height:auto}.topbar-tools{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end;min-width:0}.topbar-tools .search{width:min(360px,100%)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.card-title h1{font-size:24px;font-weight:700;letter-spacing:-.01em}.card-place{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px;color:var(--text-muted);font-size:15px}.place-icon{width:16px;height:16px;color:var(--brand-strong)}.place-name{color:var(--text);font-weight:500}.place-detail:before{content:"·";margin-right:6px}.place-spinner{width:14px;height:14px;margin-left:2px}.card-controls{display:flex;gap:8px;flex-wrap:wrap}.card-foot{margin-top:18px;font-size:12.5px;color:var(--text-faint);text-align:center}.forecast-card.is-loading .summary,.forecast-card.is-loading .details{opacity:.6;transition:opacity .2s}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);font-weight:600;font-size:15px;transition:background .15s,transform .1s,border-color .15s}.btn:hover:not(:disabled){background:var(--surface-2)}.btn:active:not(:disabled){transform:translateY(1px)}.btn-primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.btn-primary:hover:not(:disabled){background:var(--brand-strong);border-color:var(--brand-strong)}.btn-ghost{background:transparent;border-color:transparent;padding:0 10px;min-height:36px}.btn-ghost:hover:not(:disabled){background:#0000000f}.btn-lg{min-height:48px;padding:0 22px;font-size:16px}.btn-icon{width:42px;padding:0;flex:none}.btn svg{width:18px;height:18px}.segmented{display:inline-flex;padding:3px;border-radius:var(--radius-sm);background:var(--surface-3);border:1px solid var(--border)}.segmented button{min-height:34px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-weight:600;font-size:14px;transition:background .15s,color .15s}.segmented button:hover{color:var(--text)}.segmented button.is-active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #1018281f}@media (prefers-color-scheme: dark){.segmented button.is-active{background:var(--ink)}}.search{position:relative}.search-box{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border-strong);transition:border-color .15s,box-shadow .15s}.search-box:focus-within{border-color:var(--brand);box-shadow:var(--focus)}.search-icon{display:inline-flex;color:var(--text-muted);flex:none}.search-icon svg{width:18px;height:18px}.search-box input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:15px}.search-box input:focus-visible{box-shadow:none}.search-box input::placeholder{color:var(--text-faint)}.search-box input::-webkit-search-cancel-button{-webkit-appearance:none}.search-lg .search-box{height:50px;padding:0 16px}.search-lg .search-box input{font-size:17px}.search-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;margin:0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-pop);max-height:320px;overflow-y:auto;text-align:left}.search-list li{display:flex;flex-direction:column;gap:1px;padding:9px 12px;border-radius:8px;cursor:pointer}.search-list li.is-active{background:var(--brand-soft)}.search-name{font-weight:600;font-size:15px}.search-detail{font-size:13px;color:var(--text-muted)}.search-empty{color:var(--text-muted);font-size:14px;cursor:default}.landing{max-width:560px;margin:6vh auto 0;padding:36px 28px 32px;display:flex;flex-direction:column;align-items:center;text-align:center}.landing-logo{margin-bottom:20px}.landing-title{font-size:28px;font-weight:700;letter-spacing:-.01em}.landing-sub{margin:8px 0 24px;color:var(--text-muted);max-width:420px}.landing .search{width:100%}.landing-or{display:flex;align-items:center;gap:12px;width:100%;margin:18px 0;color:var(--text-faint);font-size:13px;text-transform:uppercase;letter-spacing:.08em}.landing-or:before,.landing-or:after{content:"";flex:1;height:1px;background:var(--border)}.landing-note,.page-note{margin-top:16px;color:var(--text-muted);font-size:14px}.page-note{margin:0 0 12px;text-align:center}.summary-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 0 4px}.hfi-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:168px;padding:18px 24px 16px;border-radius:16px;border:1px solid}.hfi-tile-number{font-size:56px;font-weight:800;line-height:1;letter-spacing:-.03em}.hfi-tile-label{margin-top:8px;font-size:14px;font-weight:700}.summary-text{margin-top:18px;max-width:480px;font-size:16px}.summary-caption{margin-top:6px;font-size:13px;color:var(--text-faint)}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px;padding-top:22px;border-top:1px solid var(--border)}.metric{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--surface-2)}.metric-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow)}.metric-icon svg{width:22px;height:22px}.metric-temp{color:#e0563a}.metric-wind{color:var(--brand-strong)}.metric-value{font-size:22px;font-weight:700;line-height:1.15}.metric-label{font-size:13px;color:var(--text-muted)}.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:6px;margin-top:16px}.strip-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);transition:border-color .15s,background .15s}.strip-item:hover{border-color:var(--brand);background:var(--surface-2)}.strip-day{font-size:12px;color:var(--text-muted)}.strip-hour{font-size:13px;font-weight:600}.strip-item .hfi-number{font-size:20px;margin-top:4px}.hfi-great{color:var(--good);background:var(--good-bg);border-color:var(--good-line)}.hfi-moderate{color:var(--moderate);background:var(--moderate-bg);border-color:var(--moderate-line)}.hfi-bad{color:var(--bad);background:var(--bad-bg);border-color:var(--bad-line)}.hfi-number{font-weight:800;font-variant-numeric:tabular-nums;background:none!important}.chip{display:inline-block;padding:3px 10px;border-radius:999px;border:1px solid;font-size:13px;font-weight:600;white-space:nowrap;line-height:1.4}.table{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.table-head,.table-row{display:grid;grid-template-columns:1.4fr 1fr 1fr .6fr 1.5fr;align-items:center;gap:8px;padding:0 14px;text-align:left}.table-head{background:var(--surface-3);font-size:13px;font-weight:600;color:var(--text-muted);min-height:40px}.table-row{width:100%;min-height:52px;border:0;border-top:1px solid var(--border);background:var(--surface);font-size:15px;transition:background .12s}.table-row:hover{background:var(--surface-2)}.table-row.is-selected{background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand)}.table-row:focus-visible{box-shadow:inset 0 0 0 2px var(--brand)}.cell-time{display:flex;flex-direction:column;line-height:1.25}.cell-day{font-weight:600}.cell-hour{font-size:13px;color:var(--text-muted)}.col-hfi{text-align:center}.hfi-number{font-size:16px}.callout{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:14px 16px;border-radius:var(--radius-sm);border:1px solid}.callout-icon{flex:none;width:20px;height:20px;margin-top:2px}.callout-title{font-weight:700}.callout-text{margin-top:2px;color:var(--text)}.callout-meta{margin-top:6px;font-size:13px;color:var(--text-muted)}.callout.hfi-none{color:var(--text-muted);background:var(--surface-2);border-color:var(--border)}.alert{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--bad-bg);border:1px solid var(--bad-line);color:var(--bad)}.skeleton{display:flex;flex-direction:column;align-items:center;gap:16px;padding:10px 0}.sk{background:linear-gradient(90deg,var(--surface-3) 25%,var(--surface-2) 50%,var(--surface-3) 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:12px}.sk-tile{width:168px;height:112px;border-radius:16px}.sk-line{width:min(420px,90%);height:16px}.sk-row{display:flex;gap:12px;width:100%}.sk-metric{flex:1;height:70px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.spinner{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.sk,.spinner{animation:none}}.foot{margin-top:28px;text-align:center;color:var(--text-muted);font-size:14px}.about{max-width:640px;margin:0 auto;text-align:left}.about summary{cursor:pointer;text-align:center;font-weight:600;color:var(--text-muted);list-style:none}.about summary::-webkit-details-marker{display:none}.about summary:after{content:" ▾";font-size:12px}.about[open] summary:after{content:" ▴"}.about-body{margin-top:12px;padding:16px 18px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border)}.about-body p+p,.about-body ul+p{margin-top:10px}.about-scale{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.about-scale li{display:flex;align-items:center;gap:10px}.foot-links{margin-top:16px}.foot-links a{color:var(--brand-strong);text-decoration:none}.foot-links a:hover{text-decoration:underline}.foot-copy{margin-top:16px;font-size:12.5px;color:var(--text-faint)}.city-info{margin-top:20px;line-height:1.6}.city-info h2{font-size:20px;margin:0 0 10px}.city-info h3{font-size:15px;margin:18px 0 8px;color:var(--text-muted)}.city-info p+p,.city-info ul+p{margin-top:10px}.city-today{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.city-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px}.city-links a,.city-info a,.hub a{color:var(--brand-strong);text-decoration:none}.city-links a:hover,.city-info a:hover,.hub a:hover{text-decoration:underline}.hub h1{margin:8px 0}.hub-group{margin-top:20px}.hub-group h2{font-size:15px;margin:0 0 6px;color:var(--text-muted)}@media (max-width: 640px){.main{padding:16px 12px 32px}.card{padding:18px 16px}.topbar-inner{flex-wrap:wrap;gap:10px}.topbar-tools{flex-basis:100%}.topbar-tools .search{width:100%;flex:1}.card-title h1{font-size:21px}.card-controls{width:100%;justify-content:space-between}.segmented{flex:1}.segmented button{flex:1;padding:0 8px}.hfi-tile{min-width:150px}.hfi-tile-number{font-size:48px}.metrics{grid-template-columns:1fr}.place-detail{flex-basis:100%;padding-left:22px}.place-detail:before{content:none}.strip{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.strip-item{flex:0 0 84px;scroll-snap-align:start}.landing{margin-top:2vh;padding:28px 18px 24px}.landing-title{font-size:24px}.table-head,.table-row{grid-template-columns:1.3fr 1fr 1.1fr .9fr;gap:6px;padding:0 10px}.col-quality{display:none}.table-row{font-size:14px}}
