:root{--green:#184c3b;--mint:#e5efe4;--cream:#f7f8f2;--ink:#24342b;--muted:#708077;--orange:#d98e56;--border:#e1e6dc}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d99145;outline-offset:3px}button{border:0;background:none;color:inherit}h1,h2,h3,.brand{font-family:Arial,sans-serif}h1,h2,h3,p{margin-top:0}h1{font-size:42px;line-height:1.15;letter-spacing:-1.8px;font-weight:800}h2{font-size:25px;letter-spacing:-.7px}p{line-height:1.6}.app-shell{max-width:1600px;margin:auto;display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:40px 23px 24px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:800;letter-spacing:-.6px}.brand-icon{background:var(--green);color:#fff;border-radius:13px;display:grid;place-items:center;font-size:33px;width:43px;height:43px;position:relative}.brand-icon span{position:absolute;color:#cadd9e;font-size:24px;right:4px;top:-6px}.brand small{display:block;font:8px Arial;letter-spacing:1.7px;margin-top:6px;color:var(--muted)}.sidebar nav{margin-top:52px;display:grid;gap:10px}.sidebar nav button{padding:14px 12px;text-align:left;border-radius:10px;color:var(--muted);font-size:14px;font-weight:500;display:flex;align-items:center;gap:12px}.sidebar nav button span{font-size:23px;width:20px}.sidebar nav button.active{background:var(--mint);color:var(--green);font-weight:700}.sidebar nav b{margin-left:auto;background:white;border-radius:5px;padding:2px 5px;font-size:13px}.sidebar-note{margin-top:auto;background:#f1f4e9;border-radius:16px;padding:20px 16px}.little-leaf{font-size:32px;color:var(--green)}.sidebar-note h3{font-size:16px;margin:10px 0}.sidebar-note p{font-size:13px;color:var(--muted)}.text-btn{font-size:13px;padding:0;color:var(--green);font-weight:700}.sidebar footer{margin-top:28px;font-size:13px;color:var(--muted);line-height:1.8}.sidebar footer span{color:#9aaba0}main{min-width:0}.topbar{height:94px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.top-label,.eyebrow{font-size:13px;letter-spacing:2px;font-weight:700;color:var(--muted)}.profile-button{display:flex;gap:10px;align-items:center;font-size:13px}.profile-button span{background:#e6ebdd;font-size:23px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%}#content{padding:32px 42px 60px;max-width:1300px;margin:auto}.hero{background:var(--green);color:#fff;border-radius:22px;padding:36px 38px;position:relative;overflow:hidden;min-height:260px;display:flex;align-items:center;justify-content:space-between}.hero-copy{position:relative;z-index:1;max-width:460px}.hero .eyebrow{color:#c1d6b9;display:block;margin-bottom:17px}.hero h1{margin-bottom:16px}.hero p{color:#cfddd2;font-size:14px;max-width:350px;margin-bottom:24px}.hero .primary{background:#e5f1c8;color:var(--green)}.hero-art{width:260px;max-width:36%;position:relative;transform:rotate(-7deg)}.hero-art svg{width:100%;filter:drop-shadow(0 17px 24px #092b2270)}.hero-art .float-note{position:absolute;right:-12px;bottom:12px;background:white;color:var(--green);border-radius:12px;font-size:13px;padding:12px;box-shadow:0 5px 20px #0001;transform:rotate(7deg)}.hero:after{content:'';width:340px;height:340px;border:1px solid #9fcbb32a;border-radius:50%;position:absolute;right:-25px;top:-30px}.primary{background:var(--green);color:white;border-radius:10px;padding:13px 18px;font-size:13px;font-weight:700;display:inline-flex;gap:16px;align-items:center}.secondary{border:1px solid var(--border);background:white;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:600}.target-strip{margin:22px 0 30px;border:1px solid var(--border);border-radius:13px;background:#fff;display:flex;align-items:center;padding:16px 20px;gap:24px}.target-label{font-size:13px;color:var(--muted);min-width:90px}.target-label strong{display:block;color:var(--green);font-size:13px;margin-bottom:4px}.target-stat{font-size:18px;font-weight:700}.target-stat small{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:3px}.target-strip button{margin-left:auto;font-size:13px;color:var(--green);font-weight:700}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 17px}.section-head h2{margin:0}.section-head p{margin:6px 0 0;font-size:13px;color:var(--muted)}.chain-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.chain{border:1px solid var(--border);background:#fff;padding:15px;text-align:left;border-radius:13px;display:flex;gap:12px;align-items:center}.chain.active{border:1.5px solid var(--green);background:#edf3e6}.chain-logo{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font:800 17px Arial;flex-shrink:0}.chain strong{font-size:13px;display:block}.chain small{color:var(--muted);font-size:13px;display:block;margin-top:5px}.tools{display:flex;gap:12px;align-items:center;margin:20px 0 14px}.search{flex:1;position:relative}.search span{position:absolute;left:14px;top:9px;font-size:23px;color:var(--muted)}.search input{width:100%;background:white;border:1px solid var(--border);border-radius:10px;padding:13px 14px 13px 43px;font-size:13px}.tools select{background:white;border:1px solid var(--border);border-radius:10px;padding:12px;font-size:13px;max-width:180px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.chip{border:1px solid var(--border);border-radius:22px;padding:8px 12px;font-size:13px;background:white}.chip.active{background:var(--green);color:#fff;border-color:var(--green)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.meal-card{border:1px solid var(--border);background:white;border-radius:17px;overflow:hidden;position:relative;transition:transform .18s,box-shadow .18s}.meal-card:hover{transform:translateY(-3px);box-shadow:0 9px 28px #2039240b}.card-art{height:165px;background:#eef0e5;position:relative;padding:18px;display:flex;justify-content:center;align-items:center;width:100%}.card-art svg{width:160px;height:120px;filter:drop-shadow(0 9px 8px #34463224)}.card-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.card-art.chipotle{background:#f2e9dc}.card-art.mcd{background:#f8efd9}.match-tag{position:absolute;top:13px;left:12px;color:var(--green);background:#fffdf7;padding:6px 8px;font-size:13px;border-radius:5px;font-weight:700}.save-btn{position:absolute;z-index:2;right:11px;top:10px;border-radius:50%;background:#ffffffed;width:30px;height:30px;font-size:20px;color:var(--green);display:grid;place-items:center}.save-btn.saved{background:var(--green);color:white}.card-body{padding:17px}.restaurant-label{font-size:13px;letter-spacing:1.2px;color:var(--muted);font-weight:700;text-transform:uppercase}.meal-card h3{font-size:15px;line-height:1.4;margin:7px 0 7px;letter-spacing:-.3px}.meal-card .sub{font-size:13px;color:var(--muted);height:33px;line-height:1.5;margin-bottom:15px}.macro-row{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border-top:1px solid #eef0e8;padding-top:13px}.macro-row strong{font-size:17px;font-weight:700}.macro-row small{display:block;font-size:13px;color:var(--muted);margin-top:3px}.macro-row div:nth-child(2) strong{color:var(--green)}.card-footer{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.card-footer span{font-size:13px;color:var(--muted)}.card-footer button{font-size:13px;font-weight:700;color:var(--green);padding:5px}.notice{padding:14px 17px;background:#ecefe4;border-radius:10px;font-size:13px;line-height:1.7;color:#617065;margin-top:25px}.empty{grid-column:1/-1;background:white;border:1px dashed var(--border);border-radius:16px;padding:36px;text-align:center}.empty p{color:var(--muted);font-size:13px;max-width:450px;margin:0 auto 20px}.page-title{margin-top:10px;font-size:34px;margin-bottom:10px}.page-subtitle{color:var(--muted);font-size:14px;margin-bottom:28px}.form-panel{background:#fff;border:1px solid var(--border);border-radius:17px;padding:27px;margin:18px 0}.form-panel h3{font-size:17px;margin-bottom:7px}.form-panel p{font-size:13px;color:var(--muted)}.choices{display:flex;gap:8px;flex-wrap:wrap}.choice{border:1px solid var(--border);border-radius:10px;padding:12px 16px;font-size:13px;background:#fff}.choice.active{border-color:var(--green);background:var(--mint);color:var(--green)}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.field{display:grid;gap:8px;font-size:13px;color:var(--muted)}.field input,.field select{width:100%;background:var(--cream);color:var(--ink);border:1px solid var(--border);border-radius:9px;padding:12px}.field small{font-size:13px}.row-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0}.source-list{display:grid;gap:16px}.source-list article{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px}.source-list h3{margin-bottom:8px}.source-list p{font-size:13px;color:var(--muted)}.source-list a{font-size:13px}.mobile-brand,.mobile-nav{display:none}dialog{border:0;border-radius:22px;background:var(--cream);padding:26px;width:min(650px,calc(100% - 24px));max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#152d2469;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.icon-btn{background:white;border-radius:50%;font-size:25px;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}dialog h2{font-size:30px;line-height:1.2}dialog p{font-size:13px;color:var(--muted)}.stepbar{display:flex;gap:5px;margin:15px 0 26px}.stepbar i{flex:1;background:#dce4d6;height:4px;border-radius:4px}.stepbar i.active{background:var(--green)}.meal-detail-art{height:170px;display:flex;align-items:center;justify-content:center;background:#e9eedd;border-radius:15px}.meal-detail-art svg{height:160px;width:210px}.detail-nutrients{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.detail-nutrients div{background:#fff;border-radius:10px;padding:13px;text-align:center}.detail-nutrients strong{font-size:21px}.detail-nutrients small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.detail-extra{display:flex;gap:20px;font-size:13px;flex-wrap:wrap;margin:15px 0}.builder-options{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:12px 0}.builder-options label{background:white;padding:11px;border-radius:8px;font-size:13px;display:flex;align-items:center;gap:8px}.builder-options input{accent-color:var(--green)}.source-line{font-size:13px;color:var(--muted);line-height:1.7}.source-line a{font-weight:700}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:12px;padding:12px 22px;font-size:13px;z-index:5;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.match-warning{background:#fff0d6;color:#866028;border-radius:10px;padding:12px;font-size:13px;margin:12px 0}.success-note{background:var(--mint);color:var(--green);border-radius:10px;padding:12px;font-size:13px;margin:12px 0}.form-error{color:#a33126;font-size:13px}.reset{color:#955e45}.count-note{font-size:13px;color:var(--muted)}@media(min-width:1400px){.hero-art{width:310px}.card-art{height:190px}}@media(max-width:1100px){.app-shell{grid-template-columns:210px 1fr}.sidebar{padding:32px 18px}#content{padding:26px}.topbar{padding:0 26px}.cards{grid-template-columns:repeat(2,1fr)}.chain-list{grid-template-columns:repeat(2,1fr)}.target-strip{gap:20px}.hero{padding:30px}.hero h1{font-size:36px}.hero-art{max-width:33%}}@media(max-width:760px){.app-shell{display:block}.sidebar{display:none}.topbar{height:73px;padding:0 21px;background:#fff}.top-label{display:none}.mobile-brand{display:block;text-decoration:none;font:800 20px Arial;color:var(--green);letter-spacing:-.8px}.mobile-brand span{color:var(--orange);margin-left:2px}.profile-button{font-size:13px}.mobile-nav{display:flex;position:fixed;bottom:0;background:#fffefa;left:0;right:0;border-top:1px solid var(--border);z-index:3;padding:8px 8px max(8px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:grid;justify-items:center;gap:3px;color:var(--muted);font-size:24px;padding:2px 12px}.mobile-nav button span{font-size:13px}.mobile-nav button.active{color:var(--green)}#content{padding:21px 18px 100px}.hero{padding:27px 24px;min-height:270px;border-radius:18px}.hero-copy{max-width:72%}.hero h1{font-size:31px;letter-spacing:-1px}.hero p{font-size:13px;max-width:240px}.hero .eyebrow{font-size:13px;letter-spacing:1.4px;margin-bottom:15px}.hero-art{position:absolute;width:170px;max-width:none;right:-52px;bottom:22px;opacity:.8}.hero-art .float-note{display:none}.hero .primary{padding:11px 14px;font-size:13px}.target-strip{gap:10px;padding:15px 12px;margin:15px 0 24px;flex-wrap:wrap}.target-label{min-width:70px}.target-stat{font-size:15px;flex:1}.target-strip button{font-size:13px;padding:4px}.target-stat small{font-size:13px}.target-label strong{font-size:13px}.target-label{font-size:13px}.section-head h2{font-size:21px}.section-head p{font-size:13px}.chain-list{gap:9px}.chain{padding:12px;gap:9px}.chain strong{font-size:13px}.chain-logo{width:32px;height:32px;font-size:14px}.tools{gap:8px}.tools select{max-width:130px;font-size:13px;padding:13px 6px}.search input{font-size:13px;padding-left:35px}.search span{left:10px}.cards{gap:11px}.card-art{height:126px;padding:12px}.card-art svg{width:130px;height:100px}.match-tag{font-size:13px;padding:5px;top:10px;left:8px}.save-btn{right:7px;top:7px;width:27px;height:27px}.card-body{padding:12px}.restaurant-label{font-size:13px}.meal-card h3{font-size:13px;min-height:34px;margin-top:7px}.meal-card .sub{font-size:13px;height:30px;margin-bottom:10px}.macro-row strong{font-size:14px}.macro-row small{font-size:13px}.card-footer{gap:2px;margin-top:10px}.card-footer span{font-size:13px}.card-footer button{font-size:13px;white-space:nowrap}.notice{font-size:13px}.page-title{font-size:29px}.form-panel{padding:20px}.fields{grid-template-columns:repeat(2,1fr);gap:12px}.row-actions{flex-wrap:wrap}.choice{padding:10px 12px;font-size:13px}.detail-nutrients{gap:5px}.detail-nutrients div{padding:10px 5px}.detail-nutrients strong{font-size:18px}.detail-nutrients small{font-size:13px}dialog{padding:20px;max-height:88dvh}.builder-options label{font-size:13px}#toast{bottom:90px;width:max-content;max-width:90%}.card-footer{align-items:center}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.meal-detail-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
/* App-oriented shell and official restaurant photography. */
.app-welcome{padding:8px 0 6px;position:relative}.app-welcome h1{font-size:36px;letter-spacing:-1.3px;margin:12px 0 8px}.app-welcome p{font-size:14px;color:var(--muted);margin:0 0 20px}.chain-logo{background:#fff;color:var(--green)}.chain-logo img{width:100%;height:100%;object-fit:contain;padding:3px}.food-photos{display:flex;width:100%;height:100%;justify-content:center;align-items:center;gap:3px}.food-photos img{min-width:0;max-width:100%;object-fit:contain}.food-photos.combination img:first-child{width:65%}.food-photos.combination img:not(:first-child){width:32%}.bowl-photo{height:100%;width:100%;position:relative;overflow:hidden}.bowl-photo img{position:absolute;width:125%;max-width:none!important;height:140%;left:-12%;top:-25%;object-fit:cover!important;object-position:center bottom}.photo-caption{position:absolute;bottom:5px;left:8px;right:8px;font-size:13px;color:#6c5746;text-align:center}.meal-detail-art{position:relative;overflow:hidden}.meal-detail-art .bowl-photo{max-width:380px}.meal-detail-art .photo-caption{font-size:13px}.app-welcome .primary{border-radius:24px}.mobile-nav button.active{background:#edf3e6;border-radius:15px}.mobile-nav button{min-width:64px;min-height:46px}.mobile-nav{box-shadow:0 -5px 20px #20392408}input,select{scroll-margin-top:85px}button{touch-action:manipulation}
@media(max-width:760px){
.topbar{position:sticky;top:0;z-index:3;height:64px;padding-top:env(safe-area-inset-top);border-bottom:0;background:var(--cream)}
#content{padding-top:10px}.app-welcome h1{font-size:28px;margin:9px 0 6px}.app-welcome p{font-size:13px;margin-bottom:14px}.app-welcome .eyebrow{font-size:13px;letter-spacing:1.5px}.app-welcome .primary{font-size:13px;padding:10px 16px}.target-strip{margin-bottom:17px}
.chain-list{display:flex;overflow:auto;scroll-snap-type:x proximity;padding-bottom:5px;gap:8px}.chain{min-width:140px;flex-shrink:0;scroll-snap-align:start;border-radius:15px;padding:11px}.chain small{display:none}.chain-logo{width:31px;height:31px}.chain strong{font-size:13px}
.section-head{margin:19px 0 12px}.section-head h2{font-size:19px}.tools{margin:13px 0}.search input{font-size:13px;height:45px}.tools select{height:45px}.filter-chips{flex-wrap:nowrap;overflow:auto;margin-bottom:16px;padding-bottom:4px}.chip{white-space:nowrap;font-size:13px}
.cards{grid-template-columns:1fr;gap:12px}.meal-card{display:grid;grid-template-columns:36% 1fr;border-radius:18px}.card-art{height:100%;min-height:182px;padding:30px 4px 17px}.card-body{padding:14px 12px}.meal-card h3{font-size:15px;min-height:0;margin:6px 0}.meal-card .sub{font-size:13px;height:auto;min-height:27px;margin-bottom:9px}.macro-row{padding-top:10px}.macro-row strong{font-size:17px}.macro-row small{font-size:13px}.restaurant-label{font-size:13px}.save-btn{top:8px;left:calc(36% - 34px);right:auto}.match-tag{font-size:13px;max-width:calc(100% - 42px);top:11px;left:5px;text-align:left;padding:4px;line-height:1.4}.card-footer span{font-size:13px}.card-footer button{font-size:13px;min-height:30px}.food-photos.combination{flex-direction:column;gap:0}.food-photos.combination img:first-child{width:100%;height:65%}.food-photos.combination img:not(:first-child){width:75%;height:35%}.card-art .bowl-photo img{width:165%;height:115%;left:-32%;top:-15%;object-fit:cover!important}.photo-caption{font-size:13px;line-height:1.2;bottom:7px}
dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:20px 18px max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain}dialog .dialog-header{position:sticky;top:-20px;padding:16px 0;background:var(--cream);z-index:2;border-bottom:1px solid var(--border);margin-bottom:15px}.meal-detail-art{height:210px}.page-title{font-size:27px}.page-subtitle{font-size:13px}.source-list article{padding:20px}.source-list h3{font-size:17px}.mobile-nav{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
}
@media(display-mode:standalone){.topbar{padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top))}}

