:root{color-scheme:light dark;--bg: #f6f8fb;--surface: #ffffff;--text: #111827;--muted: #4b5563;--border: #d1d5db;--primary: #2563eb;--primary-hover: #1d4ed8;--danger: #dc2626;--danger-hover: #b91c1c;--danger-bg: #fef2f2;--warning: #b45309;--warning-bg: #fffbeb;--info: #1d4ed8;--info-bg: #eff6ff;--success: #15803d;--success-bg: #f0fdf4}@media(prefers-color-scheme:dark){:root{--bg: #0f172a;--surface: #1e293b;--text: #f8fafc;--muted: #cbd5e1;--border: #334155;--primary: #3b82f6;--primary-hover: #2563eb;--danger: #f87171;--danger-hover: #ef4444;--danger-bg: #450a0a;--warning: #fbbf24;--warning-bg: #451a03;--info: #60a5fa;--info-bg: #172554;--success: #4ade80;--success-bg: #052e16}}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg);color:var(--text);line-height:1.5}.portal-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem}.portal-card{width:100%;max-width:28rem;background-color:var(--surface);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;box-shadow:0 4px 16px #0000000f}.portal-title{margin:0 0 .75rem;font-size:1.375rem;font-weight:600}.portal-subtitle{margin:0 0 1.25rem;color:var(--muted);font-size:.95rem}.portal-form{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.portal-field{display:flex;flex-direction:column;gap:.375rem}.portal-label{font-size:.9rem;font-weight:500}.portal-password-row{display:flex;gap:.5rem;align-items:stretch}.portal-input{width:100%;min-height:2.75rem;padding:.5rem .75rem;font-size:1rem;color:var(--text);background-color:transparent;border:1px solid var(--border);border-radius:.5rem}.portal-input:focus-visible,.portal-toggle-btn:focus-visible,.portal-btn:focus-visible,.portal-checkbox-row input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.portal-toggle-btn{min-height:2.75rem;min-width:4.25rem;padding:0 .75rem;font-size:.875rem;font-weight:500;color:var(--text);background-color:transparent;border:1px solid var(--border);border-radius:.5rem;cursor:pointer}.portal-checkbox-row{display:flex;align-items:flex-start;gap:.625rem;font-size:.9rem;cursor:pointer}.portal-checkbox-row input{margin-top:.2rem;width:1.125rem;height:1.125rem;flex-shrink:0}.portal-btn{min-height:2.75rem;padding:.625rem 1rem;font-size:1rem;font-weight:600;color:#fff;border:none;border-radius:.5rem;cursor:pointer}.portal-btn:disabled,.portal-toggle-btn:disabled{opacity:.55;cursor:not-allowed}.portal-btn--primary{background-color:var(--primary)}.portal-btn--primary:hover:not(:disabled){background-color:var(--primary-hover)}.portal-btn--danger{background-color:var(--danger)}.portal-btn--danger:hover:not(:disabled){background-color:var(--danger-hover)}.portal-status{padding:.875rem 1rem;border-radius:.5rem;border:1px solid var(--border);margin-bottom:1rem;font-size:.95rem}.portal-status--info{background-color:var(--info-bg);border-color:var(--info)}.portal-status--success{background-color:var(--success-bg);border-color:var(--success)}.portal-status--warning{background-color:var(--warning-bg);border-color:var(--warning)}.portal-status--error{background-color:var(--danger-bg);border-color:var(--danger)}.portal-status-heading{margin:0 0 .25rem;font-weight:600}.portal-status-body{margin:0}.portal-status-body+.portal-status-body{margin-top:.5rem}
