/* 禧乐轩住客端 · 暖纸、茶褐与香槟金。点餐操作保持在内容前景。 */
:root{
  --paper:#f7f4ee;
  --white:#fffdf9;
  --ink:#302a25;
  --muted:#786f66;
  --green:#554238;
  --dark:#3f302a;
  --pale:#f0e9df;
  --line:#ded4c7;
  --orange:#9c7652;
  --serif:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;
  --sans:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --shadow:0 14px 34px #382b1f12;
}
body{background:var(--paper);color:var(--ink);font-family:var(--sans)}
button,input,select,textarea{font-family:var(--sans)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #9b7856;outline-offset:3px}
.primary,.secondary{min-height:42px;border-radius:2px;font-weight:600}
.primary{background:var(--dark);color:#fffaf3}
.secondary{background:var(--white);border-color:var(--line);color:var(--green)}
.text-button{color:#76583f}
.topbar{background:#fffdf9f2;border-bottom:1px solid #e9e0d5}
.topbar-inner{height:67px;max-width:1170px}
.brand{gap:10px}
.brand-mark{width:34px;height:34px;border:1px solid #73584a;border-radius:1px;background:transparent;color:#60483d;font:500 24px/1 var(--serif)}
.brand-name{font:600 19px/1.3 var(--serif);letter-spacing:.17em}
.brand-name span{margin-left:4px;color:#8c8175;font:400 10px var(--sans);letter-spacing:.08em}
.room-switch{border:1px solid #d9c9b8;border-radius:99px;background:transparent;color:#6c5244}
.room-switch svg{color:#a17f5d}
.desktop-nav button{font-size:13px;color:#817469}
.desktop-nav button.active{color:var(--dark);border-color:#967454}
.page-wrap{max-width:1170px;padding-top:23px}
.page-footer{color:#a69b90;font-size:11px;letter-spacing:.08em}

/* 今日餐单：图片只做氛围，日期、餐次和菜品始终是主要入口。 */
.order-intro{min-height:174px;margin-bottom:20px;padding:26px 34px;border-radius:2px;background:#47372f;box-shadow:var(--shadow)}
.order-intro:after{background:linear-gradient(90deg,#44332c 0%,#44332cf0 34%,#44332c7d 64%,#44332c08 100%)}
.order-intro img{width:61%;object-position:center 53%}
.order-intro-copy{max-width:75%}
.order-eyebrow{color:#eadac7;font-size:11px;font-weight:500;letter-spacing:.17em}
.order-intro h1{margin:14px 0 8px;color:#fffdf8;font:500 31px/1.2 var(--serif);letter-spacing:.16em}
.order-subtitle{color:#f0e4d8;font-size:12px;line-height:1.7;letter-spacing:.02em}
.order-toolbar{padding-bottom:0}
.date-line{min-height:51px;border-bottom:1px solid var(--line);color:#7d6d5e}
.date-line>span{font-size:12px;letter-spacing:.08em}
.date-select{min-height:43px;color:#594135;font-size:13px;font-weight:600}
.meal-tabs{border-bottom:1px solid var(--line)}
.meal-tab{min-height:53px;color:#83776b;font-size:14px}
.meal-tab.active{color:#473329}
.meal-tab.active:after{left:29%;width:42%;height:2px;background:#99724d}
.menu-heading{margin:22px 0 9px;align-items:end}
.menu-heading h2{font:600 23px/1.3 var(--serif);letter-spacing:.13em}
.menu-heading span{color:#9c8c7e;font-size:11px}
.category-tabs{gap:22px;margin:6px 0 11px;border-color:var(--line)}
.category-tabs button{padding:8px 0 12px;color:#857a70;font-size:12px}
.category-tabs button.active{color:#5a3f30}
.category-tabs button.active:after{background:#a78258}
.search-row{gap:18px;margin-bottom:15px}
.search-box{border-color:#dcd1c3}
.search-box input{min-height:42px;padding:9px 0;color:var(--ink);font-size:13px}
.search-box input::placeholder{color:#a5998d}
.allergy-filter{color:#74675b;font-size:12px;white-space:nowrap}
.allergy-filter input{accent-color:#765947}
.dish-grid{gap:0 27px}
.dish-card{grid-template-columns:146px minmax(0,1fr);min-height:176px;padding:14px 0 19px;border-color:var(--line);background:transparent}
.dish-photo{height:144px;border-radius:2px;background:#e8dfd4}
.dish-photo img{width:100%;height:100%;object-fit:cover}
.dish-content{padding:3px 0 0 17px}
.dish-topline{color:#a17a55;font-size:11px;letter-spacing:.08em}
.dish-favorite{width:26px;height:26px;color:#9a8d80}
.dish-favorite svg{width:18px;height:18px}
.dish-title{margin:7px 0 5px;color:#2f2722;font:600 18px/1.35 var(--serif);letter-spacing:.035em}
.dish-description{color:#625a53;font-size:12px;line-height:1.55;-webkit-line-clamp:2;line-clamp:2}
.dish-ingredients{margin-top:5px;color:#8b8075;font-size:11px;line-height:1.5}
.dish-allergy{color:#a34c3e;font-size:11px}
.dish-bottom{padding-top:8px}
.dish-bottom .text-button{font-size:12px;font-weight:500}
.add-button{width:34px;height:34px;border:1px solid #82634f;background:transparent;color:#5b4134}
.add-button.minus{background:transparent;color:#5b4134}
.quantity{gap:9px}
.menu-footnote{max-width:660px;margin:24px auto 0;color:#8f857b;font-size:11px;line-height:1.7}
.cart-bar{width:min(490px,calc(100% - 28px));padding:8px 8px 8px 17px;border-radius:3px;background:#40312a;box-shadow:0 12px 32px #34251d38}
.cart-count{background:#d5b58f;color:#3e2e25;border-color:#40312a}
.cart-total{font-size:15px;font-weight:600}
.cart-subtitle{color:#e4d1bd;font-size:11px}
.checkout-button{min-height:44px;border-radius:2px;background:#f2e5d5;color:#4d382b;font-size:12px}
.bottom-nav{background:#fffdf9f2;border-color:#e8ddd0}
.bottom-nav button{color:#92897e}
.bottom-nav button.active{color:#5d4335}
.bottom-nav button.active svg{fill:none;stroke-width:2}

/* 订单、服务与个人页共享同一版式，减少堆叠感。 */
.page-lead{padding:4px 0 18px;border-bottom:1px solid var(--line)}
.page-kicker{display:block;margin-bottom:8px;color:#a07c57;font-size:11px;letter-spacing:.16em}
.page-title{margin:0;color:#342b26;font:600 29px/1.35 var(--serif);letter-spacing:.09em}
.page-intro{margin:6px 0 0;color:#85796e;font-size:12px;line-height:1.6}
.subnav{margin:17px 0 18px;gap:0;border-bottom:1px solid var(--line)}
.subnav button{min-height:43px;padding:8px 18px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8a7e72}
.subnav button.active{border-color:#987451;background:transparent;color:#583e30}
.order-grid{grid-template-columns:1fr;max-width:820px;margin-inline:auto;gap:14px}
.order-card{padding:20px 22px;border:1px solid var(--line);border-radius:2px;background:var(--white);box-shadow:none}
.order-card header{border-color:var(--line)}
.order-card header strong{font-family:var(--serif);font-size:17px;font-weight:600}
.order-card .small{color:#83776b;font-size:12px;line-height:1.65}
.order-items{align-items:flex-start}
.order-items img{width:62px;height:62px;border-radius:2px;object-fit:cover}
.order-items p{color:#3b3029;font-size:14px;font-weight:600}
.order-items small{display:block;margin-top:2px;color:#92867b;font-size:11px;line-height:1.5}
.order-summary{border-color:var(--line)}
.order-summary strong{color:#664d3e;font-size:12px}
.order-actions .secondary{min-height:36px;border-radius:2px}
.status{border-radius:2px;background:#eee7dc;color:#795a45}
.status.cancelled{background:#f1eee9;color:#8d8378}
.empty{border-color:#d8cec2;border-radius:2px;background:#fffdf9}
.empty h3{font-family:var(--serif);color:#49372d}
.care-hero{margin:19px 0 25px;padding:23px 27px;border:1px solid #e0d4c5;border-radius:2px;background:#eee7dd}
.care-hero h2{font:600 23px/1.45 var(--serif);letter-spacing:.06em}
.care-hero p{margin-top:10px;color:#8c7764;font-size:12px}
.care-hero>svg{width:70px;height:70px;color:#b6a28d;stroke-width:.8}
.section-heading{margin:23px 0 13px}
.section-heading h2{font:600 21px/1.35 var(--serif);letter-spacing:.08em}
.section-heading p{color:#93867a;font-size:12px}
.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.service-card{display:grid;grid-template-columns:40px minmax(0,1fr);grid-auto-rows:min-content;align-content:start;column-gap:13px;padding:18px 19px;border:1px solid var(--line);border-radius:2px;background:var(--white)}
.service-icon{grid-column:1;grid-row:1 / span 3;width:38px;height:38px;margin:0;border-radius:2px;background:#f0e8dc;color:#88694e}
.service-card h3{grid-column:2;margin:0;color:#392f29;font:600 16px/1.4 var(--serif)}
.service-card p{grid-column:2;margin:6px 0 10px;color:#746a60;font-size:12px;line-height:1.6}
.service-card .between{grid-column:2;gap:9px;margin:0;align-items:center}
.service-card small{color:#9b8066;font-size:11px}
.service-card .primary{min-height:38px;padding:7px 13px;border-radius:2px;font-size:12px}
.care-more{margin-top:20px;border:1px solid var(--line);background:var(--white)}
.care-more>summary,.profile-edit>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none}
.care-more>summary::-webkit-details-marker,.profile-edit>summary::-webkit-details-marker{display:none}
.care-more>summary{min-height:87px;padding:17px 22px}
.care-more summary small,.profile-edit summary small{display:block;color:#a07b55;font-size:10px;letter-spacing:.13em}
.care-more summary strong,.profile-edit summary strong{display:block;margin-top:3px;color:#3c3029;font:600 18px var(--serif)}
.care-more summary em,.profile-edit summary em{display:block;margin-top:4px;color:#918478;font-size:11px;font-style:normal}
.care-more summary svg,.profile-edit summary svg{width:19px;height:19px;flex:none;color:#80614b;transition:transform .2s}
.care-more[open] summary svg,.profile-edit[open] summary svg{transform:rotate(90deg)}
.care-more-content{padding:0 22px 24px;border-top:1px solid var(--line)}
.care-more-content .section-heading{margin-top:27px}
.stage-card{display:block;background:#f8f4ed}
.stage-card .eyebrow{color:#a07a55;font-size:11px}
.stage-card h3{margin:9px 0 0}
.stage-card p{margin:8px 0 13px}
.stage-card .chips{margin-top:10px}
.stage-card.stage-current{border-color:#b99b79}
.chip-label{border-radius:2px;background:#f0e9df;color:#785f4b;font-size:11px}
.rhythm-panel{max-width:none}
.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.article{border:1px solid var(--line);border-radius:2px;background:var(--white)}
.article h3{font:600 16px/1.5 var(--serif)}
.profile-card{align-items:flex-start;gap:18px;margin:19px 0 16px;padding:23px 25px;border:1px solid #e0d2c2;border-radius:2px;background:#eee6da}
.avatar{width:58px;height:58px;border-color:#d7c7b4;background:#f9f6ef;color:#6e5040}
.profile-identity{min-width:0;flex:1}
.profile-card h2{margin:2px 0 5px;font:600 23px var(--serif)}
.profile-card p{color:#8a796b;font-size:12px}
.profile-summaries{display:flex;flex-wrap:wrap;gap:7px 17px;margin-top:13px;color:#684f40;font-size:11px;line-height:1.5}
.profile-summaries span{overflow-wrap:anywhere}
.profile-grid{grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.profile-panel{padding:20px 22px;border-radius:2px;background:var(--white)}
.profile-panel h3{margin-bottom:12px;font:600 19px var(--serif)}
.profile-links button{color:#493b32;font-size:13px}
.profile-links svg{color:#9a7859}
.notice-strip{border-radius:2px;background:#f4efe7;color:#84705f;font-size:11px}
.profile-edit{padding:0}
.profile-edit>summary{min-height:96px;padding:20px 22px}
.profile-edit form{padding:0 22px 22px;border-top:1px solid var(--line)}
.profile-edit .field:first-child{margin-top:19px}
.field{color:#53463d;font-size:13px}
.field small{font-size:11px;line-height:1.5}
input,textarea,select{border-radius:2px}

/* 餐食详情以食材和忌口为主，舍去未经核对的营养数字。 */
dialog{border-radius:3px;background:var(--white)}
dialog::backdrop{background:#211b1791;backdrop-filter:blur(2px)}
.sheet-content{padding:23px}
.sheet-top h2{font:600 23px var(--serif);letter-spacing:.03em}
.sheet-photo{width:100%;height:255px;border-radius:2px;object-fit:cover}
.detail-service-note{margin:18px 0 6px;color:#a17b55;font-size:11px;letter-spacing:.09em}
.detail-desc{color:#5c5149;font-size:13px;line-height:1.75}
.detail-ingredients{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.detail-ingredients h3{margin:0 0 12px;font:600 18px var(--serif)}
.ingredient-list{gap:7px}
.ingredient-list .chip-label{padding:7px 10px;background:#f2ece3;color:#624d3e;font-size:12px}
.detail-allergens{margin:16px 0;color:#756659;font-size:12px}
.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.detail-actions>span{color:#8a7d71;font-size:11px}
.detail-actions .primary{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.cart-item img{border-radius:2px;object-fit:cover}
.cart-item h3{font-family:var(--serif);font-size:15px}
.cart-item .small{font-size:11px;line-height:1.5}
.checkout-info{border-radius:2px;background:#f0e9df}
.checkout-info p{color:#89796a;font-size:11px}
.sheet-total{border-color:var(--line)}
.form-note{font-size:11px}
.allergy-note{border-radius:2px;background:#faf0e8;color:#9b5947}
.order-progress .done{color:#76583f}
.order-progress .done:before{background:#8f694c}
.login-page{margin:56px auto;padding:30px;border-radius:2px;box-shadow:var(--shadow)}
.login-page h1{font:600 27px var(--serif)}
.login-page>p{font-size:13px;line-height:1.6}
.demo-label{border-radius:2px;background:#f2ece3;color:#816950}
.toast{border-radius:2px;background:#40312af0}

@media(max-width:999px){
  .dish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 19px}
  .dish-card{grid-template-columns:122px minmax(0,1fr);min-height:165px}
  .dish-photo{height:137px}
  .dish-content{padding-left:12px}
  .dish-title{font-size:16px}
}
@media(max-width:700px){
  .topbar-inner{height:60px;padding:0 17px}
  .brand-mark{width:31px;height:31px;font-size:22px}
  .brand-name{font-size:17px}
  .brand-name span{font-size:9px}
  .room-switch{padding:6px 9px;font-size:11px}
  .page-wrap{padding:15px 17px calc(100px + env(safe-area-inset-bottom))}
  .order-intro{min-height:153px;margin-bottom:14px;padding:19px 20px}
  .order-intro img{width:64%}
  .order-intro:after{background:linear-gradient(90deg,#44332c 0%,#44332cf0 44%,#44332c75 78%,transparent 100%)}
  .order-intro-copy{max-width:78%}
  .order-eyebrow{font-size:9px;letter-spacing:.12em}
  .order-intro h1{margin:12px 0 6px;font-size:27px}
  .order-subtitle{font-size:10px}
  .date-line{min-height:44px}
  .date-select{min-height:39px;font-size:12px}
  .meal-tab{min-height:48px;font-size:14px}
  .menu-heading{margin:18px 0 7px}
  .menu-heading h2{font-size:21px}
  .menu-heading span{font-size:10px}
  .category-tabs{gap:18px;margin:4px -17px 10px 0;padding-right:17px}
  .category-tabs button{min-height:44px;font-size:12px}
  .search-row{gap:12px;margin-bottom:8px}
  .search-box input{min-height:38px;font-size:13px}
  .allergy-filter{font-size:11px}
  .dish-grid{grid-template-columns:1fr;gap:0}
  .dish-card{grid-template-columns:124px minmax(0,1fr);min-height:165px;padding:13px 0 17px}
  .dish-photo{height:135px}
  .dish-content{padding:2px 0 0 13px}
  .dish-topline{font-size:10px}
  .dish-favorite{width:36px;height:36px}
  .dish-title{margin:5px 0 4px;font-size:17px}
  .dish-description{font-size:12px;line-height:1.45}
  .dish-ingredients{font-size:11px}
  .dish-bottom .text-button{font-size:11px}
  .add-button{width:40px;height:40px}
  .bottom-nav{height:calc(65px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom))}
  .bottom-nav button{font-size:11px}
  .bottom-nav button svg{width:21px;height:21px}
  .cart-bar{bottom:calc(72px + env(safe-area-inset-bottom));width:calc(100% - 22px)}
  .page-title{font-size:25px}
  .page-intro{font-size:12px}
  .order-grid{max-width:none}
  .order-card{padding:17px}
  .care-hero{padding:18px 20px}
  .care-hero h2{font-size:20px}
  .care-hero>svg{width:60px;height:60px}
  .section-heading h2{font-size:19px}
  .service-grid,.article-grid{grid-template-columns:1fr;gap:9px}
  .service-card{padding:15px}
  .service-card h3{font-size:16px}
  .service-card p{font-size:12px}
  .service-card .primary{min-height:38px;width:auto}
  .care-more>summary{padding:16px 18px}
  .care-more-content{padding:0 18px 20px}
  .profile-card{padding:19px;gap:13px}
  .avatar{width:50px;height:50px;font-size:24px}
  .profile-card h2{font-size:21px}
  .profile-card p{font-size:11px}
  .profile-summaries{font-size:11px}
  .profile-grid{grid-template-columns:1fr;gap:11px}
  .profile-panel{padding:18px}
  .profile-edit{padding:0}
  .profile-edit>summary{min-height:83px;padding:17px 18px}
  .profile-edit form{padding:0 18px 18px}
  dialog{border-radius:8px 8px 0 0}
  .sheet-content{padding:18px}
  .sheet-photo{height:220px}
  .detail-actions .primary{min-height:42px}
  .login-page{margin:29px auto;padding:24px}
}
@media(max-width:370px){
  .brand-name span{display:none}
  .page-wrap{padding-left:14px;padding-right:14px}
  .order-intro{padding:17px}
  .dish-card{grid-template-columns:106px minmax(0,1fr)}
  .dish-photo{height:126px}
  .dish-content{padding-left:11px}
  .dish-title{font-size:16px}
  .dish-description{font-size:11px}
  .dish-ingredients{font-size:10px}
  .category-tabs{margin-right:-14px;padding-right:14px}
  .profile-card{padding:15px}
}
@media(prefers-reduced-motion:reduce){.care-more summary svg,.profile-edit summary svg{transition:none}}
