:root { --navy:#102a43; --blue:#1e5eff; --ink:#10243e; --muted:#60758d; --line:#dbe5ee; --surface:#fff; --background:#f3f7fb; }
* { box-sizing:border-box; }
html { font-size:16px; min-height:100%; }
body { min-height:100vh; margin:0; background:var(--background); color:var(--ink); font-family:Inter,"Segoe UI",system-ui,sans-serif; display:flex; flex-direction:column; }
.topbar { height:82px; padding:0 clamp(24px,6vw,88px); background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; gap:12px; align-items:center; color:var(--navy); text-decoration:none; }
.brand-mark,.login-icon { display:grid; place-items:center; color:#fff; font-weight:800; background:linear-gradient(145deg,var(--blue),#173b8f); }
.brand-mark { width:42px; height:42px; border-radius:12px; font-size:21px; }
.brand strong { display:block; letter-spacing:.12em; font-size:15px; }
.brand small { display:block; color:var(--muted); margin-top:1px; font-size:12px; }
.secure-indicator { color:#416078; font-size:14px; display:flex; align-items:center; gap:8px; }
.secure-indicator span { width:9px; height:9px; border-radius:50%; background:#17a673; box-shadow:0 0 0 4px #daf5eb; }
.page-shell { flex:1; display:grid; place-items:center; padding:64px 24px; overflow:hidden; position:relative; }
.page-shell::before,.page-shell::after { content:""; position:absolute; border-radius:50%; opacity:.55; pointer-events:none; }
.page-shell::before { width:420px; height:420px; background:#d9e8ff; top:-230px; right:-120px; }
.page-shell::after { width:320px; height:320px; background:#dff7f5; bottom:-220px; left:-90px; }
main { width:min(1120px,100%); position:relative; z-index:1; }
.login-layout { display:grid; grid-template-columns:1.1fr .8fr; gap:clamp(48px,8vw,110px); align-items:center; }
.eyebrow,.card-kicker { color:var(--blue); font-weight:750; font-size:12px; letter-spacing:.14em; }
.intro-panel h1 { color:var(--navy); margin:16px 0 18px; max-width:650px; font-size:clamp(40px,5vw,66px); line-height:1.04; letter-spacing:-.04em; }
.intro-panel>p { max-width:610px; color:var(--muted); font-size:19px; line-height:1.65; }
.feature-list { margin:34px 0 0; padding:0; list-style:none; display:grid; gap:16px; color:#294760; }
.feature-list li { display:flex; gap:12px; align-items:center; }
.feature-list span { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:#dff7f2; color:#087d5b; font-weight:800; }
.login-card { background:var(--surface); border:1px solid #e3ebf2; border-radius:24px; box-shadow:0 22px 65px rgba(28,58,92,.12); padding:40px; }
.login-icon { width:48px; height:48px; border-radius:14px; margin-bottom:28px; }
.login-card h2 { margin:8px 0; color:var(--navy); font-size:30px; letter-spacing:-.02em; }
.card-copy { color:var(--muted); margin:0 0 28px; }
form { display:grid; gap:10px; }
label { color:#294760; font-size:14px; font-weight:650; margin-top:8px; }
input { width:100%; height:50px; border:1px solid #cbd9e5; border-radius:11px; padding:0 15px; background:#f9fbfd; color:var(--ink); }
button { margin-top:15px; height:50px; border:0; border-radius:11px; color:#fff; font-weight:700; background:linear-gradient(100deg,var(--blue),#1746b5); cursor:pointer; }
button:hover { filter:brightness(.96); }
.form-error { color:#a93636; background:#fff0f0; border-radius:9px; font-size:13px; }
.form-error ul { margin:0; padding:10px 14px 10px 30px; }
.preview-note { margin:18px 0 0; text-align:center; color:#7890a5; font-size:12px; }
.site-footer { min-height:60px; padding:18px clamp(24px,6vw,88px); display:flex; justify-content:space-between; color:#7d91a3; font-size:12px; }
.dashboard { width:100%; }
.dashboard-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.dashboard-head h1 { margin:8px 0 4px; color:var(--navy); font-size:42px; letter-spacing:-.035em; }
.dashboard-head p { margin:0; color:var(--muted); }
.dashboard-head form { display:block; }
.secondary-button { height:42px; margin:0; padding:0 18px; background:#fff; color:#345069; border:1px solid #cbd9e5; }
.notice { padding:13px 16px; margin-bottom:16px; border:1px solid #bfe9da; border-radius:11px; color:#087353; background:#ebfaf5; }
.invite-card { margin-bottom:16px; padding:18px 22px; display:flex; align-items:center; justify-content:space-between; gap:24px; background:#fff; border:1px solid #e0e9f0; border-radius:15px; }
.invite-card strong,.invite-card span { display:block; }
.invite-card span { margin-top:4px; color:var(--muted); font-size:13px; }
.invite-card form { display:flex; grid-template-columns:none; flex-direction:row; gap:10px; width:min(520px,55%); }
.invite-card input { min-width:220px; }
.invite-card button { height:50px; margin:0; padding:0 18px; white-space:nowrap; }
.invite-result { margin-bottom:16px; padding:18px 22px; border:1px solid #bfd1f8; border-radius:15px; background:#edf3ff; color:#173b72; overflow-wrap:anywhere; }
.invite-result p { margin:8px 0; padding:10px; border-radius:8px; background:#fff; font-family:Consolas,monospace; font-size:12px; }
.invite-result small { color:#587298; }
.setup-wrap { width:min(440px,100%); margin:auto; }
.primary-link { display:block; padding:14px 18px; border-radius:11px; text-align:center; color:#fff; background:linear-gradient(100deg,var(--blue),#1746b5); text-decoration:none; font-weight:700; }
.account-card { overflow:hidden; background:#fff; border:1px solid #e0e9f0; border-radius:18px; box-shadow:0 16px 46px rgba(28,58,92,.08); }
.table-head { padding:18px 22px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; color:#38546b; }
.table-head span { color:#7b8fa1; font-size:13px; }
.account-list { display:grid; }
.account-row { min-height:86px; padding:16px 22px; display:grid; grid-template-columns:46px minmax(220px,1fr) 100px 110px; gap:16px; align-items:center; border-bottom:1px solid #edf2f6; }
.account-row:last-child { border-bottom:0; }
.avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:#2257bb; background:#e8f0ff; font-weight:800; }
.account-main strong,.account-main span { display:block; }
.account-main strong { color:#18364f; }
.account-main span { color:#8092a3; font-size:12px; margin-top:4px; }
.status { width:max-content; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:750; }
.status-active { color:#087353; background:#e4f7f0; }
.status-locked { color:#a93636; background:#ffeded; }
.account-row form { display:block; }
.row-button { width:100%; height:36px; margin:0; font-size:13px; background:#fff; }
.danger-button { color:#a93636; border:1px solid #efc6c6; }
.activate-button { color:#087353; border:1px solid #b7dfd0; }
.protected-label { color:#8395a5; font-size:12px; text-align:center; }
@media (max-width:820px) { .secure-indicator{display:none}.login-layout{grid-template-columns:1fr;gap:38px}.intro-panel h1{font-size:42px}.feature-list{display:none}.page-shell{padding:42px 20px}.login-card{padding:30px 24px}.site-footer{justify-content:center}.site-footer span:last-child{display:none} }
@media (max-width:680px) { .dashboard-head{align-items:flex-start}.account-row{grid-template-columns:42px 1fr 90px}.account-row form,.protected-label{grid-column:2/4}.table-head span{display:none}.invite-card{align-items:stretch;flex-direction:column}.invite-card form{width:100%;flex-direction:column}.invite-card button{width:100%} }
