:root{--paper:#f7f8f5;--ink:#1f2922;--muted:#6f796f;--line:#dfe5de;--green:#296b4f;--green-dark:#1e513b;--lime:#b7d45c;--sand:#eef1e8;--orange:#dd8a46;--red:#bb5d48;--shadow:0 12px 32px rgba(30,59,43,.09);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans SC',system-ui,sans-serif;line-height:1.5}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100dvh;padding-bottom:72px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;max-width:1320px;margin:auto;padding:0 28px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--green);color:#fff;font-size:25px;line-height:1;transform:rotate(-16deg)}.brand b{display:block;font-size:18px;letter-spacing:.04em}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.08em}.desktop-nav{display:flex;gap:10px;margin-left:auto;margin-right:26px}.desktop-nav a{padding:10px 16px;border-radius:10px;color:var(--muted);font-size:14px}.desktop-nav a:hover,.desktop-nav a.active{background:#e8eee6;color:var(--green-dark);font-weight:600}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:11px;background:var(--lime);color:var(--green-dark);font-size:24px;line-height:1}.view{display:none;max-width:1320px;margin:auto;padding:34px 28px 48px}.view.active{display:block}.hero-strip{display:flex;align-items:end;justify-content:space-between;padding:25px 0 28px}.hero-strip h1,.page-heading h1{font-size:clamp(29px,5vw,50px);line-height:1.08;letter-spacing:-.045em;margin:8px 0 10px}.hero-strip p,.page-heading p{margin:0;color:var(--muted);font-size:15px}.eyebrow{display:block;font:500 10px 'DM Mono',monospace;color:var(--green);letter-spacing:.15em}.hero-stats{display:flex;gap:34px;text-align:right}.hero-stats span{display:flex;flex-direction:column}.hero-stats strong{font-size:29px;line-height:1.15}.hero-stats small{font-size:11px;color:var(--muted);margin-top:4px}.toolbar{margin:6px 0 22px}.search-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 16px;height:48px;box-shadow:0 4px 12px rgba(22,51,37,.03)}.search-wrap span{font-size:25px;color:var(--muted);line-height:1}.search-wrap input{border:0;outline:0;background:transparent;width:100%;font-size:14px}.filter-row{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.filter-row select,.outline-button,.pill-button{border:1px solid var(--line);height:38px;padding:0 13px;border-radius:9px;color:var(--ink);background:#fff;font-size:13px}.pill-button{background:#e9f0e6;color:var(--green-dark);border-color:#d5e4d1}.explore-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:18px;align-items:stretch}.map-card{background:#d8e1d4;border-radius:var(--radius);overflow:hidden;position:relative;min-height:570px;box-shadow:var(--shadow)}#map{height:100%;min-height:570px;z-index:0}.map-legend{position:absolute;bottom:14px;left:14px;right:14px;z-index:500;background:rgba(255,255,255,.93);border-radius:9px;padding:8px 10px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.legend-dot{width:8px;height:8px;background:var(--green);border-radius:50%;display:inline-block}.map-legend .text-button{margin-left:auto}.text-button{border:0;background:transparent;color:var(--green);font-size:13px;padding:4px 0}.list-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 18px;min-height:570px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 3px 18px}.section-heading h2{font-size:21px;line-height:1.2;letter-spacing:-.03em;margin:7px 0 0}.section-heading h2 span{font-size:12px;color:var(--muted);font-weight:500;margin-left:3px}.view-toggle{display:flex;background:var(--sand);padding:3px;border-radius:8px}.toggle{border:0;background:transparent;border-radius:6px;padding:5px 9px;color:var(--muted);font-size:11px}.toggle.active{background:#fff;color:var(--green-dark);box-shadow:0 1px 4px rgba(0,0,0,.08)}.spot-list{display:flex;flex-direction:column;gap:10px}.spot-card{display:grid;grid-template-columns:78px 1fr;gap:12px;padding:10px;border:1px solid var(--line);border-radius:13px;cursor:pointer;transition:.2s;background:#fff}.spot-card:hover{border-color:#bdd0ba;transform:translateY(-1px);box-shadow:0 6px 15px rgba(43,75,54,.07)}.spot-thumb{border-radius:9px;background:linear-gradient(135deg,#bfd1c1,#748f78);min-height:78px;overflow:hidden;display:grid;place-items:center;color:rgba(255,255,255,.8)}.spot-thumb img{width:100%;height:100%;object-fit:cover}.spot-card h3{margin:2px 0 3px;font-size:15px}.spot-meta{font-size:11px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}.spot-meta strong{font-weight:500;color:var(--green)}.spot-note{font-size:12px;color:#5f695f;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.status-chip{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:3px 7px;background:#edf3e8;color:var(--green);font-size:10px}.status-chip.hot{background:#fff1e4;color:#ba6e2e}.loading-card{padding:30px 10px;text-align:center;color:var(--muted);font-size:13px}.loading-dots{color:var(--green);margin-left:5px}.empty-state{text-align:center;padding:52px 15px;color:var(--muted)}.empty-icon{display:grid;place-items:center;margin:auto;width:46px;height:46px;border-radius:50%;background:#e8eee6;color:var(--green);font-size:28px}.empty-state h3{margin:14px 0 4px;color:var(--ink);font-size:17px}.empty-state p{margin:0 0 18px;font-size:13px}.hidden{display:none!important}.safety-note{text-align:center;color:#818980;font-size:11px;margin:23px auto 0;max-width:720px}.page-heading{max-width:720px;margin:4px auto 28px}.back-link{display:inline-block;color:var(--green);font-size:13px;margin-bottom:28px}.form-card{max-width:720px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.form-section{padding:27px 30px;border-bottom:1px solid var(--line)}.form-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:23px}.step-number{font:500 11px 'DM Mono',monospace;color:var(--green);padding-top:3px}.form-section h2{font-size:17px;margin:0 0 3px}.form-section-title p{margin:0;color:var(--muted);font-size:12px}.field-label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#566157;margin:0 0 15px}.field-label input,.field-label select,.field-label textarea{border:1px solid #d9e1d8;border-radius:9px;padding:11px 12px;outline:0;color:var(--ink);background:#fcfdfb;min-height:43px;font-size:13px;resize:vertical}.field-label input:focus,.field-label select:focus,.field-label textarea:focus{border-color:#8eb39a;box-shadow:0 0 0 3px rgba(74,131,93,.12)}.required{color:var(--orange);font-size:10px;margin-left:3px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.choice-row{display:flex;align-items:center;gap:8px;margin:4px 0 18px;flex-wrap:wrap}.field-label.compact{margin:0 8px 0 0}.choice{cursor:pointer}.choice input{position:absolute;opacity:0}.choice span{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:8px 13px;font-size:12px;color:var(--muted)}.choice input:checked+span{border-color:#9ab8a0;background:#edf4eb;color:var(--green-dark);font-weight:600}.location-picker{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f1f5ee;border:1px solid #dce8d9;border-radius:10px;padding:11px 13px;margin-bottom:12px}.location-copy{display:flex;align-items:center;gap:10px;min-width:0}.location-icon{font-size:24px;color:var(--green)}.location-copy strong{display:block;font-size:12px}.location-copy small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.outline-button{white-space:nowrap;color:var(--green);background:#fff}.mini-map{height:205px;border-radius:10px;overflow:hidden;margin-top:8px}.upload-zone{border:1px dashed #a8c2a6;min-height:135px;border-radius:12px;background:#f3f7f0;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:var(--green);gap:3px}.upload-zone input{position:absolute;opacity:0;width:1px;height:1px}.upload-zone:hover{background:#edf4e9}.upload-icon{font-size:28px;line-height:1}.upload-zone strong{font-size:13px}.upload-zone small{font-size:11px;color:var(--muted)}.photo-preview{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:10px}.photo-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#dde7da}.photo-item img{width:100%;height:100%;object-fit:cover}.photo-remove{position:absolute;right:4px;top:4px;border:0;width:21px;height:21px;border-radius:50%;background:rgba(25,41,29,.75);color:#fff;line-height:1;font-size:14px}.consent-line{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--muted);line-height:1.55;margin-top:19px}.consent-line input{margin-top:3px;accent-color:var(--green)}.form-actions{padding:20px 30px;display:flex;justify-content:flex-end;align-items:center;gap:19px}.primary-button{border:0;background:var(--green);color:#fff;padding:12px 17px;border-radius:9px;font-size:13px;font-weight:600;box-shadow:0 4px 11px rgba(41,107,79,.18)}.primary-button:hover{background:var(--green-dark)}.primary-button span{margin-left:10px}.form-message{font-size:12px;padding:0 30px;color:var(--red)}.form-message.success{color:var(--green)}.admin-card{text-align:center;padding:38px 32px;max-width:460px}.admin-lock{width:55px;height:55px;display:grid;place-items:center;border-radius:18px;background:#edf3e8;color:var(--green);font-size:30px;margin:0 auto 15px}.admin-card h2{margin:0;font-size:21px}.admin-card>p{font-size:12px;color:var(--muted);margin:6px 0 24px}.admin-card form{text-align:left}.admin-card .primary-button{width:100%}.admin-console{max-width:980px;margin:auto}.admin-toolbar{display:flex;justify-content:space-between;align-items:end;margin-bottom:21px}.admin-toolbar h2{font-size:25px;margin:7px 0 0}.queue-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:15px}.queue-tab{border:0;background:transparent;color:var(--muted);padding:10px 14px;font-size:12px;border-bottom:2px solid transparent}.queue-tab.active{border-color:var(--green);color:var(--green-dark);font-weight:600}.queue-tab b{font-size:10px;background:#e8eee6;color:var(--green);padding:2px 6px;border-radius:8px;margin-left:4px}.admin-queue{display:flex;flex-direction:column;gap:12px}.review-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;display:flex;gap:15px;align-items:flex-start}.review-card .review-body{flex:1}.review-card h3{margin:0;font-size:15px}.review-card p{margin:7px 0 0;color:var(--muted);font-size:12px}.review-card img{width:86px;height:72px;object-fit:cover;border-radius:8px}.review-actions{display:flex;gap:7px;margin-top:11px}.review-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 10px;font-size:11px}.review-actions .approve{background:#edf4eb;border-color:#c9ddc7;color:var(--green)}.review-actions .reject{color:var(--red)}.drawer-overlay,.modal-overlay{position:fixed;z-index:2000;inset:0;background:rgba(22,34,25,.32);display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}.drawer{width:min(560px,100%);height:100%;overflow:auto;background:var(--paper);padding:25px 25px 45px;box-shadow:-12px 0 45px rgba(18,35,23,.18);position:relative}.drawer-close{position:absolute;right:18px;top:16px;border:0;width:34px;height:34px;border-radius:9px;background:#edf2ec;color:var(--ink);font-size:23px;line-height:1}.detail-cover{height:210px;background:linear-gradient(135deg,#c0d4c3,#718d78);border-radius:15px;overflow:hidden;display:grid;place-items:center;margin:23px 0 17px}.detail-cover img{width:100%;height:100%;object-fit:cover}.detail-cover span{font-size:60px;color:rgba(255,255,255,.6)}.detail-title{font-size:28px;letter-spacing:-.04em;margin:0 42px 4px 0}.detail-sub{color:var(--muted);font-size:12px;margin:0}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.detail-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px}.detail-stat strong{display:block;font-size:17px}.detail-stat small{color:var(--muted);font-size:10px}.detail-block{margin-top:24px}.detail-block h3{font-size:14px;margin:0 0 11px}.observation{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;margin-bottom:9px}.observation-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.observation-head strong{font-size:12px}.observation-head time{font-size:10px;color:var(--muted)}.observation p{font-size:12px;margin:8px 0 0;color:#566157}.photo-strip{display:flex;gap:7px;overflow:auto;margin-top:10px}.photo-strip img{width:72px;height:62px;border-radius:7px;object-fit:cover;flex:none}.drawer-footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.modal-overlay{justify-content:center;align-items:center;padding:18px}.modal{width:min(460px,100%);background:var(--paper);border-radius:17px;padding:29px 25px 25px;position:relative;box-shadow:var(--shadow)}.modal h2{font-size:23px;margin:7px 0}.modal>p{font-size:12px;color:var(--muted);margin:0 0 20px}.modal .form-message{padding:0;margin-bottom:10px}.toast{position:fixed;left:50%;bottom:88px;transform:translate(-50%,15px);background:#1f2c22;color:#fff;border-radius:9px;padding:10px 15px;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:3000;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}
@media(max-width:860px){.topbar{padding:0 18px;height:67px}.desktop-nav{display:none}.view{padding:24px 16px 38px}.hero-strip{align-items:flex-start;gap:18px;flex-direction:column}.hero-strip h1{font-size:37px}.hero-stats{text-align:left;gap:22px}.hero-stats strong{font-size:24px}.explore-grid{display:flex;flex-direction:column}.map-card{min-height:300px;order:2}.map-card #map{min-height:300px}.list-panel{order:1;min-height:0;padding:19px 12px}.view-toggle{display:none}.spot-list{max-height:none}.safety-note{padding:0 8px}.mobile-nav{position:fixed;display:flex;z-index:1000;left:0;right:0;bottom:0;height:68px;background:rgba(255,255,255,.96);border-top:1px solid var(--line);justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(12px)}.mobile-nav a{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#889289;font-size:10px}.mobile-nav a span{font-size:22px;line-height:1}.mobile-nav a.active{color:var(--green);font-weight:600}.page-heading{margin:0 auto 20px}.page-heading .back-link{margin-bottom:20px}.form-section{padding:23px 18px}.form-actions{padding:18px}.form-message{padding:0 18px}.field-grid{grid-template-columns:1fr;gap:0}.photo-preview{grid-template-columns:repeat(3,1fr)}.location-picker{align-items:flex-start;flex-direction:column}.location-picker .outline-button{width:100%}.admin-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.review-card{flex-wrap:wrap}.review-card img{order:-1;width:100%;height:130px}.drawer{padding:18px 17px 40px}.detail-cover{margin-top:28px}.filter-row{display:grid;grid-template-columns:1fr 1fr}.filter-row .pill-button{grid-column:1/-1}.hero-stats{order:2}.search-wrap{height:46px}}
@media(min-width:861px){.mobile-nav{display:none!important}}

/* 管理台：让审核信息更容易扫读，操作按钮在触屏上也有足够点击面积。 */
.admin-card{position:relative;border-top:4px solid var(--green);padding-top:34px}
.admin-card .field-label{margin-bottom:18px}
.admin-login-note{border-top:1px solid var(--line);margin:24px 0 -4px;padding-top:14px;color:var(--muted);font-size:11px;line-height:1.6}
.admin-console{max-width:1040px}
.admin-toolbar{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 18px rgba(30,59,43,.05);margin-bottom:15px;align-items:center}
.admin-toolbar h2{font-size:27px;letter-spacing:-.03em}
.admin-toolbar-note{margin:7px 0 0;color:var(--muted);font-size:12px}
.admin-toolbar .outline-button{min-height:40px;padding:0 15px}
.queue-tabs{background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;margin-bottom:15px;gap:2px;overflow-x:auto;scrollbar-width:none}
.queue-tabs::-webkit-scrollbar{display:none}
.queue-tab{border:0;border-radius:8px;padding:10px 14px;min-height:40px;white-space:nowrap;transition:background .18s,color .18s}
.queue-tab:hover{background:#f1f5ef;color:var(--green-dark)}
.queue-tab.active{background:#edf4eb;border-bottom:0}
.queue-tab b{min-width:20px;display:inline-block;text-align:center}
.admin-queue{gap:13px}
.review-card{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr);gap:18px;padding:18px;border-radius:15px;box-shadow:0 3px 12px rgba(30,59,43,.035);transition:border-color .18s,box-shadow .18s}
.review-card-no-photo{grid-template-columns:minmax(0,1fr)}
.review-card:hover{border-color:#b9cfb8;box-shadow:0 7px 18px rgba(30,59,43,.08)}
.review-card:focus-within{border-color:#8eb39a;box-shadow:0 0 0 3px rgba(74,131,93,.12)}
.review-card .photo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;align-content:start}
.review-card .photo-strip img{width:100%;height:82px;border-radius:9px;object-fit:cover;background:#edf2eb}
.review-card .photo-strip img:first-child{grid-column:1/-1;height:116px}
.review-body{min-width:0}
.review-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.review-card h3{font-size:16px;line-height:1.35;letter-spacing:-.015em}
.review-status{display:inline-flex;align-items:center;flex:none;border-radius:999px;padding:4px 8px;background:#edf3e8;color:var(--green);font-size:10px;line-height:1.2}
.review-status-pending,.review-status-open{background:#fff2df;color:#a46025}
.review-status-rejected,.review-status-removed{background:#fbece8;color:var(--red)}
.review-status-needs_info{background:#fff4e5;color:#a46025}
.review-card p{font-size:13px;line-height:1.65;margin:9px 0 0;color:#58645a}
.review-card p strong{color:var(--ink);font-weight:600}
.review-empty-note{color:#98a198!important;font-style:italic}
.review-card .spot-meta{margin-top:7px;line-height:1.6}
.review-card .review-actions{border-top:1px solid #edf0ec;margin-top:15px;padding-top:13px;gap:8px;flex-wrap:wrap}
.review-actions button{min-height:38px;padding:8px 13px;border-radius:8px;font-size:12px;transition:background .18s,border-color .18s,transform .18s}
.review-actions button:hover{transform:translateY(-1px);border-color:#abc4aa;background:#f4f8f2}
.review-actions .approve:hover{background:#e1efdf;border-color:#aacba7}
.review-actions .reject:hover{background:#fcedea;border-color:#e5b5aa}
.admin-console .empty-state{background:#fff;border:1px dashed var(--line);border-radius:14px}
@media(max-width:620px){
  .admin-card{padding:29px 20px 24px}
  .admin-console{margin-left:-2px;margin-right:-2px}
  .admin-toolbar{padding:17px 15px;gap:15px}
  .admin-toolbar h2{font-size:23px}
  .admin-toolbar .outline-button{width:100%}
  .queue-tabs{margin-left:0;margin-right:0}
  .queue-tab{padding-left:12px;padding-right:12px}
  .review-card{display:flex;flex-direction:column;gap:13px;padding:14px}
  .review-card .photo-strip{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
  .review-card .photo-strip img,.review-card .photo-strip img:first-child{height:92px;grid-column:auto}
  .review-title-row{align-items:flex-start}
  .review-status{font-size:10px;padding:4px 7px}
  .review-actions button{flex:1;min-width:calc(33.333% - 6px)}
}
.custom-marker{background:transparent;border:0}.custom-marker span{display:block;width:18px;height:18px;border-radius:50% 50% 50% 0;background:var(--green);border:3px solid #fff;box-shadow:0 2px 7px rgba(26,68,44,.35);transform:rotate(-45deg)}
.location-actions{display:flex;align-items:center;gap:10px;flex:none}.location-security-note{margin:0 2px 8px;padding:9px 11px;border-radius:8px;background:#fff4e8;color:#8d5a2a;font-size:11px;line-height:1.5}.location-security-note a{color:var(--green);text-decoration:underline}@media(max-width:860px){.location-actions{width:100%;justify-content:space-between}.location-actions .outline-button{width:auto}.location-actions .text-button{padding:8px 0}}

.location-security-note strong,.location-security-note span{display:block}.location-security-note strong{margin-bottom:4px;font-size:13px}.location-security-note{font-size:12px;padding:12px 14px}.location-actions{flex-wrap:wrap;justify-content:flex-end}.location-actions button{min-height:44px}.location-picker{align-items:flex-start}.location-copy{flex:1}.location-copy small{line-height:1.7}button:disabled{opacity:.65;cursor:wait}.mini-map{height:280px;z-index:0}.selecting-location{cursor:crosshair;outline:3px solid #7ba17a;outline-offset:2px}.map-help,.coordinate-fallback p{font-size:12px;color:var(--muted)}.coordinate-fallback{padding:12px 0 0;border-top:1px solid var(--line);font-size:12px}.coordinate-fallback summary{cursor:pointer;color:var(--green);padding:6px 0}button:focus-visible,a:focus-visible{outline:3px solid #80ab8f;outline-offset:3px}@media(max-width:860px){.location-actions{justify-content:space-between;gap:8px}.filter-row #manual-nearby{grid-column:1/-1}.mini-map{height:270px}}

.browse-toggle{display:flex!important;width:max-content;margin:0 0 12px auto;gap:3px}.browse-toggle .toggle{min-height:40px;padding:7px 13px;font-size:12px}.explore-grid[data-layout="list"] .map-card,.explore-grid[data-layout="map"] .list-panel{display:none}.explore-grid[data-layout="list"],.explore-grid[data-layout="map"]{grid-template-columns:minmax(0,1fr)}.draft-message{padding:12px 18px;background:#edf4eb;color:var(--green-dark);font-size:12px;line-height:1.7}.draft-message button{margin-left:12px}.feedback-target-name{display:block;font-size:16px;margin:4px 0}

/* Shared visual refresh: clearer hierarchy and quieter surfaces. */
body{background:radial-gradient(circle at 8% -8%,rgba(214,231,204,.42),transparent 32%),var(--paper)}
.topbar{position:sticky;top:0;z-index:900;background:rgba(247,248,245,.9);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(31,41,34,.04)}
.brand-mark{box-shadow:0 5px 12px rgba(30,81,59,.2)}
.hero-strip{margin:0 0 24px;padding:32px 34px;border:1px solid #dce8d9;border-radius:24px;background:linear-gradient(115deg,#edf5e9 0%,#f8faf6 58%,#e9f1e4 100%);box-shadow:0 10px 28px rgba(30,59,43,.06)}
.hero-strip h1{margin-top:10px}
.hero-stats{padding:11px 0 4px 25px;border-left:1px solid #cbdcc8}
.toolbar{padding:14px 16px 16px;margin:0 0 19px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.72);box-shadow:0 5px 18px rgba(22,51,37,.035)}
.search-wrap{box-shadow:none}
.filter-row select,.outline-button,.pill-button{transition:border-color .18s,box-shadow .18s,transform .18s,background .18s}
.filter-row select:hover,.outline-button:hover{border-color:#a9c4a9;box-shadow:0 3px 10px rgba(43,75,54,.08);transform:translateY(-1px)}
.pill-button:hover{background:#e1eddd;border-color:#b8d0b3;transform:translateY(-1px)}
.browse-toggle{margin-bottom:14px}
.map-card{border:1px solid #d8e3d5}
.list-panel{box-shadow:var(--shadow)}
.spot-card{transition:border-color .2s,transform .2s,box-shadow .2s}
.primary-button,.icon-button{transition:background .18s,box-shadow .18s,transform .18s}
.primary-button:hover,.icon-button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(41,107,79,.22)}
.form-card{box-shadow:0 16px 38px rgba(30,59,43,.08)}
.form-section-title{padding-bottom:2px}
.step-number{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#edf4eb;padding:0;font-size:10px;flex:none}
.form-section h2{letter-spacing:-.02em}
.upload-zone{transition:border-color .18s,background .18s,box-shadow .18s}
.upload-zone:hover{border-color:#7da681;box-shadow:inset 0 0 0 1px rgba(125,166,129,.18)}

/* Mobile interaction polish: keep controls inside the viewport and make the
   map/list switch discoverable without sacrificing the compact layout. */
@media(max-width:860px){
  .app-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom));}
  .hero-strip{padding:24px 20px;margin-bottom:18px;border-radius:18px;}
  .hero-stats{padding:0;border-left:0;}
  .browse-toggle{display:flex!important;width:100%;margin:0 0 12px;gap:3px;}
  .browse-toggle .toggle{flex:1;min-height:44px;padding:8px 9px;font-size:12px;}
  .explore-grid[data-layout="list"],.explore-grid[data-layout="map"]{display:flex;}
  .explore-grid[data-layout="list"] .list-panel,.explore-grid[data-layout="map"] .map-card{display:block;}
  .filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .filter-row select,.filter-row button{width:100%;min-width:0;}
  .filter-row #manual-nearby{grid-column:1/-1;}
  .map-card{min-height:320px;}
  .map-card #map{min-height:320px;}
  .map-legend{left:8px;right:8px;bottom:8px;padding:9px 10px;}
  .map-legend .text-button{min-height:30px;padding:5px 4px;}
  .location-actions button{min-height:46px;}
  .location-actions .text-button{min-height:46px;padding:10px 8px;}
  .form-actions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:5;background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(10px);flex-wrap:wrap;justify-content:space-between;gap:10px;}
  .form-actions .primary-button{min-height:46px;flex:1;min-width:190px;}
  .form-actions .text-button{min-height:46px;padding:10px 6px;}
  .mobile-nav{height:68px;padding-bottom:env(safe-area-inset-bottom);}
  .mobile-nav a{min-height:56px;padding-top:6px;}
  .mobile-nav a span{font-size:23px;}
}

/* Final interaction polish: consistent focus, touch targets and narrow-screen
   wrapping. These rules only style existing controls and do not affect map
   layers or application event hooks. */
:root{--focus-ring:0 0 0 3px rgba(74,131,93,.18);--control-height:44px}
::selection{background:#dbead5;color:var(--green-dark)}
input::placeholder,textarea::placeholder{color:#9aa49b;opacity:1}
.search-wrap:focus-within{border-color:#8eb39a;box-shadow:var(--focus-ring)}
.filter-row select:focus-visible,.outline-button:focus-visible,.pill-button:focus-visible,.toggle:focus-visible,.queue-tab:focus-visible{outline:0;box-shadow:var(--focus-ring);border-color:#8eb39a}
.filter-row select,.outline-button,.pill-button{min-height:var(--control-height)}
.primary-button{min-height:var(--control-height);padding-inline:17px}
.hero-strip>div:first-child{min-width:0;max-width:68ch}
.hero-strip p{max-width:52ch;line-height:1.7}
.hero-stats strong{font-variant-numeric:tabular-nums}
.map-legend{line-height:1.4;min-height:40px}
.list-panel,.form-card,.admin-toolbar{min-width:0}
.spot-card h3,.review-card h3,.detail-title{overflow-wrap:anywhere}
.spot-meta span{overflow-wrap:anywhere}
.upload-zone:focus-within{border-color:#7da681;background:#f5faf3;box-shadow:var(--focus-ring)}
.upload-zone strong{line-height:1.35}
.photo-preview{align-items:stretch}
.photo-item{min-width:0;aspect-ratio:1/1}
.photo-item img{display:block}
.photo-remove{width:32px;height:32px;display:grid;place-items:center}
.form-actions{gap:12px}
.form-actions .primary-button{white-space:nowrap}
.mobile-nav a{min-width:0}
.mobile-nav a span{font-variant-numeric:tabular-nums}
@media(max-width:860px){
  .form-card{overflow:visible}
  .view{overflow-x:clip}
  .topbar{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .hero-strip{width:100%;overflow:hidden}
  .hero-strip p{font-size:13px;line-height:1.65}
  .toolbar{padding:12px}
  .search-wrap{padding-inline:12px}
  .filter-row{gap:8px}
  .map-card{border-radius:16px}
  .map-legend{font-size:10px;gap:6px}
  .map-legend .text-button{white-space:nowrap}
  .form-card{border-radius:16px}
  .form-section-title{gap:10px}
  .form-section-title p{line-height:1.55}
  .location-picker{padding:12px}
  .location-copy{align-items:flex-start}
  .photo-preview{gap:8px}
  .photo-remove{width:34px;height:34px}
  .form-actions{margin-inline:-18px;padding-inline:18px}
  .form-actions .primary-button{min-width:0;flex:1}
}
@media(max-width:380px){
  .view{padding-left:12px;padding-right:12px}
  .hero-strip{padding-inline:16px}
  .hero-strip h1{font-size:33px}
  .hero-stats{gap:15px}
  .hero-stats strong{font-size:22px}
  .browse-toggle .toggle{font-size:11px;padding-inline:6px}
  .form-section{padding-inline:14px}
  .form-actions{margin-inline:-14px;padding-inline:14px}
  .form-actions .text-button{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}

.page-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:13px;color:var(--muted);font-size:12px}
.page-controls p{margin:0}
.page-controls p:empty{display:none}
.page-controls:has(p:empty):not(:has(button:not(.hidden))){margin:0}
.observation-meta{margin-top:6px}
.observation-report{display:block;margin:4px 0 0 auto}

.spot-map-card{align-self:start;min-height:0;width:100%;background:#f7faf6}
.spot-map-card #map{height:clamp(410px,58vh,620px);min-height:0;background:#e1e8de}
.custom-marker{display:grid;place-items:center}
.leaflet-marker-icon.custom-marker:focus-visible{outline:2px solid var(--green-dark);outline-offset:1px;border-radius:50%}
.map-actions,.map-results-bar,.map-region{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.map-actions,.map-results-bar{padding:10px 14px;background:#fff}
.map-results-bar{justify-content:space-between;min-height:48px;color:var(--muted);font-size:13px}
.map-results-bar p,.tile-message p{margin:0}
.map-region{width:fit-content;padding:2px 12px;margin-bottom:10px;border:1px solid #d5e4d1;border-radius:10px;background:#eef5eb;color:var(--green-dark);font-size:13px}
.map-region .text-button,.tile-message .text-button{min-height:40px;padding-inline:6px;text-decoration:underline;text-underline-offset:2px}
.tile-message{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px;color:#795928;font-size:12px}
.tile-message:has(p:not(:empty)){padding:6px 12px;background:#fff4e3}
.tile-message p:empty,#mini-map.hidden + .tile-message{display:none}
.spot-map-card .leaflet-control-attribution,.mini-map .leaflet-control-attribution{font-size:11px;line-height:1.4}
@media(max-width:860px){
  .spot-map-card{order:0}
  .spot-map-card #map{height:clamp(290px,54svh,440px)}
  .map-actions,.map-results-bar{padding:9px 11px}
  .map-actions button,.map-results-bar button,.tile-message button,.map-region button{min-height:44px}
}
