/* Use the same design tokens as the MIS shell. No local font or font-size reset. */
.er-server-setup{margin-top:18px;padding-top:16px;border-top:1px solid #dce6ef}.er-server-setup ol{padding-left:24px;margin:12px 0}.er-server-setup li{margin:7px 0}.er-server-setup a{color:var(--mis-primary,#287daf);text-decoration:underline}
.er-root{color:inherit;font:inherit}.er-root *{box-sizing:border-box}.er-root h2{font-size:var(--mis-text-section,22px);margin:0}.er-root h3{font-size:var(--mis-text-body,16px);margin:0 0 12px}.er-title,.er-user-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.er-title p,.er-user-header p{margin:5px 0;color:#687f94}.er-toolbar{display:grid;grid-template-columns:minmax(180px,2fr) minmax(180px,1fr);gap:12px;margin:18px 0}.er-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.er-users,.er-editor,.er-empty{border:1px solid #dce6ef;background:white;border-radius:12px;padding:18px;min-width:0}.er-detail{min-width:0}.er-root button.er-user{display:block;width:100%;text-align:left;margin-bottom:8px;padding:12px;border-color:#e0e8f0}.er-root button.er-user.selected{border-color:var(--mis-primary,#287daf);background:#edf6fb;box-shadow:inset 3px 0 var(--mis-primary,#287daf)}.er-user strong,.er-user small{display:block;overflow-wrap:anywhere}.er-root small{font-size:var(--mis-text-small,14px);color:#60788e;display:block;margin-top:5px;overflow-wrap:anywhere}.er-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.er-chip{display:inline-block;line-height:1.5;padding:3px 8px;border-radius:6px;border:1px solid #d9e4ef;background:#f3f7fb;font-size:var(--mis-text-small,14px);color:#526a80;overflow-wrap:anywhere}.er-chip.allow{color:#206747;background:#eaf7ef;border-color:#bcdcca}.er-chip.manage{color:#5e3d90;background:#f1edfa;border-color:#d3c5ed}.er-chip.remove{color:#9f333e;background:#fff1f2;border-color:#efbdc4}.er-chip.muted{color:#68788a;background:#f1f3f5}.er-root .er-panel{margin:14px 0;border:1px solid #dce6ef;border-radius:9px;overflow:hidden}.er-panel>summary{padding:13px 14px;cursor:pointer;font-weight:600;background:#f3f7fb}.er-panel>summary:focus-visible{outline:3px solid #8ac6ef;outline-offset:-3px}.er-caption{color:#627a90;margin:12px 14px;font-size:var(--mis-text-small,14px)}.er-matrix{overflow-x:auto}.er-matrix table{width:100%;table-layout:fixed}.er-root .er-matrix th,.er-root .er-matrix td{white-space:normal;overflow-wrap:anywhere;padding:12px 10px;font-size:var(--mis-text-small,14px)}.er-matrix th:nth-child(1){width:21%}.er-matrix th:nth-child(2){width:16%}.er-matrix th:nth-child(3){width:28%}.er-matrix th:nth-child(4){width:35%}.er-source+.er-source{margin-top:7px}.er-source{color:#58728b}.er-root fieldset{border:0;margin:22px 0 0;padding:0;min-width:0}.er-root .er-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.er-root .er-choice{display:flex;flex-direction:row;align-items:flex-start;gap:10px;border:1px solid #dce6ef;border-radius:8px;padding:12px;font-weight:400}.er-choice.checked{background:#eef7fc;border-color:#9ec6df}.er-choice input{margin-top:4px}.er-choice>span{min-width:0}.er-root .er-inherited{color:#276b57;background:#eaf7ef;padding:5px;border-radius:5px}.er-search{margin-bottom:10px}.er-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.er-preview{border:1px solid #9fbfd8;background:#f7fbff;border-radius:10px;padding:18px;margin:20px 0}.er-change-list>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #dfebf5}.er-grants,.er-history{padding:12px 15px}.er-grants>div,.er-history>div{padding:10px 0;border-bottom:1px solid #e5ecf3}.er-history p{margin:5px 0}.er-pager{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:14px}.er-root .er-pager button{padding:6px 8px}.er-empty{padding:45px 25px;text-align:center;color:#607c93}.er-users{max-width:100%}.er-root fieldset:disabled{opacity:.75}.er-root input:disabled{cursor:not-allowed}
@media(max-width:1150px){.er-layout{grid-template-columns:220px minmax(0,1fr)}.er-root .er-choices{grid-template-columns:1fr}.er-matrix table{table-layout:auto;min-width:660px}.er-user-header{flex-direction:column}}@media(max-width:800px){.er-layout{grid-template-columns:1fr}.er-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.er-users>h3,.er-users>.er-pager{grid-column:1/-1}.er-root button.er-user{margin:0}.er-title{flex-direction:column}.er-editor{padding:14px}.er-change-list>div{grid-template-columns:1fr;gap:4px}}@media(max-width:500px){.er-toolbar,.er-users{grid-template-columns:1fr}.er-users>h3,.er-users>.er-pager{grid-column:auto}}
.er-matrix-actions th:nth-child(1){width:18%}.er-matrix-actions th:nth-child(2){width:14%}.er-matrix-actions th:nth-child(3){width:23%}.er-matrix-actions th:nth-child(4){width:28%}.er-matrix-actions th:nth-child(5){width:17%}.er-root .er-suspension-action button{font-size:var(--mis-text-small,14px);padding:7px 9px;width:100%}.er-paused-row td,.er-paused-row th{background:#fff7f6}.er-root .er-suspension-reason{color:#a14148;margin-top:9px}.er-gate-confirm{border:1px solid #dcb6b6;background:#fffaf8;padding:18px;border-radius:10px;margin:16px 0}.er-gate-confirm p{margin:8px 0 12px}.er-gate-confirm .er-actions{margin-bottom:0}@media(max-width:1150px){.er-matrix-actions table{min-width:800px}}

.er-gate-status{margin:12px 14px;padding:12px 14px;border:1px solid #c8dce9;border-radius:8px;background:#f1f8fc;color:#30546d}.er-gate-status p{margin:6px 0 0}.er-gate-status button{margin-top:10px}.er-panel>.er-gate-confirm,.er-panel>.er-gate-error{margin:14px}.er-root .er-action-help{color:#79573b;font-size:var(--mis-text-small,14px);line-height:1.5}.er-root .er-suspension-action button:not(:disabled):focus-visible{outline:3px solid #287daf;outline-offset:2px}
