.seat-label-dialog{width:min(1050px,calc(100vw - 24px));max-height:92dvh;overflow:auto;border:1px solid #cbdde3;border-radius:16px;padding:22px;color:#173b45}.seat-label-dialog::backdrop{background:#102c42aa}.seat-label-options{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0;font-size:14px}.seat-label-options label{display:flex;align-items:center;gap:8px}.seat-label-options input{width:20px;height:20px}.seat-label-preview{overflow-x:auto;background:#eaf0f1;padding:14px}.seat-label-page{width:190mm;height:277mm;box-sizing:border-box;display:grid;grid-template-columns:repeat(var(--label-cols),minmax(0,1fr));grid-template-rows:repeat(var(--label-rows),minmax(0,1fr));gap:4mm;background:#fff;color:#111;font-family:Tahoma,Arial,sans-serif;direction:rtl;margin:0 auto 18px;flex-shrink:0}.seat-label{border:1px dashed #333;padding:3mm;min-width:0;min-height:0;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:1mm;font-size:var(--label-font);line-height:1.25;overflow:hidden}.seat-label>div{overflow-wrap:anywhere;flex-shrink:0}.seat-label-school,.seat-label-name{font-weight:700}.seat-label-seat{font-size:var(--label-number);font-weight:800}.seat-label-exam,.seat-label-year,.seat-label-record{font-size:.85em}.seat-label-capture{position:fixed;left:-20000px;top:0;width:190mm;pointer-events:none;background:white}.seat-label-capture .seat-label-page{margin:0}.seat-label-print-root .seat-label-page{margin:0;break-after:page;page-break-after:always}.seat-label-print-root .seat-label-page:last-child{break-after:auto;page-break-after:auto}@media(max-width:650px){.seat-label-dialog{padding:14px}.seat-label-dialog .grid{grid-template-columns:1fr}.seat-label-dialog button{min-height:44px}.seat-label-preview{padding:8px}}@page seat-label-sheet{size:A4 portrait;margin:10mm}@media print{.seat-label-dialog,.seat-label-capture{display:none!important}#printRoot .seat-label-print-root{page:seat-label-sheet}#printRoot .seat-label-page{width:190mm!important;height:277mm!important;box-shadow:none}#printRoot .seat-label{break-inside:avoid}}
