:root{--paper:#f7f5ee;--ink:#293b30;--muted:#7d8377;--green:#3e634c;--light-green:#eaf0df;--line:#e3e5d9;--orange:#e49b56;--white:#fffef9;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button{transition:background .15s,box-shadow .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #dca254;outline-offset:4px}button,input,select{border:0}button{background:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}[hidden]{display:none!important}
.site-header{height:100px;max-width:1440px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;letter-spacing:2px;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--green);border-radius:14px 14px 18px 18px;color:#f9f5df;font-size:37px;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;color:var(--muted);font-weight:500}.site-header nav{display:flex;gap:28px;align-self:stretch}.nav-button{position:relative;padding:0 4px;color:var(--muted);font-size:14px;font-weight:600}.nav-button.active{color:var(--green)}.nav-button.active:after{content:"";position:absolute;bottom:23px;height:3px;background:var(--green);border-radius:2px;left:5px;right:5px}.parent-tag{font-size:10px;border:1px solid #d8ddce;margin-left:5px;padding:2px 4px;border-radius:4px;font-weight:400}.header-note{font-size:12px;color:var(--muted);white-space:nowrap}.header-note i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#88a175;margin-right:8px}
main{max-width:1320px;margin:auto;padding:34px 4% 0}.hero{position:relative;overflow:hidden;background:#e9eddb;min-height:250px;border-radius:20px;padding:38px 48px;display:flex;justify-content:space-between;align-items:center}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#879375}.hero .eyebrow{letter-spacing:3px;color:#627656;font-size:12px}h1{font-size:46px;letter-spacing:3px;margin:10px 0;font-weight:800}h1 span{color:#6f875e}.hero-copy>p:not(.eyebrow){font-size:14px;color:#6c7966;line-height:1.7}.hero-label{display:inline-flex;align-items:center;gap:8px;background:#f6f7ea;border:1px solid #fdfbf2;border-radius:30px;padding:8px 14px;font-size:11px;color:#627153;margin-top:20px}.hero-label span{color:#cf9753;font-size:15px}.hero-art{position:relative;width:360px;height:200px;margin-right:45px}.plate{position:absolute;top:2px;left:60px;width:216px;height:180px;background:#fffdf1;border:13px solid #f5f6e9;border-radius:50%;transform:rotate(-12deg);box-shadow:0 12px 0 #d6ddbf,0 19px 24px #87936724,inset 0 0 0 2px #e3e8d6}.food-rice{position:absolute;top:20px;left:26px;font-size:80px;transform:rotate(12deg)}.food-broccoli{position:absolute;left:104px;top:17px;font-size:58px;transform:rotate(35deg)}.food-shrimp{position:absolute;left:95px;top:72px;font-size:65px;transform:rotate(20deg)}.chopstick{width:5px;height:175px;background:#b78958;border-radius:3px;position:absolute;left:302px;top:6px;transform:rotate(16deg);box-shadow:2px 0 #d4b082}.chopstick.two{left:316px;transform:rotate(19deg)}.art-sun{color:#d3a04c;font-size:47px;position:absolute;left:15px;top:-5px}.art-leaf{position:absolute;width:26px;height:48px;border-radius:0 100% 0 100%;background:#91a379;transform:rotate(-25deg);left:18px;top:113px}.leaf-two{transform:rotate(45deg);left:0;top:130px;background:#b0be95}.art-caption{position:absolute;bottom:-12px;left:96px;font-size:11px;letter-spacing:2px;color:#7c8d6a;transform:rotate(-5deg)}
.day-toolbar{display:flex;align-items:center;justify-content:space-between;margin:28px 0 34px;padding-bottom:22px;border-bottom:1px solid var(--line);gap:20px}.date-controls{display:flex;align-items:center;gap:12px}.date-controls label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.date-controls input{background:transparent;color:var(--ink);font-size:16px;font-weight:600;width:152px;padding:0}.date-controls input::-webkit-calendar-picker-indicator{opacity:.45;cursor:pointer}#date-relative{color:var(--green);margin-left:5px}.icon-button{border:1px solid #e0e3d5;background:var(--white);border-radius:50%;width:30px;height:30px;font-size:21px;line-height:1}.text-button{font-size:12px;color:var(--green);padding:7px 5px;text-decoration:underline;text-decoration-color:#b8c1ab;text-underline-offset:4px}.meal-tabs{display:flex;gap:4px;background:#edeede;padding:5px;border-radius:12px}.meal-tabs button{padding:10px 28px;border-radius:9px;font-size:14px;color:#7e8874}.meal-tabs button.active{background:var(--white);color:var(--green);box-shadow:0 2px 5px #4656320a;font-weight:700}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:32px;align-items:start}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}h2{font-size:23px;font-weight:700;letter-spacing:.5px}.section-heading .eyebrow{margin-bottom:7px}.soft-label{font-size:11px;background:#eeeddf;color:#8a8b73;padding:7px 10px;border-radius:6px;white-space:nowrap}.instruction{border:1px solid #e4e7d6;border-radius:10px;padding:13px 16px;line-height:1.8;color:#7b856d;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f2e6}.instruction button{flex-shrink:0;font-weight:600;color:var(--green);font-size:12px}.instruction strong{color:#526a45;font-weight:600}.menu-toolbar{display:flex;justify-content:space-between;align-items:center;margin:23px 0 20px;gap:12px;flex-wrap:wrap}.category-tabs{display:flex;gap:8px;flex-wrap:wrap}.category-tabs button{padding:9px 15px;font-size:12px;border:1px solid var(--line);border-radius:8px;background:#fafaf3}.category-tabs button.active{background:var(--green);color:white;border-color:var(--green)}
.dish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.dish-card{position:relative;background:var(--white);border:1px solid #e3e4d7;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.dish-card.selected{border-color:#7c9867;box-shadow:0 0 0 1px #7c9867}.dish-illustration{height:auto;aspect-ratio:1/1;flex-shrink:0;display:grid;place-items:center;background:#f0efdf;margin:7px 7px 0;border-radius:8px;position:relative}.dish-illustration:before{content:"";position:absolute;width:76px;height:65px;background:#fffaf0;border-radius:50%;box-shadow:0 4px 0 #d5c7a326;transform:rotate(-8deg)}.dish-illustration>span{font-size:53px;position:relative;filter:drop-shadow(0 4px 1px #7e744214);line-height:1}.dish-card[data-category="vegetable"] .dish-illustration{background:#e8eddc}.dish-card[data-category="meat"] .dish-illustration{background:#f3e9db}.dish-card[data-category="soup"] .dish-illustration{background:#efeddf}.dish-card[data-category="breakfast"] .dish-illustration{background:#f4ecda}.dish-selected-mark{position:absolute;right:13px;top:13px;background:var(--green);color:#fff;border-radius:50%;font-size:10px;width:21px;height:21px;display:grid;place-items:center}.dish-info{padding:10px 12px;display:flex;flex-direction:column}.dish-info h3{font-size:14px;line-height:1.6;font-weight:600}.dish-note{font-size:10px;line-height:1.65;color:#949581;margin-top:4px}.dish-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-top:8px}.dish-category{font-size:10px;color:#8b937f}.choose-button{font-size:11px;padding:7px 10px;border-radius:6px;background:#edf2e4;color:#4e6b40;white-space:nowrap}.selected .choose-button{background:var(--green);color:white}.wish-button{font-size:11px;color:#8b886a;padding:7px 4px}.adult-tag{font-size:10px;color:#9a8d7b}.menu-bottom{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9a9f8e;margin:20px 0 25px;gap:12px}.empty-state{grid-column:1/-1;border:1px dashed #d5dcc9;border-radius:13px;min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;background:#fafaf1}.empty-state .empty-icon{font-size:43px;margin-bottom:15px}.empty-state h3{font-size:17px;margin-bottom:10px}.empty-state p{font-size:12px;color:var(--muted);max-width:320px;line-height:1.9;margin-bottom:18px}.empty-state button{padding:11px 20px;border-radius:9px;font-size:13px;background:var(--green);color:white}
.receipt{position:sticky;top:24px;background:var(--white);border:1px solid #e4e2d4;border-radius:14px 14px 0 0;padding:25px 24px 19px;box-shadow:0 7px 16px #3b4a2f04}.receipt:after{content:"";height:10px;position:absolute;bottom:-10px;left:-1px;right:-1px;background:linear-gradient(135deg,var(--white) 25%,transparent 25%) -5px 0,linear-gradient(225deg,var(--white) 25%,transparent 25%) -5px 0;background-size:10px 20px}.receipt-heading{text-align:center;border-bottom:1px dashed #dcded1;padding-bottom:21px}.receipt-icon{font-size:29px;color:#8b9676;display:block;margin-bottom:10px}.receipt-heading .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:7px}.receipt-heading h2{font-size:21px}.receipt-heading>p:last-child{font-size:11px;color:#929681;margin-top:9px}#receipt-body{padding-top:8px}.receipt-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0efe7;padding:13px 0;gap:12px;min-height:48px}.receipt-row-label{font-size:11px;color:#879274;white-space:nowrap}.receipt-row-name{font-size:12px;text-align:right;line-height:1.65}.receipt-row-name.empty{color:#b5b8a9}.receipt-row-name button{font-size:13px;color:#9fa58f;padding-left:6px}#helper-area{margin-top:20px}#helper-area label{font-size:11px;color:#67795a;display:flex;justify-content:space-between}#helper-area label span{font-size:10px;color:#a6aa98}#helper{margin-top:10px;width:100%;padding:10px;background:#f6f6ec;border:1px solid #e9eadd;border-radius:7px;color:#79866c;font-size:11px}.order-status{font-size:11px;color:#889476;line-height:1.8;margin:16px 0 10px;min-height:20px}.order-status.saved{color:var(--green);font-weight:600}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;color:#fffef0;background:var(--green);border-radius:8px;padding:14px 12px;font-size:12px}.primary-button:disabled{background:#d8decb;color:#8d997d}.receipt-footnote{color:#a4aa98;font-size:10px;text-align:center;line-height:1.8;margin:13px 0 0}.parent-summary{padding:15px 0;border-bottom:1px dashed var(--line);font-size:12px;line-height:1.9;color:#7f8a73}.parent-summary strong{color:var(--green)}.parent-summary p{margin-top:6px}.warning{padding:13px 18px;background:#fff0db;color:#8b561c;border:1px solid #ead3a8;border-radius:8px;margin-bottom:20px;font-size:13px}
.history-tip{color:var(--muted);font-size:13px;margin:-4px 0 24px}.history-day{margin-bottom:28px}.history-day h3{font-size:16px;margin-bottom:12px}.history-meals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.history-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px}.history-card header{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:13px}.history-card p{font-size:13px;color:#77826c;line-height:1.9}.history-card small{display:block;color:#969e89;margin-top:10px;font-size:11px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 0 28px;margin-top:38px;font-size:10px;color:#9ca28f}.footer-dot{margin:0 7px;color:#b5baa8}
dialog{border:1px solid var(--line);border-radius:18px;padding:28px;background:var(--paper);color:var(--ink);width:460px;max-width:calc(100% - 32px);max-height:80vh}dialog::backdrop{background:#25362366;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{margin-top:6px}dialog>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:16px}.wish-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.wish-row button{font-size:11px;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);border-radius:10px;background:#334b3a;color:#fffdf3;padding:13px 24px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90%;text-align:center;box-shadow:0 5px 25px #283b3122}#toast.visible{opacity:1;transform:translate(-50%,0)}
.review-meal-button{margin-top:18px;font-size:12px;padding:10px 13px;background:var(--light-green);color:var(--green);border-radius:7px}.dish-feedback-hint{font-size:10px;line-height:1.8;color:var(--green);background:#f1f3e8;border-radius:5px;padding:6px;margin-top:8px}.site-header nav{gap:22px}
.dish-illustration.has-photo:before{display:none}.dish-illustration img{width:100%;height:100%;object-fit:cover;border-radius:8px;position:absolute;inset:0}.photo-button{position:absolute;bottom:5px;right:5px;background:#fffdf1e8;color:var(--green);border:1px solid #ffffff99;font-size:9px;padding:5px 7px;border-radius:5px;z-index:1}.site-header .header-note{display:none}
.dish-edit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:6px;margin-top:6px;border-top:1px solid #efefe3}.dish-edit-actions button{font-size:10px;color:#879078;padding:3px}.dish-edit-actions button[data-remove-dish]{color:#ac8270}
.dish-ready-label{font-size:11px;color:var(--green)}.dish-actions .wish-button{font-size:17px;line-height:1;padding:6px}
.site-header{position:sticky;top:0;z-index:20;background:var(--paper)}.receipt{top:124px}#workspace,#history-view,#feedback-view{scroll-margin-top:120px}.saved-order-actions{display:grid;gap:8px;margin-top:10px}.edit-order-button{border:1px solid #9dab8a;background:#f3f6e9;border-radius:7px;padding:11px;color:var(--green);font-size:12px}.receipt-link-button{padding:9px;background:#f8f4e7;color:#826f47;border-radius:6px;font-size:12px}.history-card-actions{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.add-dish-button{background:var(--green);color:#fffdf1;border-radius:7px;padding:10px 14px;font-size:12px;margin-right:10px}#parent-menu-actions{display:flex;align-items:center;gap:4px}#cancel-order-edit{display:block;margin:10px auto 0}
.breakfast-page .hero{background:#f0e7cd}.breakfast-page h1 span{color:#bd923d;font-size:.78em;margin-left:12px}.breakfast-page .hero .eyebrow{color:#947849}.breakfast-page .hero-label{background:#faf3df;color:#917448}.breakfast-page .plate{box-shadow:0 12px 0 #ddd0ae,0 19px 24px #99845424,inset 0 0 0 2px #ece3cc}.breakfast-page .art-caption{color:#9a865f}.breakfast-page .art-leaf{background:#adac7f}.breakfast-page .instruction{background:#f5f0df;border-color:#e9e0c5}.breakfast-page .meal-tabs button[data-meal="breakfast"].active{background:#fcf6e4;color:#8b6d33}.meal-tabs button{padding-left:19px;padding-right:19px}
#meal-note-area{margin-top:20px}#meal-note-area label{display:flex;justify-content:space-between;font-size:11px;color:#67795a}#meal-note-area label span{font-size:10px;color:#a6aa98}#meal-note{display:block;width:100%;margin-top:10px;padding:10px;resize:vertical;font:inherit;font-size:12px;line-height:1.7;color:var(--ink);background:#f6f6ec;border:1px solid #e9eadd;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere}#meal-note::placeholder{color:#9ba38f}#meal-note:focus-visible{outline:3px solid #dca254;outline-offset:4px}#meal-note-hint{font-size:10px;line-height:1.7;color:#929b85;margin-top:6px}.history-meal-note{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;padding-top:10px;border-top:1px dashed var(--line)}
#order-date-dialog{width:620px;max-height:85vh;overflow-y:auto}#order-date-dialog .dialog-heading{gap:16px}#order-date-preview{display:grid;gap:14px;padding:16px;background:#f0f2e6;border:1px solid #e0e5d6;border-radius:10px;margin-bottom:20px}#order-date-preview:empty{display:none}#order-date-preview h3,#order-date-preview strong{font-size:13px;color:var(--green)}#order-date-preview p{font-size:12px;line-height:1.8;color:#718064;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}#order-date-preview small{font-size:11px;color:var(--muted)}.order-date-label{display:block;font-size:12px;color:#67795a;margin-bottom:8px}#order-date-target{display:block;width:100%;padding:11px 12px;border:1px solid #dce3cf;border-radius:8px;background:var(--white);color:var(--ink);font-size:14px}#order-date-help{font-size:12px;line-height:1.8;color:var(--muted);margin-top:12px}#order-date-error{font-size:12px;line-height:1.8;color:#945332;background:#fff0dc;border:1px solid #ead6b5;padding:10px 12px;border-radius:8px;margin-top:14px}.order-date-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.order-date-cancel{padding:12px 18px;color:var(--green);background:var(--light-green);border-radius:8px;font-size:12px}#confirm-order-date{width:auto;justify-content:center;padding:12px 20px}
@media(min-width:1450px){main{padding-left:24px;padding-right:24px}.site-header{padding-left:5%;padding-right:5%}}
@media(max-width:1100px){.header-note{display:none}.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.dish-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{margin-right:0;width:320px}.hero{padding:30px}.meal-tabs button{padding:10px 23px}.site-header{height:85px}.nav-button.active:after{bottom:16px}}
@media(max-width:760px){.site-header{height:auto;min-height:120px;padding:20px 5% 0;flex-wrap:wrap;gap:12px}.brand{font-size:18px}.site-header nav{width:100%;justify-content:space-between;height:46px;gap:12px}.nav-button.active:after{bottom:0}.hero{min-height:230px;padding:27px 23px}main{padding-top:22px}.hero-art{position:absolute;right:-95px;bottom:-14px;transform:scale(.63);opacity:.65;pointer-events:none}.hero-copy{max-width:100%}h1{font-size:36px}.hero .eyebrow{font-size:10px;letter-spacing:2px}.hero-copy>p:not(.eyebrow){font-size:12px;max-width:210px}.hero-label{font-size:10px}.day-toolbar{flex-direction:column;align-items:stretch;gap:20px;margin-top:24px}.date-controls{justify-content:space-between}.meal-tabs{justify-content:space-between}.meal-tabs button{flex:1}.workspace{display:flex;flex-direction:column}.menu-area{width:100%}.receipt{width:100%;position:relative;top:0;max-width:none}.dish-grid{gap:12px}.dish-info{padding:9px 10px}.dish-info h3{font-size:13px}.dish-actions{gap:2px}.choose-button{font-size:10px;padding:7px 8px}h2{font-size:20px}.instruction{padding:12px;font-size:11px}.history-meals{grid-template-columns:1fr}footer{flex-direction:column;gap:10px;line-height:1.6}}
@media print{.site-header,.hero,.day-toolbar,.menu-area,footer,#print-orders,.history-card button,#change-order-date,#order-date-dialog,#toast,#helper-area,#submit-order,.receipt-footnote{display:none!important}body{background:white}main{padding:0}.workspace{display:block}.receipt{position:static;width:100%;border:0;box-shadow:none}.history-card{break-inside:avoid}.history-meals{grid-template-columns:repeat(3,1fr)}.history-day:not(.print-day){display:none}.history-tip{display:none}}
@media(max-width:440px){.site-header nav{gap:5px}.nav-button{font-size:12px;padding:0 2px}.parent-tag{font-size:9px;margin-left:3px}.date-controls{gap:6px}.meal-tabs button{padding:10px 8px;font-size:12px}.hero-copy h1{font-size:31px}.menu-bottom>span{max-width:55%;line-height:1.8}}
