.cert-entry{display:flex;justify-content:flex-end;margin:0 0 16px}.cert-dialog{width:min(900px,calc(100% - 24px));max-height:94vh;overflow:auto;padding:20px;background:#090f19;color:#fff;border:1px solid #284263;border-radius:18px}.cert-dialog::backdrop{background:#000b}.cert-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.cert-head h2{font-size:22px;margin:0}.cert-note{font-size:12px;line-height:1.6;color:#c4d3e6}.cert-dialog select{width:100%;padding:12px;background:#111d2c;color:#fff;border:1px solid #304967;border-radius:10px;margin:8px 0 16px}.cert-preview{display:block;width:100%;height:auto;border-radius:10px}.cert-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.cert-actions button{flex:1;min-width:140px}.cert-status{font-size:12px;color:#b6ceec}

.cert-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.cert-fields label:last-child{grid-column:1/-1}.cert-fields label{display:grid;gap:7px;font-size:13px}.cert-fields input{width:100%;min-width:0;box-sizing:border-box;background:#111d2c;color:#fff;border:1px solid #304967;border-radius:8px;padding:12px}.cert-head h2{overflow-wrap:normal}@media(max-width:600px){.cert-fields{grid-template-columns:1fr}.cert-dialog{padding:14px}.cert-head h2{font-size:18px}.cert-dialog select{font-size:12px}}

.cert-selected{font-size:13px;color:#d1e2f5;line-height:1.6;overflow-wrap:anywhere;margin:0 0 16px}
