/* ER Call Center · role-aware landing selector; workspace view != account privilege */
.ercc-workspace-gate[hidden],.ernexus-login-shell[hidden]{display:none!important}
.ercc-workspace-gate{
 position:fixed;inset:0;overflow-y:auto;z-index:9998;
 display:grid;align-content:center;justify-items:center;padding:clamp(16px,5vh,52px) 14px;
 background:radial-gradient(circle at 85% 3%,#e1efff 0,transparent 36%),
            radial-gradient(circle at 3% 98%,#e9f2ff 0,transparent 42%),#f5f8fd;
 color:#193659;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
 -webkit-overflow-scrolling:touch;
}
.ercc-workspace-gate *{box-sizing:border-box}
.ercc-workspace-gate-card{
 width:min(100%,520px);background:#fff;border:1px solid #d8e5f5;
 border-radius:22px;padding:clamp(20px,4vw,34px);text-align:center;
 box-shadow:0 18px 55px rgba(29,73,126,.095);
}
.ercc-workspace-gate-logo{
 display:block;object-fit:contain;max-width:100%;width:128px;height:92px;
 margin:0 auto 5px;border-radius:9px;
}
.ercc-workspace-gate-kicker{
 margin:10px 0 6px;font-size:10px;color:#2a76d0;font-weight:840;letter-spacing:.11em;
}
.ercc-workspace-gate-card h1{
 margin:10px 0;color:#16365c;font-weight:860;font-size:clamp(23px,5vw,30px);line-height:1.18;letter-spacing:-.025em;
}
.ercc-workspace-gate-intro{font-size:14px;color:#445f81;margin:10px 0 3px;line-height:1.5}
.ercc-workspace-gate-explainer{font-size:11px;line-height:1.55;color:#7890ac;margin:3px auto 19px;max-width:385px}
.ercc-workspace-gate-options{display:grid;gap:9px}
.ercc-workspace-gate-option{
 min-height:65px;display:grid;grid-template-columns:41px minmax(0,1fr) 19px;
 gap:12px;align-items:center;min-width:0;
 border:1px solid #d7e4f3;border-radius:12px;padding:11px 14px;
 background:#f7faff;color:#21456e;text-decoration:none;text-align:left;
 transition:border-color .15s,background .15s,transform .15s;
}
.ercc-workspace-gate-option-icon{
 display:grid;place-items:center;width:39px;height:39px;border-radius:10px;
 background:#e8f2ff;color:#176ee1;font-weight:800;font-size:21px;
}
.ercc-workspace-gate-option strong{
 display:block;color:#1e426a;font-size:14px;font-weight:830;margin-bottom:4px;
}
.ercc-workspace-gate-option small{
 display:block;color:#6a84a3;font-size:11px;line-height:1.35;
}
.ercc-workspace-gate-option>a{color:inherit}
.ercc-workspace-gate-option:not(.is-locked):hover{
 border-color:#8fbcf5;background:#edf5ff;transform:translateY(-1px)
}
.ercc-workspace-gate-option:focus-visible{
 outline:3px solid #75afff;outline-offset:2px;
}
.ercc-workspace-gate-option.is-locked{
 opacity:.51;background:#f1f4f8;border-style:dashed;cursor:not-allowed;
}
.ercc-workspace-gate-footer{
 margin:18px 0 0;color:#8ca0b8;font-size:10px;line-height:1.4;
}
.ercc-workspace-switch{
 width:100%;min-height:43px;border:1px solid #cfe0f5;
 background:#edf5ff;color:#1f64b1;
 display:flex;justify-content:flex-start;align-items:center;
 gap:8px;border-radius:9px;padding:11px 13px;
 font-weight:800;font-size:12px;cursor:pointer;margin:5px 0 9px;
}
.ercc-workspace-switch:hover{background:#e0efff}
.ercc-workspace-switch:focus-visible{outline:3px solid #83baff}
.ercc-workspace-login-back{color:#246bc3;text-decoration:underline}
.ernexus-app[data-workspace-view="agent"] .ercc-ref-help,
.ernexus-app[data-workspace-view="auftraggeber"] .ercc-ref-help{display:none}
@media(max-width:520px){
 .ercc-workspace-gate{align-content:center;padding:20px 14px}
 .ercc-workspace-gate-card{border-radius:18px;padding:18px}
 .ercc-workspace-gate-logo{width:116px;height:75px}
 .ercc-workspace-gate-option{min-height:62px;padding:9px 11px}
 .ercc-workspace-gate-explainer{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){
 .ercc-workspace-gate-option{transition:none}
}
/* Accessible visibility for capability- and view-filtered navigation. */
.ernexus-app.ercc-reference-ui [hidden],
.ernexus-app [data-module][hidden],
.ernexus-app [data-module-target][hidden],
.ernexus-app [data-module-jump][hidden],
.ernexus-app [data-ref-nav][hidden],
.ernexus-app .ernexus-nav-group[hidden]{display:none!important}
body:has(.ercc-workspace-gate) {background:#f5f8fd;color-scheme:light}
body:has(.ercc-workspace-gate) .ernexus-login-shell{
 background:#f5f8fd!important;color:#254869!important;
}
body:has(.ercc-workspace-gate) .ernexus-login-card{
 border-color:#d9e5f4!important;background:#fff!important;color:#254869!important;
 box-shadow:0 18px 55px rgba(21,68,116,.09)!important;
}
body:has(.ercc-workspace-gate) .ernexus-login-card h1{color:#1b416d!important;letter-spacing:-.02em}
body:has(.ercc-workspace-gate) .ernexus-login-card :is(p,label){color:#627e9b!important}
body:has(.ercc-workspace-gate) .ernexus-login-card :is(input[type=text],input[type=password]){
 background:#f8fbff!important;color:#1d446e!important;border-color:#cbdced!important;font-size:16px!important;
}
body:has(.ercc-workspace-gate) .ernexus-login-card input[type=submit]{
 background:#1873e9!important;color:white!important;border-color:#1873e9!important
}
body:has(.ercc-workspace-gate) .ernexus-login-card a{color:#2268b6!important}
