.cnr-template-tools{display:flex;align-items:center;gap:8px;margin-bottom:8px}.cnr-template-tools input{flex:1}.cnr-template-tools button{white-space:nowrap}.cnr-template-list{min-height:240px;max-height:calc(100vh - 240px);margin:0}.cnr-template-editor textarea{min-height:74px}.cnr-logo-editor{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px solid #d4dfe8;border-radius:4px;padding:12px;margin:12px 0;background:#f8fafc}.cnr-logo-editor input{width:280px}.cnr-logo-editor img{max-width:220px;max-height:75px;object-fit:contain}.cnr-logo-editor img[hidden]{display:none}.cnr-document-header{display:flex;align-items:center;justify-content:space-between;gap:24px;height:auto;min-height:80px;padding:0 0 14px;margin-bottom:18px;border-bottom:2px solid #287c85;background:white}.cnr-document-header img{max-width:230px;max-height:85px;object-fit:contain}.cnr-document-header>div{margin-left:auto;text-align:right;max-width:65%;overflow-wrap:anywhere}.cnr-document-header p{margin:5px 0;font-size:11px;color:#506175;white-space:pre-wrap}.cnr-document-header strong{font-size:15px}.cnr-document-footer{border-top:1px solid #cdd9e2;margin-top:24px;padding-top:12px;color:#64748b;font-size:11px}.cnr-material{border:1px solid #d9e1e9;border-radius:4px;padding:9px;margin:12px 0;break-inside:avoid}.cnr-material h3{font-size:12px;overflow-wrap:anywhere}.cnr-material>img{width:100%;height:auto;object-fit:contain;background:white}.cnr-material-tools{display:flex;gap:6px;margin-top:6px}.cnr-toast{position:fixed;right:24px;bottom:30px;z-index:10000;padding:12px 20px;border-radius:5px;background:#235e64;color:white;box-shadow:0 3px 16px #0003}

.cnr-identification{display:grid;grid-template-columns:145px minmax(0,1fr);margin:14px 0 18px;border-top:1px solid #d8e1e8;border-bottom:1px solid #d8e1e8;break-inside:avoid}.cnr-identification dt,.cnr-identification dd{margin:0;padding:5px 8px;overflow-wrap:anywhere}.cnr-identification dt{font-weight:600;color:#526176;background:#f4f6f8}.cnr-identification dd{color:#253447}.cnr-identification dd:first-of-type{font-weight:700}

.cnr-optional-sections{display:flex;flex-wrap:wrap;gap:10px 24px;padding:10px 12px;background:#f4f7fa;border:1px solid #d3dfe7;border-radius:4px;margin-bottom:14px}.service-editor .cnr-optional-sections label{flex-direction:row;align-items:center;gap:7px;margin:0;font-weight:500}.service-editor .cnr-optional-sections input[type=checkbox]{width:15px;height:15px;min-height:15px;margin:0;accent-color:#237e86}.service-editor label[hidden],.service-editor section[hidden]{display:none!important}.service-editor output[aria-label="Номер CNR"]{padding:7px 8px;min-height:31px;border:1px solid #d3dce6;background:#f4f7fa;border-radius:3px;font-size:12px}
