.portal-access { min-height:100svh; display:grid; place-items:center; padding:24px 16px; background:var(--rwu-bg); }
.portal-access-card { width:min(100%,400px); padding:24px; border:1px solid var(--rwu-border); border-radius:var(--rwu-radius,14px); background:var(--rwu-surface); box-shadow:var(--rwu-shadow,none); }
.portal-access-card h1 { margin:20px 0 12px; font-size:25px; line-height:1.2; letter-spacing:-.6px; overflow-wrap:anywhere; }
.portal-access-card p { font-size:14px; }
.portal-access-card label { display:grid; gap:8px; margin:20px 0 12px; color:var(--rwu-text); font-size:14px; }
.portal-access-card input { min-height:44px; font-size:16px; }
.portal-access-card button { min-height:44px; width:100%; margin-top:8px; }
.portal-access-card button:disabled { cursor:wait; opacity:.6; }
.portal-access-error { color:var(--rwu-danger) !important; overflow-wrap:anywhere; }
.portal-access-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.portal-logout,.theme-toggle { min-height:44px; }
@media(max-width:520px) { .topbar { min-height:80px; } .portal-access-actions { margin-left:auto; } .portal-access-card { padding:20px; } .portal-logout,.theme-toggle { padding:10px 12px; font-size:13px; } }

/* Compact binary theme action: accessible label comes from the common controller. */
#rootThemeToggle { width:44px; height:44px; min-width:44px; padding:0; background:transparent; border-color:transparent; color:var(--rwu-accent); }
.theme-sun { display:none; }
[data-rwu-theme="dark"] .theme-sun { display:block; }
[data-rwu-theme="dark"] .theme-moon { display:none; }
