:root{font-family:Inter,Arial,sans-serif;background:#f4f6fc;color:#1c2948}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;padding:28px}main{max-width:1080px;margin:auto}nav{display:flex;justify-content:space-between;gap:20px}a{color:#263fa3}header{margin:28px 0}.eyebrow{font-weight:bold;letter-spacing:.08em;font-size:13px;color:#263fa3}h1{font-size:32px;margin:10px 0}h2{font-size:20px;margin:0 0 20px}p{line-height:1.5;color:#62708a}#status{padding:16px;border-radius:10px;background:#e7eeff;margin:20px 0;line-height:1.5}#accessActions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:white;border:1px solid #dfe6f3;border-radius:16px;padding:24px}label{display:grid;gap:8px;margin-bottom:18px;font-size:14px}input,select,button{font:inherit;border-radius:9px;padding:12px}input,select{border:1px solid #cbd5e6;width:100%;min-width:0}button,.button{border:0;background:#263fa3;color:#fff;cursor:pointer;font-weight:600}.button{display:inline-block;text-decoration:none;padding:12px 16px;border-radius:9px}.secondary{background:#eaf0fc;color:#263fa3}button:disabled{opacity:.5;cursor:wait}.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.muted{font-size:13px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}#previewPanel{margin-top:24px}.previewHeading{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.preview{overflow:auto;padding:18px;background:#e9edf5;border-radius:10px}.label-row{display:grid;width:max-content;break-after:page;break-inside:avoid;page-break-inside:avoid}.label-row:last-child{break-after:auto}.thermal-label{color:#000;background:#fff;font-family:Arial,sans-serif;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1mm;border:0}.thermal-label>*{flex-shrink:0}.preview .thermal-label{outline:1px dashed #bac6dc;outline-offset:-1px}.label-name{font-weight:600;line-height:1.25;overflow-wrap:anywhere;width:100%;margin:0;color:#000}.label-price{font-weight:800;line-height:1.25;margin:.7mm 0;color:#000}.qr-code{display:block;flex-shrink:0;max-width:100%}#printArea{display:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #bd7b00;outline-offset:3px}@media(max-width:720px){body{padding:20px 14px}.layout{grid-template-columns:1fr}.panel{padding:20px}h1{font-size:28px}.previewHeading{display:block}}@media(max-width:400px){.row{grid-template-columns:1fr}}
@media print{@page{margin:0}html,body{margin:0!important;padding:0!important;background:white!important}body>*{display:none!important}body[data-print-ready="true"]>#printArea{display:block!important}#printArea .label-row{margin:0!important;padding:0!important}#printArea .thermal-label{outline:0!important;box-shadow:none!important}#printArea{color:#000;background:#fff}}

.catalog-panel{margin-bottom:20px}.catalog-search{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.catalog-search label{flex:1 1 230px;margin:0}.catalog-search #catalogStoreLabel{flex:0 1 180px}.catalog-search button{min-height:44px}.product-results{display:grid;gap:8px;max-height:320px;overflow:auto}.product-choice{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:14px;background:#f1f5fd;color:#1c2948;border:1px solid #d6e0f1}.product-choice strong{display:block;overflow-wrap:anywhere}.product-choice small{display:block;margin-top:5px;font-weight:400;overflow-wrap:anywhere}.product-choice .product-price{white-space:nowrap}.product-choice[aria-pressed="true"]{border-color:#263fa3;background:#e1e9ff}input[readonly]{background:#f5f7fb;color:#33415d}@media(max-width:400px){.catalog-search button{width:100%}.product-choice{align-items:flex-start;flex-direction:column}}

#previewPanel{scroll-margin-top:20px}#previewTitle:focus,#status:focus{outline:none}.print-feedback{font-weight:600;color:#263fa3;background:#eef2ff;padding:12px;border-radius:9px}#printButton{font-size:16px;min-height:48px;padding:14px 22px}
