:root{color-scheme:light;--ink:#182438;--muted:#5d6b82;--blue:#276df5;--link:#1c55c7;--blue-soft:#e7efff;--ground:#eef2fa;--white:#fff;--line:#e2e7ef;--radius:16px;font-family:"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--ground);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--link);text-decoration:none;text-underline-offset:4px}a:hover{text-decoration:underline}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:12px;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}::selection{background:#c9dcff;color:#142d59}input,select{caret-color:var(--blue);width:100%;min-height:48px;padding:12px 14px;border:1px solid #bbc7d9;border-radius:10px;color:var(--ink);background:white}input::placeholder{color:#66758a}input:focus,select:focus{border-color:var(--blue)}label{display:block;font-weight:600;font-size:.88rem;margin:20px 0 9px}h1,h2,p{margin:0}h1{font-size:clamp(1.75rem,3.6vw,2.35rem);letter-spacing:-.035em;line-height:1.2;font-weight:720;text-wrap:balance}h2{font-size:1.08rem;font-weight:650;letter-spacing:-.02em}p{line-height:1.6}.symbol-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.primary{padding:12px 22px;background:var(--blue);color:white}.primary:hover{background:#1859d6}.secondary{padding:10px 18px;background:var(--blue-soft);color:#2358b4}.secondary:hover{background:#d9e6ff}.full{width:100%}.icon-button{height:50px;width:50px;background:var(--white);color:var(--ink);border-radius:15px}.icon-button:hover{background:#e1e9fa}.form-error{font-size:.88rem;color:#b32939;min-height:24px;margin:10px 0}.brand-symbol{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:var(--blue);color:white}.brand-symbol svg{width:29px;height:29px}.brand-symbol.small{width:38px;height:38px;border-radius:11px}.brand-symbol.small svg{width:21px;height:21px}
.login-screen{min-height:100svh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 80% 10%,#e0e3ff,transparent 60%),var(--ground)}.login-card{width:100%;max-width:430px;padding:40px;background:white;border-radius:var(--radius);box-shadow:0 20px 60px #243a6710}.login-card h1{font-size:2rem;margin:24px 0 14px}.login-card>p{color:var(--muted);font-size:.94rem}.login-card form{margin-top:28px}.login-note{display:block;text-align:center;color:var(--muted);font-size:.78rem;margin-top:26px}
.app{min-height:100svh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#f8faff;border-right:1px solid var(--line);padding:36px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:1.05rem;font-weight:700;white-space:nowrap}.brand:hover{text-decoration:none}.navigation{display:flex;flex-direction:column;gap:8px;margin-top:50px}.navigation a{display:flex;align-items:center;gap:14px;min-height:52px;padding:12px 16px;border-radius:13px;color:var(--muted);font-size:.93rem;font-weight:600}.navigation a:hover{background:#edf2fb;text-decoration:none}.navigation a.active{color:var(--link);background:var(--blue-soft)}.navigation svg{width:21px;height:21px}.sidebar-bottom{margin-top:auto;font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:8px;padding:20px 8px 0}.status-dot{width:7px;height:7px;border-radius:50%;background:#539481}.content{max-width:1360px;margin-left:238px;padding:48px 52px 32px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.date{font-size:.88rem;color:var(--muted);margin-bottom:9px}.notice{padding:13px 18px;background:#fff7df;color:#715019;border-radius:12px;font-size:.88rem;margin-bottom:20px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px}.weather-card{position:relative;overflow:hidden;min-height:295px;background:linear-gradient(125deg,#f9fcff,#e3ecff 67%,#d9dffe);padding:28px 30px;border-radius:var(--radius)}.weather-card:after{content:"";position:absolute;width:230px;height:230px;right:-75px;top:-100px;border-radius:50%;background:#b7c4fa66;pointer-events:none}.weather-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}.location{display:flex;align-items:center;gap:7px;font-size:.93rem;color:#4c5d78;min-width:0}.location svg{width:18px;height:18px}.location span{overflow-wrap:anywhere}.subtle-link{font-size:.82rem;font-weight:600;min-height:44px;display:inline-flex;align-items:center;gap:5px;flex-shrink:0}.weather-current{display:flex;align-items:center;gap:24px;min-height:135px}.weather-symbol{width:80px;height:80px;color:#6c87cf;stroke-width:1.15;filter:drop-shadow(0 12px 13px #6d80b633)}.temperature{font-size:4rem;line-height:1;font-weight:740;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.weather-description{font-size:1rem;margin-top:8px}.weather-details{display:flex;flex-wrap:wrap;gap:6px 15px;margin-top:7px;font-size:.85rem;color:#4c5d78}.data-note{font-size:.76rem;color:var(--muted);line-height:1.55;margin-top:16px}.data-note a{color:inherit;text-decoration:underline}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.metric{padding:28px 20px;border-radius:var(--radius);background:var(--white)}.metric-icon{width:29px;height:29px;margin-bottom:24px}.sun{color:#c48020}.water{color:#4d8dcc}.metric h2{font-size:.86rem;font-weight:400;color:var(--muted);letter-spacing:0}.metric strong{display:block;font-size:2rem;font-variant-numeric:tabular-nums;letter-spacing:-.03em;margin:11px 0 8px}.metric p{font-size:.78rem;color:var(--muted)}.panel{padding:26px 28px;background:var(--white);border-radius:var(--radius);min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.rate-columns{display:flex;justify-content:space-between;gap:20px;min-height:68px}.rate-label{font-size:.78rem;color:var(--muted);display:flex;align-items:center;gap:7px}.currency-dot{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eff3fb;color:#4c618b;font-size:.85rem}.rate-amount{display:block;font-size:1.55rem;letter-spacing:-.03em;font-weight:700;font-variant-numeric:tabular-nums;margin-top:12px}.rate-unit{font-size:.9rem;font-weight:400;color:var(--muted)}.service-link{display:flex;align-items:center;gap:12px;min-height:64px;color:var(--ink);border-bottom:1px solid var(--line);padding:10px 0}.service-link:last-child{border-bottom:0}.service-link:hover{color:var(--link);text-decoration:none}.service-letter{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#526eaa;background:#eef2fb;font-weight:650;flex:none}.service-link>span:nth-child(2){flex:1;overflow-wrap:anywhere}.service-link svg{width:19px;height:19px;color:var(--muted)}.empty{padding:14px 0;color:var(--muted);font-size:.9rem;line-height:1.6}.empty a{display:inline-flex;align-items:center;min-height:44px}.sources{font-size:.75rem;color:var(--muted);padding:25px 2px;text-align:center}.sources a{color:inherit;text-decoration:underline}.loading{font-size:.9rem;color:var(--muted)}.page:not(#page-today){max-width:820px}.page>.panel+.panel{margin-top:20px}.forecast-row{display:grid;grid-template-columns:minmax(110px,1fr) 32px minmax(90px,1fr) 64px;gap:18px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}.forecast-row:last-child{border-bottom:0}.forecast-day{font-weight:600;font-size:.94rem}.forecast-day small{display:block;font-weight:400;color:var(--muted);margin-top:4px}.forecast-temperatures{font-size:1.15rem;font-weight:650;text-align:right;font-variant-numeric:tabular-nums}.forecast-temperatures span{color:var(--muted);font-weight:400;margin-left:12px}.forecast-rain{font-size:.8rem;color:#4c6b98;text-align:right}.rates-list{margin-top:18px}.rate-row{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid var(--line);gap:15px}.rate-row:last-child{border-bottom:0}.rate-row strong{font-size:1.6rem;font-variant-numeric:tabular-nums}.rate-row small{color:var(--muted);display:block;margin-top:5px}.rate-row .currency-name{font-size:1rem;font-weight:600}.converter{max-width:540px}.form-row{display:grid;grid-template-columns:1fr 100px;gap:14px}output{display:block;margin-top:25px;font-size:2rem;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.intro{font-size:.88rem;color:var(--muted);margin-top:9px}.saved-service{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.saved-service:last-child{border-bottom:0}.saved-service .service-link{flex:1;border:0;min-width:0}.delete-service{flex:none;width:44px;height:44px;background:transparent;color:#7a5866}.delete-service:hover{background:#fff0f2;color:#ae283f}.delete-service svg{width:18px;height:18px}.spaced-heading{margin-top:34px}.search-row{display:flex;gap:10px}.search-row input{min-width:0}.city-results{margin-top:10px}.city-option{display:block;width:100%;text-align:left;padding:12px 14px;margin-bottom:6px;background:#f2f5fb;color:var(--ink);font-weight:500}.city-option small{display:block;color:var(--muted);margin-top:4px;font-weight:400}.city-option[aria-pressed="true"]{background:var(--blue-soft);outline:2px solid var(--blue)}.account-panel{display:flex;gap:20px;align-items:center;justify-content:space-between}.account-panel .secondary{flex:none}::-webkit-scrollbar{width:9px}::-webkit-scrollbar-thumb{background:#b7c4d9;border-radius:10px}::-webkit-scrollbar-track{background:var(--ground)}
@media(min-width:1500px){.content{margin-left:calc(238px + (100vw - 1500px)/2)}}
@media(max-width:1150px){.content{padding:36px 28px}.sidebar{width:210px;padding:30px 16px}.content{margin-left:210px}.dashboard-grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.metric{display:grid;grid-template-columns:42px 1fr;column-gap:12px;padding:22px}.metric-icon{grid-row:1/4;align-self:center;margin-bottom:0}.metric strong{font-size:1.7rem;margin:6px 0}.weather-card{min-height:280px}.rate-columns{justify-content:flex-start;gap:45px}}
@media(max-width:700px){.sidebar{position:fixed;inset:auto 0 0;width:auto;display:block;border:0;background:white;padding:7px 8px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #263b6810}.brand,.sidebar-bottom{display:none}.navigation{flex-direction:row;gap:2px;justify-content:space-around;margin:0}.navigation a{flex-direction:column;gap:5px;flex:1;min-width:0;min-height:58px;padding:9px 1px;font-size:.70rem;border-radius:13px}.navigation svg{width:21px;height:21px}.content{margin:0;padding:28px 18px 100px;max-width:100%}.page-header{margin-bottom:22px}.date{font-size:.76rem;margin-bottom:8px}h1{font-size:1.8rem}.icon-button{width:46px;height:46px;flex:none}.dashboard-grid{gap:14px}.weather-card{padding:20px 22px;min-height:270px}.weather-current{gap:20px;min-height:135px}.temperature{font-size:3.7rem}.weather-symbol{width:70px;height:70px}.weather-details{font-size:.78rem;gap:6px 12px}.data-note{font-size:.75rem}.metrics{gap:14px}.metric{display:block;padding:22px}.metric-icon{margin:0 0 14px;width:26px;height:26px}.metric strong{font-size:1.8rem;margin:10px 0 5px}.metric p{font-size:.75rem}.panel{padding:22px}.section-heading{margin-bottom:10px;gap:8px}.section-heading h2{font-size:1rem}.subtle-link{font-size:.76rem}.rate-columns{justify-content:space-between;gap:12px}.rate-amount{font-size:1.42rem}.rate-unit{font-size:.77rem}.rate-label{font-size:.75rem;gap:5px}.currency-dot{width:22px;height:22px}.sources{font-size:.70rem}.forecast-row{grid-template-columns:minmax(90px,1fr) 24px minmax(80px,1fr) 42px;gap:8px}.forecast-day{font-size:.84rem}.forecast-temperatures{font-size:1rem}.forecast-temperatures span{margin-left:6px}.forecast-rain{font-size:.73rem}.account-panel{align-items:flex-start;flex-direction:column}.login-card{padding:30px 26px}.login-card h1{font-size:1.9rem}.location{font-size:.85rem}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .18s ease-out,color .18s ease-out}.weather-card{animation:weather-reveal .6s cubic-bezier(.16,1,.3,1)}@keyframes weather-reveal{from{box-shadow:0 18px 35px #879ad52b}to{box-shadow:0 0 0 transparent}}}
.auth-tabs{display:flex;gap:4px;padding:4px;background:var(--ground);border-radius:12px;margin-top:24px}.auth-tabs button{flex:1;background:transparent;color:var(--muted);font-size:.9rem}.auth-tabs button[aria-selected="true"]{background:var(--white);color:var(--link)}.login-card .auth-tabs+form{margin-top:16px}.field-help{font-size:.78rem;color:var(--muted);margin-top:7px;line-height:1.5}.login-card:has(#register-form:not([hidden])){margin-block:12px}
