@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--paper:#f7f6f1;--ink:#193833;--muted:#7e8b83;--line:#e4e5dc;--green:#315d4a;--lime:#d2e66d;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px var(--sans);-webkit-font-smoothing:antialiased}.app-shell{max-width:1060px;margin:auto;padding:0 58px 100px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-weight:700;font-size:20px;letter-spacing:-.7px;display:flex;align-items:center;gap:8px}.brand-mark{width:29px;height:29px;border-radius:9px 9px 9px 2px;background:var(--green);color:var(--lime);display:grid;place-items:center;font:italic 700 21px var(--serif)}.brand-period{color:#a0b85c;margin-left:-8px}.top-actions{display:flex;align-items:center;gap:17px}.location-label{font-size:11px;color:var(--muted)}.location-label i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7aa36d;margin-right:5px}.avatar{border:0;border-radius:50%;width:34px;height:34px;background:#e4d8c2;color:#72513e;font-weight:700}.view{display:none;padding:42px 0 18px}.view.active{display:block}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#819087;margin:0 0 9px}.page-heading h1{font:500 41px/1.15 var(--serif);letter-spacing:-1px;margin:0}.page-heading h1 em{color:#799159;font-weight:500}.icon-button{border:1px solid var(--line);background:none;border-radius:50%;width:38px;height:38px;color:var(--ink);font-size:18px}.map-wrap{position:relative}.map-art{height:350px;border-radius:15px;overflow:hidden;position:relative;background-color:#e8ebdf;background-image:linear-gradient(30deg,transparent 49.5%,#dfe4d7 50%,transparent 51%),linear-gradient(118deg,transparent 48%,#dfe4d7 48.5%,transparent 49.5%),linear-gradient(0deg,transparent 48%,#edf0e9 49%,transparent 51%);background-size:205px 145px,250px 200px,130px 110px}.map-art:before,.map-art:after{content:"";position:absolute;background:#dce7d2;border-radius:40%}.map-art:before{width:190px;height:110px;right:4%;top:7%}.map-art:after{width:125px;height:73px;left:18%;bottom:8%}.road{position:absolute;height:9px;background:#f7f6ef;border:1px solid #e4e3d7;z-index:1;border-radius:10px}.ra{width:120%;left:-10%;top:43%;transform:rotate(-15deg)}.rb{width:110%;left:-4%;top:71%;transform:rotate(12deg)}.rc{width:80%;left:13%;top:17%;transform:rotate(68deg)}.river{position:absolute;width:130%;height:18px;left:-15%;top:58%;border-block:2px solid #c5d9d4;transform:rotate(-24deg);z-index:2}.map-label{position:absolute;z-index:3;color:#9da89b;font-size:8px;letter-spacing:1px;font-weight:700}.l1{top:23%;left:33%}.l2{top:48%;left:69%}.l3{top:78%;left:28%}.map-pin{position:absolute;z-index:4;display:flex;align-items:center;gap:5px;padding:5px 8px 5px 5px;border:1px solid #b7cf9a;background:white;border-radius:20px;box-shadow:0 3px 10px #294c3020;cursor:pointer}.p1{left:38%;top:32%}.p2{left:70%;top:65%}.p3{left:20%;top:70%}.faces{display:flex}.faces b{height:20px;width:20px;display:grid;place-items:center;border-radius:50%;background:#e5d3b8;color:#735640;border:1.5px solid white;font-size:8px;margin-right:-5px}.faces b:nth-child(2){background:#d6e1c2;color:#476243}.faces b:nth-child(3){background:#e7ccbb}.pin-dot{height:20px;width:20px;border-radius:50%;display:grid;place-items:center;background:var(--lime);font-size:11px}.you{position:absolute;top:49%;left:54%;z-index:4;text-align:center}.you i{display:block;height:14px;width:14px;margin:auto;border:3px solid white;background:#6b91cb;border-radius:50%;box-shadow:0 0 0 6px #6b91cb35}.you small{font-size:7px;color:#62706a;font-weight:700}.map-legend{position:absolute;right:12px;top:12px;z-index:5;background:white;padding:8px;border-radius:8px;box-shadow:0 2px 8px #26382012;font-size:9px;color:#617268}.map-legend i{display:inline-block;height:6px;width:6px;background:#84a659;border-radius:50%}.map-legend button{border:0;background:none;color:#667c5e;font-size:14px}.nearby-card{position:absolute;z-index:6;bottom:-20px;left:50%;transform:translateX(-50%);width:min(530px,93%);height:66px;background:white;border:1px solid #e8e7df;border-radius:11px;display:flex;align-items:center;padding:9px 13px;box-shadow:0 8px 25px #304c3516;text-align:left;color:var(--ink);cursor:pointer}.place-emoji{width:40px;height:40px;background:#f5eddf;border-radius:9px;display:grid;place-items:center;font-size:20px;margin-right:11px}.near-copy{flex:1;display:grid;gap:5px}.near-copy b{font-size:12px}.near-copy b small{font:9px var(--sans);color:#6d8b62;background:#edf2e5;padding:3px 5px;border-radius:10px}.near-copy>span{font-size:9px;color:var(--muted)}.distance{font-size:10px;color:var(--muted);margin-right:10px}.section-title{display:flex;align-items:flex-end;justify-content:space-between;margin:52px 0 15px}.section-title h2,.settings h2{font:500 20px var(--serif);margin:0}.section-title .eyebrow{margin-bottom:7px}.text-button{border:0;background:none;color:#698454;font:600 11px var(--sans)}.mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:780px}.mini-card{display:flex;align-items:center;gap:10px;padding:9px;background:white;border:1px solid #ecebe3;border-radius:10px;text-align:left;color:var(--ink);cursor:pointer}.food{height:48px;width:52px;border-radius:7px;display:grid;place-items:center;font-size:22px}.coffee{background:#e9e2d5}.noodles{background:#f1dfce}.mini-card>span:nth-child(2){display:grid;gap:6px;flex:1}.mini-card b{font-size:11px}.mini-card small{font-size:9px;color:var(--muted)}.mini-card>i{font-style:normal;color:#839080}.feed-toolbar{display:flex;justify-content:space-between;align-items:center;color:#839087;font-size:11px;margin-bottom:14px}.pill{border:1px solid var(--line);background:none;border-radius:20px;padding:8px 11px;font:10px var(--sans);color:var(--ink)}.feed-list{display:grid;gap:10px;max-width:780px}.feed-card{display:flex;gap:13px;padding:14px;background:white;border:1px solid #ecebe3;border-radius:11px;cursor:pointer}.feed-photo{height:64px;width:68px;flex:none;border-radius:8px;display:grid;place-items:center;font-size:27px}.feed-body{flex:1}.feed-meta{font-size:9px;color:#829087;margin:0 0 6px}.feed-meta b{color:var(--ink)}.feed-body h3{font-size:13px;margin:0 0 4px}.feed-body p{font:italic 12px var(--serif);color:#758078;margin:0}.feed-foot{display:flex;justify-content:space-between;margin-top:9px;font-size:9px;color:#87928c}.rating{padding:4px 7px;background:#edf2e5;color:#65814f;border-radius:12px;font-weight:700}.page-heading>#step-count{font-size:13px;color:var(--green)}#step-count small{font-weight:400;color:#a3aaa4}.progress{height:3px;background:#e5e7df;margin:-9px 0 26px}.progress i{display:block;height:100%;width:33%;background:#93a96f;transition:.3s}.add-panel{max-width:650px;background:white;border:1px solid #eae9e1;border-radius:13px;padding:27px 30px;min-height:280px}.step-label{font-size:9px;letter-spacing:1px;font-weight:700;color:#869289}.add-panel h2{font:500 25px var(--serif);margin:10px 0 5px}.add-panel>p{font-size:11px;color:#89938c;margin:0 0 20px}.search-input,.review{font:12px var(--sans);border:1px solid #e2e5dc;border-radius:8px;padding:12px;width:100%;outline-color:#a9bf8c;color:var(--ink)}.result{display:flex;align-items:center;gap:10px;padding:11px 3px;border-bottom:1px solid #f0f0eb;cursor:pointer}.result:hover{background:#fafbf7}.result-emoji{width:36px;height:36px;border-radius:8px;background:#f0ecdf;display:grid;place-items:center}.result b{font-size:11px}.result small{display:block;font-size:9px;color:#8a948e;margin-top:4px}.selected{background:#f3f5ec;border-radius:8px;padding:11px;font-size:11px;font-weight:700;margin:13px 0}.ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.rating-option{background:white;border:1px solid var(--line);padding:12px 6px;border-radius:8px;cursor:pointer;color:var(--ink);font:600 11px var(--sans)}.rating-option.selected{background:#eff4e7;border-color:#9eb77c}.rating-option span{display:block;font-size:17px;margin-bottom:5px}.review{resize:vertical;min-height:78px}.form-actions{display:flex;justify-content:space-between;margin-top:20px}.primary,.secondary{border:0;border-radius:8px;background:var(--green);color:white;padding:12px 18px;font:600 11px var(--sans);cursor:pointer}.primary:disabled{background:#b9c2b4}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.profile{display:flex;align-items:center;gap:12px;padding:17px;background:white;border:1px solid #eae9e1;border-radius:11px}.profile-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#e4d8c2;color:#72513e;font:18px var(--serif)}.profile>div:nth-child(2){flex:1}.profile h2{font:500 16px var(--serif);margin:0 0 4px}.profile p,.subtle{font-size:10px;color:#87918b;margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin:13px 0 20px;padding:14px;background:#eff1e8;border-radius:10px}.stats div{text-align:center;border-right:1px solid #dfe3d7;display:grid;gap:5px}.stats div:last-child{border:0}.stats b{font:19px var(--serif)}.stats small{font-size:9px;color:#829087}.settings{padding:20px;background:white;border:1px solid #eae9e1;border-radius:11px}.settings-head{display:flex;justify-content:space-between;align-items:center}.settings-head .eyebrow{margin-bottom:6px}.settings h2{font-size:18px}.subtle{line-height:1.6;margin:8px 0 12px}.switch{position:relative;width:39px;height:22px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#d9ddd4;border-radius:15px;cursor:pointer}.switch span:before{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:white;transition:.2s}.switch input:checked+span{background:#86a06d}.switch input:checked+span:before{transform:translateX(17px)}.setting-row{display:flex;align-items:center;justify-content:space-between;min-height:58px;border-top:1px solid #f0f0ea;gap:10px}.setting-row b{display:block;font-size:11px}.setting-row small{display:block;color:#909992;font-size:9px;margin-top:4px}.setting-row select,.times input{border:1px solid #e5e7df;border-radius:6px;padding:7px;color:#50634f;font:10px var(--sans);background:white}.times{display:flex;gap:5px}.times input{width:77px}.friends-row{width:100%;padding:0;text-align:left;background:white;border-right:0;border-bottom:0;border-left:0;color:var(--ink);cursor:pointer}.friends-row>span:last-child{font-size:17px;color:#71875d}.privacy{margin:13px 0;padding:13px;background:#eef1e7;border-radius:9px;color:#687768;font-size:10px}.privacy p{margin:5px 0 0;line-height:1.5}.native-note{font-size:9px;color:#929b94;line-height:1.5}.bottom-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;height:68px;padding:7px max(calc((100% - 450px)/2),24px) max(7px,env(safe-area-inset-bottom));background:white;border-top:1px solid #e9e9e1;display:flex;align-items:center;justify-content:space-between}.nav-item{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:52px;color:#9ca59e;font:500 9px var(--sans);cursor:pointer}.nav-item span{font-size:19px;line-height:22px}.nav-item.active{color:var(--green)}.nav-add{width:46px;height:46px;border:0;border-radius:14px;background:var(--green);color:var(--lime);font-size:25px;transform:translateY(-8px);box-shadow:0 5px 12px #274a3928;cursor:pointer}.toast{position:fixed;z-index:30;left:50%;bottom:84px;transform:translate(-50%,12px);background:#244637;color:white;border-radius:8px;padding:11px 15px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}.backdrop{position:fixed;z-index:25;inset:0;background:#14241f70;display:none;align-items:center;justify-content:center;padding:20px}.backdrop.open{display:flex}.modal{position:relative;background:var(--paper);width:min(420px,100%);border-radius:15px;padding:24px;box-shadow:0 20px 70px #10251c44}.close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:22px;color:#68776e;cursor:pointer}.hero{height:120px;border-radius:10px;background:linear-gradient(130deg,#dce4d0,#f1e4cd);display:grid;place-items:center;font-size:44px;margin-bottom:16px}.modal h2{font:500 25px var(--serif);margin:0 0 6px}.detail-sub{font-size:10px;color:#849087}.detail-actions{display:flex;gap:8px;margin:15px 0}.detail-actions button{flex:1}.friend-pick{padding:10px 0;border-top:1px solid #e6e6dd;font-size:10px;color:#68766f;line-height:1.5}.modal .primary{width:100%;margin-top:14px}@media(min-width:850px){.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:410px;border:1px solid #e9e9e1;border-bottom:0;border-radius:14px 14px 0 0}.map-art{height:390px}.add-panel{margin-left:0}}@media(max-width:650px){.app-shell{padding:0 19px 95px}.topbar{height:64px}.location-label{font-size:0}.view{padding:28px 0 16px}.page-heading{margin-bottom:19px}.page-heading h1{font-size:34px}.map-art{height:300px;margin:0 -3px}.nearby-card{width:calc(100% - 8px);height:62px}.section-title{margin-top:49px}.section-title h2{font-size:18px}.mini-cards{gap:7px}.mini-card{gap:6px;padding:7px}.food{height:41px;width:39px}.mini-card b{font-size:10px}.mini-card small{font-size:8px}.mini-card>i{display:none}.add-panel{padding:22px 18px}.times input{width:69px}.feed-card{padding:11px;gap:9px}.feed-photo{width:55px;height:57px}}
.friend-choice{display:inline-flex;align-items:center;gap:5px;margin:3px 5px 7px 0;padding:6px 8px;border:1px solid var(--line);border-radius:15px;background:#fff;font-size:10px}.picker-title{font-size:10px;color:#809087;margin:10px 0 5px}.feed-photo img{width:100%;height:100%;object-fit:cover;border-radius:8px}

/* Interactive map refresh */
:root{--paper:#f4f5f1;--ink:#18352f;--muted:#78857e;--line:#e1e6df;--green:#275a49;--lime:#dce99b}
body{background:#f4f5f1;color:#18352f;font-family:"DM Sans",Arial,sans-serif}
.app-shell{max-width:1160px;padding:0 52px 105px}
.topbar{height:74px;border-color:#dfe5de}
.view{padding-top:34px}
.page-heading{margin-bottom:20px}
.page-heading h1{font:600 38px/1.13 "DM Sans",Arial,sans-serif;letter-spacing:-1.5px}
.page-heading h1 em{font-style:normal;color:#47836d;font-weight:600}
.eyebrow{color:#718279;letter-spacing:1.3px}
.map-wrap{margin-top:8px;position:relative;isolation:isolate;border:1px solid #dce3dc;border-radius:18px;background:#e8eee8;box-shadow:0 8px 28px #23403012}
.map-canvas{height:510px;min-height:420px;width:100%;border-radius:18px;overflow:hidden;background:#e6ece6;z-index:1}
.leaflet-container{font:12px "DM Sans",Arial,sans-serif;background:#e6ece6}
.leaflet-control-attribution{font-size:9px!important;background:#ffffffd9!important}
.leaflet-control-zoom a{color:#244c3f!important}
.map-searchbar{position:absolute;z-index:700;top:15px;left:15px;width:min(610px,calc(100% - 30px));height:51px;display:flex;align-items:center;gap:10px;padding:5px 6px 5px 14px;border:1px solid #e4e8e1;border-radius:12px;background:#fff;box-shadow:0 6px 20px #18352f20}
.map-searchbar>span{font-size:23px;color:#65796f}
.map-searchbar input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font:500 13px "DM Sans",Arial,sans-serif}
.map-searchbar input::placeholder{color:#9aa69f}
.map-searchbar button,.map-search-submit{height:38px;padding:0 15px;border:0;border-radius:8px;background:#285b49;color:white;font:600 11px "DM Sans",Arial,sans-serif;cursor:pointer}
.map-locate{position:absolute;z-index:700;right:16px;top:78px;width:40px;height:40px;border:1px solid #e1e6df;border-radius:10px;background:#fff;color:#285b49;font-size:20px;box-shadow:0 3px 12px #18352f1c;cursor:pointer}
.map-search-status{position:absolute;z-index:650;top:76px;left:16px;max-width:min(440px,calc(100% - 78px));padding:7px 10px;border-radius:8px;background:#ffffffed;color:#52645a;font-size:10px;box-shadow:0 2px 8px #18352f14}
.map-search-status[data-kind=error]{color:#9a3e31}
.map-search-results{position:absolute;z-index:900;top:116px;left:16px;width:min(440px,calc(100% - 32px));max-height:310px;overflow:auto;border:1px solid #e0e5de;border-radius:12px;background:#fff;box-shadow:0 10px 30px #18352f24}
.map-search-results[hidden]{display:none}
.geo-result{width:100%;display:flex;align-items:center;gap:11px;padding:12px;border:0;border-bottom:1px solid #eef0eb;background:#fff;color:var(--ink);text-align:left;cursor:pointer}
.geo-result:last-child{border-bottom:0}
.geo-result:hover{background:#f3f7f0}
.geo-result b{display:block;font-size:11px}
.geo-result small{display:block;margin-top:4px;color:#77857d;font-size:9px;line-height:1.4}
.result-marker{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:#edf3e8;color:#46785d;font-size:17px}
.result-message{padding:12px;margin:0;color:#75827b;font-size:10px;line-height:1.5}
.map-legend{display:none}
.nearby-card{left:16px;bottom:16px;transform:none;width:min(400px,calc(100% - 32px));height:68px;border-color:#e4e9e1;border-radius:12px;box-shadow:0 6px 22px #18352f20}
.map-source-note{max-width:850px;margin:9px 2px 0;color:#78857e;font-size:9px;line-height:1.6}
.map-source-note a{color:#426b58}
.section-title{margin-top:30px}
.mini-card,.feed-card,.settings,.profile{border-color:#e1e6df;border-radius:12px;box-shadow:0 2px 8px #18352f08}
.mini-card:hover,.feed-card:hover{border-color:#b9cbb8;transform:translateY(-1px)}
.mini-card,.feed-card{transition:transform .16s,border-color .16s}
.mini-card b,.feed-body h3{color:#1a3931}
.bottom-nav{box-shadow:0 -3px 18px #18352f0c}
.goodfolk-pin{width:54px;height:42px;display:flex;align-items:center;justify-content:center;gap:2px;padding:4px 6px;border:2px solid white;border-radius:13px;background:#285b49;box-shadow:0 4px 14px #18352f42;transform:rotate(-3deg)}
.goodfolk-faces{display:flex}
.goodfolk-faces i{width:20px;height:20px;margin-right:-5px;border:1px solid white;border-radius:50%;display:grid;place-items:center;background:#e7d7bc;color:#644f3c;font:700 8px "DM Sans",Arial,sans-serif;font-style:normal}
.goodfolk-faces i:nth-child(2){background:#d8e4c9;color:#405f49}
.goodfolk-faces i:nth-child(3){background:#efcfbb;color:#774c3c}
.goodfolk-pin>b{min-width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#dce99b;color:#31523f;font-size:8px}
.map-popup b,.map-popup span{display:block}
.map-popup b{margin-bottom:4px;color:#18352f;font-size:12px}
.map-popup span{max-width:220px;color:#6d7d73;font-size:10px;line-height:1.4}
.popup-open{margin-top:8px;border:0;background:#285b49;color:white;border-radius:6px;padding:6px 9px;font-size:10px;cursor:pointer}
.selected small{display:block;margin-top:5px;color:#75827b;font-weight:400;line-height:1.4}
#results{max-height:280px;overflow:auto}
.result-message{padding:9px 2px;color:#78857e;font-size:10px}
#search-map-add{display:inline-flex;align-items:center;justify-content:center;margin:8px 0;padding:0 13px}
.empty-state{color:#77857d}
@media(max-width:700px){
 .app-shell{padding:0 16px 98px}
 .topbar{height:64px}
 .view{padding-top:26px}
 .page-heading h1{font-size:32px}
 .map-canvas{height:64vh;min-height:420px;max-height:620px}
 .map-wrap{margin-left:-3px;margin-right:-3px;border-radius:15px}
 .map-canvas{border-radius:15px}
 .map-searchbar{top:10px;left:10px;width:calc(100% - 20px);height:48px}
 .map-searchbar input{font-size:11px}
 .map-searchbar button{padding:0 10px}
 .map-locate{top:67px;right:11px}
 .map-search-status{top:66px;left:11px;max-width:calc(100% - 70px)}
 .map-search-results{top:105px;left:10px;width:calc(100% - 20px)}
 .nearby-card{left:10px;bottom:11px;width:calc(100% - 20px)}
 .map-source-note{font-size:8px}
}
/* Add-pick results should behave like full-width app controls, not browser-default buttons. */
#results .result{width:100%;min-height:58px;display:flex;align-items:center;gap:10px;padding:9px 4px;border:0;border-bottom:1px solid #eef0eb;background:transparent;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
#results .result:hover,#results .result.chosen{background:#f5f7f0}
#results .result-emoji{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:9px;background:#f0ecdf;font-size:18px}
#results .result small{display:block;color:#849087;font-size:10px;margin-top:4px}
#results .result-message{margin:8px 0}

.add-search-row{display:flex;align-items:stretch;gap:9px;margin-bottom:9px}
.add-search-row .search-input{min-width:0;flex:1}
.add-search-row .map-search-submit{flex:none;margin:0;white-space:nowrap}
@media(max-width:480px){.add-search-row{flex-wrap:wrap}.add-search-row .map-search-submit{width:100%}}

/* Clear, consistent actions on the profile and friend dialog. */
.invite-friends{width:min(260px,100%);min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0 20px;padding:0 18px;border:0;border-radius:10px;background:#285b49;color:#fff;font:600 13px "DM Sans",Arial,sans-serif;box-shadow:0 4px 12px #18352f1a;cursor:pointer;transition:background .16s,transform .16s}
.invite-friends:hover{background:#204b3b;transform:translateY(-1px)}
.invite-friends:focus-visible,.edit-profile:focus-visible,.friends-row:focus-visible{outline:3px solid #b9cf8f;outline-offset:2px}
.edit-profile{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:#315d4a;font-size:16px;cursor:pointer}
.friends-row{padding:0 2px;background:transparent;color:var(--ink);font:inherit}
.friends-row:hover{background:#fafbf7}
.invite-row{display:flex;align-items:stretch;gap:9px;margin:16px 0 8px}
.invite-row .search-input{min-width:0;flex:1}
.invite-row .primary{width:auto;flex:none;margin:0;white-space:nowrap}
.friend-list{display:grid;gap:8px;max-height:280px;overflow:auto;margin-top:14px}
.friend-row{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e7e9e2;border-radius:10px;background:#fff;color:var(--ink)}
.friend-row>span:nth-child(2){flex:1;min-width:0}
.friend-row b{font-size:12px}
.friend-row small{display:block;margin-top:3px;color:#849087;font-size:10px}
.friend-avatar{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e8e0cf;color:#72513e;font-weight:700}
@media(max-width:480px){.invite-friends{width:100%}.invite-row{flex-wrap:wrap}.invite-row .search-input,.invite-row .primary{width:100%}}
/* Polished native controls and review actions. */
.location-action{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid transparent;border-radius:999px;background:#f1f3eb;color:#526c57;font:500 11px "DM Sans",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.location-action:hover{border-color:#d6dfcd;background:#eaf0e3}
.location-action:disabled{opacity:.65;cursor:wait}
.add-panel select,.settings select,.times input{min-height:40px;padding:9px 34px 9px 12px;border:1px solid #dfe5db;border-radius:9px;background-color:#fff;color:#29463b;font:500 12px "DM Sans",Arial,sans-serif}
.add-panel select,.settings select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23556c5c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}
.visibility-select{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;color:#53665c;font-size:12px}
.visibility-select select{min-width:170px}
.times input{padding:8px 10px;cursor:pointer}
.photo-upload{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;margin-top:14px;padding:10px 13px;border:1px dashed #bdcbb7;border-radius:10px;background:#f7f9f4;color:#315d4a;font-size:12px;font-weight:600;cursor:pointer}
.photo-upload:hover{border-color:#86a06d;background:#f0f4e9}
.photo-upload input{max-width:100%;color:#6e7d72;font:11px "DM Sans",Arial,sans-serif}
.photo-upload input::file-selector-button{margin-right:9px;padding:8px 11px;border:0;border-radius:7px;background:#e7eee0;color:#315d4a;font:600 11px "DM Sans",Arial,sans-serif;cursor:pointer}
#photo-preview img{display:block;max-width:220px;max-height:160px;margin-top:10px;border-radius:10px;object-fit:cover}
.rating-option{min-height:78px;transition:background .15s,border-color .15s,transform .15s}
.rating-option:hover{border-color:#aac093;background:#f7f9f4;transform:translateY(-1px)}
.rating-option.selected{background:#edf3e6;border-color:#89a56c;box-shadow:inset 0 0 0 1px #89a56c}
.confirm-review{margin:16px 0;padding:13px 14px;border:1px solid #e2e8dc;border-radius:10px;background:#f5f7f0;color:#53645b;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.confirm-actions button{width:auto;margin:0;min-height:42px}
.field-label{display:block;margin:16px 0 7px;color:#53665c;font-size:11px;font-weight:600}
.danger-button,.remove-friend,.delete-pick{border:1px solid #ecd4ce;border-radius:8px;background:#fff8f6;color:#963f32;font:600 11px "DM Sans",Arial,sans-serif;cursor:pointer}
.danger-button{padding:11px 15px}
.danger-button:hover,.remove-friend:hover,.delete-pick:hover{background:#f9e9e5}
.remove-friend{flex:none;padding:8px 10px}
.delete-pick{flex:none;padding:6px 9px}
.feed-foot{gap:10px;align-items:center}
.feed-foot>span:first-child{flex:1;min-width:0}
.modal .search-input{min-height:44px}
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b9cf8f;outline-offset:2px}
@media(max-width:650px){.location-action{gap:5px;padding:6px 7px}.location-action span{font-size:10px}.visibility-select{align-items:flex-start;flex-direction:column;gap:7px}.visibility-select select{width:100%}.confirm-actions{flex-direction:column-reverse}.confirm-actions button{width:100%}.photo-upload{align-items:flex-start;flex-direction:column;width:100%}.photo-upload input{width:100%}}

/* Sign-in and account state. */
.auth-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow-y:auto;padding:24px;background:var(--paper)}
.auth-screen[hidden]{display:none!important}
.auth-card{width:min(440px,100%);padding:30px;border:1px solid #e3e7dc;border-radius:18px;background:#fff;box-shadow:0 18px 60px #19383312}
.auth-brand{margin-bottom:28px}
.auth-card>.eyebrow{margin-bottom:8px}
.auth-card h1{margin:0;font:500 32px/1.15 var(--serif);color:var(--ink)}
.auth-intro{margin:8px 0 22px;color:#748279;font-size:13px;line-height:1.5}
.auth-setup-note{margin:0 0 17px;padding:13px;border:1px solid #e4e9dc;border-radius:10px;background:#f5f7f0;color:#53665c;font-size:12px;line-height:1.55}
.auth-setup-note code{font-size:11px;color:#315d4a}
#auth-form{display:grid;gap:12px}
#auth-form[hidden]{display:none!important}
#auth-form [hidden]{display:none!important}
#auth-form label{display:grid;gap:6px;color:#52655b;font-size:11px;font-weight:600}
#auth-form input{min-height:44px;width:100%;padding:11px 12px;border:1px solid #dfe5db;border-radius:9px;background:#fff;color:var(--ink);font:13px var(--sans)}
#auth-form input:focus{border-color:#8ea977;outline:3px solid #b9cf8f55}
.auth-message{min-height:18px;margin:0;color:#718077;font-size:11px;line-height:1.5}
.auth-message[data-kind=error]{color:#a24437}
.auth-message[data-kind=success]{color:#38694c}
.auth-submit,.google-login{width:100%;min-height:44px}
.google-login{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dfe4dc;border-radius:9px;background:#fff;color:#263d34;font:600 12px var(--sans);cursor:pointer}
.google-login:hover{background:#f7f8f5}
.google-icon{width:18px;height:18px;flex:none}
.auth-mode-toggle{display:block;width:100%;padding:10px;border:0;background:transparent;color:#557451;font:600 11px var(--sans);cursor:pointer}
.auth-mode-toggle:hover{text-decoration:underline}
.auth-privacy{display:block;margin-top:17px;color:#89948c;font-size:10px;line-height:1.5;text-align:center}
.auth-screen button:disabled,.auth-screen input:disabled{opacity:.55;cursor:not-allowed}
.account-email{margin:0 0 9px;color:#738178;font-size:11px}
.account-sign-out{min-height:40px;padding:9px 14px}
@media(max-width:480px){.auth-screen{padding:14px}.auth-card{padding:23px 18px;border-radius:15px}.auth-card h1{font-size:28px}}
