@font-face{font-family:InterLocal;src:url('assets/Inter.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#14151a;--surface:#1e2026;--raised:#272930;--stroke:#3b3d46;--text:#f5f5f7;--muted:#b4b5c1;--dim:#9394a2;--accent:#c1b6ff;--ink:#221c38;--good:#99d8c2;--orange:#f5c28b;--radius:20px;--page:1440px}
*{box-sizing:border-box}[hidden]{display:none!important}
body{background:var(--bg);color:var(--text);margin:0;font:16px/1.5 InterLocal,Inter,Arial,sans-serif}
button,a,input,select{font:inherit}button,a.button{min-height:44px}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}
button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent)}
a{color:inherit}button{color:inherit}button svg,a svg,.icon{width:20px;height:20px;flex:0 0 auto;vertical-align:middle}
h1,h2,h3,p,dl,dd,figure{margin:0}h1,h2,h3{line-height:1.13;letter-spacing:-.045em}h1{font-size:clamp(32px,4vw,52px);font-weight:650}h2{font-size:25px;font-weight:630}h3{font-size:19px;font-weight:650}small{font-size:.8rem;color:var(--muted)}
.top{background:#191a20;border-bottom:1px solid var(--stroke)}
.top-inner{min-height:78px;max-width:var(--page);margin:auto;display:flex;align-items:center;gap:36px;padding:0 clamp(18px,3.3vw,54px)}
.brand{display:flex;gap:12px;align-items:center;flex:none;font-size:23px;font-weight:730;line-height:1.1;letter-spacing:-.055em}
.brand img{width:43px;height:43px;border-radius:12px}.brand span{display:flex;gap:8px;align-items:baseline}.brand small{color:var(--accent);font-size:.88rem;font-weight:560;letter-spacing:-.015em}
#nav{height:78px;display:flex;align-items:stretch;gap:18px}#nav button{position:relative;background:none;border:0;color:var(--muted);display:flex;align-items:center;gap:8px;font-size:14px;font-weight:550;padding:0 2px;white-space:nowrap}
#nav button:hover,#nav button[aria-current]{color:var(--text)}#nav button[aria-current]:after{content:'';position:absolute;height:3px;border-radius:3px;bottom:0;left:0;right:0;background:var(--accent)}
.account{margin-left:auto;display:flex;gap:12px;align-items:center;font-size:14px;color:var(--muted)}.account strong{display:block;color:var(--text);font-weight:580;max-width:22ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account small{font-size:.78rem}
.avatar{background:#35313f;color:#d8ceff;border:1px solid #50485f;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:650}
#content{max-width:var(--page);margin:auto;padding:36px clamp(18px,3.3vw,54px) 55px;outline:none}
.startup,.muted,.lede,.fine,.empty p,.panel-note{color:var(--muted)}.lede{margin-top:9px;max-width:67ch}.fine,.panel-note{font-size:.89rem;line-height:1.5}.fine{margin-top:10px}
.login{display:grid;grid-template-columns:minmax(345px,.87fr) minmax(400px,1.13fr);overflow:hidden;border:1px solid var(--stroke);border-radius:28px;min-height:min(670px,calc(100svh - 160px));margin-top:8px;background:var(--surface)}
.login-copy{padding:clamp(32px,4.1vw,72px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.login h1{font-size:clamp(42px,4.9vw,80px);margin:24px 0 18px;max-width:9.9em;line-height:1.02}.login p{color:var(--muted);max-width:34ch;font-size:clamp(16px,1.4vw,20px)}
.login .button{margin-top:30px}.login .fine{font-size:14px;margin-top:14px;max-width:39ch}.location{color:#c9c5d5;display:flex;gap:7px;align-items:center;font-size:14px;font-weight:580}.location svg{width:17px;height:17px}.login-art{min-height:330px;background:url('assets/neighborhood.webp') 52% center/cover no-repeat}
.login-foot{margin:19px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.login-foot a,.text-link{color:var(--accent);display:inline-flex;align-items:center;gap:7px;text-underline-offset:4px}
.button,.icon-button,.subtle,.chip,.row-button{border:1px solid var(--stroke);border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--raised);text-decoration:none;color:var(--text);font-weight:570}
.button{padding:10px 16px;min-height:44px}.button.primary{background:var(--accent);color:var(--ink);border-color:var(--accent)}.button:hover,.icon-button:hover,.subtle:hover,.chip:hover{filter:brightness(1.13)}
.button.slim{min-height:38px;padding:7px 11px;font-size:14px}.icon-button{width:44px;height:44px;padding:0;flex:none}.subtle{background:transparent;border-color:transparent;padding:8px;color:var(--muted)}.button.danger{color:#ffc3c3}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head .location{margin-bottom:10px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.stat{background:var(--surface);border:1px solid var(--stroke);border-radius:15px;padding:17px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.stat small{font-size:14px;letter-spacing:-.015em}.stat strong{font-size:clamp(25px,3vw,37px);font-weight:610;line-height:1.05;letter-spacing:-.06em}.stat svg{color:#bab3d3;grid-column:2;grid-row:1 / span 2;width:23px;height:23px}
.map-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,320px);gap:16px;align-items:start}
.panel,.map-card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius);overflow:hidden}.panel{padding:22px}.panel h2,.panel h3{margin-bottom:11px}.aside{display:grid;gap:16px}.aside .button{width:100%;margin-top:11px}.aside .row-button{width:100%;display:flex;justify-content:flex-start;text-align:left;min-height:41px;background:none;border:none;padding:5px 0}.aside .row-button svg{color:var(--accent)}
.map-card{position:relative}.map-tools{display:flex;align-items:center;gap:10px;padding:12px;position:relative;z-index:6}.map-search{display:flex;align-items:center;gap:7px;border:1px solid var(--stroke);border-radius:10px;background:var(--bg);padding:0 12px;flex:1;min-width:0}.map-search input{border:0;background:none;padding:9px 0;min-width:0}.map-search svg{color:var(--muted);width:18px}
input,select{width:100%;min-height:44px;color:var(--text);background:var(--bg);border:1px solid var(--stroke);border-radius:9px;padding:8px 11px}input::placeholder{color:#a1a1ad}input[type=date]{max-width:100%}
.search-results{position:absolute;z-index:10;top:calc(100% - 3px);left:12px;right:12px;background:var(--raised);border:1px solid var(--stroke);border-radius:11px;padding:4px;max-height:290px;overflow:auto;box-shadow:0 10px 28px #1118}.search-results:empty{display:none}.search-results button{display:block;width:100%;padding:9px 10px;text-align:left;background:transparent;border:0;border-radius:7px}.search-results button:hover{background:#3e3c48}.search-results p{padding:10px;font-size:.9rem}
#map{height:clamp(390px,51vh,650px);width:100%;background:#deded7;z-index:1;color:#222}.map-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 15px;color:var(--muted);font-size:13px}.legend{display:inline-flex;gap:12px;align-items:center}.legend span{display:inline-flex;gap:5px;align-items:center}.legend i{width:11px;height:11px;border-radius:3px;border:1px solid #aaa9a1;background:#d7d3c9}.legend .done{background:#407c65;border-color:#407c65}
.leaflet-container{font-family:InterLocal,Arial,sans-serif}.leaflet-container a{color:#204d74}.leaflet-tooltip{font-size:13px;color:#141414}.leaflet-bar a{min-height:0}
.selected-name{font-size:21px;line-height:1.22;font-weight:650;letter-spacing:-.035em;margin:9px 0;overflow-wrap:anywhere}.selection-icon,.empty-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#312e3d;color:var(--accent);margin-bottom:15px}
.badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#37343e;color:#d8d3e6;font-size:13px;font-weight:600;line-height:1.3;padding:5px 9px}.badge.confirmed{color:#b2e3ce;background:#263e34}.badge.similar{color:#ffd8a8;background:#483a2b}.badge.duplicate,.badge.rejected{color:#e6bec2;background:#423237}.badge.pending{color:#d5cbff;background:#383247}
.pill-row{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.chip{min-height:38px;font-size:14px;padding:7px 12px;background:transparent}.chip[aria-pressed=true]{background:#353044;color:#e1d9ff;border-color:#78699c}
.reports{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.photo-card{display:flex;flex-direction:column;width:100%;padding:0;overflow:hidden;text-align:left;border:1px solid var(--stroke);border-radius:16px;color:var(--text);background:var(--surface)}.photo-card:hover{border-color:#9185b2}.photo-card img{width:100%;height:160px;object-fit:cover;background:var(--raised)}.photo-copy{padding:13px 15px 15px;display:grid;gap:7px;min-width:0;font-size:14px}.photo-copy strong{font-size:16px;overflow-wrap:anywhere}.photo-copy .badge{justify-self:start}
.empty{padding:30px;border:1px dashed #484752;border-radius:16px;background:#1a1b21;display:grid;justify-items:start;gap:9px}.empty h3,.empty .empty-icon{margin:0}.empty-icon{margin-bottom:3px!important}.empty p{max-width:55ch}
.team-layout{display:grid;grid-template-columns:minmax(300px,1.4fr) minmax(270px,1fr);gap:18px;align-items:start}.person{padding:13px 0;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--stroke)}.person:last-child{border:none}.person strong{overflow-wrap:anywhere}.person small{display:block}
label.field,.field{display:grid;gap:5px;margin:14px 0 0;font-weight:550;font-size:14px}.panel .field+.button{margin-top:12px}a.file-link{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:14px;padding:6px 0;color:var(--accent)}a.file-link:hover{text-decoration:underline}
dialog{padding:0;width:min(740px,calc(100vw - 28px));max-height:90vh;max-height:90svh;background:var(--surface);color:var(--text);border:1px solid #50505c;border-radius:20px;box-shadow:0 24px 95px #0009;overflow:auto}dialog::backdrop{background:#0b0b10bb}body:has(dialog[open]){overflow:hidden}.modal-top{padding:18px 20px 14px;position:sticky;top:0;z-index:2;display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--stroke);background:var(--surface)}.modal-top h2{font-size:23px}#dialog-body{padding:18px 20px 21px}.modal-actions{margin-top:20px}.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.split.single{grid-template-columns:minmax(0,1fr)}.split figcaption{font-size:14px;margin:0 0 7px;color:var(--muted);font-weight:600}.split img{width:100%;height:min(37vh,295px);object-fit:contain;background:#141519;border-radius:10px}.detail-info{margin-top:14px}.detail-info .badge{margin:5px 0}.detail-info p{margin-top:4px}
.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:115px;margin-top:16px;border:1px dashed #797084;border-radius:12px;background:#26242e;cursor:pointer;text-align:center}.upload-zone:focus-within{outline:3px solid var(--accent)}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:16px}.upload-zone svg{color:var(--accent)}.file-list{list-style:none;padding:0;margin:10px 0;display:grid;gap:5px}.file-list li{background:var(--bg);padding:8px 10px;border-radius:7px;display:flex;gap:7px;justify-content:space-between;align-items:center;font-size:14px;overflow-wrap:anywhere}.file-list li span{min-width:0}.file-list small{flex-shrink:0}.error{color:#ffbbba;font-size:.95rem;margin-top:10px}.inline-info{display:block;margin-top:12px;color:var(--accent);font-size:14px}
#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#3b354b;color:#fff;border:1px solid #75688b;border-radius:12px;padding:10px 16px;max-width:calc(100% - 24px);width:max-content;z-index:1500;box-shadow:0 4px 20px #121215aa}#toast:empty{display:none}
@media(max-width:960px){.top-inner{gap:18px}#nav{gap:13px}.account .profile-label{display:none}.map-grid{grid-template-columns:minmax(0,1fr) 245px}.panel{padding:17px}.stat{padding:13px}.login{grid-template-columns:1fr 1fr}.login-copy{padding:30px}}
@media(max-width:740px){.top-inner{min-height:64px;flex-wrap:wrap;gap:0 10px;padding:10px 16px 0}.top-inner:has(#nav[hidden]){padding-bottom:10px}.brand img{width:36px;height:36px}.brand{font-size:21px;gap:7px}.account{order:1}.account .avatar{display:none}.account .subtle{min-height:40px}#nav{order:2;width:100%;height:47px;gap:18px;overflow-x:auto}#nav button{font-size:14px;gap:5px}#nav button svg{width:16px}#content{padding:23px 15px 36px}.page-head{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:18px}.page-head .location{margin-bottom:7px}.lede{font-size:15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.stat{padding:13px 15px;gap:4px}.stat small{font-size:13px}.stat svg{width:19px}.map-grid,.team-layout{grid-template-columns:1fr}.map-grid{gap:12px}.aside{gap:12px}#map{height:clamp(315px,47svh,550px)}.login{grid-template-columns:1fr;min-height:auto;margin-top:0}.login-copy{padding:28px}.login h1{margin:18px 0 12px}.login-art{min-height:220px;background-position:center 48%}.panel{padding:17px}.map-footer{font-size:12px;padding:10px}.reports{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-copy{padding:10px;font-size:13px}.photo-copy strong{font-size:15px}.photo-card img{height:125px}.team-layout{gap:12px}.split{gap:8px}.split img{height:180px}.modal-top{padding:12px 14px}.modal-top h2{font-size:20px}#dialog-body{padding:15px}.modal-actions .button{flex:1}.login-foot{font-size:14px}}
@media(max-width:370px){.login-copy{padding:23px}.stats .stat{padding:11px}.stats .stat svg{display:none}#nav{gap:11px}.brand small{font-size:.75rem}.map-tools{padding:8px}.map-grid{min-width:0}.map-footer{display:grid}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .14s,border-color .14s,filter .14s}.panel,.photo-card,.login{animation:appear .18s ease-out}@keyframes appear{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}}
.search-wrap{position:relative}.search-wrap .search-results{top:100%;right:0;left:0}.person .remove{margin-left:auto}.person>div:not(.avatar){min-width:0}.reports+.error+.actions{margin-top:15px}
.file-list li{flex-wrap:wrap}.file-data{flex:1;min-width:0;display:grid;gap:2px}.file-data strong{font-weight:550}.file-house{flex:1 0 100%}.file-house .search-results{position:static}.file-data small{color:var(--muted)}
.profile-panel{max-width:550px}
.profile-panel h2{margin-bottom:20px}
#profile-form .field{margin:0 0 18px}
#profile-form .fine{display:flex;align-items:center;gap:8px;margin:20px 0 14px}
#profile-form .fine svg{width:16px;height:16px;flex:none}
.alternate-phone{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.alternate-phone input{width:18px;height:18px;min-height:0;accent-color:var(--accent,#9b86ff);flex:none}
#payout-field:not([hidden]){margin-top:10px}
#payout-field[hidden],#more-workers[hidden],#nav[hidden]{display:none}
#members-error:empty,#profile-error:empty{display:none}
#team-members .person{align-items:flex-start}
#team-members .person strong,#team-members .person small,.member-contacts dd{overflow-wrap:anywhere}
.member-contacts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;margin:10px 0 0;font-size:14px}
.member-contacts dt{color:var(--muted)}.member-contacts dd{margin:0}.member-contacts a{color:inherit}
