:root{font-family:Arial,Helvetica,sans-serif;color:#172e33;background:#f3f5f6;font-size:16px;--accent:#1b4146;--line:#dce3e5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;background:white;border:1px solid #cbd7d9;border-radius:7px;padding:10px 14px;color:#24474c;min-height:40px}button:hover{background:#eaf1f2}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3e969f;outline-offset:2px}.primary{background:var(--accent);color:white;border-color:var(--accent);font-weight:700}.primary:hover{background:#28575d}.topbar{height:88px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;gap:16px}.brand,.actions{display:flex;align-items:center;gap:15px}.mark{display:grid;place-items:center;width:44px;height:44px;background:var(--accent);color:white;border-radius:9px;font:26px Georgia}.brand strong{font-size:19px}.brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:5px;color:#60787c}.actions>span{font-size:13px;color:#61787c}main{display:grid;grid-template-columns:minmax(380px,1fr) minmax(400px,1fr);max-width:1550px;margin:auto;align-items:start}.editor{padding:36px 32px 70px;min-width:0}.intro{display:flex;align-items:center;justify-content:space-between;gap:12px}h1{font-size:28px;margin:9px 0 24px;letter-spacing:-.8px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:#668085}#tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}#tabs button{font-size:14px}#tabs button[aria-selected=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;margin-bottom:18px}.card h2{font-size:18px;margin:0 0 19px}.card .hint{font-size:14px;color:#667b7f;line-height:1.5;margin:-6px 0 18px}.field{margin:0 0 18px}.field:last-child{margin:0}.field label,.name-grid label,.dish label{display:block;font-size:14px;margin-bottom:7px;color:#455e63}.field input,.name-grid input,.dish input{width:100%;border:1px solid #cbd7d9;border-radius:6px;padding:11px 12px;background:white;color:#182f34;min-width:0}.format{display:flex;align-items:center;gap:5px;margin-top:8px}.format button{padding:5px 11px;min-width:35px;min-height:32px}.format button[aria-pressed=true]{background:#dcebed;border-color:#7ca6ac}.format select{padding:5px;border:1px solid #ccd8da;border-radius:5px;margin-left:auto;font-size:14px}.group-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px}.group-head h2{margin:0}.tools{display:flex;gap:4px}.tools button{padding:5px 9px;min-height:32px;font-size:14px}.danger{color:#9b363c}.name-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex;align-items:center;gap:8px;font-size:14px;margin:16px 0;color:#455e63}.check input{accent-color:var(--accent);width:17px;height:17px}.dish{padding:17px 0;border-top:1px solid #e8edef}.dish-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.dish-top span{font-size:12px;font-weight:700;color:#73898d;letter-spacing:1px}.dish input{margin-bottom:10px}.dish input:last-child{margin-bottom:0}.add-dish{width:100%;margin-top:4px;border-style:dashed}.bottom-actions{display:flex;justify-content:space-between;gap:10px}.preview-panel{padding:35px 36px;background:#e8edef;min-height:calc(100vh - 88px);position:sticky;top:0;max-height:100vh;overflow:auto}.preview-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:22px}.preview-top>span:last-child{font-size:12px;color:#6c8084}.paper{background:white;box-shadow:0 7px 30px #29484f13;padding:48px 38px 55px;min-height:740px;text-align:center;color:#111;font-family:"Times New Roman",Times,serif;overflow-wrap:anywhere}.paper .heading{margin:0 0 8px;white-space:pre-wrap;line-height:1.25}.paper .group{margin-top:22px}.paper .stars{font-size:16px;letter-spacing:5px;margin-bottom:12px}.paper h3{font-size:17px;margin:0 0 13px;font-weight:700}.paper .en{font-size:17px;margin:0 0 3px;line-height:1.35;white-space:pre-wrap}.paper .vi{font-size:16px;font-style:italic;line-height:1.35;margin:0;white-space:pre-wrap}.paper .menu-dish{margin-bottom:13px}.preview-note{font-size:13px;color:#647d81;text-align:center;line-height:1.5}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#193d43;color:white;padding:12px 20px;border-radius:8px;box-shadow:0 3px 20px #0002;max-width:90%;z-index:10}.toast:empty{display:none}.empty{color:#71858a;font:16px Arial;padding:35px 0}
.field>select{width:100%;padding:11px 12px;border:1px solid #cbd7d9;border-radius:6px;background:white;color:#182f34}
@media(min-width:1400px){.editor{padding-left:50px;padding-right:50px}.preview-panel{padding:35px 55px}.paper{padding:50px}}
@media(max-width:900px){main{grid-template-columns:1fr}.preview-panel{position:static;max-height:none;min-height:0;padding:24px}.editor{padding:25px 20px 30px}.actions>span{display:none}.topbar{padding:0 20px;height:78px}.paper{max-width:700px;margin:auto}.preview-top{max-width:700px;margin:0 auto 18px}}
@media(max-width:460px){.card{padding:17px}.name-grid{grid-template-columns:1fr}.paper{padding:35px 20px;min-height:630px}.intro{align-items:start}h1{font-size:25px}.brand small{display:none}.primary{padding:10px}.preview-panel{padding:20px 12px}.topbar{padding:0 14px}.brand{gap:9px}}
