:root{--paper:#f3f1eb;--ink:#0b0b0b;--red:#f02920;--pad:clamp(18px,2.3vw,38px)}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif}button,input{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}.tool-header{height:96px;padding:18px var(--pad);display:grid;grid-template-columns:1fr auto 1fr;align-items:start;border-bottom:2px solid var(--ink);font-size:9px;font-weight:900;letter-spacing:.08em}.tool-header .brand{display:block;width:clamp(145px,15vw,220px)}.brand img{display:block;width:100%;height:auto}.tool-header>span{align-self:center}.tool-header>span b{margin-left:8px;padding:4px 6px;color:#fff;background:var(--red)}.tool-header>a:last-child{justify-self:end;align-self:center;text-decoration:none}.intro{padding:clamp(45px,7vw,100px) var(--pad);border-bottom:2px solid var(--ink)}.kicker{margin:0 0 clamp(40px,7vw,90px);font-size:10px;font-weight:900;letter-spacing:.09em}.intro-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:40px;align-items:end}.intro h1{margin:0;font:900 clamp(68px,11vw,180px)/.74 "Arial Black",Arial,sans-serif;letter-spacing:-.085em}.intro h1 em{color:var(--red);font-style:normal}.intro-grid>p{max-width:420px;margin:0;font-size:clamp(18px,1.65vw,27px);line-height:1.13;font-weight:700}.builder{display:grid;grid-template-columns:minmax(380px,42vw) 1fr;border-bottom:2px solid var(--ink)}.editor{border-right:2px solid var(--ink)}.editor-head,.preview-head{padding:22px var(--pad);display:flex;justify-content:space-between;gap:20px;font-size:9px;font-weight:900;letter-spacing:.08em}.editor-head span:last-child{color:var(--red)}details{border-top:1px solid var(--ink)}summary{padding:17px var(--pad);display:flex;justify-content:space-between;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}details[open] summary b{transform:rotate(0)}details:not([open]) summary b{transform:rotate(90deg)}.panel{padding:0 var(--pad) 28px}.panel>label{display:block;margin-top:18px;font-size:9px;font-weight:900;letter-spacing:.07em}.panel>label input{width:100%;margin-top:8px;padding:10px 0;border:0;border-bottom:1px solid var(--ink);border-radius:0;outline:0;background:transparent;font-size:22px;font-weight:800}.panel>label input:focus{color:var(--red);border-color:var(--red)}.style-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.style-picker button{padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;border:1px solid var(--ink);background:transparent}.style-picker button i{font-size:28px;font-style:normal}.style-picker button span{font-size:8px;font-weight:900;letter-spacing:.06em}.style-picker button:nth-child(1) i{font-family:Georgia,serif;font-weight:700}.style-picker button:nth-child(2) i{font-family:Arial,sans-serif}.style-picker button:nth-child(3) i{font-family:Georgia,serif;font-style:italic}.style-picker button:nth-child(4) i{font-family:"Arial Black",sans-serif;font-weight:900}.style-picker button.is-active,.style-picker button:hover{color:#fff;background:var(--ink)}.colors{margin-top:18px;display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}.colors label{font-size:8px;font-weight:900}.colors label input{display:block;width:100%;height:35px;margin-top:6px;padding:0;border:1px solid var(--ink);background:transparent}.colors output{display:block;margin-top:4px;font-size:8px}.colors button{height:35px;padding:0 10px;border:1px solid var(--ink);background:transparent;font-size:8px;font-weight:900}.edit-section{margin-top:14px;padding:12px;border:1px solid var(--ink);background:rgba(255,255,255,.28)}.section-controls{display:grid;grid-template-columns:1fr 30px 30px 30px;gap:5px}.section-controls input{min-width:0;padding:7px;border:0;border-bottom:1px solid var(--ink);background:transparent;font-size:14px;font-weight:900;text-transform:uppercase}.section-controls button,.edit-item button{border:1px solid var(--ink);background:transparent}.section-controls button:hover,.edit-item button:hover{color:#fff;background:var(--red);border-color:var(--red)}.items{margin-top:10px}.edit-item{display:grid;grid-template-columns:minmax(0,1fr) 58px 30px;gap:5px;margin-top:5px}.edit-item input{min-width:0;padding:7px;border:1px solid #aaa;background:#fff;font-size:13px}.item-price{text-align:right}.add-item,.add-section{margin-top:10px;padding:8px 0;border:0;background:transparent;font-size:8px;font-weight:900;letter-spacing:.06em;text-decoration:underline;text-underline-offset:4px}.add-section{width:100%;padding:14px;border:1px dashed var(--ink);text-decoration:none}.preview-wrap{min-width:0;padding-bottom:50px;background:#d7d3ca}.preview-head{background:var(--paper);border-bottom:1px solid var(--ink)}.paper-stage{padding:clamp(25px,5vw,75px);display:grid;place-items:center}.menu-paper{--menu-ink:#272222;--menu-paper:#fff;width:min(148mm,100%);aspect-ratio:148/210;padding:14% 12%;overflow:hidden;color:var(--menu-ink);background:var(--menu-paper);box-shadow:0 12px 40px rgba(0,0,0,.18);container-type:inline-size}.menu-paper header{text-align:center}.preview-restaurant{margin:0;font-size:3.2cqw;font-weight:700}.preview-title{margin:1cqw 0 5cqw}.preview-menu-section{margin-top:4.5cqw}.preview-menu-section h3{margin:0 0 1.2cqw}.preview-item{display:flex;align-items:baseline}.preview-item span:first-child{min-width:0}.preview-item i{flex:1;margin:0 .6cqw;border-bottom:1px dotted currentColor}.preview-item b{white-space:nowrap}.preview-footer{margin-top:7cqw;text-align:center}.style-classic{font-family:Georgia,"Times New Roman",serif;font-size:2.65cqw;font-weight:700}.style-classic header{display:none}.style-classic .preview-menu-section{margin-top:4.5cqw}.style-classic .preview-menu-section h3{font-size:2.8cqw;letter-spacing:.02em;text-transform:uppercase}.style-classic .preview-item{line-height:1.45}.style-classic .preview-footer{font-size:2.4cqw}.style-modern{padding:10%;font-family:Arial,sans-serif;font-size:2.45cqw}.style-modern header{text-align:left;border-bottom:.8cqw solid currentColor}.style-modern .preview-restaurant{font-size:2.3cqw;text-transform:uppercase;letter-spacing:.16em}.style-modern .preview-title{font-size:8cqw;text-transform:uppercase;letter-spacing:-.08em}.style-modern #preview-sections{display:grid;grid-template-columns:1fr 1fr;gap:3cqw 5cqw}.style-modern .preview-menu-section{margin-top:4cqw}.style-modern .preview-menu-section h3{font-size:3cqw;text-transform:uppercase}.style-modern .preview-item{padding:.7cqw 0;border-bottom:1px solid currentColor}.style-modern .preview-item i{border:0}.style-modern .preview-footer{text-align:left;font-size:2cqw}.style-bistro{padding:11%;font-family:Georgia,serif;font-size:2.5cqw;border:1.8cqw solid var(--menu-paper);outline:.35cqw solid var(--menu-ink);outline-offset:-3cqw}.style-bistro .preview-restaurant{font-size:5cqw;font-style:italic}.style-bistro .preview-title{font-size:2.2cqw;text-transform:uppercase;letter-spacing:.35em}.style-bistro .preview-menu-section h3{text-align:center;font-size:3.2cqw;font-style:italic}.style-bistro .preview-item{line-height:1.6}.style-bistro .preview-item i{border-bottom-style:solid;opacity:.35}.style-poster{padding:8%;font-family:Arial,sans-serif;font-size:2.7cqw}.style-poster header{text-align:left}.style-poster .preview-restaurant{font:900 8cqw/.8 "Arial Black",Arial,sans-serif;letter-spacing:-.08em;text-transform:uppercase}.style-poster .preview-title{margin:2cqw 0 4cqw;padding:1.2cqw;color:var(--menu-paper);background:var(--menu-ink);font:900 3cqw/1 "Arial Black",Arial,sans-serif;text-transform:uppercase}.style-poster #preview-sections{display:grid;grid-template-columns:1fr 1fr;gap:2cqw 4cqw}.style-poster .preview-menu-section{margin-top:2cqw}.style-poster .preview-menu-section h3{font:900 3cqw/1 "Arial Black",Arial,sans-serif;text-transform:uppercase}.style-poster .preview-item{padding:.5cqw 0}.style-poster .preview-item i{border-bottom-style:solid}.style-poster .preview-footer{text-align:left;font-size:2cqw;font-weight:900}.actions{padding:0 var(--pad);display:grid;grid-template-columns:1fr 1fr;gap:10px}.actions button{padding:16px;border:1px solid var(--ink);background:var(--paper);font-size:9px;font-weight:900;letter-spacing:.07em}.actions button:first-child{color:#fff;background:var(--ink)}.actions button:hover{color:#fff;background:var(--red);border-color:var(--red)}.publish-note{margin:24px var(--pad) 0;font-size:12px;line-height:1.35}.publish-note strong{display:block;font-size:9px;letter-spacing:.08em}.site-footer{padding:22px var(--pad);display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.08em}
@media(max-width:900px){.tool-header{height:78px;grid-template-columns:1fr auto}.tool-header>span{display:none}.intro-grid{grid-template-columns:1fr}.builder{display:block}.editor{border-right:0;border-bottom:2px solid var(--ink)}.paper-stage{padding:30px 12px}.menu-paper{width:min(148mm,92vw)}.site-footer{flex-direction:column;gap:8px}}
@media(max-width:480px){.intro h1{font-size:19vw}.style-picker{grid-template-columns:1fr 1fr}.colors{grid-template-columns:1fr 1fr}.colors button{grid-column:1/-1}.actions{grid-template-columns:1fr}}
@media print{@page{size:A5 portrait;margin:0}body{background:#fff}.tool-header,.intro,.editor,.preview-head,.actions,.publish-note,.site-footer{display:none!important}.builder,.preview-wrap,.paper-stage{display:block!important;padding:0!important;background:#fff!important}.menu-paper{width:148mm;height:210mm;box-shadow:none;break-after:auto}}
@media screen{.style-classic,.style-modern,.style-bistro,.style-poster,.style-hattori{font-size:0}.style-classic #preview-sections{font-size:2.65cqw}.style-modern #preview-sections{font-size:2.45cqw}.style-bistro #preview-sections{font-size:2.5cqw}.style-poster #preview-sections{font-size:2.7cqw}.style-bistro .preview-footer{font-size:2.3cqw}}

/* Pub Classic reproduces the measured A5 Duvan menu geometry. */
.style-classic{position:relative;padding:6.004% 21.14%;font-family:"Times New Roman",Times,serif;font-weight:700;letter-spacing:0}
.style-classic #preview-sections{font-size:3.45cqw}
.style-classic .preview-menu-section{margin-top:4.49cqw}
.style-classic .preview-menu-section:first-child{margin-top:0}
.style-classic .preview-menu-section h3{margin:0;font-size:1em;line-height:1.303;letter-spacing:0;text-transform:uppercase}
.style-classic .preview-item{line-height:1.303}
.style-classic .preview-item i{height:.72em;margin:0 .12em;border:0;background:radial-gradient(circle,currentColor 0 1px,transparent 1.15px) 0 100%/3px 2px repeat-x}
.style-classic .preview-footer{position:absolute;right:0;bottom:7.08%;left:0;margin:0;font-family:"FF Times","Times New Roman",Times,serif;font-size:2.622cqw;font-weight:700;line-height:1.303;letter-spacing:0;text-align:center;text-transform:none}
@media print{.style-classic #preview-sections,.style-classic .preview-footer{font-size:11pt}.style-classic .preview-menu-section{margin-top:14.34pt}}

/* Coordinate correction: position against the A5 page, not the surrounding column. */
.style-classic{padding:0}
.style-classic #preview-sections{position:absolute;top:6.004%;right:20.82%;left:21.14%;font-size:2.622cqw}
.style-classic .preview-menu-section{margin-top:3.419cqw}
@media print{.style-classic #preview-sections{font-size:11pt}.style-classic .preview-menu-section{margin-top:14.34pt}.style-classic .preview-item i{height:.72em;margin:0 .18em;border:0;border-bottom:1px dotted currentColor;background:none}}
@font-face{font-family:"FF Times";src:url("fonts/tinos-bold.ttf") format("truetype");font-style:normal;font-weight:700;font-display:swap}.style-classic{font-family:"FF Times","Times New Roman",Times,serif}

@font-face{font-family:"FF Sans";src:url("fonts/dm-sans-regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"FF Sans";src:url("fonts/dm-sans-bold.ttf") format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"FF Hand";src:url("fonts/kalam-regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"FF Hand";src:url("fonts/kalam-bold.ttf") format("truetype");font-weight:700;font-display:swap}
/* Editorial modern: type, rules and modules form the identity. */
.style-modern{position:relative;padding:6.5%;font-family:"FF Sans",Arial,sans-serif;font-size:2.25cqw;line-height:1.25}
.style-modern header{display:grid;grid-template-columns:1fr auto;align-items:end;min-height:13cqw;padding:0 0 3cqw;border:0;border-bottom:.28cqw solid currentColor;text-align:left}
.style-modern .preview-restaurant{max-width:70%;font-size:8.6cqw;font-weight:700;line-height:.78;letter-spacing:-.075em;text-transform:lowercase}
.style-modern .preview-title{margin:0 0 .7cqw;font-family:"FF Times",Georgia,serif;font-size:3.1cqw;font-style:italic;font-weight:700;letter-spacing:0;text-transform:lowercase}
.style-modern #preview-sections{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:0;border-left:.28cqw solid currentColor}
.style-modern .preview-menu-section{min-height:23cqw;margin:0;padding:3.3cqw 3cqw 3.8cqw;border-right:.28cqw solid currentColor;border-bottom:.28cqw solid currentColor}
.style-modern .preview-menu-section h3{margin:0 0 2.2cqw;font-family:"FF Times",Georgia,serif;font-size:4cqw;font-style:italic;line-height:1;text-transform:lowercase}
.style-modern .preview-item{display:grid;grid-template-columns:1fr auto;gap:1.2cqw;padding:.48cqw 0;border:0;font-size:2.02cqw;line-height:1.2}
.style-modern .preview-item i{display:none}.style-modern .preview-item b{font-weight:700}.style-modern .preview-item b::before{content:"/ ";font-weight:400}
.style-modern .preview-footer{margin:3.2cqw 0 0;padding-top:1.6cqw;border-top:.28cqw solid currentColor;font-family:"FF Sans",Arial,sans-serif;font-size:2.02cqw;font-weight:400;letter-spacing:0;text-align:left;text-transform:none}
/* Hand-drawn poster: generous space and a two-colour ink feel. */
.style-poster{position:relative;padding:7.5% 9%;font-family:"FF Sans",Arial,sans-serif;font-size:2.35cqw;line-height:1.28}
.style-poster::before{content:"";position:absolute;inset:3.8%;pointer-events:none;border:.42cqw solid currentColor;border-radius:5cqw 3.5cqw 4.5cqw 3cqw / 3.5cqw 5cqw 3cqw 4.5cqw;transform:rotate(-.15deg)}
.style-poster header{position:relative;padding:2cqw 0 6cqw;text-align:center}
.style-poster .preview-restaurant{font-family:"FF Hand",cursive;font-size:8.2cqw;font-weight:700;line-height:.9;letter-spacing:.015em;text-transform:none}
.style-poster .preview-title{display:inline-block;margin:2.2cqw 0 0;padding:0;color:inherit;background:none;font-family:"FF Sans",sans-serif;font-size:1.75cqw;font-weight:700;letter-spacing:.32em;text-transform:uppercase}
.style-poster #preview-sections{display:grid;grid-template-columns:1fr 1fr;gap:5.5cqw 6.5cqw;padding:0 4cqw}
.style-poster .preview-menu-section{margin:0;text-align:center}.style-poster .preview-menu-section h3{margin:0 0 1.8cqw;font-family:"FF Hand",cursive;font-size:3.5cqw;font-weight:700;line-height:1;text-transform:none}
.style-poster .preview-item{display:grid;grid-template-columns:1fr auto;gap:1cqw;padding:.32cqw 0;font-size:2cqw}.style-poster .preview-item span{text-align:left}.style-poster .preview-item i{display:none}.style-poster .preview-item b{font-weight:400}
.style-poster .preview-footer{position:absolute;right:12%;bottom:7%;left:12%;margin:0;font-family:"FF Sans",Arial,sans-serif;font-size:2cqw;font-weight:400;letter-spacing:0;text-align:center}
.style-poster .preview-footer::before,.style-poster .preview-footer::after{content:none}
@media screen{.style-modern #preview-sections{font-size:2.25cqw}.style-poster #preview-sections{font-size:2.35cqw}}

/* Physical paper size selector. A4 and A5 share the same aspect ratio but retain their real relative widths. */
.format-field{margin-top:24px}.format-field>span{display:block;margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.07em}.format-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.format-picker button{padding:12px;border:1px solid var(--ink);background:transparent;font-size:18px;font-weight:900;text-align:left}.format-picker small{display:block;margin-top:12px;font-size:8px;letter-spacing:.05em}.format-picker button.is-active,.format-picker button:hover{color:#fff;background:var(--ink)}
.menu-paper.size-a4{width:min(210mm,100%);aspect-ratio:210/297}.menu-paper.size-a5{width:min(148mm,100%);aspect-ratio:148/210}
@media print{.menu-paper.size-a5{width:148mm;height:210mm}.menu-paper.size-a4{width:210mm;height:297mm}}

/* Bistro must use identical type metrics on screen and in PDF. */
.style-bistro{font-size:0}
.style-bistro #preview-sections{font-size:2.5cqw}
.style-bistro .preview-footer{font-size:2.3cqw}

/* Print engines disagree on container-query units. Lock Bistro to the exact physical
   equivalents of the preview, scaled proportionally for each paper size. */
@media print{
  .style-bistro.size-a5{padding:16.28mm;border-width:2.664mm;outline-width:.518mm;outline-offset:-4.44mm}
  .style-bistro.size-a5 #preview-sections{font-size:10.49pt}
  .style-bistro.size-a5 .preview-restaurant{font-size:20.98pt}
  .style-bistro.size-a5 .preview-title{margin:1.48mm 0 7.4mm;font-size:9.23pt}
  .style-bistro.size-a5 .preview-menu-section{margin-top:6.66mm}
  .style-bistro.size-a5 .preview-menu-section h3{margin-bottom:1.776mm;font-size:13.43pt}
  .style-bistro.size-a5 .preview-footer{margin-top:10.36mm;font-size:9.65pt}
  .style-bistro.size-a4{padding:23.1mm;border-width:3.78mm;outline-width:.735mm;outline-offset:-6.3mm}
  .style-bistro.size-a4 #preview-sections{font-size:14.88pt}
  .style-bistro.size-a4 .preview-restaurant{font-size:29.77pt}
  .style-bistro.size-a4 .preview-title{margin:2.1mm 0 10.5mm;font-size:13.09pt}
  .style-bistro.size-a4 .preview-menu-section{margin-top:9.45mm}
  .style-bistro.size-a4 .preview-menu-section h3{margin-bottom:2.52mm;font-size:19.05pt}
  .style-bistro.size-a4 .preview-footer{margin-top:14.7mm;font-size:13.69pt}
}

/* Private restaurant workspace */
.header-actions{justify-self:end;display:flex;align-items:center;gap:18px}.header-actions a{text-decoration:none}.header-actions button{padding:8px 10px;border:1px solid currentColor;background:transparent;font-size:9px;font-weight:900;letter-spacing:.07em}.account-strip{padding:14px var(--pad);display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--ink);background:var(--ink);color:#fff}.account-strip[hidden]{display:none}.account-strip span{display:flex;flex:1;flex-direction:column;gap:3px;font-size:9px;letter-spacing:.07em}.account-strip small{font-size:10px;font-weight:400;letter-spacing:0}.account-strip select{max-width:190px;padding:8px 28px 8px 9px;border:1px solid #fff;border-radius:0;background:var(--ink);color:#fff;font-size:9px;font-weight:900;letter-spacing:.04em}.account-strip select[hidden]{display:none}.account-strip button{border:0;background:transparent;color:#fff;font-size:9px;font-weight:900;text-decoration:underline}.auth-modal{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.68)}.auth-modal[hidden]{display:none}.auth-card{position:relative;width:min(560px,100%);padding:clamp(28px,5vw,64px);border:2px solid var(--ink);background:var(--paper);box-shadow:10px 10px 0 var(--red)}.auth-close{position:absolute;top:14px;right:16px;border:0;background:transparent;font-size:28px}.auth-card .kicker{margin-bottom:28px}.auth-card h2{margin:0;font:900 clamp(38px,6vw,72px)/.82 "Arial Black",Arial,sans-serif;letter-spacing:-.07em}.auth-card h2 em{color:var(--red);font-style:normal}.auth-card>p:not(.kicker){max-width:430px;font-weight:700}.auth-card form{display:grid;gap:12px;margin-top:24px}.auth-card label{font-size:9px;font-weight:900;letter-spacing:.07em}.auth-card input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid var(--ink);background:#fff;font-size:16px}.auth-card form button{padding:14px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-size:9px;font-weight:900;letter-spacing:.07em}.auth-card form button+button{background:transparent;color:var(--ink)}#auth-message{min-height:18px;margin:16px 0 0;font-size:12px}.is-error{color:var(--red)}
@media(max-width:600px){.header-actions{gap:8px}.header-actions a{display:none}.auth-card{box-shadow:6px 6px 0 var(--red)}}
.menu-manager{padding:14px var(--pad);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;border-top:1px solid var(--ink);background:#e7e3da}.menu-manager[hidden]{display:none}.menu-manager label{font-size:8px;font-weight:900;letter-spacing:.08em}.menu-manager select{display:block;width:100%;margin-top:6px;padding:11px 34px 11px 10px;border:1px solid var(--ink);border-radius:0;background:var(--paper);font-size:12px;font-weight:900}.menu-manager>div{display:flex;gap:6px}.menu-manager button{min-height:39px;padding:0 10px;border:1px solid var(--ink);background:var(--paper);font-size:8px;font-weight:900;letter-spacing:.05em}.menu-manager button:hover{color:#fff;background:var(--red);border-color:var(--red)}.menu-manager button:disabled{cursor:not-allowed;opacity:.35}.menu-manager button:disabled:hover{color:inherit;background:var(--paper);border-color:var(--ink)}
@media(max-width:600px){.menu-manager{grid-template-columns:1fr}.menu-manager>div{display:grid;grid-template-columns:repeat(2,1fr)}.menu-manager button{padding:0 6px}}
.auth-card form[hidden]{display:none!important}
.share-menu{margin:34px var(--pad) 0;padding:clamp(22px,4vw,48px);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,5vw,70px);align-items:center;border:2px solid var(--ink);background:var(--paper)}.share-menu[hidden]{display:none}.share-menu>div>span{font-size:9px;font-weight:900;letter-spacing:.08em}.share-menu h2{margin:24px 0 18px;font:900 clamp(38px,5vw,72px)/.82 "Arial Black",Arial,sans-serif;letter-spacing:-.07em}.share-menu h2 em{color:var(--red);font-style:normal}.share-menu p{max-width:490px;font-size:15px;font-weight:700;line-height:1.25}.share-menu label{display:block;margin-top:28px;font-size:8px;font-weight:900;letter-spacing:.08em}.share-menu label>span{display:flex;margin-top:7px}.share-menu input{min-width:0;flex:1;padding:12px;border:1px solid var(--ink);background:#fff;font-size:12px}.share-menu label button,.qr-card button{padding:0 14px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-size:8px;font-weight:900;letter-spacing:.07em}.qr-card{width:276px;padding:26px;display:flex;flex-direction:column;align-items:center;border:1px solid var(--ink);background:#fff}.qr-card #menu-qr{width:220px;height:220px}.qr-card #menu-qr img,.qr-card #menu-qr canvas{display:block;width:100%;height:100%}.qr-card strong{margin-top:18px;font-size:13px;letter-spacing:.12em}.qr-card small{margin-top:4px;font-size:9px;letter-spacing:.18em}.qr-card button{width:100%;margin-top:18px;padding:12px}
@media(max-width:680px){.share-menu{grid-template-columns:1fr}.qr-card{width:100%;max-width:276px;justify-self:center}.share-menu label>span{display:grid}.share-menu label button{padding:12px}}
.qr-card .menu-scan-count{width:100%;margin:16px 0 0;padding:10px 4px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);font-size:9px;font-weight:900;letter-spacing:.1em;text-align:center}
.style-select-label{display:block;font-size:9px;font-weight:900;letter-spacing:.07em}.style-select-label select{width:100%;margin-top:8px;padding:14px 42px 14px 13px;border:1px solid var(--ink);border-radius:0;background:var(--paper);font-size:14px;font-weight:900;appearance:auto}.colors input[type=color]{appearance:none;-webkit-appearance:none;width:100%;height:44px;padding:0;border:1px solid var(--ink);border-radius:0;background:transparent}.colors input[type=color]::-webkit-color-swatch-wrapper{padding:0}.colors input[type=color]::-webkit-color-swatch{border:0;border-radius:0}.colors input[type=color]::-moz-color-swatch{border:0;border-radius:0}
.offer-card{width:min(720px,100%);max-height:calc(100vh - 30px);overflow:auto}.offer-card h2{font-size:clamp(42px,7vw,82px)}.offer-price{display:flex;align-items:center;gap:14px;margin:26px 0 14px;padding:18px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}.offer-price strong{font:900 clamp(64px,10vw,112px)/.7 "Arial Black",Arial,sans-serif;letter-spacing:-.1em}.offer-price span{font-size:12px;font-weight:900;line-height:1.15;letter-spacing:.08em}.offer-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:24px 0}.offer-choices div{padding:16px;border:1px solid var(--ink)}.offer-choices b,.offer-choices span{display:block}.offer-choices b{font-size:10px;letter-spacing:.08em}.offer-choices span{margin-top:7px;font-size:13px}.offer-primary,.offer-secondary{width:100%;padding:16px;border:1px solid var(--ink);font-size:9px;font-weight:900;letter-spacing:.07em}.offer-primary{color:#fff;background:var(--ink)}.offer-secondary{margin-top:8px;background:transparent}.offer-card textarea{display:block;width:100%;min-height:86px;margin-top:7px;padding:13px;resize:vertical;border:1px solid var(--ink);border-radius:0;background:#fff;font-size:16px}.signup-help{display:flex!important;align-items:center;gap:9px;padding:9px 0}.signup-help input{display:inline-block!important;width:18px!important;height:18px;margin:0!important;flex:0 0 auto}.signup-help a{font-weight:900}.offer-card form small{font-size:10px;line-height:1.3}#signup-success>p{font-size:16px}#signup-message{min-height:16px;margin:12px 0 0;font-size:12px}
@media(max-width:600px){.colors{grid-template-columns:1fr 1fr auto}.colors input[type=color]{width:48px;height:48px}.colors label{display:grid;justify-items:start}.colors button{grid-column:auto;height:48px}.offer-card{padding:30px 22px}.offer-choices{grid-template-columns:1fr}.offer-price strong{font-size:72px}}
.offer-value{margin:26px 0 0!important;padding:16px;border:2px solid var(--ink);font-size:clamp(14px,2vw,20px)!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.02em}

/* Longer Bistro menus become denser in both preview and export instead of clipping. */
.style-bistro.is-dense{padding:8%}
.style-bistro.is-dense #preview-sections{font-size:2.2cqw}
.style-bistro.is-dense .preview-restaurant{font-size:4.2cqw}
.style-bistro.is-dense .preview-title{margin:1cqw 0 3cqw;font-size:1.9cqw}
.style-bistro.is-dense .preview-menu-section{margin-top:2.6cqw}
.style-bistro.is-dense .preview-menu-section h3{margin-bottom:.8cqw;font-size:2.8cqw}
.style-bistro.is-dense .preview-item{line-height:1.35}
.style-bistro.is-dense .preview-footer{margin-top:3.5cqw;font-size:2cqw}
@media print{
  .style-bistro.is-dense.size-a5{padding:11.84mm}
  .style-bistro.is-dense.size-a5 #preview-sections{font-size:9.23pt}
  .style-bistro.is-dense.size-a5 .preview-restaurant{font-size:17.63pt}
  .style-bistro.is-dense.size-a5 .preview-title{margin:1.48mm 0 4.44mm;font-size:7.97pt}
  .style-bistro.is-dense.size-a5 .preview-menu-section{margin-top:3.85mm}
  .style-bistro.is-dense.size-a5 .preview-menu-section h3{margin-bottom:1.184mm;font-size:11.75pt}
  .style-bistro.is-dense.size-a5 .preview-footer{margin-top:5.18mm;font-size:8.39pt}
  .style-bistro.is-dense.size-a4{padding:16.8mm}
  .style-bistro.is-dense.size-a4 #preview-sections{font-size:13.09pt}
  .style-bistro.is-dense.size-a4 .preview-restaurant{font-size:25pt}
  .style-bistro.is-dense.size-a4 .preview-title{margin:2.1mm 0 6.3mm;font-size:11.3pt}
  .style-bistro.is-dense.size-a4 .preview-menu-section{margin-top:5.46mm}
  .style-bistro.is-dense.size-a4 .preview-menu-section h3{margin-bottom:1.68mm;font-size:16.66pt}
  .style-bistro.is-dense.size-a4 .preview-footer{margin-top:7.35mm;font-size:11.9pt}
}

/* Dense Bistro uses cqw against the preview's inner content box. These physical
   values reproduce that inner-box scale in print instead of using full page width. */
@media print{
  .style-bistro.is-dense.size-a5{padding:17mm 27mm}
  .style-bistro.is-dense.size-a5 #preview-sections{font-size:6.05pt}
  .style-bistro.is-dense.size-a5 .preview-restaurant{font-size:11.55pt}
  .style-bistro.is-dense.size-a5 .preview-title{margin:.95mm 0 2.85mm;font-size:5.23pt}
  .style-bistro.is-dense.size-a5 .preview-menu-section{margin-top:2.47mm}
  .style-bistro.is-dense.size-a5 .preview-menu-section h3{margin-bottom:.76mm;font-size:7.7pt}
  .style-bistro.is-dense.size-a5 .preview-footer{margin-top:3.32mm;font-size:5.5pt}
  .style-bistro.is-dense.size-a4{padding:24.1mm 38.3mm}
  .style-bistro.is-dense.size-a4 #preview-sections{font-size:8.58pt}
  .style-bistro.is-dense.size-a4 .preview-restaurant{font-size:16.38pt}
  .style-bistro.is-dense.size-a4 .preview-title{margin:1.35mm 0 4.04mm;font-size:7.42pt}
  .style-bistro.is-dense.size-a4 .preview-menu-section{margin-top:3.5mm}
  .style-bistro.is-dense.size-a4 .preview-menu-section h3{margin-bottom:1.08mm;font-size:10.92pt}
  .style-bistro.is-dense.size-a4 .preview-footer{margin-top:4.71mm;font-size:7.8pt}
}

/* Bistro paper colour is a stock preview only. PDF carries ink, not a simulated sheet. */
@media print{.style-bistro{background:#fff!important;border-color:#fff!important}}

/* Heavier framing: the rules are part of the design, not hairlines. */
.style-modern header{border-bottom-width:.65cqw}
.style-modern #preview-sections{border-left-width:.65cqw}
.style-modern .preview-menu-section{border-right-width:.65cqw;border-bottom-width:.65cqw}
.style-modern .preview-footer{border-top-width:.65cqw}
.style-poster::before{border-width:1.05cqw}
@media print{
  .style-bistro.size-a5{outline-width:1.5mm}
  .style-bistro.size-a4{outline-width:2.13mm}
  .style-modern.size-a5 header,.style-modern.size-a5 #preview-sections,.style-modern.size-a5 .preview-menu-section,.style-modern.size-a5 .preview-footer{border-width:0}
  .style-modern.size-a5 header{border-bottom:1mm solid currentColor}
  .style-modern.size-a5 #preview-sections{border-left:1mm solid currentColor}
  .style-modern.size-a5 .preview-menu-section{border-right:1mm solid currentColor;border-bottom:1mm solid currentColor}
  .style-modern.size-a5 .preview-footer{border-top:1mm solid currentColor}
  .style-modern.size-a4 header{border-bottom-width:1.42mm}
  .style-modern.size-a4 #preview-sections{border-left-width:1.42mm}
  .style-modern.size-a4 .preview-menu-section{border-right-width:1.42mm;border-bottom-width:1.42mm}
  .style-modern.size-a4 .preview-footer{border-top-width:1.42mm}
  .style-poster.size-a5::before{border-width:1.6mm}
.style-poster.size-a4::before{border-width:2.27mm}
}

/* Hattori: alternating horizontal bento rows. Each section owns one full box. */
.style-hattori{position:relative;padding:0;font-family:"FF Sans",Arial,sans-serif;font-size:0;line-height:1.2}
.style-hattori::before{content:"";position:absolute;z-index:0;inset:3.2%;pointer-events:none;border:.72cqw solid currentColor;box-shadow:inset 0 0 0 .22cqw var(--menu-paper),inset 0 0 0 .42cqw currentColor}
.style-hattori header{position:absolute;z-index:1;top:6%;right:6%;left:6%;height:12%;padding:0 3cqw;display:grid;grid-template-columns:1fr auto auto;gap:2.4cqw;align-items:center;border:.65cqw solid currentColor;text-align:left}
.style-hattori .preview-restaurant{min-width:0;overflow:visible;font-size:4.05cqw;font-weight:700;line-height:1;letter-spacing:-.045em;text-transform:uppercase;white-space:nowrap}
.style-hattori .preview-title{margin:0;font-size:2cqw;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.style-hattori header::after{content:"服 部";font-size:2.6cqw;font-weight:700;letter-spacing:.12em}
.style-hattori #preview-sections{position:absolute;z-index:1;top:18%;right:6%;bottom:14%;left:6%;display:flex;flex-direction:column;overflow:hidden;border-left:.65cqw solid currentColor;border-right:.65cqw solid currentColor;font-size:1.9cqw}
.style-hattori .preview-menu-section{position:relative;min-width:0;min-height:0;flex:1;margin:0;padding:1.25cqw 2.4cqw 1.25cqw calc(32% + 2.4cqw);display:flex;flex-direction:column;justify-content:center;overflow:hidden;border-bottom:.65cqw solid currentColor}
.style-hattori .preview-menu-section h3{position:absolute;top:0;bottom:0;left:0;width:32%;min-width:0;margin:0;padding:1.6cqw;display:flex;align-items:center;justify-content:center;border-right:.65cqw solid currentColor;font-size:2.65cqw;font-weight:700;line-height:1.05;letter-spacing:.01em;text-align:center;text-transform:uppercase;overflow-wrap:normal;word-break:normal}
.style-hattori .preview-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.2cqw;margin:0;padding:.3cqw 0;line-height:1.15}
.style-hattori .preview-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-hattori .preview-item i{display:none}.style-hattori .preview-item b{font-weight:400}
.style-hattori .preview-menu-section:nth-child(even){padding-right:calc(32% + 2.4cqw);padding-left:2.4cqw}.style-hattori .preview-menu-section:nth-child(even) h3{right:0;left:auto;border-right:0;border-left:.65cqw solid currentColor}
.style-hattori .preview-footer{position:absolute;z-index:1;right:6%;bottom:6%;left:6%;height:8%;margin:0;padding:0 2.5cqw;display:flex;align-items:center;justify-content:center;border:.65cqw solid currentColor;font-size:1.6cqw;font-weight:700;letter-spacing:.1em;text-align:center;text-transform:uppercase}
.style-hattori .preview-footer::before{content:"HATTORI / ";font-weight:700}
.style-hattori.is-dense #preview-sections{font-size:1.52cqw}.style-hattori.is-dense .preview-menu-section{padding-top:.7cqw;padding-bottom:.7cqw}.style-hattori.is-dense .preview-menu-section h3{padding:1.2cqw;font-size:2.25cqw}.style-hattori.is-dense .preview-item{padding:.12cqw 0}

@media print{
  .style-hattori.size-a5::before{border-width:1.07mm;box-shadow:inset 0 0 0 .33mm var(--menu-paper),inset 0 0 0 .62mm currentColor}
  .style-hattori.size-a5 header,.style-hattori.size-a5 #preview-sections,.style-hattori.size-a5 .preview-menu-section,.style-hattori.size-a5 .preview-menu-section h3,.style-hattori.size-a5 .preview-footer{border-width:.96mm}
  .style-hattori.size-a5 header{padding:0 4.44mm;gap:3.55mm}.style-hattori.size-a5 .preview-restaurant{font-size:17pt}.style-hattori.size-a5 .preview-title{font-size:8.39pt}.style-hattori.size-a5 header::after{font-size:10.91pt}
  .style-hattori.size-a5 #preview-sections{font-size:7.97pt}.style-hattori.size-a5 .preview-menu-section{padding:1.85mm 3.55mm 1.85mm calc(32% + 3.55mm)}.style-hattori.size-a5 .preview-menu-section:nth-child(even){padding-right:calc(32% + 3.55mm);padding-left:3.55mm}.style-hattori.size-a5 .preview-menu-section h3{padding:2.37mm;font-size:11.12pt}.style-hattori.size-a5 .preview-item{gap:1.78mm;margin:0;padding:.44mm 0}.style-hattori.size-a5 .preview-footer{padding:0 3.7mm;font-size:6.71pt}
  .style-hattori.size-a4::before{border-width:1.51mm;box-shadow:inset 0 0 0 .46mm var(--menu-paper),inset 0 0 0 .88mm currentColor}
  .style-hattori.size-a4 header,.style-hattori.size-a4 #preview-sections,.style-hattori.size-a4 .preview-menu-section,.style-hattori.size-a4 .preview-menu-section h3,.style-hattori.size-a4 .preview-footer{border-width:1.36mm}
  .style-hattori.size-a4 header{padding:0 6.3mm;gap:5.04mm}.style-hattori.size-a4 .preview-restaurant{font-size:24.1pt}.style-hattori.size-a4 .preview-title{font-size:11.9pt}.style-hattori.size-a4 header::after{font-size:15.47pt}
  .style-hattori.size-a4 #preview-sections{font-size:11.3pt}.style-hattori.size-a4 .preview-menu-section{padding:2.63mm 5.04mm 2.63mm calc(32% + 5.04mm)}.style-hattori.size-a4 .preview-menu-section:nth-child(even){padding-right:calc(32% + 5.04mm);padding-left:5.04mm}.style-hattori.size-a4 .preview-menu-section h3{padding:3.36mm;font-size:15.76pt}.style-hattori.size-a4 .preview-item{gap:2.52mm;margin:0;padding:.63mm 0}.style-hattori.size-a4 .preview-footer{padding:0 5.25mm;font-size:9.52pt}
  .style-hattori.is-dense.size-a5 #preview-sections{font-size:6.38pt}.style-hattori.is-dense.size-a5 .preview-menu-section h3{padding:1.78mm;font-size:9.44pt}.style-hattori.is-dense.size-a5 .preview-item{margin:0;padding:.18mm 0}
  .style-hattori.is-dense.size-a4 #preview-sections{font-size:9.05pt}.style-hattori.is-dense.size-a4 .preview-menu-section h3{padding:2.52mm;font-size:13.39pt}.style-hattori.is-dense.size-a4 .preview-item{margin:0;padding:.25mm 0}
}

/* Restaurant logo: one source of truth for preview and print. */
.logo-field{margin-top:24px;padding-top:18px;border-top:1px solid var(--ink)}
.logo-field>span{display:block;margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.07em}
.logo-upload{padding:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--ink);cursor:pointer}
.logo-upload b{font-size:10px;letter-spacing:.07em}.logo-upload small{font-size:8px;letter-spacing:.06em}.logo-upload input{position:absolute;width:1px;height:1px;opacity:0}
.logo-upload:hover,.logo-upload:has(input:focus-visible){color:#fff;background:var(--ink)}
.logo-controls{margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.logo-controls[hidden]{display:none}
.logo-controls label{font-size:8px;font-weight:900;letter-spacing:.06em}.logo-controls select{display:block;width:100%;height:39px;margin-top:6px;padding:0 9px;border:1px solid var(--ink);border-radius:0;background:var(--paper);font-size:10px;font-weight:900}
.logo-controls input[type=range]{display:block;width:100%;margin-top:11px;accent-color:var(--red)}.logo-controls output{display:block;margin-top:2px;font-size:8px}
.logo-controls button{height:39px;padding:0 10px;border:1px solid var(--ink);background:transparent;font-size:8px;font-weight:900}.logo-controls button:hover{color:#fff;background:var(--red);border-color:var(--red)}
.preview-logo{position:absolute;z-index:3;top:4.5%;max-width:30%;max-height:11%;object-fit:contain}.logo-left .preview-logo{left:5%}.logo-center .preview-logo{left:50%;transform:translateX(-50%)}.logo-right .preview-logo{right:5%}
.style-classic.has-logo #preview-sections{top:16%}.menu-paper.has-logo:not(.style-classic) header{padding-top:12%}.style-modern.has-logo header{min-height:23cqw;padding-top:12%}.style-bistro.has-logo header{padding-top:12%}.style-poster.has-logo header{padding-top:12%}
.style-hattori.has-logo .preview-logo{top:7.2%;max-width:12%;max-height:6.5%}.style-hattori.has-logo header{min-height:0;padding:0 16%}
#auth-create-account{color:#fff!important;background:var(--red)!important;border-color:var(--red)!important}
@media(max-width:600px){.logo-controls{grid-template-columns:1fr 1fr}.logo-controls button{grid-column:1/-1}}

/* Menu copies and QR signage are two separate print jobs. */
@media print{
  body.print-menu .builder,body.print-menu .preview-wrap,body.print-menu .paper-stage{border:0!important}
  body.print-menu .menu-paper{break-inside:avoid;break-after:avoid;page-break-after:avoid}
  body.print-menu .share-menu{display:none!important}
  body.print-qr .tool-header,body.print-qr .intro,body.print-qr .editor,body.print-qr .preview-head,body.print-qr .paper-stage,body.print-qr .actions,body.print-qr .publish-note,body.print-qr .site-footer,body.print-qr .share-menu>div:first-child{display:none!important}
  body.print-qr .builder,body.print-qr .preview-wrap{display:block!important;padding:0!important;background:#fff!important}
  body.print-qr .share-menu{min-height:100vh;margin:0!important;padding:0!important;display:grid!important;place-items:center;border:0!important;background:#fff!important}
  body.print-qr .qr-card{width:110mm;padding:12mm;border:0;box-shadow:none}
  body.print-qr .qr-card #menu-qr{width:76mm;height:76mm}
  body.print-qr .qr-card button,body.print-qr .menu-scan-count{display:none!important}
  body.print-qr .qr-card strong{margin-top:8mm;font-size:18pt}body.print-qr .qr-card small{font-size:11pt}
}

/* Logos get a style-owned slot in layouts with strong header geometry. */
.menu-paper.style-poster.has-logo .preview-logo{top:5.8%;right:auto;left:50%;max-width:22%;max-height:5.8%;transform:translateX(-50%)}
.menu-paper.style-poster.has-logo header{padding-top:8cqw}
.menu-paper.style-hattori.has-logo .preview-logo{top:9%;right:8%;left:auto;max-width:11%;max-height:4%;transform:none}
.menu-paper.style-hattori.has-logo header{padding:0 14% 0 3cqw;grid-template-columns:1fr auto}
.menu-paper.style-hattori.has-logo header::after{display:none}

/* Compact app shell and viewport-safe dialogs. */
:root{--pad:clamp(16px,1.8vw,30px)}
.tool-header{height:80px;padding:14px var(--pad)}
.tool-header .brand{width:clamp(138px,12vw,185px)}
.intro{padding:clamp(34px,4.5vw,70px) var(--pad)}
.kicker{margin-bottom:clamp(24px,3vw,44px)}
.intro h1{font-size:clamp(58px,8.4vw,136px);line-height:.76}
.intro-grid{grid-template-columns:1.3fr .7fr;gap:32px}
.intro-grid>p{font-size:clamp(16px,1.3vw,22px)}
.builder{grid-template-columns:minmax(360px,38vw) 1fr}
.editor-head,.preview-head{padding:18px var(--pad)}
summary{padding:14px var(--pad)}
.panel{padding-right:var(--pad);padding-bottom:22px;padding-left:var(--pad)}
.paper-stage{padding:clamp(22px,3.2vw,52px)}

.auth-modal{padding:clamp(8px,2vw,20px);overflow-y:auto;overscroll-behavior:contain}
.auth-card{width:min(560px,100%);max-height:calc(100vh - clamp(16px,4vw,40px));max-height:calc(100dvh - clamp(16px,4vw,40px));padding:clamp(24px,3.2vw,46px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.offer-card{width:min(680px,100%);max-height:calc(100vh - clamp(16px,4vw,40px));max-height:calc(100dvh - clamp(16px,4vw,40px))}
.auth-card h2{font-size:clamp(34px,4.7vw,62px)}
.offer-card h2{font-size:clamp(38px,5.5vw,68px)}

@media(max-height:820px) and (min-width:601px){
  .auth-modal{place-items:start center;padding:10px}
  .auth-card{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:24px 32px}
  .auth-card .kicker{margin-bottom:14px}
  .auth-card h2,.offer-card h2{font-size:clamp(32px,5.5vh,48px);line-height:.86}
  .auth-card>p:not(.kicker){margin:12px 0;font-size:14px}
  .auth-card form{gap:8px;margin-top:14px}
  .auth-card input{margin-top:5px;padding:10px}
  .auth-card form button,.offer-primary,.offer-secondary{padding:11px}
  .offer-value{margin-top:14px!important;padding:11px}
  .offer-price{margin:14px 0 10px;padding:11px 0}
  .offer-price strong{font-size:64px}
  .offer-choices{margin:14px 0}
  .offer-choices div{padding:11px}
  .offer-card textarea{min-height:58px;padding:10px}
  #auth-message,#signup-message{margin-top:8px}
}

@media(max-width:900px){
  .tool-header{height:70px}
  .intro{padding:34px var(--pad)}
  .intro h1{font-size:clamp(56px,14vw,104px)}
  .intro-grid{gap:22px}
}

@media(max-width:600px){
  .auth-modal{place-items:start center;padding:8px}
  .auth-card,.offer-card{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:24px 18px;box-shadow:4px 4px 0 var(--red)}
  .auth-card .kicker{margin-bottom:18px;padding-right:32px}
  .auth-card h2,.offer-card h2{font-size:clamp(32px,10.5vw,46px)}
  .auth-card form{gap:9px;margin-top:16px}
  .auth-card input,.offer-card textarea{padding:11px}
  .auth-card form button,.offer-primary,.offer-secondary{min-height:44px;padding:11px}
  .offer-value{margin-top:16px!important;padding:12px}
  .offer-price{margin:16px 0 10px;padding:12px 0}
  .offer-choices{margin:14px 0}
}

/* Optional item descriptions. Existing two-field menus remain unchanged. */
.item-description{grid-column:1/3;color:#555;font-size:11px!important}
.preview-item small{display:block;margin-top:.18em;font-size:.78em;font-weight:400;line-height:1.2;opacity:.78}

/* Kitchen & Bar: a compact A4-first one-pager for long food and drinks menus. */
.style-kitchenbar{position:relative;padding:5.4%;font-family:"FF Sans",Arial,sans-serif;font-size:0;line-height:1.16}
.style-kitchenbar::before{content:"";position:absolute;inset:2.7%;pointer-events:none;border:.42cqw solid currentColor}
.style-kitchenbar header{position:relative;padding:0 0 3.1cqw;display:grid;grid-template-columns:1fr auto;align-items:end;border-bottom:.42cqw solid currentColor;text-align:left}
.style-kitchenbar .preview-restaurant{max-width:78%;font-family:"FF Times",Georgia,serif;font-size:7.1cqw;font-weight:700;line-height:.76;letter-spacing:-.055em;text-wrap:balance}
.style-kitchenbar .preview-title{margin:0 0 .35cqw;font-size:1.45cqw;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
.style-kitchenbar #preview-sections{display:grid;grid-template-columns:.88fr 1.12fr;gap:4.4cqw;padding-top:3cqw;font-size:1.55cqw}
.style-kitchenbar .menu-column{min-width:0}
.style-kitchenbar .menu-column-right{padding-left:4.4cqw;border-left:.24cqw solid currentColor}
.style-kitchenbar .preview-menu-section{margin:0 0 2.45cqw}
.style-kitchenbar .preview-menu-section h3{margin:0 0 .75cqw;padding-bottom:.48cqw;border-bottom:.22cqw solid currentColor;font-size:1.72em;font-weight:700;line-height:.95;letter-spacing:-.035em;text-transform:uppercase}
.style-kitchenbar .preview-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.9cqw;padding:.29cqw 0;align-items:start}
.style-kitchenbar .preview-item span{min-width:0;font-weight:700}
.style-kitchenbar .preview-item small{margin-top:.1cqw;font-size:.76em;font-weight:400;line-height:1.18;opacity:.76}
.style-kitchenbar .preview-item i{display:none}
.style-kitchenbar .preview-item b{font-weight:700;white-space:nowrap}
.style-kitchenbar .preview-footer{position:absolute;right:5.4%;bottom:4.3%;left:5.4%;margin:0;padding-top:1.2cqw;border-top:.22cqw solid currentColor;font-size:1.18cqw;font-weight:700;letter-spacing:.04em;text-align:left;text-transform:uppercase}
.style-kitchenbar.is-dense #preview-sections{gap:4.1cqw;font-size:1.55cqw}
.style-kitchenbar.is-dense .menu-column-right{padding-left:4.1cqw}
.style-kitchenbar.is-dense .preview-menu-section{margin-bottom:2cqw}
.style-kitchenbar.is-dense .preview-item{padding:.24cqw 0}
.style-kitchenbar.has-logo .preview-logo{top:5.2%;right:5.5%;left:auto;max-width:16%;max-height:6.5%;transform:none}
.style-kitchenbar.has-logo header{padding-top:0;padding-right:18%}

@media print{
  .style-kitchenbar.size-a4{padding:11.34mm}
  .style-kitchenbar.size-a4::before{border-width:.88mm}
  .style-kitchenbar.size-a4 header{padding-bottom:6.51mm;border-bottom-width:.88mm}
  .style-kitchenbar.size-a4 .preview-restaurant{font-size:42.25pt}
  .style-kitchenbar.size-a4 .preview-title{margin-bottom:.74mm;font-size:8.63pt}
  .style-kitchenbar.size-a4 #preview-sections{gap:9.24mm;padding-top:6.3mm;font-size:9.23pt}
  .style-kitchenbar.size-a4 .menu-column-right{padding-left:9.24mm;border-left-width:.5mm}
  .style-kitchenbar.size-a4 .preview-menu-section{margin-bottom:5.15mm}
  .style-kitchenbar.size-a4 .preview-menu-section h3{margin-bottom:1.58mm;padding-bottom:1.01mm;border-bottom-width:.46mm}
  .style-kitchenbar.size-a4 .preview-item{gap:1.89mm;padding:.61mm 0}
  .style-kitchenbar.size-a4 .preview-item small{margin-top:.21mm}
  .style-kitchenbar.size-a4 .preview-footer{right:11.34mm;bottom:9.03mm;left:11.34mm;padding-top:2.52mm;border-top-width:.46mm;font-size:7.02pt}
  .style-kitchenbar.is-dense.size-a4 #preview-sections{gap:8.61mm;font-size:9.23pt}
  .style-kitchenbar.is-dense.size-a4 .menu-column-right{padding-left:8.61mm}
  .style-kitchenbar.is-dense.size-a4 .preview-menu-section{margin-bottom:4.2mm}
  .style-kitchenbar.is-dense.size-a4 .preview-item{padding:.5mm 0}
}

/* Editorial Wide: contemporary landscape menu for restaurants with one broad service menu. */
.menu-paper.style-editorialwide.size-a4{width:min(297mm,100%);aspect-ratio:297/210}
.menu-paper.style-editorialwide.size-a5{width:min(210mm,100%);aspect-ratio:210/148}
.style-editorialwide{position:relative;padding:2.8%;overflow:hidden;font-family:"FF Sans",Arial,sans-serif;font-size:0;line-height:1.18}
.style-editorialwide::before{content:"";position:absolute;z-index:0;inset:1.55%;pointer-events:none;border:.24cqw solid currentColor}
.style-editorialwide header{position:relative;z-index:1;min-height:11.7cqw;padding:2.35cqw 2.65cqw;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2cqw;align-items:end;color:var(--menu-paper);background:var(--menu-ink);text-align:left}
.print-ink-block{display:none}
.style-editorialwide .print-ink-block{display:block;position:absolute;z-index:0;inset:0;width:100%;height:100%;fill:var(--menu-ink);pointer-events:none}
.style-editorialwide header>.preview-restaurant,.style-editorialwide header>.preview-title{position:relative;z-index:1}
.style-editorialwide .preview-restaurant{max-width:72%;margin:0;font-family:"FF Times",Georgia,serif;font-size:5.25cqw;font-weight:700;line-height:.76;letter-spacing:-.055em;text-wrap:balance}
.style-editorialwide .preview-title{max-width:24cqw;margin:0 0 .28cqw;font-size:1.05cqw;font-weight:700;line-height:1.25;letter-spacing:.2em;text-align:right;text-transform:uppercase}
.style-editorialwide #preview-sections{position:relative;z-index:1;display:grid;grid-template-columns:.92fr 1.18fr .9fr;border-right:.24cqw solid currentColor;border-bottom:.24cqw solid currentColor;border-left:.24cqw solid currentColor;font-size:1.24cqw}
.style-editorialwide .menu-column{min-width:0;padding:2.1cqw 2.35cqw 2cqw}
.style-editorialwide .menu-column+.menu-column{border-left:.24cqw solid currentColor}
.style-editorialwide .preview-menu-section{margin:0 0 1.75cqw}
.style-editorialwide .preview-menu-section:last-child{margin-bottom:0}
.style-editorialwide .preview-menu-section h3{margin:0 0 1.05cqw;padding-bottom:.62cqw;border-bottom:.42cqw solid currentColor;font-family:"FF Times",Georgia,serif;font-size:2.1cqw;font-weight:700;line-height:.9;letter-spacing:-.035em;text-transform:none}
.style-editorialwide .preview-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.9cqw;padding:.43cqw 0;align-items:start}
.style-editorialwide .preview-item span{min-width:0;font-weight:700;line-height:1.1;text-transform:uppercase}
.style-editorialwide .preview-item small{margin-top:.25cqw;font-size:.76em;font-weight:400;line-height:1.26;text-transform:none;opacity:.82}
.style-editorialwide .preview-item i{display:none}
.style-editorialwide .preview-item b{font-weight:700;white-space:nowrap}
.style-editorialwide .preview-footer{position:absolute;z-index:2;right:4.3%;bottom:2.05%;left:4.3%;margin:0;font-size:.82cqw;font-weight:700;letter-spacing:.1em;text-align:center;text-transform:uppercase}
.style-editorialwide.has-logo .preview-logo{top:5.15%;right:5.25%;left:auto;max-width:13%;max-height:6%;filter:grayscale(1);transform:none}
.style-editorialwide.has-logo header{padding-right:17%}

@media(max-width:900px){.paper-stage .style-editorialwide{width:min(297mm,96vw)}}

@media print{
  .menu-paper.style-editorialwide.size-a4{width:297mm;height:210mm;padding:8.316mm}
  .menu-paper.style-editorialwide.size-a5{width:210mm;height:148mm;padding:5.88mm}
  .style-editorialwide header{color:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* Screen cqw resolves against the paper's inner width (94.4% after padding).
     These physical values use that same inner scale so PDF and preview match. */
  .style-editorialwide.size-a4::before{border-width:.673mm}
  .style-editorialwide.size-a4 header{min-height:32.803mm;padding:6.589mm 7.43mm;gap:5.607mm}
  .style-editorialwide.size-a4 .preview-restaurant{font-size:41.73pt}
  .style-editorialwide.size-a4 .preview-title{max-width:67.288mm;margin-bottom:.785mm;font-size:8.35pt}
  .style-editorialwide.size-a4 #preview-sections{border-width:.673mm;font-size:9.856pt}
  .style-editorialwide.size-a4 .menu-column{padding:5.888mm 6.589mm 5.607mm}
  .style-editorialwide.size-a4 .menu-column+.menu-column{border-left-width:.673mm}
  .style-editorialwide.size-a4 .preview-menu-section{margin-bottom:4.906mm}
  .style-editorialwide.size-a4 .preview-menu-section:last-child{margin-bottom:0}
  .style-editorialwide.size-a4 .preview-menu-section h3{margin-bottom:2.944mm;padding-bottom:1.738mm;border-bottom-width:1.178mm;font-size:16.693pt}
  .style-editorialwide.size-a4 .preview-item{gap:2.523mm;padding:1.206mm 0}
  .style-editorialwide.size-a4 .preview-item small{margin-top:.701mm}
  .style-editorialwide.size-a4 .preview-footer{font-size:6.52pt}
  .style-editorialwide.size-a5::before{border-width:.476mm}
  .style-editorialwide.size-a5 header{min-height:23.195mm;padding:4.659mm 5.253mm;gap:3.965mm}
  .style-editorialwide.size-a5 .preview-restaurant{font-size:29.5pt}
  .style-editorialwide.size-a5 .preview-title{max-width:47.578mm;margin-bottom:.555mm;font-size:5.9pt}
  .style-editorialwide.size-a5 #preview-sections{border-width:.476mm;font-size:6.968pt}
  .style-editorialwide.size-a5 .menu-column{padding:4.163mm 4.659mm 3.965mm}
  .style-editorialwide.size-a5 .menu-column+.menu-column{border-left-width:.476mm}
  .style-editorialwide.size-a5 .preview-menu-section{margin-bottom:3.469mm}
  .style-editorialwide.size-a5 .preview-menu-section:last-child{margin-bottom:0}
  .style-editorialwide.size-a5 .preview-menu-section h3{margin-bottom:2.082mm;padding-bottom:1.229mm;border-bottom-width:.833mm;font-size:11.8pt}
  .style-editorialwide.size-a5 .preview-item{gap:1.784mm;padding:.852mm 0}
  .style-editorialwide.size-a5 .preview-item small{margin-top:.496mm}
  .style-editorialwide.size-a5 .preview-footer{font-size:4.607pt}
}
