:root{font-family:system-ui,-apple-system,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;color:#333b35;background:#f8f6ef;font-synthesis:none;font-size:14px;--accent:#bd5b37;--dark:#304a40;--muted:#7e8279;--line:#e5e5dc}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #447c6b}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}input[type=text],input:not([type]),input[type=number],select{width:100%;border:1px solid #dedfd6;border-radius:8px;background:#fffefb;color:inherit;padding:11px 12px;min-height:43px}input:hover,select:hover{border-color:#b9c1b2}input[type=checkbox]{accent-color:#4a7865;width:16px;height:16px;cursor:pointer}h1,h2,p{margin:0}.app-header{max-width:1440px;margin:auto;padding:24px 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:42px;height:42px;background:#e7eddf;border-radius:12px;display:grid;place-items:center;color:#3b6752}.brand-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.brand strong{display:block;font-size:18px;letter-spacing:.04em}.brand div>span{display:block;font-size:8px;letter-spacing:.15em;margin-top:4px;color:#87907f}.by-miqvora{font-size:11px;color:#8b8c80;border-left:1px solid #d7dbd0;padding-left:14px;margin-left:3px}.header-actions{display:flex;gap:24px;align-items:center}.save-status{font-size:11px;color:#627c66}.text-button{border:0;background:none;color:#4b5e52;padding:8px 3px;font-size:12px;white-space:nowrap}.text-button:hover{text-decoration:underline}.help-icon{border:1px solid #7a8a7b;border-radius:50%;display:inline-grid;place-items:center;width:17px;height:17px;margin-right:4px}.small{font-size:11px}.muted{color:#8d8c83}main{max-width:1352px;padding:38px 36px 0;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;padding:0 6px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#a76b50;margin-bottom:10px}h1{font-size:34px;letter-spacing:.04em;font-weight:800;line-height:1.6}.intro p{font-size:12px;color:#7e8278;line-height:1.9;margin-top:9px}.intro-note{padding-right:45px;font-size:13px;line-height:1.9;letter-spacing:.08em;transform:rotate(5deg);color:#6e806a;position:relative}.intro-note>span{font-size:44px;position:absolute;left:-56px;top:-2px;color:#b7bf9f}.mobile-only{display:none}.steps{list-style:none;display:flex;gap:38px;padding:0 4px;margin:27px 0 28px;align-items:center;color:#909488}.steps li{font-size:11px;display:flex;align-items:center;gap:9px}.steps li:not(:last-child):after{content:'······';letter-spacing:3px;margin-left:24px;color:#c0c5b7}.steps b{font:500 11px sans-serif;border-radius:50%;background:#eceee5;width:23px;height:23px;display:grid;place-items:center}.steps .active{color:#425f4d}.steps .active b{background:#4a6955;color:white}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:30px;align-items:start}.editor{min-width:0}.panel{border:1px solid var(--line);border-radius:14px;background:#fffefb;padding:24px;margin-bottom:18px;box-shadow:0 3px 10px #394d2315}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:20px}.section-heading h2{font-size:14px;font-weight:700;display:flex;align-items:center;gap:10px}.section-no{color:#98a58b;font:400 12px sans-serif;letter-spacing:.08em}.badge{font-size:9px;color:#8d9287}.field-label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.shop-panel>input{margin-bottom:17px}.shop-panel>input:first-of-type{font-weight:700}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:1px}.swatches{display:flex;gap:9px}.swatch{width:26px;height:26px;border-radius:50%;border:3px solid #fff;outline:1px solid transparent;position:relative}.swatch.orange{background:#c86c48}.swatch.green{background:#5d8673}.swatch.berry{background:#af748b}.swatch[aria-pressed=true]{outline-color:#99a58d}.swatch[aria-pressed=true]:after{content:'✓';position:absolute;inset:0;text-align:center;color:white;font-size:12px}.unit-field{font-size:11px;font-weight:600;display:block}.unit-field select{font-size:12px;min-height:34px;margin-top:8px;padding:6px 25px 6px 9px;max-width:120px}.toggle-label{display:flex;align-items:center;gap:6px;font-size:11px;cursor:pointer;line-height:1.6}.toggle-label small{font-size:9px;color:#97988d;font-weight:400}.product-panel .section-heading{margin-bottom:9px}.count{color:#9a9d90;font-size:11px;font-weight:400}.section-description{font-size:10px;color:#8c9084;line-height:1.8;margin-bottom:18px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 12px}.product-card{min-width:0;position:relative}.product-card.disabled .photo-button{opacity:.4}.photo-button{width:100%;aspect-ratio:1.12;border:1px solid #ece7da;border-radius:10px;background:#f7f2e6;position:relative;display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden}.photo-button:hover{border-color:#bc9870}.photo-button img{width:100%;height:100%;object-fit:contain;display:block}.photo-button>span.photo-caption{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:8px;color:#8d7765;opacity:.8}.photo-button.has-photo{background:#f9f9f5;padding:5px}.photo-button.has-photo .photo-caption{background:#fffdf0df;border-radius:12px;left:18%;right:18%;padding:2px}.photo-placeholder{display:flex;flex-direction:column;align-items:center;gap:4px;color:#9caa8b;font-size:25px}.photo-placeholder small{font-size:9px;color:#8d9586}.remove-product{position:absolute;right:5px;top:5px;background:#fffdf1df;color:#938879;border:0;width:23px;height:23px;border-radius:50%;font-size:16px;display:grid;place-items:center;z-index:1}.remove-product:hover{background:#f0d7c5;color:#893a21}.product-card input[data-field=name]{font-size:11px;padding:8px 7px;min-height:34px;margin-top:8px;border-color:#e6e6dc;background:#fff}.price-row{display:flex;gap:5px;align-items:center;margin-top:6px}.price-row input{min-width:0;text-align:right;font-size:12px;padding:6px 7px;min-height:32px;background:#fff}.price-unit{font-size:9px;color:#7d8575;flex-shrink:0}.enabled-label{font-size:9px;color:#8d9485;display:flex;align-items:center;gap:3px;margin-top:5px}.enabled-label input{width:12px;height:12px}.add-button{border:1px dashed #cbd2c1;color:#66805e;background:#fafbf5;width:100%;border-radius:8px;padding:11px 6px;font-size:11px;margin-top:17px}.add-button:hover{background:#eff4e7}.add-button>span{font-size:15px;margin-right:3px}.add-button small{color:#9aa18e;font-size:9px;margin-left:8px}.price-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid #eeeee6;padding-top:15px;margin-top:17px;font-size:9px;color:#8b9382}.pill-button{border:1px solid #e1e5d9;border-radius:20px;padding:6px 9px;background:#fffef9;font-size:9px;color:#68795c}.pill-button:hover{background:#f1f3e9}.project-tools{display:flex;justify-content:space-between;align-items:center;padding:0 3px}.project-tools>div>span{font-size:10px;color:#aaa}.storage-note{font-size:10px;color:#989a8f;line-height:1.9;padding:4px 4px 0}.preview-panel{position:sticky;top:18px;border:1px solid #e0e4d6;border-radius:14px;overflow:hidden;background:#fffefb;min-width:0;box-shadow:0 7px 28px #3e45200b}.preview-top{display:flex;justify-content:space-between;align-items:center;padding:23px 25px 18px}.preview-top .eyebrow{font-size:8px;margin-bottom:5px;color:#93a083}.preview-top h2{font-size:19px;letter-spacing:.04em}.preview-top-right{font-size:9px;color:#919b86;display:flex;gap:6px;align-items:center}.live-dot{width:5px;height:5px;background:#92a67e;border-radius:50%}.preview-tabs{display:flex;padding:0 20px;gap:5px;border-bottom:1px solid #e3e8db}.preview-tabs button{flex:1;padding:13px 2px 12px;border:0;background:none;font-size:11px;color:#8c9381;border-bottom:2px solid transparent}.preview-tabs button[aria-selected=true]{color:#365c45;border-bottom:2px solid #506f52;font-weight:700}.preview-tabs button:hover{background:#f3f6ed}.preview-canvas{background:#e9ede2;background-image:radial-gradient(#c5cebd 1px,transparent 1px);background-size:14px 14px;padding:16px 30px 6px}.preview-caption{display:flex;justify-content:space-between;color:#87927d;font-size:9px;margin-bottom:13px}.preview-caption span:last-child{font-size:8px}#previewViewport{width:100%;max-width:430px;margin:0 auto;min-height:150px}#paperFrame{position:relative;width:100%;overflow:visible}#paperContent{transform-origin:0 0;position:absolute;top:0;left:0;filter:drop-shadow(0 4px 10px #40502a22)}.page-controls{display:flex;align-items:center;justify-content:center;gap:18px;color:#89967b;margin:11px 0 4px;font-size:10px}.page-controls button{background:none;border:0;color:#718665;width:30px;height:27px;font-size:16px}.print-bar{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px}.print-bar p strong{display:block;font-size:11px;font-weight:600;color:#526448}.print-bar p span{display:block;font-size:9px;color:#99a18e;margin-top:5px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:#bd5d37;color:#fff9ed;border-radius:9px;padding:13px 19px;font-weight:600;font-size:12px;box-shadow:0 3px 0 #a54d2c18}.primary-button:hover{background:#a74c2b}.primary-button svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.5}.preview-note{font-size:8px;color:#9b9d90;text-align:center;padding:0 10px 16px}footer{display:flex;align-items:center;justify-content:center;gap:20px;margin:38px 0 0;padding:23px 10px;border-top:1px solid #e4e7da;color:#a0a58f;font-size:9px;letter-spacing:.04em}.footer-brand{font:italic 17px Georgia,serif;color:#62735a}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#344e3c;color:white;padding:12px 22px;border-radius:10px;box-shadow:0 5px 20px #0002;max-width:90vw;font-size:12px;transition:opacity .2s,transform .2s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d9dfcf;border-radius:17px;box-shadow:0 20px 90px #233b2740;padding:27px;max-width:500px;width:calc(100% - 32px);background:#fffef8;color:#3d4e3b}dialog::backdrop{background:#203b3555;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.dialog-header h2{font-size:17px}.close-dialog{border:0;background:#edf0e6;border-radius:50%;font-size:22px;color:#697c5e;width:29px;height:29px}.dialog-header+p{font-size:12px;line-height:1.9;color:#849179}.print-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.print-choice{padding:13px;border:1px solid #dfe5d6;border-radius:8px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}.print-choice small{margin-left:auto;color:#929c84}.print-help{font-size:10px;line-height:1.9;color:#89947d;margin:14px 0}.full-width{width:100%;margin-top:7px}.help-steps{padding-left:24px;margin:20px 0;display:grid;gap:18px}.help-steps li::marker{color:#bb6945;font-weight:800}.help-steps strong{font-size:13px}.help-steps p{font-size:12px;line-height:1.9;color:#808e76;margin-top:6px}.help-tip{font-size:11px;line-height:1.9;background:#f1f3e9;border-radius:8px;padding:14px;color:#77856b}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.secondary-button{border:1px solid #d8dece;background:#fffdf8;color:#617355;padding:11px 17px;border-radius:8px;font-size:12px}#printRoot{display:none}
/* Paper layouts use millimetres on screen and in print. */
.sheet{--paper-ink:#9d4126;--paper-main:#ca633c;--paper-soft:#fcf0df;width:190mm;height:277mm;background:#fffef9;color:var(--paper-ink);padding:10mm 10mm 7mm;position:relative;overflow:hidden;font-size:3.4mm;line-height:1.6;print-color-adjust:exact;-webkit-print-color-adjust:exact;box-sizing:border-box}.sheet *{box-sizing:border-box}.sheet img{object-fit:contain;display:block}.sheet.monochrome{--paper-ink:#222!important;--paper-main:#444!important;--paper-soft:#fff!important;background:#fff}.sheet.monochrome img{filter:grayscale(1)}.awning{display:flex;height:12mm;margin:-10mm -10mm 8mm;overflow:hidden}.awning i{width:10%;height:100%;background:var(--paper-main);border-radius:0 0 4mm 4mm}.awning i:nth-child(even){background:var(--paper-soft);border-bottom:1px solid #d7c9b550}.monochrome .awning i:nth-child(odd){background:#fff;border:0.4mm solid #555}.sheet-kicker{text-align:center;letter-spacing:.3em;font-size:2.5mm;color:var(--paper-main);font-weight:600;margin:2mm 0}.sheet-title{text-align:center;font-size:8mm;line-height:1.5;font-weight:800;letter-spacing:.04em;overflow-wrap:anywhere;margin:3mm 0 2mm}.sheet-subtitle{text-align:center;font-size:3.2mm;min-height:5mm;overflow-wrap:anywhere}.menu-rule{border-bottom:1px solid var(--paper-main);opacity:.45;margin:7mm 0}.menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7mm 9mm}.menu-item{text-align:center;min-width:0}.menu-image{width:100%;height:39mm;background:var(--paper-soft);border-radius:3mm;display:flex;align-items:center;justify-content:center;padding:4mm}.menu-image img{width:100%;height:100%;object-fit:contain}.menu-name{font-size:4mm;font-weight:600;margin-top:2.5mm;overflow-wrap:anywhere;line-height:1.5}.menu-price{font-size:5mm;font-weight:700;margin-top:.7mm}.menu-price small{font-size:3mm;font-weight:500;margin-left:1mm}.sheet-footer{position:absolute;bottom:5mm;left:10mm;right:10mm;text-align:center;font-size:2.5mm;letter-spacing:.1em;opacity:.65}.sheet.menu .sheet-title.long{font-size:6mm}.sheet.menu .menu-name.long{font-size:3mm}.sheet.tags{padding:12mm 0 0;background:#fff}.tag-grid{display:grid;grid-template-columns:90mm 90mm;gap:6mm 10mm}.tag{height:55mm;width:90mm;border:0.3mm dashed #bbb6a8;border-radius:0;padding:4mm;display:grid;grid-template-columns:30mm 1fr;gap:3mm;align-items:center;position:relative}.tag-photo{height:32mm;width:30mm;display:flex;align-items:center;justify-content:center;background:var(--paper-soft);border-radius:3mm;padding:2mm}.tag-photo img{width:100%;height:100%;object-fit:contain}.tag-text{min-width:0}.tag-name{font-size:4.5mm;font-weight:700;overflow-wrap:anywhere;line-height:1.5}.tag-name.long{font-size:3.5mm}.tag-price{font-weight:800;font-size:8mm;line-height:1.3;margin-top:2mm}.tag-price small{font-size:3mm;margin-left:1mm;white-space:nowrap}.tag-shop{position:absolute;bottom:2mm;left:4mm;right:4mm;text-align:center;font-size:2mm;overflow-wrap:anywhere}.cut-label{text-align:center;color:#aaa;font-size:2.5mm;position:absolute;bottom:12mm;left:0;right:0}.sheet.sign{padding:10mm}.sign-inner{border:0.7mm solid var(--paper-main);height:245mm;position:relative;text-align:center;padding:0 10mm;overflow:hidden}.sign-inner .awning{margin:0 -10mm 13mm}.sign-welcome{font-size:4mm;letter-spacing:.2em}.sign-inner .sheet-title{font-size:14mm;line-height:1.6;margin:15mm 0 5mm;overflow-wrap:anywhere}.sign-inner .sheet-title.long{font-size:10mm}.sign-inner .sheet-subtitle{font-size:4mm}.sign-products{display:flex;justify-content:center;gap:3mm;margin:12mm 0 10mm}.sign-products img{width:40mm;height:43mm;object-fit:contain}.sign-open{display:inline-block;border:0.4mm solid var(--paper-main);border-radius:2mm;padding:4mm 13mm;background:var(--paper-soft);font-size:7mm;font-weight:700;letter-spacing:.12em}.sign-small{margin-top:7mm;font-size:3mm;letter-spacing:.15em}.sheet.orders{background:#fff;padding:10mm 0}.order-grid{display:grid;grid-template-columns:90mm 90mm;gap:10mm}.order-card{height:118mm;border:0.3mm dashed #bbb;padding:5mm;color:var(--paper-ink);overflow:hidden}.order-head{display:flex;justify-content:space-between;align-items:center;font-size:5mm;font-weight:700;border-bottom:.5mm solid var(--paper-main);padding-bottom:3mm}.order-head span{font-size:3mm;border:1px solid var(--paper-main);border-radius:50%;height:7mm;width:7mm;display:grid;place-items:center}.order-shop{font-size:2.5mm;overflow-wrap:anywhere;margin:2mm 0 3mm;min-height:7mm}.order-line{display:flex;align-items:center;gap:3mm;padding:2mm 0;border-bottom:1px dotted #ddd;min-height:18mm}.order-line img{width:14mm;height:14mm;object-fit:contain}.order-line div{min-width:0;flex:1;font-size:3.2mm;overflow-wrap:anywhere}.order-line>b{white-space:nowrap;font-size:3.2mm}.order-check{width:3.5mm;height:3.5mm;border:0.3mm solid var(--paper-main);display:inline-block}.order-total{display:flex;justify-content:space-between;margin-top:5mm;font-size:4mm;font-weight:700}.order-answer{border-bottom:.3mm solid var(--paper-main);min-width:28mm;text-align:right}.order-bottom{font-size:2.2mm;text-align:center;margin-top:4mm}.empty-preview{padding:60px 20px;text-align:center;background:#fffef8;border-radius:8px;color:#829074;font-size:12px;line-height:2}.empty-photo{font-size:15mm;color:var(--paper-main);opacity:.4}.menu-last-message{margin-top:12mm;padding:10mm;border:1px dashed var(--paper-main);border-radius:5mm;text-align:center;opacity:.7}
/* Full assortment on every order card, with writable quantities. */
.order-card{height:123mm;display:flex;flex-direction:column}
.order-head{font-size:4.4mm;padding-bottom:2mm}
.order-shop{min-height:4mm;margin:2mm 0 3mm}
.order-lines{display:grid;grid-template-columns:1fr}
.order-line{gap:2mm;padding:.9mm 0;min-height:11.5mm}
.order-line img{width:9mm;height:9mm;flex-shrink:0}
.order-line>.empty-photo{width:9mm;height:9mm;font-size:8mm;line-height:1;flex-shrink:0}
.order-line .order-name{font-size:3mm;line-height:1.5}
.order-check{width:3mm;height:3mm;flex-shrink:0}
.order-quantity{display:inline-flex;align-items:flex-end;gap:1mm;flex-shrink:0;font-size:3.2mm;line-height:1.5}
.quantity-space{display:inline-block;width:11mm;height:7mm;border-bottom:.3mm solid var(--paper-main)}
.order-total{margin-top:auto;padding-top:3mm;font-size:3.6mm}
.order-bottom{margin-top:2mm;font-size:2.1mm}
.order-grid-wide{grid-template-columns:190mm}
.order-grid-wide .order-lines{grid-template-columns:1fr 1fr;column-gap:8mm}
/* Optional calculation columns keep handwriting spaces at a comfortable size. */
[hidden]{display:none!important}
.order-options{padding:13px 22px;background:#f6f7ef;border-bottom:1px solid #e3e8db}
.order-options label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;cursor:pointer}
.order-options label small{font-size:10px;font-weight:400;color:#8b967f;margin-left:3px}
.order-options p{font-size:10px;color:#8b967f;margin:6px 0 0 24px;line-height:1.7}
.order-grid-subtotals .order-card{padding:4mm}
.order-grid-subtotals .order-lines{grid-template-columns:1fr;column-gap:0}
.order-grid-subtotals .order-line,.order-column-head{display:grid;grid-template-columns:3mm 10mm minmax(0,1fr) 27mm 23mm 36mm;column-gap:2mm}
.order-grid-subtotals .order-line{min-height:12mm}
.order-grid-subtotals .order-line .order-name{font-size:3.4mm}
.order-column-head{font-size:2.7mm;line-height:1.6;padding-bottom:1mm;border-bottom:.3mm solid var(--paper-main);margin-bottom:.5mm}
.order-column-head span:first-child{grid-column:1 / 4}
.order-column-head span:not(:first-child){text-align:center}
.order-unit-price{font-size:3.6mm;font-weight:600;white-space:nowrap;text-align:center}
.order-unit-price small{font-size:2.4mm;font-weight:400;margin-left:1mm}
.order-grid-subtotals .order-quantity{justify-content:center}
.order-grid-subtotals .quantity-space{width:15mm}
.order-subtotal{display:flex;align-items:flex-end;gap:1mm;justify-content:flex-end;white-space:nowrap}
.order-subtotal small{font-size:2.4mm}
.subtotal-space{display:block;flex:1;min-width:20mm;height:7mm;border-bottom:.3mm solid var(--paper-main)}
.order-grid-tall .order-card{height:256mm;padding:7mm}
.order-grid-tall .order-line{min-height:15mm}
.order-grid-tall .order-line img{width:10mm;height:10mm}
.order-grid-tall .order-head{font-size:5mm}
.order-grid-tall .order-shop{font-size:3mm;margin:3mm 0 4mm}
.order-grid-subtotals .order-answer{min-width:40mm}
@media(min-width:1450px){main{padding-top:48px}.preview-canvas{padding-left:45px;padding-right:45px}}
@media(max-width:1050px){.app-header{padding:20px 25px}main{padding:26px 22px 0}.workspace{gap:20px;grid-template-columns:1fr 1fr}.panel{padding:18px}.by-miqvora{display:none}.intro-note{padding-right:10px}.settings-row{gap:8px}.badge{display:none}.product-grid{gap:13px 8px}.preview-canvas{padding:15px 20px 5px}.print-bar{padding:18px}.print-bar p strong{font-size:10px}.print-bar p span{font-size:8px}.primary-button{padding:12px 14px}.section-heading h2{font-size:13px}.small{font-size:9px}.section-no{display:none}.steps{gap:16px}.steps li:not(:last-child):after{margin-left:10px}}
@media(max-width:760px){.app-header{padding:17px 18px}.brand strong{font-size:16px}.brand div>span{font-size:6px}.brand-icon{height:36px;width:36px}.header-actions{gap:7px}.save-status{display:none}.text-button{font-size:11px}main{padding:26px 16px 0}.intro{padding:0 3px}.intro h1{font-size:27px;line-height:1.65}.intro p{font-size:11px;max-width:300px;margin-top:8px}.mobile-only{display:block}.intro-note{display:none}.eyebrow{font-size:9px}.steps{gap:5px;margin:20px 0}.steps li{font-size:8px;gap:5px;flex:1}.steps b{height:20px;width:20px;font-size:9px;flex-shrink:0}.steps li:not(:last-child):after{content:'›';margin-left:3px;letter-spacing:0}.workspace{grid-template-columns:1fr;gap:22px}.panel{padding:18px;border-radius:12px}.section-heading h2{font-size:14px}.section-no{display:inline}.small{font-size:10px}.badge{display:inline;font-size:8px}.settings-row{gap:10px}.product-grid{gap:15px 11px}.photo-button{aspect-ratio:1}.photo-button>span.photo-caption{font-size:7px}.product-card input[data-field=name]{font-size:10px}.price-row input{font-size:11px}.price-unit{font-size:8px}.preview-panel{position:static}.preview-top{padding:20px}.preview-canvas{padding:15px 24px 5px}.print-bar{padding:18px}.print-bar p strong{font-size:11px}.print-bar p span{font-size:9px}.print-bar .primary-button{padding:13px 17px}.storage-note{font-size:9px}footer{gap:12px;font-size:8px;margin-top:26px}.product-panel .section-heading{flex-wrap:wrap}.intro .eyebrow{margin-bottom:6px}.print-help{font-size:10px}.unit-field select{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@page{size:A4 portrait;margin:10mm}
@media print{html,body{margin:0!important;padding:0!important;background:#fff!important;width:auto!important}.app-shell,dialog,.toast{display:none!important}#printRoot{display:block!important}.sheet{break-after:page;page-break-after:always;margin:0!important;width:190mm!important;height:276mm!important;max-height:276mm;box-shadow:none!important}.sheet:last-child{break-after:auto;page-break-after:auto}}

.privacy-actions{margin-top:10px;text-align:right}.privacy-note{color:#68785c}.noscript-note{margin:20px;padding:16px;border:1px solid #c9d2bd;border-radius:10px;background:#fffef8;}
/* Shop collection, play register and mission cards. */
.shop-shelf{display:flex;align-items:end;gap:24px;padding:18px 22px;background:#fffef9;border:1px solid #dde3d3;border-radius:13px;margin:24px 0 14px}.shop-selector{flex:1;max-width:430px;min-width:0}.shop-selector label{display:block;font-size:11px;font-weight:600;color:#6f805f;margin-bottom:8px}.shop-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.shop-actions .secondary-button{font-size:12px}.storage-warning{padding:14px 18px;background:#fff0df;border:1px solid #d8ad80;border-radius:10px;font-size:12px;line-height:1.8;margin-bottom:14px;color:#75452b}.mode-tabs{display:flex;gap:5px;background:#e9eee1;border-radius:12px;padding:5px;max-width:410px;margin:22px 0}.mode-tabs button{flex:1;border:0;border-radius:8px;background:none;color:#7f8b72;padding:12px 16px;font-size:13px;font-weight:600}.mode-tabs button[aria-selected=true]{background:#fffef9;color:#3c6049;box-shadow:0 2px 8px #294b2110}.project-tools{flex-wrap:wrap;gap:8px}.project-tools>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.preview-tabs{padding-left:12px;padding-right:12px;gap:0}.preview-tabs button{font-size:10px;white-space:nowrap}.mission-options{padding:16px 20px;background:#f5f7ed;border-bottom:1px solid #dfe6d4}.mission-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mission-settings label{font-size:10px;color:#657557;line-height:1.7}.mission-settings select,.mission-settings input{display:block;margin-top:4px;font-size:12px;min-height:38px;padding:8px}.mission-toolbar{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.mission-toolbar p{flex:1;min-width:160px;font-size:10px;color:#7c886d;line-height:1.8}.mission-toolbar button{white-space:nowrap;font-size:10px}.play-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 24px;gap:16px}.play-heading h2{font-size:25px;overflow-wrap:anywhere;color:#355840}.play-heading p{font-size:12px;color:#879478;margin-top:8px}.register-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);gap:28px;align-items:start}.register-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.register-product{border:1px solid #dfe5d5;border-radius:14px;background:#fffef9;color:#38543f;padding:12px;display:flex;flex-direction:column;gap:7px;min-width:0;text-align:center;align-items:center}.register-product:hover{background:#f0f4e9;border-color:#aebf9d}.register-photo{width:100%;height:105px;background:#edf2e6;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:34px}.register-photo img{width:100%;height:100%;object-fit:contain;padding:10px}.register-product strong{font-size:13px;overflow-wrap:anywhere;line-height:1.6}.register-product>span:not(.register-photo){font-size:16px;font-weight:700}.register-product>span small{font-size:10px;font-weight:400;margin-left:3px}.register-product>small{font-size:10px;color:#8d987d;margin-top:auto}.register-cart{background:#fffef9;border:1px solid #dfe5d5;border-radius:15px;padding:24px;position:sticky;top:18px}.register-cart h3{font-size:15px;margin:0}.cart-lines{max-height:420px;overflow:auto}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:14px 0;border-bottom:1px solid #e6eadf}.cart-line>div:first-child strong{display:block;font-size:12px;overflow-wrap:anywhere}.cart-line>div:first-child small{display:block;color:#8b977e;font-size:10px;margin-top:6px}.cart-line-actions{display:flex;gap:6px;align-items:center}.cart-line-actions button{width:30px;height:34px;border:1px solid #dfe5d4;border-radius:7px;background:#f6f8ef;color:#526b41}.cart-line-actions b{font-size:12px;min-width:18px;text-align:center}.cart-line-actions .cart-remove{border:0;background:none;color:#a3a48f;width:22px}.cart-subtotal{grid-column:1/-1;text-align:right;font-size:12px;color:#6f815e}.register-total{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 0 14px;border-bottom:2px solid #d6dfca;margin-bottom:20px;color:#3c6346}.register-total>span{font-size:13px}.register-total strong{font-size:32px}.register-total small{font-size:12px}.received-row{display:flex;align-items:center;gap:8px}.received-row input{min-width:0;font-size:16px}.received-row>span{font-size:11px;white-space:nowrap}.received-row button{white-space:nowrap;padding:8px}.register-change{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0;color:#496640;font-size:12px}.register-change strong{text-align:right;font-size:20px;line-height:1.6}.register-change .shortfall{color:#ad542d}.register-note{font-size:10px;line-height:1.9;color:#91997f;margin-top:14px}.checkout-message{font-size:13px;line-height:1.9;color:#3c6c45;background:#eef4e5;border-radius:8px;margin-top:14px;padding:12px}.checkout-message:empty{display:none}.play-empty{grid-column:1/-1;padding:25px 12px;text-align:center;color:#8b997e;font-size:12px;line-height:1.8}
.sheet.missions{padding:9mm 0 7mm;background:#fffef9}.mission-grid{display:grid;grid-template-columns:92mm 92mm;gap:5mm 6mm}.mission-card{height:82mm;padding:4.5mm;border:.3mm dashed #b7bcae;display:flex;flex-direction:column;overflow:hidden}.mission-card-head{display:flex;justify-content:space-between;align-items:center;border-bottom:.4mm solid var(--paper-main);padding-bottom:2mm;gap:2mm}.mission-card-head strong{font-size:3.7mm}.mission-card-head>span{font-size:2.5mm;border:1px solid var(--paper-main);border-radius:50%;width:6mm;height:6mm;text-align:center;line-height:6mm;flex-shrink:0}.mission-shop{font-size:2.3mm;line-height:1.5;margin:1.5mm 0;overflow-wrap:anywhere}.mission-instruction{font-size:3.4mm;text-align:center;margin:1.3mm 0}.mission-products{display:grid;gap:2mm;margin:2mm 0}.mission-product{display:grid;grid-template-columns:17mm minmax(0,1fr) 12mm;gap:2mm;align-items:center;min-height:19mm}.mission-product img,.mission-product>.empty-photo{width:17mm;height:17mm;object-fit:contain;font-size:12mm;text-align:center}.mission-product>span:not(.empty-photo){font-size:3mm;line-height:1.5;overflow-wrap:anywhere}.mission-product>b{font-size:6mm;white-space:nowrap;text-align:right}.mission-product>b small{font-size:3mm;margin-left:1mm}.mission-number{text-align:center;font-size:9mm;font-weight:800;line-height:1.4;margin:1mm 0}.mission-number small{font-size:3.5mm;font-weight:500;margin-left:1.5mm}.mission-examples{display:flex;justify-content:center;gap:4mm;margin:2mm 0}.mission-examples img,.mission-examples>.empty-photo{width:16mm;height:16mm;object-fit:contain;font-size:12mm}.mission-done{margin-top:auto;font-size:2.7mm;padding-top:1.5mm;border-top:1px dotted #b8c1ac;text-align:center}
@media(max-width:900px){.register-workspace{grid-template-columns:1fr;gap:20px}.register-cart{position:static}.register-photo{height:100px}.shop-shelf{gap:16px;flex-wrap:wrap}.shop-selector{max-width:none;flex-basis:100%}.shop-actions{gap:15px}.register-change strong{font-size:18px}}
@media(max-width:420px){.shop-shelf{padding:16px}.shop-actions .secondary-button{padding:10px;font-size:11px}.register-products{gap:9px}.register-product{padding:8px;border-radius:10px}.register-photo{height:78px}.register-product strong{font-size:11px}.register-product>span:not(.register-photo){font-size:14px}.register-cart{padding:18px}.mission-options{padding:12px}.mission-settings{gap:8px}.mode-tabs button{font-size:12px;padding:11px}.play-heading h2{font-size:21px}}
/* All photo editing uses local canvas; no remote image service. */
.photo-editor-dialog{max-width:570px;max-height:94vh;overflow:auto;padding:22px}.photo-editor-name{font-size:12px;color:#849176;margin-bottom:12px!important;overflow-wrap:anywhere}.photo-edit-stage{display:flex;justify-content:center;align-items:center;background:#e6ecdf;border:1px solid #ced8c2;border-radius:10px;padding:10px;min-height:140px;overflow:hidden}.photo-edit-stage canvas{display:block;width:auto;height:auto;max-width:100%;max-height:270px;box-shadow:0 2px 12px #29402120;cursor:grab;touch-action:none}.photo-edit-stage canvas:active{cursor:grabbing}.photo-edit-status{font-size:11px!important;color:#718563!important;line-height:1.7!important;margin:10px 0!important}.photo-editor-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.photo-editor-controls label{font-size:12px;font-weight:600;color:#566e49}.photo-editor-controls select{margin-top:5px;min-height:36px;padding:7px;font-size:12px}.photo-editor-controls input[type=range]{display:block;width:100%;min-height:28px;margin:5px 0 0;padding:0;border:0;accent-color:#4a7865;background:transparent;cursor:pointer}.photo-editor-controls output{font-size:11px;font-weight:400;float:right;color:#8b9a7e}.photo-range-ends{display:flex;justify-content:space-between;font-size:9px;font-weight:400;color:#8b987c;margin-top:2px}.photo-edit-tools{grid-column:1/-1;display:flex;gap:10px}.photo-edit-tools button{font-size:10px}.photo-editor-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}.photo-editor-actions .close-dialog{width:auto;height:auto;border-radius:8px;font-size:12px;padding:11px 14px;background:#fffdf8;border:1px solid #d8dece}.photo-editor-actions .secondary-button{font-size:12px;padding:11px 14px}.photo-editor-actions button:first-child{margin-right:auto}.photo-editor-dialog .print-help{margin:12px 0}.photo-editor-dialog .dialog-header{margin-bottom:8px}
@media(max-width:480px){.photo-editor-dialog{padding:16px;max-height:95vh}.photo-edit-stage canvas{max-height:210px}.photo-editor-controls{gap:10px 14px}.photo-editor-actions{gap:7px}.photo-editor-actions .secondary-button,.photo-editor-actions .primary-button{font-size:11px;padding:10px 11px}.photo-editor-actions button:first-child{flex-basis:100%;margin:0}.photo-editor-dialog .dialog-header h2{font-size:16px}}

/* Every mission selection occupies one A4 sheet. Four cards match the
   90 x 123 mm order cards; eight cards use four compact rows. */
.sheet.missions-4{padding:10mm 0}
.missions-4 .mission-grid{grid-template-columns:90mm 90mm;gap:10mm}
.missions-4 .mission-card{height:123mm;padding:5mm}
.missions-4 .mission-card-head strong{font-size:4mm}
.missions-4 .mission-instruction{font-size:4mm;margin:3mm 0}
.missions-4 .mission-products{gap:4mm;margin:5mm 0}
.missions-4 .mission-product{grid-template-columns:23mm minmax(0,1fr) 12mm;min-height:26mm}
.missions-4 .mission-product img,.missions-4 .mission-product>.empty-photo{width:23mm;height:23mm}
.missions-4 .mission-product>span:not(.empty-photo){font-size:3.3mm}
.missions-4 .mission-number{font-size:13mm;margin:4mm 0}
.missions-4 .mission-examples img,.missions-4 .mission-examples>.empty-photo{width:21mm;height:21mm}
.missions-8 .mission-card{height:60mm;padding:3mm;line-height:1.3}
.missions-8 .mission-card>*{flex-shrink:0}
.missions-8 .mission-card-head{padding-bottom:1mm}
.missions-8 .mission-card-head strong{font-size:3.2mm}
.missions-8 .mission-card-head>span{width:5mm;height:5mm;line-height:5mm;font-size:2.3mm}
.missions-8 .mission-shop{font-size:2.2mm;line-height:1.3;margin:1mm 0}
.missions-8 .mission-instruction{font-size:3mm;margin:.8mm 0}
.missions-8 .mission-products{gap:1mm;margin:1mm 0}
.missions-8 .mission-product{grid-template-columns:12mm minmax(0,1fr) 10mm;min-height:12mm;gap:2mm}
.missions-8 .mission-product img,.missions-8 .mission-product>.empty-photo{width:12mm;height:12mm;font-size:9mm}
.missions-8 .mission-product>span:not(.empty-photo){font-size:2.6mm;line-height:1.3}
.missions-8 .mission-product>b{font-size:4.5mm}
.missions-8 .mission-product>b small{font-size:2.6mm}
.missions-8 .mission-number{font-size:7mm;line-height:1.2;margin:1mm 0}
.missions-8 .mission-number small{font-size:3mm}
.missions-8 .mission-examples{gap:3mm;margin:1mm 0}
.missions-8 .mission-examples img,.missions-8 .mission-examples>.empty-photo{width:11mm;height:11mm;font-size:9mm}
.missions-8 .mission-done{font-size:2.5mm;padding-top:1mm}
