:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f8fafc}*{box-sizing:border-box}body{margin:0}.portal-body{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at top right,#dbeafe 0,transparent 34rem),linear-gradient(180deg,#f8fafc,#eef2ff)}.portal-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1.25rem,5vw,4.5rem);border-bottom:1px solid #e2e8f0;background:rgba(255,255,255,.9);backdrop-filter:blur(14px)}.portal-brand{font-size:1.35rem;font-weight:800;color:#111827;text-decoration:none;letter-spacing:-.03em}.portal-brand strong{color:#4f46e5}.portal-main{width:100%;max-width:1120px;flex:1;margin:auto;padding:clamp(3rem,8vw,7rem) 1.25rem}.portal-auth-main{display:grid;place-items:center}.portal-card,.portal-shell{border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.1)}.portal-card{width:min(100%,480px);padding:clamp(1.5rem,5vw,2.5rem)}.portal-shell{padding:clamp(1.75rem,5vw,4rem)}.portal-kicker{margin:0 0 .75rem;color:#4f46e5;font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.portal-card h1,.portal-shell h1{margin:0;color:#111827;font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;letter-spacing:-.04em}.portal-card h1{font-size:2.15rem}.portal-lead{margin:1rem 0 0;color:#64748b;font-size:1.05rem;line-height:1.7}.portal-form{display:grid;gap:1rem;margin-top:2rem}.portal-field{display:grid;gap:.45rem}.portal-field label{font-size:.88rem;font-weight:750;color:#334155}.portal-field input{width:100%;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:.82rem .9rem;color:#111827;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.portal-field input:focus{border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.14)}.portal-hint{margin:0;color:#64748b;font-size:.8rem;line-height:1.5}.portal-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border:0;border-radius:12px;padding:.7rem 1.05rem;font:inherit;font-weight:800;cursor:pointer;transition:transform .15s,opacity .15s}.portal-button:hover{transform:translateY(-1px)}.portal-button:disabled{cursor:wait;opacity:.65;transform:none}.portal-button-primary{background:#4f46e5;color:#fff;box-shadow:0 10px 24px rgba(79,70,229,.22)}.portal-button-secondary{border:1px solid #cbd5e1;background:#fff;color:#334155}.portal-status{min-height:1.4rem;margin:1rem 0 0;font-size:.9rem;font-weight:700;color:#b91c1c}.portal-status-success{color:#047857}.portal-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-top:1.5rem;font-size:.9rem}.portal-links a,.portal-footer a{color:#4f46e5;font-weight:700;text-decoration:none}.portal-notice{margin-top:1.5rem;border:1px solid #c7d2fe;border-radius:14px;background:#eef2ff;padding:1rem;color:#3730a3;font-size:.9rem;line-height:1.6}.portal-empty-state{display:flex;gap:1rem;margin-top:2.5rem;border:1px solid #c7d2fe;border-radius:18px;background:#eef2ff;padding:1.4rem}.portal-empty-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;background:#4f46e5;color:#fff;font-weight:900}.portal-empty-state h2{margin:0;color:#312e81;font-size:1.05rem}.portal-empty-state p{margin:.4rem 0 0;color:#475569;line-height:1.6}.portal-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem 1.5rem;padding:1.5rem;color:#64748b;font-size:.82rem}.portal-loading{opacity:.7}@media(max-width:540px){.portal-header{height:68px;padding:0 1rem}.portal-main{padding:2rem 1rem}.portal-card{border-radius:20px}.portal-empty-state{flex-direction:column}}
.portal-label-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.portal-label-row label{margin:0}.portal-label-row a{color:#4f46e5;font-size:.78rem;font-weight:800;text-decoration:none}.portal-label-row a:hover{text-decoration:underline}
