:root{font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#1a332c;background:#f5f7f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8fbd4f;outline-offset:3px}
button{border:0}
svg{display:block}
.app-shell{min-height:100vh;display:grid;grid-template-columns:232px minmax(0,1fr) 300px;max-width:1800px;margin:0 auto}
.sidebar{position:sticky;top:0;height:100vh;min-height:660px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e8eee6;padding:28px 16px 20px}
.brand{display:flex;gap:10px;align-items:center;background:transparent;color:#183f35;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:24px;letter-spacing:-1.6px;text-align:left;padding:0 10px;margin-bottom:56px}
.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#dafa8e;color:#183f35;flex-shrink:0}.brand-mark svg{width:32px}
.brand-dot{color:#9cca3a}.brand small{display:block;letter-spacing:2px;font-size:8px;color:#9ca8a1;margin-top:1px;font-weight:800}
.side-caption{color:#a6b0a7;letter-spacing:2px;font-size:10px;font-weight:800;margin:0 15px 13px}
.main-nav{display:flex;flex-direction:column;gap:4px}
.nav-button{display:flex;align-items:center;text-align:left;gap:12px;padding:14px 14px;border-radius:13px;color:#64746b;font-size:13px;font-weight:700;background:transparent;transition:background .15s,color .15s}
.nav-button:hover{background:#f2f6ee;color:#1d4737}.nav-button.active{background:#eaf4dc;color:#1b533b}.nav-icon{font-size:21px;width:23px;text-align:center;line-height:1;font-weight:500}.nav-count{margin-left:auto;font-size:10px;color:#35664c;background:#d5eac0;padding:4px 8px;border-radius:9px}
.side-spacer{flex:1}
.sidebar-pitch{border-radius:22px;background:#143f35;color:white;padding:20px 18px 18px;overflow:hidden;position:relative}
.pitch-graphic{color:#d7f68e;font-size:26px;letter-spacing:12px;margin-bottom:18px}.pitch-graphic span{color:#8ac1a7}
.sidebar-pitch-title{font-family:'Plus Jakarta Sans',sans-serif;font-size:17px;font-weight:800;line-height:1.45;letter-spacing:-.4px}
.sidebar-pitch p{font-size:11px;color:#a5c2b6;line-height:1.65;margin:10px 0 16px}
.pitch-link{display:flex;justify-content:space-between;align-items:center;background:#d9f988;color:#164b35;font-size:10px;font-weight:800;padding:10px 10px 10px 12px;width:100%;border-radius:9px;gap:6px}
.sidebar-bottom{margin-top:22px;display:flex;align-items:center;gap:7px;font-size:10px;color:#6a8075;padding:0 10px}.sidebar-bottom span:last-child{margin-left:auto;color:#b7c1b8}.status-dot{width:7px;height:7px;border-radius:50%;background:#80c48f}
.main-frame{min-width:0;display:flex;flex-direction:column}
.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;border-bottom:1px solid #e8eee6}
.topbar-left{display:flex;align-items:center;gap:11px;color:#496257;font-size:12px;font-weight:700}.topbar-breadcrumb{font-size:10px;letter-spacing:1.9px;color:#90a097}.topbar-separator{color:#c3d0c5}
.topbar-actions{display:flex;align-items:center;gap:13px}
.language-switch{display:inline-flex;gap:3px;padding:4px;border-radius:12px;background:#edf3e8;border:1px solid #e0e9d8;white-space:nowrap}
.language-switch button{background:transparent;color:#75907e;border-radius:8px;min-width:33px;padding:7px 8px;font-size:10px;font-weight:900;letter-spacing:.6px;transition:background .2s,color .2s}
.language-switch button.active{color:#fff;background:#20523e;box-shadow:0 2px 8px #12391f2b}
.language-switch button:hover:not(.active){color:#174d36;background:#dbe9d0}
.demo-label{display:flex;align-items:center;gap:7px;background:#fff2d6;border:1px solid #f3dfac;color:#936b17;font-size:9px;letter-spacing:1.5px;font-weight:800;padding:10px 11px;border-radius:40px;white-space:nowrap}.demo-pulse{width:7px;height:7px;border-radius:50%;background:#e8ae3c}
.round-button{background:#fff;color:#244c3a;border:1px solid #e4ebe0;width:34px;height:34px;border-radius:50%;font-weight:800}
#main{padding:34px 38px 60px;flex:1;max-width:1140px;width:100%;margin:0 auto}
.page-footer{font-size:10px;color:#9ba99d;border-top:1px solid #e8eee6;padding:17px 38px;line-height:1.6}
.eyebrow{font-weight:800;letter-spacing:2.5px;color:#6c9f56;font-size:10px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:22px}
.page-head h1,.page-head h2{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(25px,2.4vw,32px);line-height:1.15;letter-spacing:-1.5px;color:#173f32;margin:8px 0 0}
.page-head p{font-size:13px;line-height:1.6;color:#708076;margin:9px 0 0}
.hero{border-radius:26px;background:#173f34;position:relative;overflow:hidden;min-height:276px;display:grid;grid-template-columns:1.1fr .9fr;color:#fff;margin-bottom:18px}
.hero:before{content:'';position:absolute;right:-110px;top:-190px;border:1px solid #4c7967;width:480px;height:480px;border-radius:50%;opacity:.65}.hero:after{content:'';position:absolute;right:-57px;top:-136px;border:1px solid #4c7967;width:370px;height:370px;border-radius:50%;opacity:.45}
.hero-copy{position:relative;z-index:1;padding:33px 32px}
.hero-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:#d5f595;display:flex;gap:9px;align-items:center}.hero-kicker i{height:7px;width:7px;border-radius:50%;background:#d5f595}
.hero h1{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(29px,3.1vw,43px);line-height:1.16;letter-spacing:-2.1px;margin:15px 0}.hero h1 em{font-style:normal;color:#d9f78a}
.hero p{font-size:12px;line-height:1.7;color:#bfd1c8;max-width:375px;margin:0 0 21px}
.hero-steps{display:flex;align-items:center;gap:9px;margin-top:21px;flex-wrap:wrap;color:#d8eaca;font-size:10px;letter-spacing:.1px;font-weight:700}
.hero-steps span{padding:6px 10px;border:1px solid #ffffff33;background:#ffffff0c;border-radius:100px}
.hero-steps b{color:#a4cd89;font-size:13px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 17px;border-radius:11px;font-weight:800;font-size:12px;white-space:nowrap;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}
.button span:last-child{font-size:16px}.button-lime{background:#d9f78a;color:#214c37}.button-lime:hover{background:#e7ffa8}.button-dark{background:#194c3d;color:white}.button-dark:hover{background:#2c6652}.button-soft{background:#edf5e7;color:#256046}.button-outline{background:#fff;border:1px solid #dce8dd;color:#285541}
.hero-art{z-index:1;position:relative;display:flex;align-items:center;justify-content:center;padding:24px 28px 15px 0}
.floating-card{width:100%;max-width:250px;border-radius:20px;background:#fff;color:#204536;padding:18px;transform:rotate(4deg);box-shadow:0 22px 50px #041f1760}
.floating-card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7f9589;font-weight:800;letter-spacing:1.5px}.floating-card-icon{font-size:23px}
.floating-card-price{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:30px;letter-spacing:-1.6px;margin-top:10px}
.floating-card-caption{font-size:10px;color:#6a8777;margin-bottom:15px}
.float-line{height:8px;background:#eaf0e9;border-radius:20px;margin:8px 0}.float-line.green{background:#bce48e;width:76%}.float-line.gray{width:95%}.float-line.mid{width:66%}
.floating-sticker{position:absolute;top:24px;left:8px;background:#dcfb96;color:#26593c;transform:rotate(-13deg);font-size:11px;font-weight:800;padding:12px 14px;border-radius:13px;box-shadow:0 8px 20px #071f1640}
.notice{border:1px solid #f1dfa9;background:#fff8e6;border-radius:14px;color:#91712b;font-size:11px;line-height:1.65;padding:13px 15px;display:flex;gap:10px;align-items:flex-start;margin:0 0 21px}
.notice-symbol{font-size:16px;line-height:1.3}
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.metric{border:1px solid #e4ede2;border-radius:17px;background:#fff;padding:19px 20px;min-width:0}.metric-label{font-size:11px;font-weight:700;color:#829489;margin-bottom:10px}.metric-value{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(17px,1.7vw,25px);color:#1b4637;font-weight:800;letter-spacing:-.9px;overflow-wrap:anywhere}.metric-sub{font-size:10px;color:#9eaea0;margin-top:6px}.metric.accent{background:#e4f6d2;border-color:#d4eebb}.metric.accent .metric-label{color:#64894e}.metric.negative{background:#fff0e9;border-color:#f3d5c5}.metric.negative .metric-value{color:#b94f3f}
.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 13px}.section-title h2{font-size:17px;color:#183f35;letter-spacing:-.45px;font-family:'Plus Jakarta Sans',sans-serif;margin:0}.section-title p{font-size:11px;color:#96a49b;margin:0}.text-link{font-size:11px;color:#246f4c;font-weight:800;background:none;padding:5px 0}.text-link:hover{text-decoration:underline}
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel{background:#fff;border:1px solid #e5ede3;border-radius:20px;padding:22px;min-width:0}.panel h3{font-size:16px;margin:0;color:#1d4638;font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.5px}.panel-desc{font-size:11px;line-height:1.6;color:#829388;margin:8px 0 16px}
.input-label{display:block;font-size:10px;font-weight:800;color:#809086;margin:16px 0 8px;letter-spacing:.4px}.field-row{display:flex;align-items:center;gap:10px}.input-wrap{position:relative;flex:1}.input-wrap input{width:100%;border:1px solid #d9e5d9;border-radius:11px;background:#fbfdfa;padding:13px 39px 13px 13px;color:#174333;font-weight:800;font-size:17px;min-width:0}.input-wrap span{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:12px;color:#839d89;font-weight:700}
.progress-track{height:9px;background:#e6efdf;border-radius:20px;overflow:hidden;margin:16px 0 8px}.progress-fill{height:100%;background:#85ba56;border-radius:20px;transition:width .25s}.progress-fill.over{background:#d9856c}.progress-labels{display:flex;justify-content:space-between;font-size:10px;color:#8fa18c}
.tiny-highlight{display:flex;gap:9px;align-items:center;background:#f3f8ed;color:#4e7450;font-size:11px;line-height:1.5;padding:12px;border-radius:12px;margin-top:14px}.tiny-highlight b{color:#265d3b}
.pantry-list{display:grid;gap:9px}.pantry-row{display:grid;grid-template-columns:minmax(0,1fr) 76px 30px;align-items:center;gap:8px}.pantry-name{display:flex;gap:7px;align-items:center;font-size:11px;font-weight:700;color:#345748;min-width:0}.pantry-icon{font-size:17px}.number-input{width:100%;border:1px solid #dce7d9;background:#fbfdf9;border-radius:9px;padding:9px 6px;font-weight:700;color:#1e4d3a;font-size:12px;text-align:right}.pantry-unit{font-size:10px;color:#9ca9a0}
.mini-recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:13px}.mini-recipe{background:#fff;border:1px solid #e6ede5;border-radius:17px;padding:13px;min-width:0}.mini-emoji{display:grid;place-items:center;background:#f0f6e8;border-radius:12px;width:100%;height:69px;font-size:33px;margin-bottom:12px}.mini-recipe h3{font-size:12px;margin:0 0 3px;color:#1d4838;line-height:1.35}.mini-recipe p{font-size:10px;color:#99aa9e;margin:0 0 13px}.mini-recipe .button{width:100%;min-height:31px;font-size:10px;padding:6px 8px}
.recipe-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.search-wrap{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dfe9de;border-radius:12px;padding:0 13px;flex:1;min-width:170px;max-width:390px}.search-wrap span{color:#92a594}.search-wrap input{border:0;background:none;outline:0;width:100%;padding:14px 0;font-size:12px;color:#204e3c}.filter-row{display:flex;gap:6px;flex-wrap:wrap}.filter-chip{padding:9px 13px;border-radius:10px;background:#fff;border:1px solid #e1ebe0;font-size:11px;color:#758c7d;font-weight:800}.filter-chip.active{background:#1d503d;color:#fff;border-color:#1d503d}
.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recipe-card{background:white;border:1px solid #e2ece0;border-radius:20px;overflow:hidden;min-width:0}.recipe-card.selected{border-color:#a7ce8b;box-shadow:0 0 0 2px #d4efc0 inset}.recipe-picture{height:130px;display:grid;place-items:center;background:linear-gradient(135deg,#e9f3da,#f6f2e9);font-size:66px;position:relative}.recipe-picture:after{content:'✦';position:absolute;bottom:12px;right:18px;color:#a5c989;font-size:13px}.recipe-time{position:absolute;top:12px;right:12px;background:#ffffffd8;color:#4b674e;padding:7px 9px;font-size:10px;font-weight:800;border-radius:10px}.recipe-body{padding:15px}.recipe-type{font-size:9px;font-weight:800;letter-spacing:1px;color:#7ca167;text-transform:uppercase}.recipe-card h3{font-size:15px;line-height:1.3;margin:5px 0;color:#1e4738;font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.4px}.recipe-card p{font-size:11px;color:#91a092;min-height:32px;line-height:1.55;margin:6px 0 13px}.recipe-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #f0f4ed;padding-top:12px}.recipe-bottom small{font-size:10px;color:#9cac9d}.stepper{display:flex;align-items:center;gap:7px}.stepper button{width:28px;height:28px;border-radius:9px;background:#eaf3e1;color:#245a3d;font-weight:900;font-size:18px}.stepper span{min-width:16px;text-align:center;font-weight:800;font-size:13px;color:#28503d}
.basket-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px}.basket-toolbar h2{margin:0;font-family:'Plus Jakarta Sans',sans-serif;font-size:17px;color:#224d3c}.basket-count{font-size:11px;color:#8a9e8b}
.add-form{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,.65fr) auto;gap:10px;align-items:end}.field{min-width:0}.field label{display:block;font-size:11px;font-weight:800;color:#697e70;margin-bottom:7px}.field input,.field select{border-radius:11px;border:1px solid #dce6d9;padding:11px 12px;width:100%;background:#fcfefb;color:#284b3d;font-size:12px;min-height:42px}.field select{max-width:100%}
.table-wrap{overflow:auto;border:1px solid #e2ebe0;border-radius:19px;background:#fff;margin-top:15px}.basket-table{width:100%;border-collapse:collapse;min-width:590px}.basket-table th{text-align:left;background:#f8faf5;color:#94a49a;font-size:10px;letter-spacing:.6px;padding:13px 14px;white-space:nowrap}.basket-table td{padding:14px;border-top:1px solid #f0f4ee;color:#345b47;font-size:12px}.basket-table td:last-child{text-align:right}.basket-table tr.done td:not(:last-child){opacity:.46;text-decoration:line-through}.product-name{font-weight:800;color:#234c3b;display:flex;align-items:center;gap:10px}.product-name .product-emoji{width:34px;height:34px;border-radius:10px;background:#f0f6e9;display:grid;place-items:center;font-size:18px}.product-name small{display:block;font-size:10px;font-weight:500;color:#96a79a;margin-top:3px}.basket-input{width:73px;background:#f7faf4;border:1px solid #e2ebdd;border-radius:8px;padding:7px;text-align:center;font-size:12px;font-weight:700;color:#2d5340}.need-qty{font-weight:800;color:#235c3c}.pill-tag{display:inline-flex;align-items:center;gap:4px;background:#e5f4dc;color:#4b7c4a;padding:6px 9px;border-radius:9px;font-size:10px;font-weight:800;white-space:nowrap}.pill-tag.zero{background:#f1f4ee;color:#93a194}.remove-btn{background:#fff4f1;color:#b2715e;border-radius:8px;width:28px;height:28px;font-size:17px}
.empty-card{text-align:center;background:#fff;border:1px dashed #cadcc6;border-radius:20px;padding:50px 20px;color:#74917b}.empty-card .big{font-size:46px}.empty-card h3{margin:9px;color:#2f5743}.empty-card p{font-size:12px}.checkline{display:flex;align-items:center;gap:7px;font-size:11px;color:#6c8474}.checkline input{accent-color:#377c55;width:15px;height:15px}
.travel-card{background:#fff;border:1px solid #e3ece1;padding:19px;border-radius:19px;margin-bottom:19px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;align-items:center}.travel-card h3{margin:0;font-size:15px;color:#1e4b3a}.travel-card p{font-size:11px;color:#8fa092;margin:6px 0 0;line-height:1.5}.transport-switch{display:flex;background:#f1f6ed;padding:4px;border-radius:12px;gap:3px}.transport-switch button{padding:10px 12px;font-size:11px;font-weight:800;color:#78917d;border-radius:9px;background:transparent;white-space:nowrap}.transport-switch button.active{background:#22553f;color:white;box-shadow:0 2px 7px #244a3226}.per-km-form{grid-column:1/-1;display:flex;align-items:center;gap:10px;border-top:1px solid #f0f4ed;padding-top:13px;color:#809187;font-size:11px}.per-km-form input{width:80px;padding:8px;border:1px solid #dce6d9;border-radius:8px;color:#204936;font-weight:800}
.winner-strip{border-radius:18px;background:#dff1ce;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.winner-strip .eyebrow{color:#5b8c4e}.winner-strip h2{font-family:'Plus Jakarta Sans',sans-serif;font-size:20px;margin:6px 0 6px;color:#235138;letter-spacing:-.7px}.winner-strip p{margin:0;font-size:11px;color:#638565;line-height:1.5}.winner-amount{font-family:'Plus Jakarta Sans',sans-serif;font-size:24px;font-weight:800;color:#1d4f35;white-space:nowrap;letter-spacing:-1px}
.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.store-card{border:1px solid #e2eae0;background:#fff;border-radius:20px;padding:18px;min-width:0;position:relative}.store-card.best{border:2px solid #91c471;padding:17px;box-shadow:0 9px 32px #67a75318}.store-card.incomplete{opacity:.75}.store-tag{position:absolute;top:-11px;right:13px;background:#245a3d;color:white;border-radius:20px;padding:5px 9px;font-size:9px;font-weight:800;letter-spacing:.7px}.store-heading{display:flex;align-items:center;gap:9px;justify-content:space-between}.store-initial{display:grid;place-items:center;font-family:'Plus Jakarta Sans',sans-serif;font-size:19px;font-weight:900;background:#e7f0e7;color:#225442;width:38px;height:38px;border-radius:12px}.store-name{font-size:15px;color:#1c4838;font-weight:800}.store-distance{font-size:10px;color:#9cae9f}.store-status{margin-left:auto;font-size:11px;font-weight:800;color:#639954}.store-status.bad{color:#c06f53}.store-total{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(21px,2.3vw,29px);font-weight:800;letter-spacing:-1.5px;color:#1f4c39;margin:22px 0 2px}.store-sub{font-size:10px;color:#98a89b;margin:0 0 17px}.compare-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#7e9281;margin:10px 0}.compare-line b{color:#315d44;font-size:11px}.store-divider{height:1px;background:#edf2eb;margin:15px 0}.store-foot{display:flex;justify-content:space-between;gap:6px;font-size:10px;font-weight:800;color:#5f9a4f}.store-foot.missing{color:#b77a5f}.store-foot span:last-child{color:#8d9e90}
.quote-detail{margin-top:19px}.quote-detail summary{cursor:pointer;font-size:12px;font-weight:800;color:#315d44;list-style:none;display:flex;align-items:center;justify-content:space-between}.quote-detail summary:after{content:'＋';font-size:18px;color:#6a9c67}.quote-detail[open] summary:after{content:'−'}.detail-list{padding:6px 0 0}.detail-row{display:flex;justify-content:space-between;gap:9px;font-size:10px;color:#7d927f;padding:8px 0;border-bottom:1px solid #f0f4ef}.detail-row b{color:#446650;font-weight:800}.detail-row.missing{color:#c28065}
.summary-note{display:flex;gap:12px;align-items:flex-start;border-radius:15px;background:#edf4e8;color:#57775a;padding:15px 17px;margin-top:17px;font-size:11px;line-height:1.7}.summary-note span{font-size:19px}
.right-rail{position:sticky;top:0;height:100vh;overflow:auto;background:#fff;border-left:1px solid #e8eee6;padding:32px 23px 24px}.rail-head{display:flex;align-items:center;justify-content:space-between}.rail-head h2{font-family:'Plus Jakarta Sans',sans-serif;color:#194435;font-size:16px;margin:0;letter-spacing:-.4px}.rail-counter{background:#e9f5df;color:#4d8b51;font-weight:800;font-size:10px;border-radius:9px;padding:7px 9px}.rail-subtitle{color:#9cae9f;font-size:11px;line-height:1.65;margin:8px 0 21px}.rail-feature{background:#e9f5e0;border-radius:18px;padding:17px;margin-bottom:22px;position:relative;overflow:hidden}.rail-feature:after{content:'✦';position:absolute;right:13px;top:1px;color:#afd489;font-size:55px;opacity:.3}.rail-kicker{font-size:10px;letter-spacing:1.6px;color:#74a25e;font-weight:800}.rail-main{font-family:'Plus Jakarta Sans',sans-serif;color:#215239;font-weight:800;letter-spacing:-.9px;font-size:28px;margin:10px 0 0}.rail-feature p{font-size:11px;color:#658268;line-height:1.6;margin:7px 0 0}.rail-list{display:grid;gap:0}.rail-item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f4ee}.rail-item-emoji{background:#eef6e8;border-radius:9px;width:35px;height:35px;display:grid;place-items:center;font-size:18px}.rail-item-name{font-size:11px;color:#2e5a42;font-weight:800;flex:1;min-width:0}.rail-item-name span{display:block;font-size:9px;color:#9aa99e;margin-top:4px;font-weight:500}.rail-item-qty{font-size:10px;color:#69866c;font-weight:800}.rail-more{font-size:11px;text-align:center;padding:13px;color:#77977b}.rail-total{display:flex;justify-content:space-between;align-items:center;margin-top:23px;border-top:1px solid #e8efe5;padding-top:18px;font-size:12px;color:#6b8871}.rail-total strong{font-family:'Plus Jakarta Sans',sans-serif;font-size:20px;letter-spacing:-.7px;color:#20543c}.rail-button{width:100%;margin-top:14px}.rail-foot{border-radius:12px;background:#f7f9f5;margin-top:16px;padding:13px;font-size:10px;color:#92a18f;line-height:1.6}
.app-dialog{width:min(520px,calc(100vw - 28px));border:0;border-radius:23px;padding:28px;box-shadow:0 25px 90px #0a25156b;color:#224937}.app-dialog::backdrop{background:#0d271fd1;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.close-dialog{background:#edf5e8;color:#517f56;width:32px;height:32px;border-radius:10px;font-size:23px}.app-dialog h2{font-family:'Plus Jakarta Sans',sans-serif;font-size:24px;letter-spacing:-1px;margin:9px 0 18px}.dialog-steps{margin:0;padding-left:19px;color:#64816a;font-size:12px;line-height:1.7}.dialog-steps li{padding-left:3px;margin:11px 0}.dialog-steps b{color:#24533e}.dialog-note{font-size:11px;line-height:1.7;color:#89692c;background:#fff7e2;border-radius:12px;padding:12px;margin-top:17px}.dialog-button{width:100%;margin-top:17px}.toast{position:fixed;z-index:50;bottom:23px;left:50%;transform:translate(-50%,90px);opacity:0;background:#1a4d3b;color:white;padding:12px 19px;border-radius:13px;box-shadow:0 12px 40px #0c291e59;font-size:12px;font-weight:800;transition:transform .2s,opacity .2s;pointer-events:none;text-align:center;max-width:calc(100vw - 30px)}.toast.show{transform:translate(-50%,0);opacity:1}.mobile-nav{display:none}
@media(max-width:1450px){.app-shell{grid-template-columns:212px minmax(0,1fr) 265px}.sidebar{padding-left:11px;padding-right:11px}.topbar{padding:0 24px}#main{padding:26px 24px 50px}.right-rail{padding:25px 17px}.hero-copy{padding:28px 25px}.hero-art{padding-right:20px}.store-grid{gap:9px}.store-card{padding:12px}.store-card.best{padding:11px}.store-name{font-size:13px}}
@media(max-width:1180px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.right-rail{display:none}.topbar{height:75px}.hero{min-height:268px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:25;background:#fff;border-top:1px solid #e5ede1;box-shadow:0 -6px 22px #1e492112;padding:7px 7px max(7px,env(safe-area-inset-bottom))}.mobile-nav-button{background:transparent;color:#90a296;font-size:10px;font-weight:800;display:grid;place-items:center;gap:3px;padding:5px 0}.mobile-nav-button>span:first-child{font-size:23px;line-height:1}.mobile-nav-button>span:last-child{font-size:10px;line-height:1.3}.mobile-nav-button.active{color:#2b724c}.topbar{height:61px;padding:0 22px}.topbar-left{font-size:11px}#main{padding:22px 19px 95px}.page-footer{padding:18px 20px 105px}.toast{bottom:84px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:280px}}
@media(max-width:600px){.topbar{padding:0 17px}.demo-label{font-size:8px;letter-spacing:.6px;padding:8px}.round-button{width:31px;height:31px}.topbar-actions{gap:7px}.language-switch{gap:2px;padding:3px}.language-switch button{min-width:29px;padding:6px;font-size:9px}#main{padding:19px 14px 45px}.hero{display:block;min-height:0;margin-bottom:13px;border-radius:21px}.hero-copy{padding:26px 23px}.hero h1{font-size:34px;line-height:1.15;letter-spacing:-1.5px}.hero p{font-size:12px}.hero-art{display:none}.hero-steps{gap:6px;margin-top:18px;font-size:9px}.hero-steps span{padding:5px 7px}.notice{font-size:10px;padding:10px}.metric-grid{gap:7px;margin-bottom:22px}.metric{padding:13px 10px;border-radius:12px}.metric-label{font-size:9px;min-height:24px;line-height:1.4;margin-bottom:6px}.metric-value{font-size:clamp(14px,4vw,21px);letter-spacing:-.6px}.metric-sub{font-size:9px;line-height:1.4}.content-grid{grid-template-columns:1fr}.panel{padding:17px}.mini-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mini-recipe{padding:8px}.mini-emoji{height:58px;font-size:28px}.mini-recipe h3{font-size:10px;min-height:30px}.mini-recipe p{font-size:9px}.page-head h1{font-size:27px}.page-head p{font-size:11px}.recipe-tools{align-items:stretch}.search-wrap{max-width:none;flex:1 1 100%}.filter-row{width:100%}.filter-chip{flex:1;padding:10px 7px}.recipe-grid{gap:9px}.recipe-picture{height:102px;font-size:48px}.recipe-body{padding:11px}.recipe-card h3{font-size:12px;min-height:32px}.recipe-card p{font-size:10px;min-height:45px}.recipe-bottom{flex-wrap:wrap}.recipe-bottom small{font-size:9px}.add-form{grid-template-columns:1fr 80px;gap:8px}.add-form>.button{grid-column:1/-1;width:100%}.travel-card{grid-template-columns:1fr;padding:15px}.transport-switch{width:100%}.transport-switch button{flex:1;padding:10px 6px}.store-grid{grid-template-columns:1fr;gap:14px}.store-card,.store-card.best{padding:19px}.store-total{font-size:29px}.store-heading{gap:10px}.winner-strip{padding:16px;align-items:flex-start;flex-wrap:wrap}.winner-strip h2{font-size:19px}.winner-amount{font-size:22px}.app-dialog{padding:20px}.page-footer{padding-bottom:100px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* V0.3 — three live-swappable skins, one shared basket and calculation engine. */
.theme-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #e0e9d8;border-radius:12px;background:#edf3e8;white-space:nowrap}
.theme-switch button{display:flex;align-items:center;gap:5px;background:transparent;color:#75907e;border-radius:8px;min-height:28px;padding:5px 8px;font-size:10px;font-weight:800;transition:background .2s,color .2s,transform .2s}
.theme-switch button>span:first-child{font-size:14px;line-height:1}
.theme-switch button.active{color:white;background:#20523e;box-shadow:0 2px 8px #12391f2b}
.theme-switch button:hover:not(.active){background:#dce9d0;color:#174d36}
.theme-switch button:focus-visible{outline-offset:2px}
.theme-switch-label{font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.2px}

/* 02 — Campus POP: vivid risograph art, student energy, comic-like contrasts. */
html[data-theme="campus"]{color:#19234e;background:#fff7eb}
html[data-theme="campus"] button:focus-visible,
html[data-theme="campus"] input:focus-visible{outline-color:#ff794f}
html[data-theme="campus"] .sidebar,
html[data-theme="campus"] .right-rail{background:#f5f0ff;border-color:#e3d9fa}
html[data-theme="campus"] .brand,
html[data-theme="campus"] .page-head h1,
html[data-theme="campus"] .page-head h2,
html[data-theme="campus"] .section-title h2,
html[data-theme="campus"] .panel h3,
html[data-theme="campus"] .recipe-card h3{color:#2833a0}
html[data-theme="campus"] .brand-mark{background:#ffce43;color:#2735a5;border-radius:13px 18px 12px 19px;transform:rotate(-6deg);box-shadow:3px 3px 0 #f27b4d}
html[data-theme="campus"] .brand-dot{color:#f76551}
html[data-theme="campus"] .nav-button.active{background:#ffdd6e;color:#202d90;box-shadow:3px 3px 0 #eac568}
html[data-theme="campus"] .nav-button:hover{background:#e5dcfa;color:#2634a3}
html[data-theme="campus"] .nav-count{background:#ff9b7b;color:#641f36}
html[data-theme="campus"] .sidebar-pitch{background:#263ec7;border-radius:21px 29px 20px 26px;box-shadow:4px 5px 0 #f7b15c}
html[data-theme="campus"] .sidebar-pitch p{color:#e0e3ff}
html[data-theme="campus"] .pitch-graphic{color:#ffdf60}
html[data-theme="campus"] .pitch-link{background:#ffcf43;color:#27338f}
html[data-theme="campus"] .topbar{border-color:#f0dfd7;background:#fffaf1}
html[data-theme="campus"] .topbar-breadcrumb,
html[data-theme="campus"] .topbar-left{color:#626cc1}
html[data-theme="campus"] .theme-switch,
html[data-theme="campus"] .language-switch{background:#eeebff;border-color:#dcd5fe}
html[data-theme="campus"] .theme-switch button,
html[data-theme="campus"] .language-switch button{color:#7b79bc}
html[data-theme="campus"] .theme-switch button.active,
html[data-theme="campus"] .language-switch button.active{background:#293dc3;color:#fff}
html[data-theme="campus"] .hero{background:#263dc4;border-radius:28px 35px 27px 34px;box-shadow:6px 7px 0 #ffcf64}
html[data-theme="campus"] .hero:before,
html[data-theme="campus"] .hero:after{display:none}
html[data-theme="campus"] .hero h1{letter-spacing:-2.2px}
html[data-theme="campus"] .hero h1 em{color:#ffda59}
html[data-theme="campus"] .hero-kicker,
html[data-theme="campus"] .hero-steps b{color:#ffe683}
html[data-theme="campus"] .hero-kicker i{background:#ffb47d}
html[data-theme="campus"] .hero p{color:#e2e7ff}
html[data-theme="campus"] .hero-steps span{border-color:#8b9be3;color:#fff2c4;background:#ffffff15}
html[data-theme="campus"] .hero-art{background:url('./assets/campus-pop-hero-v2.webp') center/cover no-repeat;padding:0}
html[data-theme="campus"] .floating-card{position:absolute;bottom:8px;right:6px;max-width:185px;transform:rotate(8deg) scale(.80);transform-origin:right bottom;box-shadow:0 12px 28px #0c207b75}
html[data-theme="campus"] .floating-sticker{top:15px;left:10px;transform:rotate(-10deg);background:#ffcf42;color:#26338f}
html[data-theme="campus"] .button-lime{background:#ffce43;color:#27308b;border-radius:14px}
html[data-theme="campus"] .button-lime:hover{background:#ffe47c}
html[data-theme="campus"] .button-dark{background:#293cb9;color:#fff}
html[data-theme="campus"] .button-dark:hover{background:#3d56dd}
html[data-theme="campus"] .button-soft{background:#eee8ff;color:#393ab1}
html[data-theme="campus"] .metric,
html[data-theme="campus"] .panel,
html[data-theme="campus"] .recipe-card,
html[data-theme="campus"] .store-card{border-color:#e7deff;box-shadow:3px 3px 0 #ede2ff}
html[data-theme="campus"] .metric.accent{background:#ffea99;border-color:#e9cb66;box-shadow:3px 3px 0 #e5c95f}
html[data-theme="campus"] .metric-value,
html[data-theme="campus"] .stepper span{color:#2837a9}
html[data-theme="campus"] .eyebrow,
html[data-theme="campus"] .text-link{color:#4854c3}
html[data-theme="campus"] .recipe-picture{background:linear-gradient(135deg,#e4dbff,#ffe5b6)}
html[data-theme="campus"] .recipe-card.selected{border-color:#6979e3;box-shadow:0 0 0 2px #a9b2f9 inset}
html[data-theme="campus"] .stepper button{background:#e3e6ff;color:#2b3cc3}
html[data-theme="campus"] .rail-feature{background:#ffeb9f}
html[data-theme="campus"] .rail-main,
html[data-theme="campus"] .rail-total strong{color:#2937a6}
html[data-theme="campus"] .rail-item-emoji{background:#e5e0ff}
html[data-theme="campus"] .mobile-nav{background:#f6f0ff;border-color:#e5dafa}
html[data-theme="campus"] .mobile-nav-button.active{color:#303ec5}
html[data-theme="campus"] .winner-strip{background:#2e41b8}

/* 03 — Food Studio: warm paper, burgundy, painterly editorial food. */
html[data-theme="studio"]{color:#392a28;background:#faf6ee}
html[data-theme="studio"] button:focus-visible,
html[data-theme="studio"] input:focus-visible{outline-color:#b9834e}
html[data-theme="studio"] .sidebar,
html[data-theme="studio"] .right-rail{background:#fffaf4;border-color:#eadfd2}
html[data-theme="studio"] .brand{color:#632e32}
html[data-theme="studio"] .brand-mark{background:#632e32;color:#fff3db;border-radius:50%}
html[data-theme="studio"] .brand-dot{color:#c27b43}
html[data-theme="studio"] .nav-button.active{background:#f4e4d7;color:#73383e}
html[data-theme="studio"] .nav-button:hover{background:#f8ebe0;color:#632e32}
html[data-theme="studio"] .nav-count{background:#ead5c5;color:#703e3d}
html[data-theme="studio"] .sidebar-pitch{background:#682f37;border-radius:14px 29px 14px 29px}
html[data-theme="studio"] .sidebar-pitch p{color:#ead3cc}
html[data-theme="studio"] .pitch-link{background:#f7dcc4;color:#67333a}
html[data-theme="studio"] .topbar{background:#fffaf4;border-color:#eadfd2}
html[data-theme="studio"] .topbar-breadcrumb,
html[data-theme="studio"] .topbar-left{color:#856c64}
html[data-theme="studio"] .theme-switch,
html[data-theme="studio"] .language-switch{background:#f6ece1;border-color:#ead9cb}
html[data-theme="studio"] .theme-switch button,
html[data-theme="studio"] .language-switch button{color:#99766e}
html[data-theme="studio"] .theme-switch button.active,
html[data-theme="studio"] .language-switch button.active{background:#71333d;color:#fff}
html[data-theme="studio"] .hero{background:#673039;border-radius:14px 28px 14px 28px;box-shadow:0 12px 26px #5c2e3018}
html[data-theme="studio"] .hero:before,
html[data-theme="studio"] .hero:after{display:none}
html[data-theme="studio"] .hero h1,
html[data-theme="studio"] .page-head h1,
html[data-theme="studio"] .page-head h2,
html[data-theme="studio"] .section-title h2,
html[data-theme="studio"] .panel h3,
html[data-theme="studio"] .recipe-card h3,
html[data-theme="studio"] .winner-strip h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.8px}
html[data-theme="studio"] .hero h1{font-size:clamp(30px,3.35vw,46px);line-height:1.1}
html[data-theme="studio"] .hero h1 em{color:#ffd8ab}
html[data-theme="studio"] .hero-kicker{color:#f5cb9e}
html[data-theme="studio"] .hero-kicker i{background:#d99f72}
html[data-theme="studio"] .hero p{color:#ead6ce}
html[data-theme="studio"] .hero-steps{color:#f7e0c2}
html[data-theme="studio"] .hero-steps span{border-color:#a27770}
html[data-theme="studio"] .hero-art{background:url('./assets/food-studio-hero.webp') center 53%/cover no-repeat;padding:0}
html[data-theme="studio"] .floating-card{position:absolute;bottom:3px;right:0;max-width:188px;transform:rotate(-5deg) scale(.76);transform-origin:right bottom;box-shadow:0 10px 28px #4f222c60}
html[data-theme="studio"] .floating-sticker{top:16px;left:8px;background:#f2d0b4;color:#713b40;transform:rotate(-5deg)}
html[data-theme="studio"] .button-lime{background:#f6dab7;color:#69353c}
html[data-theme="studio"] .button-lime:hover{background:#ffebcf}
html[data-theme="studio"] .button-dark{background:#6b343d;color:#fff}
html[data-theme="studio"] .button-dark:hover{background:#874950}
html[data-theme="studio"] .button-soft{background:#f6e8db;color:#7d4840}
html[data-theme="studio"] .page-head h1,
html[data-theme="studio"] .page-head h2,
html[data-theme="studio"] .section-title h2,
html[data-theme="studio"] .panel h3,
html[data-theme="studio"] .recipe-card h3{color:#61323a}
html[data-theme="studio"] .metric,
html[data-theme="studio"] .panel,
html[data-theme="studio"] .recipe-card,
html[data-theme="studio"] .store-card{border-color:#eadcd0;background:#fffdf9}
html[data-theme="studio"] .metric.accent{background:#f4e7cd;border-color:#e7d8ba}
html[data-theme="studio"] .metric-value,
html[data-theme="studio"] .rail-main,
html[data-theme="studio"] .rail-total strong{color:#6a353e}
html[data-theme="studio"] .eyebrow,
html[data-theme="studio"] .text-link{color:#a36a55}
html[data-theme="studio"] .recipe-picture{background:linear-gradient(135deg,#efe0cd,#faf2e5)}
html[data-theme="studio"] .recipe-card.selected{border-color:#ae806d;box-shadow:0 0 0 2px #ebd8c5 inset}
html[data-theme="studio"] .stepper button{background:#f4e3d6;color:#74383e}
html[data-theme="studio"] .stepper span{color:#703e40}
html[data-theme="studio"] .rail-feature{background:#f6ead8}
html[data-theme="studio"] .rail-item-emoji{background:#f6ebdf}
html[data-theme="studio"] .mobile-nav{background:#fffaf4;border-color:#eadfd2}
html[data-theme="studio"] .mobile-nav-button.active{color:#763941}
html[data-theme="studio"] .winner-strip{background:#6d343c}

@media(max-width:1100px){
  .theme-switch button{padding:5px 6px}
  .theme-switch-label{font-size:9px}
}
@media(max-width:720px){
  .topbar .demo-label{display:none}
  .theme-switch .theme-switch-label{display:none}
  .theme-switch button{min-width:31px;justify-content:center;padding:5px 6px}
}
@media(max-width:600px){
  .topbar-left{display:none}
  .topbar-actions{margin-left:auto}
  .theme-switch{padding:3px;gap:1px}
  .theme-switch button{min-width:29px;min-height:27px;padding:5px}
  html[data-theme="campus"] .hero-art,
  html[data-theme="studio"] .hero-art{display:block;height:174px;background-position:center 49%}
  html[data-theme="campus"] .floating-card,
  html[data-theme="studio"] .floating-card,
  html[data-theme="campus"] .floating-sticker,
  html[data-theme="studio"] .floating-sticker{display:none}
  html[data-theme="campus"] .hero-copy,
  html[data-theme="studio"] .hero-copy{padding:25px 23px 23px}
  html[data-theme="campus"] .hero{box-shadow:3px 4px 0 #ffcf64}
  html[data-theme="studio"] .hero h1{font-size:36px}
}

/* V0.4 — purpose-made food art for both alternate skins.
   The original Classic emoji rendering is deliberately unchanged. */
/* Classic retains its approved green layout, but now also offers a distinct
   fresh Greek-salad food photograph instead of a blank hero background. */
html[data-theme="classic"] .hero-art{background:url('./assets/classic-greek-salad-hero.webp') center/cover no-repeat;padding:0}
html[data-theme="classic"] .floating-card{position:absolute;bottom:7px;right:7px;max-width:191px;transform:rotate(4deg) scale(.81);transform-origin:right bottom}
html[data-theme="classic"] .floating-sticker{top:17px;left:12px}
.theme-tile{display:none}
.visual-fallback{display:contents}
html[data-theme="campus"] .visual-fallback,
html[data-theme="studio"] .visual-fallback{display:none}
html[data-theme="campus"] .theme-tile,
html[data-theme="studio"] .theme-tile{
  display:block;width:100%;height:100%;flex:none;
  background-repeat:no-repeat;
  background-position:var(--atlas-x) var(--atlas-y)
}
html[data-theme="campus"] .theme-tile-recipe{background-image:url('./assets/campus-pop-recipes-atlas.webp');background-size:400% 300%}
html[data-theme="studio"] .theme-tile-recipe{background-image:url('./assets/food-studio-recipes-atlas.webp');background-size:400% 300%}
html[data-theme="campus"] .theme-tile-product{background-image:url('./assets/campus-pop-products-atlas.webp');background-size:600% 600%}
html[data-theme="studio"] .theme-tile-product{background-image:url('./assets/food-studio-products-atlas.webp');background-size:600% 600%}
html[data-theme="campus"] .mini-emoji,
html[data-theme="studio"] .mini-emoji{position:relative;overflow:hidden;padding:0}
html[data-theme="campus"] .recipe-picture,
html[data-theme="studio"] .recipe-picture{overflow:hidden}
html[data-theme="campus"] .recipe-picture>.theme-tile,
html[data-theme="studio"] .recipe-picture>.theme-tile{position:absolute;inset:0;width:100%;height:100%}
html[data-theme="campus"] .recipe-time,
html[data-theme="studio"] .recipe-time{z-index:2;backdrop-filter:blur(5px)}
html[data-theme="campus"] .pantry-icon,
html[data-theme="studio"] .pantry-icon{display:inline-flex;width:29px;height:29px;flex:0 0 29px;overflow:hidden;border-radius:8px;box-shadow:0 1px 5px #1a1d2020}
html[data-theme="campus"] .product-emoji,
html[data-theme="studio"] .product-emoji,
html[data-theme="campus"] .rail-item-emoji,
html[data-theme="studio"] .rail-item-emoji{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;padding:0;border-radius:9px;flex-shrink:0}

/* Campus POP now celebrates the illustrated food, not a large blue title block. */
html[data-theme="campus"] .hero{
  background:radial-gradient(ellipse 85% 130% at -10% 80%,#ffd47865,transparent 78%),
             linear-gradient(115deg,#ffebb9 0%,#ffdcad 60%,#f4d6f1 100%);
  color:#29336e;box-shadow:6px 7px 0 #ffb878
}
html[data-theme="campus"] .hero h1{color:#30306c;text-shadow:1px 1px 0 #ffffff90}
html[data-theme="campus"] .hero h1 em{color:#c44d58}
html[data-theme="campus"] .hero-kicker,
html[data-theme="campus"] .hero-steps b{color:#a2466b}
html[data-theme="campus"] .hero p{color:#725468}
html[data-theme="campus"] .hero-steps span{color:#554b75;border-color:#e6b7a2;background:#fff5e76b}
html[data-theme="campus"] .hero-art{background-position:center 52%}
html[data-theme="campus"] .floating-sticker{background:#ffdd57;color:#5a2865}
html[data-theme="campus"] .button-lime{background:#f9ae68;color:#59335f;box-shadow:3px 3px 0 #d98567}
html[data-theme="campus"] .button-lime:hover{background:#ffbf81}
html[data-theme="campus"] .mini-emoji,
html[data-theme="campus"] .recipe-picture{box-shadow:inset 0 0 0 2px #fff7ee}
html[data-theme="campus"] .mini-recipe,
html[data-theme="campus"] .recipe-card{background:#fffdf9;box-shadow:4px 5px 0 #e8d8f6}
html[data-theme="campus"] .mini-recipe{border:1px solid #eed6fc;border-radius:16px}
html[data-theme="campus"] .recipe-card h3{color:#34358e}
html[data-theme="campus"] .sidebar-pitch{background:linear-gradient(135deg,#5146b7,#9e5db5);box-shadow:4px 5px 0 #f6c162}
html[data-theme="campus"] .rail-feature{background:linear-gradient(135deg,#fff2ba,#ffe3d4);border:1px solid #efcd83}
html[data-theme="campus"] .pantry-icon,
html[data-theme="campus"] .product-emoji,
html[data-theme="campus"] .rail-item-emoji{border:2px solid #fff5e4;box-shadow:2px 2px 0 #f0d5ff}

/* Food Studio is a softly lit restaurant interior, with authentic-looking
   unbranded editorial product photography throughout cards and shopping UI. */
html[data-theme="studio"]{--studio-interior:url('./assets/food-studio-interior-v2.webp')}
html[data-theme="studio"] .main-frame{
  background:linear-gradient(180deg,#fffaf3e9,#faf6f0f6 40%,#faf6f0f9),
             var(--studio-interior) center top/cover fixed
}
html[data-theme="studio"] .sidebar,
html[data-theme="studio"] .right-rail{background:linear-gradient(#fffaf4f1,#fffaf4f9),var(--studio-interior) center/cover}
html[data-theme="studio"] .topbar{background:#fffbf5e8;backdrop-filter:blur(12px)}
html[data-theme="studio"] .sidebar-pitch{
  background:linear-gradient(135deg,#6c333be8,#462e35ef),var(--studio-interior) center/cover;
  border:1px solid #b9896e;box-shadow:0 12px 22px #4e26302b
}
html[data-theme="studio"] .hero{box-shadow:0 15px 35px #4c2a312e}
html[data-theme="studio"] .metric,
html[data-theme="studio"] .panel,
html[data-theme="studio"] .recipe-card,
html[data-theme="studio"] .store-card{
  border:1px solid #e4d6c5;border-radius:13px;
  box-shadow:0 10px 25px #7d504a12,0 2px 0 #fff8ef inset
}
html[data-theme="studio"] .panel{background:linear-gradient(155deg,#fffdf9,#fff9f2)}
html[data-theme="studio"] .metric.accent{background:linear-gradient(135deg,#f6eacf,#f0e1c4)}
html[data-theme="studio"] .mini-recipe{background:#fffdf9;border-color:#e6d4c1;box-shadow:0 8px 19px #7d504a16;border-radius:13px}
html[data-theme="studio"] .mini-emoji{border-radius:9px}
html[data-theme="studio"] .recipe-card{overflow:hidden}
html[data-theme="studio"] .recipe-picture:after{display:none}
html[data-theme="studio"] .recipe-time{background:#fff9edeb;color:#6c3e3a;border-radius:4px}
html[data-theme="studio"] .pantry-icon,
html[data-theme="studio"] .product-emoji,
html[data-theme="studio"] .rail-item-emoji{border:1px solid #e8d7c7;background:#fbf7f0;box-shadow:0 2px 7px #603b2b19}
html[data-theme="studio"] .page-head{border-bottom:1px solid #d8bea4;padding-bottom:14px}
html[data-theme="studio"] .section-title{border-bottom:1px solid #e8d9c7;padding-bottom:7px}
html[data-theme="studio"] .rail-feature{background:linear-gradient(140deg,#fff1db,#f0dcc5);border:1px solid #e5cdb3}
html[data-theme="studio"] .winner-strip{background:linear-gradient(125deg,#66313a,#874c4f);border:1px solid #a77d66}
@media(max-width:600px){
  html[data-theme="classic"] .hero-art{display:block;height:174px;background-position:center 54%}
  html[data-theme="classic"] .floating-card,
  html[data-theme="classic"] .floating-sticker{display:none}
  html[data-theme="studio"] .main-frame{background:linear-gradient(#faf6f0f1,#faf6f0f9),var(--studio-interior) center top/auto 1000px}
}

/* V0.5 — food images at their native square tile proportions, never stretched. */
html[data-theme="campus"] .mini-emoji,
html[data-theme="studio"] .mini-emoji{
  height:auto;aspect-ratio:1/1;min-height:0
}
html[data-theme="campus"] .recipe-picture,
html[data-theme="studio"] .recipe-picture{
  height:auto;aspect-ratio:1/1;min-height:0
}
/* Product atlases are rectangular: preserve photographic proportions and crop
   excess edges instead of distorting milk bottles, fruit and groceries. */
html[data-theme="campus"] .theme-tile-product,
html[data-theme="studio"] .theme-tile-product{background-size:auto 600%}

/* One accessible, full-width control operates all three itemized lists. */
.itemized-toggle{
  width:100%;margin:16px 0 0;padding:16px 19px;display:flex;
  justify-content:space-between;align-items:center;gap:12px;
  border:1px solid #bcd7af;border-radius:15px;
  background:#eaf5e4;color:#22583f;font-weight:850;font-size:12px;text-align:left
}
.itemized-toggle:hover{background:#dff0d6}
.itemized-toggle>span:last-child{font-size:23px;line-height:1}
.itemized-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:12px}
.itemized-grid[hidden]{display:none!important}
.itemized-store{background:#fff;border:1px solid #dcebd6;border-radius:16px;padding:16px 13px;min-width:0}
.itemized-store h3{display:flex;align-items:center;gap:8px;margin:0 0 9px;
  color:#214d39;font-size:14px;font-weight:850}
.itemized-store-initial{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;font-size:12px}
.itemized-store .detail-row{color:#526755;line-height:1.45;align-items:flex-start}
.itemized-store .detail-row b{color:#274d38;text-align:right;white-space:nowrap}
.store-card.incomplete{opacity:1;background:#f5f6f2}
.walk-method{line-height:1.65}
.walking-score{color:#49675e}
.walk-disclaimer{font-size:10px;line-height:1.45;color:#677a67;margin-top:-4px}

/* The recommendation on a dark colored strip must always read as light text. */
html[data-theme="campus"] .winner-strip .eyebrow,
html[data-theme="campus"] .winner-strip h2,
html[data-theme="campus"] .winner-strip p,
html[data-theme="campus"] .winner-strip .winner-amount,
html[data-theme="studio"] .winner-strip .eyebrow,
html[data-theme="studio"] .winner-strip h2,
html[data-theme="studio"] .winner-strip p,
html[data-theme="studio"] .winner-strip .winner-amount{color:#fff9ef}
html[data-theme="campus"] .winner-strip .eyebrow{color:#ffe6a5}
html[data-theme="studio"] .winner-strip .eyebrow{color:#ffdfa8}
html[data-theme="campus"] .winner-strip p{color:#e3e8ff}
html[data-theme="studio"] .winner-strip p{color:#f7ded9}
html[data-theme="campus"] .itemized-toggle{background:#fff0bd;color:#313d91;border-color:#e6c766}
html[data-theme="campus"] .itemized-store{border-color:#d8d5f5;box-shadow:3px 3px 0 #ebe4fb}
html[data-theme="studio"] .itemized-toggle{background:#f5e4cc;color:#6a3637;border-color:#b98a68}
html[data-theme="studio"] .itemized-store{background:#fff9f0;border-color:#dcc8b0;box-shadow:0 10px 25px #100f0d38}
html[data-theme="studio"] .store-card.incomplete{background:#f5ede1}
html[data-theme="campus"] .store-card.incomplete{background:#f9f5ff}

/* Studio: a real, moody restaurant environment, inspired by the owner's
   dark BognarCo landing reference — not just a beige recolor. */
html[data-theme="studio"]{background:#16251e}
html[data-theme="studio"] .main-frame{
  background:linear-gradient(100deg,#111d19b9,#201b1bb0 42%,#1b221bb2),
             var(--studio-interior) center top/cover fixed;
}
html[data-theme="studio"] .topbar{
  background:#181f1be8;border-color:#b08e644c;backdrop-filter:blur(14px)
}
html[data-theme="studio"] .topbar-left,
html[data-theme="studio"] .topbar-breadcrumb{color:#efe4cf}
html[data-theme="studio"] .topbar-separator{color:#bea47b}
html[data-theme="studio"] .page-head h1,
html[data-theme="studio"] .page-head h2,
html[data-theme="studio"] #main>.section-title h2{color:#fff2df}
html[data-theme="studio"] .page-head p{color:#eedfcc}
html[data-theme="studio"] .page-head .eyebrow{color:#e5b67d}
html[data-theme="studio"] .page-head{border-bottom:1px solid #e8c79280}
/* Basket table title sits directly on the restaurant photograph, not in a panel. */
html[data-theme="studio"] #main>.basket-toolbar h2{color:#fff2df}
html[data-theme="studio"] #main>.basket-toolbar .basket-count{color:#eedfcc}
html[data-theme="studio"] #main>.section-title .text-link{color:#f5cf9e}
html[data-theme="studio"] #main>.section-title{border-color:#d8ba8c66}
html[data-theme="studio"] .page-footer{color:#f0dfcc;border-color:#a28b6c88;background:#161a16bd}
html[data-theme="studio"] #main>.summary-note{
  background:#273c33e6;color:#f4e7d6;border:1px solid #9e86615e;
  box-shadow:0 8px 20px #0c171458
}
html[data-theme="studio"] .hero{
  background:linear-gradient(115deg,#3a2222f2,#4f292de5);
  border:1px solid #c49c70ad;box-shadow:0 18px 40px #0b0e0bc4
}
html[data-theme="studio"] .metric,
html[data-theme="studio"] .panel,
html[data-theme="studio"] .mini-recipe,
html[data-theme="studio"] .recipe-card,
html[data-theme="studio"] .store-card{
  background:#fffaf2f7;border:1px solid #b69c7b96;
  box-shadow:0 10px 28px #080e0b80,0 1px 0 #fff8ee inset
}
html[data-theme="studio"] .metric.accent{background:#f2e2c6}
html[data-theme="studio"] .winner-strip{
  border:1px solid #bf976e;box-shadow:0 9px 30px #0b100b97;
  background:linear-gradient(115deg,#452b32,#744147)
}
html[data-theme="studio"] .notice{box-shadow:0 7px 25px #0d150d81}
html[data-theme="studio"] .recipe-tools .search-wrap,
html[data-theme="studio"] .recipe-tools .filter-chip{background:#fff9ef}
html[data-theme="studio"] .recipe-tools .filter-chip.active{background:#733e45;color:#fff}
html[data-theme="studio"] .travel-card{background:#fff9ef;border-color:#c7a983;box-shadow:0 8px 24px #0c150c8a}
html[data-theme="studio"] .right-rail{box-shadow:-4px 0 22px #0f130f2e}

@media(max-width:850px){.itemized-grid{grid-template-columns:1fr}}
@media(max-width:600px){
  html[data-theme="studio"] .main-frame{
    background:linear-gradient(#131d17c7,#242019bd),var(--studio-interior) center top/auto 820px repeat-y
  }
  .itemized-toggle{font-size:11px;padding:14px}
  .itemized-store{padding:14px}
}

/* V0.6 additive Campus+ modules and feedback, keeping all three V0.5 skins frozen. */
.feedback-launch{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 11px;border-radius:11px;background:#1f5842;color:white;font-size:10px;font-weight:850;white-space:nowrap}
.feedback-launch>span:first-child{font-size:16px;line-height:1}
.feedback-launch:hover{background:#307657}
.campus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.campus-full{grid-column:1/-1}
.campus-panel{min-width:0}
.campus-panel .section-title{align-items:flex-start}
.campus-panel .panel-desc{margin-top:2px}
.campus-tag{background:#e7f3db;color:#336a47;padding:7px 10px;border-radius:9px;font-size:11px;font-weight:850;white-space:nowrap}
.campus-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 4px}
.campus-result{background:#e6f5dc;color:#356b3f;border-radius:13px;padding:13px 14px;margin:15px 0;font-size:12px;line-height:1.6}
.campus-warning{background:#fff2dc;color:#8a5f2d}
.campus-week-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}
.campus-day{display:flex;flex-direction:column;gap:7px;border:1px solid #dfebd9;border-radius:12px;background:#fafdf7;padding:12px;font-size:11px;line-height:1.45;color:#527363;min-width:0}
.campus-day>b{font-size:12px;color:#2b5940}
.campus-chips{margin-bottom:14px}
.campus-chips .filter-chip{padding:8px 10px}
.campus-recipe-list,.campus-rescue-list{display:grid;gap:8px;max-height:380px;overflow-y:auto}
.campus-recipe,.campus-rescue{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #e7ede3;background:#fbfdfa;border-radius:12px;padding:8px}
.campus-recipe>div,.campus-rescue>div{min-width:0;flex:1}
.campus-recipe b,.campus-rescue b{display:block;font-size:11px;line-height:1.4;color:#2e5844}
.campus-recipe small,.campus-rescue small{display:block;color:#849586;font-size:10px;line-height:1.5;margin-top:3px}
.campus-recipe-art{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;font-size:23px;border-radius:9px;background:#eef6e5;position:relative;overflow:hidden}
.campus-match{display:inline-block;font-size:10px;color:#448551;font-weight:800;margin-top:4px}
.campus-icon-button{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;background:#e1f2d8;color:#286343;font-size:20px}
.campus-icon-button:hover{background:#c9eab7}
.campus-empty,.campus-footnote{font-size:11px;color:#819284;line-height:1.7;margin:14px 0 3px}
.campus-people{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
.campus-person{display:inline-flex;align-items:center;gap:7px;background:#e9f4e3;border-radius:12px;padding:8px 10px;font-size:11px;color:#36684b;font-weight:800}
.campus-person button{background:#fff8f0;color:#ab6a59;font-size:14px;border-radius:6px;min-width:20px}
.campus-inline-form{display:inline-flex;flex-wrap:wrap;gap:6px}
.campus-inline-form input{min-width:125px;max-width:170px;border:1px solid #dce7d9;border-radius:10px;padding:10px;font-size:11px;color:#274e3a}
.campus-inline-form .button{min-height:36px;font-size:10px}
.campus-split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(150px,.9fr);gap:18px}
.campus-line-list{max-height:340px;overflow-y:auto;display:grid;gap:6px;padding-right:5px}
.campus-split-line{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fafdf8;border:1px solid #e8ede6;border-radius:9px;padding:9px 11px;color:#345d46;font-size:11px;font-weight:750}
.campus-split-line small{color:#8a9a8d;font-weight:550}
.campus-split-line select{max-width:145px;min-width:103px;padding:7px 4px;border:1px solid #d7e5d4;border-radius:8px;background:#fff;color:#365c46;font-size:10px}
.campus-costs{background:#edf6e8;border-radius:14px;padding:15px;align-self:start}
.campus-costs>b{display:block;font-size:11px;line-height:1.5;color:#426b51;margin-bottom:10px}
.campus-costs>div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d6e8ce;padding:9px 0;font-size:11px;color:#4b7457}
.campus-costs strong{color:#26543c}
.campus-coupons,.campus-invites{display:grid;gap:10px}
.campus-coupon{border:1px dashed #e0b882;background:#fff9e9;border-radius:14px;padding:14px;display:grid;gap:6px}
.campus-coupon-kicker{font-size:9px;font-weight:900;letter-spacing:1px;color:#aa713c}
.campus-coupon>b{font-size:12px;color:#775329}
.campus-coupon>small{font-size:10px;color:#a18a62}
.campus-coupon>.button{justify-self:start;min-height:31px;font-size:10px;margin-top:3px}
.campus-invite{display:grid;gap:6px;padding:13px;border:1px solid #e3e9dc;border-radius:14px;background:#fbfcf7}
.campus-invite-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#547d5b;font-weight:800}
.campus-invite-top small{font-size:10px;color:#7b927e}
.campus-invite>b{font-size:14px;color:#24533d}
.campus-invite>span,.campus-invite>small{font-size:10px;color:#6d876e}
.campus-invite>.button{justify-self:start;min-height:31px;font-size:10px;margin-top:4px}
.campus-create{margin-top:14px;padding:11px 13px;border-radius:12px;background:#ecf4e8}
.campus-create summary{cursor:pointer;color:#366a4b;font-weight:850;font-size:11px}
.campus-create-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.campus-create-form label{font-size:10px;color:#50735a;font-weight:800}
.campus-create-form input,.campus-create-form select{display:block;margin-top:6px;padding:9px;border-radius:8px;border:1px solid #d8e5d6;color:#284d3a;width:100%;background:white;font-size:11px}
.campus-create-form .button{grid-column:1/-1}
.coupon-summary,.coupon-summary b{color:#2d8a57}
.coupon-amount{display:block;color:#429261;font-size:9px;margin-top:3px;max-width:210px;line-height:1.4}
.feedback-dialog{max-height:calc(100vh - 20px);overflow-y:auto}
.feedback-explain{font-size:12px;line-height:1.6;color:#67816f}
.feedback-field{display:block;color:#4b7357;font-size:11px;font-weight:800;margin:12px 0}
.feedback-field>span{display:block;margin-bottom:6px}
.feedback-field input,.feedback-field select,.feedback-field textarea{width:100%;border:1px solid #d5e5d5;background:#fcfdfa;color:#285342;border-radius:10px;padding:11px;font:inherit;font-size:12px;line-height:1.5;resize:vertical}
.feedback-consent{display:flex;gap:9px;align-items:flex-start;color:#536f59;font-size:11px;line-height:1.5}
.feedback-consent input{margin-top:3px;accent-color:#275d43;flex-shrink:0}
.feedback-privacy{font-size:10px;color:#85978a;line-height:1.55}
.feedback-status{background:#fff1d9;color:#8a612b;border-radius:10px;padding:12px;margin:12px 0;font-size:11px;line-height:1.55}
.feedback-status[data-status="feedback.success"]{background:#e0f3df;color:#2d7147}
.feedback-status[hidden]{display:none}
.feedback-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:15px}
html[data-theme="campus"] .campus-panel{border-color:#d9cdec;background:#fffdf8}
html[data-theme="campus"] .campus-tag{background:#fff0aa;color:#5b477b}
html[data-theme="studio"] .campus-panel{background:#fff9f0;border:1px solid #b99f80;box-shadow:0 10px 28px #080e0b80}
html[data-theme="studio"] .campus-notice{background:#fff5df}
html[data-theme="studio"] .feedback-launch{background:#9b634f;color:#fff9ec}
html[data-theme="campus"] .feedback-launch{background:#5142bd;color:#fff}
html[data-theme="campus"] .campus-recipe-art .theme-tile,
html[data-theme="studio"] .campus-recipe-art .theme-tile{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:850px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){.campus-grid{grid-template-columns:1fr}.campus-full{grid-column:auto}.campus-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.campus-split{grid-template-columns:1fr}.feedback-launch{padding:6px 8px}.feedback-launch>span:last-child{display:none}}
@media(max-width:600px){.topbar{justify-content:flex-end}.topbar-left{display:none}.topbar-actions{gap:6px}}
@media(max-width:480px){.demo-label{display:none}}
@media(max-width:380px){.campus-week-grid{grid-template-columns:1fr}.campus-create-form{grid-template-columns:1fr}.mobile-nav-button>span:last-child{font-size:9px}.topbar-actions{gap:4px}.demo-label{display:none}}
