:root{--ink:#172326;--muted:#687679;--line:#e2e7e7;--paper:#fff;--yellow:#f5d544;--green:#274c45;--bg:#f6f7f8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,select:disabled{cursor:default;opacity:.5}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b69a16;outline-offset:4px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{height:88px;padding:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:white}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:750;letter-spacing:-1px}.brand img{height:43px;width:43px;object-fit:contain}.brand-dot{color:#bd9d00}.top-label,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700}.top-label{color:var(--muted)}.about{font-size:12px}.about:hover{text-decoration:underline}main{max-width:1600px;margin:auto;padding:40px 4.5% 56px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{color:var(--muted);margin:0 0 12px}h1{font-size:clamp(28px,3.2vw,46px);letter-spacing:-1.6px;font-weight:600;margin:0 0 10px}h2{font-size:24px;letter-spacing:-.7px;font-weight:600;margin:0}h3{font-size:19px;letter-spacing:-.4px;font-weight:600;margin:0}.subtitle{color:var(--muted);font-size:14px;margin:0;line-height:1.6}.intro-mark{display:grid;place-items:center;width:72px;height:72px;background:var(--yellow);border-radius:50%;font-size:44px}.controls{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:14px;padding:20px 24px;background:var(--paper);box-shadow:0 3px 8px #18312a03}.control{display:flex;flex-direction:column;gap:10px;min-width:0}.control label{font-size:11px;font-weight:600;color:#9b8a33;letter-spacing:1px}.control label span{color:var(--muted);margin-left:8px;letter-spacing:0}.control select{border:0;background:transparent;color:var(--ink);font-weight:600;font-size:14px;width:100%;padding:0 25px 0 0;text-overflow:ellipsis}.device-control{flex:0 0 150px}.walk-control{flex:1;border-left:1px solid var(--line);padding-left:24px}.parameter-control{flex:0 1 280px;border-left:1px solid var(--line);padding-left:24px}.icon-button{background:var(--bg);border:1px solid var(--line);border-radius:8px;font-size:22px;width:34px;height:34px}.status-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding:14px 2px 24px;min-height:48px}#status.loading:before{content:"";display:inline-block;width:10px;height:10px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.error{padding:14px 18px;background:#fff0ed;border:1px solid #e9b2a4;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;font-size:13px}.error button{border:0;background:transparent;font-weight:700;white-space:nowrap}.welcome{text-align:center;padding:50px 24px 65px;border:1px dashed #ccd6d3;border-radius:16px;background:#fff9}.welcome p{max-width:490px;margin:16px auto 28px;color:var(--muted);font-size:14px;line-height:1.8}.route-art{display:flex;align-items:center;justify-content:center;margin:auto auto 26px;max-width:380px;color:#ad8c0d}.route-art svg{width:280px;height:90px;fill:none;stroke:var(--green);stroke-width:3;stroke-dasharray:5 6}.route-art span:last-child{background:var(--yellow);padding:9px 14px;border-radius:50%;font-size:24px;color:var(--ink)}.welcome-tags{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.welcome-tags span{background:#edf1ef;border-radius:20px;padding:8px 14px;font-size:11px;color:var(--green)}.walk-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:6px 0 22px}.walk-heading .eyebrow{margin-bottom:7px}.muted{color:var(--muted);font-size:12px}.walk-heading p:last-child{margin:8px 0 0}.export-controls{display:flex;align-items:center;gap:10px}.export-controls select{border:1px solid var(--line);background:white;border-radius:8px;padding:10px;font-size:12px;max-width:205px}.button{border:0;background:var(--ink);color:white;padding:12px 18px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.button:hover{background:var(--green)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stats article{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 22px;min-width:0}.stats article:first-child{background:var(--green);color:white;border-color:var(--green)}.stats span{display:block;font-size:11px;color:var(--muted);margin-bottom:14px}.stats article:first-child span,.stats article:first-child small{color:#d2e1dc}.stats strong{display:block;font-weight:550;font-size:clamp(19px,2vw,29px);letter-spacing:-.8px;white-space:nowrap}.stats small{display:block;font-size:10px;color:var(--muted);margin-top:10px}.visual-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}.panel-heading{padding:22px 24px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading .eyebrow{font-size:9px;margin-bottom:7px}.pill{background:#f3f4ed;border:1px solid #e6e8da;border-radius:20px;padding:6px 10px;font-size:10px;white-space:nowrap}.map,.line{height:390px;width:100%}.chart{transition:opacity .15s}.chart.loading{opacity:.4;pointer-events:none}.panel-foot{font-size:10px;color:var(--muted);border-top:1px solid #eff1f1;padding:12px 24px;min-height:40px;line-height:1.5}.text-button{background:transparent;border:0;color:var(--muted);font-size:11px;white-space:nowrap}.text-button:hover{color:var(--ink)}.summary-panel{margin-top:20px}.summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:20px 24px 26px;gap:24px}.summary-item{min-width:0}.summary-item h4{font-size:11px;color:var(--muted);font-weight:500;margin:0 0 13px}.summary-item strong{font-size:20px;font-weight:550}.summary-item small{font-size:10px;color:var(--muted)}.distribution{position:relative;height:24px;margin:12px 0 6px;display:flex;align-items:center}.distribution:before{content:"";height:2px;width:100%;background:#dbe3df}.distribution .box{position:absolute;height:15px;min-width:2px;background:#d6e5df;border:1px solid #8daa9e;border-radius:2px}.distribution .median{position:absolute;height:21px;width:2px;background:var(--green)}.distribution-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}footer{display:flex;justify-content:space-between;gap:20px;padding:24px 4.5%;border-top:1px solid var(--line);font-size:11px}footer>span:last-child{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.map,.line{height:460px}}@media(max-width:1050px){.top-label{display:none}.controls{gap:12px;padding:18px}.device-control{flex-basis:110px}.parameter-control{flex-basis:230px}.walk-control,.parameter-control{padding-left:14px}.visual-grid{grid-template-columns:1fr}.map,.line{height:370px}.summary-grid{grid-template-columns:repeat(3,1fr)}.stats article{padding:17px}}@media(max-width:640px){.topbar{height:70px;padding:0 20px}.brand{font-size:21px}.brand img{height:35px;width:35px}.about{font-size:10px}main{padding:28px 18px}.intro{margin-bottom:24px}.intro-mark{display:none}h1{font-size:30px;letter-spacing:-1px}.subtitle{font-size:12px}.controls{display:grid;grid-template-columns:1fr 34px;gap:20px;padding:20px}.control{border:0;padding:0}.device-control{grid-column:1}.walk-control{grid-column:1;grid-row:2}.icon-button{grid-column:2;grid-row:2}.parameter-control{grid-column:1 / -1;border-top:1px solid var(--line);padding-top:18px}.status-row{padding-bottom:18px}#cache-note{display:none}.walk-heading{align-items:flex-start;flex-direction:column;gap:16px}.walk-heading h2{font-size:21px}.export-controls{width:100%}.export-controls select{flex:1;max-width:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stats strong{font-size:21px}.stats span{margin-bottom:10px}.panel-heading{padding:18px 16px 8px}.panel-heading h3{font-size:17px}.map,.line{height:330px}.panel-foot{padding:12px 16px}.summary-grid{grid-template-columns:repeat(2,1fr);padding:18px 16px;gap:22px}.summary-panel .panel-heading>.muted{display:none}.welcome{padding:30px 16px}.welcome h2{font-size:21px}.welcome p{font-size:12px}.welcome-tags{gap:8px}.welcome-tags span{font-size:10px}footer{padding:20px 18px}footer>span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
.auth-main{max-width:510px;padding-top:70px}.auth-card{background:white;border:1px solid var(--line);border-radius:16px;padding:32px}.auth-card h1{font-size:32px}.auth-card form{display:flex;flex-direction:column;gap:10px;margin:28px 0 20px}.auth-card label{font-size:13px;font-weight:600;margin-top:8px}.auth-card input{font:inherit;padding:12px;border:1px solid #cbd5d1;border-radius:8px;width:100%}.auth-card input:focus{outline:2px solid var(--green);outline-offset:2px}.auth-card button{margin-top:14px}#auth-message{font-size:13px;line-height:1.6;color:#924018}.account-nav{display:flex;gap:14px;align-items:center;font-size:12px}.top-label{display:none}@media(max-width:640px){.topbar>.about{display:none}.account-nav{font-size:10px;gap:6px}.account-nav .text-button{font-size:10px}.auth-main{padding-top:30px}.auth-card{padding:24px}}

.chart-controls{padding:20px 24px;border-top:1px solid var(--line)}
.filters fieldset{border:0;margin:0;padding:0;min-width:0}
.filters legend{font-size:13px;font-weight:600;margin-bottom:14px}
.filters label{display:block;font-size:12px;color:var(--muted)}
.value-fields{display:flex;gap:12px}.value-fields label{flex:1;min-width:0}
.value-fields input{width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:14px}
.time-labels{display:flex;justify-content:space-between;gap:12px}.time-labels label:last-child{text-align:right}.time-labels output{display:block;font-size:11px;margin-top:6px}
.time-range{--range-start:0%;--range-end:100%;position:relative;height:36px;margin:10px 10px 4px}
.time-track,.time-selection{position:absolute;top:15px;height:6px;border-radius:4px;left:0;right:0;background:#dfe7e3}
.time-selection{left:var(--range-start);right:calc(100% - var(--range-end));background:var(--green)}
.time-range input[type=range]{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:36px;margin:0;background:transparent;pointer-events:none;z-index:2}
.time-range input:last-child{z-index:3}
.time-range input::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:white;border:3px solid var(--green);box-shadow:0 1px 4px #0002;pointer-events:auto;cursor:ew-resize}
.time-range input::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:white;border:3px solid var(--green);pointer-events:auto;cursor:ew-resize}
.time-range input:focus-visible{outline:none}.time-range input:focus-visible::-webkit-slider-thumb{outline:3px solid var(--yellow);outline-offset:3px}
.time-range input:focus-visible::-moz-range-thumb{outline:3px solid var(--yellow);outline-offset:3px}
.time-range input:disabled{opacity:.4}.time-range input:disabled::-webkit-slider-thumb{pointer-events:none}
.filter-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 2px}
@media(max-width:640px){.chart-controls{padding:18px 16px}.time-labels output{font-size:10px}.filter-footer{align-items:flex-start}}
.year-control,.month-control{flex:0 0 130px}.controls .device-control{flex-basis:105px}.recording-summary{margin-bottom:20px}.recording-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 26px;padding:14px 24px 24px;margin:0}.recording-summary dt{font-size:11px;color:var(--muted);margin-bottom:7px}.recording-summary dd{margin:0;font-size:14px;font-weight:550;overflow-wrap:anywhere}.recording-summary dl>p{grid-column:1 / -1;margin:0}.measurement-toolbar{display:flex;align-items:center;gap:18px;padding:18px 22px;margin-bottom:18px;background:white;border:1px solid var(--line);border-radius:12px}.measurement-toolbar label{font-size:13px;font-weight:600}.measurement-toolbar select{font:inherit;font-size:14px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:white;min-width:240px;max-width:100%}@media(max-width:1050px){.controls{flex-wrap:wrap}.year-control,.month-control{flex:1}.controls .walk-control{flex:1 1 220px}}@media(max-width:640px){.controls{grid-template-columns:1fr 1fr}.controls .device-control{grid-column:1 / -1}.year-control{grid-column:1;grid-row:2}.month-control{grid-column:2;grid-row:2}.controls .walk-control{grid-column:1 / -1;grid-row:3;padding-right:44px}.controls #refresh{grid-column:2;grid-row:3;justify-self:end;align-self:end}.recording-summary dl{grid-template-columns:1fr 1fr;padding:16px;gap:18px}.recording-summary dl>div:first-child,.recording-summary dl>div:nth-child(2){grid-column:1 / -1}.measurement-toolbar{align-items:stretch;flex-direction:column;gap:8px;padding:16px}.measurement-toolbar select{min-width:0;width:100%}}
/* Compact dashboard rhythm; keep chart and form interaction targets readable. */
.topbar{height:68px}main:not(.auth-main){padding-top:24px;padding-bottom:30px}.intro{margin-bottom:20px}.intro h1{font-size:clamp(26px,2.6vw,36px);margin-bottom:6px}.intro .eyebrow{margin-bottom:8px}.intro-mark{width:54px;height:54px;font-size:34px}.controls{padding:14px 18px;gap:14px}.control{gap:7px}.status-row{padding:10px 2px 14px;min-height:36px}.walk-heading{margin:0 0 14px}.walk-heading h2{font-size:21px}.walk-heading #walk-detail{display:none}.panel-heading{padding:16px 18px 8px}.recording-summary{margin-bottom:12px}.recording-summary dl{gap:12px 22px;padding:10px 18px 14px;grid-template-columns:repeat(3,minmax(0,1fr))}.recording-summary dt{margin-bottom:4px}.recording-summary dd{font-size:13px}.summary-measurement{display:flex;flex-wrap:wrap;align-items:center;gap:16px 36px;padding:12px 18px;border-top:1px solid var(--line);background:#f8faf9}.summary-measurement>div{display:grid;grid-template-columns:auto auto;gap:3px 12px;align-items:baseline}.summary-measurement>div>span{font-size:12px;color:var(--muted)}.summary-measurement strong{font-size:19px;font-weight:600}.summary-measurement small{grid-column:2;font-size:10px;color:var(--muted)}#summary-scope{margin-left:auto;font-size:10px}.measurement-toolbar{padding:10px 16px;margin-bottom:12px;gap:14px}.measurement-toolbar select{padding:8px 12px}.visual-grid{gap:14px}.panel-foot{padding:9px 18px;min-height:32px}.chart-controls{padding:14px 18px}.filters legend{margin-bottom:10px}.filters p{margin:8px 0 0}.value-fields input{padding:9px 10px;margin-top:5px}.summary-panel{margin-top:12px}.summary-grid{padding:12px 18px 18px;gap:18px}.summary-item h4{margin-bottom:8px}.distribution{margin-top:8px}.filter-footer{padding:4px 2px}.filter-footer p{margin:6px 0}footer{padding-top:16px;padding-bottom:16px}@media(max-width:640px){main:not(.auth-main){padding:18px 14px}.topbar{padding:0 14px}.intro{margin-bottom:16px}.controls{gap:14px;padding:14px}.recording-summary dl{grid-template-columns:1fr 1fr;gap:12px;padding:12px 14px}.summary-measurement{padding:12px 14px;gap:14px;align-items:flex-start}.summary-measurement>div{grid-template-columns:1fr;gap:3px;flex:1 1 40%}.summary-measurement small{grid-column:1}#summary-scope{margin-left:0;flex-basis:100%}.measurement-toolbar{padding:12px 14px}.chart-controls{padding:12px 14px}.panel-heading{padding:14px 14px 6px}}
.export-controls{flex-wrap:wrap;justify-content:flex-end}.report-button{background:var(--green)}@media(max-width:640px){.export-controls{justify-content:flex-start}.export-controls select{flex-basis:100%}.export-controls button{flex:1}}

.measurement-toolbar{align-items:center;gap:24px}.measurement-limits{flex:1;min-width:0}.measurement-limits .value-fields{max-width:400px}.measurement-limits legend{margin-bottom:8px}.measurement-limits .muted{font-size:10px}.measurement-choice{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.measurement-choice select{width:100%;min-width:0}.measurement-choice>label{font-size:13px}@media(max-width:640px){.measurement-toolbar{gap:16px;align-items:stretch}.measurement-limits .value-fields{max-width:none}.measurement-choice{width:100%}}
/* Fill the route panel down to the bottom of the neighboring timeline controls. */
@media(min-width:1051px){
  .map-panel{display:flex;flex-direction:column}
  .map-panel>.panel-heading,.map-panel>.panel-foot{flex:none}
  .map-panel>.map{flex:1 1 0;min-height:390px;height:0;contain:size}
}
@media(min-width:1500px){.map-panel>.map{min-height:460px}}

.comfort-panel{margin-top:12px}.comfort-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:10px 18px 18px}.comfort-card{min-width:0}.comfort-card h4{margin:0;font-size:14px}.comfort-card>p{margin:5px 0}.comfort-pie{width:100%;height:175px}.comfort-legend{list-style:none;padding:0;margin:6px 0 0;font-size:11px}.comfort-legend li{display:grid;grid-template-columns:44px 8px minmax(0,1fr);gap:7px;align-items:baseline;margin:5px 0;line-height:1.4}.comfort-swatch{width:8px;height:8px;border-radius:2px}.comfort-legend strong{font-weight:600;font-variant-numeric:tabular-nums}@media(max-width:640px){.comfort-grid{grid-template-columns:1fr;padding:10px 14px 14px;gap:18px}}


