:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eaf3fb;background:#070f1b;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 95% 0,#14244188,transparent 50%),#070f1b;min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,summary:focus-visible{outline:3px solid #58d8ff;outline-offset:5px}p{color:#a8bbce;line-height:1.65}h1,h2,h3{letter-spacing:-.035em;margin:0}h1{font-size:36px}h2{font-size:22px}h3{font-size:17px}.skip{position:fixed;left:12px;top:-100px;background:#35c9ee;color:#071221;padding:12px;z-index:100}.skip:focus{top:12px}.account-top{height:78px;position:sticky;top:0;z-index:20;background:#08121eeF;border-bottom:1px solid #23374b;backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{font-size:17px;letter-spacing:-.04em;font-weight:850;display:flex;gap:12px;align-items:center}.brand-mark{font-size:30px;color:#67dcfa}.account-actions{display:flex;align-items:center;gap:24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:1px solid #34536c;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:700}.button.primary{background:#50d1f5;border-color:#50d1f5;color:#042039}.button:hover{filter:brightness(1.1)}.quiet{border:0;color:#a6c5df}.user-menu{position:relative}.user-menu summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px;font-weight:650;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu small{display:block;font-size:11px;color:#94acc1;margin-top:3px}.avatar{width:38px;height:38px;display:grid;place-items:center;flex:none;background:#1c4a64;border:1px solid #36728a;border-radius:50%;color:#b8efff;font-size:13px;font-weight:800}.avatar.large{width:72px;height:72px;font-size:26px}.popover{position:absolute;right:0;top:52px;width:210px;padding:10px;background:#112338;border:1px solid #34536c;border-radius:12px;box-shadow:0 15px 40px #0008}.popover a{display:block;padding:12px;border-radius:7px;font-size:14px}.popover a:hover{background:#1a3b52}.account-layout{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1600px;margin:auto}.account-sidebar{border-right:1px solid #1a2c3e;padding:36px 20px;position:sticky;top:78px;height:calc(100vh - 78px);display:flex;flex-direction:column}.nav-label{font-size:10px;font-weight:800;letter-spacing:.15em;color:#68869e;padding:0 14px;margin-bottom:18px}.account-sidebar nav{display:flex;flex-direction:column;gap:7px}.account-sidebar nav a{display:flex;align-items:center;gap:12px;border:1px solid transparent;border-radius:9px;color:#9db3c8;padding:12px 14px;font-size:14px;font-weight:600}.account-sidebar nav a:hover{background:#112639}.account-sidebar nav a[aria-current]{background:#143349;border-color:#275773;color:#a9e9ff}.nav-dot{width:7px;height:7px;border-radius:2px;background:currentColor;opacity:.65}.sidebar-foot{margin-top:auto;padding:25px 14px 0;font-size:12px;line-height:1.8;color:#607e96}main{padding:28px 42px 20px;max-width:1230px;width:100%;margin:auto}.preview{display:flex;align-items:center;gap:11px;flex-wrap:wrap;background:#102b3e;border:1px solid #26516a;border-radius:9px;padding:12px 16px;font-size:12px;color:#9cbdd4;margin-bottom:28px}.preview strong{color:#b9edff}.status-dot{width:6px;height:6px;background:#5fd6f8;border-radius:50%}.page-heading{margin:0 0 28px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#5cd2f5;margin-bottom:12px}.page-heading p{margin:10px 0 0;font-size:15px}.welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:220px;background:linear-gradient(120deg,#16394d,#10283e 65%,#19263d);border:1px solid #2c526a;border-radius:18px;padding:32px;margin-bottom:24px}.welcome-panel .eyebrow{display:block}.welcome-panel h2{font-size:28px}.welcome-panel p{max-width:620px;font-size:14px;margin:12px 0 22px}.identity-mark{width:105px;height:105px;border-radius:26px;transform:rotate(-8deg);background:#2b506980;border:1px solid #51839a70;display:grid;place-items:center;font-size:34px;font-weight:800;color:#9ce3fa;flex:none}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.section-card{display:block;position:relative;background:#0e2032;border:1px solid #263d52;border-radius:14px;padding:24px;transition:border-color .15s,transform .15s}.section-card:hover{border-color:#54b3d1;transform:translateY(-2px)}.section-card h2{font-size:18px;padding-right:18px}.section-card p{font-size:13px;min-height:44px}.card-arrow{position:absolute;top:22px;right:20px;color:#698da9}.card-link{font-size:12px;font-weight:700;color:#74d9f9}.panel{border:1px solid #253e53;background:#0d1d2d;border-radius:16px;padding:28px;margin-bottom:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}.panel-title p{font-size:13px}.subtle{font-size:12px;color:#7d9ab2!important;line-height:1.7}.relationship{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #20364a;font-size:14px}.relationship:last-child{border:0;padding-bottom:0}.relationship span:not(.role-tag){display:block;color:#89a5bd;font-size:12px;margin-top:5px}.role-tag{padding:5px 10px;background:#19354a;border:1px solid #2a526a;color:#aed9ef;border-radius:7px;font-size:11px;white-space:nowrap}.profile-panel{display:flex;gap:24px;align-items:center}.profile-panel p{font-size:14px;margin-bottom:0}dl{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;font-size:14px;margin-top:28px}dt{color:#91aec6}dd{margin:0;line-height:1.8;overflow-wrap:anywhere}.context-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.context-tabs a{padding:11px 17px;border:1px solid #29485e;border-radius:9px;font-size:13px;color:#9fbcd2}.context-tabs a[aria-current]{background:#173d53;border-color:#50badc;color:#c6f2ff}.record{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #20364a;padding:20px 0}.record p{font-size:13px;margin:7px 0 0}.empty-state{padding:44px 15px;text-align:center}.empty-state p{font-size:14px}footer{display:flex;justify-content:space-between;color:#5d7c94;font-size:11px;margin:35px 0 12px;gap:20px}.page-loading{display:none;position:fixed;inset:78px 0 0;background:#07121cd9;backdrop-filter:blur(3px);z-index:40;align-items:center;justify-content:center;gap:14px;font-size:14px}.loading .page-loading{display:flex}.spinner{width:25px;height:25px;border:2px solid #2a5369;border-top-color:#56d6f8;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation-duration:2s!important;transition:none!important}}@media(max-width:1100px){main{padding:25px}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-layout{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:760px){.account-top{padding:0 16px;height:68px}.brand{font-size:14px}.account-actions{gap:5px}.quiet{font-size:12px;padding:9px}.user-menu summary>span:not(.avatar){display:none}.account-layout{display:block}.account-sidebar{position:static;height:auto;padding:15px;border-right:0;border-bottom:1px solid #20364a}.nav-label,.sidebar-foot{display:none}.account-sidebar nav{flex-direction:row;overflow:auto;padding-bottom:3px}.account-sidebar nav a{white-space:nowrap;padding:9px 12px;font-size:12px}.nav-dot{display:none}main{padding:20px 16px}.preview{font-size:11px}.preview>span:last-child{display:none}h1{font-size:29px}.welcome-panel{padding:24px;min-height:0}.welcome-panel h2{font-size:23px}.identity-mark{display:none}.section-grid{gap:12px}.section-card{padding:20px 16px}.section-card h2{font-size:16px}.section-card p{font-size:12px}.panel{padding:22px}.panel-title h2{font-size:19px}.profile-panel{align-items:flex-start;gap:16px}dl{grid-template-columns:1fr;gap:8px}dd{margin-bottom:15px}.page-loading{inset:68px 0 0}footer span{display:none}}

.settings-form{max-width:680px;margin-top:24px}.settings-form label{display:block;color:#b4cadd;font-size:14px;margin-bottom:20px}.settings-form input{display:block;width:100%;margin-top:9px;padding:13px 14px;color:#eaf3fb;background:#081625;border:1px solid #34536c;border-radius:9px}.settings-form input:focus-visible,.settings-form button:focus-visible{outline:3px solid #58d8ff;outline-offset:3px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-form button{cursor:pointer}.settings-notice,.settings-error{padding:14px;border:1px solid #34758c;border-radius:9px;background:#12394b}.settings-error{color:#ffd2a8;border-color:#896343}@media(max-width:600px){.settings-grid{grid-template-columns:1fr;gap:0}}

/* Account and recovery pages share the portal background. */
body{background-color:#050b15;background-image:radial-gradient(circle at 8% -8%,rgba(50,188,255,.18),transparent 31rem),radial-gradient(circle at 98% 1%,rgba(102,83,255,.16),transparent 37rem),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(180deg,#07111f,#050b15 55%,#030811);background-size:auto,auto,48px 48px,48px 48px,auto;background-attachment:fixed}
