:root{font-family:Noto Sans SC,system-ui,sans-serif;color:#27221f;background:#f6f3ef;font-synthesis:none;text-rendering:optimizeLegibility;--orange:#f26822;--orange-dark:#d84b0a;--orange-soft:#fff1e8;--ink:#27221f;--muted:#766e68;--line:#e6ded7 }*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,p,figure{margin:0}.app-shell{min-height:100vh;background:radial-gradient(circle at 25% 0%,rgba(255,146,76,.12),transparent 28rem),#f6f3ef}.topbar{height:72px;padding:0 clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(65,48,39,.1);background:#ffffffe6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#ff7c31,#e44c0b);border-radius:13px 5px;box-shadow:0 7px 18px #dc4d0a3d;font-family:"Noto Serif SC",serif;font-size:24px;font-weight:900}.brand strong,.brand small{display:block}.brand strong{font-family:"Noto Serif SC",serif;font-size:18px;letter-spacing:.04em}.brand small{margin-top:2px;color:var(--muted);font-size:12px}.main-nav{display:flex;gap:6px}.main-nav button,.mobile-menu{border:0;background:transparent;cursor:pointer}.main-nav button{padding:9px 13px;display:flex;align-items:center;gap:7px;border-radius:10px;font-size:14px}.main-nav button.active,.main-nav button:hover{color:var(--orange-dark);background:var(--orange-soft)}.mobile-menu{display:none;padding:8px}.mobile-tabs{display:none}.purpose-choice{position:relative;display:inline-flex;cursor:pointer;font-size:13px}.purpose-choice input{position:absolute;opacity:0;width:1px;height:1px}.purpose-choice span{display:block;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff}.purpose-choice.selected span{color:#bd4009;border-color:#f39768;background:var(--orange-soft)}.purpose-choice:focus-within span{outline:2px solid var(--orange);outline-offset:2px}.purpose-choice:has(input:disabled){opacity:.55;cursor:wait}.empty-canvas{width:100%;min-height:280px;position:relative;display:grid;place-items:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px;text-align:center;padding:24px}.design-gallery{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.design-gallery button{min-width:0;border:2px solid transparent;border-radius:12px;padding:5px;background:#fff;cursor:pointer}.design-gallery button[aria-pressed=true]{border-color:var(--orange);background:var(--orange-soft)}.design-gallery img{display:block;width:100%;height:100px;object-fit:contain;border-radius:7px;background:#f6f3ef}.design-gallery span{display:block;padding:5px;font-size:13px}.generation-modal{position:relative;width:min(440px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:20px;padding:28px}.generation-modal h2{font-size:22px;padding-right:30px}.generation-modal p{margin:12px 0;color:var(--muted);font-size:14px}.count-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.count-picker button{min-height:46px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.count-picker button[aria-pressed=true]{color:var(--orange-dark);border-color:var(--orange);background:var(--orange-soft)}.format-label{display:block;font-size:14px;margin-bottom:8px}.generation-modal .size-picker button{flex:1;min-height:36px}.generation-modal .generation-note{font-size:13px}.generation-modal .full{width:100%}.workspace{width:min(1500px,100%);min-height:calc(100vh - 72px);margin:0 auto;display:grid;grid-template-columns:minmax(480px,640px) minmax(440px,1fr)}.chat-panel{min-width:0;padding:clamp(26px,3.5vw,48px);display:flex;flex-direction:column;background:#ffffffd1;border-right:1px solid var(--line)}.chat-heading{display:flex;align-items:flex-start;gap:12px}.orange-dot{width:11px;height:11px;margin-top:11px;flex:0 0 auto;border-radius:50%;background:var(--orange);box-shadow:0 0 0 7px var(--orange-soft)}.chat-heading h1,.preview-head h2,.memory-modal h2{font-family:"Noto Serif SC",serif;font-size:clamp(23px,2.3vw,31px);line-height:1.25}.chat-heading p{margin-top:6px;color:var(--muted);font-size:14px}.optional-row{margin:20px 0 14px;display:flex;flex-wrap:wrap;align-items:center;gap:7px}.optional-row>span{margin-right:2px;color:var(--muted);font-size:12px}.optional-row button,.starter-chips button,.size-picker button{border:1px solid var(--line);background:#fff;cursor:pointer}.optional-row button{padding:7px 10px;border-radius:999px;font-size:13px}.optional-row button.selected{color:#bd4009;border-color:#f39768;background:var(--orange-soft)}.messages{height:clamp(280px,42vh,520px);min-height:260px;padding:17px 7px 14px 0;overflow-y:auto;border-top:1px solid #eee7e1}.message{margin-bottom:16px;display:flex;align-items:flex-start;gap:9px}.message.user{flex-direction:row-reverse}.avatar{width:31px;height:31px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--orange);font-family:"Noto Serif SC",serif;font-size:14px;font-weight:900}.message.user .avatar{color:#6f625a;background:#e9e3de;font-family:inherit;font-weight:700}.bubble{max-width:82%;padding:11px 13px;border:1px solid #eee6df;border-radius:4px 15px 15px;background:#fff;box-shadow:0 4px 12px #4c35280d}.message.user .bubble{border-color:#f7c2a5;border-radius:15px 4px 15px 15px;background:#fff0e7}.bubble p{white-space:pre-wrap;font-size:14px;line-height:1.68}.message-thumbs{margin-top:9px;display:flex;flex-wrap:wrap;gap:6px}.message-thumbs img{width:54px;height:54px;object-fit:cover;border-radius:8px}.typing{min-width:64px;display:flex;align-items:center;gap:4px}.typing span{width:6px;height:6px;border-radius:50%;background:#d16a36;animation:bounce 1s infinite alternate}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes bounce{to{transform:translateY(-5px);opacity:.55}}.starter-chips{margin:-2px 0 11px 40px;display:flex;flex-wrap:wrap;gap:7px}.starter-chips button{padding:7px 10px;border-radius:9px;color:#795a48;font-size:12px}.starter-chips button:hover{color:var(--orange-dark);border-color:#f0aa83}.composer{padding:9px 12px;border:1px solid #ddd3cb;border-radius:16px;background:#fff;box-shadow:0 9px 28px #432d2114}.composer:focus-within{border-color:#ef9a6d;box-shadow:0 0 0 3px #f268221a,0 9px 28px #432d2114}.composer textarea{width:100%;min-height:44px;max-height:120px;overflow-y:auto;padding:2px 4px;resize:none;border:0;outline:0;background:transparent;line-height:1.6;font-size:15px}.composer-actions{display:flex;align-items:center;justify-content:space-between}.attach-button{padding:6px 7px;display:inline-flex;align-items:center;gap:6px;border:0;color:#625b57;background:transparent;cursor:pointer}.attach-button small{color:#9b918b}.send-button{width:39px;height:39px;display:grid;place-items:center;border:0;border-radius:12px;color:#fff;background:var(--orange);cursor:pointer}.send-button:hover:not(:disabled),.orange-button:hover:not(:disabled),.design-ready button:hover:not(:disabled){background:var(--orange-dark)}.attachments{padding-bottom:10px;display:flex;gap:8px;overflow-x:auto}.attachments figure{width:58px;height:58px;position:relative;flex:0 0 auto}.attachments img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid #e6d8cf}.attachments figure button{width:21px;height:21px;padding:0;display:grid;place-items:center;position:absolute;right:-5px;top:-5px;border:1px solid #fff;border-radius:50%;color:#fff;background:#5b4d46;cursor:pointer}.attachments figcaption{position:absolute;left:4px;bottom:4px;width:18px;height:18px;display:grid;place-items:center;color:#fff;background:#211712b3;border-radius:5px;font-size:10px}.attachments .add-more{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;align-content:center;gap:2px;border:1px dashed #d9c7bc;border-radius:10px;color:#8a7468;background:#fffaf7;font-size:10px;cursor:pointer}.design-ready{margin-top:13px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:14px;background:#f8f6f3}.design-ready.ready{border-color:#f4a47a;background:linear-gradient(110deg,#fff5ef,#fff)}.design-ready strong,.design-ready small{display:block}.design-ready strong{font-size:14px}.design-ready small{margin-top:3px;color:var(--muted);font-size:12px}.design-ready button{min-height:42px;padding:0 14px;flex:0 0 auto;display:flex;align-items:center;gap:7px;border:0;border-radius:11px;color:#fff;background:var(--orange);font-weight:700;cursor:pointer}.error{margin-top:10px;padding:9px 11px;display:flex;align-items:center;gap:7px;color:#a33a13;background:#fff0e7;border-radius:9px;font-size:13px}.preview-panel{min-width:0;padding:clamp(26px,3.5vw,48px);display:flex;flex-direction:column;align-items:center}.preview-head{width:min(100%,650px);margin-bottom:15px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.preview-head>div>span,.eyebrow{display:block;margin-bottom:5px;color:var(--orange-dark);font-size:11px;font-weight:800;letter-spacing:.15em}.preview-head h2{font-size:23px}.size-picker{padding:3px;display:flex;border:1px solid var(--line);border-radius:10px;background:#ffffffc2}.size-picker button{padding:6px 9px;border:0;border-radius:7px;background:transparent;font-size:12px}.size-picker button.selected{color:#fff;background:var(--orange)}.preview-stage{width:min(100%,650px);aspect-ratio:2/2.7;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#ddd4cd;box-shadow:0 24px 62px #392a212e,0 2px 5px #392a2121}.preview-stage.landscape{aspect-ratio:3/2}.preview-stage.square{aspect-ratio:1}.result-image{width:100%;height:100%;display:block;object-fit:contain;background:#211b18}.loading-layer{position:absolute;inset:0;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:#351d11d1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);text-align:center}.loading-layer svg{margin-bottom:13px}.loading-layer strong{font-size:17px}.loading-layer small{margin-top:5px;color:#ffffffb8}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-actions{width:min(100%,650px);margin-top:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.plain-button,.orange-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;font-weight:650;cursor:pointer}.plain-button{border:1px solid #d9cec7;background:#ffffffc2}.plain-button:hover:not(:disabled){color:var(--orange-dark);border-color:#ef9a6d}.orange-button{padding:0 15px;color:#fff;border:0;background:var(--orange)}.orange-button.full{width:100%;margin-top:23px}.canvas-help{width:min(100%,650px);margin-top:10px;color:var(--muted);text-align:center;font-size:12px}.local-edit-box{width:min(100%,650px);margin-top:14px;display:grid;grid-template-columns:1fr auto auto;gap:8px}.local-edit-box input,.memory-modal input,.memory-modal textarea{width:100%;border:1px solid #ddd2ca;border-radius:10px;outline:0;background:#fff}.local-edit-box input,.memory-modal input{height:42px;padding:0 12px}.memory-modal textarea{padding:11px 12px;resize:vertical;line-height:1.55}.local-edit-box input:focus,.memory-modal input:focus,.memory-modal textarea:focus{border-color:#ef9a6d;box-shadow:0 0 0 3px #f2682217}.mask-editor{width:100%;height:100%;position:relative;display:grid;place-items:center;background:#211b18;touch-action:none}.mask-editor img,.mask-editor canvas{width:100%;height:100%;object-fit:contain}.mask-editor canvas{position:absolute;inset:0;cursor:crosshair}.paint-hint,.canvas-clear{position:absolute;color:#fff;background:#271b15c2;border-radius:8px;font-size:12px}.paint-hint{left:12px;bottom:12px;padding:8px 10px;display:flex;align-items:center;gap:6px;pointer-events:none}.canvas-clear{right:12px;top:12px;padding:7px 9px;display:flex;align-items:center;gap:5px;border:0;cursor:pointer}.modal-backdrop{position:fixed;inset:0;z-index:50;padding:20px;display:grid;place-items:center;background:#2a1d1785;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.memory-modal{width:min(540px,100%);max-height:calc(100vh - 40px);overflow:auto;position:relative;padding:clamp(25px,5vw,38px);border-radius:20px;background:#fff;box-shadow:0 26px 80px #22150f47}.modal-close{position:absolute;right:14px;top:14px;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:#f5eee9;cursor:pointer}.memory-modal>p{margin:8px 0 20px;color:var(--muted);font-size:14px}.memory-modal label{margin-top:14px;display:grid;gap:7px}.memory-modal label span{font-size:13px;font-weight:700}@media(max-width:980px){.workspace{grid-template-columns:minmax(420px,51%) 1fr}.chat-panel,.preview-panel{padding:27px 22px}.design-ready{align-items:stretch;flex-direction:column}.design-ready button{justify-content:center}}@media(max-width:760px){.topbar{height:66px;padding:0 15px}.brand-mark{width:38px;height:38px}.brand strong{font-size:16px}.brand small{display:none}.mobile-menu{display:grid;place-items:center}.main-nav{display:none;position:absolute;right:13px;top:58px;padding:7px;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 12px 30px #291b1426}.main-nav.open{display:flex}.mobile-tabs{height:52px;display:grid;grid-template-columns:1fr 1fr;position:sticky;top:66px;z-index:25;border-bottom:1px solid var(--line);background:#fff}.mobile-tabs button{position:relative;border:0;background:#fff;font-size:15px;font-weight:700;cursor:pointer}.mobile-tabs button.active{color:var(--orange-dark)}.mobile-tabs button.active:after{content:"";height:3px;position:absolute;left:0;right:0;bottom:0;background:var(--orange)}.workspace{display:flex;flex-direction:column}.workspace>.mobile-hidden{display:none}.chat-panel{height:calc(100vh - 118px);min-height:0;padding:20px 16px 12px;overflow:hidden;border-right:0;border-bottom:1px solid var(--line)}.chat-heading{flex:0 0 auto}.optional-row{flex:0 0 auto;margin:15px 0 10px}.messages{height:auto;min-height:150px;flex:1}.starter-chips,.composer{flex:0 0 auto}.design-ready{flex:0 0 auto;margin-top:9px;padding:9px 11px;box-shadow:0 8px 22px #482a1a1a}.design-ready:not(.ready) button{display:none}.preview-panel{min-height:calc(100vh - 118px);padding:26px 15px 38px}.bubble{max-width:87%}.preview-head{align-items:center}.preview-head h2{font-size:21px}.preview-actions{grid-template-columns:1fr}.local-edit-box{grid-template-columns:1fr 1fr}.local-edit-box input{grid-column:1/-1}}@media(max-width:430px){.chat-heading h1{font-size:23px}.optional-row{gap:6px}.optional-row button{padding:6px 8px;font-size:12px}.starter-chips{margin-left:0}.preview-head{align-items:flex-start;flex-direction:column;gap:10px}.size-picker{width:100%}.size-picker button{flex:1}.paint-hint{max-width:calc(100% - 90px)}}.desktop-only{display:none}@media(min-width:761px){.workspace{height:calc(100dvh - 72px);min-height:0;grid-template-columns:minmax(380px,46%) minmax(0,1fr)}.chat-panel{min-height:0;padding:24px 28px;overflow:hidden}.chat-panel>:not(.messages){flex-shrink:0}.messages{height:auto;min-height:40px;flex:1;overscroll-behavior:contain;scrollbar-gutter:stable}.starter-chips{margin:8px 0 10px;flex-wrap:nowrap;overflow-x:auto}.starter-chips button{flex-shrink:0}.composer{padding:12px 14px}.composer textarea{min-height:76px}.desktop-only{display:inline}.composer-hint{margin-left:auto;margin-right:12px;color:var(--muted);font-size:11px}.send-button{width:auto;min-width:76px;display:flex;justify-content:center;gap:7px;padding:0 12px}.send-button span{font-size:13px;font-weight:600}.design-ready{padding:10px 12px;gap:10px;flex-direction:row;align-items:center}.design-ready:not(.ready){border:0;background:transparent;padding:0 2px}.design-ready:not(.ready) button{display:none}.design-ready small{font-size:11px}.design-ready button{padding:0 10px;font-size:12px}.design-ready button svg{width:17px;height:17px}.chat-panel>.error{max-height:64px;overflow-y:auto}.preview-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 28px}.preview-panel>*{flex-shrink:0}}@media(min-width:761px)and (max-width:1100px){.composer-hint{display:none}}@media(min-width:761px)and (max-height:650px){.topbar{height:60px}.workspace{height:calc(100dvh - 60px)}.chat-panel,.preview-panel{padding:12px 20px}.chat-heading h1{font-size:23px}.chat-heading p{display:none}.optional-row{margin:10px 0 8px}.composer{padding:8px 12px}.composer textarea{min-height:52px;max-height:88px}.design-ready{margin-top:8px}.design-ready small{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.format-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.format-picker button{min-height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-size:14px}.format-picker button[aria-pressed=true]{background:var(--orange-soft);border-color:var(--orange);color:var(--orange-dark)}.generation-modal .format-help{font-size:12px;line-height:1.6;margin:10px 0}.resolution-fields{display:flex;align-items:center;gap:10px;margin-top:12px}.resolution-fields label{min-width:0;flex:1;font-size:12px;color:var(--muted)}.resolution-fields input{display:block;width:100%;height:42px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:10px}.format-picker button:focus-visible,.resolution-fields input:focus-visible{outline:2px solid var(--orange);outline-offset:2px}.project-actions{display:flex;gap:7px}.project-actions button{min-height:38px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 11px;font-size:13px;cursor:pointer}.project-actions button:hover{background:var(--orange-soft);color:var(--orange-dark)}.restore-screen{min-height:100dvh;display:grid;place-items:center;color:var(--muted)}.history-panel{position:fixed;inset:0 0 0 auto;width:min(400px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:30px 22px;overflow-y:auto;border:0;background:#fffcf9;color:var(--ink);box-shadow:-10px 0 40px #30201822}.history-panel::backdrop{background:#24171055;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.history-panel h2{font-size:23px;padding-right:35px}.history-panel>p{font-size:13px;line-height:1.6;color:var(--muted);margin-top:8px}.history-new{width:100%;margin:20px 0}.history-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.history-item{min-width:0;width:100%;padding:11px;display:flex;gap:11px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.history-item.active{border-color:var(--orange);background:var(--orange-soft)}.history-item img,.history-icon{width:58px;height:68px;flex:0 0 auto;border-radius:8px;object-fit:contain;background:#f5eee6}.history-icon{display:grid;place-items:center;color:var(--orange)}.history-item>span:last-child{min-width:0}.history-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.history-item small,.history-item time{display:block;margin-top:6px;color:var(--muted);font-size:11px}.history-panel .history-note{margin-top:24px;font-size:12px}.history-empty{padding:25px 0;color:var(--muted)}@media(max-width:430px){.project-actions{gap:5px}.project-actions button{padding:0 8px;gap:4px;font-size:12px}.brand{gap:8px}.brand strong{font-size:14px}.project-actions svg{width:16px}}.chat-heading{margin-bottom:18px}.messages{border-top:0}.design-ready.ready{border:0;background:transparent;padding:0 2px;box-shadow:none;flex-direction:row;align-items:center}.design-ready>small{color:var(--muted);font-size:12px}.design-ready button{border-radius:999px;min-height:42px}.preview-actions{grid-template-columns:1fr 1fr}.preview-stage{aspect-ratio:auto;background:#eee6dc}.result-image{max-height:calc(100dvh - 285px);width:100%;height:auto;object-fit:contain;background:#eee6dc}.empty-canvas{min-height:230px;border:0;background:#eee7dd66}.empty-guide{display:grid;justify-items:center;gap:18px}.empty-guide>svg{color:#be997e}.empty-guide p{font-family:"Noto Serif SC",serif;font-size:21px;color:#705d4f}.empty-guide small{font-size:12px}.version-heading{display:flex;align-items:center;gap:12px;width:100%;margin-bottom:15px}.version-heading button{padding:0 12px;font-size:12px}.version-heading small,.design-gallery small{font-size:11px;color:var(--muted)}.quick-edits{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.quick-edits button,.editing-notice button{border:0;border-radius:999px;padding:8px 12px;background:#fff8f1;color:#936240;cursor:pointer;font-size:12px}.editing-notice{display:flex;align-items:center;justify-content:space-between;margin:8px 0;font-size:12px;color:var(--orange-dark)}.more-options{font-size:13px;color:var(--muted);margin-top:18px}.more-options summary{cursor:pointer}.count-picker{margin:12px 0}.menu-editor{width:min(680px,calc(100% - 24px));max-height:90dvh;margin:auto;padding:28px;border:0;border-radius:20px;background:#fffcf9;color:var(--ink)}.menu-editor::backdrop{background:#24171066;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.menu-editor h2{font-size:23px;padding-right:38px}.menu-editor>p{font-size:13px;color:var(--muted);line-height:1.6;margin:10px 0 20px}.menu-editor fieldset{border:0;padding:0;margin:0;min-width:0}.menu-editor label{display:grid;gap:6px;margin-bottom:12px;font-size:12px;color:var(--muted)}.menu-editor input{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff;color:var(--ink);font-size:14px}.menu-style{display:flex;gap:16px}.menu-style label{width:120px}.menu-style input[type=color]{padding:5px}.menu-rows{display:grid;gap:10px;margin-bottom:14px}.menu-row{display:grid;grid-template-columns:2fr 1fr 1fr 30px;gap:8px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.menu-row label{margin:0;min-width:0}.remove-dish{display:grid;place-items:center;border:0;border-radius:50%;width:30px;height:36px;background:#f7f1ec;cursor:pointer}.menu-editor .full{position:sticky;bottom:0;box-shadow:0 -6px 16px #fffcf9}.project-actions button{border-radius:999px}.starter-chips button{border-radius:999px;padding:9px 17px;font-size:13px}.starter-chips{margin-left:0}.composer{border-radius:22px}.send-button,.generation-modal .orange-button{border-radius:999px}.plain-button,.orange-button{border-radius:12px}@media(min-width:761px){.workspace.is-new{grid-template-columns:1fr;max-width:840px}.is-new .chat-panel{background:transparent;border:0;justify-content:center;padding:40px}.is-new .chat-heading{justify-content:center;text-align:center;margin-bottom:28px}.is-new .orange-dot{display:none}.is-new .chat-heading h1{font-size:34px}.is-new .messages{display:none}.is-new .starter-chips{justify-content:center;margin:0 0 18px}.is-new .preview-panel{display:none}.is-new .composer textarea{min-height:84px}.is-new .design-ready{margin-top:16px}.is-new .chat-heading p{margin-top:12px}}@media(max-width:760px){.chat-panel{height:calc(100dvh - 118px);padding-top:18px}.chat-heading h1{font-size:23px}.chat-heading p{font-size:12px}.messages{min-height:30px}.is-new .chat-panel{justify-content:center}.is-new .chat-heading{margin-bottom:30px}.is-new .messages{display:none}.is-new .starter-chips{margin-bottom:16px}.is-new .composer textarea{min-height:86px}.design-ready.ready{margin-top:12px}.design-ready>small{font-size:11px}.design-ready button{font-size:13px;padding:0 13px}.result-image{max-height:none}.preview-panel{padding:20px 15px}.version-heading{flex-wrap:wrap;gap:5px}.menu-editor{padding:24px 16px}.menu-row{grid-template-columns:1.7fr 1fr 26px;padding:10px;gap:7px}.menu-category{grid-column:1/3;grid-row:2}.remove-dish{grid-column:3;grid-row:1/3}.preview-actions button{font-size:14px}.starter-chips{gap:8px}}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:3px}dialog.generation-modal{margin:auto;border:0;color:var(--ink);width:min(440px,calc(100% - 24px))}dialog.generation-modal::backdrop{background:#24171066;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mobile-generation{display:none}@media(max-width:760px){.mobile-generation{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:10px}.mobile-generation button{margin-left:auto;border:0;background:none;color:var(--orange-dark);padding:8px;cursor:pointer}}.account-screen{min-height:100dvh;padding:38px 20px;background:radial-gradient(ellipse at 50% 0%,#ffe5d5,transparent 65%),#f8f5f0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.account-brand{display:flex;align-items:center;gap:12px}.account-brand strong{font-family:"Noto Serif SC",serif;font-size:21px}.account-card{width:min(410px,100%);padding:30px;border:1px solid #e9ded3;border-radius:24px;background:#fffdfb;box-shadow:0 14px 48px #6c422414}.account-card h1{font-size:25px;line-height:1.4}.account-card>p{margin:9px 0 22px;font-size:13px;line-height:1.6;color:var(--muted)}.account-card fieldset{border:0;padding:0;margin:0;min-width:0}.account-card label{display:grid;gap:8px;margin-top:17px;font-size:13px;font-weight:600}.account-card input,.phone-fields select{width:100%;min-width:0;height:46px;padding:0 13px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:15px;outline:0}.account-card input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #f2682210}.phone-fields{display:flex;gap:8px}.phone-fields select{width:87px;flex-shrink:0;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23766e68' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding-right:24px}.account-card .orange-button{height:46px;border-radius:999px}.account-link{margin:20px auto 0;padding:8px;border:0;background:none;color:var(--orange-dark);font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}.account-footer{font-size:12px;color:var(--muted);text-align:center;line-height:1.6}.account-symbol{color:var(--orange);margin-bottom:18px}.account-summary{display:grid;gap:9px;padding:18px;background:#f8f3ed;border-radius:14px;font-size:14px}.account-summary span{font-size:13px;color:var(--muted)}.account-error{padding:15px}.account-error p{margin:0 0 10px}.account-menu{position:fixed;margin:auto;width:min(340px,calc(100% - 30px));padding:30px 24px;border:0;border-radius:22px;color:var(--ink);background:#fffcf9}.account-menu::backdrop,.admin-panel::backdrop{background:#24171055;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-menu h2{font-size:22px;padding-right:35px}.account-menu p{font-size:13px;color:var(--muted);margin-top:10px}.account-menu>.plain-button{display:flex;width:100%;margin-top:16px}.admin-panel{position:fixed;width:min(650px,calc(100% - 24px));max-height:90dvh;margin:auto;padding:30px 24px;border:0;border-radius:22px;background:#fffcf9;color:var(--ink)}.admin-panel h2{font-size:24px;padding-right:40px}.admin-panel>p{margin-top:10px;font-size:13px;line-height:1.7;color:var(--muted)}.admin-tabs{display:flex;gap:8px;margin:22px 0}.admin-tabs button{padding:9px 15px;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer;font-size:13px}.admin-tabs button[aria-pressed=true]{color:var(--orange-dark);background:var(--orange-soft);border-color:#f0a47b}.admin-list{display:grid;gap:12px}.admin-list article{display:grid;grid-template-columns:1fr auto;gap:14px;border:1px solid var(--line);padding:17px;border-radius:15px;background:#fff}.admin-list strong,.admin-list span,.admin-list small{display:block}.admin-list strong{font-size:15px}.admin-list article>div>span,.admin-list small{font-size:13px;color:var(--muted);margin-top:7px}.account-status{font-size:11px;color:#8c6a48;background:#f6f0e7;border-radius:999px;align-self:start;padding:5px 9px}.account-status.active{color:#34704c;background:#edf6ee}.admin-actions{grid-column:1/-1;display:flex;gap:8px}.admin-actions button{min-height:40px;padding:0 14px;font-size:13px}.legacy-import{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px 20px;font-size:12px;background:#fff0df;border-bottom:1px solid var(--line)}.legacy-import button{border:0;background:none;color:var(--orange-dark);cursor:pointer;padding:5px}.restore-screen .plain-button{display:block;padding:0 20px;margin:16px auto}.account-name{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:980px){.project-actions .account-name{display:none}}@media(max-width:430px){.account-screen{padding:24px 16px;gap:20px}.account-card{padding:25px 22px}.account-brand strong{font-size:19px}.project-actions{gap:4px}.project-actions button{padding:0 7px}.admin-panel{padding:26px 16px}.admin-tabs{gap:5px}.admin-tabs button{padding:9px 12px}.admin-list article{padding:14px}.legacy-import{gap:4px;padding:9px 12px}.legacy-import>span{width:100%;text-align:center}}.message,.bubble{min-width:0}.bubble,.bubble p,.bubble a{overflow-wrap:anywhere}.reply-generate{margin-top:12px;padding:10px 16px;display:inline-flex;align-items:center;gap:6px}.bubble a{color:#b54c1e;text-decoration:underline;text-underline-offset:3px}.damaged-reply{display:block;margin-top:8px;color:#96654b}.generation-progress{width:min(100%,310px)}.progress-number{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:20px 0 12px}.progress-number span{font-size:13px;opacity:.8}.progress-number b{font-size:38px;font-variant-numeric:tabular-nums;line-height:1}.progress-number b small{font-size:18px;margin-left:3px}.progress-track{height:7px;border-radius:99px;overflow:hidden;background:#ffffff30}.progress-track>div{height:100%;background:#ff8e49;border-radius:inherit;transition:width .5s ease}.generation-progress p{font-size:13px;margin:14px 0 8px;font-variant-numeric:tabular-nums}.generation-progress>small{display:block;line-height:1.6}.generation-complete{margin:12px 0 0;font-size:12px;color:#777066;text-align:center}@media(prefers-reduced-motion:reduce){.progress-track>div{transition:none}}.reply-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.reply-actions .reply-generate{margin-top:0}.reply-settings{border:0;background:none;color:#8a7567;padding:10px 2px;font-size:12px;min-height:40px}.composer .editing-notice{margin:0 0 10px;padding:7px 9px;border-radius:12px;display:flex;align-items:center;gap:9px}.editing-notice img{width:36px;height:36px;object-fit:cover;border-radius:7px}.editing-notice span{flex:1}.editing-notice button{width:40px;height:40px;display:grid;place-items:center}@media(max-width:760px){.workspace{min-height:0}.chat-panel{padding-bottom:max(12px,env(safe-area-inset-bottom))}.chat-panel>:not(.messages){flex-shrink:0}.chat-panel .messages{min-height:0}.workspace:not(.is-new) .chat-heading p{display:none}.composer textarea{font-size:16px}.send-button{width:auto;min-width:44px;height:42px;padding:0 12px;display:flex;justify-content:center;align-items:center;gap:6px;font-size:13px;white-space:nowrap}.attachments{max-height:100px;overflow-y:auto}.preview-panel{min-height:calc(100dvh - 118px)}}.menu-appearance{margin:0 0 16px;color:var(--muted);font-size:13px}.menu-appearance summary{cursor:pointer;padding:9px 0;min-height:40px}.menu-appearance[open] summary{margin-bottom:8px}@media(max-width:760px){.workspace.is-new .chat-panel{height:calc(100dvh - 66px)}}.history-row{display:flex;align-items:center;gap:8px;min-width:0}.history-row .history-item{flex:1;min-width:0}.delete-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:42px;min-height:42px;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#a23a2b;cursor:pointer}.delete-button:disabled{opacity:.45;cursor:default}.delete-button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.preview-actions{display:flex;flex-wrap:wrap}.preview-actions>button{flex:1;white-space:nowrap}:root{font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;color:#30312c;background:#fff;--ink:#30312c;--muted:#797a71;--line:#e5e5df;--orange:#3f5548;--orange-dark:#304538;--orange-soft:#edf1e9}html,body,#root{height:100%;min-height:0}body{background:#fff}button{cursor:pointer}button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #597861;outline-offset:3px}.restaurant-shell{height:100dvh;min-height:0;display:grid;grid-template-columns:270px minmax(0,1fr);background:#fff;overflow:hidden}.restaurant-sidebar{display:flex;flex-direction:column;padding:20px 12px 12px;background:#f6f7f2;min-height:0}.restaurant-sidebar .brand{padding:0 12px 26px;gap:12px;flex-shrink:0}.restaurant-sidebar .brand strong{font-family:inherit;font-size:18px;font-weight:600;letter-spacing:0}.restaurant-sidebar .brand-mark{width:40px;height:40px;border-radius:10px;background:#315645;box-shadow:none}.sidebar-new{display:flex;align-items:center;gap:12px;padding:12px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:14px;min-height:44px}.sidebar-new:hover,.sidebar-bottom>button:hover{background:#eaece5}.history-label{font-size:12px;color:#92958a;margin:26px 12px 12px}.recent-projects{overflow:auto;flex:1;min-height:0}.recent-project{display:flex;align-items:center;border-radius:13px;min-width:0;margin:2px 0}.recent-project.active{background:#e7e9e1}.recent-project>button:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:13px 12px;border:0;background:transparent;text-align:left;font-size:14px;min-height:44px}.recent-project small{margin-left:6px;color:var(--muted);font-size:10px}.recent-delete{opacity:0;display:grid;place-items:center;border:0;background:transparent;width:34px;height:40px;border-radius:10px;color:#8a8e80;flex-shrink:0}.recent-project:hover .recent-delete,.recent-project:focus-within .recent-delete{opacity:1}.history-blank{font-size:12px;color:#96998e;margin:8px 12px}.sidebar-bottom{padding-top:16px;display:grid;gap:8px}.sidebar-bottom>button{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;border-radius:12px;min-height:44px;text-align:left;padding:10px;font-size:13px;color:#62675b}.sidebar-bottom .account-toggle{color:#30342c}.account-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e6e9de;font-size:12px}.account-toggle>span:nth-child(2){flex:1}.restaurant-main{display:grid;grid-template-rows:60px minmax(0,1fr);min-width:0;min-height:0}.restaurant-main .topbar{position:relative;top:auto;height:60px;padding:0 26px;gap:16px;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.topbar>strong{font-size:16px;font-weight:500;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.sidebar-toggle,.preview-toggle{border:0;background:transparent;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;min-width:36px;height:40px;font-size:13px;color:#64675e;flex-shrink:0}.preview-toggle{padding:0 12px}.preview-toggle[aria-expanded=true],.sidebar-toggle:hover,.preview-toggle:hover{background:#f1f2eb}.sidebar-scrim{display:none}.restaurant-shell .workspace{display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:0;max-width:none;width:100%;height:100%;min-height:0;margin:0;align-items:stretch;background:#fff;overflow:hidden}.restaurant-shell .chat-panel{display:flex;flex-direction:column;justify-content:flex-start;padding:0;min-width:0;min-height:0;height:100%;background:#fff;border:0;border-radius:0;overflow:hidden}.restaurant-shell .chat-heading{display:none}.restaurant-shell .messages{display:flex;flex-direction:column;flex:1;min-height:0;gap:25px;width:100%;max-width:788px;margin:0 auto;padding:28px 24px 20px;overflow:auto;border:0;scrollbar-width:thin}.restaurant-shell .message{display:flex;gap:0;max-width:100%;margin:0;width:auto;align-self:flex-start}.restaurant-shell .message.user{max-width:85%;align-self:flex-end;flex-direction:row}.restaurant-shell .avatar{display:none}.restaurant-shell .bubble{padding:0;border:0;background:transparent;max-width:100%;width:100%;border-radius:0;box-shadow:none;font-size:15px;line-height:1.85}.restaurant-shell .message.user .bubble{padding:12px 18px;background:#f2f3ed;border-radius:20px;white-space:pre-wrap}.restaurant-shell .bubble p{line-height:1.85;overflow-wrap:anywhere}.restaurant-shell .reply-actions{margin:16px 0 0;display:flex;gap:8px;flex-wrap:wrap}.restaurant-shell .reply-actions button{border-radius:999px;font-size:13px;min-height:38px;padding:8px 14px}.restaurant-shell .reply-settings{border:1px solid var(--line);background:#fff;color:#777d70}.restaurant-shell .orange-button{background:#363c32;border-color:#363c32;color:#fff;box-shadow:none}.restaurant-shell .orange-button:hover{background:#4d5746}.restaurant-shell .typing{display:flex;gap:6px;padding:10px 0}.restaurant-shell .typing span{background:#969e8c}.restaurant-shell .work-card{width:100%;margin:0}.work-card>figcaption{display:flex;align-items:center;gap:20px;font-size:13px;color:#818777;max-width:440px;margin:0 0 14px}.work-card>figcaption>span{flex:1}.work-card>figcaption small{font-size:11px}.work-image{display:block;width:fit-content;max-width:100%;border:0;padding:0;border-radius:12px;overflow:hidden;background:#f7f8f3}.work-image img{display:block;max-width:100%;max-height:380px;width:auto;height:auto;object-fit:contain}.work-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:12px}.work-actions>button,.work-actions summary{border:0;background:#f3f4ed;border-radius:999px;font-size:12px;min-height:36px;padding:7px 12px;color:#666e5c;display:flex;align-items:center}.work-actions>button:nth-child(3){background:transparent}.work-actions details{position:relative}.work-actions summary{list-style:none;cursor:pointer;background:transparent}.work-actions summary::-webkit-details-marker{display:none}.work-menu{position:absolute;bottom:calc(100% + 8px);right:0;min-width:148px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 8px 28px #30382815;z-index:20}.work-menu button{border:0;background:transparent;width:100%;padding:10px;text-align:left;min-height:40px;border-radius:9px;font-size:13px}.work-menu button:hover{background:#f0f2e9}.next-edits{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.next-edits button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-size:12px;color:#828974;min-height:34px}.restaurant-shell .composer{flex-shrink:0;position:relative;width:calc(100% - 48px);max-width:740px;margin:8px auto 0;padding:15px 14px 10px;border:1px solid #e1e4da;border-radius:25px;background:#f9faf6;box-shadow:0 0 0 1px #f4f5ef;z-index:2}.restaurant-shell .composer:focus-within{border-color:#bec8b6;box-shadow:0 0 0 1px #e8ede2}.restaurant-shell .composer textarea{display:block;width:100%;resize:none;background:transparent;color:#30352a;border:0;border-radius:0;font-size:15px;line-height:1.7;min-height:58px;max-height:160px;height:auto;padding:0 5px 8px;outline:none;box-shadow:none}.restaurant-shell .composer textarea::placeholder{color:#969c8c}.restaurant-shell .composer-actions{display:flex;align-items:center;gap:3px;min-height:40px;padding:0;margin:4px 0 0;border:0}.restaurant-shell .attach-button,.restaurant-shell .composer-options{display:flex;align-items:center;gap:6px;padding:0 10px;border:0;border-radius:999px;background:transparent;min-height:38px;font-size:13px;color:#6a735d}.restaurant-shell .attach-button small{font-size:11px}.restaurant-shell .composer-options{width:38px;justify-content:center;padding:0}.restaurant-shell .send-button{margin-left:auto;width:38px;height:38px;min-height:38px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:#34392e;color:#fff;box-shadow:none}.restaurant-shell .send-button span{display:none}.restaurant-shell .send-button:disabled{opacity:.45}.composer-tip{font-size:11px;text-align:center;line-height:1.5;color:#909782;margin:10px 16px 12px;flex-shrink:0}.restaurant-shell .editing-notice{margin:0 0 12px;background:#eef1e7;color:#768269;padding:7px 9px;border-radius:10px;font-size:12px;gap:8px}.restaurant-shell .editing-notice img{width:26px;height:26px;object-fit:cover;border-radius:5px}.restaurant-shell .editing-notice span{flex:1}.restaurant-shell .editing-notice button{background:transparent;border:0;min-width:30px;min-height:30px;padding:5px}.restaurant-shell .attachments{margin:0 0 10px}.restaurant-shell .attachments figure{width:64px}.restaurant-shell .attachments img{height:52px}.restaurant-shell .message-thumbs img{width:76px;height:76px;object-fit:contain;border-radius:9px}.restaurant-shell .is-new .chat-panel{justify-content:center;padding:0 0 5vh}.restaurant-shell .is-new .chat-heading{display:block;text-align:center;margin:0 0 26px;padding:0}.restaurant-shell .chat-heading h1{font-family:inherit;font-size:29px;line-height:1.5;font-weight:550;letter-spacing:-.5px}.restaurant-shell .is-new .messages{display:none}.restaurant-shell .is-new .composer{margin-top:0}.restaurant-shell .starter-chips{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 12px 0}.restaurant-shell .starter-chips button{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;background:#fff;min-height:38px;padding:8px 14px;font-size:13px;color:#797f70}.restaurant-shell .starter-chips button[aria-pressed=true]{background:#eef1e7;border-color:#dbe0d3;color:#48513e}.restaurant-shell .preview-panel{display:none;background:#f8f9f5;border:0;border-left:1px solid #e8eae2;border-radius:0;padding:24px;min-width:0;min-height:0;height:100%;overflow:auto}.restaurant-shell .preview-active{grid-template-columns:minmax(0,1fr) minmax(340px,42%)}.restaurant-shell .preview-active .preview-panel{display:flex;flex-direction:column;align-items:stretch}.restaurant-shell .preview-head{margin-bottom:18px}.restaurant-shell .preview-head span{display:none}.restaurant-shell .preview-head h2{font-family:inherit;font-size:15px;font-weight:500;color:#747e68}.restaurant-shell .preview-stage{display:flex;justify-content:center;align-items:center;min-height:100px;aspect-ratio:auto;background:transparent;border:0;box-shadow:none;overflow:visible;border-radius:12px}.restaurant-shell .result-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;border-radius:12px}.restaurant-shell .preview-actions{display:flex;flex-wrap:wrap;gap:8px}.restaurant-shell .preview-actions button{min-height:40px;border-radius:999px;padding:8px 12px;font-size:12px}.restaurant-shell .empty-canvas{border:0;background:transparent;flex:1;min-height:200px}.restaurant-shell .empty-guide p{font-family:inherit;font-size:18px;color:#79816e}.restaurant-shell .empty-guide small{color:#959d89}.restaurant-shell .version-heading{margin-bottom:12px}.restaurant-shell .version-heading .plain-button{min-height:38px;border-radius:999px;border-color:#e0e5d8;color:#717c61}.restaurant-shell .design-gallery button{border-radius:12px;background:#fff}.restaurant-shell .design-gallery button[aria-pressed=true]{border-color:#768968;background:#f0f3e9}.restaurant-shell .design-gallery img{height:85px}.restaurant-shell .error{width:calc(100% - 48px);max-width:740px;margin:8px auto 12px;font-size:12px;flex-shrink:0}.restaurant-shell .generation-progress{width:100%;max-width:440px}.brand-form{display:grid;gap:16px}.brand-form label{display:grid;gap:7px;font-size:13px;color:#69725e}.brand-form input,.brand-form textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px}.brand-form textarea{min-height:96px;resize:vertical}.brand-dialog>p{font-size:13px;line-height:1.8;color:#8b937f;margin:10px 0 20px}.brand-dialog{margin:auto;padding:28px;border:1px solid var(--line);border-radius:20px;width:min(480px,calc(100% - 28px));max-height:90dvh;overflow:auto;background:#fff}.restaurant-shell .generation-modal,.restaurant-shell .account-menu,.restaurant-shell .menu-editor{background:#fff}.restaurant-shell .generation-modal h2,.restaurant-shell .account-menu h2,.brand-dialog h2{font-family:inherit;font-size:22px;font-weight:550}@media(max-width:1100px){.restaurant-shell .preview-active{grid-template-columns:minmax(0,1fr)}.restaurant-shell .preview-active .chat-panel{display:none}.restaurant-shell .preview-active .preview-panel{display:flex}.restaurant-shell{grid-template-columns:230px minmax(0,1fr)}}@media(min-width:641px){.restaurant-shell.sidebar-open{grid-template-columns:minmax(0,1fr)}.restaurant-shell.sidebar-open .restaurant-sidebar{display:none}}@media(max-width:640px){.restaurant-shell{grid-template-columns:minmax(0,1fr)}.restaurant-main{grid-template-rows:56px minmax(0,1fr)}.restaurant-sidebar{display:none;position:fixed;left:0;top:56px;bottom:0;width:min(310px,85vw);z-index:50;box-shadow:10px 0 40px #26302118}.sidebar-open .restaurant-sidebar{display:flex}.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:56px 0 0;border:0;background:#29352522;z-index:45}.restaurant-main .topbar{height:56px;padding:0 12px;gap:10px}.topbar>strong{font-size:15px}.restaurant-shell .is-new .chat-panel{padding-bottom:0}.restaurant-shell .chat-heading h1{font-size:25px}.restaurant-shell .is-new .chat-heading{margin-bottom:26px}.restaurant-shell .composer{width:calc(100% - 24px);padding:15px 14px 10px;margin-top:8px;border-radius:25px}.restaurant-shell .messages{padding:22px 18px 16px;gap:24px}.restaurant-shell .starter-chips{margin-top:16px;gap:8px}.restaurant-shell .starter-chips button{min-height:42px;padding:8px 12px;font-size:12px}.restaurant-shell .attach-button,.restaurant-shell .composer-options{min-height:40px}.restaurant-shell .work-actions>button,.restaurant-shell .work-actions summary,.restaurant-shell .next-edits button{min-height:40px}.work-image img{max-height:340px}.restaurant-shell .work-card>figcaption{margin-bottom:10px}.recent-delete{opacity:1;width:40px;min-height:44px}.restaurant-shell .preview-panel{padding:20px 16px}.restaurant-shell .composer-tip{margin-bottom:max(12px,env(safe-area-inset-bottom));font-size:11px}.restaurant-shell .message.user{max-width:90%}.restaurant-shell .message .bubble{font-size:15px}.restaurant-shell .preview-toggle{min-height:44px}.restaurant-shell .sidebar-toggle{min-width:40px;min-height:44px}.brand-dialog{padding:24px 20px}.restaurant-shell .error{width:calc(100% - 24px)}.restaurant-shell .generation-modal{padding:24px 18px}}.restaurant-shell .send-button{min-width:38px;flex:0 0 38px}.restaurant-shell .work-card .work-actions{margin-bottom:0}.restaurant-shell .is-new .chat-panel{padding-bottom:calc(5vh + 16px)}@media(max-width:640px){.restaurant-shell .is-new .chat-panel{padding-bottom:36px}.restaurant-shell .is-new .chat-heading{margin-bottom:20px}}.restaurant-sidebar .brand-mark{background:#f5b080;overflow:hidden;flex-shrink:0}.restaurant-sidebar .brand-mark img{display:block;width:40px;height:40px;object-fit:cover}
