:root{--ink:#162f38;--muted:#71858b;--bg:#f5f8f7;--line:#e6eeeb;--white:#fff;--nav:#112d35;--teal:#147f77;--teal-dark:#0d605a;--mint:#ddf6eb;--orange:#e5944f;--soft-shadow:0 9px 34px rgba(16,47,46,.035);font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{overflow:visible}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #65cbb5;outline-offset:3px}.ico{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-bank{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;letter-spacing:-.045em}p{line-height:1.65}.app-shell{display:flex;min-height:100vh}.sidebar{width:262px;min-width:262px;position:sticky;top:0;height:100vh;background:var(--nav);color:#d0e3df;padding:31px 15px 20px;display:flex;flex-direction:column;z-index:20;overflow-y:auto;scrollbar-width:thin}.brand{display:flex;align-items:center;gap:12px;color:white;margin:0 13px 54px}.brand-mark{width:44px;height:44px;border:1px solid #488b84;background:#19565a;border-radius:14px;display:grid;place-items:center}.brand-mark svg{width:36px;height:36px;fill:none;stroke:#b8f6d0;stroke-width:4;stroke-linecap:round}.brand strong{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.055em;display:block}.brand small{font-size:9px;letter-spacing:.22em;color:#9cb9b5;font-weight:800;display:block;margin-top:5px}.side-caption{margin:0 16px 15px;font-weight:800;font-size:9px;letter-spacing:.18em;color:#779a97}.side-bottom-heading{margin-top:26px}.nav-list{display:grid;gap:5px}.nav-list a{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:10px;font-size:12.7px;letter-spacing:-.01em;font-weight:600;color:#c1d2d0;transition:background .18s,color .18s}.nav-list a .ico{height:18px;width:18px;color:#9dbbb7}.nav-list a:hover,.nav-list a.active{color:white;background:#24515a}.nav-list a.active .ico{color:#b0f1c4}.side-spacer{flex:1;min-height:20px}.sidebar-support{background:#21464d;border:1px solid #32616a;border-radius:14px;padding:18px;margin:0 2px 24px}.sidebar-support-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;color:#9be7c4;background:#2b6460;margin-bottom:11px}.sidebar-support strong{color:#f6fffd;font-size:13px}.sidebar-support p{font-size:11px;line-height:1.6;color:#bfd5d1;margin:8px 0 12px}.sidebar-support a{font-weight:700;color:#c2f6d1;font-size:11px;display:flex;justify-content:space-between}.sidebar-support a .ico{width:15px;height:15px}.sidebar-foot{border-top:1px solid #2c4d51;color:#779f9d;font-size:10px;padding-top:14px;text-align:center}.sidebar-foot span{padding:0 4px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;padding:0 clamp(25px,3.6vw,61px);position:sticky;top:0;z-index:10}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#96a7a7}.breadcrumb .ico{width:13px;height:13px;transform:rotate(-90deg)}.breadcrumb strong{font-weight:800;color:#2b4850}.topbar-actions{display:flex;align-items:center;gap:11px}.topbar-status{color:#78938f;font-size:11px;font-weight:700}.status-dot{width:7px;height:7px;border-radius:50%;background:#62c99e}.status-dot.offline{background:#dda362}.topbar-divider{height:25px;width:1px;background:var(--line);margin:0 10px}.district-control{display:flex;align-items:center;gap:6px;border:1px solid #e9efed;padding:8px 10px;border-radius:9px;color:#3c6b64;background:#f9fbfa}.district-control .ico{height:14px;width:14px}.district-control select{border:0;background:transparent;color:#234b4c;font-size:12px;font-weight:800;max-width:155px;outline:0;appearance:none;padding:0 3px;cursor:pointer}.district-control .chev{width:12px;color:#8da49d}#content{flex:1;width:100%;max-width:1600px;margin:0 auto;padding:37px clamp(24px,3.6vw,60px) 50px}.view{display:none}.view.active{display:block}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 28px}.page-heading>div{max-width:735px}.page-heading h1{font-size:clamp(28px,2.45vw,39px);line-height:1.25;letter-spacing:-.06em;margin:5px 0 12px;font-weight:800}.page-heading h1 em{font-style:normal;color:var(--teal)}.page-heading p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:660px;line-height:1.8;margin:0}.eyebrow{font-family:'DM Sans',sans-serif;color:#1e8c7f;font-size:10px;font-weight:800;letter-spacing:.19em;line-height:1.2;margin:0 0 10px}.date-label{font-size:11px;font-weight:700;color:#92a3a2;white-space:nowrap;margin-bottom:6px}.button{border:1px solid transparent;border-radius:9px;min-height:41px;padding:10px 17px;font-size:11.7px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:10px;transition:transform .16s,background .16s,border .16s;white-space:nowrap}.button .ico{height:16px;width:16px}.button.light{color:#1a6259;background:#e2fae9}.button.light:hover{background:white}.button.primary{background:#177f72;color:white}.button.primary:hover{background:#0a675e}.button.outline{background:#fff;color:#2c5856;border-color:#dce9e5}.button.outline:hover{background:#f3faf6}.button.subtle{background:#f2f7f5;color:#557773}.button.danger-outline{border-color:#f0d6d2;color:#bd5046;background:#fff}.button.danger-outline:hover{background:#fff2ee}.button.small{padding:7px 12px;min-height:34px}.button.full{width:100%}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 17px}.section-heading h2{font-size:19px;margin:0 0 5px;letter-spacing:-.04em}.section-heading h3{font-size:17px;margin:0 0 5px}.section-heading p{margin:0;font-size:11.7px;color:var(--muted);line-height:1.6}.section-heading.compact{margin:0 0 18px}.source-pill{display:inline-flex;gap:6px;align-items:center;padding:8px 11px;border-radius:8px;color:#78938d;background:#eaf2ee;font-size:10px;font-weight:700;white-space:nowrap}.source-pill .ico{height:13px;width:13px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{background:var(--white);border-radius:13px;border:1px solid var(--line);padding:19px 18px 17px;box-shadow:var(--soft-shadow);min-height:164px;display:flex;flex-direction:column}.metric-icon,.mini-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center}.metric-icon .ico,.mini-icon .ico{width:18px;height:18px}.metric-icon.temp{color:#d47c40;background:#fff1e6}.metric-icon.rain{color:#487ea4;background:#e9f2fa}.metric-icon.map{color:#7b72ad;background:#f1eefb}.metric-icon.shield{color:#218878;background:#e3f5ed}.metric-meta{font-size:10px;font-weight:700;color:#78918f;display:flex;align-items:center;justify-content:space-between;gap:4px;margin:15px 0 4px}.metric-state{font-size:8px;color:#b0c2bb}.metric-card strong{font-size:29px;font-family:Manrope,sans-serif;line-height:1.25;letter-spacing:-.06em}.metric-card strong.metric-district{font-size:21px;letter-spacing:-.05em;padding:4px 0}.metric-card small{color:#9baaaa;font-size:9.2px;line-height:1.4;margin-top:auto;padding-top:6px}.home-lower{display:grid;grid-template-columns:1fr 1.15fr;gap:17px;margin-top:19px}.surface{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--soft-shadow);padding:25px}.module-feature{position:relative;overflow:hidden}.module-feature:after{content:"";position:absolute;right:-38px;top:-51px;border:26px solid #e5f8f1;border-radius:50%;width:130px;height:130px;opacity:.7}.module-intro{display:flex;align-items:center;gap:11px;margin-bottom:13px}.mini-icon.teal{color:#167d70;background:#e1f6eb}.mini-icon.mint{color:#238d73;background:#e4f6ed}.mini-icon.amber{color:#cf8447;background:#fff2e5}.mini-icon.red{color:#d8635a;background:#fff0ec}.mini-icon.purple{color:#8d77bd;background:#f1edfb}.tiny-tag{font-size:9px;font-weight:800;letter-spacing:.13em;color:#74a193}.module-feature h3{font-size:20px;margin:0 0 9px}.module-feature>p{font-size:11px;line-height:1.7;color:var(--muted);max-width:410px}.preview-comparison{display:flex;flex-direction:column;gap:11px;margin:18px 0 9px}.preview-comparison>div{display:flex;align-items:center;gap:16px}.preview-comparison span{font-size:10px;font-weight:700;min-width:75px}.tiny-track{height:6px;background:#edf2f0;border-radius:9px;overflow:hidden;flex:1}.tiny-track span{height:100%;display:block;border-radius:9px}.preview-label{display:block;color:#a0b3ae;font-size:8px;margin-bottom:14px}.text-link{border:0;background:none;color:#188477;padding:0;font-size:11px;display:inline-flex;align-items:center;gap:7px;font-weight:800}.text-link .ico{width:15px;height:15px}.text-link:hover{color:#085a56}.action-module{padding:25px 24px}.action-list{display:grid}.action-list>button{width:100%;display:flex;align-items:center;text-align:left;gap:12px;border:0;border-bottom:1px solid #eff3f1;padding:13px 0;background:transparent}.action-list>button:last-child{border-bottom:0;padding-bottom:0}.action-list>button:hover strong{color:var(--teal)}.action-list>button>span:nth-child(2){flex:1}.action-list strong{display:block;font-size:11.5px;margin-bottom:4px}.action-list small{color:#93a4a2;font-size:9.5px}.action-list>button>.ico{width:16px;height:16px;color:#9eafae}.list-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:10px}.list-icon.ocean{color:#3d84a4;background:#e9f4f7}.list-icon.amber{color:#e1a44b;background:#fff5e7}.list-icon.mint{color:#299581;background:#e8f6ed}.site-footer{display:flex;justify-content:space-between;gap:15px;padding:19px clamp(24px,3.6vw,60px);border-top:1px solid var(--line);color:#a5b5b1;font-size:10px;max-width:1600px;width:100%;margin:0 auto}.site-footer a{color:#228475;font-weight:800}.mobile-menu{display:none}
/* Shared inner page styles */
.disclaimer-strip{display:flex;gap:13px;align-items:flex-start;background:#fff9ee;border:1px solid #f4e5c6;color:#936a37;border-radius:11px;padding:15px 18px;margin:0 0 21px}.disclaimer-strip .ico{margin-top:2px}.disclaimer-strip p{font-size:11px;margin:0;line-height:1.6}.disclaimer-strip.subtle-strip{background:#edf8f5;border-color:#d8ebe6;color:#497771}.eval-layout{display:grid;grid-template-columns:minmax(0,1.67fr) minmax(250px,1fr);gap:18px;align-items:start}.eval-form{padding:28px}.form-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.form-heading.with-divider{border-top:1px solid var(--line);padding-top:23px;margin-top:23px}.step-num{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;flex:none;background:#e6f7ee;color:#188778;font-weight:900;font-size:12px}.step-num.danger-step{background:#fff0ea;color:#d66d58}.form-heading h2{font-size:16px;margin:2px 0 5px}.form-heading p{font-size:10.8px;color:var(--muted);margin:0;line-height:1.55}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{display:flex;gap:9px;align-items:flex-start;border:1px solid #e6eeeb;border-radius:10px;padding:13px;cursor:pointer;transition:background .2s,border-color .2s;min-height:57px}.choice:hover{background:#f8fcfa}.choice:has(input:checked){background:#ecf8f2;border-color:#75c4af}.choice input{accent-color:#148a77;margin:2px 0 0;width:15px;height:15px;flex:none}.choice span{font-size:10.8px;font-weight:650;line-height:1.45}.danger-checks .choice:has(input:checked){background:#fff1ed;border-color:#ee9d8a}.danger-checks .choice input{accent-color:#db6857}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:8px;color:#486267;font-size:11px;font-weight:800;line-height:1.5;margin-bottom:15px}.field input,.field select,.field textarea{width:100%;background:#fbfdfc;border:1px solid #e0e9e5;border-radius:9px;padding:11px 12px;color:#234148;outline:0;min-height:40px;transition:border-color .18s,box-shadow .18s}.field textarea{resize:vertical;min-height:82px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#70c0ae;box-shadow:0 0 0 3px #dbf6ee}.field input::placeholder,.field textarea::placeholder{color:#a9b7b3;font-weight:400}.form-actions{display:flex;gap:11px;margin-top:8px}.eval-aside{display:grid;gap:17px;position:sticky;top:100px}.result-panel{min-height:300px;padding:26px}.result-empty{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:260px}.result-empty-icon{display:grid;place-items:center;background:#e9f7f0;color:#3c987f;width:61px;height:61px;border-radius:18px;margin:5px auto 18px}.result-empty-icon .ico{width:30px;height:30px}.result-empty h3{font-size:16px;margin-bottom:9px}.result-empty p{font-size:11px;color:var(--muted);max-width:270px}.result-empty small{color:#a5b2af;font-size:9px}.tiny-line{height:1px;background:#edf2f0;width:100%;margin:16px 0}.result-head{margin-bottom:19px}.result-head .tiny-tag{display:block;margin-bottom:9px}.result-head h3{font-size:19px;line-height:1.35;margin-bottom:7px}.result-head p{font-size:11px;color:var(--muted);margin:0}.result-bar{margin:18px 0}.result-bar>div:first-child{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}.result-bar span{font-size:11.5px;font-weight:800}.result-bar strong{font-size:22px;font-family:Manrope}.bar-base{height:10px;background:#eff4f1;border-radius:12px;overflow:hidden}.bar-fill{height:100%;border-radius:12px;transform-origin:left center}.result-bar.dengue .bar-fill{background:#e99753}.result-bar.lepto .bar-fill{background:#1aaf9d}.result-disclaimer{font-size:10.5px;color:#68847d;background:#edf7f3;border-radius:9px;padding:12px;line-height:1.7;margin:16px 0}.alarm-result{background:#fff0ee;border:1px solid #f3b7a9;border-radius:10px;color:#b44a43;padding:15px;margin-bottom:15px}.alarm-result strong{font-size:12px;display:block;margin-bottom:6px}.alarm-result p{font-size:11px;line-height:1.55;margin:0}.result-actions{display:flex;flex-wrap:wrap;gap:8px}.result-actions .button{flex:1}.help-card{padding:22px;background:linear-gradient(130deg,#174952,#126c64);color:white;border-radius:14px;display:flex;align-items:flex-start;gap:14px}.help-symbol{color:#c9f7d8;background:#34766e;width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.help-card small{font-size:9px;display:block;color:#c0e4d8}.help-card strong{font-size:17px;font-family:Manrope;margin:3px 0;display:block}.help-card p{font-size:10px;line-height:1.6;color:#c7e0d9;margin:5px 0 13px}.help-card a{font-size:11px;font-weight:800;color:#caf6d8;display:inline-flex;gap:7px;align-items:center}.help-card a .ico{width:14px;height:14px}
/* Territory */
.map-stat-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:17px}.map-stat-bar>div{display:grid;gap:6px;padding:17px 21px;background:white;border:1px solid var(--line);border-radius:12px}.map-stat-bar strong{font-family:Manrope;font-size:19px;letter-spacing:-.04em}.map-stat-bar small{color:var(--muted);font-size:9px}.map-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:18px;align-items:start}.map-card{padding:0;overflow:hidden}.map-toolbar{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.map-toolbar p{font-size:10px;color:var(--muted);margin:8px 0 0}.live-pill{color:#27806d;background:#e7f7ec;border-radius:100px;padding:5px 10px;font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:7px}.live-pill span{width:6px;height:6px;border-radius:50%;background:#31ab87}.map-foot{font-size:10px;color:#6f8580;display:flex;align-items:flex-start;gap:8px;padding:13px 17px;background:#f6faf8;line-height:1.6}.map-foot .ico{width:15px;height:15px}.map-loading{display:grid;place-items:center;height:100%;color:#628680;font-size:12px}.map-card #territory-map{height:520px;background:#dbe8e2}.leaflet-popup-content-wrapper{border-radius:10px!important}.report-side{padding:22px;min-height:520px}.round-icon{border:1px solid #e3ece7;color:#597d77;background:#fff;border-radius:9px;width:33px;height:33px;display:grid;place-items:center}.round-icon .ico{width:16px;height:16px}.round-icon:hover{background:#eaf5ef}.local-label{font-size:9px;letter-spacing:.12em;font-weight:800;color:#90a6a0;padding:9px 12px;border:1px dashed #dbe9e4;border-radius:8px;display:inline-flex;align-items:center;gap:8px}.local-label span{width:6px;height:6px;background:#91a5a1;border-radius:50%}.report-list{min-height:270px}.report-item{padding:15px 0;border-bottom:1px solid #edf1ef}.report-item>div:first-child{display:flex;justify-content:space-between;gap:8px}.report-item strong{font-size:11.5px}.report-item small{display:block;color:#92a69d;font-size:9px;margin-top:6px}.report-item p{margin:6px 0 0;color:#718984;font-size:10px;line-height:1.5}.report-item button{border:0;background:transparent;color:#be6a62;align-self:start}.report-item button .ico{width:16px;height:16px}.report-footnote{margin-top:15px;color:#9eaca8;font-size:9px;line-height:1.6;border-top:1px solid var(--line);padding-top:15px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;padding:38px 15px;color:#a7b7b1}.empty-state .ico{height:29px;width:29px;color:#9cbab0}.empty-state strong{color:#53736b;font-size:12px}.empty-state p{font-size:10px;max-width:245px;margin:0}.report-dialog{border:0;border-radius:19px;width:min(94vw,500px);padding:0;box-shadow:0 25px 100px #112e3566}.report-dialog::backdrop{background:#09292c99;backdrop-filter:blur(3px)}.dialog-heading{background:#f1f8f4;padding:26px 27px 18px;display:flex;gap:10px;justify-content:space-between}.dialog-heading h2{font-size:23px;margin:8px 0}.dialog-heading p{font-size:11px;color:#6f8980;margin:0}.dialog-fields{padding:23px 27px 27px}.dialog-location{background:#edf7f2;border-radius:9px;padding:12px;font-size:10px;color:#63897c;line-height:1.5}
/* Weather */
.weather-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.weather-hero{background:linear-gradient(150deg,#17414d,#16736b);border-radius:15px;color:white;min-height:337px;padding:30px;overflow:hidden;position:relative}.weather-hero:before{content:"";position:absolute;width:270px;height:270px;border-radius:50%;background:#a9dacf25;right:-75px;top:45px;box-shadow:0 0 0 62px #93c5bc17}.weather-hero-top{font-size:10px;letter-spacing:.1em;font-weight:800;display:flex;justify-content:space-between;gap:15px;position:relative;color:#b1e1cf}.weather-hero-top span:last-child{font-weight:600;font-size:9px;letter-spacing:0}.weather-icon{position:absolute;right:50px;top:95px;opacity:.55}.weather-icon .ico{width:110px;height:110px;color:#def4b1;stroke-width:1.15}.weather-big{display:flex;align-items:flex-start;margin:42px 0 4px;line-height:1}.weather-big>span:first-child{font-family:Manrope;font-size:85px;font-weight:800;letter-spacing:-.09em;position:relative}.weather-unit{font-size:30px;font-weight:700;margin:10px 0 0 8px}.weather-hero h2{font-size:17px;font-weight:600;letter-spacing:-.02em;color:#c2e7df;position:relative;margin-bottom:35px}.weather-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;position:relative;border-top:1px solid #70a29b77;padding-top:17px}.weather-stats>div{display:grid;gap:5px}.weather-stats .ico{width:15px;height:15px;color:#9dd8c9}.weather-stats span{font-size:9px;color:#b0d3c9}.weather-stats strong{font-family:Manrope;font-size:14px;letter-spacing:-.02em}.weather-credit{font-size:8px;color:#a9d6c8;margin-top:20px;display:block}.climate-explain{padding:28px}.climate-explain h3{font-size:19px;margin:19px 0 10px}.climate-explain>p{font-size:12px;color:#78918c}.climate-advice{font-size:11px;line-height:1.7;background:#f1faf5;color:#547b72;border-radius:10px;padding:13px;margin:18px 0}.climate-explain>a{display:inline-flex;gap:7px;align-items:center;color:#168273;font-size:11px;font-weight:800}.climate-explain>a .ico{width:14px;height:14px}.forecast-card{margin-top:19px;padding:26px}.forecast-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.forecast-day{border:1px solid var(--line);border-radius:11px;background:#fbfdfc;text-align:center;padding:17px 6px;display:grid;gap:12px;justify-items:center}.forecast-day .ico{width:23px;height:23px;color:#e0a35c}.forecast-day strong{font-size:10px}.forecast-day .temp-forecast{font-size:12px;font-weight:800}.forecast-day .temp-forecast span{color:#9eafab;font-weight:500}.forecast-day small{font-size:9px;color:#638b82}.empty-text{font-size:12px;color:#78928b}
/* Tracker */
.tracker-layout{display:grid;grid-template-columns:.9fr 1.4fr;gap:18px}.tracker-form{padding:26px}.tracker-chart-panel{padding:26px}.tracker-chart{min-height:285px;display:grid;place-items:center}.tracker-chart svg{width:100%;height:auto;max-height:300px;overflow:visible}.chart-legend{font-size:10px;color:#8b9f9a;display:inline-flex;align-items:center;gap:7px}.chart-legend span{width:16px;height:3px;background:#1c9c8b;border-radius:9px}.entries-panel{margin-top:18px}.muted-link{color:#bc756b}.entry-row{display:flex;align-items:center;gap:18px;border-top:1px solid #edf2ef;padding:16px 0}.entry-row:first-of-type{border-top:0}.entry-date{background:#f1f7f4;border-radius:10px;padding:11px;min-width:67px;text-align:center}.entry-date strong{font-size:19px;display:block}.entry-date small{font-size:9px;color:#709085}.entry-description{flex:1;min-width:0}.entry-description strong{font-size:12px}.entry-description small{display:block;margin-top:6px;color:#9bb0a9;font-size:10px}.entry-description p{margin:7px 0 0;font-size:10px;color:#6e857e}.entry-row button{border:0;background:transparent;color:#b87b74}.entry-row button .ico{width:16px;height:16px}
/* Prevention */
.community-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:18px}.prevention-card,.community-highlight{padding:29px}.progress-number{color:#168479;font-family:Manrope;font-size:26px;letter-spacing:-.06em;font-weight:800}.progress-track{height:9px;background:#edf4ef;border-radius:9px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#28b28b;border-radius:9px;transition:width .2s}.prevention-options{display:grid;gap:11px;margin:21px 0}.prevention-item{border:1px solid #e5eeea;padding:14px;border-radius:9px;display:flex;gap:12px;align-items:flex-start;cursor:pointer}.prevention-item:has(input:checked){background:#f0faf5;border-color:#a9debf}.prevention-item input{margin-top:2px;accent-color:#138775;width:16px;height:16px}.prevention-item strong{font-size:11.5px;display:block}.prevention-item small{font-size:10px;line-height:1.55;color:#8ba39a;display:block;margin-top:4px}.prevention-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf2ef;padding-top:15px;color:#93a7a0;font-size:10px}.community-highlight{background:#e8f5ee;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.highlight-illustration{width:100%;margin-bottom:12px;display:grid;place-items:center}.highlight-illustration svg{width:80%;max-width:280px;height:155px}.community-highlight h3{font-size:27px;line-height:1.28;max-width:285px;margin:14px 0 12px}.community-highlight p{font-size:11px;color:#6f9186;max-width:300px}.community-highlight .button{margin-top:10px}.brigades-card{margin-top:18px}.brigade-form{display:grid;grid-template-columns:1.4fr 1fr .7fr .8fr auto;gap:10px;align-items:end}.brigade-form .field{margin-bottom:0}.brigade-form .button{height:41px}.brigade-list{margin-top:20px}.brigade-entry{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.brigade-entry strong{font-size:11px}.brigade-entry small{font-size:9px;display:block;margin-top:5px;color:#91a59d}.brigade-entry button{background:transparent;border:0;color:#bb6e65}.brigade-entry button .ico{width:16px;height:16px}
/* Education */
.learn-diseases{display:grid;grid-template-columns:1fr 1fr;gap:18px}.disease-card{border-radius:15px;padding:31px 31px 26px}.disease-card.dengue{background:#fff0e3;border:1px solid #f5dfcd}.disease-card.lepto{background:#e7f6f4;border:1px solid #d1ebe5}.disease-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#fff7ee;color:#c47a43;margin-bottom:20px}.lepto .disease-icon{background:#d2ece7;color:#288477}.disease-card .tiny-tag{color:#a68f72}.lepto .tiny-tag{color:#7da497}.disease-card h2{font-size:29px;margin:10px 0}.disease-card p{font-size:12px;color:#677d77;line-height:1.8;min-height:88px}.disease-card h3{font-size:13px;letter-spacing:-.02em;margin:19px 0 10px}.disease-card ul{padding-left:17px;margin:0;font-size:11px;line-height:2;color:#5f746e}.learning-lower{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px;margin-top:19px}.alert-education,.quiz-card{padding:28px}.alert-education h3,.quiz-card h3{font-size:19px;margin:17px 0 9px}.alert-education p,.quiz-card p{font-size:11px;color:#6f8981;line-height:1.7}.alert-education .quiet{background:#fff4ed;color:#9d6552;padding:11px;border-radius:9px}.helplinks{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.helplinks a{font-size:11px;font-weight:800;color:#187e76;background:#e5f7ed;border-radius:8px;padding:10px 13px}.quiz-card{min-height:310px}.quiz-q{font-size:12px;margin:20px 0 13px;line-height:1.6;font-weight:800}.quiz-choices{display:grid;gap:9px}.quiz-choices button{border:1px solid #dcebe4;border-radius:9px;text-align:left;background:#f9fcfa;color:#486b65;padding:11px 13px;font-size:11px;font-weight:650}.quiz-choices button:hover{border-color:#90cdb8;background:#eff9f3}.quiz-feedback{border-radius:9px;padding:12px;font-size:11px;margin-top:13px;line-height:1.5;background:#e7f7ed;color:#35836c}.quiz-feedback.bad{background:#fff1e9;color:#b06f4a}.quiz-progress{font-size:10px;color:#95a99e;font-weight:700;margin-top:12px}.source-links{margin-top:18px;display:flex;justify-content:space-between;gap:25px;align-items:center}.source-links>div:first-child{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.source-links h3{font-size:14px;margin:0}.source-links p{font-size:10px;margin:0;color:#82968f}.source-buttons{display:flex;gap:10px;flex-wrap:wrap}.source-buttons a{border:1px solid #e2ede7;border-radius:8px;color:#247c71;font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:8px;padding:10px}.source-buttons a .ico{width:13px;height:13px}
/* About */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.about-intro{padding:29px}.about-intro h2{font-size:19px;margin:17px 0 12px}.about-intro p{font-size:11.5px;color:#738b84;line-height:1.85}.transparency{margin-top:18px}.transparency h3,.data-tools h3{font-size:18px;margin-bottom:16px}.trans-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:11px}.trans-row span{color:#749088}.trans-row strong{font-size:10.5px;text-align:right;max-width:60%}.data-tools{margin-top:18px;display:flex;gap:20px;justify-content:space-between;align-items:center}.data-tools p{margin:0;font-size:10.5px;color:#7f958d;max-width:600px}.data-tool-buttons{display:flex;gap:10px}.about-bottom{text-align:center;color:#9caaa5;font-size:10px;margin-top:25px}.about-bottom span{margin:0 5px}
.toast{position:fixed;bottom:24px;right:24px;background:#153f45;color:white;border-radius:10px;padding:14px 19px;box-shadow:0 12px 40px #12382d44;font-size:12px;max-width:380px;z-index:200;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1240px){.sidebar{width:232px;min-width:232px}.metrics-grid{grid-template-columns:repeat(2,1fr)}.brigade-form{grid-template-columns:repeat(4,1fr)}.brigade-form .field:first-child{grid-column:span 2}.brigade-form .button{grid-column:span 2}.weather-layout{grid-template-columns:1fr 1fr}}
@media(max-width:950px){.sidebar{position:fixed;transform:translateX(-105%);box-shadow:0 20px 60px #061d2a44}.sidebar.open{transform:translateX(0)}.sidebar-mask{position:fixed;inset:0;background:#112d3588;z-index:19;opacity:0;pointer-events:none}.sidebar-mask.open{opacity:1;pointer-events:auto}.mobile-menu{display:grid}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:white;color:#225d58;place-items:center;margin-right:12px}.topbar{justify-content:flex-start}.topbar-actions{margin-left:auto}.page-heading h1{font-size:35px}}
@media(max-width:700px){#content{padding:24px 16px 42px}.topbar{height:65px;padding:0 16px}.breadcrumb{gap:5px;font-size:10px}.breadcrumb>span{display:none}.breadcrumb>.ico{display:none}.topbar-status,.status-dot,.topbar-divider{display:none}.district-control select{font-size:10px;max-width:135px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px;gap:14px}.page-heading h1{font-size:31px}.page-heading p:not(.eyebrow){font-size:11.5px}.date-label{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-card{padding:15px;min-height:160px}.metric-card strong{font-size:25px}.metric-card strong.metric-district{font-size:17px}.home-lower,.eval-layout,.map-layout,.weather-layout,.tracker-layout,.community-grid,.learn-diseases,.learning-lower,.about-grid{grid-template-columns:1fr}.surface{padding:20px}.home-lower{gap:11px}.section-heading{align-items:flex-start}.source-pill{font-size:9px}.eval-aside{position:static}.eval-form{padding:20px}.check-grid{grid-template-columns:1fr}.map-stat-bar{grid-template-columns:repeat(3,1fr);gap:7px}.map-stat-bar>div{padding:13px 8px}.map-stat-bar strong{font-size:13px}.map-stat-bar small,.map-stat-bar .tiny-tag{font-size:8px}.map-card #territory-map{height:380px}.report-side{min-height:300px}.forecast-list{grid-template-columns:repeat(4,minmax(0,1fr))}.forecast-day{padding:11px 6px}.weather-hero{min-height:310px;padding:22px}.weather-icon{right:22px;top:83px}.weather-icon .ico{width:85px;height:85px}.weather-big>span:first-child{font-size:76px}.brigade-form{grid-template-columns:1fr 1fr}.brigade-form .field:first-child{grid-column:span 2}.brigade-form .button{grid-column:span 2}.source-links,.data-tools{align-items:flex-start;flex-direction:column}.site-footer{padding:16px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;text-align:center}.site-footer span:nth-child(2){display:none}.data-tool-buttons{width:100%;flex-wrap:wrap}.data-tool-buttons .button{flex:1}.source-buttons{width:100%}.disease-card{padding:23px}.disease-card p{min-height:0}}
@media(max-width:400px){.metric-card .metric-meta{font-size:9px}.metric-card strong{font-size:23px}.metric-card small{font-size:8.5px}.form-row{grid-template-columns:1fr}.map-toolbar{flex-wrap:wrap}.prevention-bottom{gap:8px}.weather-hero-top{flex-wrap:wrap}.brigade-form{grid-template-columns:1fr}.brigade-form .field:first-child,.brigade-form .button{grid-column:span 1}}
@media print{.sidebar,.topbar,.site-footer,.button,.toast,.report-dialog,.form-actions{display:none!important}.workspace,#content{width:100%;padding:0;max-width:100%}.view{display:none!important}.view.active{display:block!important}.surface{box-shadow:none;break-inside:avoid}body{background:white}}

.send-consent{display:flex;align-items:flex-start;gap:10px;padding:13px;margin:5px 0 16px;border:1px solid #dce9e2;border-radius:10px;background:#f6faf8;cursor:pointer}.send-consent input{accent-color:#128071;flex:none;width:16px;height:16px;margin-top:2px}.send-consent strong{font-size:11px;color:#244c49;display:block}.send-consent small{font-size:9.5px;color:#7a958a;line-height:1.6;display:block;margin-top:6px}@media(max-width:700px){.module-feature:after{display:none}}

/* Alerta Chira 3.0 — capa de accesibilidad, claridad clínica y pulido visual. */
:root{--bg:#f4f8f6;--line:#ddebe5;--teal:#0c7f73;--soft-shadow:0 14px 46px rgba(20,62,55,.055)}
html{scroll-padding-top:95px}
body{font-size:14px}
.skip-link{position:fixed;top:-70px;left:14px;background:#fff;color:#0b6259;padding:13px 18px;z-index:999;border-radius:0 0 10px 10px;box-shadow:0 8px 30px #092d2044;font-weight:800}
.skip-link:focus{top:0}
.nav-list a{min-height:43px}
.page-heading h1{font-size:clamp(31px,2.85vw,46px)}
.page-heading p:not(.eyebrow){font-size:14px}




.metric-meta{font-size:11px}
.metric-card small{font-size:10.5px;line-height:1.5}
.section-heading p{font-size:12.5px}
.module-feature>p,.action-list small{font-size:12px}
.action-list strong{font-size:13px}
.button{font-size:12px;min-height:44px}
.field input,.field select,.field textarea{font-size:13px}
.choice{min-height:46px}
.choice span{font-size:12px;line-height:1.5}
.prevention-item strong,.brigade-entry strong,.entry-description strong{font-size:12.5px}
.prevention-item small,.brigade-entry small,.entry-description small{font-size:11px}
.feature-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 19px}
.feature-steps span{display:flex;align-items:center;gap:7px;background:#eff8f3;border:1px solid #dceee4;color:#377467;border-radius:8px;padding:10px 11px;font-weight:750;font-size:11.5px}
.eval-explainer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 19px;padding:15px 18px;background:#e9f5f0;border:1px solid #d3e9df;border-radius:12px;color:#2f655d}
.eval-explainer strong{font-size:13px;color:#185d55}
.eval-explainer span{font-size:12px;line-height:1.55;flex:1;min-width:210px}
.eval-explainer a{font-weight:800;font-size:12px;color:#0b6c62;text-decoration:underline;text-underline-offset:3px}
.privacy-stamp{display:inline-flex;align-items:center;gap:7px;color:#247f70;background:#eaf8f1;border:1px solid #d6ece1;padding:9px 12px;border-radius:9px;font-weight:800;font-size:11px;margin-bottom:22px}
.privacy-stamp .ico{width:16px;height:16px}
.eval-selection-summary{padding:10px 12px;background:#f2f7f5;border:1px solid #e6efeb;border-radius:8px;font-size:12px;color:#52786c;margin:16px 0 12px}
.eval-live-warning{border:1px solid #f1cbb7;background:#fff2e9;color:#9a482f;padding:13px 16px;border-radius:10px;font-size:12px;font-weight:800;line-height:1.5;margin:15px 0 0}
.eval-live-warning[hidden]{display:none!important}
.result-bar small{display:block;font-size:10px;color:#78918a;margin:8px 0 13px}
.result-details{margin:17px 0;padding:13px;border:1px solid #dcebe3;border-radius:11px;background:#f8fcfa}
.result-details summary{cursor:pointer;font-weight:850;color:#176f62;font-size:12px;line-height:1.5}
.result-details>p{font-size:11px;color:#69867e;margin-top:12px;line-height:1.65}
.evidence-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.evidence-columns>div{border-radius:8px;border:1px solid #e4efea;padding:12px;background:#fff}
.evidence-columns h4{font-size:11px;margin:0 0 9px;color:#365e57}
.evidence-columns ul{padding:0;list-style:none;margin:0}
.evidence-columns li{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;padding:7px 0;border-top:1px solid #eef3f0;color:#68827c;font-size:10.5px;line-height:1.4}
.evidence-columns li strong{flex:none;color:#267367}
.context-note{font-size:11.5px;line-height:1.65;padding:9px 12px;background:#f2f7f4;border-radius:8px;color:#607d75;margin:8px 0}
.result-next{padding:15px;margin:17px 0;border-radius:11px;background:#e7f6ef;border:1px solid #d4eddf}
.result-next.urgent{background:#fff0e8;border-color:#ebbdac}
.result-next p{margin:7px 0 11px;font-weight:750;font-size:12.5px;line-height:1.55;color:#265d50}
.result-next.urgent p{color:#9d4138}
.result-next a{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:800;color:#096b61}
.result-next a .ico{width:14px;height:14px}
.report-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:8px 0 14px}
.report-filters .field{font-size:11px;margin:0}
.report-filters input,.report-filters select{min-width:0;width:100%;font-size:11px}
.report-geostatus{display:block;padding-top:8px;color:#527c75;font-size:10px}
.privacy-hint{background:#eaf6f0;border:1px solid #d2e8df;color:#32665d;border-radius:9px;padding:12px;font-size:11.5px;line-height:1.55;margin-bottom:12px}
.methodology{margin-top:20px}
.method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.method-grid article{background:#f4f9f6;border:1px solid #e1eee8;border-radius:11px;padding:16px}
.method-grid strong{font-size:12.5px;color:#285c52}
.method-grid p{font-size:11.7px;margin:8px 0 0;color:#6b817a;line-height:1.65}
.method-note{margin:17px 0 0;font-size:12px;color:#6f827d;line-height:1.7}
.method-note a{color:#0d776d;text-decoration:underline;text-underline-offset:3px}
.file-import{cursor:pointer}
.faq-panel{margin-top:19px}
.faq-panel details{padding:16px 0;border-top:1px solid #e6efe9}
.faq-panel summary{cursor:pointer;font-weight:800;color:#305850;font-size:13px}
.faq-panel details p{margin:10px 0 0;font-size:12px;line-height:1.7;color:#668178}
.about-intro p,.disease-card p,.alert-education p,.quiz-card p{font-size:12px}
.disease-card ul{font-size:12px}
.source-buttons a{font-size:11px}
.source-links{flex-wrap:wrap}
@media(max-width:1100px){.evidence-columns,.method-grid{grid-template-columns:1fr}}
@media(max-width:700px){.eval-explainer{align-items:flex-start;flex-direction:column;gap:6px}.eval-explainer span{min-width:0}.report-filters{grid-template-columns:1fr 1fr}.feature-steps span{font-size:10.5px}.method-grid{grid-template-columns:1fr}.page-heading h1{font-size:34px}.metric-card small{font-size:10px}}
@media(max-width:400px){.report-filters{grid-template-columns:1fr}.eval-layout{display:block}.feature-steps{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.skip-link,.eval-selection-summary,.eval-live-warning{display:none!important}.methodology{break-inside:avoid}}

.family-plan{margin-top:18px;margin-bottom:18px;background:linear-gradient(110deg,#f5fcf7,#eaf7f2);border-color:#d8e9df}
.family-head{display:flex;align-items:flex-start;gap:14px}
.family-head>div{flex:1}
.family-head h3{font-size:17px;line-height:1.35;margin:5px 0 6px}
.family-head p{font-size:12px;margin:0;color:#66877e}
.family-head .button{flex:none}
.family-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.family-points span{display:flex;align-items:center;gap:8px;padding:11px 12px;background:#fff;border:1px solid #e0eee6;border-radius:9px;color:#396e62;font-size:12px;font-weight:700}
.family-points .ico{width:16px;height:16px;color:#0c8673}
@media(max-width:700px){.family-head{flex-wrap:wrap}.family-head .button{width:100%}.family-points{grid-template-columns:1fr}}
@media(max-width:700px){}

/* Alerta Chira 4.0 — módulo ciudadano moderado. */
.community-panel{margin-top:18px;padding:22px 25px;}
.community-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.community-heading>div{flex:1;min-width:230px}
.community-heading h3{font-size:18px;line-height:1.35;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.community-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;border-radius:20px;padding:0 8px;background:#e2f4ed;color:#146f62;font-weight:850;font-size:12px}
.community-status{background:#ecf6f2;border:1px solid #d3e9df;border-radius:9px;padding:12px 14px;color:#406c61;font-size:11.5px;line-height:1.6;margin-top:13px}
.community-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.community-entry{display:flex;gap:10px;align-items:center;padding:12px 13px;border:1px solid #e0ebe4;border-radius:11px;background:#fbfefc;min-width:0}
.community-entry-icon{width:30px;height:30px;display:grid;place-items:center;background:#e6f4ed;border-radius:10px;color:#13786c;flex:none}
.community-entry-icon .ico{width:15px;height:15px}
.community-entry div{min-width:0}.community-entry strong{display:block;font-size:12px;color:#245b52}.community-entry small{display:block;margin-top:4px;font-size:10px;color:#628077;line-height:1.5}
.community-empty{grid-column:1/-1;font-size:12px;color:#64847b;padding:12px 0}
@media(max-width:700px){.community-panel{padding:18px}.community-list{grid-template-columns:1fr}.community-heading .button{width:100%}}

/* Lanzamiento 4.1: controles comunitarios explícitos, visibles en pantallas pequeñas */
.community-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#cloud-captcha:not([hidden]){padding:12px;margin:12px 0;min-height:70px;max-width:100%;overflow:hidden}
#community-gate{margin:14px 0;padding:12px;border:1px solid #b7d9d0;border-radius:12px}
#report-send:disabled{opacity:.45;cursor:not-allowed}
#report-send-hint{margin:8px 0 16px}
[hidden]{display:none!important}
@media(max-width:600px){.community-actions{width:100%}.community-actions .button{flex:1 1 auto}}


/* v4.2 · Pulido de diseño e interacción. Aplicación original basada en las
   recomendaciones públicas de emilkowalski/skills. No es una copia de la skill. */
:root{--motion-fast:130ms;--motion-base:195ms;--motion-ease:cubic-bezier(.23,1,.32,1)}
html{-webkit-tap-highlight-color:transparent}
html,body{min-height:100%;}
.app-shell{min-height:100vh;min-height:100dvh}
.sidebar{height:100vh;height:100dvh}
button,a,[role="button"],summary,label.file-import{touch-action:manipulation}
button,.button,.round-icon,.icon-button,.nav-list a,.quiz-choices button,.source-buttons a{-webkit-user-select:none;user-select:none}
.button,.icon-button,.round-icon,.nav-list a,.quiz-choices button,.source-buttons a{
  transition:transform var(--motion-fast) var(--motion-ease),
             background-color var(--motion-base) var(--motion-ease),
             border-color var(--motion-base) var(--motion-ease),
             color var(--motion-base) var(--motion-ease);
}
.button:active:not(:disabled),.icon-button:active,.round-icon:active,
.quiz-choices button:active:not(:disabled),.source-buttons a:active{
  transform:scale(.975);
}
.nav-list a:active{transform:scale(.985)}
.button:disabled{transform:none!important;cursor:not-allowed}
.icon-button,.round-icon{min-width:44px;min-height:44px}
.choice:focus-within,.prevention-item:focus-within{
  outline:2px solid #168479;outline-offset:3px;
}
.view h1:focus,.view h2:focus{outline:none}
.view h1:focus-visible,.view h2:focus-visible{outline:3px solid #65cbb5;outline-offset:5px;border-radius:4px}
/* Safe area: avoids covering actions under phone navigation bars. */
#content{padding-bottom:max(50px,calc(24px + env(safe-area-inset-bottom,0px)))}
.toast{bottom:max(24px,env(safe-area-inset-bottom,0px));transition:opacity var(--motion-base) var(--motion-ease),transform var(--motion-base) var(--motion-ease)}
.report-dialog{max-height:min(90vh,90dvh);overflow:auto;overscroll-behavior:contain}
.report-dialog:focus{outline:none}
/* Human-entered, translated and longer text must never break the cards. */
.report-item,.entry-row,.community-entry,.surface,.metric-card,.report-list{min-width:0}
.report-item *, .entry-description *, .community-entry *, .community-status,
.result-details li span, .quiz-card, .method-grid article, .report-geostatus{
  overflow-wrap:anywhere;
}
@media (pointer:coarse){
  .field input,.field textarea,.field select,.district-control select,
  #report-search,#report-filter{font-size:16px}
  .choice{min-height:48px}
  .quiz-choices button{min-height:44px}
}
@media (hover:none), (pointer:coarse){
  .button:hover{transform:none}
  .button.light:hover{background:#e2fae9}
  .button.primary:hover{background:#177f72}
  .button.outline:hover{background:#fff}
  .choice:hover{background:transparent}
  .nav-list a:hover:not(.active){background:transparent;color:#c1d2d0}
  .quiz-choices button:hover{background:#f9fcfa;border-color:#dcebe4}
}
@media (max-width:700px){
  .toast{left:16px;right:16px;max-width:none;bottom:max(18px,env(safe-area-inset-bottom,0px))}
  .sidebar{padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
  #content{padding-bottom:max(52px,calc(20px + env(safe-area-inset-bottom,0px)))}
}
@media (prefers-reduced-motion:reduce){
  .button:active,.icon-button:active,.round-icon:active,.nav-list a:active,
  .quiz-choices button:active{transform:none!important}
}

/* Navegación, resultados y respuesta de los controles */
:root {
  --motion-result: 240ms;
  --motion-route: 220ms;
  --motion-drawer: 240ms;
  --motion-overlay-exit: 160ms;
  --motion-drawer-ease: cubic-bezier(.32,.72,0,1);
}









.nav-marker, .sidebar-close { display: none; }
.action-list button > .ico {
  transition: transform var(--motion-fast) var(--motion-ease);
}
@media (hover: hover) and (pointer: fine) {
  .action-list button:hover > .ico { transform: translateX(4px); }
  .action-list button:hover strong { color: var(--teal-dark); }
}
.action-list button:active > .ico { transform: translateX(2px); }
.choice:active { border-color: #5aa995; }
.choice:has(input:checked) { border-color: #53a993; }

@media (min-width: 951px) {
  .nav-marker[data-positioned] {
    display: block;
    position: absolute;
    inset: 0 15px auto;
    pointer-events: none;
    border-radius: 10px;
    background: #24515a;
  }
  .sidebar:has(.nav-marker[data-positioned]) .nav-list a.active { background: transparent; }
  .sidebar .nav-list a { position: relative; }
}
@media (max-width: 950px) {
  .sidebar { visibility: hidden; overscroll-behavior: contain; }
  .sidebar.open { visibility: visible; }
  .sidebar .brand { margin-right: 42px; }
  .sidebar-close.icon-button {
    position: absolute;
    top: 25px;
    right: 8px;
    display: grid;
    place-items: center;
    color: #e6f5ef;
    background: var(--nav);
    border-color: #488b84;
  }
  body:has(.sidebar.open) { overflow: hidden; }
}
@media (max-width: 700px) {
  [data-view="inicio"] .page-heading h1 em { display: inline-block; }




}

@media (prefers-reduced-motion: no-preference) {


  .nav-marker[data-motion] { transition: transform var(--motion-base) var(--motion-ease); }
  .sidebar[data-motion] {
    transition: transform var(--motion-overlay-exit) var(--motion-ease),
                visibility 0s var(--motion-overlay-exit);
  }
  .sidebar.open[data-motion] {
    transition: transform var(--motion-drawer) var(--motion-drawer-ease);
  }
  .sidebar-mask[data-motion] {
    transition: opacity var(--motion-overlay-exit) var(--motion-ease);
  }
  .sidebar-mask.open[data-motion] { transition-duration: var(--motion-drawer); }
  .toast { transition-duration: var(--motion-overlay-exit); }
  .toast.show { transition-duration: var(--motion-base); }

  @supports (transition-behavior: allow-discrete) {
    :is(.report-dialog,.consult-dialog)[data-motion] {
      opacity: 0;
      transform: translateY(8px) scale(.97);
      pointer-events: none;
      transition:
        opacity var(--motion-overlay-exit) var(--motion-ease),
        transform var(--motion-overlay-exit) var(--motion-ease),
        display var(--motion-overlay-exit) allow-discrete,
        overlay var(--motion-overlay-exit) allow-discrete;
    }
    :is(.report-dialog,.consult-dialog)[data-motion][open] {
      opacity: 1;
      transform: none;
      pointer-events: auto;
      transition-duration: var(--motion-drawer);
    }
    :is(.report-dialog,.consult-dialog)[data-motion]::backdrop {
      opacity: 0;
      transition: opacity var(--motion-overlay-exit) var(--motion-ease),
                  display var(--motion-overlay-exit) allow-discrete,
                  overlay var(--motion-overlay-exit) allow-discrete;
    }
    :is(.report-dialog,.consult-dialog)[data-motion][open]::backdrop {
      opacity: 1;
      transition-duration: var(--motion-drawer);
    }
    @starting-style {
      :is(.report-dialog,.consult-dialog)[data-motion][open] { opacity: 0; transform: translateY(8px) scale(.97); }
      :is(.report-dialog,.consult-dialog)[data-motion][open]::backdrop { opacity: 0; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .sidebar-mask, .report-dialog, .consult-dialog { transition: none; }
  .toast, .toast.show { transform: none; }
  .action-list button > .ico,
  .action-list button:active > .ico { transform: none; }
}

/* Keep Leaflet panes and controls inside the map, below the sticky header. */
#territory-map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
}
.map-feedback {
  display: grid;
  gap: 5px;
  padding: 4px 17px 10px;
  background: #f6faf8;
  color: #365d55;
  font-size: 13px;
}
.map-feedback p { margin: 6px 0 0; }
.map-feedback p:empty { display: none; }
.map-feedback a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 44px;
  color: #0d605a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#my-location { min-height: 44px; }
.weather-hero-top, .weather-hero-top span:last-child, .weather-credit { font-size: 12px; color: #e0f4ec; }
.weather-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 12px; }
.weather-stats span, .forecast-day strong, .forecast-day small { font-size: 12px; }
.weather-stats span { color: #e0f4ec; }
.forecast-day small, .forecast-day .temp-forecast span { color: #44645b; }
.forecast-list > .empty-text { grid-column: 1/-1; }
@media (max-width: 480px) {
  .forecast-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.portal-entry { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.portal-entry h2 { margin:0; font-size:20px; }
.portal-entry p { color:#48665d; font-size:14px; margin:7px 0 0; }
.portal-entry .button { white-space:normal; text-align:center; }

.barrio-entry {
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px;
  border:1px solid #bddacc; border-radius:10px; background:#eaf4e9;
  margin:0 0 18px; padding:12px 15px; color:#18483c;
}
.barrio-entry strong,.barrio-entry small { display:block; }
.barrio-entry strong { font-size:15px; }
.barrio-entry small { color:#395e52; font-size:13px; margin-top:2px; }
@media (hover:hover) and (pointer:fine) {
  .barrio-entry:hover { border-color:#3f8d77; }
}

/* Atención, ficha de consulta y seguimiento */
.header-care {
  background: #166653;
  color: #fff;
  min-height: 44px;
  flex: none;
  text-decoration: none;
}
.header-care .ico { width: 16px; height: 16px; }
.eval-live-warning {
  position: sticky;
  top: 82px;
  z-index: 5;
  background: #fff1e9;
  color: #713025;
  border-color: #e4ad9c;
  margin: 0 0 14px;
  padding: 12px;
}
.eval-live-warning p { margin: 0 0 8px; }
.care-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
[data-view="evaluacion"] .form-actions { flex-wrap:wrap; }
.button.care-urgent { background:#963f31; color:#fff; border-color:#963f31; }
.alarm-result .care-actions { margin-top: 8px; }
.followup { margin-top: 18px; padding: clamp(16px, 3vw, 24px); }
.care-section-header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:start; gap:12px; margin-bottom:12px; }
.care-section-header h2 { margin:0; font-size:23px; line-height:1.2; }
.care-section-header p { margin:6px 0 0; color:#456259; }
.care-plan-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,240px); gap:12px; align-items:start; }
.care-plan-form .care-actions { grid-column:1/-1; }
.care-plan-form textarea, .consult-fields textarea { width:100%; resize:vertical; }
.care-status { color:#31594c; margin:12px 0 0; }
.care-status:empty { display:none; }
.consult-dialog {
  color:var(--ink);
  background:#fff;
  width:min(650px, calc(100% - 24px));
  max-height:90dvh;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid #afc9bd;
  border-radius:14px;
  padding:clamp(15px, 3vw, 27px);
}
.consult-dialog::backdrop { background:#0c2a24d9; }
.consult-fields { display:grid; gap:9px; }
.consult-fields .field, .care-plan-form .field { min-width:0; }
.consult-fields input[type="date"], .care-plan-form input[type="date"] { min-width:0; }
.consult-fields .quiet { margin:0; color:#456259; }
.consult-toggle { display:flex; align-items:center; gap:8px; min-height:44px; font-size:14px; font-weight:650; }
.consult-preview { white-space:pre-wrap; overflow-wrap:anywhere; border-radius:9px; padding:12px; background:#eaf3eb; font:inherit; }
#consult-print-sheet { display:none; }
@media (max-width: 1200px) {
  .topbar .topbar-status, .topbar .topbar-divider, .topbar .status-dot { display:none; }
}
@media (max-width: 700px) {
  .topbar .breadcrumb { display:none; }
  .topbar .topbar-actions { gap:6px; }
  .topbar .header-care { padding-inline:9px; font-size:13px; }
  .topbar .district-control select { max-width:110px; }
  .eval-live-warning { top:67px; }
  .care-plan-form { grid-template-columns:1fr; }
}
@media (max-width: 420px) {
  .topbar { padding-inline:10px; gap:8px; }
  .topbar .mobile-menu { margin-right:0; }
  .topbar .district-control { padding-inline:7px; }
  .topbar .district-control > .ico:first-child { display:none; }
}
@media (max-width: 375px) {
  .topbar { padding-inline:8px; gap:8px; }
  .topbar .mobile-menu { margin-right:0; }
  .header-care .ico { display:none; }
  .topbar .district-control { padding-inline:6px; }
  .topbar .district-control .ico { display:none; }
  .topbar .district-control select { max-width:106px; appearance:auto; }
}
@media (pointer:coarse) {
  .consult-fields .field input, .consult-fields textarea,
  .care-plan-form .field input, .care-plan-form textarea,
  .topbar .district-control select { font-size:16px; }
}
@media print {
  body[data-consult-print] > :not(#consult-print-sheet) { display:none!important; }
  body[data-consult-print] #consult-print-sheet { display:block; white-space:pre-wrap; overflow-wrap:anywhere; color:#182f28; padding:12mm; font:14pt/1.55 system-ui,sans-serif; }
}


.care-dates { min-width:0; }
.care-dates .field small { color:#486267; font-size:12px; }
.health-timeline { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.health-timeline .timeline-entry {
  border:1px solid #d9e7e0;
  border-radius:9px;
  padding:10px 12px;
  justify-content:space-between;
  gap:10px;
}
.timeline-control { background:#edf6ec; }
.timeline-entry .entry-description { min-width:0; }
.timeline-entry .entry-description p { white-space:pre-wrap; overflow-wrap:anywhere; }
.timeline-entry time,.timeline-entry .entry-description > span { display:block; color:#43675d; font-size:13px; }
.timeline-entry .entry-description strong { font-size:15px; }
.timeline-entry button { min-width:44px; min-height:44px; flex:none; }

/* Identidad y portada */
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --ink:#18362f;
  --muted:#49625a;
  --bg:#f5f3ea;
  --line:#dcded1;
  --nav:#18362f;
  --teal:#226452;
  --teal-dark:#194d3f;
  --mint:#e5efd8;
  --chira-leaf:#dce898;
  --chira-deep:#254f40;
  --chira-paper:#fcfaf4;
  --chira-display:"Instrument Serif", Georgia, serif;
}

::selection { color:var(--ink); background:var(--chira-leaf); }
.sidebar { background:var(--nav); }
.sidebar .brand-mark { color:var(--chira-leaf); background:#285143; border-color:#527264; }
.sidebar .side-caption { color:#b5c8b6; letter-spacing:.12em; }
.sidebar .nav-list a { color:#e0ebde; }
.sidebar .nav-list a .ico { color:#a6c3ae; }
.sidebar .nav-list a.active { color:#fff; }
.sidebar .nav-list a.active .ico { color:var(--chira-leaf); }
.sidebar .nav-marker { background:#31594b; }
.sidebar .sidebar-support { background:#234437; border-color:#537165; }
.sidebar .sidebar-support a { color:#e5eeaf; }
.sidebar .sidebar-foot { color:#acc2b1; }
.topbar { background:var(--chira-paper); border-color:var(--line); }
.topbar .breadcrumb span, .topbar .topbar-status { color:var(--muted); }
.topbar .breadcrumb { font-size:.78rem; }
.site-footer { color:var(--muted); font-size:.73rem; }
.site-footer a { color:var(--chira-deep); }
.source-pill { color:var(--muted); font-size:.74rem; }
.field input::placeholder,.field textarea::placeholder { color:#556f66; }
:where(.result-empty,.eval-form) small { color:#556f66; }
.topbar .district-control { background:#f2f1e8; border-color:var(--line); }
.topbar .header-care { color:#fff; background:#244e42; border-color:#244e42; }
.surface { border-color:var(--line); box-shadow:none; }
.page-heading h1 {
  font-family:var(--chira-display);
  font-weight:400;
  font-size:clamp(2.75rem,5vw,4.65rem);
  letter-spacing:-.028em;
  line-height:.98;
}
.page-heading h1 em { color:var(--chira-deep); font-style:italic; }
.page-heading p:not(.eyebrow) { font-size:clamp(.94rem,1.1vw,1.05rem); color:var(--muted); }

.home-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);
  align-items:stretch;
  gap:clamp(18px,3.2vw,52px);
  padding:10px 0 0;
  min-width:0;
}
.home-hero-content {
  align-self:center;
  padding-block:clamp(16px,4vw,58px);
}
.home-hero h1 {
  margin:0;
  color:var(--ink);
  font:400 clamp(3.85rem,6.7vw,6rem)/.9 var(--chira-display);
  letter-spacing:-.025em;
}
.home-hero h1 em { color:var(--chira-deep); display:block; font-weight:400; }
.home-hero-description {
  max-width:37ch;
  margin:22px 0 0;
  color:#324e44;
  font-size:clamp(1rem,1.36vw,1.2rem);
  line-height:1.55;
}
.home-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}
.home-hero-actions .button, .home-jump {
  min-height:48px;
  min-width:0;
  font-size:.9rem;
  text-align:center;
  white-space:normal;
}
.home-hero-actions .primary { background:var(--ink); border-color:var(--ink); color:#f7f9e9; }
.home-hero-actions .home-hero-care {
  background:#f9e9df;
  border-color:#deb5a3;
  color:#79311f;
}
.home-hero-note { color:var(--muted); margin:12px 0 0; font-size:.84rem; }
.home-hero-note a { color:#6f2c1d; font-weight:750; text-decoration:underline; text-underline-offset:.18em; }
.home-account-links { display:flex; flex-wrap:wrap; gap:0 16px; margin-top:13px; border-top:1px solid var(--line); }
.home-account-links a, .home-jump {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  color:var(--chira-deep);
  font-weight:750;
  min-height:44px;
}
.home-account-links a { font-size:.89rem; }
.home-account-links a[hidden] { display:none; }
.home-account-links a:active,.home-jump:active { color:#142924; }
.home-account-links .ico,.home-jump .ico { width:17px; height:17px; }

.home-photo {
  position:relative;
  isolation:isolate;
  min-height:clamp(340px,36vw,545px);
  margin:0;
  border-radius:16px;
  overflow:hidden;
  background:#4c6e5e;
}
.home-photo picture, .home-photo img {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.home-photo img { object-fit:cover; object-position:65% 53%; }
.home-photo::after {
  content:"";
  position:absolute;
  inset:55% 0 0;
  pointer-events:none;
  background:linear-gradient(0deg,#112a21db,transparent);
}
.home-photo figcaption {
  position:absolute;
  inset:auto 16px 16px;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:7px 16px;
  padding:9px 12px;
  color:#fff;
  background:#17362eeb;
  border-radius:8px;
  font-size:.76rem;
  line-height:1.35;
}
.home-photo figcaption strong { display:flex; align-items:center; gap:5px; font-size:.89rem; }
.home-photo figcaption .ico { width:16px; height:16px; color:var(--chira-leaf); }
.home-photo figcaption a { text-decoration:underline; text-underline-offset:.18em; }

.home-index {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:17px;
  border-bottom:1px solid var(--line);
}
.home-index time { color:var(--muted); font-size:.79rem; line-height:1.35; }
.home-jump { background:transparent; border:0; padding:0 4px; }
.home-jump .ico { color:var(--teal); }
.home-resources,.home-conditions { margin-top:clamp(30px,5vw,57px); }
.home-section-title {
  margin:0 0 16px;
  color:var(--ink);
  font:400 clamp(2.08rem,3.65vw,3.27rem)/1 var(--chira-display);
  letter-spacing:-.018em;
  scroll-margin-top:8px;
}
.home-section-title:focus { outline:none; }
.home-section-title:focus-visible { outline:2px solid var(--teal); outline-offset:5px; }
.home-resource-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:12px;
}
.home-resource {
  --spotlight:#f4ffd6;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  min-height:146px;
  display:grid;
  grid-template-columns:1fr auto;
  align-content:space-between;
  align-items:end;
  gap:16px 10px;
  padding:18px;
  border:1px solid #d1d9c4;
  border-radius:13px;
  color:#224638;
  background:#e9eee0;
}
.home-reading-entry { --spotlight:#fcffee; background:var(--chira-leaf); border-color:#ceda87; }
.home-resource-glow {
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  width:180px;
  height:180px;
  margin:-90px 0 0 -90px;
  border-radius:50%;
  background:radial-gradient(circle,var(--spotlight),transparent 70%);
  pointer-events:none;
  opacity:0;
}
.home-resource-icon { grid-column:1/-1; width:24px; height:24px; }
.home-resource strong { display:block; font:800 1.08rem/1.2 Manrope,sans-serif; }
.home-resource small { display:block; color:#3b594c; margin-top:5px; font-size:.88rem; line-height:1.38; }
.home-resource-arrow { width:19px; height:19px; margin-bottom:2px; }
.home-resource:active { background:#e0e8ce; }
.home-conditions .section-heading p { color:var(--muted); font-size:.91rem; }
.home-conditions .section-heading { gap:10px; margin-bottom:12px; }
.home-conditions .section-heading .home-section-title { font-size:clamp(2.08rem,3.65vw,3.27rem); margin-bottom:4px; }
.home-conditions .metrics-grid {
  gap:0;
  background:var(--chira-paper);
  border:1px solid var(--line);
  border-radius:12px;
}
.home-conditions .metric-card {
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  min-height:0;
  padding:clamp(14px,2vw,24px);
}
.home-conditions .metric-card + .metric-card { border-inline-start:1px solid var(--line); }
.home-conditions .metric-meta,.home-conditions .metric-state,.home-conditions .metric-card small { color:var(--muted); }
.home-conditions .metric-meta { font-size:.79rem; flex-wrap:wrap; }
.home-conditions .metric-state { font-size:.69rem; }
.home-conditions .metric-card small { font-size:.75rem; }
.home-lower .module-feature { background:#294f40; color:#f9f8ec; }
.home-lower .module-feature::after { border-color:#9cb88a50; }
.home-lower .action-list small { color:var(--muted); }
.home-lower .module-feature h3 { font:400 clamp(2rem,3.6vw,3.5rem)/.95 var(--chira-display); margin:10px 0; }
.home-lower .module-feature p { color:#e2ece1; font-size:.95rem; }
.home-lower .module-feature .text-link { color:#ecf3ae; min-height:44px; }
.home-feature-mark { width:26px; height:26px; color:var(--chira-leaf); }

@media (hover:hover) and (pointer:fine) {
  .sidebar .nav-list a:hover { color:#fff; background:#2c5143; }
  .home-hero-actions .primary:hover { background:#2c5645; }
  .home-hero-actions .home-hero-care:hover { background:#f5dacf; }
  .home-account-links a:hover, .home-jump:hover { text-decoration:underline; text-underline-offset:.18em; }
  .home-resource:hover { border-color:#81967a; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :root:not([data-reading-motion]) .home-resource-arrow { transition:transform var(--motion-base) var(--motion-ease); }
  :root:not([data-reading-motion]) .home-resource:hover .home-resource-arrow { transform:translateX(3px); }
  :root:not([data-reading-motion]) .home-resource-glow { transition:opacity var(--motion-base) var(--motion-ease); }
  :root:not([data-reading-motion]) .home-resource[data-spotlight] .home-resource-glow { opacity:.95; }
}
@media (max-width:1100px) {
  .home-hero h1 { font-size:clamp(3.4rem,7vw,5.65rem); }
}
@media (max-width:720px) {
  .home-hero { grid-template-columns:1fr; gap:14px; padding:0; }
  .home-hero-content { padding:5px 0 0; }
  .home-hero h1 { font-size:clamp(3.625rem,11vw,5.2rem); }
  .home-hero-description { margin-top:15px; }
  .home-hero-actions { margin-top:16px; }
  .home-hero-actions .button { flex:1 1 165px; min-height:46px; }
  .home-hero-note { margin-top:10px; }
  .home-account-links { margin-top:10px; }
  .home-photo { min-height:clamp(169px,49vw,314px); }
  .home-photo img { object-position:56% 54%; }
  .home-photo figcaption { inset:auto 8px 8px; }
  .home-index time { max-width:16ch; }
  .home-resource-grid { grid-template-columns:1fr; gap:8px; }
  .home-resource { grid-template-columns:auto minmax(0,1fr) auto; align-items:center; min-height:72px; padding:14px 12px; }
  .home-resource-icon { grid-column:auto; }
  .home-resource-arrow { margin:0; }
  .home-conditions .section-heading { display:block; }
  .home-conditions .source-pill { margin-top:8px; }
  .home-conditions .metric-card:nth-child(3) { border-inline-start:0; }
  .home-conditions .metric-card:nth-child(n+3) { border-top:1px solid var(--line); }
}
@media (max-width:375px) {
  .home-hero h1 { font-size:clamp(3.4rem,9vw,3.63rem); }
  .home-account-links { column-gap:10px; }
}

/* Estado de las peticiones al mapa y al servicio meteorológico */
.map-stage { position:relative; }
.map-loading {
  position:absolute;
  z-index:450;
  left:50%;
  top:12px;
  transform:translateX(-50%);
  max-width:calc(100% - 60px);
  border:1px solid #c4ded3;
  border-radius:8px;
  background:#fafdfb;
  color:#214f44;
  padding:6px 11px;
  font-size:.813rem;
  font-weight:750;
  pointer-events:none;
  white-space:nowrap;
}
.loading-dot { display:inline-block; width:7px; height:7px; margin-right:3px; border-radius:50%; background:#268d77; }
.map-stage:has(.map-loading:not([hidden])) + .map-feedback .map-status {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.weather-reading { position:relative; }
.weather-reading-placeholder {
  display:none;
  position:absolute;
  top:50%;
  left:0;
  height:clamp(49px,7vw,63px);
  width:min(68%,195px);
  border-radius:9px;
  background:#b9e7d644;
  transform:translateY(-50%);
}
.weather-hero[data-loading] .weather-big { visibility:hidden; }
.weather-hero[data-loading] .weather-reading-placeholder { display:block; }
.forecast-placeholder { min-height:157px; align-content:center; gap:12px; }
.forecast-placeholder .loading-shape { height:9px; width:75%; background:#dcebe4; border-radius:5px; }
.forecast-placeholder .loading-shape:nth-child(2) { width:40%; height:23px; border-radius:7px; }
.forecast-placeholder .loading-shape:last-child { width:63%; }
.loading-shape { overflow:hidden; isolation:isolate; }
.loading-shape::after {
  content:"";
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(100deg,transparent,#fff9,transparent);
  opacity:0;
}

@media (prefers-reduced-motion:no-preference) {
  .loading-shape::after { animation: chira-loading-sweep 1250ms linear 120ms 3; }
  .map-loading .loading-dot { animation: chira-loading-dot 1080ms var(--motion-ease) 3; }
  .choice input { transition:transform var(--motion-fast) var(--motion-ease); }
  .choice:active input { transform:scale(.87); }

  @keyframes chira-loading-sweep {
    from { transform:translateX(-100%); opacity:.62; }
    to { transform:translateX(100%); opacity:.62; }
  }
  @keyframes chira-loading-dot {
    50% { opacity:.35; transform:scale(.8); }
  }
}


.health-storage-choice input, .backup-private input { width:18px; height:18px; min-height:18px; padding:0; flex:none; margin-right:6px; accent-color:#126b53; }
.health-storage-choice, .backup-private { display:flex; min-height:44px; align-items:center; gap:6px; font-size:.875rem; }
.data-tool-buttons { flex-wrap:wrap; }
.backup-private { flex-basis:100%; }
