:root{--paper:#f8f5ee;--card:#fffdf8;--ink:#343c32;--muted:#858276;--line:#e7e1d5;--olive:#4f6042;--olive-soft:#e7ebdf;--clay:#ad6048;--clay-soft:#f2e7dc;--danger:#a44535;--radius:18px;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--clay);outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}a{color:inherit}svg{display:block;flex-shrink:0}button svg{width:18px;height:18px}button{border:0}label{display:block}input,select,textarea{min-width:0}input::placeholder,textarea::placeholder{color:#a39c8d}dialog{color:var(--ink)}.page-shell{max-width:1120px;margin:auto;padding:0 36px}.masthead{height:100px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:18px;font-weight:600;letter-spacing:.05em}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:.2em;color:var(--muted);margin-top:6px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:var(--olive-soft);color:var(--olive)}.brand-mark svg{width:25px;height:25px}.header-actions{display:flex;align-items:center;gap:12px}.primary-button,.secondary-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border-radius:11px;padding:10px 17px;font-size:13px;font-weight:500;white-space:nowrap}.primary-button{color:#fffdf8;background:var(--olive)}.primary-button:hover{background:#405335}.secondary-button{background:transparent;border:1px solid var(--line);color:var(--ink)}.secondary-button:hover{background:var(--clay-soft)}.quiet-button,.close-button{display:grid;place-items:center;background:transparent;color:var(--muted);width:40px;height:40px;border-radius:50%;padding:10px}.quiet-button:hover,.close-button:hover{background:var(--olive-soft)}.text-button{display:inline-flex;align-items:center;gap:10px;padding:7px 0;background:transparent;color:var(--muted);font-size:12px}.text-button:hover{color:var(--clay)}.hero{display:grid;grid-template-columns:1fr 1.15fr;gap:30px;align-items:center;padding:48px 14px 44px;min-height:350px}.eyebrow{font-size:10px;color:var(--clay);letter-spacing:.15em}.hero h1{font:400 45px/1.45 Georgia,"Songti SC","SimSun",serif;letter-spacing:.06em;margin:13px 0 18px}.hero h1 em{font-style:normal;color:var(--olive)}.hero p{font-size:13px;color:var(--muted);line-height:2}.hero .text-button{color:var(--clay);margin-top:18px;font-size:12px}.hero-art{min-width:0;position:relative;display:flex;align-items:center;flex-direction:column}.hero-art img{display:block;width:100%;max-width:430px;height:auto}.art-caption{font-size:11px;color:#99907b;letter-spacing:.12em;margin-top:2px}.menu-section{scroll-margin-top:18px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.section-top .eyebrow{font-size:9px;letter-spacing:.18em;color:#97917f}.section-top h2{font-weight:500;font-size:22px;letter-spacing:.025em;margin-top:9px;white-space:nowrap}.section-top h2 span{font-size:11px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:10px}.search-box{display:flex;align-items:center;gap:10px;min-width:220px;width:320px;padding:12px 15px;background:var(--card);border:1px solid var(--line);border-radius:12px;color:#9c978a}.search-box svg{width:17px;height:17px}.search-box input{width:100%;border:0;outline-offset:7px;background:transparent;color:var(--ink);font-size:12px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap}.category-tab{display:flex;align-items:center;gap:6px;background:transparent;border:1px solid var(--line);border-radius:24px;font-size:12px;color:var(--muted);padding:9px 14px;min-height:37px}.category-tab[aria-pressed=true]{background:var(--olive);border-color:var(--olive);color:#fffdf8}.category-tab .category-count{opacity:.6;font-size:10px}.list-status{display:flex;justify-content:space-between;align-items:center;margin:13px 0 18px;min-height:27px;font-size:10px;color:#9b9485}.list-status .text-button{font-size:10px}.dish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.dish-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 14px #51462e04}.dish-cover{display:block;position:relative;padding:0;background:var(--clay-soft);width:100%;aspect-ratio:1.36;color:var(--olive);overflow:hidden}.dish-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.dish-cover:hover img{transform:scale(1.03)}.dish-cover .dish-category{position:absolute;left:12px;top:12px;font-size:10px;color:var(--ink);background:#fffdf8eb;padding:4px 8px;border-radius:6px}.dish-placeholder{height:100%;display:grid;place-items:center;background:radial-gradient(ellipse,#fdfaf2 0 32%,#efe7d7 33% 35%,transparent 36%),linear-gradient(135deg,#f0e9dc,#e9e8db)}.dish-placeholder svg{width:52px;height:52px;opacity:.45}.dish-body{padding:17px 17px 15px;display:flex;flex:1;flex-direction:column;gap:11px}.dish-title{padding:0;background:transparent;color:var(--ink);font-size:17px;font-weight:500;line-height:1.6;text-align:left;overflow-wrap:anywhere}.dish-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.dish-meta span{display:inline-flex;align-items:center;gap:4px}.dish-meta svg{width:12px;height:12px}.dish-ingredients{font-size:11px;color:#8f8979;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dish-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:5px;gap:10px}.dish-recorded{font-size:10px;color:#aaa18f}.add-circle{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--olive-soft);color:var(--olive);font-size:15px;flex-shrink:0}.add-circle.is-selected{background:var(--olive);color:#fffdf8}.add-circle svg{width:16px;height:16px}.empty-state,.loading-state{grid-column:1/-1;min-height:260px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;gap:15px;padding:35px;border:1px dashed #ded6c7;border-radius:18px;background:#fdfbf645}.empty-symbol{width:62px;height:62px;border-radius:50%;background:var(--clay-soft);color:var(--clay);display:grid;place-items:center}.empty-symbol svg{width:29px;height:29px}.empty-state h3{font-size:17px;font-weight:500;letter-spacing:.03em}.empty-state p,.loading-state{font-size:12px;line-height:1.9;color:var(--muted)}.empty-state .primary-button{margin-top:5px}.page-footer{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;padding:33px 0 116px;color:#9e9686;font-size:11px}.page-footer svg{width:13px;height:13px}.page-footer button{margin-left:auto;font-size:11px}.basket-dock{position:fixed;z-index:10;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 32px),620px);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 17px;background:#fffdf8f5;border:1px solid #dfd8c9;border-radius:17px;box-shadow:0 8px 32px #322b2020;backdrop-filter:blur(15px)}.basket-dock strong{font-size:13px;font-weight:500}.basket-dock small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.basket-dock .primary-button{min-height:44px;font-size:12px}.basket-dock #basket-count{font-size:10px;border-radius:50%;background:#ffffff26;min-width:20px;height:20px;display:grid;place-items:center}.toast{position:fixed;z-index:80;bottom:110px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 36px);padding:12px 18px;border-radius:10px;background:#343c32f0;color:#fffdf8;font-size:12px;box-shadow:0 7px 22px #2222;text-align:center;line-height:1.7}dialog{border:1px solid var(--line);border-radius:21px;padding:0;background:var(--card);width:calc(100% - 32px);max-height:90dvh;overflow:auto;box-shadow:0 24px 90px #2f291c33}dialog::backdrop{background:#2b2e2866;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:24px 25px 20px}.dialog-heading h2{font-size:22px;font-weight:500;line-height:1.5;margin-top:6px}.dialog-heading .close-button{flex-shrink:0}.close-button svg{width:18px;height:18px}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;padding:18px 25px;border-top:1px solid var(--line);background:var(--card);position:sticky;bottom:0}.editor-dialog{max-width:780px}.editor-dialog form{padding:0 25px 22px}.editor-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:22px}.photo-picker{position:relative;min-height:260px;aspect-ratio:1/1;background:var(--paper);border:1px dashed #d9d1bf;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer}.photo-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.photo-picker>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.photo-picker>span{display:flex;align-items:center;flex-direction:column;gap:13px;text-align:center;padding:12px;color:var(--muted)}.photo-picker strong{font-size:13px;font-weight:400;color:#726d60}.photo-picker small{font-size:11px}.photo-picker>span>span{display:grid;place-items:center;background:var(--clay-soft);width:48px;height:48px;border-radius:50%;color:var(--clay)}.photo-picker svg{width:23px;height:23px}.input-hint{font-size:10px;line-height:1.8;color:var(--muted);margin-top:9px}.basic-fields{display:grid;gap:12px}form label{font-size:12px;color:#7d7769;line-height:1.6}form input:not([type=file]),form select,form textarea{display:block;width:100%;font-size:14px;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:10px 11px;margin-top:6px;color:var(--ink)}form textarea{resize:vertical;line-height:1.8}.required{color:var(--clay)}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-section{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.form-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.form-section-title h3{font-size:15px;font-weight:500}.form-section-title p{font-size:10px;color:var(--muted);margin-top:6px}.small-button{font-size:11px;min-height:34px;padding:7px 10px;gap:4px}.small-button svg{width:13px;height:13px}.ingredient-input-row{display:grid;grid-template-columns:1.2fr .65fr .6fr 1.3fr 28px;gap:7px;margin-bottom:9px;align-items:center}.ingredient-input-row input{margin:0!important;font-size:12px!important;padding:9px 8px!important}.ingredient-input-row button{width:28px;height:34px;display:grid;place-items:center;background:transparent;color:#aaa08e}.ingredient-input-row button svg{width:15px;height:15px}.ingredient-input-row label>span{display:none}.ingredient-input-row:first-child label>span{display:block;font-size:10px;margin-bottom:5px}.ingredient-input-row:first-child button{margin-top:20px}.spaced-field{margin-top:14px}.form-error{background:#f6e9e2;border-radius:9px;padding:12px;color:var(--danger);font-size:12px;line-height:1.8;margin-top:17px}.form-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.form-actions>div{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.danger-button{font-size:11px;padding:9px 0;background:transparent;color:var(--danger)}.detail-dialog{max-width:570px}.floating-close{position:absolute;right:14px;top:14px;background:#fffdf8eb;z-index:1;box-shadow:0 2px 8px #0001}.detail-cover{display:block;width:100%;max-height:330px;aspect-ratio:1.6;object-fit:cover;background:var(--clay-soft)}.detail-content-inner{padding:23px 27px}.detail-content-inner h2{font:400 29px/1.5 Georgia,"Songti SC","SimSun",serif;margin-bottom:12px;overflow-wrap:anywhere}.detail-category{color:var(--clay);font-size:10px;letter-spacing:.07em;margin-bottom:9px;display:block}.detail-content-inner .dish-meta{font-size:11px;margin-bottom:24px}.detail-section{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.detail-section h3{font-size:15px;font-weight:500;margin-bottom:12px}.ingredient-view{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eee8dc;font-size:13px}.ingredient-view:last-child{border-bottom:0}.ingredient-view small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.7}.ingredient-view>span:last-child{color:var(--clay);white-space:nowrap;font-size:12px}.step-list{display:grid;gap:14px;padding-left:21px;font-size:12px;line-height:1.95;color:#787263}.step-list li::marker{color:var(--clay)}.note-block{background:var(--clay-soft);padding:13px 15px;border-radius:9px;font-size:12px;line-height:1.9;white-space:pre-wrap;color:#826451}.basket-dialog{max-width:580px}.basket-dialog>#basket-selected,.basket-dialog>.prep-heading,.basket-dialog>#prep-list,.basket-dialog>p,.basket-dialog>textarea{margin-left:25px;margin-right:25px}.basket-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.basket-item>img,.basket-thumb{width:55px;height:55px;border-radius:10px;object-fit:cover;background:var(--clay-soft);flex-shrink:0;display:grid;place-items:center;color:var(--clay)}.basket-item-info{flex:1;min-width:0}.basket-item-info strong{font-size:13px;font-weight:500;display:block;line-height:1.7}.basket-item-info small{font-size:10px;color:var(--muted)}.quantity-control{display:flex;align-items:center;gap:11px;font-size:12px;white-space:nowrap}.quantity-control button{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--olive)}.quantity-control svg{width:13px;height:13px}.prep-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:25px;margin-bottom:11px}.prep-heading h3{font-size:16px;font-weight:500}.prep-heading span{font-size:10px;color:var(--muted)}.prep-item{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.prep-item input{accent-color:var(--olive);width:17px;height:17px;margin:2px 0;flex-shrink:0}.prep-item .prep-name{flex:1;font-size:13px}.prep-item small{display:block;color:var(--muted);font-size:10px;line-height:1.9;margin-top:4px}.prep-amount{font-size:12px;color:var(--clay);white-space:nowrap}.prep-item.is-ready .prep-name,.prep-item.is-ready .prep-amount{text-decoration:line-through;opacity:.5}.basket-dialog>p{margin-top:17px;margin-bottom:18px}.basket-dialog>textarea{display:block;width:calc(100% - 50px);padding:11px;background:var(--paper);border:1px solid var(--line);border-radius:10px;font:12px/1.8 inherit;color:var(--ink);margin-bottom:16px}.info-dialog{max-width:450px;padding:0 25px 25px}.info-dialog .dialog-heading{padding-left:0;padding-right:0}.info-dialog p{font-size:13px;line-height:2;color:var(--muted);margin:0 0 15px}.info-dialog h3{font-size:15px;font-weight:500;margin-bottom:10px}.info-dialog small{font-size:11px;color:var(--muted);line-height:1.9}.info-dialog hr{border:0;border-top:1px solid var(--line);margin:22px 0}
@media(max-width:780px){.page-shell{padding:0 24px}.hero{gap:8px;padding:35px 0}.hero h1{font-size:37px}.hero-art img{width:100%}.art-caption{font-size:10px}.dish-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.section-top h2{font-size:21px}.search-box{width:280px;min-width:180px}.editor-layout{grid-template-columns:1fr 1fr;gap:16px}.photo-picker{min-height:220px}}
@media(max-width:540px){.page-shell{padding:0 19px}.masthead{height:83px}.brand{font-size:15px;gap:9px}.brand small{font-size:8px;margin-top:4px}.brand-mark{width:36px;height:36px}.brand-mark svg{width:22px;height:22px}.header-actions{gap:5px}.header-actions .primary-button{padding:8px 11px;font-size:11px;min-height:38px;gap:5px}.header-actions .primary-button svg{width:14px;height:14px}.quiet-button{width:32px;height:34px;padding:8px}.hero{grid-template-columns:1fr 1fr;min-height:300px;padding:27px 0 29px;gap:0}.hero .eyebrow{font-size:9px;letter-spacing:.06em;display:block;max-width:175px;line-height:1.9}.hero h1{font-size:31px;margin:11px 0 13px;letter-spacing:.04em}.hero p{font-size:10px;line-height:1.95}.hero .text-button{font-size:10px;margin-top:12px}.hero-art{margin-left:-10px;margin-right:-13px}.hero-art img{min-width:0}.art-caption{font-size:8px;letter-spacing:.02em;white-space:nowrap}.section-top{display:block;margin-bottom:17px}.section-top h2{font-size:21px;margin-top:6px}.section-top .eyebrow{font-size:8px}.section-top h2 span{font-size:10px}.search-box{width:100%;margin-top:18px;padding:11px 12px}.search-box input{font-size:14px}.category-tabs{gap:6px}.category-tab{font-size:10px;padding:8px 11px;min-height:35px;gap:5px}.category-tab .category-count{font-size:9px}.list-status{margin-top:9px;margin-bottom:15px}.dish-grid{gap:12px}.dish-card{border-radius:13px}.dish-cover{aspect-ratio:1.1}.dish-cover .dish-category{left:8px;top:8px;font-size:8px;padding:3px 5px}.dish-body{padding:12px 11px;gap:9px}.dish-title{font-size:14px;line-height:1.6}.dish-meta{font-size:9px;gap:6px}.dish-meta svg{width:11px;height:11px}.dish-ingredients{font-size:10px}.dish-recorded{font-size:8px}.add-circle{width:30px;height:30px}.dish-card-bottom{gap:5px}.empty-state{padding:30px 14px;min-height:250px}.empty-state h3{font-size:16px}.page-footer{font-size:10px;padding-bottom:115px}.page-footer button{margin-left:8px;font-size:10px}.basket-dock{width:calc(100% - 26px);bottom:max(12px,env(safe-area-inset-bottom));padding:12px 13px;border-radius:14px}.basket-dock strong{font-size:12px}.basket-dock small{font-size:9px}.basket-dock .primary-button{padding:9px 12px;font-size:11px}.basket-dock .primary-button svg{width:15px;height:15px}dialog{width:calc(100% - 20px);max-height:94dvh;border-radius:17px}.dialog-heading{padding:20px 18px 17px}.dialog-heading h2{font-size:20px}.editor-dialog form{padding:0 18px 18px}.editor-layout{grid-template-columns:1fr}.photo-picker{aspect-ratio:1.7;min-height:170px;max-height:240px}.basic-fields{gap:13px}form input:not([type=file]),form select,form textarea{font-size:16px}.form-section-title{align-items:flex-start}.form-section-title h3{font-size:14px}.form-section-title p{font-size:9px;line-height:1.9;max-width:190px}.small-button{font-size:10px;gap:3px;padding:6px 8px}.ingredient-input-row{grid-template-columns:1fr .7fr .7fr 26px;gap:6px;padding-bottom:11px;margin-bottom:11px;border-bottom:1px solid var(--line)}.ingredient-input-row label:nth-child(4){grid-column:1/4;grid-row:2}.ingredient-input-row button{grid-column:4;grid-row:1/3;margin-top:0!important;width:26px;height:70px}.ingredient-input-row input{font-size:14px!important;padding:10px 8px!important}.ingredient-input-row label>span{display:none!important}.form-actions .primary-button,.form-actions .secondary-button{font-size:11px;padding:9px 10px;min-height:42px}.form-actions>div{gap:6px}.danger-button{font-size:10px}.detail-content-inner{padding:21px 20px}.detail-content-inner h2{font-size:25px}.detail-cover{max-height:290px;aspect-ratio:1.3}.dialog-footer{padding:15px 18px}.dialog-footer button{font-size:12px;padding:10px 13px}.basket-dialog>#basket-selected,.basket-dialog>.prep-heading,.basket-dialog>#prep-list,.basket-dialog>p,.basket-dialog>textarea{margin-left:18px;margin-right:18px}.basket-dialog>textarea{width:calc(100% - 36px)}.prep-heading{gap:8px}.prep-heading span{font-size:9px}.basket-item{gap:10px}.quantity-control{gap:8px}.basket-item-info strong{font-size:12px}.basket-item-info small{font-size:9px}.info-dialog{padding-left:20px;padding-right:20px}.info-dialog p{font-size:12px}}
@media(max-width:350px){.page-shell{padding:0 14px}.brand{font-size:14px}.brand small{font-size:7px}.hero h1{font-size:28px}.art-caption{display:none}.hero-art{margin-left:-9px;margin-right:-7px}.hero p{font-size:10px}.hero .eyebrow{font-size:8px}.header-actions .primary-button{font-size:10px;padding:8px 9px}.dish-meta{gap:5px}.dish-recorded{display:none}.basket-dock small{font-size:8px}}
@media(pointer:coarse){.close-button,.quiet-button{min-width:40px;min-height:40px}.add-circle{min-width:38px;min-height:38px}.quantity-control button{min-width:36px;min-height:36px}.text-button{min-height:40px}.prep-item{min-height:52px}}
@media(prefers-reduced-motion:reduce){.dish-cover img{transition:none}*{scroll-behavior:auto!important}}
