*{box-sizing:border-box}body{margin:0;background:#f3f1f7;color:#292335;font:16px/1.5 system-ui,sans-serif}header{background:#241533;color:white;padding:28px max(24px,calc((100vw - 1400px)/2))}header span{font-size:12px;letter-spacing:2px;color:#d3b7f4}h1{font-size:34px;margin:8px 0}header p{margin:0;color:#e4d8ef}main{max-width:1450px;margin:auto;padding:24px;display:grid;grid-template-columns:minmax(320px,470px) minmax(0,1fr);gap:24px}.editor{background:white;border:1px solid #dbd5e4;border-radius:12px;padding:24px;height:fit-content}h2{font-size:21px;margin:0 0 14px}.editor h2:not(:first-child){margin-top:24px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:block;font-size:14px;font-weight:600;margin:10px 0}input,select,textarea{display:block;width:100%;border:1px solid #c7bfd2;border-radius:6px;font:inherit;padding:9px;margin-top:5px;background:white;color:#292335}button,.button{display:inline-block;font:inherit;font-weight:500;padding:9px 12px;background:#eee6f7;color:#532a84;border:1px solid #c5b0de;border-radius:6px;cursor:pointer}.button{margin:0}button:hover,.button:hover{background:#dfcfef}:focus-visible{outline:3px solid #ad86d0;outline-offset:2px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.hint{font-size:13px;color:#6c6475}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:5px}th{font-size:13px}td input{margin:0}td:first-child{width:90px}td:last-child{width:50px}.preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}#count{font-size:13px}.preview{min-width:0}#sheets{overflow:auto;padding:0 0 14px}.sheet{width:210mm;height:297mm;padding:10mm;display:grid;grid-template-columns:repeat(2,85mm);grid-auto-rows:55mm;gap:5mm;align-content:start;background:white;margin:0 auto 24px;box-shadow:0 2px 10px #0002}.sheet.a7{grid-template-columns:repeat(2,105mm);grid-auto-rows:74mm;padding:10mm 0;gap:5mm 0}.card{width:85mm;height:55mm;border:.25mm dashed #777;padding:3mm;overflow:hidden;color:#161616;font-family:Arial,sans-serif;font-size:8pt;line-height:1.2;display:flex;flex-direction:column;gap:1.3mm;--accent:#65309c;--tint:#f1e9f9}.a7 .card{width:105mm;height:74mm;padding:4mm;font-size:10pt;gap:1.8mm}.card.mono{--accent:#111;--tint:#fff}.card-head{display:flex;justify-content:space-between;align-items:center;gap:2mm;border-bottom:.6mm solid var(--accent);padding-bottom:1.5mm}.brand{font-size:11pt;letter-spacing:.5pt;font-weight:800;color:var(--accent)}.a7 .brand{font-size:14pt}.card-logo{width:27mm;height:8mm;object-fit:contain;object-position:left center}.card-title{font-size:11pt;font-weight:800;overflow-wrap:anywhere}.a7 .card-title{font-size:14pt}.version{font-size:7pt;color:#444;overflow-wrap:anywhere}.a7 .version{font-size:8pt}.card-table{table-layout:fixed;width:100%;font-size:inherit}.card-table th,.card-table td{padding:.8mm 1mm;border-bottom:.25mm solid #b5b5b5;overflow-wrap:anywhere}.card-table th{font-size:inherit;background:var(--tint)}.card-table td:first-child,.card-table th:first-child{width:16mm;font-weight:bold}.card-table td:last-child{width:auto}.card-contact{overflow-wrap:anywhere}.card-contact div{margin:.4mm 0}.card-reminder{font-size:7pt;border-top:.35mm solid var(--accent);padding-top:1mm;overflow-wrap:anywhere;margin-top:auto}.a7 .card-reminder{font-size:8pt}.error{color:#a92b23}#status:empty{display:none}@media(max-width:1150px){main{grid-template-columns:1fr}.editor{max-width:720px;width:100%;margin:auto}.preview-heading{max-width:794px;margin:auto}}@media(max-width:500px){main{padding:12px}.editor{padding:16px}.grid{grid-template-columns:1fr}}@page{size:A4 portrait;margin:0}@media print{html,body{padding:0;margin:0;background:white}header,.editor,.preview-heading{display:none}main{display:block;padding:0;margin:0;max-width:none}.preview,#sheets{overflow:visible;padding:0}.sheet{box-shadow:none;margin:0;break-after:page;page-break-after:always}.sheet:last-child{break-after:auto;page-break-after:auto}.card{break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