/* Bright mobile app direction: short, compositor-only motion. */
:root{--green:#147ce5;--mint:#e5f2ff;--cream:#f4f8fd;--ink:#172b46;--muted:#61738b;--orange:#ff941b;--border:#dee8f3}
.app-welcome{position:relative;overflow:hidden;background:linear-gradient(125deg,#0867df,#36a8ff);color:white;border-radius:26px;padding:30px!important;box-shadow:0 12px 32px #147ce522}
.app-welcome .eyebrow,.app-welcome p{color:#e7f5ff}.app-welcome .primary{background:white;color:#0d68ca}.app-welcome:after{content:'🥑';position:absolute;font-size:90px;right:12px;top:10px;transform:rotate(15deg);opacity:.22;pointer-events:none}
.targets{background:#e5f2ff}.meal-card{border-radius:22px!important;box-shadow:0 8px 28px #172b460a}.card-art{background:linear-gradient(140deg,#fff,#eef6ff)!important}.primary{box-shadow:0 5px 14px #147ce526}.chip.active{background:#147ce5;color:white}.chain.active{border-color:#147ce5;background:#e9f4ff}.nearby-panel{border-radius:26px;background:#fff;box-shadow:0 8px 25px #147ce512}.topbar{background:#f4f8fdee}.photo-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:150px}.photo-unavailable .chain-logo{width:65px;height:65px;font-size:25px;background:#e1efff}.photo-unavailable>span{font-size:13px;color:#61738b}
#welcome-dialog{border:0;padding:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;background:linear-gradient(155deg,#0875ed 0%,#38a9ff 65%,#dbf4ff 100%);color:white;overflow:hidden}
#welcome-dialog::backdrop{background:#147ce5}.welcome-copy{position:absolute;inset:21% 20px auto;text-align:center;z-index:1}.welcome-symbol{font-size:90px;filter:drop-shadow(0 15px 15px #00418522);margin-bottom:20px}.welcome-copy>span{font-size:13px;font-weight:800;letter-spacing:3px}.welcome-copy h1{font-size:clamp(38px,9vw,70px);margin:18px 0 12px;line-height:1.06;letter-spacing:-2px}.welcome-copy p{font-weight:800;font-size:24px;margin:0 0 8px}.welcome-copy small{font-size:14px;color:#fff}#welcome-start{position:absolute;bottom:max(35px,env(safe-area-inset-bottom));left:6%;width:88%;padding:21px;border-radius:40px;background:#14243d;color:#fff;font-size:18px;z-index:2}#food-rain{position:absolute;inset:0;overflow:hidden;pointer-events:none}#food-rain span{position:absolute;left:var(--x);top:-90px;font-size:38px;animation:foodFall var(--duration) var(--delay) linear infinite;filter:drop-shadow(0 5px 4px #00418518)}
@keyframes foodFall{from{transform:translate3d(0,-80px,0) rotate(-20deg)}to{transform:translate3d(-35px,120dvh,0) rotate(35deg)}}
#content{animation:panelIn .22s ease-out}button{transition:transform .13s,background .15s,box-shadow .15s}button:active{transform:scale(.97)}dialog[open]:not(#welcome-dialog){animation:panelIn .22s ease-out}@keyframes panelIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.app-welcome{padding:24px!important;margin-top:8px}.app-welcome h1{font-size:31px}.nearby-panel{padding:20px 16px!important}.mobile-nav{background:#ffffffed;box-shadow:0 -4px 24px #172b4610;backdrop-filter:blur(14px)}.mobile-nav .active{color:#147ce5}.chain-list{gap:10px}.meal-card .card-art{min-height:165px}.welcome-copy{inset:23% 20px auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#food-rain span{top:calc(5% + var(--x));opacity:.5}#content{animation:none}}
/* Map is the first task surface; the search sheet sits above it. */
/* Two intentional sheet stops: compact search or an 85% results panel. */
/* Food bubbles give the welcome its own motion language. */
#food-rain span{top:auto;bottom:-100px;display:grid;place-items:center;width:68px;height:68px;border-radius:50%;font-size:34px;background:radial-gradient(circle at 28% 22%,#ffffff88 0%,#ffffff1a 38%,#ffffff08 65%);border:1px solid #ffffff77;box-shadow:inset -4px -6px 14px #ffffff22,0 6px 20px #0666a51a;animation:bubbleRise var(--duration) var(--delay) linear infinite}#food-rain span:nth-child(3n){width:49px;height:49px;font-size:25px}#food-rain span:nth-child(4n){width:82px;height:82px;font-size:42px}@keyframes bubbleRise{0%{transform:translate3d(0,70px,0) rotate(-8deg);opacity:0}10%{opacity:.9}50%{transform:translate3d(24px,-55dvh,0) rotate(8deg)}90%{opacity:.8}100%{transform:translate3d(-12px,-120dvh,0) rotate(-8deg);opacity:0}}@media(prefers-reduced-motion:reduce){#food-rain span{bottom:auto;top:var(--x);animation:none!important;opacity:.5}}

/* Phase 1: persistent discovery surface and in-place restaurant details. */
/* Single discovery layout: stable map, three transform-only sheet stops. */
:root{--top-h:calc(64px + env(safe-area-inset-top,0px));--nav-h:0px}
.topbar{height:var(--top-h);padding-top:env(safe-area-inset-top,0px);position:relative;z-index:601}
#discovery-surface[hidden]{display:none}#discovery-surface{margin:0 28px}
.map-stage{position:relative;height:calc(100dvh - var(--top-h) - var(--nav-h));min-height:320px;padding:0;margin:0;border:0;border-radius:24px;overflow:hidden;background:#e5f0f4}
#restaurant-map{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;z-index:0}
.map-sheet{position:fixed;z-index:500;height:var(--sheet-max);transform:translate3d(0,var(--sheet-offset),0);clip-path:inset(0 0 var(--sheet-offset) 0);display:flex;flex-direction:column;background:linear-gradient(125deg,#0f78e5,#279bfa);color:#fff;border-radius:28px 28px 0 0;box-shadow:0 -7px 25px #153e6c22;transition:transform .22s ease,clip-path .22s ease;overflow:hidden}
.map-sheet.dragging{transition:none;user-select:none}
.sheet-header{flex:none;padding:8px 14px 0;touch-action:none}
.sheet-handle{display:block;width:100%;padding:4px 0 10px;color:white;font-size:13px;font-weight:700;cursor:grab;touch-action:none}
.sheet-handle i{display:block;width:46px;height:5px;border-radius:8px;background:#ffffff80;margin:0 auto 8px}
.map-sheet .location-actions{display:flex;flex-direction:row;gap:8px;margin:0}
.map-sheet .location-actions>.primary{width:44px;min-height:44px;padding:6px;flex-shrink:0;border-radius:14px;background:#fff;color:#0c67c7;font-size:0}
.map-sheet .location-actions>.primary::first-letter{font-size:24px}
.map-sheet form{display:flex;flex:1;gap:0;min-width:0}
.map-sheet input{min-width:0;width:100%;background:#fff;border:0;border-radius:14px 0 0 14px;padding:12px;color:#172b46}
.map-sheet form .secondary{border-radius:0 14px 14px 0;padding:10px;color:#1561ad;background:#fff;border:0;min-height:44px}
.nearby-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:10px 0 6px}
.nearby-controls label{color:white;font-size:13px}.nearby-controls select{color:#155690;border-radius:9px;padding:6px;max-width:105px}
.segmented{display:flex;padding:3px;border-radius:10px;background:#ffffff26}.segmented button{padding:8px;border-radius:8px;color:white}.segmented button[aria-pressed=true]{background:#fff;color:#1265bb}
.map-sheet .chip{color:white;background:#ffffff26;border-color:#ffffff60;padding:8px}.map-sheet .chip[aria-pressed=true]{background:white;color:#1265bb}
.location-status{color:white;font-size:13px;line-height:1.35;margin:5px 0 8px}.location-choice{display:block;text-align:left;width:100%;padding:9px;background:white;color:#175a9e;border-radius:9px;margin:5px 0}
#location-choices{max-height:125px;overflow:auto;touch-action:pan-y}.sheet-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:0 14px 16px;-webkit-overflow-scrolling:touch}.map-sheet:not(.expanded) .sheet-body{visibility:hidden}
.nearby-summary,.map-attribution{font-size:13px;line-height:1.45;margin:8px 0 12px}.restaurant-results{display:grid;grid-template-columns:1fr;gap:10px;max-height:none;overflow:visible}
.restaurant-card{display:flex;gap:12px;background:white;color:#172b46;border:1px solid #dee8f3;border-radius:18px;padding:16px}.restaurant-info{min-width:0;flex:1}.restaurant-info h3{font-size:17px;margin:0 0 7px}.restaurant-info p{font-size:13px;color:#61738b;margin:0 0 8px}.coverage-badge{font-size:13px;background:#f1f0e9;padding:5px 7px;border-radius:7px;display:inline-block}.coverage-badge.available{background:#e5f2ff;color:#1561ad}.restaurant-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}.restaurant-actions a,.restaurant-actions button{font-size:13px;min-height:34px;display:inline-flex;align-items:center}
.map-recenter{position:absolute;z-index:450;right:12px;top:96px;width:44px;height:44px;border-radius:50%;background:white;color:#147ce5;box-shadow:0 4px 16px #172b4633;font-size:28px;display:grid;place-items:center}
.restaurant-pin{width:40px;height:48px;background:none;border:0;box-shadow:none;display:block;overflow:visible}.restaurant-pin svg{display:block;width:40px;height:48px}.restaurant-pin svg image{width:24px;height:24px}
.leaflet-control-attribution{max-width:calc(100vw - 120px);font-size:13px!important;line-height:1.2}.leaflet-top{z-index:450}.leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important}
.detail-place-title{display:flex;gap:12px;align-items:center;margin:20px 0 8px}.detail-place-title h2{margin:0;font-size:22px}.detail-place-title p{margin:6px 0;font-size:13px}.restaurant-detail{background:white;color:#172b46;padding:16px;border-radius:18px}.restaurant-detail>.cards{display:block}.restaurant-detail .meal-card{margin:12px 0}.restaurant-detail>p{font-size:14px}.map-sheet .restaurant-detail .secondary{color:#1763ad}
.loading-cards{display:grid;gap:12px}.loading-cards i{height:110px;border-radius:18px;background:#ffffff45;animation:skeletonPulse 1s ease-in-out infinite alternate}@keyframes skeletonPulse{to{opacity:.4}}.stale-notice{padding:9px;background:#ffffff24;border-radius:10px}.map-sheet .empty{background:white;color:#172b46;border-radius:18px;padding:18px;text-align:left}.map-sheet #browse-menus{margin-top:14px;background:white;color:#1763ad}
.discover-below{padding-top:20px}input,select,textarea{font-size:16px!important}small{font-size:13px}
@media(max-width:760px){:root{--nav-h:calc(70px + env(safe-area-inset-bottom,0px))}#discovery-surface{margin:0}.map-stage{border-radius:0;min-height:0}.topbar{height:var(--top-h);padding:env(safe-area-inset-top,0px) 16px 0}.mobile-nav{height:var(--nav-h);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));z-index:600}.mobile-nav button span{font-size:13px}#discovery-surface:not([hidden])+#content{padding:0}.discover-below{padding:20px 16px calc(30px + var(--nav-h))}.sheet-header{padding:8px 12px 0}.sheet-body{padding:0 12px 16px}.meal-card{grid-template-columns:32% 1fr}.card-footer{flex-wrap:wrap}.match-tag{position:static;font-size:13px;max-width:none}.card-art{display:flex;flex-direction:column}.card-body{padding:12px}.photo-caption{position:static}.restaurant-label{letter-spacing:.4px}.tools select{max-width:150px}.cards{gap:14px}}
@media(prefers-reduced-motion:reduce){.map-sheet,.loading-cards i{transition:none;animation:none}}
