
.references-heading{font:inherit;color:inherit;letter-spacing:inherit;background:none;border:0;padding:0;cursor:pointer}.references-heading span{margin-left:12px}.references-heading:focus-visible{outline:2px solid #53949b;outline-offset:6px}
dialog.entity-references-dialog{width:min(1400px,94vw);max-width:94vw;max-height:92dvh;padding:0;border:1px solid #d7e2e8;border-radius:18px;background:#f7f9fa;color:#171e40;overflow:hidden}
.entity-references-dialog[open]{display:flex;flex-direction:column}.entity-references-dialog header,.entity-references-dialog footer{display:flex;align-items:center;gap:14px;padding:20px 28px;flex-shrink:0}.entity-references-dialog header{justify-content:space-between;border-bottom:1px solid #d7e2e8}.entity-references-dialog header h2{margin:0}.entity-references-dialog header p{margin:7px 0 0}.entity-references-dialog footer{border-top:1px solid #d7e2e8;justify-content:flex-end}.entity-references-dialog footer span{margin-right:auto}
.references-body{display:grid;grid-template-columns:260px minmax(0,1fr);overflow:auto;min-height:0}.references-body aside{padding:24px;border-right:1px solid #d7e2e8}.reference-choice{display:block;text-align:left;width:100%;padding:14px;margin-bottom:12px;border:1px solid #d7e2e8;border-radius:12px;background:white;color:#4844ee;font:inherit}.reference-choice.active{border-color:#53949b;background:#e6f1f2}.reference-choice small{display:block;color:#65758c;margin-top:6px}.references-body form{padding:24px;min-width:0}.references-body fieldset{border:0;margin:0;padding:0;min-width:0}.references-body label{display:flex;flex-direction:column;gap:6px;font-weight:600;margin-bottom:12px}.references-body input,.references-body textarea{box-sizing:border-box;width:100%;font:inherit;color:#4844ee;background:white;border:1px solid #ccdbe4;border-radius:10px;padding:10px;min-width:0}.reference-types{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.reference-types label{display:flex;flex-direction:row;align-items:center;margin:0;gap:8px}.reference-types input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:#53949b}.reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.reference-source{display:grid;grid-template-columns:1fr 1.4fr 2fr auto;gap:12px;padding:14px;margin-bottom:12px;border:1px solid #d7e2e8;border-radius:12px;align-items:start}.references-error{color:#b12626;margin:0;padding:10px 28px;flex-shrink:0}.references-error[hidden]{display:none}.references-body h3{font-size:18px}.references-body .btn{margin:4px 6px 4px 0}
@media(max-width:850px){.references-body{grid-template-columns:1fr}.references-body aside{border-right:0;border-bottom:1px solid #d7e2e8}.reference-grid,.reference-source{grid-template-columns:1fr}.entity-references-dialog footer{flex-wrap:wrap}.entity-references-dialog footer span{width:100%}}
