:root{--ink:#233b36;--muted:#73827d;--green:#236e5b;--line:#e1e7e2;--bg:#f4f6f2;--white:#fff;--radius:14px}*{box-sizing:border-box}body{margin:0;font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #8fbca4;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #d8e0da;border-radius:8px;padding:10px 12px;min-height:42px;background:white;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #a8cdb9;border-color:var(--green)}textarea{resize:vertical}input[type=checkbox]{width:20px;min-height:20px}label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin-bottom:10px;font-weight:600}h2{font-size:19px;letter-spacing:-.3px;margin-bottom:16px}small{font-size:14px}.muted{color:var(--muted)}.eyebrow{display:block;font-size:14px;font-weight:700;letter-spacing:1.7px;color:var(--green);margin-bottom:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:300px;background:#fff;border-right:1px solid var(--line);padding:32px 18px 24px;display:flex;flex-direction:column;z-index:1100}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:21px;letter-spacing:-.5px;font-weight:650;margin:0 7px 49px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:14px;letter-spacing:.25px;font-weight:400;color:var(--muted);margin-top:1px}.nav-caption{font-size:14px;letter-spacing:1.4px;color:#8a958e;margin:0 14px 13px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:10px;padding:12px 13px;color:#64746e;font-size:14px;font-weight:500;border-radius:8px;white-space:nowrap}.sidebar nav a span{font-size:19px;width:18px;line-height:1}.sidebar nav a.active{background:#edf4ed;color:#1e674f;font-weight:650}.sidebar nav a:hover{background:#f3f6f0;text-decoration:none}.sidebar-bottom{margin-top:auto;padding:25px 13px 0;border-top:1px solid var(--line)}.sidebar-bottom strong{display:block;margin-bottom:6px}.sidebar-bottom a{font-size:14px}.sidebar-bottom .eyebrow{color:#909d96;font-size:14px;margin-bottom:8px}.logout{border:0;background:none;padding:15px 0 0;color:var(--muted);font-size:14px}.workspace{margin-left:300px;padding:36px 36px 26px;max-width:1900px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-head p{margin-bottom:0;font-size:14px}.page-head .eyebrow{margin-bottom:11px}.button{border:1px solid var(--green);border-radius:8px;background:var(--green);color:#fff;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-weight:600;font-size:14px;white-space:nowrap;min-height:42px}.button:hover{background:#175643;text-decoration:none;color:white}.button.secondary{background:white;color:var(--ink);border-color:#d7e0d9}.button.secondary:hover{background:#eef4ed}.button.small{padding:6px 11px;min-height:32px;font-size:14px}.button.full{width:100%;margin-top:27px;justify-content:space-between}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:17px 17px 15px}.stat>span{font-size:14px;color:#687970;display:flex;align-items:center;gap:6px}.stat strong{display:block;font-size:32px;font-weight:550;letter-spacing:-1px;margin:8px 0 4px;line-height:1.15}.stat small{font-size:14px;color:#8b978f}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;flex-shrink:0}.high{background:#18856b}.medium{background:#d19a24}.low{background:#ce5e59}.unknown{background:#7c8799}.filter-bar{display:flex;align-items:end;gap:11px;margin-bottom:19px}.filter-bar>div{flex:1;min-width:110px}.filter-bar .search-field{flex:1.45}.filter-bar input,.filter-bar select{font-size:14px;height:42px}.filter-bar label{color:#7c8980;font-weight:500;font-size:14px}.reset{font-size:14px;padding:12px 0;white-space:nowrap}.map-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.map-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);gap:10px}.map-toolbar>div{display:flex;gap:10px;align-items:center;font-size:14px}.map-toolbar strong{font-weight:550}.map-toolbar .muted{font-size:14px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}#map{height:calc(100vh - 430px);min-height:420px;background:#e8eee6;z-index:1}.map-status{font-size:14px;color:#738279;padding:10px 18px;background:#fcfdfb;min-height:38px;border-top:1px solid var(--line)}.map-status.error{background:#fff3ed;color:#a44c36}.footnote{font-size:14px;line-height:1.65;color:#7b877f;margin:14px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px;min-width:0}.panel.table-wrap{padding:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#f9fbf7;color:#7c8980;font-size:14px;font-weight:500;letter-spacing:.3px;padding:17px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #edf0eb;font-size:14px}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:14px;margin-top:4px}.record-name{font-weight:650;font-size:14px;color:var(--ink)}.badge{font-size:14px;padding:5px 9px;border-radius:20px;display:inline-block;white-space:nowrap;background:#f0f3f3;color:#6b788b}.class-HIGH{background:#e9f4ee;color:#267d61}.class-MEDIUM{background:#fcf3dd;color:#a67d23}.class-LOW{background:#faeeea;color:#bc6154}.count-tag{font-size:14px;border:1px solid #d7e0d7;border-radius:18px;color:#7d8d80;vertical-align:middle;padding:3px 10px;margin-left:5px;letter-spacing:0}.empty{text-align:center;padding:55px 20px;color:var(--muted)}.empty h2{color:var(--ink)}.pagination{display:flex;justify-content:center;gap:30px;font-size:14px;margin:26px}.notice{background:#eaf3e9;border:1px solid #d6e7d6;border-radius:9px;padding:13px 17px;margin-bottom:22px;font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 25px}.form-field{min-width:0}.form-field:has(textarea){grid-column:1/-1}.form-field small{display:block;color:var(--muted);font-size:14px;margin-top:6px}.required{color:#bc6758}.errorlist{color:#b95140;background:#fff4ed;border-radius:6px;padding:10px 12px;list-style:none;margin:10px 0;font-size:14px}.section-heading{display:flex;align-items:center;gap:15px;margin-bottom:22px}.section-heading h2{margin-bottom:4px}.section-heading p{margin-bottom:0;font-size:14px}.section-number{width:34px;height:34px;border-radius:8px;background:#edf3e9;color:var(--green);display:flex;align-items:center;justify-content:center;font-size:14px}.spread{justify-content:space-between}.form-section summary,.detail-section summary{font-size:15px;font-weight:600;cursor:pointer;list-style-position:inside}.form-section[open] summary,.detail-section[open] summary{margin-bottom:23px}.tag{background:#f1f5ee;color:#6b866b;padding:3px 7px;border-radius:4px;margin-left:13px;font-size:14px;vertical-align:middle;font-weight:400}.sticky-actions{position:sticky;bottom:0;background:#f4f6f2ed;backdrop-filter:blur(8px);padding:17px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);z-index:5}.sticky-actions>div{display:flex;gap:12px}.sticky-actions>span{font-size:14px}.back-link{font-size:14px;display:block;margin-bottom:14px;color:#839186}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.data-list{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;margin:10px 0;font-size:14px;gap:0}.data-list dt,.data-list dd{margin:0;padding:12px 0;border-bottom:1px solid #edf1eb}.data-list dt{padding-right:20px;color:var(--muted)}.data-value{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}.history>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eef1e9;padding:12px 0;font-size:14px}.history span{font-size:14px;color:var(--muted)}.narrow{max-width:700px}.auth-body{background:#f8f9f4}.auth-main{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center}.auth-intro{position:relative;background:#234d3e;color:white;height:100vh;min-height:650px;overflow:hidden;padding:65px 9%}.auth-intro .eyebrow{color:#b0c8ae;font-size:14px}.auth-intro h1{font-size:40px;line-height:1.2;font-weight:450;letter-spacing:-1px;position:relative;z-index:1}.auth-intro p{font-size:14px;color:#bbcec1;margin-top:25px;position:relative;z-index:1}.auth-foot{position:absolute;bottom:35px;left:9%;font-size:14px;color:#a8c2af}.auth-contours{position:absolute;width:700px;height:700px;right:-200px;bottom:-380px;transform:rotate(-25deg);background:repeating-radial-gradient(ellipse at center,transparent 0,transparent 27px,#81a78845 28px,#81a78845 29px,transparent 30px);border-radius:50%}.login-card{width:100%;max-width:430px;padding:45px;margin:auto}.login-card h2{font-size:30px;margin-bottom:10px}.login-card .muted{font-size:14px;margin-bottom:30px}.login-card input{margin-bottom:19px;height:46px}.login-help{border-top:1px solid var(--line);margin-top:30px;padding-top:22px;font-size:14px;color:#89958b}.leaflet-popup-content{min-width:220px;font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}.leaflet-popup-content h3{margin-bottom:4px;font-size:16px}.leaflet-popup-content p{margin:5px 0}.leaflet-popup-content a{display:inline-block;margin-top:12px;color:var(--green);font-weight:600}
@media(min-width:1600px){.workspace{padding:40px 50px}.stat{padding:22px}#map{min-height:500px}}
@media(max-width:1200px){.sidebar{width:270px;padding-inline:10px}.brand{font-size:19px}.sidebar nav a{font-size:16px;gap:6px}.workspace{margin-left:270px;padding:25px 22px}.filter-bar{flex-wrap:wrap}.filter-bar>div{min-width:150px}.stats-grid{gap:8px}.stat{padding:14px 10px}.stat>span{font-size:14px}.stat small{font-size:14px}.stat strong{font-size:28px}.page-head h1{font-size:26px}}
@media(max-width:800px){.sidebar{position:static;width:100%;padding:15px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 13px;font-size:18px}.brand small,.nav-caption{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:5px}.sidebar nav a{padding:8px;white-space:nowrap;font-size:14px}.sidebar nav a span{display:none}.sidebar-bottom{margin:12px 0 0;padding:10px 2px 0;display:flex;align-items:center;gap:15px;font-size:14px}.sidebar-bottom .eyebrow{display:none}.sidebar-bottom strong{margin:0}.sidebar-bottom a{font-size:14px}.logout{padding:0;font-size:14px}.sidebar-bottom form{margin-left:auto}.workspace{margin-left:0;padding:22px 16px}.page-head{align-items:start;gap:12px;flex-wrap:wrap;margin-bottom:20px}.page-head h1{font-size:25px}.eyebrow{font-size:14px}.page-head .button{font-size:14px;padding:9px 12px;min-height:35px}.stats-grid{grid-template-columns:repeat(3,1fr)}.stat{padding:13px}.stat small{display:none}.stat strong{margin-bottom:0;font-size:25px}.filter-bar{gap:9px}.filter-bar>div{min-width:calc(50% - 10px)}.filter-bar .search-field{flex-basis:100%}.filter-bar input,.filter-bar select{font-size:14px}.map-toolbar{padding:12px}.map-toolbar>div{flex-wrap:wrap;gap:5px}.map-toolbar .muted{font-size:14px}#map{height:450px;min-height:350px}.form-grid{grid-template-columns:1fr;gap:17px}.form-field:has(textarea){grid-column:auto}.panel{padding:18px}.detail-grid{grid-template-columns:1fr;gap:0}.data-list{grid-template-columns:1fr 1.25fr;font-size:14px}.history>div{flex-direction:column;gap:4px}.sticky-actions>span{display:none}.sticky-actions{justify-content:flex-end}.auth-main{grid-template-columns:1fr}.auth-intro{height:260px;min-height:0;padding:30px}.auth-intro h1{font-size:26px}.auth-intro p,.auth-foot{display:none}.auth-intro .eyebrow{font-size:14px}.auth-contours{bottom:-550px}.login-card{max-width:430px;padding:32px 25px 50px}.login-card h2{font-size:26px}.table-wrap td,.table-wrap th{padding:13px;white-space:nowrap}.form-section summary{font-size:14px}.footnote{font-size:14px}}

/* Readable body, navigation and form controls on desktop and mobile. */
label,.button,.button.small,.filter-bar input,.filter-bar select,.filter-bar label,.sidebar nav a,.sidebar-bottom a,.logout,.page-head p,.record-name,.notice,.data-list,.history>div,.section-heading p,.login-card .muted{font-size:16px}
input,select,textarea{font-size:16px;min-height:46px}
.button{min-height:44px}.button.small{min-height:40px}
th,td{font-size:16px}h2{font-size:22px}.form-section summary,.detail-section summary{font-size:18px}
.sidebar{overflow-y:auto}.brand{margin-bottom:36px;gap:12px}.brand>span{min-width:0}.brand small{font-size:14px;letter-spacing:0}
.brand-logo{width:48px;height:48px;flex-shrink:0;object-fit:contain;border-radius:10px;background:white}
.auth-logo{display:block;width:96px;height:96px;object-fit:contain;background:white;border-radius:18px;margin-bottom:72px}
.login-card{max-width:500px}.auth-intro h1{max-width:12em}.auth-intro .eyebrow{line-height:1.6}
.stats-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.stat>span{align-items:baseline}.stat small{line-height:1.5}
.leaflet-container{font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.sidebar nav a,.sidebar-bottom a,.logout,.sidebar-bottom{font-size:16px}.sidebar nav a{min-height:44px}.sidebar-bottom{flex-wrap:wrap;gap:12px}.sidebar-bottom form{margin-left:0}.page-head .button{font-size:16px;min-height:44px}.auth-intro{height:auto;min-height:290px}.auth-logo{width:72px;height:72px;margin-bottom:22px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-list{font-size:16px}.table-wrap td,.table-wrap th{white-space:normal}.map-toolbar{flex-wrap:wrap}.filter-bar>div{min-width:0;flex-basis:calc(50% - 10px)}.filter-bar .search-field{flex-basis:100%}.button{white-space:normal}}
@media(max-width:380px){.stats-grid{grid-template-columns:1fr}.filter-bar>div{flex-basis:100%}.login-card{padding-inline:20px}.auth-intro{padding:25px}}
