:root{--forest:#102e25;--green:#15834c;--lime:#a0eeb3;--ink:#182b24;--muted:#7a847e;--paper:#f5f6f2;--line:#e3e8e1;--red:#b44949;--safe:env(safe-area-inset-bottom,0px)}

*{box-sizing:border-box}
html,body{margin:0;height:100%;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#d9dfd7;color:var(--ink);overscroll-behavior:none}
button,input,textarea,select{font:inherit}
button,a,label,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button{border:0;background:none;color:inherit}
button:disabled{opacity:.5;cursor:wait}
button:focus-visible,a:focus-visible{outline:3px solid #55a4e4;outline-offset:3px}
a{color:var(--green)}
svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
h1,h2,h3,p{margin:0}
button,input,select{min-height:44px}
.phone-app{position:relative;width:100%;max-width:520px;height:100dvh;min-height:420px;margin:auto;background:var(--paper);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 100px #102e2514}
.boot,.auth{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:32px;text-align:center;gap:16px}
.boot h1{font-size:21px;letter-spacing:2px}
.boot h1 span{font-size:11px;font-weight:500}
.boot p{color:var(--muted);font-size:14px}
.topbar{padding:calc(13px + env(safe-area-inset-top,0px)) 21px 15px;background:var(--forest);color:white;display:flex;align-items:center;justify-content:space-between;z-index:500}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:36px;height:36px}
.brand strong{display:block;font-size:16px;letter-spacing:1.7px;line-height:20px}
.brand small{font-size:9px;letter-spacing:2.3px;color:#a8c6b6;display:block}
.avatar{width:39px;height:39px;min-height:39px;background:#ffffff12;border:1px solid #ffffff24;border-radius:50%;font-size:12px;font-weight:700}
.top-status{display:flex;align-items:center;gap:6px;font-size:10px;color:#b9d3c4;margin-right:12px}
.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--lime)}
.dot.offline{background:#f0bd61}
.top-right{display:flex;align-items:center}
.screen{flex:1;min-height:0;position:relative;overflow:auto}
.screen.map-screen{overflow:hidden}
.map{position:absolute;inset:0;background:#e7ebdf}
.map:empty{background:linear-gradient(135deg,#e5eadf,#f0f0e6)}
.map-error{padding:180px 35px 30px;text-align:center;color:var(--muted);font-size:14px}
.map-top{position:absolute;top:14px;left:16px;right:16px;z-index:450;pointer-events:none}
.map-top>*{pointer-events:auto}
.location-bar{border-radius:15px;background:white;box-shadow:0 4px 22px #1b352513;display:flex;align-items:center;min-height:58px;padding:0 16px;gap:11px}
.location-icon{color:var(--green)}
.location-copy{flex:1}
.location-copy small{font-size:9px;letter-spacing:1.6px;font-weight:700;color:var(--muted);display:block}
.location-copy select{border:0;outline:0;padding:0;background:white;min-height:24px;color:var(--ink);font-size:15px;font-weight:700;max-width:230px}
.icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border-radius:12px}
.icon-button:hover{background:#102e2509}
.divider{width:1px;height:27px;background:var(--line)}
.daily-stats{display:flex;background:var(--forest);color:white;margin-top:10px;border-radius:14px;padding:13px 0;box-shadow:0 4px 22px #1b352513}
.stat{flex:1;text-align:center;border-right:1px solid #ffffff1b}
.stat:last-child{border:0}
.stat strong{font-size:21px;line-height:24px;font-weight:600;margin-right:5px}
.stat span{font-size:10px;color:#c4d6cc}
.stat-label{font-size:8px!important;letter-spacing:1px;display:block;margin-top:4px;color:#9ab4a5!important}
.map-legend{display:flex;gap:8px;margin-top:10px;overflow:auto;padding-bottom:4px;scrollbar-width:none}
.chip{border:1px solid #dfe5dc;background:#fffffff4;white-space:nowrap;display:flex;gap:6px;align-items:center;border-radius:24px;min-height:32px;padding:6px 11px;font-size:10px;font-weight:600}
.chip.active{border-color:var(--forest);background:var(--forest);color:white}
.legend-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.map-tools{position:absolute;right:16px;bottom:145px;z-index:450;display:flex;flex-direction:column;gap:8px}
.map-tools button{background:white;box-shadow:0 3px 15px #102e2514;width:45px;height:45px;border-radius:13px}
.map-bottom{position:absolute;bottom:32px;left:16px;right:16px;z-index:450;pointer-events:none}
.map-bottom>*{pointer-events:auto}
.map-tip{border-radius:15px;padding:15px 17px;background:white;display:flex;align-items:center;gap:13px;box-shadow:0 4px 22px #1b352513;margin-bottom:10px}
.tip-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#edf6ec;border-radius:12px;color:var(--green);flex-shrink:0}
.map-tip strong{font-size:12px;display:block;margin-bottom:4px}
.map-tip p{font-size:11px;line-height:16px;color:var(--muted)}
.primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;background:var(--green);color:white;border-radius:13px;font-weight:650;font-size:14px;box-shadow:0 4px 8px #102e250b}
.primary.dark{background:var(--forest)}
.secondary{width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;font-size:13px;font-weight:600;background:white;display:flex;align-items:center;justify-content:center;gap:8px}
.text-button{color:var(--green);font-size:12px;font-weight:650;padding:5px 0}
.bottom-nav{z-index:600;display:grid;grid-template-columns:repeat(4,1fr);background:white;border-top:1px solid var(--line);padding:9px 9px calc(8px + var(--safe));min-height:70px;flex-shrink:0}
.nav-btn{display:flex;flex-direction:column;align-items:center;gap:5px;color:#8a938c;font-size:9px;font-weight:600;position:relative;min-height:46px}
.nav-btn svg{width:21px;height:21px}
.nav-btn.active{color:var(--green)}
.nav-btn.active:before{content:'';position:absolute;top:-10px;width:26px;height:3px;border-radius:0 0 5px 5px;background:var(--green)}
.nav-count{position:absolute;top:-3px;right:25%;background:var(--green);color:white;border:2px solid white;min-width:16px;height:16px;border-radius:10px;display:grid;place-items:center;font-size:8px}
.leaflet-control-attribution{font:8px -apple-system,sans-serif!important;max-width:100%;opacity:.9}
.leaflet-container{font-family:inherit}
.pin-marker{background:transparent;border:0}
.pin-body{width:30px;height:36px;filter:drop-shadow(0 3px 3px #17342333)}
.pin-body svg{width:30px;height:36px;fill:var(--pin);stroke:white;stroke-width:2}
.pin-body circle{fill:white;stroke:none}
.empty-marker .pin-body{--pin:var(--green)}
.leaflet-control-zoom{display:none}
.view-header{padding:25px 22px 16px}
.eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--green);font-weight:700;margin-bottom:8px}
.view-header h1{font-size:25px;letter-spacing:-.9px;font-weight:650}
.view-header p{font-size:12px;color:var(--muted);margin-top:7px;line-height:18px}
.view-body{padding:0 18px 28px}
.search-input{position:relative;margin-bottom:14px}
.search-input input{padding-left:40px}
.search-input svg{position:absolute;left:13px;top:13px;width:18px;height:18px;color:var(--muted)}
.filters{display:flex;gap:7px;overflow:auto;margin:0 0 18px;scrollbar-width:none}
.lead-card{width:100%;text-align:left;border-radius:15px;background:white;border:1px solid var(--line);padding:16px;margin-bottom:10px;position:relative}
.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}
.badge{font-size:9px;font-weight:650;display:inline-flex;gap:5px;align-items:center;border-radius:5px;padding:4px 7px;background:#f1f4f0;line-height:12px}
.lead-card h3{font-size:15px;margin-bottom:4px;letter-spacing:-.3px}
.lead-card .sub{font-size:11px;color:var(--muted)}
.card-meta{display:flex;gap:9px;align-items:center;font-size:10px;color:#7a847e;margin-top:12px;padding-top:10px;border-top:1px solid #edf0ea}
.card-meta svg{width:13px;height:13px}
.card-chevron{position:absolute;right:17px;top:51px;color:#b5beb6}
.source-pill{font-size:8px;color:#788779;letter-spacing:.5px}
.empty{padding:40px 25px;text-align:center;border:1px dashed #ccd8c9;background:#fafdF8;border-radius:18px;display:flex;align-items:center;flex-direction:column;gap:12px}
.empty svg{width:32px;height:32px;color:var(--green)}
.empty h3{font-size:16px}
.empty p{font-size:12px;line-height:19px;color:var(--muted)}
.empty button{margin-top:9px}
.notice{background:#fff8e9;border:1px solid #ebddba;padding:12px 13px;border-radius:11px;font-size:11px;line-height:17px;color:#816020;margin-bottom:15px}
.notice.good{background:#edf7ef;border-color:#cfe4d0;color:#3d6e47}
.notice.error{background:#fff0ec;border-color:#ebc9bf;color:#9e4e3e}
.notice a{color:inherit;font-weight:650}
.offline-bar{background:#fcf2d9;color:#775e25;font-size:10px;line-height:15px;padding:8px 18px;text-align:center;z-index:500}
.section-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:1.4px;font-weight:650;margin:22px 0 12px}
.settings-card{border:1px solid var(--line);border-radius:15px;background:white;padding:17px;margin:0 0 12px}
.settings-card h3{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:8px}
.settings-card p{color:var(--muted);font-size:11px;line-height:18px}
.settings-card .secondary{margin-top:13px}
.settings-status{margin-left:auto;font-size:9px;color:var(--muted)}
.settings-status.on{color:var(--green)}
.settings-card small{font-size:10px;color:var(--muted)}
.form-field{margin-bottom:15px;text-align:left}
.form-field label{font-size:11px;font-weight:600;display:block;margin-bottom:7px}
.form-field small{display:block;color:var(--muted);font-size:10px;line-height:16px;margin-top:5px}
input,textarea,select.field{border:1px solid #dfe5dc;background:#fff;border-radius:10px;padding:12px;width:100%;font-size:14px;color:var(--ink);outline:0}
input:focus,textarea:focus,select.field:focus{border-color:var(--green);box-shadow:0 0 0 3px #15834c13}
input::placeholder,textarea::placeholder{color:#a2aaa2}
textarea{resize:vertical;min-height:90px;line-height:21px}
input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--green)}
input[type=file]{display:none}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.address-cols{display:grid;grid-template-columns:1fr 70px 85px;gap:9px}
.sheet-overlay{position:fixed;inset:0;background:#0c201e66;z-index:1000;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}
.sheet{width:100%;max-width:520px;max-height:94dvh;display:flex;flex-direction:column;background:var(--paper);border-radius:24px 24px 0 0;box-shadow:0 -10px 70px #102e2530;animation:slideup .2s ease-out}
.sheet-handle{width:34px;height:4px;background:#cbd3c9;border-radius:4px;margin:10px auto 0;flex-shrink:0}
.sheet-header{padding:15px 21px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);flex-shrink:0}
.sheet-header h2{font-size:20px;letter-spacing:-.5px}
.sheet-header p{font-size:11px;color:var(--muted);margin-top:5px}
.sheet-scroll{padding:18px 21px;overflow:auto;overscroll-behavior:contain}
.sheet-footer{padding:12px 21px calc(13px + var(--safe));background:white;border-top:1px solid var(--line);flex-shrink:0}
.sheet-footer small{display:block;text-align:center;color:var(--muted);font-size:9px;line-height:14px;margin-top:7px}
.field-section{padding-top:2px;margin-bottom:20px}
.field-section h3{font-size:13px;display:flex;align-items:center;gap:8px;margin-bottom:15px}
.field-section h3 svg{width:17px;height:17px;color:var(--green)}
.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.status-option{border:1px solid var(--line);background:white;border-radius:10px;font-size:10px;font-weight:600;display:flex;align-items:center;gap:7px;padding:10px 12px;min-height:42px}
.status-option.selected{border-color:var(--status);background:color-mix(in srgb,var(--status) 10%,white);color:var(--ink);box-shadow:0 0 0 1px var(--status)}
.check-row{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:17px;margin:12px 0;cursor:pointer}
.check-row input{margin-top:0;flex-shrink:0}
.check-row strong{font-weight:650;display:block}
.check-row span small{display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:16px;margin-top:4px}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.photo-tile{position:relative;aspect-ratio:1;background:#e4e9df;border-radius:10px;overflow:hidden}
.photo-tile img{width:100%;height:100%;object-fit:cover}
.photo-tile .remove-photo{position:absolute;right:3px;top:3px;background:#102e25b0;color:white;border-radius:50%;width:26px;height:26px;min-height:26px;display:grid;place-items:center}
.photo-tile .remove-photo svg{width:14px;height:14px}
.photo-tile a{display:block;height:100%}
.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.photo-actions label{cursor:pointer}
.muted-text{font-size:10px;color:var(--muted);line-height:16px}
.coordinates{font:10px ui-monospace,monospace;color:var(--muted);margin-bottom:13px}
.sheet .notice{margin-top:3px}
.summary-count{font-size:11px;color:var(--muted);margin-bottom:14px}
.auth{justify-content:flex-start;text-align:left;align-items:stretch;padding:52px 28px 30px;overflow:auto}
.auth-logo{display:flex;align-items:center;gap:12px;margin-bottom:30px}
.auth-logo img{width:45px}
.auth-logo strong{font-size:16px;letter-spacing:2px}
.auth-logo small{display:block;font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-top:4px}
.auth h1{font-size:29px;letter-spacing:-1px;line-height:35px}
.auth>p{font-size:13px;color:var(--muted);line-height:21px;margin-bottom:15px}
.auth form{margin-top:10px}
.auth .eyebrow{margin-bottom:0}
.auth-footer{font-size:10px;color:var(--muted);text-align:center;margin-top:20px;line-height:18px}
.search-results button{display:block;width:100%;text-align:left;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}
.search-results button small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
#toast{position:fixed;bottom:calc(88px + var(--safe));left:50%;transform:translateX(-50%) translateY(12px);z-index:2000;width:max-content;max-width:min(460px,calc(100% - 30px));background:var(--forest);color:white;padding:13px 18px;border-radius:12px;box-shadow:0 6px 30px #102e2533;font-size:12px;line-height:18px;opacity:0;pointer-events:none;transition:.2s}
#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
.error-text{font-size:11px;color:var(--red);line-height:17px;margin-bottom:12px}
.loading-line{font-size:10px;color:var(--green);margin-bottom:12px}
.sync-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.sync-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.sync-row button{color:var(--green);font-size:11px;font-weight:600}
.version{text-align:center;font-size:9px;color:#a1aaa1;padding:15px 0 10px;letter-spacing:1px}
.inline-link{display:flex;align-items:center;gap:7px;font-size:11px;text-decoration:none;min-height:44px}
.inline-link svg{width:16px;height:16px}
.detail-head{margin-bottom:16px}
.detail-head h3{font-size:19px;letter-spacing:-.4px;margin-bottom:5px}
.detail-head p{font-size:12px;color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.detail-grid small{display:block;color:var(--muted);font-size:9px;margin-bottom:5px}
.detail-grid strong{font-size:12px;font-weight:500}
.detail-note{white-space:pre-wrap;font-size:12px;line-height:21px;padding:15px;background:white;border-radius:10px}
.map-only-hint{position:absolute;top:49%;width:100%;text-align:center;z-index:450;pointer-events:none}
.map-only-hint span{padding:11px 16px;background:var(--forest);border-radius:25px;color:white;font-size:12px;box-shadow:0 4px 20px #102e2520}
.desktop-note{display:none}
@keyframes slideup{from{transform:translateY(30px);opacity:.4}
to{transform:translateY(0);opacity:1}
}
@media(min-width:700px){.phone-app{height:calc(100dvh - 32px);margin:16px auto;border-radius:25px}
.sheet{margin-bottom:16px;border-radius:24px;max-height:calc(100dvh - 64px)}
.sheet-overlay{align-items:center}
body{background:radial-gradient(ellipse at center,#eff2ea,#d8e1d5)}
.bottom-nav{padding-bottom:15px}
}
@media(max-height:650px){.map-tip{display:none}
.map-tools{bottom:100px}
.daily-stats{padding:9px 0}
.stat strong{font-size:18px}
.map-top{top:10px}
.map-legend{margin-top:7px}
}


/* Keep the phone layout within Safari's viewport, including focused fields. */
:root{--gutter:clamp(16px,5vw,22px)}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

html,body{width:100%;max-width:100%;overflow-x:clip}

.phone-app{min-width:0;min-height:0;height:100vh;height:100dvh}

.boot,.auth,.screen,.sheet,.sheet-scroll,.view-body,.form-field,form{min-width:0;max-width:100%}

.auth,.boot{flex:1;min-height:0;overflow-y:auto}

.topbar{flex-shrink:0}

.screen,.sheet-scroll{overflow-x:hidden}

.sheet-scroll{min-height:0}

input:not([type=checkbox]):not([type=radio]),textarea,select,select.field{font-size:16px;min-width:0;max-width:100%}

input[type=datetime-local]{display:block;appearance:none;-webkit-appearance:none;min-inline-size:0}

.form-field>input,.form-field>textarea,.form-field>select{width:100%;min-width:0}

.two-col,.status-grid,.photo-actions,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.address-cols{grid-template-columns:minmax(0,1fr) 64px 86px}

.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.two-col>*,.address-cols>*,.detail-grid>*,.check-row>span,.sheet-header>div{min-width:0}

.location-copy{min-width:0;flex:1}

.location-copy select{width:100%;max-width:100%;font-size:16px}

.location-copy small{overflow-wrap:anywhere}

.location-bar>.icon-button,.location-bar>.divider,.location-icon,.sheet-header>.icon-button{flex-shrink:0}

.topbar,.view-header,.view-body,.sheet-header,.sheet-scroll,.sheet-footer,.auth{padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}

.auth{padding-top:max(32px,calc(env(safe-area-inset-top,0px) + 20px));padding-bottom:max(24px,calc(var(--safe) + 16px))}

.bottom-nav{padding-left:max(9px,env(safe-area-inset-left,0px));padding-right:max(9px,env(safe-area-inset-right,0px));grid-template-columns:repeat(4,minmax(0,1fr))}

.map-top,.map-bottom{left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px))}

.map-tools{right:max(16px,env(safe-area-inset-right,0px))}

.sheet-overlay{padding-top:env(safe-area-inset-top,0px)}

.sheet{min-width:0;max-height:94vh;max-height:94dvh}

.card-top,.settings-card h3{flex-wrap:wrap}

.detail-head,.detail-grid,.detail-note,.notice,.sync-row,.search-results,.error-text,.settings-card p{overflow-wrap:anywhere}

.sync-row{gap:12px}
.sync-row>div{min-width:0}

@media(max-width:360px){.top-status{display:none}
.address-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
.address-cols>.form-field:first-child{grid-column:1/-1}
}

@media(min-width:700px){.phone-app{height:calc(100dvh - 32px)}
.sheet{max-height:calc(100dvh - 64px)}
}


/* Outdoor interface: opaque surfaces, strong text, generous touch targets. */
:root{--forest:#071e17;--green:#086538;--lime:#c2ff36;--ink:#102019;--muted:#44534c;--paper:#ffffff;--line:#a7b7ad;--red:#ac1830;--gutter:clamp(16px,4.5vw,22px)}
html,body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#dce6de;color:var(--ink)}
button,a,input,select,textarea{touch-action:manipulation}
svg{stroke-width:2.3}
button:focus-visible,a:focus-visible,.photo-actions label:focus-visible{outline:3px solid #174cb6;outline-offset:3px}
button:active:not(:disabled),.photo-actions label:active{filter:brightness(.91)}
button:disabled{opacity:1;background:#dbe3dd;color:#48564d;box-shadow:none;cursor:wait}
.topbar{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:8px;background:var(--forest);border-bottom:4px solid var(--lime)}
.brand{gap:9px}.brand img{width:38px;height:38px}.brand strong{font-size:19px;font-weight:850;letter-spacing:1.6px}.brand small{font-size:10px;letter-spacing:1.3px;color:#ffffff;font-weight:700;margin-top:3px}
.avatar{width:48px;height:48px;min-height:48px;border:2px solid #c2ff36;background:#16392b;color:#fff;font-size:15px;font-weight:800}
.top-status{font-size:11px;font-weight:700;color:#fff;margin-right:12px}.dot{width:8px;height:8px}
.bottom-nav{position:relative;isolation:isolate;gap:6px;background:var(--forest);border-top:3px solid #071e17;padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + var(--safe)) max(8px,env(safe-area-inset-left,0px));box-shadow:0 -4px 0 #ffffff;min-height:91px}
.nav-btn{min-width:0;min-height:76px;justify-content:center;gap:7px;border-radius:12px;border:2px solid #537361;background:#123527;color:#fff;font-size:13px;font-weight:800;line-height:1.15;padding:9px 2px;white-space:nowrap}
.nav-btn svg{width:29px;height:29px;stroke-width:2.6}.nav-btn.active{background:var(--lime);border-color:var(--lime);color:#071e17;box-shadow:inset 0 -4px 0 #81b01a}.nav-btn.active:before{display:none}
.nav-count{font-size:11px;min-width:22px;height:22px;right:8px;top:3px;background:#ffd83b;color:#071e17;border:2px solid #071e17}
.primary,.primary.dark{min-height:64px;border:2px solid #064a29;border-bottom-width:5px;border-radius:14px;background:var(--green);color:#fff;font-size:18px;font-weight:800;line-height:1.25;padding:13px 14px;box-shadow:none;gap:10px}
.primary svg{width:25px;height:25px;stroke-width:2.8}
.secondary{min-height:56px;padding:12px;border:2px solid #086538;border-radius:12px;background:#e0f7e8;color:#064a29;font-size:16px;font-weight:750;line-height:1.3;gap:9px;text-decoration:none}
.text-button{min-height:48px;font-size:15px;font-weight:750;text-decoration:underline}
.icon-button{width:52px;height:52px;min-height:52px;background:#edf3ef;border:2px solid #8da797;border-radius:12px;color:#102019}
.icon-button svg{width:25px;height:25px}
.map-top{top:6px}.location-bar{min-height:70px;padding:7px 10px 7px 13px;gap:9px;border:2px solid #284f3b;border-radius:14px;box-shadow:0 3px 0 #12352724}
.location-copy small{font-size:10px;font-weight:800;letter-spacing:1px;color:#314c3e}.location-copy select{min-height:38px;font-size:18px;font-weight:800;border-radius:0;background:white;color:#071e17}.location-icon svg{width:25px;height:25px}.divider{display:none}
.location-bar>.icon-button{background:#174cb6;color:#fff;border-color:#123c91}.daily-stats{padding:0;gap:6px;margin-top:6px;background:none;border-radius:0;box-shadow:none}
.stat{min-width:0;display:flex;flex-direction:column;gap:2px;justify-content:center;padding:7px 3px;border:2px solid #174cb6!important;border-radius:10px;background:#e1ecff;color:#123c91}
.stat:nth-child(2){background:#d9f7e5;border-color:#086538!important;color:#064a29}.stat:nth-child(3){background:#fff0b5;border-color:#805000!important;color:#6b4300}
.stat strong{font-size:26px;line-height:28px;font-weight:850;margin:0}.stat span{font-size:12px;line-height:17px;color:inherit;font-weight:750}
.map-legend{margin-top:6px;padding-bottom:4px;gap:8px}.chip{flex-shrink:0;min-height:48px;padding:10px 14px;border:2px solid var(--status,#53675b);border-radius:12px;background:var(--status-soft,#fff);color:var(--status,#102019);font-size:14px;font-weight:800;line-height:20px;gap:8px}
.chip.active{background:var(--status,#102e25);border-color:var(--status,#102e25);color:white;box-shadow:inset 0 -3px 0 #0003}.chip.active .legend-dot{background:#fff!important}.legend-dot{width:10px;height:10px}
.map-tools{bottom:94px;flex-direction:row;gap:8px}.map-tools button{width:56px;height:56px;min-height:56px;border:2px solid #284f3b;background:white;border-radius:13px;color:#071e17;box-shadow:0 3px 0 #12352724}.map-tools button svg{width:27px;height:27px}.map-tools [data-act=locate]{background:#174cb6;border-color:#123c91;color:#fff;margin-right:4px}
.map-bottom{bottom:18px}.map-tip{display:none}.map-bottom .primary{background:var(--lime);border-color:#071e17;color:#071e17;border-width:3px;border-bottom-width:6px;min-height:68px;font-size:18px;box-shadow:0 3px 0 #ffffff}
.leaflet-control-attribution{font-size:10px!important;opacity:1!important;background:white!important;color:#102019!important}.leaflet-control-attribution a{color:#174cb6!important}
.map-error{padding:230px 24px 110px;font-size:16px;color:#102019}
.view-header{padding-top:24px;padding-bottom:20px}.eyebrow{font-size:11px;letter-spacing:1.1px;font-weight:800}.view-header h1{font-size:30px;font-weight:850;letter-spacing:-.7px}.view-header p{font-size:15px;line-height:22px}.view-body{padding-bottom:28px}
.search-input input{padding-left:48px}.search-input svg{left:15px;top:17px;width:24px;height:24px;color:#314c3e}.filters{gap:8px}
.lead-card{border:2px solid #9bae9f;border-left:6px solid #086538;border-radius:14px;padding:17px;margin-bottom:14px}.lead-card h3{font-size:19px;line-height:26px;padding-right:20px;font-weight:800;overflow-wrap:anywhere}.lead-card .sub{font-size:14px;color:#44534c}.card-meta{font-size:13px;line-height:20px;color:#314c3e;flex-wrap:wrap}.card-meta svg{width:18px;height:18px}.card-chevron{color:#086538;top:61px}.badge{font-size:13px;line-height:18px;padding:6px 8px;border:1px solid currentColor;font-weight:800}.source-pill{font-size:10px;color:#314c3e;font-weight:800;letter-spacing:.7px}
.empty{border:2px dashed #5b7e65;background:#f3f9f4;padding:30px 20px}.empty h3{font-size:20px}.empty p{font-size:15px;line-height:23px}.empty svg{width:38px;height:38px}
.notice{font-size:14px;line-height:21px;padding:14px;border:2px solid #b08025;background:#fff4ce;color:#593900}.notice.good{background:#e0f7e8;border-color:#086538;color:#064a29}.notice.error{background:#ffe8ec;border-color:#ac1830;color:#8a1025}
.offline-bar{font-size:13px;line-height:19px;background:#ffdd6b;color:#372600;font-weight:750;border-bottom:2px solid #805000;flex-shrink:0}
.section-label{font-size:12px;letter-spacing:1px;color:#314c3e;font-weight:850;margin-top:26px}.settings-card{border:2px solid #a7b7ad;border-top:5px solid #086538;border-radius:14px;padding:17px;margin-bottom:16px}.settings-card h3{font-size:18px;font-weight:800;gap:10px;line-height:25px}.settings-card p{font-size:15px;line-height:23px}.settings-card small{font-size:13px}.settings-status{font-size:12px;font-weight:750;background:#fff0b5;color:#593900;padding:4px 7px;border-radius:5px}.settings-status.on{background:#d9f7e5;color:#064a29}
.form-field{margin-bottom:19px}.form-field label{font-size:15px;font-weight:750;line-height:21px;margin-bottom:8px}.form-field small{font-size:13px;line-height:20px}
input,textarea,select.field{border:2px solid #7e9587;border-radius:11px;padding:14px 12px;color:#102019;background:white;font-size:17px;min-height:56px;line-height:24px}
input:not([type=checkbox]):not([type=radio]),textarea,select,select.field{font-size:17px}
input:focus,textarea:focus,select.field:focus{border-color:#086538;box-shadow:0 0 0 3px #c2ff36}
input::placeholder,textarea::placeholder{color:#53675b;opacity:1}textarea{min-height:120px}
input[type=checkbox]{width:26px;height:26px;min-height:26px;padding:0;border-width:2px;accent-color:#086538}
.check-row{min-height:48px;align-items:flex-start;font-size:15px;line-height:23px;gap:12px;padding:8px 0;margin:10px 0}.check-row input{margin:0}.check-row span small{font-size:13px;line-height:20px;color:#44534c}
.sheet{border-radius:22px 22px 0 0;max-height:96dvh;background:white}.sheet-overlay{background:#071e1799;backdrop-filter:none}.sheet-handle{background:#60796a;width:44px;height:5px}.sheet-header{padding-top:15px;padding-bottom:15px;border-bottom:2px solid #a7b7ad;gap:12px}.sheet-header h2{font-size:25px;line-height:31px;font-weight:850}.sheet-header p{font-size:14px;line-height:20px;color:#44534c}.sheet-scroll{padding-top:20px;padding-bottom:20px}.sheet-footer{border-top:2px solid #a7b7ad;padding-top:12px;padding-bottom:calc(12px + var(--safe))}.sheet-footer small{font-size:12px;line-height:17px;font-weight:600;color:#44534c}
.field-section{margin-bottom:26px}.field-section h3{font-size:18px;font-weight:850;line-height:25px;padding-bottom:10px;border-bottom:3px solid #c2ff36;margin-bottom:18px}.field-section h3 svg{width:23px;height:23px}
.status-grid{gap:10px}.status-option{min-height:74px;border:2px solid var(--status);border-radius:12px;background:var(--status-soft);color:var(--status);font-size:15px;line-height:21px;font-weight:800;padding:12px 10px;gap:9px;align-items:center;text-align:left}.status-option.selected{background:var(--status);color:#fff;border-color:var(--status);box-shadow:0 0 0 2px #071e17}.status-indicator{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border:2px solid currentColor;border-radius:50%}.status-indicator svg{width:16px;height:16px;stroke-width:3;visibility:hidden}.selected .status-indicator svg{visibility:visible}
.photo-actions{gap:10px}.photo-actions label{font-size:15px;min-height:64px;flex-direction:column;gap:5px;text-align:center}.photo-actions label:first-child{background:#174cb6;border-color:#123c91;color:white}.photo-actions label:last-child{background:#e1ecff;border-color:#174cb6;color:#123c91}.photo-actions svg{width:27px;height:27px}.photo-tile .remove-photo{width:44px;height:44px;min-height:44px;background:#ac1830;border:2px solid #fff}.photo-tile .remove-photo svg{width:22px;height:22px}
.muted-text{font-size:14px;line-height:21px;color:#44534c}.coordinates{font-size:12px;line-height:18px;color:#44534c}.loading-line{font-size:14px;line-height:21px;font-weight:650;color:#086538;margin-bottom:15px}.error-text{font-size:14px;line-height:21px;font-weight:700;color:#ac1830}
.detail-head h3{font-size:25px;line-height:31px;font-weight:800}.detail-head p{font-size:15px;line-height:22px}.detail-grid small{font-size:12px;line-height:18px;font-weight:800}.detail-grid strong{font-size:16px;line-height:24px;font-weight:650}.detail-note{font-size:16px;line-height:25px;border:2px solid #a7b7ad;background:#f3f9f4}
.inline-link{font-size:16px;line-height:24px;min-height:52px;font-weight:750;overflow-wrap:anywhere}.inline-link svg{width:24px;height:24px}.search-results button{padding:16px 0;min-height:64px;font-size:16px;line-height:24px;border-bottom:2px solid #a7b7ad}.search-results button small{font-size:13px;line-height:20px}.sync-row{font-size:15px;line-height:22px;border-bottom:2px solid #a7b7ad;padding:16px 0}.sync-row small{font-size:13px;line-height:20px}.sync-row button{font-size:14px;min-height:48px}.summary-count{font-size:14px;font-weight:700;color:#44534c}.version{font-size:10px;color:#44534c}
.auth{gap:14px}.auth-logo{margin-bottom:22px}.auth-logo img{width:52px}.auth-logo strong{font-size:22px;font-weight:850}.auth-logo small{font-size:11px;color:#314c3e;font-weight:750}.auth h1{font-size:32px;line-height:38px;font-weight:850}.auth>p{font-size:16px;line-height:24px;margin-bottom:8px}.auth .eyebrow{border-left:5px solid #086538;padding-left:10px}.auth-footer{font-size:12px;line-height:20px;color:#44534c}.auth form{margin-top:5px}
#toast{bottom:calc(116px + var(--safe));font-size:15px;line-height:23px;font-weight:650;background:#071e17;border:2px solid #c2ff36;padding:14px 16px}
@media(max-width:360px){.nav-btn{font-size:12px}.nav-btn svg{width:28px;height:28px}.bottom-nav{gap:5px}.status-option{font-size:14px;gap:7px;padding:11px 8px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:700px){.daily-stats{display:none}.map-tools{bottom:94px}.map-top{top:6px}.map-legend{margin-top:6px}}
@media(max-height:500px) and (orientation:landscape){.topbar{padding-top:6px;padding-bottom:6px}.map-top{right:210px}.map-legend{display:none}.map-tools{bottom:auto;top:12px;gap:5px}.map-tools button{width:50px;height:50px;min-height:50px}.bottom-nav{min-height:80px;padding-top:6px;padding-bottom:calc(6px + var(--safe))}.nav-btn{min-height:62px;flex-direction:row;gap:8px}.map-bottom{bottom:24px}.map-bottom .primary{min-height:58px}}
@media(min-width:700px){.sheet{border-radius:22px;max-height:calc(100dvh - 48px)}}
@media(prefers-reduced-motion:reduce){.sheet{animation:none}#toast{transition:none}}
