body:has(.er-workspace) { background: #f8f9f6; }
.er-workspace { max-width:1340px; margin:0 auto; color:var(--admin-ui-text,#102d33); font:13px/1.4 var(--admin-ui-font,Arial,sans-serif); letter-spacing:0; }
.er-workspace * { box-sizing:border-box; min-width:0; letter-spacing:0; }
.er-workspace h1,.er-workspace h2,.er-workspace h3,.er-workspace p { margin:0; }
.er-workspace h2 { font:700 16px/1.3 var(--admin-ui-font,Arial,sans-serif); }
.er-workspace h3 { font:700 14px/1.4 var(--admin-ui-font,Arial,sans-serif); }
.er-workspace p,.er-workspace small,.er-muted { color:#657f7b; }
.er-workspace p { font-family:inherit; font-size:12px; margin-top:4px; }
.er-workspace small { display:block; font-size:11px; }
.er-workspace a { color:#075740; text-decoration:none; }
.er-workspace a:hover { text-decoration:underline; }
.er-heading { margin-bottom:16px; }
.er-heading h1 { font-family:"Graphic School","Cooper Black",Arial,sans-serif; font-size:36px; font-weight:400; line-height:1.2; color:#075740; margin:4px 0; }
.er-eyebrow { font-size:10px; font-weight:700; color:#4f7068; }
.er-workspace .workspace-nav { margin:0 0 16px; gap:6px; flex-wrap:wrap; }
.er-workspace .workspace-nav a { padding:7px 13px; font:12px/1.3 var(--admin-ui-font,Arial,sans-serif); background:white; border:1px solid #e6ede7; }
.er-workspace .workspace-nav a.active { background:#e7f5ee; color:#075740; }
.er-workspace button,.er-workspace input,.er-workspace select { font:inherit; color:inherit; border:1px solid #e1e9e5; border-radius:7px; background:#fff; min-height:36px; }
.er-workspace button { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:7px 14px; cursor:pointer; font-weight:600; }
.er-workspace button:disabled { opacity:.45; cursor:default; }
.er-workspace input,.er-workspace select { width:100%; padding:7px 10px; }
.er-workspace input::placeholder { color:#7a8c88; font-size:12px; }
.er-workspace .er-primary { background:#08765d; border-color:#08765d; color:white; box-shadow:0 2px 5px #07574012; }
.er-workspace .er-primary:hover { background:#075740; }
.er-workspace :is(a,button,input,select,summary,[tabindex]):focus-visible { outline:2px solid #08765d; outline-offset:3px; }
.er-workspace .admin-exec-icon { width:16px; height:16px; flex:none; }
.er-filters { display:grid; grid-template-columns:minmax(260px,2.5fr) repeat(3,minmax(130px,1fr)) auto; gap:14px; align-items:end; padding:14px 16px; background:#fff; border:1px solid var(--admin-ui-border); border-radius:12px; margin-bottom:14px; box-shadow:var(--admin-ui-shadow); }
.er-filters{grid-template-columns:minmax(220px,2fr) repeat(5,minmax(115px,1fr)) auto}
.er-filters label { display:grid; gap:4px; font-size:11px; color:#526f69; }
.er-filters select { font-size:12px; }
.er-search { position:relative; }
.er-search .admin-exec-icon { position:absolute; top:10px; left:11px; }
.er-search input { padding-left:34px; }
.er-directory { padding:16px; background:#fff; border:1px solid var(--admin-ui-border); border-radius:12px; box-shadow:var(--admin-ui-shadow); }
.er-directory>header { margin-bottom:12px; }
.er-table-scroll { overflow:auto; }
.er-workspace table { width:100%; border-collapse:collapse; table-layout:fixed; min-width:930px; font-size:12px; }
.er-workspace th { text-align:left; background:#f7f9f6; padding:9px 8px; font-size:10px; font-weight:600; text-transform:uppercase; color:#607873; }
.er-workspace th:nth-child(1) { width:20%; }.er-workspace th:nth-child(2) { width:16%; }.er-workspace th:nth-child(3) { width:18%; }.er-workspace th:nth-child(4) { width:23%; }.er-workspace th:nth-child(5) { width:12%; }.er-workspace th:last-child { width:118px; }
.er-workspace td { height:48px; padding:7px 8px; vertical-align:middle; border-bottom:1px solid #eef2ee; overflow-wrap:anywhere; }
.er-workspace .er-name { color:#102d33; font-weight:600; }
.er-workspace td small { margin-top:2px; }
.er-row-actions { display:flex; gap:6px; white-space:nowrap; }
.er-row-actions a,.er-row-actions button { padding:3px 10px; min-height:26px; border:1px solid #e3ebe6; border-radius:14px; background:#fff; font-size:11px; font-weight:500; color:#075740; }
.er-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:12px; font-size:11px; line-height:1.2; }
.er-roles { display:flex; flex-wrap:wrap; gap:4px; }
.er-active,.er-role-0 { background:#e7f5ee; color:#08765d; }.er-inactive { background:#edf1f1; color:#627775; }
.er-role-1 { background:#e6f2f8; color:#27677c; }.er-role-2 { background:#fff4d9; color:#856624; }.er-role-3 { background:#f1eafa; color:#70548b; }
.er-directory>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:15px; font-size:11px; color:#607873; }
.er-directory>footer nav { display:flex; align-items:center; gap:8px; }
.er-directory>footer button { padding:6px; min-height:30px; width:30px; border-radius:50%; }
.er-directory [aria-current=page] { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#08765d; color:white; }
.er-state { padding:35px 16px; text-align:center; }.er-state button { margin:12px; }
.er-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.er-overlay { position:fixed; inset:0; z-index:1200; display:flex; justify-content:center; align-items:center; padding:16px; background:rgb(20 31 27 / 42%); }
body:has(.er-overlay) .toast-stack { visibility:hidden; }
.er-dialog { width:720px; max-width:100%; max-height:88dvh; display:flex; flex-direction:column; background:#fff; border-radius:16px; box-shadow:0 20px 80px #102d3340; overflow:hidden; }
.er-dialog>header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:22px 24px 16px; }
.er-dialog>header h2 { font-size:23px; color:#075740; }
.er-workspace .er-icon { width:32px; min-height:32px; padding:7px; border-radius:50%; flex:none; }
.er-dialog form { display:flex; flex-direction:column; overflow:hidden; min-height:0; }
.er-dialog-body { overflow:auto; padding:0 24px 18px; overscroll-behavior:contain; }
.er-dialog fieldset { margin:0; padding:0; border:0; }
.er-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
.er-dialog label { display:block; font-size:12px; font-weight:600; color:#35564f; }
.er-dialog label>input,.er-dialog label>select { display:block; margin-top:4px; font-size:13px; font-weight:400; min-height:38px; }
.er-required { color:#bb4f4f; }
.er-account { border-top:1px solid #eef2ee; padding-top:14px; margin-top:16px; }
.er-account h3 { margin-bottom:8px; }.er-account .er-roles { margin-top:6px; }.er-account>a { display:inline-flex; align-items:center; gap:4px; margin-top:8px; font-size:12px; }
.er-account-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top:8px; }.er-account-actions a { display:inline-flex; align-items:center; gap:4px; font-size:12px; }
.er-workspace .er-toggle { display:flex; gap:10px; align-items:flex-start; padding:14px 0; }
.er-workspace .er-toggle input { appearance:none; width:34px; height:20px; min-height:20px; border:0; border-radius:12px; background:#c8d1ce; position:relative; padding:0; margin:1px 0 0; flex:none; cursor:pointer; }
.er-toggle input::after { content:""; position:absolute; top:3px; left:3px; width:14px; height:14px; background:white; border-radius:50%; }
.er-workspace .er-toggle input:checked { background:#08765d; }.er-toggle input:checked::after { left:17px; }
.er-toggle small { margin-top:3px; font-weight:400; }
.er-additional { border-top:1px solid #eef2ee; }.er-additional summary { padding:14px 0; cursor:pointer; font-size:13px; font-weight:600; color:#075740; }
.er-checks { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
.er-checks label { display:flex; align-items:center; gap:8px; font-weight:400; }
.er-workspace .er-checks input { width:16px; height:16px; min-height:16px; margin:0; accent-color:#08765d; }
.er-dialog form>footer { display:flex; justify-content:flex-end; gap:8px; padding:16px 24px; border-top:1px solid #eef2ee; flex-shrink:0; }
.er-discard { display:flex; align-items:center; flex-wrap:wrap; gap:8px; width:100%; }.er-discard strong { margin-right:auto; color:#a44747; }
.er-error { color:#b03b3b; font-size:11px; font-weight:400; display:block; margin-top:3px; }.er-error:empty { display:none; }
.er-dialog [aria-invalid=true] { border-color:#c75353; }.er-alert { padding:10px; margin-bottom:12px; border-radius:6px; background:#fdefed; color:#a53e3e; font-size:12px; }
@media(min-width:960px) and (max-width:1280px) {
    .catalog-shell:has(.er-workspace) .admin-shell-topbar__brand-row { grid-template-columns:auto minmax(0,1fr) auto; justify-items:normal; }
    .catalog-shell:has(.er-workspace) .admin-shell-topbar__nav { width:auto; justify-self:center; grid-row:auto; grid-column:auto; }
    .catalog-shell:has(.er-workspace) .admin-shell-topbar__actions { grid-row:auto; grid-column:auto; }
}
@media(max-width:1100px) { .er-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }.er-search { grid-column:span 2; }.er-filters>button { grid-column:3; }.er-filters>label:last-of-type { grid-column:2; grid-row:2; }.er-filters>label:nth-child(3) { grid-column:1; grid-row:2; } }
@media(max-width:650px) {
    .er-heading h1 { font-size:30px; }.er-filters { grid-template-columns:1fr 1fr; gap:10px; padding:12px; }.er-search { grid-column:1/-1; }.er-filters>label:nth-child(2) { grid-column:1; grid-row:2; }.er-filters>label:nth-child(3) { grid-column:2; grid-row:2; }.er-filters>label:last-of-type { grid-column:1; grid-row:3; }.er-filters>button { grid-column:2; grid-row:3; }.er-workspace .er-filters input,.er-workspace .er-filters select,.er-workspace .er-filters button { min-height:42px; }
    .er-directory { padding:12px; }.er-directory>footer { align-items:flex-start; }.er-row-actions a,.er-row-actions button { min-height:34px; }
    .er-overlay { padding:0; }.er-dialog { width:100%; max-height:100dvh; height:100dvh; border-radius:0; }.er-dialog>header { padding:20px 18px 16px; }.er-dialog-body { padding:0 18px 18px; flex:1; }.er-dialog form { flex:1; }.er-form-grid { grid-template-columns:1fr; }.er-checks { grid-template-columns:1fr; }.er-dialog form>footer { padding:14px 18px max(14px,env(safe-area-inset-bottom)); }.er-dialog button,.er-dialog label>input,.er-dialog label>select { min-height:42px; }.er-dialog label>input,.er-dialog label>select { font-size:16px; }.er-discard strong { width:100%; }
}
@media(max-width:1100px){.er-filters>label:nth-child(3),.er-filters>label:last-of-type,.er-filters>button{grid-column:auto;grid-row:auto}}
@media(max-width:650px){.er-filters>label:nth-child(2),.er-filters>label:nth-child(3),.er-filters>label:last-of-type,.er-filters>button{grid-column:auto;grid-row:auto}.er-filters .er-search{grid-column:1/-1}}
