:root{font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#3a2a21;background:#fff8ee;font-synthesis:none;--forest: #bd480f;--deep: #3f2617;--ink: #3a2a21;--muted: #807066;--line: #efded4;--paper: #ffffff;--wash: #fff8ee;--amber: #d8a060}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d3a265;outline-offset:3px}a{color:var(--forest)}h1,h2,h3,p{margin-top:0}.eyebrow{display:inline-block;color:#80604e;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.brand-mark{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#f3e7e1;color:var(--forest);font-family:Songti SC,STSong,serif;font-size:22px;font-weight:700}.primary-button,.secondary-button,.text-button,.logout-button,.close-button,.icon-button{border:0;border-radius:10px;transition:background-color .15s ease,transform .15s ease,border-color .15s ease}.primary-button{min-height:45px;padding:11px 19px;color:#fff;background:var(--forest);font-weight:700;box-shadow:0 6px 14px #bd480f1c}.primary-button:hover:not(:disabled){background:#4a2815;transform:translateY(-1px)}.secondary-button{min-height:42px;padding:9px 17px;background:#fff;color:var(--forest);border:1px solid #d5c7bf;font-weight:700}.secondary-button:hover:not(:disabled){background:#f9f2ee}.text-button{padding:8px 10px;background:transparent;color:var(--forest);font-weight:700}.text-button:hover:not(:disabled){background:#f5ebe6}.field-label{display:block;margin:18px 0 7px;color:var(--ink);font-size:13px;font-weight:700}input:not([type=file]),textarea{display:block;width:100%;min-height:44px;padding:11px 13px;border:1px solid #e7cec0;border-radius:10px;background:#fff;color:var(--ink)}textarea{min-height:120px;resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:#a69c97}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:#c9514b;background:snow}.field-help{margin:7px 0 0;color:#867b74;font-size:12px;line-height:1.5}.field-error{margin:7px 0 0;color:#a43c35;font-size:12px}.required-mark{color:#b76d3e}.inline-alert,.inline-success,.notice{padding:12px 14px;border-radius:10px;font-size:13px;line-height:1.55}.inline-alert,.notice-error{color:#933b32;background:#fff0eb;border:1px solid #f4d4cb}.inline-success,.notice-success{color:#65422d;background:#f6ede8;border:1px solid #ead5c9}.auth-layout{display:grid;grid-template-columns:minmax(350px,43%) 1fr;min-height:100vh}.auth-story{position:relative;display:flex;flex-direction:column;min-height:100vh;padding:clamp(28px,4vw,62px);overflow:hidden;color:#fbf7f5;background:#55321e;background-image:radial-gradient(circle at 82% 35%,#744f39 0,#55321e 38%,#3e2517)}.auth-story:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.15;background-image:repeating-linear-gradient(135deg,transparent 0,transparent 34px,#d6c1b5 35px,transparent 36px)}.story-brand{display:flex;align-items:center;gap:12px;z-index:1;font-size:19px;font-weight:800}.auth-story .brand-mark{background:#faf5f3}.story-art{display:grid;place-items:center;flex:1;min-height:230px;z-index:1}.story-plate{position:relative;width:clamp(185px,22vw,295px);aspect-ratio:1;border:2px solid #f6f5e7a6;border-radius:50%;box-shadow:inset 0 0 0 18px #ffffff0d,inset 0 0 0 20px #f3e6de7a,0 36px 50px #2c150838;transform:rotate(-12deg)}.story-plate:before{content:"";position:absolute;inset:28%;border:1px solid #f3e6de8a;border-radius:50%}.story-fork,.story-spoon{position:absolute;display:block;background:#f0e1d8;border-radius:2px}.story-fork{left:-42px;top:28%;width:4px;height:46%}.story-fork:before{content:"";position:absolute;left:-7px;top:-13px;width:18px;height:27px;border:3px solid #f0e1d8;border-bottom:0;border-radius:9px 9px 0 0}.story-spoon{right:-42px;top:32%;width:4px;height:40%}.story-spoon:before{content:"";position:absolute;left:-8px;top:-36px;width:20px;height:34px;border:3px solid #f0e1d8;border-radius:50%}.story-copy{position:relative;z-index:1;max-width:440px}.story-copy .eyebrow{color:#e7cfc1}.story-copy h2{margin:17px 0 20px;font:600 clamp(37px,4vw,58px)/1.2 "Songti SC","STSong",serif;letter-spacing:.02em}.story-copy p{margin-bottom:0;color:#eeddd3;line-height:1.75}.auth-main{display:grid;place-items:center;padding:56px 32px}.auth-card{width:min(100%,430px)}.auth-card h1{margin:14px 0 12px;font:700 clamp(28px,3vw,36px)/1.25 "Songti SC","STSong",serif}.auth-intro{margin-bottom:27px;color:var(--muted);line-height:1.7}.auth-submit{width:100%;margin-top:24px}.auth-switch{margin:23px 0 0;text-align:center;font-size:13px}.auth-switch a{text-underline-offset:4px}.auth-mobile-brand{display:none}.admin-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:30px 18px 24px;color:#f6ede7;background:var(--deep)}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 10px}.sidebar-brand strong{display:block;font-size:17px;letter-spacing:.02em}.sidebar-brand small{display:block;margin-top:4px;color:#c7b3a8;font-size:11px;letter-spacing:.1em}.sidebar-caption{margin:56px 12px 15px;color:#af9a8e;font-size:11px;font-weight:700;letter-spacing:.18em}.admin-nav{display:grid;gap:6px}.admin-nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:#d6c7bf;font-weight:700;text-align:left}.admin-nav button svg{width:20px;height:20px;flex:none}.admin-nav button:hover{background:#ffffff12;color:#fff}.admin-nav button[aria-current=page]{background:#f6ece6;color:var(--deep)}.sidebar-bottom{margin-top:auto;padding:22px 13px 0;border-top:1px solid #ffffff29}.sidebar-quote{font:600 22px/1.55 Songti SC,STSong,serif}.sidebar-bottom>span{display:block;margin-top:26px;color:#aa9488;font-size:10px;letter-spacing:.22em}.workspace{min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:72px;padding:0 clamp(24px,4vw,60px);border-bottom:1px solid var(--line);background:#fff}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:13px}.breadcrumb span{color:#988b83}.breadcrumb strong{font-weight:700}.logout-button{padding:9px 13px;border:1px solid #ebd7cb;background:#fff;color:#675449;font-size:12px;font-weight:700}.logout-button:hover:not(:disabled){background:#f7efeb}.content{width:min(100%,1240px);margin:0 auto;padding:42px clamp(24px,4vw,60px) 90px}.notice{margin-bottom:20px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:40px}.page-heading h1{margin:10px 0;font:700 clamp(30px,3vw,42px)/1.2 "Songti SC","STSong",serif}.page-heading p{max-width:630px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}.new-dish{flex:none}.heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.new-dish span{font-size:18px;line-height:0;font-weight:400}.section-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{margin:0;font-size:17px}.count-chip{min-width:24px;padding:3px 8px;border-radius:20px;background:#f2e5de;color:var(--forest);font-size:11px;font-weight:800;text-align:center}.state-panel,.empty-catalog{padding:36px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--muted);line-height:1.6}.state-panel p{margin:8px 0 16px}.state-panel strong{color:var(--ink)}.state-error{border-color:#efd5cc;background:#fffaf8}.empty-catalog{display:grid;justify-items:center;padding:64px 24px;text-align:center}.empty-catalog h3{margin:23px 0 8px;color:var(--ink);font:700 27px/1.3 Songti SC,STSong,serif}.empty-catalog p{max-width:420px;margin-bottom:24px}.empty-plate{display:grid;place-items:center;width:112px;height:112px;border:5px solid #c7b2a6;border-radius:50%;box-shadow:inset 0 0 0 9px #fff,inset 0 0 0 11px #e4c9b9}.empty-plate span{width:28px;height:28px;border:2px solid #d5c7bf;border-radius:50%}.dish-list{display:grid;gap:12px}.dish-item{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 18px #4d332410}.dish-item[open]{border-color:#d1bfb5}.dish-row{display:grid;grid-template-columns:78px minmax(150px,1fr) 128px 76px 110px;align-items:center;gap:19px;padding:12px 20px 12px 12px;list-style:none;cursor:pointer}.dish-row::-webkit-details-marker{display:none}.dish-row:hover{background:#fdfcfb}.dish-thumb{display:grid;place-items:center;width:78px;height:68px;overflow:hidden;border-radius:9px;background:#f3e6df;color:var(--forest);font:700 25px Songti SC,serif}.dish-thumb img{width:100%;height:100%;object-fit:cover}.dish-main strong{display:block;color:var(--ink);font-size:16px}.dish-main span{display:block;margin-top:8px;color:var(--muted);font-size:12px}.dish-date{color:#867b74;font-size:12px}.published-badge{justify-self:start;padding:5px 9px;border-radius:20px;background:#f6eee9;color:#764d36;font-size:11px;font-weight:700}.dish-expand{color:var(--forest);font-size:12px;font-weight:700;text-align:right}.dish-expand span{display:inline-block;margin-left:5px;transition:transform .15s ease}.dish-item[open] .dish-expand span{transform:rotate(180deg)}.dish-detail{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(160px,1fr);gap:30px;padding:23px 25px 27px 110px;border-top:1px solid var(--line)}.dish-detail h3{margin-bottom:7px;color:var(--ink);font-size:12px}.dish-detail p{margin-bottom:0;color:#73665e;font-size:13px;line-height:1.75;white-space:pre-wrap}.dish-detail ul{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}.dish-detail li{padding:5px 8px;border-radius:6px;background:#f8f2ee;color:#6c5649;font-size:12px}.list-footer{display:flex;justify-content:center;padding:23px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff}table{width:100%;min-width:660px;border-collapse:collapse;text-align:left}th{padding:16px 20px;background:#fcf8f6;color:#83766e;font-size:12px;font-weight:700}td{padding:18px 20px;border-top:1px solid #f6ede8;color:var(--ink);font-size:13px}td code{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere}.role-badge{display:inline-block;padding:6px 9px;border-radius:7px;font-size:12px;font-weight:700}.role-badge.chef{background:#f5eae3;color:#603c27}.role-badge.diner{background:#fff1df;color:#946137}.muted{color:#a09690}.empty-members h3{margin-bottom:5px;color:var(--ink)}.dialog-layer{position:fixed;inset:0;z-index:20}.dialog-backdrop{position:absolute;inset:0;background:#2e1b10a3}.compose-panel{position:absolute;top:0;right:0;bottom:0;width:min(580px,100%);overflow-y:auto;background:#fff;box-shadow:-18px 0 45px #2f180b30}.batch-panel{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;width:min(900px,calc(100% - 36px));max-height:min(760px,calc(100vh - 36px));overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 24px 70px #2f180b40;transform:translate(-50%,-50%)}.batch-panel .compose-head{flex:none;padding:25px 30px 19px}.batch-panel .compose-head h2{font-size:27px}.batch-body{min-height:0;padding:25px 30px;overflow-y:auto}.batch-intro{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.batch-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:12px 0 4px}.batch-fields .field-group{min-width:0}.batch-fields input[type=file]{display:block;width:100%;padding:11px;border:1px dashed #d1c2b9;border-radius:10px;background:#fcf8f6;color:var(--ink);font-size:12px}.batch-fields input[type=file]::file-selector-button{margin-right:10px;padding:7px 11px;border:1px solid #d0beb4;border-radius:7px;background:#fff;color:var(--forest);font-weight:700;cursor:pointer}.batch-tools{display:flex;gap:8px;margin-bottom:15px}.batch-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:18px 0 11px;color:var(--muted);font-size:12px}.batch-summary strong{color:var(--ink)}.batch-list{display:grid;gap:7px}.batch-row{display:grid;grid-template-columns:26px minmax(0,1fr) 64px;align-items:center;gap:11px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff}.batch-row-error{border-color:#efd5cc;background:#fffaf8}.batch-row-number{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f7efea;color:var(--forest);font-size:11px;font-weight:800}.batch-row-main{min-width:0}.batch-row-main strong,.batch-row-main span,.batch-row-main small{display:block;overflow-wrap:anywhere}.batch-row-main strong{color:var(--ink);font-size:13px}.batch-row-main span{margin-top:3px;color:var(--muted);font-size:11px}.batch-row-main small{margin-top:6px;color:#a43c35;font-size:11px;line-height:1.5}.batch-row-state{color:#85776f;font-size:11px;font-weight:700;text-align:right}.batch-row-state.done{color:#7c4b2e}.batch-row-state.error{color:#a43c35}.batch-footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:18px;padding:15px 30px;border-top:1px solid var(--line);background:#fdfcfb}.batch-footer .field-help{margin:0}.batch-footer-actions{display:flex;align-items:center;gap:10px;flex:none}.compose-head{display:flex;justify-content:space-between;align-items:flex-start;padding:32px 36px 22px;border-bottom:1px solid var(--line)}.compose-head h2{margin:9px 0 0;font:700 30px/1.2 Songti SC,STSong,serif}.close-button{display:grid;place-items:center;width:34px;height:34px;background:#f7eee9;color:#736157;font-size:24px;line-height:1}.close-button:hover{background:#f1e2da}.compose-intro{margin:0;padding:20px 36px 0;color:var(--muted);font-size:13px;line-height:1.6}.compose-form{padding:4px 36px 36px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-group{margin-bottom:8px}.ingredients-field{margin:19px 0 23px;padding:15px;border:1px solid var(--line);border-radius:12px}.ingredients-field legend{padding:0 5px;font-size:13px;font-weight:700}.ingredient-row{display:flex;gap:8px;margin-bottom:8px}.ingredient-row input{flex:1}.icon-button{padding:9px 10px;background:#f8f1ed;color:#69584e;font-size:12px}.icon-button:hover{background:#f3e6de}.add-ingredient{padding-left:0;font-size:12px}.image-picker{overflow:hidden;margin-top:12px;border:1px dashed #d1c2b9;border-radius:12px;background:#fcf8f6}.image-picker img{display:block;width:100%;max-height:230px;object-fit:cover}.image-placeholder{display:grid;justify-items:center;gap:8px;padding:28px;color:#96867d;font-size:12px}.image-placeholder span{font:40px Songti SC,serif;line-height:.8}.image-picker input[type=file]{width:100%;padding:11px;border-top:1px solid var(--line);color:#67584f;font-size:12px}.image-picker input[type=file]::file-selector-button{margin-right:10px;padding:7px 10px;border:1px solid #e7cdbe;border-radius:7px;background:#fff;color:var(--forest);font-weight:700;cursor:pointer}.image-actions{display:flex;align-items:center;gap:13px;margin-top:12px}.upload-ok{color:#77492e;font-size:12px;font-weight:700}.compose-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}@media(max-width:960px){.admin-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar-brand strong{font-size:14px}.dish-row{grid-template-columns:70px minmax(120px,1fr) 80px}.dish-thumb{width:70px}.dish-date,.published-badge{display:none}.dish-detail{padding-left:24px}}@media(max-width:680px){.auth-layout{display:block}.auth-story{display:none}.auth-mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:32px;color:var(--forest);font-weight:800}.auth-main{display:block;min-height:100vh;padding:28px 24px 50px}.auth-card{margin:0 auto}.admin-shell{display:block}.sidebar{position:static;height:auto;padding:14px 16px}.sidebar-brand{padding:0}.sidebar-caption,.sidebar-bottom{display:none}.admin-nav{display:flex;gap:8px;margin-top:14px}.admin-nav button{justify-content:center;min-height:39px;padding:8px 10px;font-size:12px}.admin-nav button svg{width:17px;height:17px}.topbar{min-height:55px;padding:0 18px}.content{padding:28px 18px 65px}.page-heading{display:block;margin-bottom:28px}.heading-actions{justify-content:flex-start;margin-top:20px}.new-dish{margin-top:0}.dish-row{grid-template-columns:58px minmax(0,1fr) auto;gap:10px;padding:10px}.dish-thumb{width:58px;height:58px}.dish-expand{font-size:0}.dish-expand span{font-size:17px}.dish-detail{display:block;padding:18px}.dish-detail>div+div{margin-top:18px}.compose-head{padding:24px 22px 18px}.compose-intro{padding:16px 22px 0}.compose-form{padding:4px 22px 25px}.field-grid{display:block}.batch-panel{inset:0;width:100%;max-height:100%;border-radius:0;transform:none}.batch-panel .compose-head,.batch-body,.batch-footer{padding-left:20px;padding-right:20px}.batch-fields{display:block}.batch-footer{align-items:stretch;flex-direction:column;gap:10px}.batch-footer-actions{justify-content:flex-end}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
