/* Wörtlich aus SSO-VERTRAG §6 */
.bw-portal{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;background:#2a1250;color:#fff!important;font:600 14px/1 Arial,Helvetica,sans-serif;text-decoration:none;white-space:nowrap}
.bw-portal:hover,.bw-portal:focus-visible{background:#3a1670;outline:none}
.bw-portal-logo{width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,#f4b942,#ff8a5c);color:#2a1250;display:grid;place-items:center;font-size:11px;font-weight:800;letter-spacing:.02em}
@media print{.bw-portal{display:none}}
/* Leiste über dem Roundcube-Layout (Elastic): Layout füllt den Rest der Höhe */
.bw-portal-leiste{flex:0 0 auto;padding:6px 10px;background:#4a1070}
body:has(> .bw-portal-leiste){display:flex;flex-direction:column;height:100%}
body:has(> .bw-portal-leiste) > #layout{flex:1 1 auto;min-height:0;height:auto}
@media print{.bw-portal-leiste{display:none}}
