@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap";
:root{--ink:#172d29;--muted:#66756e;--green:#08745c;--border:#e1e7e1;--paper:#f5f7f3;--nav:#142e28;--accent:#d9ef85;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Manrope,Noto Sans,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.2px;margin-bottom:10px;font-size:32px;font-weight:800}h2{letter-spacing:-.35px;margin-bottom:5px;font-size:18px}h3{font-size:16px}small{font-size:12px}svg{flex-shrink:0}.muted{color:var(--muted);margin-bottom:0;line-height:1.7}.eyebrow{letter-spacing:1.6px;color:var(--green);margin-bottom:12px;font-size:10px;font-weight:800;display:block}.brand{letter-spacing:-.8px;color:#fff;align-items:center;gap:11px;font-size:21px;font-weight:800;display:flex}.brand small{letter-spacing:3px;color:#b9cbc1;margin-top:5px;font-size:9px;font-weight:500;display:block}.brand-icon{background:var(--accent);width:43px;height:43px;color:var(--nav);border-radius:13px;place-items:center;display:grid}.brand-icon svg{width:28px;height:28px}.primary,.secondary{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:12px 17px;font-size:12px;font-weight:700;display:inline-flex}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover{background:#075d4b}.secondary{border:1px solid var(--border);background:#fff}.secondary:hover{background:#eef2ec}.wide{justify-content:space-between;width:100%}.icon-button{background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;min-width:38px;min-height:38px;display:inline-flex}.icon-button:hover{background:#e9efe8}.actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}label{font-size:12px;font-weight:600;display:block}input,select{color:var(--ink);background:#fff;border:1px solid #d9e0da;border-radius:7px;min-width:0;padding:12px}form label{margin-bottom:20px}form label input:not([type=checkbox]),form label select{width:100%;margin-top:8px;display:block}input:focus,select:focus{outline:2px solid #579b80}input[type=checkbox]{accent-color:var(--green)}.error{color:#943e29;background:#fff0ec;border:1px solid #e9b9a8;border-radius:8px;margin-bottom:20px;padding:13px;line-height:1.6}.loading{height:100vh;color:var(--green);flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex}.login-page{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.login-story{background:var(--nav);flex-direction:column;min-height:100vh;padding:48px 65px;display:flex;position:relative;overflow:hidden}.story-copy{z-index:1;margin:auto 0;padding:70px 0}.light{color:var(--accent)}.story-copy h1{color:#fff;letter-spacing:-2px;margin:25px 0;font-size:clamp(36px,4vw,62px);font-weight:500;line-height:1.22}.story-copy em{color:var(--accent);font-style:normal}.story-copy p{color:#bdcdc4;font-size:15px;line-height:1.9}.story-route{opacity:.25;pointer-events:none;position:absolute;bottom:80px;left:0;right:0}.story-route svg{fill:none;stroke:#d9ef85;stroke-width:2px;stroke-dasharray:5 7;width:100%}.story-route circle{fill:#d9ef85;stroke:none}.story-foot{color:#b8cbbd;z-index:1;gap:10px;font-size:11px;display:flex}.login-form{background:#fcfdfb;justify-content:center;align-items:center;padding:70px 35px;display:flex;position:relative}.login-card{width:100%;max-width:365px}.login-card h2{letter-spacing:-1px;margin-bottom:12px;font-size:32px}.login-card form{margin-top:35px}.login-note{color:var(--muted);margin-top:24px;font-size:11px;line-height:1.9}.login-footer{color:#7e8c83;font-size:11px;position:absolute;bottom:30px}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--nav);color:#c4d2ca;z-index:20;flex-direction:column;width:248px;padding:33px 20px;display:flex;position:fixed;top:0;bottom:0}.sidebar .brand{padding:0 6px}.workspace-label{letter-spacing:1.8px;color:#93aaa0;margin:52px 16px 17px;font-size:9px}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#c6d4ce;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;padding:14px 16px;font-size:13px;display:flex}.sidebar nav button.active{color:#21392b;background:var(--accent);font-weight:800}.sidebar nav button:not(.active):hover{background:#234038}.nav-dot{background:#28553b;border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.system-label{align-items:center;gap:7px;margin-bottom:23px;font-size:9px;display:flex}.system-label span{background:var(--accent);border-radius:50%;width:6px;height:6px}.profile{border-top:1px solid #355047;align-items:center;gap:10px;padding-top:22px;display:flex}.avatar{color:#fff;background:#35554a;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.profile strong{text-overflow:ellipsis;max-width:116px;font-size:11px;display:block;overflow:hidden}.profile small{color:#9eb3a6;margin-top:5px;font-size:10px;display:block}.profile button{color:#bbcfc2;background:0 0;border:0;margin-left:auto;padding:8px}.main-area{flex:1;min-width:0;margin-left:248px}.topbar{border-bottom:1px solid var(--border);height:73px;color:var(--muted);background:#fff;justify-content:space-between;align-items:center;padding:0 36px;font-size:11px;display:flex}.topbar>span:first-of-type{align-items:center;gap:13px;display:flex}.topbar strong{color:var(--ink);font-weight:600}.content{max-width:1580px;margin:auto;padding:36px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading .muted{font-size:12px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:17px;margin:22px 0;display:grid}.stat-card{border:1px solid var(--border);background:#fff;border-radius:10px;padding:22px}.stat-card>div{color:#63786b;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.stat-card svg{color:#6a8775}.stat-card strong{letter-spacing:-1px;margin:15px 0 7px;font-size:36px;font-weight:600;display:block}.stat-card small{color:var(--muted);font-size:10px}.filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:22px;display:flex}.search-field{border:1px solid var(--border);min-width:210px;color:var(--muted);background:#fff;border-radius:8px;flex:1;align-items:center;padding-left:13px;display:flex}.search-field input{background:0 0;border:0;width:100%;font-size:11px}.filters select{max-width:230px;font-size:11px}.date-filter{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.date-filter input{padding:10px;font-size:11px}.panel{border:1px solid var(--border);background:#fff;border-radius:11px;margin-bottom:23px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;display:flex}.panel-heading .muted{font-size:11px}.panel-heading h2{align-items:center;gap:10px;display:flex}.subtle-tag{color:var(--muted);background:#f1f5ee;border-radius:6px;align-items:center;gap:6px;padding:8px 11px;font-size:10px;display:flex}.map-wrap{position:relative}.map{width:100%;height:340px}.map-placeholder{color:#63786b;background:#e7eee0;place-items:center;height:340px;display:grid}.map-warning{background:#fff8e9;border:1px solid #e5c795;border-radius:6px;padding:10px;font-size:11px;position:absolute;bottom:36px;left:15px;right:15px}.count{color:#5c715f;background:#eff3ed;border-radius:5px;padding:4px 7px;font-size:10px}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}th{color:#718077;border-block:1px solid var(--border);background:#fafbf8;padding:14px 24px;font-size:10px;font-weight:600}td{border-bottom:1px solid #edf0eb;padding:18px 24px;font-size:11px}tr:last-child td{border-bottom:0}td strong{font-weight:700;display:block}td small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.badge{border-radius:5px;padding:6px 9px;font-size:10px;font-weight:600;display:inline-block}.complete{color:#27663f;background:#eaf4ec}.recording{color:#895a0e;background:#fff2d8}.inactive{color:#69766b;background:#edf0ed}.stale{color:#976520}.empty{text-align:center;padding:48px 20px 55px}.empty-icon{color:#63815d;background:#f1f5eb;border-radius:15px;place-items:center;width:58px;height:58px;margin:0 auto 20px;display:grid}.empty h3{margin-bottom:10px}.empty p{max-width:390px;color:var(--muted);margin:auto;font-size:12px;line-height:1.9}.content-footer{color:#7d8c81;justify-content:space-between;margin-top:30px;font-size:10px;display:flex}.entity-grid{grid-template-columns:repeat(3,1fr);gap:15px;padding:0 24px 24px;display:grid}.entity-card{border:1px solid var(--border);text-align:left;background:#fff;border-radius:9px;padding:24px}.entity-card:hover{background:#fbfdf8;border-color:#8caf93}.entity-card>svg{color:#74916d;margin-bottom:18px}.entity-card h3{margin-bottom:12px}.entity-card p{color:var(--muted);font-size:12px}.entity-card>small{color:var(--green);gap:5px;margin-top:22px;font-size:11px;display:flex}.detail-body{padding:24px}.detail-stats{grid-template-columns:repeat(4,1fr);gap:18px;font-size:13px;font-weight:700;display:grid}.detail-stats small{color:var(--muted);margin-bottom:9px;font-size:10px;font-weight:400;display:block}.quality{color:#78633a;margin-top:22px;font-size:11px;line-height:1.7}.playback{color:var(--muted);margin-top:25px;font-size:11px}.playback input{width:100%;accent-color:var(--green);margin:10px 0;padding:0;display:block}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#0c201a85;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow:auto;box-shadow:0 20px 80px #09281a40}.modal form{padding:0 24px 24px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.check-label{align-items:center;gap:10px;margin-bottom:12px;font-size:12px;font-weight:400;display:flex}fieldset{border:1px solid var(--border);border-radius:8px;margin:0 0 20px;padding:15px}legend{padding:0 5px;font-size:12px;font-weight:600}.mobile-menu{display:none}.report-page{background:#fff;max-width:1000px;margin:30px auto;padding:35px}.report-head{border-bottom:2px solid var(--green);justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:20px;display:flex}.report-head .brand{color:var(--green)}.report-head .brand small{color:var(--muted)}.report-page h1{font-size:27px}.report-page .map{height:400px}.report-meta{grid-template-columns:repeat(2,1fr);gap:15px;margin:25px 0;display:grid}.report-meta small{color:var(--muted);margin-bottom:6px;display:block}.report-id{color:var(--muted);overflow-wrap:anywhere;font-size:10px}@media (min-width:1600px){.map{height:400px}}@media (max-width:1100px){.sidebar{width:215px;padding-inline:15px}.main-area{margin-left:215px}.content{padding:25px}.topbar{padding:0 25px}.stats-grid,.entity-grid{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.login-story{padding:40px}.filters{gap:8px}}@media (max-width:760px){.login-page{display:block}.login-story{min-height:auto;padding:25px}.story-copy,.story-route,.story-foot{display:none}.login-form{min-height:calc(100vh - 93px);padding:45px 25px 85px}.sidebar{width:248px;transition:transform .2s;transform:translate(-100%)}.sidebar.visible{transform:translate(0);box-shadow:0 0 0 100vw #061d1566}.main-area{margin-left:0}.mobile-menu{margin-right:12px;display:flex}.topbar{justify-content:flex-start;height:62px;padding:0 16px}.top-date{display:none}.content{padding:25px 16px}.page-heading{display:block}.page-heading .actions{margin-top:20px}h1{font-size:28px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:30px}.stat-card small{line-height:1.6;display:block}.stat-card>div{font-size:11px}.filters>.search-field{flex-basis:100%}.filters>select{width:100%;max-width:none}.date-filter{flex:1}.date-filter input{width:100%;padding:10px 6px}.panel-heading{padding:18px 16px}.panel-heading h2{font-size:16px}.panel-heading .secondary{padding:9px;font-size:10px}.subtle-tag{display:none}.map{height:290px}.detail-stats{grid-template-columns:repeat(2,1fr)}.entity-grid{grid-template-columns:1fr;padding:0 16px 16px}.content-footer{gap:12px;font-size:9px}.detail-body{padding:17px}.report-page{margin:0;padding:20px}.report-meta{grid-template-columns:1fr}.report-head{gap:12px}.report-head .brand{font-size:16px}}.reports-controls{flex-wrap:wrap;align-items:flex-end;gap:14px;padding:20px;display:flex}.reports-controls label{flex-direction:column;gap:7px;max-width:100%;font-size:12px;display:flex}.reports-controls input,.reports-controls select{color:#173c3c;background:#fff;border:1px solid #c9d8d2;border-radius:7px;max-width:100%;min-height:42px;padding:10px}.reports-info{color:#476563;padding:0 20px 16px;font-size:13px;line-height:1.65}.monthly-reports td{vertical-align:top}.monthly-reports .error{white-space:normal;max-width:300px}@media (max-width:640px){.reports-controls{flex-direction:column;align-items:stretch}.reports-controls label{width:100%}.monthly-reports .panel-heading p{max-width:250px}.monthly-reports table,.monthly-reports tbody{width:100%;min-width:0;display:block}.monthly-reports thead{display:none}.monthly-reports tr{border-top:1px solid #dbe7e2;padding:14px 16px;display:block}.monthly-reports td{white-space:normal;border:0;padding:6px 0;display:block}.monthly-reports td:before{content:attr(data-label);color:#476563;margin-bottom:4px;font-size:11px;display:block}.monthly-reports td:last-child a{display:inline-flex}}@media print{@page{size:A4;margin:14mm}body{background:#fff;font-size:11px}.no-print{display:none!important}.report-page{max-width:none;margin:0;padding:0}.report-page .map{height:300px}.report-head,.report-meta,.report-page .map-wrap{break-inside:avoid}.report-meta{grid-template-columns:repeat(2,1fr)}.maplibregl-control-container{display:block}.maplibregl-ctrl-top-right{display:none}.report-page h1{font-size:23px}}
.app-shell,.login-page{--ink:#17241f;--muted:#526259;--green:#17241f;--paper:#f7f8f4;--accent:#d7ea9e;--border:#e1e6dc;background:var(--paper)}.app-shell .sidebar{color:var(--muted);border-right:1px solid var(--border);background:#fff}.app-shell .brand,.login-page .brand{color:var(--ink)}.app-shell .brand small,.login-page .brand small,.app-shell .workspace-label,.app-shell .profile small{color:var(--muted)}.app-shell .brand-icon{border-radius:50%;width:46px;height:46px}.app-shell .sidebar nav button{color:var(--ink);border-radius:16px;min-height:48px}.app-shell .sidebar nav button.active{background:var(--ink);color:#fff}.app-shell .sidebar nav button:not(.active):hover{background:#e7eed9}.app-shell .nav-dot{background:var(--accent)}.app-shell .profile{border-color:var(--border)}.app-shell .profile button{color:var(--ink);min-height:44px}.app-shell .avatar{color:var(--ink);background:#e7eed9;flex-shrink:0}.app-shell .topbar{background:var(--paper);border-bottom:0}.app-shell .content{padding-top:12px}.app-shell .page-heading{isolation:isolate;background:#e7eed9;border-radius:28px;min-height:160px;padding:30px;position:relative;overflow:hidden}.app-shell .page-heading>div{z-index:1;position:relative}.app-shell .page-heading>div:first-child{max-width:65%}.app-shell .page-heading h1{font-size:clamp(26px,3vw,36px)}.heading-bike{color:#17241f;opacity:.07;width:220px;height:160px;position:absolute;bottom:-26px;right:160px;transform:rotate(-12deg)}.app-shell .primary,.login-page .primary{background:var(--ink);border-color:var(--ink);border-radius:16px;min-height:46px}.app-shell .primary:hover,.login-page .primary:hover{background:#304337}.app-shell .secondary{border-radius:16px;min-height:44px}.app-shell .icon-button{background:#eef1e9;border-radius:50%;min-width:44px;min-height:44px}.app-shell .stat-card{border-radius:23px;padding:22px}.app-shell .stat-card:nth-child(2){background:#e7eed9;border-color:#e7eed9}.app-shell .stat-card strong{font-weight:800}.app-shell .stat-card>div,.app-shell .stat-card svg{color:var(--muted)}.app-shell .panel{border-radius:24px;box-shadow:0 4px 18px #17241f03}.app-shell input,.app-shell select,.login-page input{border-radius:14px;min-height:44px}.app-shell .search-field{border-radius:16px}.app-shell .search-field input{border-radius:inherit}.app-shell .filters{background:#eef1e9;border-radius:22px;padding:12px}.app-shell .badge{border-radius:20px}.app-shell th{color:var(--muted);background:#f7f8f4}.app-shell tbody tr:hover{background:#f7f9f2}.app-shell .modal{border-radius:26px}.device-health{margin-bottom:24px;padding:24px}.health-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.health-heading p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.7}.health-heading>svg{background:#e7eed9;border-radius:50%;width:46px;height:46px;padding:10px}.health-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;display:grid}.health-card{border:1px solid var(--border);background:#f9faf7;border-radius:19px;min-width:0;padding:18px}.health-card header{align-items:center;gap:10px;display:flex}.health-card header>svg{background:#e7eed9;border-radius:12px;width:39px;height:39px;padding:9px}.health-card header small{color:var(--muted);margin-bottom:4px;display:block}.health-card header strong{overflow-wrap:anywhere}.health-status{color:#28422d;background:#e7eed9;border-radius:12px;margin:16px 0 12px;padding:10px 12px;font-size:12px;line-height:1.6}.health-status.attention{color:#754800;background:#fff0d9}.health-status.unknown{color:#526259;background:#edf0ec}.health-time,.health-model{color:var(--muted);margin-bottom:8px;font-size:11px;line-height:1.7}.health-metrics{flex-wrap:wrap;gap:16px;padding:12px 0;font-size:12px;display:flex}.health-metrics span{align-items:center;gap:6px;display:flex}.health-card details{border-top:1px solid var(--border);margin-top:8px}.health-card summary{cursor:pointer;min-height:44px;padding:13px 0 0;font-size:12px;font-weight:700}.health-card dl{margin:8px 0 0;font-size:11px}.health-card dl>div{justify-content:space-between;gap:12px;padding:7px 0;display:flex}.health-card dd{text-align:right;margin:0;font-weight:700}.health-warning{color:#754800;font-size:11px;line-height:1.6}.nav-backdrop,.bottom-nav{display:none}.login-page .login-story{background:#e7eed9}.login-page .story-copy h1,.login-page .story-copy em{color:var(--ink)}.login-page .story-copy p,.login-page .story-foot,.login-page .light{color:var(--muted)}.login-page .story-route svg{stroke:#526259}.login-page .story-route circle{fill:#526259}@media (max-width:1100px){.app-shell .page-heading{padding:24px}.app-shell .stat-card{padding:18px}}@media (max-width:760px){.app-shell .content{padding:10px 16px calc(100px + env(safe-area-inset-bottom))}.app-shell .page-heading{border-radius:24px;align-items:flex-start;padding:24px}.app-shell .page-heading>div:first-child{max-width:100%}.heading-bike{width:180px;right:-15px}.app-shell .sidebar{z-index:42;width:min(300px,85vw);box-shadow:none;overflow-y:auto}.app-shell .sidebar:not(.visible){visibility:hidden}.nav-backdrop{z-index:41;background:#17241f66;border:0;display:block;position:fixed;inset:0}.bottom-nav{border-top:1px solid var(--border);padding:9px 10px calc(9px + env(safe-area-inset-bottom));z-index:30;background:#fff;grid-template-columns:repeat(4,1fr);gap:5px;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:5px;min-height:54px;padding:9px 3px;font-size:10px;display:flex}.bottom-nav button.active{color:var(--ink);background:#e7eed9;font-weight:800}.app-shell .stat-card{border-radius:20px;padding:18px 14px}.app-shell .stat-card small{line-height:1.6;display:block}.app-shell .filters{padding:10px}.device-health{padding:18px}.health-heading{gap:10px}.health-heading h2{font-size:17px}}.map-legend{color:#526259;flex-wrap:wrap;gap:12px 22px;padding:0 22px 18px;font-size:12px;line-height:1.6;display:flex}.map-legend span{align-items:center;gap:8px;display:flex}.map-legend i{border-radius:50%;flex-shrink:0;width:11px;height:11px}
