*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f7fb;color:#172033;font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.7}.container{max-width:1240px;margin:auto;padding:0 18px}.topbar{position:sticky;top:0;z-index:20;background:rgba(16,24,40,.94);backdrop-filter:blur(10px);color:#fff;box-shadow:0 2px 10px #0001}.navwrap{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px}.brandmark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#12b76a,#1570ef);font-weight:900}.brand small{display:block;color:#c9d2e1;margin-top:3px}.topbar nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.topbar a,.linkbtn{color:#e7ebf2;text-decoration:none;background:none;border:0;cursor:pointer;font:inherit}.topbar a:hover,.linkbtn:hover{color:#fff}.nav-cta{padding:9px 14px;border:1px solid #2e90fa;border-radius:10px;background:#1570ef;color:#fff!important}.inline{display:inline}.content{padding-top:28px;padding-bottom:40px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.pagehead h1{margin:0 0 6px;font-size:28px}.pagehead p,.muted{color:#667085;margin:0}.card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:20px;margin-bottom:20px;box-shadow:0 10px 25px #10182808}.narrow{max-width:650px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats4{grid-template-columns:repeat(4,1fr)}.stat span{color:#667085}.stat strong{font-size:30px;display:block;margin-top:10px}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:12px;padding:10px 16px;text-decoration:none;cursor:pointer;font:inherit;gap:8px}.btn.primary{background:#1570ef;border-color:#1570ef;color:#fff}.btn.danger{background:#d92d20;border-color:#d92d20;color:#fff}.btn.ghost{background:transparent}.btn.full{width:100%}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.cardhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.card h2{font-size:18px;margin:0 0 16px}.cardhead h2{margin:0}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid #eaecf0;text-align:right;white-space:nowrap}th{font-size:12px;color:#667085;background:#f9fafb}.actions{display:flex;gap:12px;flex-wrap:wrap}.actions a,a{color:#175cd3;text-decoration:none}.dangertext{color:#b42318!important}.badge{padding:4px 9px;border-radius:99px;background:#f2f4f7;color:#475467;font-size:12px;display:inline-flex;align-items:center}.badge.ok{background:#ecfdf3;color:#027a48}.badge.warn{background:#fffaeb;color:#b54708}.empty{text-align:center;color:#98a2b3;padding:35px}.search{display:flex;gap:8px;margin-bottom:16px}.search input{flex:1}.form-control,input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:12px;padding:10px 11px;background:#fff;font:inherit}.form-control:focus,input:focus,select:focus,textarea:focus{outline:2px solid #84adff;border-color:#84adff}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:15px}.field label{display:block;font-weight:700;margin-bottom:7px}.span2{grid-column:span 2}.form-check-input{width:auto}.recipe-head,.recipe-row{display:grid;grid-template-columns:2fr 1fr 1.2fr 2fr .7fr .5fr;gap:10px;align-items:center}.recipe-head{font-size:12px;color:#667085;padding:8px 0}.recipe-row{padding:8px 0;border-top:1px solid #f0f2f5}.deletebox{text-align:center}.hint{font-size:12px;color:#667085;margin-top:14px}.formactions{display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}.textblock{line-height:2;color:#344054}.alert{padding:12px 14px;border-radius:12px;margin-bottom:14px;background:#eff8ff;color:#175cd3}.alert.success{background:#ecfdf3;color:#027a48}.alert.error{background:#fef3f2;color:#b42318}.err{color:#b42318;display:block;margin-top:5px}.login-card{max-width:450px;margin:70px auto}.footer{color:#98a2b3;text-align:center;padding:20px}.login-card input{margin-top:3px}.helptext{display:block;color:#667085;font-size:12px;margin-top:6px;line-height:1.8}.cost-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cost-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cost-card{display:flex;flex-direction:column;gap:8px}.cost-card span{color:#667085}.cost-card strong{font-size:24px}.cost-card small{color:#667085}.meta-list>div{padding:10px 0;border-bottom:1px solid #eaecf0}.meta-list>div:last-child{border-bottom:0}.meta-list label{display:block;font-size:12px;color:#667085;margin-bottom:4px}.meta-list strong{font-weight:700;color:#101828}.detail-food-image,.image-preview{width:100%;max-width:320px;border-radius:16px;display:block;object-fit:cover;border:1px solid #e4e7ec}.detail-food-image{margin-bottom:14px;aspect-ratio:4/3}.image-preview-wrap{margin-top:4px}.image-preview{aspect-ratio:4/3}.file-input{padding:8px}.mt8{margin-top:8px}
.hero-menu{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:stretch;margin-bottom:24px}.hero-copy,.hero-stats{background:linear-gradient(135deg,#101828,#1d2939);color:#fff;border-radius:24px;padding:28px;box-shadow:0 20px 30px #10182814}.hero-copy h1{font-size:38px;line-height:1.3;margin:10px 0 14px}.hero-copy p{color:#d0d5dd;max-width:730px;margin:0 0 16px}.hero-badge{display:inline-flex;background:#1570ef22;border:1px solid #53b1fd44;padding:8px 12px;border-radius:999px;color:#d1e9ff;font-size:12px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.hero-stats{display:grid;grid-template-columns:1fr;gap:14px;background:linear-gradient(135deg,#172554,#0f766e)}.hero-stat-card{background:#ffffff14;border:1px solid #ffffff1e;border-radius:18px;padding:18px}.hero-stat-card strong{font-size:30px;display:block}.hero-stat-card span{color:#d1e9ff}.category-pills-wrap{overflow:auto;margin-bottom:20px}.category-pills{display:flex;gap:10px;padding-bottom:6px;min-width:max-content}.pill{background:#fff;border:1px solid #d0d5dd;color:#344054;padding:8px 14px;border-radius:999px;text-decoration:none}.pill:hover{background:#eff8ff;border-color:#b2ddff}.menu-section{margin-bottom:30px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.section-head h2{font-size:24px;margin:0 0 5px}.section-head p{color:#667085;margin:0}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.food-card{background:#fff;border:1px solid #e4e7ec;border-radius:22px;overflow:hidden;box-shadow:0 10px 24px #1018280a}.food-image-wrap{position:relative}.food-image{width:100%;aspect-ratio:4/3;display:block;object-fit:cover;background:#eef2ff}.food-image.placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#1d4ed8,#14b8a6);color:#fff;font-size:54px;font-weight:900}.food-body{padding:16px}.food-head-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.food-head-row h3{margin:0;font-size:22px}.food-head-row small{color:#667085;white-space:nowrap}.food-desc{color:#475467;margin:10px 0 12px;min-height:48px}.ingredient-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.ingredient-tags span{padding:6px 10px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:12px}.food-footer{display:flex;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid #eaecf0}.food-footer label{display:block;color:#667085;font-size:12px;margin-bottom:5px}.food-footer strong{color:#101828;font-size:14px}.price-box{text-align:left;min-width:130px}.empty-state-big{text-align:center;padding:40px}.empty-state-big p{color:#667085;margin:10px 0 18px}@media(max-width:1100px){.hero-menu,.menu-grid,.cost-cards-4,.stats4{grid-template-columns:1fr 1fr}.hero-copy{grid-column:1/-1}}@media(max-width:800px){.navwrap{align-items:flex-start;flex-direction:column;padding-top:14px;padding-bottom:14px}.topbar nav{gap:10px}.stats,.stats4,.grid2,.formgrid,.cost-cards,.cost-cards-4,.menu-grid,.hero-menu{grid-template-columns:1fr}.hero-copy h1{font-size:30px}.span2{grid-column:auto}.pagehead{align-items:flex-start;flex-direction:column}.recipe-head{display:none}.recipe-row{grid-template-columns:1fr 1fr}.recipe-row>div:nth-child(1){grid-column:span 2}.search{flex-wrap:wrap}.search input{min-width:100%}.food-footer{flex-direction:column}.price-box{text-align:right}} 

/* Public customer menu: intentionally isolated from management UI */
.public-menu-page{background:#f6f7fb;color:#111827;min-height:100vh}
.public-menu-shell{width:min(1320px,calc(100% - 32px));margin:0 auto}
.public-menu-header{position:sticky;top:0;z-index:60;background:rgba(15,23,42,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.public-menu-header-inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.public-brand{display:flex;align-items:center;gap:10px;color:#fff}
.public-brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#2563eb,#14b8a6);font-weight:900}
.public-brand strong{font-size:15px}
.public-login-link{color:#fff!important;border:1px solid rgba(255,255,255,.24);padding:6px 13px;border-radius:9px;font-size:13px;background:rgba(255,255,255,.06)}
.public-login-link:hover{background:rgba(255,255,255,.12)}
.public-menu-main{padding-top:18px;padding-bottom:44px}
.public-category-nav{position:sticky;top:64px;z-index:50;display:flex;gap:9px;overflow-x:auto;padding:10px 0 12px;margin-bottom:10px;background:linear-gradient(#f6f7fb 78%,rgba(246,247,251,0));scrollbar-width:none}
.public-category-nav::-webkit-scrollbar{display:none}
.public-category-nav a{flex:0 0 auto;background:#fff;color:#344054;border:1px solid #e4e7ec;border-radius:999px;padding:8px 15px;font-size:13px;box-shadow:0 4px 12px rgba(16,24,40,.04)}
.public-category-nav a:hover{border-color:#98a2b3;color:#101828}
.public-menu-section{scroll-margin-top:128px;margin-bottom:34px}
.public-section-title{display:flex;align-items:center;margin-bottom:14px}
.public-section-title h2{margin:0;font-size:24px;color:#101828;position:relative;padding-right:14px}
.public-section-title h2:before{content:"";position:absolute;right:0;top:5px;bottom:5px;width:4px;border-radius:99px;background:linear-gradient(#2563eb,#14b8a6)}
.public-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.public-food-card{border-radius:20px;border:1px solid #e7eaf0;box-shadow:0 10px 30px rgba(16,24,40,.07);transition:transform .18s ease,box-shadow .18s ease}
.public-food-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,24,40,.11)}
.public-food-card .food-image{aspect-ratio:16/11}
.public-food-head h3{font-size:21px;line-height:1.5;margin:0}
.public-food-desc{min-height:0;margin:8px 0 12px;color:#667085}
.public-ingredient-tags{margin:0 0 14px}
.public-ingredient-tags span{background:#f2f4f7;color:#475467;border:1px solid #eaecf0}
.public-food-bottom{display:flex;justify-content:space-between;gap:18px;padding-top:13px;border-top:1px solid #eaecf0;align-items:flex-end}
.public-food-bottom label{display:block;color:#98a2b3;font-size:11px;margin-bottom:4px}
.public-food-bottom strong{color:#101828;font-size:13px;line-height:1.9}
.public-ingredients-text{min-width:0;flex:1}
.public-price{flex:0 0 auto;text-align:left;white-space:nowrap}
.public-price strong{font-size:15px;font-weight:800}
.public-empty-menu{margin:80px auto;text-align:center;color:#667085;background:#fff;border:1px solid #eaecf0;border-radius:18px;padding:35px;max-width:620px}
@media(max-width:1000px){.public-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.public-menu-shell{width:min(100% - 22px,1320px)}.public-menu-header-inner{height:58px}.public-category-nav{top:58px}.public-menu-grid{grid-template-columns:1fr;gap:14px}.public-section-title h2{font-size:21px}.public-food-card .food-image{aspect-ratio:16/10}.public-food-bottom{align-items:flex-start;flex-direction:column}.public-price{text-align:right}.public-menu-section{scroll-margin-top:118px}}
.overhead-card{border-color:#d9e7ff;background:linear-gradient(180deg,#fff,#fbfdff)}.overhead-intro{margin-top:4px}.overhead-examples{display:flex;flex-wrap:wrap;gap:8px 14px;padding:12px 14px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px;color:#475467;font-size:12px}.overhead-examples strong{color:#101828}.cost-breakdown{margin-top:18px;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden}.cost-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 14px;border-bottom:1px solid #eaecf0}.cost-breakdown>div:last-child{border-bottom:0}.cost-breakdown span{color:#667085}.cost-breakdown .total{background:#f8fafc}.cost-breakdown .total strong{font-size:16px}.cost-cards-6{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.cost-cards-6{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cost-cards-6{grid-template-columns:1fr}.overhead-examples{display:grid}}

/* Res2Run role-based photo management */
.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.photo-card{padding:0;overflow:hidden;margin:0}.photo-card-image{width:100%;aspect-ratio:4/3;display:block;object-fit:cover;background:#f2f4f7}.photo-placeholder{display:grid;place-items:center;color:#98a2b3;font-weight:700}.photo-card-body{padding:15px}.photo-card-body h2{font-size:18px;margin:0 0 4px}.photo-card-body p{color:#667085;margin:0 0 14px}.photo-edit-card{margin-inline:auto}.photo-edit-preview{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;border:1px solid #e4e7ec;margin-bottom:18px;background:#f2f4f7}.access-note{padding:14px 16px;border:1px solid #d1e9ff;background:#eff8ff;color:#344054;border-radius:12px;margin-bottom:18px;line-height:2}@media(max-width:1100px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.photo-grid{grid-template-columns:1fr}}
