.admin-grid.records-full-width{grid-template-columns:minmax(0,1fr)}
.record-toolbar{display:flex;align-items:center;gap:16px;justify-content:flex-end;margin:0 0 20px}
.record-toolbar button{width:auto;min-width:110px}
.record-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #344354;border-radius:16px;background:#151f2b;color:#edf3f8;overflow:auto;overscroll-behavior:contain}
.record-dialog::backdrop{background:rgb(0 0 0 / 65%)}
.record-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.record-dialog-bar h2{margin:0;font-size:1.25rem}
.record-dialog-bar button{width:auto;flex:none}
.record-dialog .modal-form-content{padding:0;border:0;box-shadow:none;background:transparent;min-width:0}
.record-dialog .table-wrap{overflow:auto}
html[data-theme="light"] .record-dialog{background:#fff;color:#172334;border-color:#ccd6e0}
body:has(.record-dialog[open]){overflow:hidden}
@media(max-width:600px){.record-dialog{padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.record-dialog-bar{align-items:flex-start}.record-toolbar button{min-height:44px}}
