:root{--ink:#202b25;--muted:#69736c;--paper:#f7f8f2;--white:#fff;--line:#dce1d5;--lime:#c8ef80;--forest:#263e32;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{outline-offset:5px}button:focus-visible,a:focus-visible{outline:3px solid #688c3c}button{cursor:pointer}img{max-width:100%}[hidden]{display:none!important}.site-header{height:105px;padding:0 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{font-weight:900;letter-spacing:-3px;font-size:43px;line-height:1}.brand>span{font-size:15px;color:#83a84c;vertical-align:top;letter-spacing:0;margin-left:4px}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:1.3px;margin-top:9px}.site-header nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:600}.nav-camera{background:var(--ink);color:white;padding:13px 19px;border-radius:40px}.nav-camera span{margin-left:20px}.section{max-width:1440px;margin:auto;padding:70px 5.5%}.narrow{max-width:880px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700}.live-dot{display:inline-block;width:7px;height:7px;background:#709e3a;border-radius:50%;margin-right:7px}.hero{position:relative;min-height:670px;max-width:1440px;margin:auto;padding:85px 5.5% 75px;overflow:hidden}.hero h1{font-size:clamp(58px,6.6vw,100px);line-height:1.05;letter-spacing:-5px;font-weight:500;margin:30px 0;position:relative;z-index:1}.hero em,.page-title em{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#678144}.hero .lead{width:42%;font-size:17px;max-width:440px}.lead{font-size:19px;color:var(--muted);max-width:660px;line-height:1.65}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid transparent;border-radius:40px;padding:15px 25px;font-size:14px;font-weight:600;text-decoration:none;min-height:50px}.primary{background:var(--forest);color:white}.primary:hover{background:#3b5541}.secondary{background:transparent;border-color:#bdc8b7;color:var(--ink)}.secondary:hover{background:#edf1e5}.hero .button{margin-top:17px;min-width:190px}.fine{font-size:12px;color:var(--muted);line-height:1.65}.hero-art{position:absolute;right:5.5%;top:65px;width:44%;height:500px;background:#e7ebdf;border-radius:220px 220px 24px 24px;overflow:hidden}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#c5cdbb44 1px,transparent 1px),linear-gradient(90deg,#c5cdbb44 1px,transparent 1px);background-size:37px 37px;transform:rotate(-9deg) scale(1.2)}.abstract-tag{position:absolute;top:96px;left:5%;font-family:Georgia,serif;font-size:clamp(90px,13vw,190px);font-style:italic;letter-spacing:-17px;color:#4f6541;transform:rotate(-14deg);text-shadow:9px 14px 0 #c8ef80,14px 17px 0 #819765}.art-label{position:absolute;bottom:80px;left:30px;background:#fff9;border:1px solid #bac7af;padding:8px 13px;font-family:monospace;font-size:10px;letter-spacing:1px;border-radius:6px}.art-label i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#678144;margin-right:8px}.art-coordinate{position:absolute;bottom:25px;right:22px;font-family:monospace;font-size:9px;color:#526449;letter-spacing:1px}.corner{position:absolute;width:24px;height:24px;border-color:#526449;border-style:solid}.tl{bottom:130px;left:30px;border-width:2px 0 0 2px}.br{bottom:45px;right:30px;border-width:0 2px 2px 0}.actions{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.section-heading{grid-column:1/-1;margin-bottom:18px}.section-heading h2{font-size:34px;letter-spacing:-1.2px;margin:12px 0 0;font-weight:500}.action-card{padding:30px;border:1px solid var(--line);background:#fff8;border-radius:var(--radius);transition:transform .2s}.action-card:hover{transform:translateY(-4px)}.card-number{font-family:monospace;font-size:10px;letter-spacing:1px}.card-symbol{display:block;font-size:40px;margin:20px 0}.action-card h3{font-size:21px;font-weight:500;letter-spacing:-.6px;display:flex;justify-content:space-between}.action-card p{font-size:13px;color:#5b675b;margin-bottom:2px;max-width:280px}.action-card.lime{background:var(--lime);border-color:var(--lime)}.principle{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px 70px}.principle .eyebrow{grid-column:1/-1}.principle h2{font-weight:400;font-size:48px;line-height:1.15;letter-spacing:-2px;margin:15px 0}.principle p{color:var(--muted);font-size:15px}.text-link{display:inline-block;font-size:13px;border-bottom:1px solid;padding-bottom:3px}.page-title{font-size:clamp(44px,5vw,65px);font-weight:500;line-height:1.08;letter-spacing:-2.6px;margin:24px 0}.back{display:block;font-size:13px;color:var(--muted);margin-bottom:35px}.capture-options,.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.capture-options{margin-top:30px}.file-button input,#native-camera-fallback input{position:absolute;width:1px;height:1px;opacity:0}.file-button:focus-within{outline:3px solid #688c3c}.checkbox{display:flex;gap:10px;align-items:center;font-size:13px;margin-top:20px}.checkbox input{width:18px;height:18px;accent-color:var(--forest)}.camera-panel{margin:25px 0;background:#111;border-radius:var(--radius);overflow:hidden}.camera-panel video{width:100%;max-height:65vh;object-fit:contain;display:block}.camera-controls{padding:15px;display:flex;gap:15px;justify-content:center;background:var(--lime)}.upload-card{display:flex;gap:20px;border:1px solid var(--line);border-radius:var(--radius);background:white;padding:20px;margin:20px 0}.upload-card>img{width:115px;height:130px;object-fit:cover;border-radius:10px}.upload-body{flex:1;min-width:0}.upload-body h3{font-size:13px;overflow-wrap:anywhere}.upload-body p{font-size:14px}.upload-body .button{font-size:12px;padding:10px 15px;min-height:40px}.upload-body .text-link{margin-top:12px}.success{color:#35632c;font-weight:600}progress{width:100%;accent-color:#527c36}.saved-receipts{margin-top:50px;border-top:1px solid var(--line);padding-top:20px}.saved-receipts h2{font-size:18px}.saved-link{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}label:not(.checkbox):not(.button){display:block;font-size:12px;font-weight:600;margin:12px 0}input:not([type=checkbox]),select,textarea{width:100%;padding:12px 13px;border:1px solid #cdd5c4;border-radius:9px;background:#fff;color:var(--ink);margin-top:5px;min-width:0}textarea{resize:vertical}.field-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.state-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:25px 0}.state{border:1px solid var(--line);border-radius:12px;padding:15px}.state small{display:block;color:var(--muted);font-size:11px}.state strong{font-size:13px}details{border-top:1px solid var(--line);padding:18px 0;margin-top:15px}summary{cursor:pointer;font-size:14px;font-weight:600}.mini-map{height:260px;margin-top:20px;border-radius:12px;background:#e4e8dd}.notice{padding:18px;background:#edf1e4;border:1px solid var(--line);border-radius:12px;font-size:13px}.browse-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.search-form{display:grid;grid-template-columns:repeat(4,1fr);gap:0 14px;border:1px solid var(--line);padding:22px;border-radius:var(--radius);background:white}.search-form .button-row{grid-column:1/-1;margin-top:15px}.map-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:20px;font-size:13px}.map-toolbar .checkbox{margin:0}.public-map{height:450px;border-radius:var(--radius);background:#e4e8dd}.observation-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.observation-card{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:white}.observation-card img{width:100%;height:200px;object-fit:cover;display:block}.observation-card>div{padding:20px}.observation-card h3{font-size:19px;margin:3px 0}.observation-card p{font-size:12px;color:var(--muted)}.badge{display:inline-block;font-size:10px;padding:4px 9px;border-radius:20px;background:#e9efde;margin:0 5px 5px 0}.statistics{margin-top:70px;border-top:1px solid var(--line);padding-top:40px}.statistics>label{max-width:180px}.stat-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat{padding:20px;background:#e9eedf;border-radius:15px}.stat strong{display:block;font-size:36px;line-height:1.25;font-weight:400}.stat small{font-size:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;margin:20px 0}caption{text-align:left;font-weight:600;margin-bottom:10px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px}thead{background:#edf0e6}.timeline{border-left:2px solid #becbad;padding-left:25px;margin:40px 0}.timeline article{padding:0 0 30px;position:relative}.timeline article:before{content:'';position:absolute;left:-32px;top:8px;width:12px;height:12px;background:var(--forest);border-radius:100%}.timeline img{width:100%;max-height:550px;object-fit:contain;background:#e8ece1;border-radius:15px}.timeline h3{font-size:18px}.timeline p{font-size:13px}.login-form{max-width:420px}.admin-grid{display:grid;grid-template-columns:260px 1fr;gap:30px;margin-top:25px}.queue-button{display:flex;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:10px;gap:12px;align-items:center;font-size:11px}.queue-button img{width:55px;height:65px;object-fit:cover;border-radius:7px}.review-image{width:100%;max-height:550px;object-fit:contain;background:#e8ece1;border-radius:15px;cursor:crosshair}.review-subtitle{font-size:13px;color:var(--muted)}.review-form{background:#edf0e5;padding:20px;border-radius:15px;margin:20px 0}.review-form textarea,pre{font-family:monospace;font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf0e6;padding:15px;border-radius:10px;max-height:450px;overflow:auto}.admin-grid .button{font-size:12px;padding:10px 17px;min-height:40px}.review-actions{display:flex;gap:8px;flex-wrap:wrap}.mask-boxes{color:#6b4237}.review-overlay-wrap{position:relative}#mask-canvas{display:block;width:100%;max-height:550px;object-fit:contain;touch-action:none;background:#e8ece1;border-radius:15px}.fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.fact{border-bottom:1px solid var(--line);padding:12px 0}.fact small{display:block;font-size:11px;color:var(--muted)}.fact strong{font-size:14px;font-weight:500}footer{max-width:1440px;margin:auto;border-top:1px solid var(--line);padding:35px 5.5%;display:flex;justify-content:space-between;align-items:center;gap:15px}footer .brand{font-size:30px}footer p,footer>a:last-child{font-size:12px;color:var(--muted)}.leaflet-container{font-family:Arial,Helvetica,sans-serif}.leaflet-popup-content a{text-decoration:underline}
@media(min-width:1600px){.site-header{padding:0 max(5.5%,calc((100vw - 1280px)/2))}.hero-art{width:44%}}
@media(max-width:900px){.hero{min-height:600px}.hero-art{height:420px;top:90px}.hero h1{font-size:70px}.abstract-tag{top:120px}.search-form{grid-template-columns:repeat(2,1fr)}.observation-list{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:190px 1fr}.site-header nav{gap:18px}.actions{gap:12px}.action-card{padding:20px}.action-card h3{font-size:18px}.stat-totals{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.site-header{height:85px;padding:0 6%;gap:10px}.brand{font-size:34px}.brand small{font-size:6px;letter-spacing:.6px}.site-header nav{gap:14px;font-size:11px}.site-header nav a:nth-child(2){display:none}.nav-camera{padding:10px 12px}.nav-camera span{display:none}.hero{padding:45px 6% 35px;min-height:auto}.hero h1{font-size:64px;letter-spacing:-3.5px;margin:25px 0}.hero .lead{width:auto;font-size:16px}.hero-art{position:relative;top:auto;right:auto;width:100%;height:320px;border-radius:150px 150px 16px 16px;margin-top:35px}.abstract-tag{font-size:140px;top:45px;left:10%;letter-spacing:-13px}.art-label{bottom:65px;font-size:9px}.section{padding:40px 6%}.eyebrow{font-size:9px;letter-spacing:1.6px}.actions{grid-template-columns:1fr}.action-card{padding:23px;position:relative}.card-symbol{position:absolute;right:25px;top:10px;font-size:30px}.action-card h3{font-size:23px;margin-top:26px}.action-card h3 span{display:none}.action-card p{max-width:100%;font-size:13px}.principle{grid-template-columns:1fr;gap:5px}.principle h2{font-size:40px}.section-heading h2{font-size:29px}.page-title{font-size:47px}.lead{font-size:16px}.capture-options{flex-direction:column;align-items:stretch}.button{justify-content:center}.capture-options .button{width:100%}.upload-card{padding:14px;gap:12px}.upload-card>img{width:65px;height:90px}.upload-body .button-row{flex-direction:column;align-items:stretch}.field-row{grid-template-columns:1fr 1fr}.field-row label:last-child{grid-column:1/-1}.browse-heading{display:block}.browse-heading>.button{margin-bottom:20px}.search-form{padding:15px;gap:0 10px}.search-form .button{min-height:42px;padding:10px 18px}.map-toolbar{display:block}.map-toolbar .checkbox{margin:15px 0}.public-map{height:350px}.observation-list{grid-template-columns:1fr}.observation-card img{height:240px}.stat-totals{gap:8px}.stat{padding:15px}.stat strong{font-size:30px}.admin-grid{grid-template-columns:1fr}.admin-grid aside{display:flex;overflow:auto;gap:10px}.queue-button{min-width:160px;width:160px;flex-shrink:0}.fact-grid{grid-template-columns:1fr}.review-form{padding:14px}footer{padding:25px 6%;flex-wrap:wrap}footer p{font-size:10px}footer .brand{font-size:27px}details{font-size:13px}.state-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep capture and its durable receipt in the first screen on a phone. */
.capture-view .site-header{height:68px}
.capture-view .brand{font-size:32px;letter-spacing:-2px}
.capture-view .brand small{display:none}
.capture-page{padding-top:24px;padding-bottom:32px}
.capture-page .page-title{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:0 0 8px}
.capture-intro{font-size:14px;color:var(--muted);margin:0 0 18px}
.capture-page.has-uploads .capture-intro{display:none}
.capture-page .capture-options{margin-top:18px}
.capture-page .camera-permission{margin:6px 0 14px}
.capture-page .checkbox{margin-top:12px}
.capture-page .location-permission{margin:6px 0 12px}
.capture-page .camera-panel{margin:18px 0;scroll-margin-top:12px}
.capture-page .camera-panel video{max-height:58svh}
.capture-page .upload-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px 12px;margin:12px 0 16px;padding:16px;scroll-margin-top:12px}
.capture-page .upload-card>img{width:56px;height:72px;grid-column:1;grid-row:1/3}
.capture-page .upload-body{display:contents}
.capture-page .upload-body h3{grid-column:2;margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capture-page .upload-body p{grid-column:2;margin:0;line-height:1.5}
.capture-page .upload-body>progress,.capture-page .upload-body>button,.capture-page .upload-body>.button-row,.capture-page .upload-body>.text-link{grid-column:1/-1}
.capture-page .upload-body .button-row{flex-direction:row;align-items:stretch;gap:8px;margin-top:4px}
.capture-page .upload-body .button-row .button{flex:1;white-space:nowrap;justify-content:center;padding:12px;min-height:44px}
.capture-page .upload-body .text-link{margin:0;font-size:11px;justify-self:start}
.capture-page .saved-receipts{margin-top:28px;padding-top:14px}
.capture-page .saved-receipts h2{font-size:15px;margin:0 0 8px}
@media(max-width:620px){.capture-view .site-header{height:64px}.capture-page{padding:20px 5% 28px}.capture-page .capture-options{gap:8px}.capture-page .upload-card{padding:14px}}
.capture-page .file-button,.capture-page #native-camera-fallback{position:relative}
.capture-page .file-button input,.capture-page #native-camera-fallback input{width:1px;height:1px;padding:0;margin:0;border:0;left:0;top:0;clip-path:inset(50%)}
.capture-page .location-request{grid-column:1/-1;display:flex;align-items:center;gap:10px;background:#eff4e8;border-left:3px solid #739943;border-radius:8px;padding:10px}
.capture-page .location-request p{font-size:12px;flex:1}
.capture-page .location-request .button{white-space:nowrap;min-height:44px}
.receipt-page{padding-top:24px}
.receipt-page>.back{margin-bottom:16px}
.receipt-page>.page-title{font-size:32px;letter-spacing:-1px;margin:16px 0}
#location-details{scroll-margin-top:12px}
#receipt-location-request p{margin:6px 0 12px}
.region-editor{margin:20px 0 28px;padding:16px;background:#edf2e6;border-radius:15px}
#region-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;background:#e0e6d7;border-radius:10px}
#region-preview{display:block;max-width:100%;max-height:220px;width:auto;height:auto;margin:8px 0 16px;background:#fff;border:1px solid var(--line);border-radius:8px}
button:disabled{cursor:not-allowed;opacity:.55}
#camera-location-status{margin:0;padding:7px 12px;color:white;font-size:12px;background:#263e32}
/* Dictation action: a clear microphone affordance, including the guided flow. */
#dictate,.dictation-button{background:#f7dfe3;border-color:#d9aab3;color:#702d3b;justify-content:center;gap:10px}
#dictate:hover,.dictation-button:hover{background:#efcbd2;border-color:#bd8290}
#dictate::before,.dictation-button::before{content:'';display:inline-block;flex:0 0 20px;width:20px;height:20px;background-color:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='2' width='6' height='13' rx='3' fill='black'/%3E%3Cpath d='M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
/* Guided moderation: one decision at a time, with touch and keyboard controls. */
.flow-view .site-header{height:64px}
.flow-view .brand{font-size:30px;letter-spacing:-1px}
.flow-view .brand small{display:none}
.flow-shell{max-width:940px;padding:24px 5% 48px;margin:auto}
.flow-shell>h1{font-size:24px;letter-spacing:-.5px;margin:0 0 12px}
.flow-progress{font-size:13px;color:var(--muted);font-weight:600;margin:12px 0}
.flow-stage{scroll-margin-top:12px;min-width:0}
.flow-stage h2{font-size:clamp(22px,4vw,30px);line-height:1.2;letter-spacing:-.6px;margin:8px 0 12px}
.flow-stage h2:focus{outline:none}
.flow-stage h3{font-size:17px}
.flow-copy{font-size:14px;max-width:65ch;color:var(--muted)}
.flow-stage>[role=status]:empty,#admin-message:empty{display:none}
.flow-stage>[role=status],#admin-message{font-size:14px;color:#813f34;overflow-wrap:anywhere}
.flow-photo{display:block;width:100%;height:auto;max-height:38svh;object-fit:contain;background:#e8ece1;border-radius:12px;margin:16px auto}
.flow-draw{touch-action:none;cursor:crosshair}
.flow-preview{display:block;max-width:100%;max-height:240px;width:auto;height:auto;background:#e8ece1;border-radius:10px;margin:12px 0}
.flow-map{height:min(48svh,400px);min-height:240px;background:#e8ece1;border-radius:12px}
.flow-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.flow-actions .button{font-size:14px;min-height:46px;padding:12px 20px;justify-content:center}
.flow-regions{display:grid;gap:8px;margin:14px 0}
.flow-region{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.flow-region.is-selected{border:2px solid #527d38;padding:9px;background:#f1f7e8}
.flow-region .button{font-size:12px;padding:9px 12px;min-height:44px;justify-content:center}
.flow-region>div:not(.flow-text-editor) .button{background:transparent;border:0;text-align:left;justify-content:start;padding:5px;overflow-wrap:anywhere;width:100%}
.flow-region small{display:block;font-size:11px;color:var(--muted);padding:0 5px}
.flow-remove{color:#883d36;border-color:#d7b3ae}
.flow-undo,.flow-deleted-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;margin:8px 0}
.flow-undo{padding:12px;background:#e9f1df;border-radius:10px}
.flow-undo .button,.flow-deleted-row .button{font-size:12px;min-height:44px;padding:10px 14px}
.flow-deleted{border-top:1px solid var(--line);margin:20px 0;padding-top:10px}
.flow-deleted-row>span{overflow-wrap:anywhere}
.flow-busy{pointer-events:none;opacity:.7}
.flow-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);margin-top:32px;padding-top:16px;font-size:12px;color:var(--muted)}
.flow-link{border:0;background:transparent;padding:10px 0;min-height:44px;text-decoration:underline;cursor:pointer;color:inherit}
@media(max-width:620px){.flow-shell{padding:18px 5% 32px}.flow-shell>h1{font-size:20px}.flow-actions>.button{flex:1;min-width:140px}.flow-region{grid-template-columns:1fr 1fr}.flow-region>div{grid-column:1/-1}.flow-region>.button{width:100%}.flow-shortcuts{display:none}.flow-footer{flex-wrap:wrap}.flow-map{min-height:240px}}
/* Administration opens to counts, searchable lists, then a chosen review. */
.admin-dashboard-view .site-header{height:64px}.admin-dashboard-view .brand{font-size:30px}.admin-dashboard-view .brand small{display:none}
.admin-dashboard{max-width:1180px;padding:24px 5% 48px;margin:auto}.admin-dashboard h1{font-size:30px;margin:0 0 16px}.admin-dashboard h2{font-size:22px}
.admin-top-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.admin-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.admin-total{text-align:left;cursor:pointer;border:1px solid var(--line);border-radius:14px;background:#edf3e4;padding:18px;color:var(--ink)}
.admin-total strong{display:block;font-size:34px;font-weight:500}.admin-total span{display:block;font-size:14px}.admin-total small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.admin-total:hover{border-color:#527d38}
.admin-waiting{grid-column:1/-1;border:0;text-align:left;background:transparent;cursor:pointer;padding:8px 0;justify-self:start}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 14px}.admin-tabs button{border:1px solid var(--line);border-radius:22px;background:#fff;cursor:pointer;min-height:44px;padding:10px 18px;color:var(--ink)}.admin-tabs button[aria-pressed=true]{background:var(--forest);color:#fff}
.admin-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0 24px}.admin-search label{flex:1;min-width:220px;margin:0!important}.admin-search .button{font-size:13px;min-height:44px;padding:12px 18px}
.admin-image-list{display:grid;gap:10px;margin:16px 0}.admin-image-row{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.admin-image-row:hover{border-color:#527d38;background:#f6f9ef}
.admin-thumb{width:88px;height:88px;overflow:hidden;border-radius:8px;flex-shrink:0;background:#e1e7d9}.admin-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.admin-image-copy{min-width:0;flex:1}.admin-image-copy>strong{display:block;overflow-wrap:anywhere;font-size:16px}.admin-image-copy>span,.admin-image-copy>small{display:block;font-size:12px;margin-top:5px;color:var(--muted)}.admin-image-copy>.admin-image-state{color:#335239}.admin-open{font-size:13px;white-space:nowrap}
.flow-inline-controls{padding:10px 0}.flow-inline-controls .flow-actions{margin:6px 0}.flow-inline-controls [role=status]{font-size:13px}.flow-inline-controls [role=status]:empty{display:none}
@media(max-width:620px){.admin-dashboard{padding:20px 5%}.admin-totals{grid-template-columns:repeat(2,1fr);gap:8px}.admin-total{padding:14px}.admin-total strong{font-size:29px}.admin-tabs{gap:6px}.admin-tabs button{padding:10px 12px;font-size:12px}.admin-search label{flex-basis:100%;min-width:0}.admin-search .button{flex:1;justify-content:center}.admin-image-row{padding:10px;gap:10px;flex-wrap:wrap}.admin-thumb{width:64px;height:64px}.admin-image-copy>strong{font-size:14px}.admin-open{margin-left:auto}.admin-top-actions{gap:12px}.admin-top-actions .button{font-size:14px;padding:12px 20px}}
.flow-region>.flow-text-editor{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}
.flow-text-editor label{margin:4px 0!important}
.flow-text-editor textarea{font-size:16px;line-height:1.4}
.flow-text-editor .flow-actions{margin:8px 0 0}
.flow-text-editor .flow-actions .button{font-size:12px;padding:10px 14px;min-height:44px}
.flow-text-message{font-size:13px;margin:8px 0 0}
.flow-text-message:empty{display:none}
.flow-stage #flow-region-text{font-size:16px;line-height:1.4}
/* Latest public photographs and a calendar-day map scrubber. */
.home-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:32px;padding-bottom:20px}
.home-intro h1{font-size:clamp(32px,5vw,56px);line-height:1.08;letter-spacing:-2px;margin:16px 0}.home-intro p{color:var(--muted);font-size:14px;margin-bottom:0}
.home-latest{padding-top:20px}.home-latest .page-title{font-size:38px;margin:8px 0}.home-latest .public-map{height:440px}
.latest-list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px}.latest-list-heading h2{font-size:26px;margin:0}.home-latest #latest-more{display:block;margin:24px auto}.home-latest #latest-more[hidden]{display:none}
.map-time{border:1px solid var(--line);border-radius:0 0 16px 16px;background:#edf2e6;padding:18px 22px;margin-top:-8px;position:relative;z-index:0}
.map-time-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.map-time h2{font-size:18px;letter-spacing:-.3px;margin:4px 0 8px}.map-time output{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.map-time>label{display:block;margin:6px 0 0}
.map-time-track{position:relative;padding:9px 0}.map-time input[type=range]{display:block;width:100%;height:40px;min-height:40px;padding:0;margin:0;cursor:ew-resize;accent-color:#365a36;background:transparent;position:relative;z-index:1;touch-action:pan-y;border:0}
#map-time-ticks{position:absolute;inset:22px 10px;pointer-events:none}#map-time-ticks span{position:absolute;width:3px;height:17px;background:#73915c;opacity:.6;top:-2px;border-radius:2px}
.map-time-ends{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.map-time-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.map-time-actions .button{min-height:44px;font-size:12px;padding:9px 14px}.map-time-method{margin-bottom:0;font-size:11px}.map-time input:focus-visible{outline:2px solid var(--forest);outline-offset:3px}
.timeline-new{filter:drop-shadow(0 0 5px #759c38)}.timeline-pulse{animation:map-appearance 1.8s ease-out 2}
@keyframes map-appearance{0%,100%{stroke-width:3;fill-opacity:.85}40%{stroke-width:8;fill-opacity:.3;stroke:#91b950}}
@media(max-width:620px){.home-intro{align-items:start;gap:16px;flex-direction:column;padding-top:24px}.home-intro h1{font-size:38px;margin:12px 0}.home-intro .button{min-height:44px;padding:12px 20px}.home-latest .public-map{height:340px}.home-latest .browse-heading{display:flex;align-items:center;gap:14px}.home-latest .page-title{font-size:32px}.map-time{padding:16px 12px}.map-time-heading{align-items:start}.map-time h2{font-size:16px}.map-time output{font-size:13px;white-space:nowrap}.map-time-actions{gap:6px}.map-time-actions .button{font-size:11px;padding:9px 10px}.latest-list-heading{align-items:start}.latest-list-heading h2{font-size:23px}.latest-list-heading .text-link{font-size:11px}.site-header nav{gap:10px}.site-header nav .nav-search{display:none}.site-header nav{font-size:10px}.nav-camera{padding:10px}}
@media(prefers-reduced-motion:reduce){.timeline-pulse{animation:none}.timeline-new{stroke-width:5}}
/* An address search proposes a map view; the sender still chooses the mark's exact place. */
.address-search{display:flex;gap:10px;align-items:end;margin:16px 0 8px}.address-search label{flex:1;min-width:0;margin:0!important}.address-search .button{min-height:46px;padding:12px 18px;white-space:nowrap}
.address-results{display:grid;gap:8px;margin:10px 0 18px}.address-result{width:100%;min-height:44px;text-align:left;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;overflow-wrap:anywhere}.address-result:hover,.address-result[aria-pressed=true]{border-color:#527d38;background:#edf4e6}
@media(max-width:620px){.address-search{flex-wrap:wrap}.address-search label{flex-basis:100%}.address-search .button{width:100%;justify-content:center}}
/* Read-only detail viewer: its pan/zoom never changes review coordinates. */
.flow-enlarge{display:block;min-height:44px;margin:10px 0 14px;padding:10px 18px;font-size:13px}
.image-zoom{width:min(1200px,96vw);height:94dvh;max-width:96vw;max-height:96dvh;margin:auto;padding:16px;border:1px solid #6c806e;border-radius:14px;background:#f7f8f2;color:var(--ink);overflow:hidden}.image-zoom[open]{display:flex;flex-direction:column;gap:10px}.image-zoom::backdrop{background:#14221be8}
.image-zoom-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.image-zoom h2{margin:0;font-size:22px;letter-spacing:-.5px}.image-zoom-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.image-zoom .button{min-height:44px;padding:10px 14px;font-size:13px}.image-zoom output{min-width:45px;text-align:center;font-variant-numeric:tabular-nums}
.image-zoom-viewport{flex:1;min-height:150px;position:relative;overflow:hidden;background:#1d2922;border-radius:8px;touch-action:none;cursor:grab;outline-offset:-3px}.image-zoom-viewport:active{cursor:grabbing}.image-zoom-photo{position:absolute;left:0;top:0;max-width:none;max-height:none;transform-origin:0 0;pointer-events:none}.image-zoom-help,.image-zoom-status{font-size:12px;margin:0;color:var(--muted)}.image-zoom-status:empty{display:none}
@media(max-width:620px){.image-zoom{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:10px;gap:8px}.image-zoom h2{font-size:18px}.image-zoom .button{font-size:12px;padding:9px 11px}.image-zoom-help{font-size:11px}.image-zoom-close{white-space:nowrap}}
.address-results[hidden]{display:none}.address-result[aria-selected=true]{border-color:#527d38;background:#e1edce;outline:2px solid #527d38;outline-offset:-2px}.address-results{max-height:300px;overflow-y:auto;scroll-margin:8px}
/* Centred capture card, durable receipt, optional text and push-to-stop dictation. */
.camera-dialog{width:min(620px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain}.camera-dialog::backdrop{background:#14221bd9}.camera-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.camera-card-heading h2{font-size:22px;letter-spacing:-.5px;margin:0}.camera-card-heading .button{min-height:44px;padding:10px 16px;font-size:13px}
#camera-dialog .camera-panel{margin:0;border-radius:12px;overflow:hidden;background:#17271e}#camera-dialog .camera-panel[hidden],#camera-shot[hidden]{display:none}#camera-dialog #camera-video{display:block;width:100%;height:auto;max-height:52dvh;object-fit:contain}#camera-dialog .camera-controls{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.camera-controls .button{flex:1;min-height:44px;justify-content:center;padding:12px 16px}
.capture-page .upload-body>.capture-note{grid-column:1/-1}.capture-note label{margin-top:8px!important}.capture-note textarea{font-size:16px;line-height:1.45;min-height:88px}.capture-note>.camera-microphone{min-height:46px;margin:4px 0;padding:10px 16px}.camera-microphone.is-recording{color:#fff;background:#a33548;border-color:#a33548;box-shadow:0 0 0 4px #f4d5db}.dictation-status,.note-save-status{font-size:12px;margin:7px 0;color:var(--muted);overflow-wrap:anywhere}.dictation-status{display:flex;align-items:center;gap:8px;min-height:20px}.processing-spinner{display:inline-block;width:19px;height:19px;flex:0 0 19px;border:3px solid #d5ddcc;border-top-color:#527c36;border-radius:50%;animation:processing-spin .9s linear infinite}.capture-note>.button:last-child{width:100%;min-height:44px;justify-content:center;margin-top:8px}.capture-note>button[hidden]{display:none}
#camera-dialog .upload-card{margin:0;padding:12px;box-shadow:none;scroll-margin:0}#camera-dialog .upload-body>.text-link{font-size:11px}#camera-dialog .upload-body .button-row{margin-top:8px}#camera-dialog .location-request{padding:8px;font-size:12px}
@keyframes processing-spin{to{transform:rotate(360deg)}}
@media(max-width:620px){.camera-dialog{padding:12px;border-radius:16px}.camera-card-heading h2{font-size:20px}#camera-dialog .camera-panel video{max-height:48dvh}#camera-dialog .upload-card{padding:10px}.capture-note textarea{min-height:76px}.capture-note>.camera-microphone{font-size:13px}#camera-dialog .upload-body .button-row{flex-wrap:wrap}#camera-dialog .upload-body .button-row .button{font-size:12px;padding:10px}}
@media(prefers-reduced-motion:reduce){.processing-spinner{animation:none;border-style:dotted}}
/* One upload card for both camera and library; advanced fields stay folded away. */
.camera-dialog{width:min(520px,calc(100vw - 24px))}.capture-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;background:transparent;border:0;border-radius:50%;font-size:28px;color:var(--muted)}.capture-close:hover{background:#e6ebdf}
#capture-start .capture-options{display:grid;gap:10px;margin-top:20px}#capture-start .button{justify-content:center;width:100%}#capture-start>p:first-child{margin:0;color:var(--muted)}#camera-message:empty{display:none}
#camera-dialog #camera-location-status{margin:0;padding:8px 12px;color:#fff;font-size:12px}#camera-dialog .upload-list{display:grid;gap:14px}#camera-dialog .upload-card{display:block;border:0;background:transparent;padding:0}#camera-dialog .upload-card>img{display:block;width:100%;height:auto;max-height:25dvh;object-fit:contain;border-radius:10px;background:#e6eadf}#camera-dialog .upload-body{display:block}#camera-dialog .upload-body h3{display:none}#camera-dialog .upload-body p.success{font-size:14px;line-height:1.45;margin:12px 0}#camera-dialog .capture-note{margin:0;padding:0}#camera-dialog .capture-note textarea{min-height:76px;margin-bottom:0}#camera-dialog .capture-note>label{margin-bottom:4px}#camera-dialog .capture-note>.camera-microphone{width:auto;justify-content:center;min-height:44px;margin:0;background:#f5e1e5;border-color:#e3b9c4}#camera-dialog .capture-note>.camera-microphone.is-recording{background:#a33548;color:white}#camera-dialog .dictation-status:empty,#camera-dialog .note-save-status:empty{display:none}#camera-dialog .capture-advanced{padding:10px 0 0;margin:10px 0 0}#camera-dialog .capture-advanced summary{font-weight:400;font-size:12px;color:var(--muted)}#capture-done{display:flex;width:100%;justify-content:center;margin-top:16px}#camera-dialog .multiple-photo{border-bottom:1px solid var(--line);padding-bottom:14px}#camera-dialog .multiple-photo>img{width:72px;height:64px;float:left;margin:0 12px 8px 0}#camera-dialog .multiple-photo .upload-body h3{display:block;margin:0;font-size:12px}#camera-dialog .multiple-photo .capture-note{clear:both}#camera-dialog .multiple-photo .capture-note[open]{padding-top:10px}.capture-page .saved-receipts{margin-top:24px}.capture-page .saved-receipts summary{font-weight:400;color:var(--muted)}
