:root{font-family:Inter,"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;color:#182a37;background:#faf7f4;font-synthesis:none;--ink:#142e3b;--orange:#b4481a;--line:#dce3e5;--muted:#536770}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #db9950;outline-offset:2px}.shell,.app,.support-section,.about-inner{width:min(1384px,100%);margin:auto;padding-inline:clamp(16px,3.5vw,54px)}.topbar{background:white;border-bottom:1px solid var(--line)}.topbar-inner{min-height:67px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:21px;font-weight:850;white-space:nowrap}.brand img{width:39px;height:39px}.main-nav,.top-actions,.actions,.pager,.row{display:flex;align-items:center;gap:9px}.main-nav{flex:1}.main-nav button,.quiet{border:0;background:none;color:var(--muted);font-size:14px;padding:9px 7px}.main-nav button:hover,.quiet:hover{text-decoration:underline}.btn,.tab,.icon-btn,.add,.support-pill,.pager button{border:1px solid #cbd6d8;background:white;color:var(--ink);border-radius:8px;padding:10px 15px;font-weight:700;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}.btn:hover,.pager button:hover{border-color:var(--orange)}.btn.primary,.support-pill{background:var(--orange);color:white;border-color:var(--orange)}.small,.icon-btn,.pager button{padding:7px 11px;font-size:14px}.hero{margin:24px auto 0;background:#b74d20;color:#fff;border-radius:15px;min-height:176px;position:relative;overflow:hidden;display:flex;align-items:center;padding:28px clamp(22px,3vw,46px);isolation:isolate}.hero h1{font-size:clamp(27px,3.3vw,46px);letter-spacing:-.045em;margin:6px 0 8px}.hero p{font-size:15px;color:#fff4e9;margin:0;line-height:1.65}.eyebrow{font:700 11px/1.5 Arial,sans-serif;letter-spacing:.21em;color:#ffdfbf}.hero-art{position:absolute;right:clamp(18px,5vw,90px);top:14px;width:245px;height:190px;z-index:-1;transform:rotate(-8deg);background:#fff1d6;color:#843f1b;border:7px double #bb713e;box-shadow:9px 10px 0 #8b3818;padding:12px 21px;display:grid;align-content:start;gap:5px}.hero-art b{font:italic 32px Georgia,serif;border-bottom:2px solid #a56d44;padding-bottom:4px}.hero-art span{font:12px Georgia,serif;display:flex;justify-content:space-between;border-bottom:1px dotted #aab4a0;padding:5px 0}.hero-art:after{content:'';height:45px;width:112px;border-radius:65%;border:3px double #b57e4f;position:absolute;bottom:-22px;right:12px}.workbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:17px 0}.status{color:var(--muted);font-size:14px}.status:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#b65324;margin-right:7px}.app{display:grid;grid-template-columns:minmax(330px,.83fr) minmax(0,1.36fr);gap:19px;align-items:start;padding-bottom:32px}.panel{min-width:0;background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-head,.preview-toolbar{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}h2,h3{margin:0}.panel h2{font-size:19px}.panel h3{font-size:16px}.tabs{display:flex;padding:8px;gap:4px;background:#f6f8f8}.tab{flex:1;white-space:nowrap;font-size:14px;border-color:transparent;background:transparent;color:var(--muted);padding:9px 4px}.tab.active{background:white;color:var(--orange);border-color:var(--line);box-shadow:0 1px 3px #152d3312}.section{padding:19px;display:none}.section.active{display:block}.section h3{margin-bottom:16px}.field{margin:0 0 14px}.field label,.category label{display:block;font-weight:650;font-size:14px;margin:0 0 6px}.input,textarea,select{width:100%;padding:10px 11px;border:1px solid #cbd7d9;background:#fff;border-radius:7px;color:var(--ink);line-height:1.45}textarea{min-height:69px;resize:vertical}.upload{border:1px dashed #b3c4c4;background:#f7f9f9;border-radius:8px;padding:14px}.upload input,.item-controls input{max-width:100%;font-size:13px}.upload p,.template-note,.muted,.hint,.support-inner p,.about-inner p,.support-dialog p{font-size:14px;line-height:1.6;color:var(--muted)}.category{border:1px solid var(--line);padding:12px;border-radius:8px;margin-bottom:12px}.cat-head,.items-toolbar,.item-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.cat-head input{font-weight:700}.icon-btn{flex:none}.item{padding:10px;background:#f4f7f7;border-radius:6px;margin:10px 0}.item-line{display:grid;grid-template-columns:2fr 1fr;gap:8px}.item-controls{flex-wrap:wrap}.add{width:100%;border-style:dashed}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-card{background:white;border:2px solid #e2e8e8;border-radius:7px;padding:5px;text-align:left;min-width:0}.template-card.active{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.template-card b{display:block;padding:4px;font-size:13px}.template-thumb{height:50px;padding:5px 10px;display:grid;gap:2px;overflow:hidden}.template-thumb:before{content:'Menu';font:italic 15px Georgia,serif}.template-thumb span{display:block;height:1px;width:87%;background:currentColor;opacity:.45}.custom-colors{padding-block:10px 20px}.color-controls{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.color-controls label{display:flex;align-items:center;gap:8px;font-size:14px}input[type=color]{width:42px;height:30px;padding:0;border:0}.preview-panel{position:sticky;top:10px}.preview-toolbar small,.support-section small{color:var(--muted);font-size:13px}.preview-stage{padding:22px 16px;background-color:#f2eae3;background-image:radial-gradient(#dbc9b9 1px,transparent 1px);background-size:12px 12px;display:grid;justify-items:center;align-items:start;min-width:0}.artboard{width:100%;max-width:660px;filter:drop-shadow(0 4px 9px #173a3529)}.artboard svg{display:block;width:100%;height:auto;max-height:720px}.preview-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px}.hint{margin:0}.pager{font:13px monospace;white-space:nowrap}.pager button{min-width:32px;height:32px}.support-section{padding-block:12px 35px}.support-inner{background:#fff0e3;border:1px solid #e9c6ae;border-radius:12px;padding:22px 25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.support-inner h2{font-size:20px}.benefits{padding-left:20px;line-height:1.8;font-size:15px}.support-inner ul{columns:2;column-gap:24px;margin:10px 0 0}.support-inner li{break-inside:avoid}.about-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:18px;border-top:1px solid var(--line);font-size:14px}.about-inner a{margin-left:12px}.support-dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:min(540px,calc(100% - 24px));max-height:85dvh;color:var(--ink);box-shadow:0 16px 65px #19303132}.support-dialog::backdrop{background:#142a3680}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 20px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:20px}.dialog-body{padding:18px 20px}.plan{padding:15px;border:1px solid var(--line);border-radius:9px;margin-bottom:10px}.plan h3{font-size:16px}.plan p{margin:5px 0}.plan.pro{border-color:#dba481;background:#fff6ed}.tiers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.tier{display:grid;gap:6px;background:white;border:1px solid var(--line);border-radius:8px;padding:12px}.tier strong{font-size:20px}.tier small{color:var(--muted)}.dialog-body .row{flex-wrap:wrap}.dialog-body .btn{font-size:14px}.toast{position:fixed;z-index:5;bottom:24px;left:50%;transform:translateX(-50%);background:#71331b;color:white;padding:12px 16px;border-radius:7px;display:none;max-width:90vw;width:max-content}.preview-jump{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#printPages{display:none}.record{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.qr{display:block;width:150px;height:150px}.qr path{fill:black}.support-dialog input{max-width:100%}
@media(max-width:880px){.app{grid-template-columns:minmax(290px,.9fr) minmax(0,1fr)}.hero-art{width:160px;right:35px}.main-nav{gap:2px}.topbar-inner{gap:12px}.preview-panel{top:5px}}
@media(max-width:720px){.app{grid-template-columns:minmax(0,1fr);gap:12px}.topbar-inner{flex-wrap:wrap;padding-block:9px;gap:5px 9px}.main-nav{order:3;flex-basis:100%;gap:12px}.top-actions{margin-left:auto}.hero{min-height:138px;margin-top:14px;padding:19px}.hero-art{display:none}.hero .eyebrow{font-size:10px}.hero h1{font-size:25px}.hero p{font-size:14px}.workbar{align-items:flex-start;flex-direction:column;gap:8px}.actions{width:100%;flex-wrap:wrap}.actions .btn{flex:1;font-size:14px;padding:9px 6px}.preview-jump{display:inline-flex}.preview-panel{position:static}.support-inner,.about-inner{display:block}.support-inner ul{columns:1}.support-pill{margin-top:12px}.about-inner a{display:inline-block;margin:9px 12px 0 0}.preview-stage{padding:12px}.template-thumb{height:48px}.panel-head,.preview-toolbar,.section{padding:14px}.tier{padding:10px}.tiers .btn{white-space:normal}.status{font-size:13px}}
@media print{html,body{margin:0!important;padding:0!important;background:white}body>*:not(#printPages){display:none!important}#printPages{display:block!important}#printPages svg{display:block;break-after:page;break-inside:avoid}#printPages svg:last-child{break-after:auto}}

.artboard[data-size=long] svg{max-height:none}.preview-stage:has(.artboard[data-size=long]){max-height:75vh;overflow:auto}.panel:focus-within{scroll-margin-top:8px}

.export-image{display:block;max-width:100%;height:auto;max-height:36vh;object-fit:contain;margin:12px auto}.export-file{overflow-wrap:anywhere}.export-note{margin:12px 0}.support-dialog details{margin-top:14px}.support-dialog summary{cursor:pointer}.support-dialog form label{display:block;margin:8px 0}

.items-toolbar,.quick-actions,.cat-head,.dish-actions{flex-wrap:wrap}
.cat-head>.input{flex:1 1 120px;min-width:90px}
.move-controls,.dish-actions{display:flex;align-items:center;gap:5px}
.move-controls button{font-size:13px;padding:6px 9px}
.category>.add{margin:0 0 8px}
#colorTools{border:0;padding:0;margin:0;min-width:0}
#colorTools:disabled{opacity:.55}
#colorUpgrade[hidden]{display:none}
#quickDish .item-line>*{min-width:0}
#quickDish .row,#newCategoryForm .row{margin-top:14px;flex-wrap:wrap}

.back-top{position:fixed;z-index:3;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:48px;height:48px;border-radius:50%;text-decoration:none;color:white;background:var(--orange);border:1px solid #933b17;box-shadow:0 2px 8px #46231238;font:700 11px/1.05 Arial,sans-serif;letter-spacing:.05em}.back-top span{font-size:19px}.back-top[hidden]{display:none}.back-top:hover{background:#923a16}@media print{.back-top{display:none!important}}

/* Match the quote workspace and sheet margins at each device width. */
@media screen {
 .shell,.app,.support-section,.about-inner{width:min(1456px,94%);padding-inline:0}
 .app{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:22px}
 .app>*{min-width:0}
 .preview-stage{padding:25px clamp(16px,3.1vw,56px) 34px}
 .artboard,.artboard svg{max-width:none;max-height:none}
 .top-actions{gap:12px}
 .top-actions .btn{font-size:14px;min-height:44px;border-radius:6px;padding:9px 15px}
 .top-actions [data-action=support]{background:#fff0e3;color:#813510;border-color:transparent}
}
.skip-link{position:fixed;z-index:20;top:5px;left:8px;padding:9px;background:white;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.align-field{border:0;padding:0;margin:16px 0}
.align-field legend{font-weight:700;margin-bottom:7px}
.align-options{display:flex;max-width:360px}
.align-options label{flex:1;position:relative;cursor:pointer}
.align-options input{position:absolute;opacity:0}
.align-options span{display:grid;place-items:center;min-height:44px;border:1px solid #cbd6d8;background:white}
.align-options label:first-child span{border-radius:7px 0 0 7px}
.align-options label:last-child span{border-radius:0 7px 7px 0}
.align-options input:checked+span{color:#80340f;background:#fff0e3;border-color:#b4481a;font-weight:700}
.align-options input:focus-visible+span{outline:3px solid #9d561f;outline-offset:2px;position:relative;z-index:1}
.about-inner p{margin:4px 0}.about-inner a{min-height:44px;display:inline-flex;align-items:center}
@media screen and (max-width:960px){.app{grid-template-columns:1fr 1fr;gap:12px}.preview-stage{padding:16px 12px}}
@media screen and (max-width:900px){.app{grid-template-columns:minmax(0,1fr)}.preview-panel{position:static}.preview-jump{display:inline-flex}.preview-stage{padding:22px max(7%,20px)}}
@media screen and (max-width:760px){
 .shell,.app,.support-section,.about-inner{width:calc(100% - 28px)}
 .preview-stage{padding:17px 6%}
 .topbar-inner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px}
 .main-nav{grid-column:1/-1;grid-row:2;justify-content:space-between}
 .top-actions{justify-self:end;gap:4px;flex-wrap:wrap;justify-content:flex-end}
 .top-actions .btn{font-size:.8rem;padding:5px 9px}
 .tabs .tab,.pager button,.main-nav button{min-height:44px}
 .input,select,textarea{min-width:0;font-size:16px}
}
@media (max-width:420px){.tiers{grid-template-columns:minmax(0,1fr)}}
dialog.zoom{width:min(720px,96vw);background:#f7f4ef}
.zoom-pages svg{display:block;width:100%;height:auto;margin-bottom:12px;box-shadow:0 2px 9px #35282026}
.preview-toolbar>div{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.preview-toolbar h2{white-space:nowrap}
.share-controls{margin:12px 0}
.qr-download{display:flex;align-items:center;gap:16px;border-block:1px solid var(--line);padding:16px 0}
.qr-download .qr{flex:0 0 auto;width:min(38vw,184px);height:auto}
.qr-download .btn{margin:4px 6px 0 0}
@media(max-width:440px){.qr-download{flex-direction:column;text-align:center}.qr-download .qr{width:184px;max-width:100%}.actions [data-action=currentShare]{flex-basis:100%}}
.shared-loading>:not(.shared-status){display:none}
.shared-status{max-width:560px;margin:15vh auto;text-align:center}
.discussion{padding-bottom:24px;scroll-margin-top:12px}
.discussion-body{padding:0 clamp(14px,3vw,25px) 20px}
.discussion-login,.comment-byline{display:flex;align-items:center;gap:12px}
.discussion-login{justify-content:space-between;background:#fbf5ee;border:1px solid var(--line);border-radius:8px;padding:12px}
.discussion [hidden]{display:none!important}
#commentForm{display:grid;gap:12px;justify-items:start}
#commentForm label{display:grid;gap:5px;width:100%;font-weight:650}
#commentForm input{max-width:320px}#commentForm textarea{width:100%;resize:vertical}
.comment-row{padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
#commentList{margin-top:18px}.comment-byline{flex-wrap:wrap}.comment-byline time{color:var(--muted);font-size:.85rem}
.comment-byline button{margin-inline-start:auto}.comment-row p{white-space:pre-wrap;margin:.5rem 0 0}
@media print{.discussion{display:none!important}}

.hero{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(145px,33%);height:158px;min-height:158px;gap:18px;padding:0 34px;overflow:visible;background:#b74d20}
.hero-stack{position:relative;isolation:isolate;justify-self:center;width:126px;aspect-ratio:210/297;transform:rotate(-7deg);z-index:1;box-shadow:0 5px 12px #60240e45}
.hero-stack::before,.hero-stack::after{content:"";position:absolute;inset:0;z-index:-1;transform-origin:50% 86%;box-shadow:0 2px 5px #54291924}
.hero-stack::before{background:#f2c78d;transform:translate(7px,0) rotate(11deg)}
.hero-stack::after{background:#fff0d8;transform:translate(4px,0) rotate(6deg)}
.hero-stack img{display:block;width:100%;height:auto}
@media(min-width:1550px){.hero{height:180px;min-height:180px}.hero-stack{width:141px}}
@media(max-width:760px){.hero{height:138px;min-height:138px;grid-template-columns:minmax(0,1fr) 29%;gap:6px;padding:0 16px;margin-top:16px}.hero-stack{width:min(100%,103px)}.hero h1{font-size:clamp(18px,4.5vw,26px);line-height:1.2;margin:6px 0}.hero p{font-size:clamp(12px,3vw,14px);line-height:1.45}.hero .eyebrow{font-size:9px}}
@media(max-width:340px){.hero{height:162px;min-height:162px}}