:root{--green:#123f2d;--olive:#637c43;--sage:#dce4cf;--cream:#f5f1e8;--paper:#fffdf8;--ink:#17221d;--muted:#71786f;--line:#e3e5db}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b0bb79;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-family:Georgia,serif;font-weight:500;line-height:1.13;font-size:48px;letter-spacing:-1.8px}h2{font-family:Georgia,serif;font-size:28px;font-weight:500;letter-spacing:-.6px}h3{font-size:18px;line-height:1.3}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;text-transform:uppercase;color:var(--olive);margin-bottom:12px}.sidebar{position:fixed;width:240px;height:100dvh;background:var(--paper);border-right:1px solid var(--line);padding:35px 28px;display:flex;flex-direction:column}.wordmark{font-size:31px;letter-spacing:-1.8px;font-weight:800;color:var(--green)}.wordmark span{font-size:12px;color:var(--olive);margin-left:3px}.sidebar>p{font-size:12px;color:var(--muted);margin:5px 0 45px}.sidebar nav{display:grid;gap:9px}.nav-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;background:transparent;color:var(--muted);text-align:left;font-weight:600}.nav-item.active{background:var(--sage);color:var(--green)}svg{width:22px;height:22px;vertical-align:middle;flex-shrink:0}.side-foot{margin-top:auto;color:var(--olive);font-size:12px;letter-spacing:1px;line-height:1.8}.side-foot small{display:block;letter-spacing:0;margin-top:15px;color:var(--muted)}.shell{margin-left:240px;max-width:1500px}header{height:94px;padding:0 54px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e5db}header>.wordmark{visibility:hidden}.header-right{display:flex;align-items:center;gap:18px}.test-tag{font-size:11px;color:var(--olive);background:#e7ebdc;border:1px solid #dce3cb;padding:5px 10px;border-radius:20px}.avatar{border-radius:50%;width:42px;height:42px;background:var(--green);color:white;font-size:17px}main{padding:42px 54px 30px;min-height:calc(100dvh - 160px)}.intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:16px}.intro p{margin-top:13px;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 20px;border-radius:10px;background:var(--green);color:white;font-weight:600}.btn.light{background:var(--paper);border:1px solid var(--line);color:var(--green)}.btn.soft{background:var(--sage);color:var(--green)}.btn.full{width:100%}.btn:disabled{opacity:.5;cursor:default}.hero{display:grid;grid-template-columns:1.2fr 1fr;background:var(--green);border-radius:22px;overflow:hidden;color:white;min-height:255px;margin-bottom:32px}.hero-copy{padding:32px 36px;display:flex;align-items:start;flex-direction:column;justify-content:center}.hero .eyebrow{color:#c9d5b3}.hero h2{font-size:34px;line-height:1.16;max-width:360px}.hero p{font-size:14px;color:#d7dfd0;margin:12px 0 20px}.hero .btn{background:var(--cream);color:var(--green);min-height:42px}.hero-image{position:relative;min-height:230px}.hero-image img{width:100%;height:100%;object-fit:cover;position:absolute}.hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#123f2d,transparent 30%)}.photo-note{position:absolute;right:10px;bottom:8px;font-size:9px;background:#ffffffca;color:#46533c;padding:2px 6px;border-radius:4px;z-index:1}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px;gap:12px}.text-btn{background:none;color:var(--green);padding:8px 0;font-size:13px;font-weight:600}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.business{background:var(--paper);border:1px solid var(--line);border-radius:17px;overflow:hidden;transition:transform .2s}.business:hover{transform:translateY(-3px)}.image-button{width:100%;padding:0;background:var(--sage);height:160px;position:relative;display:block}.image-button img{width:100%;height:100%;object-fit:cover}.photo-tag{position:absolute;left:12px;top:12px;border-radius:20px;padding:5px 10px;background:var(--paper);font-size:11px;font-weight:600;color:var(--green)}.business-body{padding:18px}.business-top{display:flex;justify-content:space-between;align-items:start;gap:8px}.business p{font-size:12px;color:var(--muted);margin:5px 0 16px}.heart{background:none;color:var(--green);padding:2px 4px;min-width:32px;min-height:32px}.mini-track{display:flex;gap:5px;margin:12px 0 7px}.mini-track span{height:5px;background:#e4e7dc;border-radius:3px;flex:1}.mini-track span.filled{background:var(--olive)}.card-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.offer{display:flex;background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;text-align:left;color:var(--ink);padding:0;width:100%}.offer img{width:135px;object-fit:cover}.offer-copy{padding:20px;flex:1}.offer-copy small{font-size:11px;color:var(--olive)}.offer-copy h3{margin:5px 0 8px}.price{font-size:22px;font-weight:700;color:var(--green)}del{font-size:13px;font-weight:400;color:var(--muted);margin-left:8px}.offer-copy p{font-size:11px;color:var(--muted);margin-top:7px}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:30px}.stat{padding:0 24px;border-right:1px solid var(--line);display:flex;gap:14px;align-items:center}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat svg{color:var(--olive);width:28px;height:28px}.stat strong{display:block;font-family:Georgia,serif;font-size:29px;font-weight:500}.stat span{font-size:12px;color:var(--muted)}.legal{font-size:10px;color:var(--muted);padding:20px 54px 30px}.bottom,.scan-float{display:none}.searchbar{display:flex;gap:12px;margin:24px 0 18px}.field{border:1px solid #d9ddd1;background:var(--paper);border-radius:10px;min-height:49px;padding:12px 14px;width:100%;color:var(--ink)}.searchbar input{flex:1;min-width:0}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.chip{padding:9px 15px;border-radius:24px;background:var(--paper);border:1px solid var(--line);color:var(--muted);font-size:13px}.chip.active{background:var(--green);color:white;border-color:var(--green)}.empty{padding:50px 25px;text-align:center;border:1px dashed #cdd3bf;border-radius:18px;background:#fffdf88c}.empty p{color:var(--muted);margin:10px 0 22px}.back{display:inline-flex;gap:8px;align-items:center;background:none;color:var(--green);padding:0 0 24px}.detail-cover{height:260px;width:100%;object-fit:cover;border-radius:20px}.detail-heading{display:flex;justify-content:space-between;gap:15px;margin:24px 0}.detail-heading h1{font-size:40px}.detail-heading p{color:var(--muted);margin-top:8px}.loyalty{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:28px;margin:20px 0}.loyalty h2{font-size:28px}.loyalty p{color:var(--muted);font-size:13px;margin:8px 0 22px}.stamps{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:25px 0}.stamp{aspect-ratio:1;border:1.5px dashed #c4ccb9;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#a9b29f;background:#f9faf5}.stamp svg{width:55%;height:55%}.stamp.filled{background:var(--sage);color:var(--green);border:1.5px solid #c4d1b2;transform:rotate(-8deg)}.stamp img{width:90%;height:90%;object-fit:contain;border-radius:50%}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}.info-box{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:24px;margin:20px 0}.info-box p{margin:10px 0;color:var(--muted);font-size:13px}.detail-grid .loyalty{margin:0}.note{font-size:12px;color:var(--muted);margin-top:12px}.reservation{background:var(--paper);border:1px solid var(--line);padding:22px;border-radius:15px;margin:15px 0}.status{display:inline-block;background:#edf0dd;color:#65713b;font-size:11px;border-radius:20px;padding:5px 11px;margin-bottom:12px}.reservation p{color:var(--muted);font-size:13px;margin:9px 0}.progress{height:7px;background:#e6e9dd;border-radius:5px;overflow:hidden;margin-top:14px}.progress span{display:block;height:100%;background:var(--olive)}.profile-row{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid var(--line);gap:20px}.profile-row:last-child{border:0}.profile-row p{margin:3px 0 0}.profile-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--green)}dialog{width:min(480px,calc(100% - 28px));max-height:90dvh;border:0;border-radius:20px;padding:0;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#10291f91;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 23px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.dialog-head button{width:36px;height:36px;border-radius:50%;background:var(--cream);color:var(--green)}#modal-body{padding:24px}#modal-body h2{margin-bottom:12px}#modal-body p{font-size:14px;color:var(--muted);margin:12px 0 20px}#modal-body img.cover{width:100%;height:190px;object-fit:cover;border-radius:12px;margin-bottom:18px}label{display:block;font-size:13px;margin:16px 0 7px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:var(--green);color:white;padding:14px 22px;border-radius:12px;z-index:20;opacity:0;pointer-events:none;transition:.2s;max-width:90%;font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}.scan-box{border:2px dashed #95a67d;background:var(--sage);border-radius:18px;min-height:160px;display:flex;align-items:center;justify-content:center;margin:20px 0}.scan-box svg{width:70px;height:70px}.feature-tag{color:var(--olive);font-size:12px}.reward{display:flex;align-items:center;gap:20px}.reward>svg{width:45px;height:45px;color:var(--olive)}.activity-row{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.activity-row small{display:block;color:var(--muted);margin-top:5px}.activity-row strong{color:var(--olive)}.intro.compact h1{font-size:40px}@media(min-width:1450px){main{padding-left:70px;padding-right:70px}.hero{min-height:300px}.image-button{height:200px}}@media(max-width:1100px){.sidebar{width:200px;padding:30px 18px}.shell{margin-left:200px}main{padding:32px 30px}header{padding:0 30px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid .business:last-child{grid-column:auto}.offer-grid{gap:14px}.offer img{width:100px}.offer-copy{padding:15px}.hero-copy{padding:27px}.hero h2{font-size:30px}}@media(max-width:760px){.sidebar{display:none}.shell{margin:0}header{height:78px;padding:0 22px;border:0}header>.wordmark{visibility:visible;font-size:29px}.header-right{gap:10px}.avatar{width:35px;height:35px;font-size:14px}.test-tag{font-size:9px;padding:4px 7px}main{padding:22px 20px 20px;min-height:70vh}h1{font-size:36px;letter-spacing:-1px}.intro{align-items:start;margin-bottom:24px}.intro p{font-size:13px;margin-top:10px}.intro>.btn{padding:10px;min-width:42px;min-height:42px}.intro>.btn .desktop{display:none}.hero{grid-template-columns:1.2fr 1fr;min-height:210px;border-radius:18px;margin-bottom:26px}.hero-copy{padding:23px 0 23px 22px;z-index:1}.hero h2{font-size:27px}.hero p{font-size:12px;margin:10px 0 15px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero .btn{font-size:11px;min-height:37px;padding:8px 12px}.hero-image{min-height:210px}.hero-image img{object-position:60% center}.hero-image:after{background:linear-gradient(90deg,#123f2d,transparent 70%)}.section-head{margin:24px 0 15px}h2{font-size:25px}.text-btn{font-size:11px}.grid{gap:13px}.image-button{height:125px}.business-body{padding:14px 12px}.business h3{font-size:16px}.business p{font-size:11px;margin-bottom:12px}.photo-tag{font-size:9px;left:9px;top:9px;padding:4px 8px}.card-meta{font-size:9px}.offer-grid{grid-template-columns:1fr;gap:13px}.offer img{width:115px}.offer-copy{padding:17px}.offer-copy h3{font-size:16px}.offer-copy small{font-size:10px}.price{font-size:21px}.stats-strip{padding:20px 0}.stat{padding:0 12px;display:block;text-align:center}.stat:first-child{padding-left:0}.stat svg{display:none}.stat strong{font-size:27px}.stat span{font-size:10px}.legal{padding:15px 20px 120px;font-size:9px;text-align:center}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;padding:9px 9px calc(9px + env(safe-area-inset-bottom));height:calc(74px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);z-index:9}.bottom .nav-item{flex-direction:column;gap:5px;font-size:9px;padding:6px 7px;min-width:52px;color:#88907e;line-height:1.2;background:none}.bottom .nav-item.active{color:var(--green)}.bottom .nav-item svg{width:22px;height:22px}.bottom .scan-gap{width:56px;flex-shrink:0}.scan-float{display:flex;align-items:center;justify-content:center;position:fixed;bottom:calc(34px + env(safe-area-inset-bottom));left:calc(50% - 28px);width:56px;height:56px;border-radius:19px;background:var(--green);color:var(--cream);z-index:10;border:5px solid var(--cream);box-shadow:0 4px 12px #123f2d24}.scan-float svg{width:25px;height:25px}.toast{bottom:115px;width:max-content;max-width:88%;text-align:center}.searchbar{gap:8px;flex-wrap:wrap}.searchbar .field{font-size:14px}.searchbar select{max-width:105px}.chips{gap:7px}.chip{font-size:12px;padding:8px 13px}.detail-grid{grid-template-columns:1fr;gap:18px}.detail-cover{height:205px}.detail-heading h1{font-size:33px}.detail-heading p{font-size:13px}.detail-heading>.btn{font-size:11px;padding:9px 12px}.loyalty{padding:23px 20px}.stamps{gap:9px}.detail-grid .info-box{margin:0}.intro.compact h1{font-size:34px}.info-box{padding:20px}.hero.hero-stats{grid-template-columns:1fr}.hero-stats .hero-copy{padding:27px}.back{font-size:13px}.reservation{padding:19px}.profile-row strong{font-size:14px}}

/* Customer app shell: keep the phone navigation at every preview width. */
.sidebar{display:none}.shell{margin:0}header{height:78px;padding:0 22px;border:0}header>.wordmark{visibility:visible;font-size:29px}.header-right{gap:10px}.avatar{width:35px;height:35px;font-size:14px}.test-tag{font-size:9px;padding:4px 7px}main{padding:22px 20px 20px;min-height:70vh}h1{font-size:36px;letter-spacing:-1px}.intro{align-items:start;margin-bottom:24px}.intro p{font-size:13px;margin-top:10px}.intro>.btn{padding:10px;min-width:42px;min-height:42px}.intro>.btn .desktop{display:none}.hero{grid-template-columns:1.2fr 1fr;min-height:210px;border-radius:18px;margin-bottom:26px}.hero-copy{padding:23px 0 23px 22px;z-index:1}.hero h2{font-size:27px}.hero p{font-size:12px;margin:10px 0 15px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero .btn{font-size:11px;min-height:37px;padding:8px 12px}.hero-image{min-height:210px}.hero-image img{object-position:60% center}.hero-image:after{background:linear-gradient(90deg,#123f2d,transparent 70%)}.section-head{margin:24px 0 15px}h2{font-size:25px}.text-btn{font-size:11px}.grid{gap:13px}.image-button{height:125px}.business-body{padding:14px 12px}.business h3{font-size:16px}.business p{font-size:11px;margin-bottom:12px}.photo-tag{font-size:9px;left:9px;top:9px;padding:4px 8px}.card-meta{font-size:9px}.offer-grid{grid-template-columns:1fr;gap:13px}.offer img{width:115px}.offer-copy{padding:17px}.offer-copy h3{font-size:16px}.offer-copy small{font-size:10px}.price{font-size:21px}.stats-strip{padding:20px 0}.stat{padding:0 12px;display:block;text-align:center}.stat:first-child{padding-left:0}.stat svg{display:none}.stat strong{font-size:27px}.stat span{font-size:10px}.legal{padding:15px 20px 120px;font-size:9px;text-align:center}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;padding:9px 9px calc(9px + env(safe-area-inset-bottom));height:calc(74px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);z-index:9}.bottom .nav-item{flex-direction:column;gap:5px;font-size:9px;padding:6px 7px;min-width:52px;color:#88907e;line-height:1.2;background:none}.bottom .nav-item.active{color:var(--green)}.bottom .nav-item svg{width:22px;height:22px}.bottom .scan-gap{width:56px;flex-shrink:0}.scan-float{display:flex;align-items:center;justify-content:center;position:fixed;bottom:calc(34px + env(safe-area-inset-bottom));left:calc(50% - 28px);width:56px;height:56px;border-radius:19px;background:var(--green);color:var(--cream);z-index:10;border:5px solid var(--cream);box-shadow:0 4px 12px #123f2d24}.scan-float svg{width:25px;height:25px}.toast{bottom:115px;width:max-content;max-width:88%;text-align:center}.searchbar{gap:8px;flex-wrap:wrap}.searchbar .field{font-size:14px}.searchbar select{max-width:105px}.chips{gap:7px}.chip{font-size:12px;padding:8px 13px}.detail-grid{grid-template-columns:1fr;gap:18px}.detail-cover{height:205px}.detail-heading h1{font-size:33px}.detail-heading p{font-size:13px}.detail-heading>.btn{font-size:11px;padding:9px 12px}.loyalty{padding:23px 20px}.stamps{gap:9px}.detail-grid .info-box{margin:0}.intro.compact h1{font-size:34px}.info-box{padding:20px}.hero.hero-stats{grid-template-columns:1fr}.hero-stats .hero-copy{padding:27px}.back{font-size:13px}.reservation{padding:19px}.profile-row strong{font-size:14px}

body{background:#e9ece3}
.shell{width:100%;max-width:520px;margin:0 auto;background:var(--cream);min-height:100dvh;box-shadow:0 0 60px #123f2d0a}
header{padding-top:env(safe-area-inset-top);height:calc(78px + env(safe-area-inset-top))}
main{min-width:0}
.bottom{left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:520px}
.scan-float{left:50%;transform:translateX(-50%)}
.hero{min-height:210px}.hero-copy{padding:23px 0 23px 22px}.hero h2{font-size:27px}
.image-button{height:125px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bottom .nav-item{flex:1;min-width:0}.bottom .scan-gap{width:56px}
@media(max-width:360px){main{padding-left:14px;padding-right:14px}header{padding-left:14px;padding-right:14px}.hero h2{font-size:24px}.test-tag{font-size:8px}.card-meta{flex-wrap:wrap;gap:3px}.business h3{font-size:14px}}

/* A bounded app viewport keeps the navigation in its own permanent row.
   Only the content scrolls; the navigation cannot fall below long content. */
html{width:100%;height:100%;overflow:hidden;background:var(--cream)}
body{width:100%;height:100%;height:100dvh;overflow:hidden;background:var(--cream);overscroll-behavior:none}
.shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:none;height:100%;min-height:0;margin:0;box-shadow:none;overflow:hidden}
header{width:100%;flex-shrink:0;padding-inline:max(20px,env(safe-area-inset-left));height:calc(72px + env(safe-area-inset-top));border-bottom:1px solid var(--line);background:var(--cream)}
header>.wordmark{visibility:visible}
main{width:100%;max-width:640px;min-height:0;margin:0 auto;padding:24px 20px 32px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:20px;scroll-padding-bottom:25px}
.app-nav{position:relative;width:100%;background:var(--paper);border-top:1px solid var(--line);z-index:9;padding-bottom:env(safe-area-inset-bottom)}
.bottom{position:relative;inset:auto;transform:none;width:100%;max-width:640px;height:74px;margin:0 auto;display:flex;border:0;padding:9px;justify-content:space-around}
.scan-float{position:absolute;left:50%;bottom:calc(34px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex}
.bottom .nav-item{font-size:11px;min-height:52px}
.intro h1{font-size:clamp(29px,6vw,36px);overflow-wrap:break-word}
.intro.compact h1{font-size:clamp(29px,6vw,34px)}
.searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.searchbar input{grid-column:1/-1;width:100%}
.searchbar select{width:100%;max-width:none}
.searchbar .btn{font-size:14px}
.card-meta{font-size:11px;flex-wrap:wrap;gap:3px}
.business p{font-size:12px}.test-tag{font-size:10px}
.chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.chip{flex-shrink:0}
.toast{bottom:calc(100px + env(safe-area-inset-bottom))}
@media(max-width:380px){header{padding-inline:15px}.header-right{gap:7px}.test-tag{font-size:8px}main{padding-inline:15px}.bottom .nav-item{font-size:10px}.business h3{font-size:15px}.business-body{padding:12px 10px}}
[hidden]{display:none!important}.sidebar{display:none!important}.signed-out .app-nav{display:none}.signed-out{grid-template-rows:auto minmax(0,1fr)}.auth-view{padding:20px 0;max-width:440px;margin:0 auto}.auth-view h1{font-size:39px;margin-bottom:16px}.auth-view>p{margin-bottom:25px}.auth-view form{margin:25px 0 15px}.auth-view .btn{margin-top:14px}.auth-view>.text-btn{display:block;margin-top:10px}.field{font-size:16px}.form-status{margin:16px 0;font-size:14px;line-height:1.6;color:var(--green);white-space:pre-line;overflow-wrap:anywhere}.privacy-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px}.privacy-check input{width:20px;height:20px;flex-shrink:0;accent-color:var(--green)}.privacy-check .text-btn{display:inline;font-size:13px;padding:0;text-decoration:underline}.card-actions{display:grid;gap:11px;margin-top:22px}.card-actions .btn{margin:0}.qr-display{max-width:290px;width:100%;margin:15px auto;background:white;border-radius:12px}.qr-display svg{width:100%;height:auto;display:block}.pickup-code{display:grid;gap:9px;padding:20px;border:1px solid var(--sage);background:#edf2e6;border-radius:13px;margin:16px 0;text-align:center}.pickup-code span{font-size:10px;letter-spacing:1.3px}.pickup-code strong{font-size:30px;letter-spacing:3px;color:var(--green)}.pickup-code small{font-size:12px;color:var(--muted)}.status-accepted{color:var(--green);background:var(--sage)}.status-rejected,.status-expired{background:#f4e5de;color:#8a4638}.branch{padding:15px 0;border-bottom:1px solid var(--line)}.branch:last-child{border:0}summary{cursor:pointer;font-size:13px;color:var(--green);padding:10px 0}.scan-box video{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:14px}.result-message{background:var(--sage);padding:18px;border-radius:12px}.business h3{overflow-wrap:anywhere}.profile-row input{flex-shrink:0}.reward-box .eyebrow{font-size:10px}.wordmark{white-space:nowrap}.auth-view .note{font-size:12px}@media(max-width:380px){.auth-view h1{font-size:33px}.test-tag{font-size:8px}}

/* Scanner feedback stays above the preview on small screens. */
.scan-status{padding:12px;background:var(--sage);border-radius:10px;margin:14px 0!important;font-weight:600}.scan-box{height:230px;min-height:180px;overflow:hidden}.scan-box video{width:100%;height:100%;max-height:none;object-fit:contain;background:#17221d}.camera-placeholder{padding:15px;display:grid;justify-items:center;gap:12px;text-align:center;font-size:14px}.camera-placeholder svg{width:40px;height:40px}#camera-select-wrap{margin-bottom:12px}#camera-select{width:100%}#modal{max-height:calc(100dvh - 24px)}#modal .dialog-head{position:sticky;top:0;background:var(--paper);z-index:2}

/* Live scanner: compact full-screen camera, based on the Zapasio scanner flow. */
#modal.scanner-mode{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border-radius:0;inset:0;overflow:auto;background:var(--paper)}
.scanner-mode .dialog-head{padding:12px 16px;min-height:56px;font-size:16px;font-weight:650;color:var(--ink)}
.scanner-mode #modal-body{padding:14px 16px 24px}.scanner-mode .scan-status{font-size:14px;font-weight:500;margin:0 0 12px!important;min-height:48px;padding:12px;line-height:1.4}
.scanner-mode .scan-box{height:clamp(240px,53dvh,600px);min-height:200px;position:relative;border:0;border-radius:14px;background:#17221d;display:flex;align-items:center;justify-content:center;margin:0 0 12px}
.scanner-mode .scan-box video{width:100%;height:100%;object-fit:contain}.scan-guide{position:absolute;width:70%;height:65%;border:2px solid #fff9;border-radius:16px;pointer-events:none}.scan-detected{position:absolute;border:3px solid #add88b;border-radius:8px;pointer-events:none;z-index:2}.scan-actions{display:flex;gap:8px}.scan-actions .btn{flex:1;min-width:0;font-size:14px;padding:10px;min-height:48px}.scan-extras{margin-top:12px}.scan-extras label{display:block;margin:12px 0 7px}.scan-businesses{padding:16px;display:grid;gap:10px;width:100%}#scan-zoom-wrap{display:flex;align-items:center;gap:12px;margin-top:10px}#scan-zoom{flex:1;accent-color:var(--green)}

.scanner-mode .camera-placeholder{color:#fffdf8}details>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;cursor:pointer}details>summary::-webkit-details-marker{display:none}details>summary::marker{content:''}details>summary::after{content:'+';font-size:24px;line-height:1;color:var(--green)}details[open]>summary::after{content:'−'}details>summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}
