.ernDialog{box-sizing:border-box;width:min(560px,calc(100% - 28px));max-height:85dvh;padding:16px;border:1px solid #dbe3ef;border-radius:13px;background:#fff;color:#10203d;font:13px/1.5 Arial,sans-serif;overflow:auto}
.ernDialog::backdrop{background:#10203d66}.ernDialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.ernDialog h3{font-size:16px;margin:0}.ernDialog header>button{border:0;background:#f4f6f9;border-radius:7px;font-size:22px;color:inherit}.ernActions{display:flex;justify-content:flex-end;gap:8px}.ernActions button,.ernSendLater{border:1px solid #d9e1ec;border-radius:7px;background:#f6f8fb;padding:8px 16px;color:inherit;cursor:pointer}.ernActions [data-ern-send]{background:#920000;color:#fff;border-color:#920000}.ernActions button:disabled{opacity:.45;cursor:default}.ernStatus{color:#64748b;font-size:12px}.ernRows{max-height:55dvh;overflow:auto;scrollbar-width:thin;margin-top:10px}.ernRows article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #e7ebf2;font-size:12px}.ernRows strong{font-size:12px;overflow-wrap:anywhere}.ernId{padding:2px 5px;background:#edf1f7;border-radius:5px;font-size:10px}.ernHistoryLink{grid-column:1/-1;justify-self:start;border:0;background:none;padding:2px 0 6px;color:#53647b;text-decoration:underline;text-underline-offset:3px;font-size:11px;cursor:pointer}
