@font-face{font-family:'Meal Editorial';src:url('meal-fonts/editorial-serif.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}
:root{--editorial-cream:#edf0db;--editorial-gold:#b9ba89;--editorial-line:#9fac8b33;--editorial-sans:'Noto Sans CJK SC','PingFang SC','Microsoft YaHei',sans-serif;}
/* A photographic editorial cover, not a reskinned login form. */
.login-page.editorial-login{padding:0;background:#101d17;color:var(--editorial-cream);min-height:100dvh;}
.editorial-login .editorial-layout{max-width:1100px;width:100%;margin:0 auto;padding:0;display:grid;grid-template-columns:1fr;gap:0;}
.editorial-login .entry-story{display:block;position:relative;isolation:isolate;min-height:330px;overflow:hidden;background:#1c3025;}
.entry-story:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b1e17dd 0%,#0d20174a 62%,transparent),linear-gradient(0deg,#101d17 0%,transparent 35%);z-index:-1;}
.editorial-login .entry-story .entry-story-photo{border-radius:0;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% 50%;z-index:-2;}
.editorial-login .entry-header{position:relative;display:flex;align-items:center;max-width:none;padding:24px 26px;margin:0;gap:24px;}
.editorial-login .entry-brand{gap:10px;}
.editorial-login .entry-brand>span{font-family:'Meal Editorial',serif;font-size:27px;font-weight:400;letter-spacing:3px;color:#f4f3df;}
.editorial-login .entry-brand small{font-family:var(--editorial-sans);font-size:10px;letter-spacing:2px;margin-top:4px;color:#c3ceb7;}
.editorial-login .entry-brand .brand-leaf{width:29px;height:29px;}
.brand-rule{height:1px;flex:1;max-width:84px;background:linear-gradient(90deg,#cbd4b46b,transparent);}
.entry-story-copy{position:relative;padding:18px 28px 34px;max-width:340px;}
.editorial-login .entry-story .entry-eyebrow{font-size:11px;letter-spacing:3px;color:#d2d4b6;margin:0 0 13px;}
.editorial-login .entry-story h1{font-family:'Meal Editorial',serif;font-size:43px;font-weight:400;line-height:1.4;letter-spacing:2px;margin:0;color:#fffbea;text-shadow:0 2px 20px #08180d66;}
.entry-story h1 em{font-style:normal;color:#d8e0b5;}
.editorial-login .entry-story-copy>p:last-child{font-size:12px;color:#d0d7c4;margin:13px 0 0;line-height:1.8;}
.entry-photo-note{position:absolute;right:18px;bottom:35px;font-size:9px;letter-spacing:1px;color:#dce2d399;writing-mode:vertical-rl;}
.editorial-login .entry-access{position:relative;margin:-9px 18px 0;padding:23px 23px 24px;border:1px solid #9daf893d;border-radius:24px;background:linear-gradient(145deg,#26392af5,#16271ff5);box-shadow:0 18px 70px #06100b45,inset 0 1px #f3ffe90b;}
.auth-panel-heading{display:flex;align-items:flex-start;gap:12px;margin:0 0 22px;}
.section-index{font-size:11px;letter-spacing:1px;color:#b5c196;margin-top:8px;}
.editorial-login .entry-access h2{font-family:'Meal Editorial',serif;font-size:25px;font-weight:400;line-height:1.4;margin:0;color:#f4f1df;}
.editorial-login .entry-intro{font-size:12px;line-height:1.8;margin:6px 0 0;color:#b4c3aa;}
.editorial-login .entry-access form{gap:7px;}
.editorial-login .entry-access label{font-size:12px;letter-spacing:.5px;color:#cdd5bf;}
.editorial-login .entry-access input{min-height:49px;margin:0 0 12px;border-radius:11px;background:#0f211a99;border:1px solid #81977655;padding:12px 14px;font-size:15px;}
.editorial-login .entry-access input:focus{border-color:#bdcfa0;background:#10251e;}
.editorial-login .entry-access form button{min-height:51px;margin-top:8px;border-radius:12px;background:#d2ddb4;color:#1d3826;font-size:16px;letter-spacing:2px;box-shadow:0 5px 20px #061a0e2b;}
.editorial-login .entry-access #guest-login,.editorial-login .entry-access #back-login{min-height:40px;margin:13px 0 0;border:0;border-radius:8px;background:transparent;font-size:13px;color:#d0dabb;letter-spacing:1px;}
.editorial-login .entry-access #guest-login span,.editorial-login .entry-access #back-login span{margin-left:3px;}
.editorial-login .entry-help{font-size:11px;line-height:1.8;color:#9fb197;margin:14px 0 0;}
.editorial-login .entry-footer{display:flex;justify-content:space-between;max-width:390px;padding:22px 30px 27px;margin:0 auto;font-size:10px;color:#81977d;letter-spacing:1px;}
.editorial-login .entry-footer>span:first-child{font-family:'Meal Editorial',serif;font-size:14px;letter-spacing:3px;}
.editorial-login #login-error{font-size:13px;line-height:1.7;background:#643b2c55;border-radius:8px;padding:10px 12px;}
.editorial-login #login-error:empty{padding:0;}
/* Coherent editorial hierarchy across customer pages; approved menu is excluded. */
.guest-page:not(.is-menu){background:#112219 radial-gradient(ellipse at 80% 0%,#52684635,transparent 50%);}
.guest-page:not(.is-menu) .guest-workspace{max-width:1040px;padding:25px 24px 38px;}
.guest-page:not(.is-menu) .guest-header{margin-bottom:37px;padding-bottom:18px;border-bottom:1px solid var(--editorial-line);}
.guest-page:not(.is-menu) .guest-brand{font-family:'Meal Editorial',serif;font-size:26px;font-weight:400;letter-spacing:3px;}
.guest-page:not(.is-menu) .guest-header-actions{gap:15px;}
.guest-page:not(.is-menu) .guest-header-actions button{font-size:11px;letter-spacing:.3px;color:#b5c3aa;}
.page-kicker{font-size:10px;letter-spacing:2.5px;line-height:1.8;color:#a2b790;margin:0 0 10px;}
.guest-page:not(.is-menu) h1,.guest-page:not(.is-menu) h2{font-family:'Meal Editorial',serif;font-weight:400;letter-spacing:.5px;color:#f0efdc;}
.guest-page:not(.is-menu) h1{font-size:32px;line-height:1.45;margin-bottom:12px;}
.guest-page:not(.is-menu) h2{font-size:29px;line-height:1.4;}
.guest-page:not(.is-menu) .muted{font-size:13px;color:#a5b79c;}
#hub-profile-summary{margin-bottom:28px;}
.guest-page .guest-entry-actions{gap:17px;grid-template-rows:200px 300px;}
.guest-page .guest-entry-button{position:relative;border-color:#9dae8340;border-radius:20px;background:#213527;text-align:left;}
.guest-entry-edit>img{height:124px;object-position:center 45%;}
.guest-page .guest-entry-button strong{font-family:'Meal Editorial',serif;font-weight:400;letter-spacing:1px;}
.guest-page .profile-entry-copy strong{font-size:23px;}
.guest-page .order-entry strong{font-size:29px;}
.guest-page .profile-entry-copy small,.guest-page .order-entry-copy small{font-size:11px;letter-spacing:.5px;color:#acbf9f;}
.guest-page .order-arrow{background:#ccd9aa;color:#163721;width:39px;height:39px;}
.guest-page .entry-image-note{margin-top:19px;color:#799271;font-size:10px;}
#tier-panel .back-home{margin:-19px 0 22px;color:#c2d3ae;}
#tier-panel h1{max-width:620px;font-size:30px;}
#tier-panel .tier-intro{font-size:13px;line-height:1.9;margin-bottom:27px;color:#aebd9f;}
#tier-panel .tier-options{gap:18px;}
#tier-panel .tier-options button{border-radius:19px;background:#1d3324;border-color:#9aaa7c40;}
#tier-panel .tier-options button[aria-pressed='true']{background:#2b422c;border-color:#d1dfad;box-shadow:0 0 0 1px #d1dfad,0 10px 36px #07160933;}
#tier-panel .tier-photo{height:156px;}
#tier-panel .tier-card-details{padding:19px 20px;}
#tier-panel .tier-copy strong{font-family:'Meal Editorial',serif;font-weight:400;font-size:27px;letter-spacing:1px;}
#tier-panel .tier-copy>span{font-size:12px;color:#acc29b;}
#tier-panel .tier-number{color:#718d65;font-size:10px!important;}
#tier-panel .tier-check{width:23px;height:23px;border-color:#a4b98c;}
#tier-panel #continue-tier{border-radius:12px;background:#d0deb0;font-size:16px;letter-spacing:1px;min-height:53px;margin-top:24px;}
#tier-panel .tier-image-note{font-size:10px;color:#7f9a75;}
.guest-page:not(.is-menu) #unlock-panel{max-width:480px;margin:auto;padding:27px;border:1px solid #8ea57442;border-radius:22px;background:#21372780;}
@media(min-width:760px){
 .login-page.editorial-login{display:flex;flex-direction:column;justify-content:center;padding:35px;}
 .editorial-login .editorial-layout{grid-template-columns:1.2fr 1fr;min-height:660px;border:1px solid #81966d35;border-radius:28px;overflow:hidden;box-shadow:0 26px 100px #0004;}
 .entry-story{min-height:660px;}
 .editorial-login .entry-header{padding:32px 36px;}
 .entry-story-copy{position:absolute;left:8px;bottom:36px;max-width:470px;padding:32px;}
 .editorial-login .entry-story h1{font-size:64px;}
 .entry-story-photo{object-position:62% 50%;}
 .entry-story:after{background:linear-gradient(0deg,#091d17ed,transparent 86%),linear-gradient(90deg,#13241c66,transparent);}
 .editorial-login .entry-access{margin:0;border:0;border-radius:0;align-content:center;padding:50px 42px;background:linear-gradient(135deg,#26372af2,#17281ff2);box-shadow:none;}
 .editorial-login .entry-access h2{font-size:30px;}
 .editorial-login .entry-intro{font-size:13px;}
 .editorial-login .entry-access input{min-height:54px;}
 .editorial-login .entry-footer{max-width:1100px;padding:22px 9px 0;}
 .guest-page:not(.is-menu) .guest-workspace{padding:37px 42px 55px;}
 .guest-page:not(.is-menu) .guest-header{margin-bottom:48px;}
 .guest-page:not(.is-menu) h1{font-size:42px;}
 .guest-page .guest-entry-edit>img,.guest-page .order-entry>img{height:310px;}
 .guest-page .profile-entry-copy,.guest-page .order-entry-copy{padding:23px;}
 .guest-page .profile-entry-copy strong{font-size:28px;}
 .guest-page .order-entry strong{font-size:32px;}
 #tier-panel h1{font-size:38px;}
 #tier-panel .tier-photo{height:200px;}
 #tier-panel .tier-card-details{padding:20px 16px;gap:10px;}
 #tier-panel .tier-copy strong{font-size:25px;}
 #tier-panel #continue-tier{max-width:390px;display:block;margin:34px auto 0;}
}
@media(max-width:359px){
 .entry-story{min-height:305px;}.editorial-login .entry-header{padding:22px;}.entry-story-copy{padding:10px 24px 26px;}.editorial-login .entry-story h1{font-size:38px;}.editorial-login .entry-access{margin:-4px 12px 0;padding:22px 18px;}.editorial-login .entry-access h2{font-size:23px;}.editorial-login .entry-footer{padding:20px 24px;}
 .guest-page:not(.is-menu) .guest-workspace{padding:22px 20px 32px;}.guest-page:not(.is-menu) h1{font-size:29px;}#tier-panel h1{font-size:27px;}#guest-form>.fields{padding:20px 13px;gap:20px 10px;}#profile-panel .panel-header{display:flex;flex-wrap:wrap;gap:12px;}#profile-panel #cancel-profile{font-size:10px;}
}
/* The base admin sheet's 320px minimum must not create horizontal overflow
   when a narrow customer viewport reserves space for a scrollbar. */
html:has(body.editorial-login),html:has(body.guest-page:not(.is-menu)){min-width:0;}

/* Focused home/nutrition revision. The approved login composition is unchanged. */
.guest-page:not(.is-menu){background-color:#0e211a;background-image:radial-gradient(ellipse at 12% 38%,#35664a35,transparent 57%),linear-gradient(135deg,#184d3820,transparent 55%),url('meal-assets/forest-background.png?v=5');background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed;}
.guest-page:not(.is-menu) .guest-workspace{position:relative;z-index:1;max-width:438px;padding:28px 24px 34px;}
.guest-page[data-screen='hub']::before{content:'';position:fixed;z-index:0;pointer-events:none;left:-95px;bottom:-66px;width:370px;height:300px;background:url('meal-assets/chicken.png') center/cover no-repeat;opacity:.36;mask-image:radial-gradient(ellipse at 32% 66%,#000 0%,#0009 23%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 32% 66%,#000 0%,#0009 23%,transparent 70%);}
.guest-page:not(.is-menu) .guest-header{margin-bottom:34px;border-bottom:0;padding-bottom:0;}
.guest-page:not(.is-menu) h1{font-size:30px;}
.guest-page .guest-entry-actions{display:flex;flex-direction:column;gap:15px;}
.guest-page .guest-entry-button.order-entry{height:auto;min-height:0;}
.guest-page .order-entry>img{height:185px;aspect-ratio:auto;object-position:center;}
.guest-page .order-entry-copy{padding:19px 20px;}
.guest-page .guest-entry-button.home-secondary{display:flex;flex-direction:row;align-items:center;gap:0;min-height:98px;height:auto;padding:0;background:#142a20ed;border-radius:16px;}
.guest-page .guest-entry-edit>img{width:87px;height:98px;object-fit:cover;object-position:48% 45%;flex:none;}
.guest-page .home-secondary .profile-entry-copy{flex:1;padding:16px 17px;display:flex;align-items:center;justify-content:space-between;gap:9px;}
.guest-page .home-secondary strong{font-size:19px;line-height:1.4;}
.guest-page .home-secondary small{font-size:11px;line-height:1.7;}
.nutrition-symbol{width:87px;height:98px;display:flex;align-items:center;justify-content:center;gap:6px;background:radial-gradient(ellipse at 35% 20%,#456447,#1b3627);}
.nutrition-symbol i{display:block;width:7px;border-radius:4px;background:#bad0a1;height:27px;}
.nutrition-symbol i:nth-child(2){height:42px;background:#d7e3b7;}.nutrition-symbol i:nth-child(3){height:34px;background:#8ead86;}
#tier-panel .tier-options{display:flex;flex-direction:column;gap:17px;}
#tier-panel .tier-photo{height:166px;}
#tier-panel h1{font-size:29px;}
#tier-panel #continue-tier{max-width:none;}
/* Restore the reviewed earlier profile layout while retaining picker behavior. */
.guest-page[data-screen='profile'] .guest-workspace{max-width:438px;}
.guest-page[data-screen='profile'] .guest-header{margin-bottom:42px;}
.guest-page[data-screen='profile'] .guest-brand{font-family:var(--editorial-sans);font-size:22px;font-weight:750;letter-spacing:1px;}
.guest-page[data-screen='profile'] h2{font-family:var(--editorial-sans);font-size:27px;font-weight:750;line-height:1.35;letter-spacing:0;}
#profile-panel .panel-header{display:flex;align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:22px;}
#profile-panel .panel-header h2{margin:0;}
#profile-panel #cancel-profile{min-height:38px;font-size:12px;padding:8px 15px;}
#profile-panel #profile-info{font-size:14px;line-height:1.7;margin-bottom:24px;}
#profile-panel .fields{display:grid;grid-template-columns:1fr;gap:18px;padding:0;border:0;background:none;}
#profile-panel .field,#profile-panel .measure-field legend{font-size:14px;}
#profile-panel .profile-picker-trigger{min-height:54px;}
#profile-panel .profile-form-note{font-size:12px;}
#nutrition-panel .back-home{display:block;margin:-10px 0 25px;font-size:13px;min-height:36px;}
#nutrition-panel .nutrition-intro{font-size:13px;line-height:1.8;margin:0 0 25px;}
.daily-energy-grid{display:grid;gap:14px;margin:22px 0;}
.daily-energy-card{border:1px solid #9bb59150;border-radius:18px;background:linear-gradient(135deg,#294d35e8,#142d22f0);padding:22px;}
.daily-energy-card p{margin:0 0 10px;color:#c2d2b6;font-size:13px;line-height:1.7;}
.daily-energy-card strong{font-family:'Meal Editorial',serif;font-size:39px;font-weight:400;color:#eff2d9;line-height:1.3;}
.daily-energy-card span{font-size:12px;color:#a9be9c;margin-left:7px;}
.daily-macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0;}
.daily-macro-card{padding:18px 8px;border:1px solid #829c7047;border-radius:13px;background:#173425d9;text-align:center;}
.daily-macro-card p{font-size:12px;color:#b6cba8;margin:0 0 10px;}
.daily-macro-card strong{font-size:23px;font-weight:500;color:#e8efd7;}.daily-macro-card span{font-size:11px;color:#a9be9c;margin-left:3px;}
.daily-nutrition-note,.daily-nutrition-empty{color:#abc09e;font-size:12px;line-height:1.9;margin:18px 0;}
.daily-nutrition-empty{padding:22px;border:1px solid #879f6d45;border-radius:16px;background:#203f2cc9;}
#nutrition-edit-profile{width:100%;margin-top:14px;}
@media(max-width:359px){.guest-page:not(.is-menu) .guest-workspace{padding:24px 18px 32px;}.guest-page:not(.is-menu) h1{font-size:27px;}#tier-panel h1{font-size:26px;}.guest-page .home-secondary strong{font-size:17px;}.guest-page .home-secondary .profile-entry-copy{padding:13px;}.guest-page .order-entry>img{height:160px;}.daily-energy-card strong{font-size:35px;}.daily-macro-card strong{font-size:20px;}}
.daily-energy-card small{display:block;font-size:11px;line-height:1.7;color:#a9bd9b;margin-top:10px;}
.guest-page #nutrition-panel .daily-macro-title{font-size:24px;margin:26px 0 15px;}

.daily-macro-card span{display:block;margin:5px 0 0;}
.guest-page #nutrition-panel .daily-nutrition-empty h2{font-size:22px;line-height:1.5;margin:0 0 14px;}
