.template-data-library{margin-top:26px;padding:23px;background:#fff;border:1px solid #e7e1ef;border-radius:14px}
.template-data-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.template-data-heading h2{font-size:21px;margin:5px 0;color:#342946}
.template-data-heading p{font-size:12px;line-height:1.7;color:#8b8195;margin:0;max-width:680px}
.template-data-eyebrow{font-size:10px;color:#795cc7;font-weight:850;letter-spacing:.12em}
.template-data-status{font-size:11px;color:#6b58a8;min-height:12px}
.template-data-status.error{color:#bd4356}
.template-data-list{display:grid;gap:9px;margin:12px 0}
.template-data-row{display:flex;align-items:center;justify-content:space-between;gap:15px;
 padding:12px 15px;background:#faf9fd;border:1px solid #eae5f1;border-radius:10px}
.template-data-row>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}
.template-data-row strong{font-size:12px;color:#453951;overflow-wrap:anywhere}
.template-data-row small{font-size:10px;color:#968c9f}
.template-data-row-actions,.template-data-actions{display:flex;gap:8px;flex-wrap:wrap}
.template-data-empty{font-size:12px;color:#9a90a3;padding:15px}
.template-data-form{padding:18px;margin-top:17px;border:1px solid #e7dfef;border-radius:11px;background:#fcfbff}
.template-data-form[hidden]{display:none!important}
.template-data-form-top{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}
.template-data-form label{font-size:11px;color:#645670;font-weight:750;display:flex;flex-direction:column;gap:6px}
.template-data-form input,.template-data-form select{min-width:0;width:100%;padding:9px 10px;border:1px solid #ded4e9;
 border-radius:8px;background:#fff;color:#3e344d;font:12px system-ui;box-sizing:border-box}
.template-data-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.template-data-form .template-data-consent{flex-direction:row;align-items:flex-start;gap:9px;margin:18px 0;
 line-height:1.6;font-size:11px}
.template-data-consent input{width:16px;flex:none;accent-color:#7157d7;margin-top:3px}
@media(max-width:660px){.template-data-library{padding:15px}.template-data-fields,
.template-data-form-top{grid-template-columns:1fr}.template-data-row{flex-direction:column;align-items:flex-start}}
