:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.4;color:#1a1a1a;background:#e8e8ea}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.app{display:flex;min-height:100vh;align-items:stretch}.app__content{flex:1;display:flex;flex-direction:column;align-items:center;padding:1rem 1rem 1.5rem;min-width:0}.sidebar{width:320px;flex-shrink:0;background:#f4f4f6;border-right:1px solid #d6d6db;padding:1.25rem 1rem 2rem;overflow-y:auto}.sidebar__title{font-size:1.15rem;font-weight:700;margin:0 0 1.25rem}.sidebar__section{margin-bottom:1.5rem}.sidebar__heading{font-size:.95rem;font-weight:600;margin:0 0 .5rem}.sidebar__label{display:block;font-size:.8rem;font-weight:700;color:#444;margin-bottom:.25rem}.sidebar__preset-grid{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.sidebar__preset-card{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border:1.5px solid #e2e2e2;border-radius:12px;cursor:pointer;text-align:left;transition:all .2s ease;width:100%}.sidebar__preset-card:hover{border-color:#c8c8d0;box-shadow:0 4px 12px #0000000d}.sidebar__preset-card--active{border-color:#2563eb;background:#f8faff;box-shadow:0 4px 16px #2563eb1a}.sidebar__preset-info{flex:1}.sidebar__preset-name{margin:0 0 .4rem;font-size:1.05rem;font-weight:700;color:#111}.sidebar__preset-details{margin:0;padding:0;list-style:none;font-size:.85rem;color:#555;line-height:1.4}.sidebar__preset-preview{width:70px;height:70px;overflow:hidden;display:flex;align-items:center;justify-content:center;margin-left:1rem;flex-shrink:0}.sidebar__preset-preview img{max-width:90%;max-height:90%;object-fit:contain}.sidebar__meta{margin:.75rem 0 0;font-size:.85rem;color:#666;font-weight:500}.sidebar__warn{margin:0 0 .65rem;font-size:.82rem;color:#6a4a00;background:#fff6d9;padding:.45rem .55rem;border-radius:6px;border:1px solid #e8d088}.sidebar__help{margin:0 0 .65rem;font-size:.82rem;color:#444;background:#f8f9fa;padding:.65rem .75rem;border-radius:6px;border:1px solid #e2e2e2}.sidebar__help p{margin:0 0 .4rem;font-weight:500}.sidebar__help ul{margin:0;padding-left:1.2rem}.sidebar__help li{margin-bottom:.25rem}.sidebar__fieldset{display:flex;flex-direction:column;gap:.65rem}.sidebar__fieldset--disabled{opacity:.45;pointer-events:none}.sidebar__field{display:flex;flex-direction:column;gap:.2rem}.sidebar__input-wrap{display:flex;align-items:center;border:1px solid #c8c8d0;border-radius:8px;background:#fff;overflow:hidden}.sidebar__prefix{padding:.45rem .25rem .45rem .6rem;color:#555;font-size:.9rem}.sidebar__input{flex:1;border:none;padding:.45rem .6rem;font:inherit;min-width:0}.sidebar__input:focus{outline:none}.sidebar__file{font-size:.8rem}.sidebar__linklike{align-self:flex-start;margin-top:.25rem;padding:0;border:none;background:none;color:#2563eb;cursor:pointer;font-size:.8rem;text-decoration:underline}.sidebar__clear-btn{margin-top:.5rem;padding:.4rem .8rem;border:1px solid #c8c8d0;border-radius:6px;background:#fff;font:inherit;font-size:.85rem;cursor:pointer;color:#444}.sidebar__clear-btn:hover{background:#f5f5f5}.sheet-area{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;min-width:0}.sheet-scale{display:flex;justify-content:center;align-items:flex-start;width:100%}.sheet-a4{width:min(100%,297mm);min-height:210mm;background:#fff;box-shadow:0 6px 28px #0000001f;border-radius:2px}.sheet-preview{width:100%;min-height:100%;background:#fff;user-select:none;-webkit-user-select:none}.sheet-preview__grid{width:max-content;max-width:100%}.price-tag-cell{--lw: 68;--lh: 46;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:none;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}.price-tag-cell:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.price-tag-cell--selected,.price-tag-cell--row-selected,.price-tag-cell--multiple-selected{outline:3px solid #2563eb;outline-offset:-1px;border-radius:4px;box-shadow:0 0 0 4px #2563eb33}.price-tag-face{width:calc(var(--lw) * 1mm);height:calc(var(--lh) * 1mm);flex-shrink:0}.price-tag-cell--rot .price-tag-face{transform:rotate(-90deg)}.price-tag{width:100%;height:100%;border:.6mm solid #000;border-radius:2mm;background:#fff;display:flex;flex-direction:column;overflow:hidden;text-align:left}.price-tag--inner{font-family:Inter,system-ui,sans-serif;font-size:2.65mm}.price-tag__row{display:flex;align-items:center;justify-content:space-between;padding:1.2mm 1.85mm;gap:1.1mm;flex:0 0 auto}.price-tag__row--header{min-height:9mm;justify-content:center}.price-tag__row--mid,.price-tag__row--foot{flex:1 1 auto;min-height:0}.price-tag__rule{height:0;border-top:.6mm solid #000;flex-shrink:0}.price-tag__logo-img{max-height:8.5mm;max-width:18mm;object-fit:contain;-webkit-user-drag:none;pointer-events:none}.price-tag__logo-img--solo{max-height:9mm;max-width:100%;width:auto;height:auto;object-fit:contain;-webkit-user-drag:none;pointer-events:none}.price-tag__muted{font-size:4.45mm;font-weight:500}.price-tag__price{font-weight:500;white-space:nowrap}.price-tag__price--lg{font-size:5.75mm}.price-tag__price--sm{font-size:5.5mm;font-weight:700}.price-tag__cash-label{display:flex;flex-direction:column;font-size:4.45mm;line-height:1.15}.price-tag__line1{font-size:3.8mm}.price-tag__line2{font-weight:800;font-size:6mm}.price-tag__cash-prices{text-align:right;font-size:5mm;line-height:1.25}.price-tag__cash-prices strong{font-weight:800}.price-tag--vertical{width:100%;height:100%;border:.6mm solid #000;border-radius:4.5mm;background:#fff;display:flex;flex-direction:column;overflow:hidden;text-align:left;font-family:Inter,system-ui,sans-serif;box-sizing:border-box;color:#000}.price-tag-v__section{display:flex;flex-direction:column;padding:2mm}.price-tag-v__section--top{flex-direction:row;justify-content:space-between;align-items:center;height:14mm;flex-shrink:0;padding:1mm 2mm}.price-tag-v__logo{max-width:16mm;max-height:10mm;object-fit:contain;-webkit-user-drag:none;pointer-events:none}.price-tag-v__item-number{font-weight:800;font-size:5.5mm;line-height:1}.price-tag-v__rule{height:0;border-top:.6mm solid #000;width:100%;flex-shrink:0}.price-tag-v__section--mid{flex:1;justify-content:center;gap:2mm}.price-tag-v__section--bot{height:18mm;flex-shrink:0;justify-content:space-between;padding-bottom:4mm!important}.price-tag-v__title{text-align:center;font-size:3.5mm;font-weight:800;line-height:1;letter-spacing:.2mm}.price-tag-v__section--mid .price-tag-v__title{font-size:5.5mm;font-weight:600;margin-top:1mm}.price-tag-v__row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5mm}.price-tag-v__row:last-child{margin-bottom:0}.price-tag-v__multiplier{font-weight:800;font-size:5mm}.price-tag-v__price{font-size:5.5mm;font-weight:800;letter-spacing:-.1mm}.main__toolbar{margin-top:1.25rem;margin-bottom:1.25rem;width:100%;max-width:297mm;display:flex;justify-content:space-between;gap:1rem}.main__toolbar__left{display:flex;gap:.5rem}.main__toolbar__right{display:flex;gap:.75rem}.btn-print{font:inherit;font-weight:600;cursor:pointer;border:none;border-radius:999px;background:#111;color:#fff;padding:.65rem 1.4rem;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.btn-print:hover{background:#333}.btn-print:disabled,.btn-print--disabled{background:#9ca3af;color:#e5e7eb;cursor:not-allowed}.btn-print:disabled:hover,.btn-print--disabled:hover{background:#9ca3af}.btn-print--wide{width:100%;max-width:280px;padding-top:.85rem;padding-bottom:.85rem;font-size:1rem}.print-hint{margin:.75rem auto 0;max-width:36rem;padding:0 .5rem;font-size:.8rem;line-height:1.35;color:#444;text-align:center}.print-hint--warn{padding:.65rem .75rem;border-radius:8px;border:1px solid #e8d088;background:#fff6d9;color:#3d3200}@media print{@page{size:A4 landscape;margin:10mm;marks:none}@page :rooja{size:A4 landscape;margin:10mm;marks:none}@page :first{margin-top:10mm;margin-bottom:10mm}@page :left{margin-left:10mm;margin-right:10mm}@page :right{margin-left:10mm;margin-right:10mm}html,body,#root{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;max-height:none!important;background:#fff!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.no-print{display:none!important}.app,.app__content,.sheet-area,.sheet-scale{min-height:0!important;height:auto!important;max-height:none!important}.app{display:block;margin:0;padding:0}.sheet-area{display:block;width:100%;margin:0;padding:0}.sheet-scale{display:block!important;width:100%}.sheet-a4{width:100%;min-height:0!important;height:auto!important;box-shadow:none;border-radius:0;margin:0;padding:0;page-break-after:avoid;break-inside:avoid}.sheet-preview{margin:0!important;padding:0!important;min-height:0!important}.sheet-preview__grid{page-break-inside:avoid;break-inside:avoid}.price-tag-cell{cursor:default}.price-tag-cell--selected{outline:none}.price-tag-cell:focus{outline:none}}@media(max-width:820px){.app{flex-direction:column}.sidebar{width:100%;border-right:none;border-bottom:1px solid #d6d6db}}
