:root{--ink:#252936;--muted:#737784;--paper:#f5f4f1;--accent:#7c59b4;--line:#e5e4e8;--green:#e5f0d5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:3px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a,input,textarea,select,summary{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9272c9;outline-offset:3px}main{max-width:900px;margin:auto;padding:40px 24px}.small{color:var(--muted);font-size:12px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
html:has(body.photo-app),body.photo-app{height:100%;overflow:hidden}.photo-app main{width:100%;max-width:none;padding:0;margin:0}.workspace,.map-panel,.map-stage,#map{width:100%;height:100dvh}.map-stage{position:relative}.photo-app main>.sample,.photo-app main>.sources,.photo-app main>#agent{display:none}#map{background:#e8e7e4;position:relative;z-index:0;isolation:isolate}
.map-brand{position:absolute;left:28px;top:25px;z-index:700;display:flex;align-items:center;gap:11px;text-decoration:none;color:#353646;text-shadow:0 1px 6px #fff;letter-spacing:-.025em;font-weight:700;font-size:20px}.map-brand small{display:block;font-size:10px;font-weight:500;color:#707384;letter-spacing:.12em;text-transform:uppercase;margin-top:1px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#292c3b;color:#f2ecfc;text-shadow:none;font-size:30px;box-shadow:0 4px 15px #34304222}
.photo-app[data-map-style=night] .map-brand{color:#f8f4ff;text-shadow:0 1px 6px #000}.photo-app[data-map-style=night] .map-brand small{color:#d2c5de}.map-toolbar{position:absolute;top:25px;right:25px;z-index:750}.map-toolbar>summary{list-style:none;cursor:pointer;padding:11px 16px;border-radius:14px;background:#fffefbe8;border:1px solid #fff;box-shadow:0 4px 20px #38304412;font-size:12px;font-weight:600;display:flex;gap:8px;align-items:center;backdrop-filter:blur(16px)}summary::-webkit-details-marker{display:none}.map-toolbar>summary>span{font-size:20px;line-height:1}.map-tools{position:absolute;right:0;top:55px;padding:10px;border-radius:18px;border:1px solid white;background:#fffdf8f2;box-shadow:0 12px 32px #3830441f;backdrop-filter:blur(18px);width:240px}.map-styles{display:grid;grid-template-columns:1fr 1fr;gap:6px}.map-styles button{border:1px solid #e9e7ec;border-radius:10px;padding:9px;background:#fff;font-size:12px;color:#6a6b78}.map-styles button[aria-pressed=true]{background:#ede7f8;border-color:#c3b0e0;color:#614391}.center-map{position:absolute;z-index:700;right:25px;top:84px;width:42px;height:42px;border:1px solid #fff;border-radius:13px;font-size:24px;background:#fffefbe8;color:#424654;box-shadow:0 4px 15px #38304412}
.scout-pin{background:none;border:0}.scout-pin svg{display:block;width:48px;height:56px;overflow:visible;filter:drop-shadow(0 3px 4px #28334240)}.rank-pin{background:none;border:0}.rank-pin span{display:grid;place-items:center;width:34px;height:34px;border:2px solid white;border-radius:50% 50% 50% 0;background:#584277;color:white;font-weight:700;box-shadow:0 4px 14px #48335444}
.scout-dock{position:absolute;z-index:800;left:50%;bottom:28px;transform:translateX(-50%);width:min(760px,calc(100% - 48px));padding:22px 24px 14px;border:1px solid #ffffff;border-radius:28px;background:linear-gradient(125deg,#fffef9f7,#faf9fdf5);box-shadow:0 18px 70px #38304424,0 3px 12px #3830440b;backdrop-filter:blur(28px);max-height:calc(100dvh - 130px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d5cce0 transparent}.dock-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.dock-title{display:flex;align-items:center;gap:12px}.ai-spark{display:grid;place-items:center;width:38px;height:38px;color:#8c66b8;background:linear-gradient(145deg,#eee5f9,#f6f1fa);border-radius:13px;font-size:24px}.dock-kicker{display:block;font-size:9px;letter-spacing:.15em;font-weight:650;color:#8b819b}.dock-title h2{margin:2px 0 0;font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.045em}.dock-actions{display:flex;gap:7px;flex-shrink:0}.dock-actions button{border:1px solid #e4e1e8;border-radius:11px;background:#fff9;padding:8px 11px;font-size:11px;font-weight:550;color:#5c5966;white-space:nowrap}.dock-actions #toggle-results:disabled{display:none}.dock-actions button:hover:not(:disabled){background:#eee7f7;border-color:#d8c9e9}
.map-controls{position:static;margin:0 0 12px;border:0;background:transparent}.map-controls>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:11px;font-weight:600;color:#77717f;padding:10px 0;border-top:1px solid #ece8ef}.filter-symbol{font-size:17px;color:#8e75ad}.expand-symbol{font-size:18px;margin-left:auto;color:#8e75ad}#parameter-summary{font-weight:400;color:#9b94a3;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}.map-controls[open] .expand-symbol{transform:rotate(45deg)}#search{padding:4px 0 12px}.search-settings{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:14px;align-items:end}.search-settings label,.coordinate-display>span{display:block;font-size:10px;color:#837b8e;font-weight:550}.search-settings select{margin-top:6px;width:100%;border:1px solid #e3dee9;border-radius:10px;background:#fff;padding:9px 10px;color:#514858;font-size:13px}.coordinate-display output{display:block;margin-top:6px;font:12px/1.5 ui-monospace,monospace;color:#766c82;padding:9px 0}.style-grid{display:flex;flex-wrap:wrap;gap:6px}#photo-styles{border:0;padding:0;margin:15px 0 13px}#photo-styles legend{font-size:11px;color:#837b8e;margin-bottom:8px}.style-choice{display:flex;align-items:center;gap:5px;position:relative;cursor:pointer;border:1px solid #e6e1eb;border-radius:99px;background:#fff8;padding:7px 11px;transition:background .15s,border-color .15s}.style-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.style-choice:has(input:checked){background:#eee6f8;border-color:#bea7da;color:#70459c}.style-choice:focus-within{outline:2px solid #9272c9;outline-offset:2px}.style-choice:hover{border-color:#bea7da}.style-choice strong{font-size:10px;font-weight:550}.style-description{display:none}.mood-icon{font-size:13px;color:#94849f}.manual-action{display:flex;align-items:center;gap:12px}.manual-action button{border:1px solid #d9cbe6;border-radius:10px;padding:8px 12px;background:#f1eaf9;font-size:11px;color:#725196}.manual-action span{font-size:10px;color:#9991a4}#poi-selection{border-top:1px solid #e5dfeb;margin-top:15px;padding-top:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h3{font-size:13px;margin:0}.section-heading p{font-size:11px;color:#8a7e96}.poi-actions{display:flex;gap:5px;margin:6px 0}.poi-actions button{background:#fff;border:1px solid #e5dfeb;border-radius:8px;font-size:10px;padding:5px 9px}#poi-list{max-height:140px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px}.poi-choice{display:flex;align-items:start;gap:6px;font-size:10px;padding:5px;color:#74677f}.poi-choice input{accent-color:#7c59b4}#submit{width:100%;margin-top:10px;background:#36313f;color:#fff;border:0;border-radius:11px;padding:11px;font-size:12px}
.prompt-panel{position:static;border:0;background:none;padding:0;margin:0}#prompt-form{margin:0;border:0;padding:0}.prompt-row{position:relative;display:flex;align-items:center;border:1px solid #e1dbe8;border-radius:18px;background:linear-gradient(115deg,#fff,#f6f2fa);box-shadow:inset 0 1px 2px #5c436906;transition:border-color .15s,box-shadow .15s}.prompt-row:focus-within{border-color:#ad92cc;box-shadow:0 0 0 3px #9272c914}.prompt-row textarea{resize:none;flex:1;min-width:0;width:0;background:transparent;border:0;outline:none;color:#514857;padding:16px 18px;font-size:15px;line-height:1.55;height:82px}.prompt-row textarea::placeholder{color:#aaa0b5}.prompt-row button{flex:0 0 46px;width:46px;height:46px;border:0;border-radius:14px;background:#34313d;color:#fff;margin:0 13px 0 0;box-shadow:0 3px 8px #33283e20;transition:transform .15s,background .15s}.prompt-row button:hover:not(:disabled){transform:translateY(-2px);background:#76529f}.prompt-row button span{font-size:27px;line-height:1}.prompt-row button:disabled{opacity:.45}.dock-foot{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-top:11px}#prompt-status{font-size:10px;line-height:1.5;color:#9a90a3;max-height:45px;overflow:auto}.free-tag{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:8px;color:#878591;letter-spacing:.08em;margin-top:2px}.free-tag i{width:5px;height:5px;border-radius:50%;background:#9ab488}.dock-links{display:flex;align-items:center;gap:12px;border-top:1px solid #eee9f1;margin-top:11px;padding-top:9px;font-size:9px;color:#a99faf}.dock-links span{margin-right:auto}.dock-links a{text-decoration:none}.dock-status{font-size:11px;color:#776688;margin:8px 0 0;max-height:55px;overflow:auto}.dock-status:empty{display:none}.map-notice:empty{display:none}.map-notice{position:absolute;z-index:720;right:24px;top:143px;max-width:310px;font-size:11px;color:#756785;background:#fffcf4e8;border:1px solid white;border-radius:12px;padding:10px 13px;backdrop-filter:blur(20px)}
#results{position:absolute;z-index:780;left:25px;top:94px;width:365px;max-height:calc(100dvh - 430px);overflow:auto;padding:18px;border:1px solid white;border-radius:23px;background:#fffef9f5;backdrop-filter:blur(24px);box-shadow:0 14px 45px #38304426;scrollbar-width:thin}.results-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;letter-spacing:.14em;font-weight:650;color:#95869e}.back-button{border:0;background:#f0e9f7;color:#836295;border-radius:8px;padding:6px 10px;font-size:10px}#results h2{font-size:21px;letter-spacing:-.04em;margin:13px 0}#results>p{font-size:12px;color:#7b6e82}.cards{display:grid;gap:12px}.card{border:1px solid #e7e0eb;border-radius:17px;background:#fff;overflow:hidden}.card img{display:block;width:100%;height:170px;object-fit:cover}.body{padding:14px}.body h3{font-size:15px;line-height:1.3;margin:0 0 10px}.body p{font-size:11px;color:#827389}.body a{font-size:11px;color:#806493}.tag{display:inline-block;font-size:10px;padding:5px 8px;border-radius:8px;background:#f2ebfa;color:#88699f}.GMP-attribution{font-size:13px!important;color:#3f4349!important}.street-view-link{display:block;padding:20px;font-size:13px}.score-details{font-size:11px;border-top:1px solid #e6dfed;padding-top:12px;margin-top:15px}.score-details summary{cursor:pointer}.score-details li{margin-bottom:12px}#results ul{padding-left:18px;font-size:11px;color:#8c8095}#results li a{font-size:11px}.leaflet-control-layers,.leaflet-bar{border:1px solid white!important;border-radius:12px!important;box-shadow:0 4px 20px #38304415!important}.leaflet-control-layers{background:#fffdf8ed!important;color:#74677f;font-size:11px;backdrop-filter:blur(20px)}.leaflet-control-layers label{font-size:11px;margin:5px 0}.leaflet-bar a{color:#74677f!important;background:#fffdf8ed!important}.leaflet-control-zoom a:first-child{border-radius:11px 11px 0 0}.leaflet-control-zoom a:last-child{border-radius:0 0 11px 11px}.leaflet-top.leaflet-right{top:145px;right:15px}.leaflet-bottom.leaflet-right{bottom:15px;right:15px}.leaflet-control-attribution{font-size:9px!important;max-width:300px;color:#8f879a!important}.leaflet-control-attribution a{color:#82738b!important}
@media(max-width:760px){.map-brand{left:16px;top:18px;font-size:17px;gap:9px}.brand-mark{width:32px;height:32px;font-size:26px;border-radius:10px}.map-brand small{font-size:8px}.map-toolbar{top:18px;right:16px}.map-toolbar>summary{padding:8px 11px;font-size:10px;border-radius:11px}.center-map{right:16px;top:64px;width:35px;height:35px;font-size:22px;border-radius:11px}.scout-dock{width:calc(100% - 24px);bottom:max(25px,env(safe-area-inset-bottom));padding:16px 15px 12px;border-radius:23px;max-height:calc(100dvh - 115px)}.dock-heading{gap:8px;margin-bottom:12px;flex-wrap:wrap}.dock-title{gap:8px}.ai-spark{width:30px;height:30px;font-size:20px;border-radius:10px}.dock-kicker{font-size:7px;letter-spacing:.1em}.dock-title h2{font-size:17px}.dock-actions{gap:4px}.dock-actions button{font-size:9px;padding:7px 8px;border-radius:9px}.dock-actions #toggle-results{font-size:9px}.dock-actions{margin-left:auto}.dock-actions #toggle-results:disabled{display:none}.map-controls{margin-bottom:8px}.map-controls>summary{font-size:10px;padding:8px 0;gap:6px}#parameter-summary{font-size:9px;margin-left:0;max-width:52%}.search-settings{grid-template-columns:1fr 1fr;gap:10px}.coordinate-display{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.coordinate-display output{font-size:10px;padding:0;margin:0}.style-grid{gap:5px}.style-choice{padding:6px 9px}.style-choice strong{font-size:9px}.manual-action span{display:none}.prompt-row{border-radius:15px}.prompt-row textarea{height:74px;padding:14px 13px;font-size:16px;line-height:1.4}.prompt-row button{flex-basis:39px;width:39px;height:39px;border-radius:12px;margin-right:10px}.prompt-row button span{font-size:23px}.dock-foot{gap:8px;margin-top:8px}#prompt-status{font-size:9px;max-height:36px}.free-tag{font-size:7px}.dock-links{font-size:8px;margin-top:8px;padding-top:8px;gap:10px}.dock-status{font-size:10px}.leaflet-top.leaflet-right{right:6px;top:108px}.leaflet-bottom.leaflet-right{bottom:8px;right:5px}.leaflet-control-attribution{max-width:calc(100vw - 10px);font-size:8px!important}#results{left:12px;top:83px;width:calc(100% - 24px);max-height:calc(100dvh - 460px);padding:15px;border-radius:20px}.map-notice{top:110px;right:60px;max-width:calc(100% - 85px)}#poi-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}@media(max-height:600px){.scout-dock{bottom:16px;max-height:calc(100dvh - 90px)}#results{top:75px;max-height:calc(100dvh - 300px)}}

/* Compact chat-style composer; settings share its bottom toolbar. */
.scout-dock{width:min(960px,calc(100% - 64px));padding:12px 16px 10px;border-radius:26px;background:#fffffff5;box-shadow:0 10px 40px #302b4026}.prompt-row{border:0;background:transparent;box-shadow:none;border-radius:16px}.prompt-row:focus-within{border:0;box-shadow:none}.prompt-row textarea{height:56px;padding:14px 8px;font-size:16px;line-height:1.5;color:#35313b}.prompt-row textarea::placeholder{color:#8b8790}.prompt-row button{width:36px;height:36px;flex-basis:36px;border-radius:50%;margin:0 2px 0 12px;background:#25232a;box-shadow:none}.prompt-row button span{font-size:25px}.dock-toolbar{position:relative;margin-top:5px}.map-controls{margin:0}.map-controls>summary{border:0;padding:7px 165px 7px 6px;min-height:32px;gap:7px;font-size:11px}.expand-symbol{margin-left:0;font-size:16px;order:-1}#parameter-summary{font-size:11px;max-width:65%;color:#8a8490}.filter-symbol{display:none}.dock-actions{position:absolute;right:0;top:1px;gap:6px}.dock-actions button{padding:7px 10px;border-radius:99px;font-size:11px;background:transparent}.dock-foot{margin-top:4px}.dock-foot:has(#prompt-status:empty){display:none}#prompt-status{font-size:11px;max-height:45px}.dock-links{border:0;margin-top:5px;padding:0 6px;font-size:9px;gap:12px}.dock-links .free-tag{margin-right:0;font-size:8px}.dock-status{margin-top:5px}#search{padding:12px 6px 6px;border-top:1px solid #eeebf0;margin-top:6px}.map-controls[open] .expand-symbol{transform:rotate(45deg)}
@media(max-width:760px){.scout-dock{width:calc(100% - 16px);padding:10px 12px 9px;border-radius:24px}.prompt-row textarea{height:56px;padding:14px 4px;font-size:16px}.prompt-row button{width:34px;height:34px;flex-basis:34px;margin-right:0}.dock-toolbar{margin-top:2px}.map-controls>summary{font-size:10px;padding:6px 78px 6px 2px;gap:5px}#parameter-summary{font-size:9px;max-width:65%}.dock-toolbar:has(#toggle-results:not(:disabled)) .map-controls>summary{padding-right:142px}.dock-actions{margin:0;top:2px;gap:4px}.dock-actions button,.dock-actions #toggle-results{font-size:9px;padding:6px 8px}.dock-links{font-size:8px;gap:9px;padding:0 2px;margin-top:4px}.dock-links .free-tag{font-size:7px}#prompt-status{font-size:10px}#search{padding:10px 2px 4px}.coordinate-display{gap:8px}}

.search-progress{margin:2px 0 12px;padding:16px 18px;background:#f0ebf8;border:1px solid #dfd4ee;border-radius:18px;color:#473356}.progress-heading{display:flex;gap:13px;align-items:center}.progress-heading strong{display:block;font-size:15px;font-weight:650}.progress-heading p{font-size:12px;line-height:1.5;margin:4px 0 0;color:#746083}.progress-spinner,.submit-spinner{display:block;flex-shrink:0;width:23px;height:23px;border:2px solid #cbb9df;border-top-color:#8054b0;border-radius:50%;animation:scout-spin 1s linear infinite}.submit-spinner{width:17px;height:17px;margin:auto;border-color:#ffffff55;border-top-color:white}.progress-steps{display:flex;gap:8px;margin:13px 0 0;padding:0;list-style:none}.progress-steps li{font-size:10px;padding:5px 9px;border-radius:99px;background:#fff7;color:#9d8caa}.progress-steps li[data-state=active]{color:#69418e;background:#e3d4f4;font-weight:650}.progress-steps li[data-state=done]{color:#697b59;background:#e4ebdf}.search-progress[data-state=complete]{background:#edf3e8;border-color:#dbe6d3}.search-progress[data-state=complete] .progress-spinner{animation:none;border:0;width:23px;height:23px;display:grid;place-items:center;color:#607c4d}.search-progress[data-state=complete] .progress-spinner::after{content:'✓';font-size:23px}.search-progress[data-state=error]{background:#fff0ed;border-color:#f0d1c9}.search-progress[data-state=error] .progress-spinner{animation:none;border:0;display:grid;place-items:center;color:#b16b59}.search-progress[data-state=error] .progress-spinner::after{content:'!';font-size:23px}.search-progress:not([data-state=running]) .progress-steps{display:none}.scout-dock:has(.search-progress[data-state=running]) #message,.scout-dock:has(.search-progress[data-state=running]) .dock-foot{display:none}@keyframes scout-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.progress-spinner,.submit-spinner{animation:none}}@media(max-width:760px){.search-progress{padding:13px 12px;border-radius:16px}.progress-heading strong{font-size:14px}.progress-heading p{font-size:11px}.progress-steps{gap:5px}.progress-steps li{font-size:9px;padding:4px 7px}}

.map-controls>summary{white-space:nowrap}#parameter-summary{flex:1;min-width:0}

.photographer-pin{background:transparent;border:0}.photographer-turn{position:absolute;left:8px;top:5px;width:48px;height:56px;transform-origin:24px 35px;filter:drop-shadow(0 3px 3px #33283e66)}.photographer-turn img{position:relative;display:block;z-index:1}.camera-cone{position:absolute;left:-5px;top:-19px;width:58px;height:54px;background:linear-gradient(#9d79d877,#8661be11);clip-path:polygon(50% 100%,0 0,100% 0);border-top:2px solid #76529f}.camera-cone::after{content:'';position:absolute;left:24px;top:2px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:8px solid #75539b}.photo-rank{position:absolute;top:31px;left:21px;z-index:2;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:2px solid white;background:#594076;color:white;font-size:11px;font-weight:700;box-shadow:0 2px 8px #33283e33}.photo-bearing{position:absolute;top:62px;left:10px;min-width:44px;padding:2px 5px;border-radius:8px;background:#fffcf4ed;color:#70528e;text-align:center;font-size:10px;font-weight:650;box-shadow:0 2px 7px #33283e22}.direction-unknown .camera-cone{display:none}.photo-popup{font-size:12px;max-width:230px}.photo-popup p{font-size:11px;margin:8px 0!important;color:#786982}.photo-popup a{display:block;margin-top:10px!important;color:#78549f!important}.popup-shortlist{border:1px solid #dbcce8;background:#eee6f7;color:#68478a;border-radius:9px;padding:8px 10px;font-size:11px}.spot-image-link{position:relative;display:block;text-decoration:none;overflow:hidden}.spot-image-link img{transition:transform .2s}.spot-image-link:hover img{transform:scale(1.03)}.image-open-label{position:absolute;right:10px;bottom:10px;border:1px solid #ffffff77;border-radius:9px;background:#25212bbd;color:white;padding:6px 9px;font-size:10px;backdrop-filter:blur(6px)}.image-unavailable{display:block;min-height:120px;padding:24px;color:#826691;background:#f1ebf5}.card:target{outline:2px solid #a77cce}

.photo-scan-ring{stroke-dasharray:5 5;animation:scan-ring 1.4s ease-in-out infinite;pointer-events:none}.photo-scan-label{border:1px solid #d7c3ee;background:#fcf8ffed;color:#69428d;border-radius:10px;padding:7px 11px;box-shadow:0 4px 18px #6a398b26;font-size:11px}.photo-scan-label::before{border-top-color:#fcf8ffed!important}@keyframes scan-ring{0%,100%{stroke-opacity:.35;fill-opacity:.06;stroke-width:2}50%{stroke-opacity:1;fill-opacity:.24;stroke-width:5}}@media(prefers-reduced-motion:reduce){.photo-scan-ring{animation:none;stroke-dasharray:none}}

.direction-dot{background:none;border:0}.direction-dot>span{position:absolute;inset:0;transform-origin:13px 16px}.direction-dot i{position:absolute;left:7px;top:10px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#795397;box-shadow:0 2px 6px #33283e66}.direction-dot b{position:absolute;left:8px;top:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:10px solid #795397}.direction-dot.no-bearing b{display:none}.direction-dot.no-bearing i{background:#929693}.search-history{position:absolute;right:175px;top:25px;z-index:780}.search-history>summary{list-style:none;padding:12px 15px;border:1px solid white;border-radius:14px;background:#fffefbef;box-shadow:0 4px 20px #38304412;cursor:pointer;font-size:12px;font-weight:600}.search-history>summary span{margin-left:5px;color:#795397}.history-menu{position:absolute;right:0;top:54px;width:340px;max-height:60vh;overflow:auto;padding:14px;border:1px solid white;border-radius:18px;background:#fffdf8f5;box-shadow:0 12px 32px #38304430;backdrop-filter:blur(16px)}.history-select-all{display:flex;gap:9px;align-items:center;padding:5px 0 12px;font-size:12px;border-bottom:1px solid #e2d9e8}.history-item{display:flex;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid #eee7ef}.history-item label,.history-item>.history-copy{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.history-item strong{display:block;font-size:12px;overflow-wrap:anywhere}.history-item small{display:block;font-size:10px;color:#84748b;margin-top:5px}.history-item button{padding:7px 9px;border:1px solid #ddd0e8;border-radius:8px;background:#f4edf9;color:#71508a;font-size:11px}.history-menu input{accent-color:#795397}.history-menu p{font-size:10px}@media(max-width:700px){.search-history{right:78px;top:82px}.history-menu{right:-53px;width:min(340px,calc(100vw - 32px))}}

.history-account{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:12px;font-size:11px}.history-account button{padding:8px;border:1px solid #dacbe8;border-radius:9px;background:#f1e9f8;color:#71508a;font-size:11px}.history-account button:disabled{opacity:.55}

/* Stack the map overlays in reading order on every screen size. */
.map-overlay-controls{position:absolute;top:25px;right:25px;z-index:780;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.map-overlay-controls .search-history,.map-overlay-controls .map-toolbar,.map-overlay-controls .center-map{position:relative;top:auto;right:auto}.map-overlay-controls .center-map{flex:none}.map-overlay-controls .history-menu{right:0;top:calc(100% + 10px)}.map-overlay-controls .map-tools{top:calc(100% + 10px)}
@media(max-width:760px){.map-overlay-controls{top:18px;right:16px;gap:8px}.map-overlay-controls .search-history>summary{padding:9px 11px;font-size:10px;border-radius:11px}}
.map-overlay-controls .leaflet-control{margin:0;float:none;clear:none}.map-overlay-controls .leaflet-control-layers{max-width:calc(100vw - 32px)}

.map-overlay-controls .map-toolbar[open]{z-index:800}

.direction-dot>span{inset:0 auto auto 5px;width:26px;height:32px}.direction-dot i{background:#727887}.direction-dot b{border-bottom-color:#727887}.dot-bearing{position:absolute;top:28px;left:50%;transform:translateX(-50%);padding:2px 4px;border-radius:7px;background:#fffefbf2;color:#535868;font-size:9px;line-height:12px;font-weight:600;white-space:nowrap;box-shadow:0 1px 5px #33283e26}

.map-details{position:relative;z-index:770}.map-details>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:11px 16px;border-radius:14px;background:#fffefbe8;border:1px solid #fff;box-shadow:0 4px 20px #38304412;font-size:12px;font-weight:600;backdrop-filter:blur(16px)}.map-details>summary>span{font-size:20px;line-height:1}.map-detail-menu{position:absolute;right:0;top:calc(100% + 10px);width:235px;max-width:calc(100vw - 32px);padding:14px;border-radius:18px;border:1px solid white;background:#fffdf8f5;box-shadow:0 12px 32px #38304430;backdrop-filter:blur(16px)}.map-detail-menu label{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:12px}.map-detail-menu input{accent-color:#795397;width:15px;height:15px}.map-detail-menu p{font-size:10px;line-height:1.5;color:#84748b;margin:10px 0 0}.map-overlay-controls .map-details[open]{z-index:810}
@media(max-width:760px){.map-details>summary{padding:8px 11px;font-size:10px;border-radius:11px}}

.compose-photo{display:block;width:100%;margin-top:15px;padding:12px;border:1px solid #cdbbdf;border-radius:12px;background:linear-gradient(110deg,#f2eafb,#e9f0e9);color:#65477c;font-weight:650;font-size:12px;cursor:pointer}.photo-studio{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #fff;border-radius:25px;padding:25px;color:#514857;background:#fffdf8;box-shadow:0 24px 100px #30243f66}.photo-studio::backdrop{background:#27213275;backdrop-filter:blur(8px)}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.studio-heading h2{font-size:24px;margin:0}.studio-heading button{border:0;border-radius:10px;padding:9px;background:#efe8f6;color:#725482;cursor:pointer}.studio-inputs{display:flex;gap:12px;margin:18px 0}.studio-inputs img{width:calc(50% - 6px);height:180px;object-fit:contain;border-radius:15px;background:#f1ecf5}.studio-upload{display:grid;gap:10px;margin:16px 0;font-size:13px;font-weight:600}.studio-upload input,.studio-upload textarea{width:100%;padding:12px;border:1px solid #dcd0e5;border-radius:12px;background:#fff;font-size:13px}.studio-upload textarea{min-height:70px;resize:vertical}.studio-generate,.studio-download{display:block;width:100%;padding:14px;border:0;border-radius:14px;background:#72508b;color:white;font-size:14px;font-weight:600;text-align:center;text-decoration:none;cursor:pointer}.studio-generate:disabled{opacity:.5;cursor:default}.studio-status{font-size:13px;line-height:1.6;margin:16px 0}.studio-status.working::before{content:'';display:inline-block;width:13px;height:13px;border:2px solid #d5c5e1;border-top-color:#72508b;border-radius:50%;margin-right:8px;animation:scout-spin 1s linear infinite}.studio-result{width:100%;border-radius:17px;margin:12px 0}.photo-studio [hidden]{display:none!important}.photo-studio .small{font-size:11px;line-height:1.6;color:#887b92}@media(max-width:600px){.photo-studio{padding:19px}.studio-inputs img{height:130px}.studio-heading h2{font-size:20px}}

/* Mobile overlays share space rather than stacking independent panels. */
@media(max-width:760px){
 .map-brand{left:12px;top:calc(12px + env(safe-area-inset-top));font-size:15px;gap:7px}.brand-mark{width:30px;height:30px}.map-brand small{font-size:7px}
 .map-overlay-controls{top:calc(12px + env(safe-area-inset-top));right:12px;gap:6px}
 .map-overlay-controls summary{min-height:40px;align-items:center}
 .map-overlay-controls .center-map{width:40px;height:40px}
 .map-overlay-controls:has(details[open])> :not(details[open]){visibility:hidden}
 .map-overlay-controls details[open]{position:fixed;top:calc(12px + env(safe-area-inset-top));right:12px}
 .map-overlay-controls .map-tools,.map-overlay-controls .map-detail-menu,.map-overlay-controls .history-menu{position:fixed;top:calc(62px + env(safe-area-inset-top));right:12px;width:min(340px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 235px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .history-item span,.history-account span{min-width:0;overflow-wrap:anywhere}.history-item button{flex-shrink:0;min-height:40px}.history-menu input,.map-detail-menu input{flex-shrink:0}
 .map-notice{top:calc(62px + env(safe-area-inset-top));left:12px;right:132px;max-width:none}
 .scout-dock{bottom:calc(20px + env(safe-area-inset-bottom));width:calc(100% - 20px);padding:9px 12px;border-radius:22px;max-height:calc(65dvh - env(safe-area-inset-bottom));overscroll-behavior:contain}
 .prompt-row textarea{height:56px;min-height:56px;padding:12px 2px;font-size:16px}.prompt-row button{width:40px;height:40px;flex-basis:40px;margin-left:8px}
 .dock-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px}.dock-actions{position:static;display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:150px}.dock-actions button,.dock-actions #toggle-results{min-height:36px;font-size:10px;padding:8px}
 .map-controls>summary,.dock-toolbar:has(#toggle-results:not(:disabled)) .map-controls>summary{padding:8px 0;min-height:36px;white-space:normal;flex-wrap:wrap;gap:4px}
 #parameter-summary{flex-basis:100%;margin-left:16px;max-width:100%;font-size:9px;line-height:1.3}
 .search-settings{gap:10px}.search-settings select{font-size:16px;min-height:42px;padding:8px}.coordinate-display{flex-wrap:wrap;gap:4px}.coordinate-display output{overflow-wrap:anywhere}
 .style-choice{min-height:36px}.style-choice strong{font-size:10px}.dock-links{flex-wrap:wrap;gap:5px 9px;line-height:1.4}.dock-links>span:first-child{flex:1;min-width:110px}.dock-links a{padding:3px 0}
 .leaflet-bottom.leaflet-right{bottom:calc(var(--scout-dock-height,155px) + 30px + env(safe-area-inset-bottom));right:2px}.leaflet-control-attribution{max-width:100vw;font-size:7px!important}
 #results{top:auto;left:10px;bottom:calc(20px + env(safe-area-inset-bottom));width:calc(100% - 20px);height:72dvh;max-height:calc(100dvh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:14px;border-radius:22px;overscroll-behavior:contain;z-index:820}
 .results-heading{position:sticky;top:-14px;z-index:3;margin:-14px -14px 0;padding:12px 14px;background:#fffef9f5;backdrop-filter:blur(16px);border-bottom:1px solid #eee7ef}.back-button{min-height:40px;padding:8px 12px;font-size:12px}
 .photo-app:has(#results:not([hidden])) .scout-dock,.photo-app:has(#results:not([hidden])) .map-overlay-controls,.photo-app:has(#results:not([hidden])) .leaflet-control-zoom{display:none}
 .card img{height:auto;aspect-ratio:16/10}.body{padding:14px}.body p,.body a{font-size:12px}.compose-photo{min-height:44px;font-size:13px}
 .photo-studio{width:calc(100vw - 20px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:16px;border-radius:21px;overscroll-behavior:contain}
 .studio-heading{position:sticky;top:-16px;z-index:3;margin:-16px -16px 0;padding:12px 16px;background:#fffdf8;border-bottom:1px solid #eee7ef;gap:8px}.studio-heading h2{font-size:18px;line-height:1.25;min-width:0}.studio-heading button{min-height:40px;flex-shrink:0;font-size:13px}
 .studio-inputs{gap:8px;margin:12px 0}.studio-inputs img{width:calc(50% - 4px);height:130px;min-width:0}.studio-inputs:has(img[hidden]) img:not([hidden]){width:100%;height:145px}
 .studio-upload{font-size:12px;gap:7px;margin:12px 0;overflow-wrap:anywhere}.studio-upload input,.studio-upload textarea{min-width:0;max-width:100%;font-size:16px;padding:10px}.studio-upload input::file-selector-button{font-size:12px;margin-right:7px}.studio-upload textarea{min-height:64px}
 .photo-studio .small{font-size:11px;line-height:1.5}.studio-status{font-size:12px;margin:12px 0;overflow-wrap:anywhere}.studio-generate,.studio-download{min-height:44px;padding:12px;font-size:14px}
 .progress-steps{flex-wrap:wrap}
}
@media(max-width:360px){.map-brand{font-size:13px}.map-brand small{display:none}.map-overlay-controls summary{font-size:9px}.dock-actions{max-width:122px}.dock-actions button,.dock-actions #toggle-results{font-size:9px;padding:7px}.studio-heading h2{font-size:17px}}
@media(max-height:500px) and (max-width:1000px) and (orientation:landscape){
 .scout-dock{bottom:calc(18px + env(safe-area-inset-bottom));width:min(560px,calc(100% - 160px));max-height:calc(100dvh - 85px);left:12px;transform:none;padding:8px 12px}
 .map-overlay-controls{top:12px;right:12px;gap:4px}.map-brand{top:12px;left:12px;font-size:14px}.brand-mark{width:28px;height:28px}
 .photo-app:has(.map-overlay-controls details[open]) .scout-dock{visibility:hidden}
 .map-overlay-controls .map-tools,.map-overlay-controls .map-detail-menu,.map-overlay-controls .history-menu{max-height:calc(100dvh - 85px);overflow:auto}
 #results{top:60px;bottom:18px;height:auto;max-height:calc(100dvh - 78px);left:12px;width:min(560px,calc(100% - 160px))}
 .photo-app:has(#results:not([hidden])) .scout-dock,.photo-app:has(#results:not([hidden])) .map-overlay-controls{display:none}
 .photo-studio{max-height:calc(100dvh - 20px);padding:14px;width:min(600px,calc(100vw - 24px))}.studio-inputs img,.studio-inputs:has(img[hidden]) img:not([hidden]){height:100px}
}
@media(max-width:760px){
 .dock-toolbar{display:block;position:relative}.dock-actions{position:absolute;right:0;top:0}
 .map-controls>summary{padding-right:90px}.dock-toolbar:has(#toggle-results:not(:disabled)) .map-controls>summary{padding-right:152px}
 .photo-app:has(#map-controls[open]) .leaflet-control-zoom,.photo-app:has(#map-controls[open]) .map-overlay-controls .center-map,.photo-app:has(#map-controls[open]) .map-overlay-controls .leaflet-control-layers{display:none}
}

@media(max-width:760px){.photo-studio{max-width:calc(100vw - 20px)}}
@media(max-height:500px) and (max-width:1000px) and (orientation:landscape){
 .map-overlay-controls:has(details[open])> :not(details[open]){visibility:hidden}.map-overlay-controls details[open]{position:fixed;top:12px;right:12px}
 .map-overlay-controls .map-tools,.map-overlay-controls .map-detail-menu,.map-overlay-controls .history-menu{position:fixed;top:62px;right:12px;width:min(340px,calc(100vw - 24px))}
 #results{padding:14px}.results-heading{position:sticky;top:-14px;z-index:3;margin:-14px -14px 0;padding:10px 14px;background:#fffef9f5;border-bottom:1px solid #eee7ef}.back-button{min-height:40px;padding:8px 12px;font-size:12px}
 .studio-heading{position:sticky;top:-14px;z-index:3;margin:-14px -14px 0;padding:10px 14px;background:#fffdf8;border-bottom:1px solid #eee7ef}
}

.studio-styles{min-width:0;border:0;padding:0;margin:16px 0}.studio-styles legend{font-size:13px;font-weight:600;margin-bottom:9px}.studio-style-grid{display:flex;flex-wrap:wrap;gap:7px}.studio-style{display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #ddd0e8;border-radius:99px;background:#fff;cursor:pointer;font-size:12px;min-height:40px}.studio-style input{position:absolute;opacity:0;width:1px;height:1px}.studio-style:has(input:checked){background:#eee5f8;border-color:#a784c3;color:#654182}.studio-style:focus-within{outline:2px solid #9272c9;outline-offset:2px}.studio-styles:disabled{opacity:.6}.studio-styles p{margin:8px 0;line-height:1.5}.studio-styles p:last-child{font-size:10px;color:#998b9f}
@media(max-width:760px){.studio-styles{margin:12px 0}.studio-style-grid{gap:6px}.studio-style{font-size:12px;padding:8px 11px;min-height:40px}}

.selfie-task{position:absolute;z-index:850;top:22px;left:50%;transform:translateX(-50%);width:min(330px,calc(100% - 460px));display:flex;align-items:center;gap:11px;padding:11px 15px;border:1px solid #e3d4f5;border-radius:18px;background:#fcf8fff5;color:#614080;box-shadow:0 7px 26px #65458d26;text-align:left;backdrop-filter:blur(16px)}.selfie-task-copy{min-width:0;flex:1}.selfie-task strong{display:block;font-size:12px;line-height:1.4}.selfie-task small{display:block;font-size:10px;color:#93839f;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selfie-task-spark{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eee1fa;color:#9462c2;font-size:23px;animation:selfie-twinkle 1.8s ease-in-out infinite}.selfie-task[data-state=complete] .selfie-task-spark,.selfie-task[data-state=failed] .selfie-task-spark{animation:none;font-size:18px}.selfie-task[data-state=complete]{border-color:#d4e6c8;background:#f7fcf1;color:#587048}.selfie-task[data-state=complete] .selfie-task-spark{background:#e2efd7;color:#66864f}.selfie-task[data-state=failed]{border-color:#ebd6ce;background:#fff8f4}.selfie-activity-pin{background:none;border:0;pointer-events:auto}.selfie-glow{position:absolute;inset:5px;border:2px solid #a06cda;border-radius:50%;background:radial-gradient(circle,#b993ea1a,#b993ea50);box-shadow:0 0 18px #b58ad960;animation:selfie-halo 2.2s ease-out infinite}.selfie-star{position:absolute;color:#8f5dbb;text-shadow:0 1px 4px white;animation:selfie-twinkle 1.7s ease-in-out infinite}.star-one{left:40px;top:1px;font-size:25px}.star-two{left:1px;top:18px;font-size:23px;animation-delay:.5s}.star-three{left:44px;top:41px;font-size:15px;animation-delay:1s}.selfie-map-tooltip{border:1px solid #dcc7f0;border-radius:10px;background:#fcf8fff5;color:#734d96;box-shadow:0 4px 18px #754c9926;font-size:11px;padding:7px 10px}.selfie-map-tooltip::before{border-top-color:#fcf8fff5!important}@keyframes selfie-twinkle{0%,100%{opacity:.5;transform:scale(.85) rotate(-8deg)}50%{opacity:1;transform:scale(1.12) rotate(8deg)}}@keyframes selfie-halo{0%{transform:scale(.8);opacity:.8}100%{transform:scale(1.45);opacity:.15}}
@media(max-width:760px){.selfie-task{top:calc(62px + env(safe-area-inset-top));left:12px;transform:none;width:calc(100% - 150px);max-width:260px;padding:9px 10px;gap:7px;border-radius:14px}.selfie-task strong{font-size:11px}.selfie-task small{font-size:9px}.selfie-task-spark{width:23px;height:23px;font-size:19px}.photo-app:has(.selfie-task:not([hidden])) .map-notice{top:150px}.photo-app:has(.map-overlay-controls details[open]) .selfie-task{visibility:hidden}}
@media(max-height:500px) and (orientation:landscape){.selfie-task{top:12px;left:50%;transform:translateX(-50%);width:280px}.photo-app:has(.map-overlay-controls details[open]) .selfie-task{visibility:hidden}}
@media(prefers-reduced-motion:reduce){.selfie-task-spark,.selfie-star,.selfie-glow{animation:none}}

/* Keep the brand readable above map labels, especially on small screens. */
.map-brand{background:#fffefb;text-shadow:none;padding:6px 10px 6px 6px;border:1px solid #e9e5ed;border-radius:17px;box-shadow:0 4px 18px #302b4017;white-space:nowrap;gap:8px}
.brand-mark{flex:0 0 auto;line-height:1;box-shadow:none}
.brand-mark svg{display:block;width:24px;height:24px}
.photo-app[data-map-style=night] .map-brand{background:#292c3b;border-color:#454052;text-shadow:none}
@media(max-width:760px){.map-brand{padding:5px 8px 5px 5px;border-radius:14px;gap:7px}.brand-mark svg{width:21px;height:21px}}

.studio-save{display:block;width:100%;min-height:44px;padding:14px;border:0;border-radius:14px;background:#72508b;color:#fff;font-size:14px;font-weight:650;cursor:pointer}.studio-save:disabled{opacity:.6;cursor:wait}.studio-download{margin-top:9px;background:#eee6f5;color:#65477c;border:1px solid #d9c9e5}.studio-save-hint{margin:10px 0 0}.studio-result{-webkit-touch-callout:default;user-select:auto}

#task-section{border-bottom:1px solid #e5ddec;padding-bottom:10px;margin-bottom:10px}#task-section h3{margin:10px 0 6px;font-size:12px}.task-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0}.task-item>span{min-width:0}.task-item strong,.task-item small{display:block;overflow-wrap:anywhere}.task-item strong{font-size:11px}.task-item small{font-size:9px;color:#87758f;margin-top:4px}.task-item button{flex-shrink:0;min-height:36px;padding:6px 10px;border:1px solid #d8cbe3;border-radius:9px;background:#eee6f5;color:#694b80;font-size:11px}

/* Keep the composer a slim input bar; progress must not cover the map. */
.prompt-row textarea{height:46px;min-height:46px;padding:10px 4px;line-height:24px}
.search-progress{margin:0 0 6px;padding:7px 10px;border-radius:12px}
.progress-heading{gap:8px}.progress-heading strong{font-size:12px;line-height:18px}
.progress-heading p,.progress-steps{display:none}
.progress-spinner{width:16px;height:16px}
.search-progress[data-state=complete]{display:none}
.scout-dock:has(.search-progress[data-state=complete]) #message,.scout-dock:has(.search-progress[data-state=error]) #message{display:none}
.search-progress[data-state=error] .progress-heading p{display:block;font-size:11px;max-height:48px;overflow:auto}
@media(max-width:760px){
 .scout-dock{padding:6px 10px;border-radius:20px;bottom:calc(12px + env(safe-area-inset-bottom));max-height:calc(38dvh - env(safe-area-inset-bottom))}
 .scout-dock:has(#map-controls[open]){max-height:calc(65dvh - env(safe-area-inset-bottom))}
 .prompt-row textarea{height:44px;min-height:44px;padding:10px 2px;font-size:16px;line-height:24px}
 .prompt-row button{width:36px;height:36px;flex-basis:36px}
 .dock-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin:0;gap:4px}
 .dock-actions{position:static;max-width:150px;flex-wrap:nowrap;gap:4px}
 .dock-actions button,.dock-actions #toggle-results{min-height:32px;padding:6px 8px}
 .map-controls>summary,.dock-toolbar:has(#toggle-results:not(:disabled)) .map-controls>summary{padding:4px 0;min-height:32px;flex-wrap:nowrap}
 #parameter-summary{display:none}
 #map-controls[open] #parameter-summary{display:block;flex-basis:auto;white-space:nowrap;margin-left:4px}
 .dock-links{display:none}.scout-dock:has(#map-controls[open]) .dock-links{display:flex;margin-top:6px}
 #location-status[data-state=success]{display:none}
 .dock-status{max-height:36px;margin-top:4px;font-size:10px}
 .dock-foot{margin-top:4px}
 .search-progress{padding:5px 8px;margin-bottom:3px}
 .progress-heading strong{font-size:11px;line-height:17px}
 .search-progress[data-state=error] .progress-heading p{max-height:32px}
 .leaflet-bottom.leaflet-right{bottom:calc(var(--scout-dock-height,90px) + 22px + env(safe-area-inset-bottom))}
}
@media(max-width:760px){.prompt-row textarea{white-space:pre;overflow-wrap:normal;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.prompt-row textarea::-webkit-scrollbar{display:none}}

.studio-options{min-width:0;border:0;padding:0;margin:16px 0}.studio-options legend{font-size:13px;font-weight:600;margin-bottom:9px}.studio-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio-options-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}.studio-options-grid select{width:100%;min-width:0;min-height:44px;border:1px solid #ddd0e8;border-radius:12px;padding:9px;background:#fff;color:#514857;font:inherit}.studio-options-grid select:focus-visible{outline:2px solid #9272c9;outline-offset:2px}.studio-options:disabled{opacity:.6}
@media(max-width:760px){.studio-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-options-grid label:last-child{grid-column:1/-1}.studio-options-grid select{font-size:16px}.studio-options{margin:12px 0}}

.saved-photo .studio-result{margin:4px 0 12px}.saved-photo-params{border:1px solid #e8dfed;border-radius:16px;background:#f7f3fa;padding:14px;margin:12px 0 16px}.saved-photo-params h3{font-size:13px;margin:0 0 12px}.saved-photo-params dl{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:10px 14px;margin:0;font-size:12px;line-height:1.5}.saved-photo-params dt{color:#887b92}.saved-photo-params dd{margin:0;color:#514857;overflow-wrap:anywhere;white-space:pre-wrap}.saved-photo .studio-download{box-sizing:border-box}

.saved-photo-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.saved-photo-nav a{flex:1 1 auto;text-align:center;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid #d9c9e5;border-radius:12px;background:#eee6f5;color:#65477c;text-decoration:none;font-size:12px;font-weight:600}.saved-photo-nav a:first-child{background:#72508b;color:#fff;border-color:#72508b}.saved-photo-nav a:focus-visible{outline:2px solid #9272c9;outline-offset:2px}

.place-selfies{margin-top:12px;border:1px solid #ded2e8;border-radius:12px;background:#f7f3fa;color:#65477c}.place-selfies[hidden]{display:none}.place-selfies summary{padding:12px;cursor:pointer;font-size:13px;font-weight:600}.place-selfie-list{display:grid;gap:6px;padding:0 8px 8px}.place-selfie-link{display:grid;gap:4px;width:100%;min-height:44px;padding:10px;text-align:left;border:0;border-radius:8px;background:#fff;color:#65477c;font-size:12px;cursor:pointer}.place-selfie-link small{color:#887b92;font-size:11px}.place-selfie-link:hover{background:#eee6f5}.place-selfie-link:focus-visible{outline:2px solid #9272c9;outline-offset:2px}

.map-account{display:flex;justify-content:flex-end}.map-account button{min-height:44px;padding:10px 16px;border:1px solid #fff;border-radius:14px;background:#fffefbef;color:#65477c;font-size:12px;font-weight:600;box-shadow:0 4px 20px #38304412;backdrop-filter:blur(16px)}.map-account button:disabled{opacity:.65}.history-account{padding-bottom:10px;color:#84748b}@media(max-width:760px){.map-account button{padding:9px 13px;border-radius:11px;font-size:11px}}

.map-overlay-controls{gap:9px}.map-overlay-controls .map-toolbar>summary,.map-overlay-controls .map-details>summary,.map-overlay-controls .search-history>summary,.map-overlay-controls .center-map{border:1px solid #ffffffd9;background:linear-gradient(135deg,#ffffffed,#f1edf9e0);color:#51465f;box-shadow:0 5px 18px #37284d14,inset 0 1px 0 #fff;backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);transition:background .18s,box-shadow .18s}.map-overlay-controls summary:hover,.map-overlay-controls .center-map:hover{background:#f4edff;box-shadow:0 7px 22px #634b8d22}.map-overlay-controls details[open]>summary{background:#eee4fc;border-color:#d6c4ee;color:#67459b}.map-account button{color:#fff;border:1px solid #ffffff66;background:linear-gradient(135deg,#9670ce,#68449f);box-shadow:0 5px 18px #704caa40,inset 0 1px 0 #ffffff40;letter-spacing:.01em;transition:box-shadow .18s,background .18s}.map-account button:hover{background:linear-gradient(135deg,#a17ad7,#7951b0);box-shadow:0 7px 23px #704caa55}.map-account button:focus-visible{outline:3px solid #cbb6f0;outline-offset:3px}.map-toolbar>summary>span svg,.map-details>summary>span svg{display:block;width:20px;height:20px}.map-overlay-controls .leaflet-control-layers{border:1px solid #ffffffd9;border-radius:14px;background:#f8f5fde8;box-shadow:0 5px 18px #37284d14;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}@media(max-width:760px){.map-overlay-controls{gap:6px}.map-overlay-controls .map-toolbar>summary,.map-overlay-controls .map-details>summary{font-size:11px;padding:9px 12px;border-radius:12px}.map-overlay-controls .search-history>summary{border-radius:12px}.map-account button{border-radius:12px;min-height:44px}}@media(prefers-reduced-motion:reduce){.map-overlay-controls summary,.map-overlay-controls .center-map,.map-account button{transition:none}}

.photo-popup .popup-selfie{font-size:12px;margin:10px 0 0;padding:10px 12px;min-height:44px}.photo-popup .place-selfies{margin-top:8px}.photo-popup .place-selfie-link{color:#65477c}

@media(min-width:1100px){#results{width:460px;max-height:calc(100dvh - 118px)}.photo-app:has(#results:not([hidden])) .scout-dock{left:calc(50% + 242px);width:min(900px,calc(100% - 535px))}}

.map-overlay-controls .map-account,.map-overlay-controls .map-toolbar,.map-overlay-controls .map-details,.map-overlay-controls .search-history{width:148px}.map-overlay-controls .map-account button,.map-overlay-controls .map-toolbar>summary,.map-overlay-controls .map-details>summary,.map-overlay-controls .search-history>summary{width:100%;height:44px;display:flex;align-items:center;justify-content:center;padding:9px 10px;font-size:12px;border-radius:14px}@media(max-width:760px){.map-overlay-controls .map-account,.map-overlay-controls .map-toolbar,.map-overlay-controls .map-details,.map-overlay-controls .search-history{width:132px}.map-overlay-controls .map-account button,.map-overlay-controls .map-toolbar>summary,.map-overlay-controls .map-details>summary,.map-overlay-controls .search-history>summary{font-size:11px;border-radius:12px}}

.place-selfie-heading{margin:0;padding:10px 12px;font-size:12px;font-weight:700}.photo-history .history-menu h3{font-size:14px;margin:0 0 6px}.map-overlay-controls .search-history>summary{white-space:nowrap}

@media(max-width:760px){.map-stage:has(.leaflet-popup) .map-overlay-controls{visibility:hidden;pointer-events:none}}

.history-item .photo-place-link{display:block;padding:6px 0;border:0;background:transparent;color:#795397;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-align:left}.history-item .photo-place-link:disabled{color:#887b92;text-decoration:none}.photo-history .history-item{align-items:flex-start}.photo-history .history-item>.history-copy{display:block}.photo-history .history-item>button{flex:none;margin-top:3px}.photo-background-info,.photo-background-coordinates{line-height:1.5}

.place-selfie-empty{margin:0;padding:4px 4px 8px;font-size:11px;line-height:1.5;color:#887b92}

.photo-history-entry{display:block;width:100%;padding:14px 4px;border:0;border-bottom:1px solid #eee7ef;background:transparent;color:#51465f;text-align:left;font-size:13px;font-weight:600;cursor:pointer}.photo-history-entry:hover{color:#795397;background:#f4edf9}.photo-history-entry:focus-visible{outline:2px solid #9272c9;outline-offset:-2px}.saved-photo-background{padding:14px;border:1px solid #ded2e8;border-radius:14px;background:#f7f3fa}.saved-photo-background h3{margin:0 0 8px;font-size:13px}.saved-photo-background .photo-place-link{padding:0;border:0;background:transparent;color:#795397;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer;font-size:14px;font-weight:600}.saved-photo-background p{margin:8px 0}.saved-photo-background a{font-size:12px}

.photo-history-entry strong{display:block}.photo-history-entry small{display:block;margin-top:5px;font-size:10px;font-weight:400;color:#84748b}

.remove-poi{display:block;margin-top:10px;padding:8px 12px;border:1px solid #e4d5d5;border-radius:10px;background:#fff7f5;color:#98635e;font-size:12px;cursor:pointer}.remove-poi:hover{background:#fae9e5}.remove-poi:disabled{opacity:.6;cursor:wait}.popup-photo-preview{margin:10px 0}.popup-photo-preview img{display:block;width:100%;height:140px;object-fit:cover;border-radius:10px}.popup-photo-preview .GMP-attribution{margin:4px 0;font-size:11px!important}.photo-popup{min-width:210px}.photo-popup .remove-poi{width:100%;min-height:36px}.card .remove-poi{min-height:40px}

.poi-view-label{font-size:12px;font-weight:600}.poi-view-controls .small{font-size:10px;line-height:1.4;color:#827389}.popup-photo-preview a{display:block}

.remove-notice{padding:10px;border-radius:10px;background:#f5efdf;color:#796747!important}.remove-undo{border:0;background:none;color:#765393;text-decoration:underline;font-weight:600;cursor:pointer}

.poi-view-label{margin:6px 0 3px}.poi-view-hint{font-size:10px!important;margin:3px 0 9px!important;color:#8c8095}

.popup-actions{display:flex;gap:8px;margin-top:10px}.photo-popup .popup-actions>button{flex:1;width:auto;min-width:0;min-height:36px;margin:0;padding:8px;font-size:11px;cursor:pointer}@media(max-width:760px){.popup-actions{flex-direction:column}.photo-popup .popup-actions>button{width:100%;min-height:40px}}

.history-entry-actions{display:flex;flex-direction:column;gap:5px;flex-shrink:0}
.photo-history-row{display:flex;gap:8px;align-items:center;border-bottom:1px solid #eee7ef}
.photo-history-row .photo-history-entry{flex:1;min-width:0;border-bottom:0}
.history-remove,.photo-history-row .history-remove{padding:7px 9px;border:1px solid #ddd0e8;border-radius:8px;background:#f4edf9;color:#71508a;font-size:11px;cursor:pointer;flex-shrink:0}
