:root{--ink:#181c39;--muted:#687088;--accent:#342fc3;--border:#dce0ed;--white:#fff;--soft:#f6f7fb;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--white);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:3px solid #6058e1;outline-offset:3px}[hidden]{display:none!important}
.topbar{height:72px;padding:0 32px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--border)}.brand{font-size:37px;font-weight:800;letter-spacing:-1.8px;text-decoration:none;color:#2c27a5}.book-link{padding-left:28px;border-left:1px solid var(--border);color:var(--ink);font-size:19px;font-weight:650;text-decoration:none}.active-nav{height:100%;display:flex;align-items:center;border-bottom:3px solid var(--accent);font-weight:600;color:var(--accent);margin-left:16px}.topbar>.button{margin-left:auto}
main{padding:28px 28px 24px;max-width:2000px;margin:auto}.heading-row{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:22px}h1{font-size:clamp(25px,2.6vw,40px);letter-spacing:-1.2px;margin:0 0 6px;font-weight:750;line-height:1.15}h1 span{white-space:nowrap}.subtitle{margin:0;color:var(--muted);font-size:22px}.filters{display:flex;align-items:flex-end;gap:12px;flex-shrink:0}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}select,input:not([type=range],[type=radio]){border:1px solid #cfd4e5;background:white;color:var(--ink);border-radius:6px;height:44px;padding:0 12px;max-width:100%}select{max-width:245px;min-width:175px}.button{height:44px;border:1px solid #cfd4e5;border-radius:6px;background:white;padding:0 17px;color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap}.button:hover:not(:disabled){background:#f2f1fd}.button.primary{background:var(--accent);border-color:var(--accent);color:white}.button.primary:hover:not(:disabled){background:#26229f}
.data-line{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:12px;color:var(--muted);min-height:20px}#summary{color:var(--ink);font-weight:600}.status{margin:0 0 12px;font-size:14px;line-height:1.55;padding:11px 14px;background:#fff7e5;border:1px solid #efd5a1;border-radius:6px}.status:empty{display:none}.status.error{background:#fff0f0;border-color:#f0b9b9;color:#8e2323}
.map-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.map-panel{min-width:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;padding:10px 9px 0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 10px 13px}h2{font-size:22px;margin:0 0 4px;letter-spacing:-.4px}.panel-heading p{margin:0;font-size:16px;color:var(--muted)}.text-button{font-size:13px;color:var(--accent);background:none;border:0;padding:8px}.muted{color:var(--muted);font-size:13px;line-height:1.6}.map-wrap{position:relative}.map{height:clamp(380px,58vh,730px);border-radius:5px;background:#eaf0ec}.radius-control{position:absolute;z-index:500;left:12px;top:12px;padding:12px 16px;min-width:190px;background:white;border-radius:6px;box-shadow:0 1px 7px #25295226;font-size:13px;display:block}.radius-control input{display:block;width:100%;margin:9px 0 0;accent-color:var(--accent)}.radius-control output{font-weight:700}.legend{min-height:57px;display:flex;align-items:center;gap:12px;padding:12px 10px;font-size:13px}.gradient{height:13px;flex:1;max-width:180px;min-width:55px;border-radius:8px;background:linear-gradient(90deg,#b9f3a0,#fff38a,#ff973d,#cd1220)}.legend-note{color:var(--muted);padding-left:14px;margin-left:4px;border-left:1px solid #c7cddd}.point-symbol{width:15px;height:15px;border-radius:50%;background:var(--accent);flex-shrink:0}
.footnotes{font-size:12px;color:var(--muted);line-height:1.65;margin-top:14px}.footnotes p{margin:4px 0}.footnotes details{color:var(--ink);margin:10px 0;padding:12px 14px;background:var(--soft);border-radius:5px}.footnotes summary{cursor:pointer;font-weight:600}.footnotes ul{columns:3;padding-left:20px}.footnotes li{break-inside:avoid;padding:3px 0}.leaflet-container{font-family:inherit}.leaflet-popup-content{line-height:1.6;font-size:13px}.leaflet-popup-content strong{font-size:15px}.leaflet-control-attribution{font-size:10px!important}.map-popup p{margin:4px 0}.map-popup small{color:var(--muted)}
.login-panel{max-width:750px;background:var(--soft);border:1px solid var(--border);padding:24px;border-radius:8px;margin:0 0 24px}.login-panel p{color:var(--muted);font-size:14px}.login-panel form{display:flex;gap:12px;align-items:flex-end}.login-panel label{flex:1;min-width:0}dialog{width:580px;max-width:calc(100% - 32px);max-height:90vh;border:1px solid var(--border);border-radius:12px;padding:28px;color:var(--ink);box-shadow:0 20px 100px #171b3c33}dialog::backdrop{background:#171b3c55}dialog p{font-size:14px;line-height:1.6;color:var(--muted)}dialog h3{font-size:16px;margin:0}.close-button{float:right;background:none;border:0;font-size:26px;color:var(--muted);margin:-10px -8px 0 0}.share-option{border-top:1px solid var(--border);margin-top:20px;padding-top:20px}.radio{flex-direction:row;align-items:flex-start;font-weight:400;font-size:14px;margin:14px 0;line-height:1.5}.radio input{accent-color:var(--accent);margin-top:4px}.share-option>input{width:100%;margin-top:12px}.shared-banner{padding:12px 16px;background:var(--soft);border-radius:5px;margin-bottom:18px;font-size:14px}.heat-only .map-grid{grid-template-columns:1fr}.heat-only .map{height:66vh}.heat-only .point-panel{display:none}
.leaflet-tile-pane{filter:saturate(.32) brightness(1.035)}
.daily-link{display:inline-block;margin-top:14px;font-size:13px;text-underline-offset:3px}.daily-breakdown{max-width:960px;margin-top:24px;padding:22px;border:1px solid var(--border);border-radius:8px;scroll-margin-top:20px}.daily-scope{margin:6px 0 16px;color:var(--muted);font-size:14px}.daily-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;table-layout:fixed}.daily-table caption{text-align:left;color:var(--muted);font-size:13px;line-height:1.5;padding-bottom:12px}.daily-table th,.daily-table td{padding:11px 14px;border-bottom:1px solid var(--border);text-align:right;overflow-wrap:break-word}.daily-table th:first-child{text-align:left}.daily-table thead th{font-size:13px;line-height:1.5;background:var(--soft);vertical-align:bottom}.daily-table tbody th{font-weight:500}.daily-table tfoot th,.daily-table tfoot td{font-weight:700;background:var(--soft);border:0}.daily-table .selected-day{background:#eeedfc;color:var(--accent)}.daily-note{margin:14px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
@media(max-width:700px){.daily-breakdown{padding:16px 12px}.daily-table{font-size:13px}.daily-table th,.daily-table td{padding:10px 6px}.daily-table thead th{font-size:12px}.daily-scope{font-size:12px}}
.week-controls{margin:0 0 22px;padding:18px 20px;background:var(--soft);border:1px solid var(--border);border-radius:8px}.week-heading{display:flex;align-items:flex-end;gap:24px;margin-bottom:14px}.week-heading select{min-width:240px}.week-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 2px;max-width:740px}.weekdays{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.day-button{display:flex;justify-content:space-between;align-items:center;gap:10px;background:white;border:1px solid var(--border);border-radius:6px;padding:12px 14px;color:var(--muted);font-size:13px}.day-button strong{font-size:19px;color:var(--ink);font-variant-numeric:tabular-nums}.day-button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:white}.day-button[aria-pressed=true] strong{color:white}.day-button:hover:not(:disabled){border-color:var(--accent)}
@media(max-width:900px){.day-button{flex-direction:column;gap:3px;padding:10px 4px}.week-heading{align-items:flex-start;gap:16px}}@media(max-width:700px){.week-controls{padding:14px 12px}.week-heading{flex-direction:column;gap:12px}.week-heading label,.week-heading select{width:100%}.weekdays{grid-template-columns:repeat(4,1fr);gap:7px}.day-button{flex-direction:row;padding:10px}.day-button strong{font-size:17px}}
@media(min-width:1700px){.map{height:65vh}}@media(max-width:1150px){.heading-row{align-items:flex-start;flex-direction:column}.filters{width:100%}.filters label{flex:1}select{max-width:none;width:100%}.legend{flex-wrap:wrap;gap:9px}.legend-note{border:0;padding:0;margin:0;font-size:12px}.subtitle{font-size:19px}.footnotes ul{columns:2}}
@media(max-width:700px){.topbar{height:63px;padding:0 16px;gap:14px}.brand{font-size:30px}.book-link{font-size:15px;padding-left:14px}.active-nav{display:none}.topbar>.button{height:38px;padding:0 12px}main{padding:22px 14px}.heading-row{gap:20px}h1{font-size:29px;letter-spacing:-.8px}.subtitle{font-size:18px}.filters{flex-wrap:wrap;gap:12px}.filters label{flex:1 1 44%;min-width:0}.filters select{min-width:0;font-size:13px}.filters>.button{width:100%}.data-line{flex-direction:column;font-size:12px;gap:5px}.map-grid{grid-template-columns:1fr;gap:18px}.map{height:460px}.panel-heading{padding:4px 5px 12px}h2{font-size:20px}.legend{min-height:54px}.radius-control{min-width:165px;max-width:180px}.footnotes ul{columns:1}.login-panel{padding:18px}.login-panel form{flex-direction:column;align-items:stretch}.login-panel label{width:100%}.login-panel input{width:100%}dialog{padding:22px}.shared-banner{font-size:12px}}
