@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090d18;--surface:#111827;--surface-2:#172235;--surface-3:#1d2a40;--line:rgba(148,163,184,.16);--text:#edf3ff;--muted:#91a0b8;--accent:#9db8ff;--accent-strong:#789cff;--green:#75d6ad;--red:#ff929b;--shadow:0 24px 70px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0!important;padding:28px!important;min-height:100vh;background:radial-gradient(ellipse at 12% 0%,rgba(74,108,190,.16),transparent 34%),radial-gradient(ellipse at 90% 12%,rgba(92,75,157,.12),transparent 28%),var(--bg)!important;color:var(--text)!important;font:14px/1.65 'DM Sans','Noto Sans SC',system-ui,sans-serif!important;letter-spacing:.01em}main{width:min(1160px,100%);max-width:1160px!important;margin:0 auto!important}.top,header.top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px!important;margin:0 0 20px!important;border:1px solid var(--line)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(24,37,60,.96),rgba(16,24,40,.96))!important;box-shadow:var(--shadow)}h1{font-size:25px!important;font-weight:800;letter-spacing:-.04em;margin:0!important}h1:before{content:'✳';display:inline-grid;place-items:center;width:34px;height:34px;margin-right:10px;border-radius:11px;background:linear-gradient(145deg,#c4d5ff,#829fff);color:#18233b;font-size:18px;vertical-align:middle}h2{font-size:17px!important;font-weight:700;margin:0 0 16px!important;letter-spacing:-.02em}p{color:var(--muted)!important;margin:10px 0}a{color:var(--accent)!important;text-decoration:none!important;transition:color .18s,opacity .18s}a:hover{color:#d4e0ff!important;text-decoration:none!important}.nav{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;margin-top:12px!important}.nav a,.pill{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.035);font-size:12px;font-weight:600}.nav a:hover,.pill:hover{background:rgba(157,184,255,.12);border-color:rgba(157,184,255,.32)}.panel,.card,section{padding:22px!important;margin:0 0 18px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(19,29,47,.98),rgba(14,22,37,.98))!important;box-shadow:0 14px 42px rgba(0,0,0,.12)}.panel>p:first-child{margin-top:0}.panel .top{padding:0!important;margin:0 0 16px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}.panel .top h2{margin:0!important}.grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px!important}.row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:15px 4px!important;border-bottom:1px solid var(--line)!important;overflow-wrap:anywhere}.row:last-child{border-bottom:0!important}.row>a{font-size:14px}.row>a strong{font-weight:700}.muted,.small{color:var(--muted)!important}.small{font-size:12px!important}.subject{font-size:23px!important;line-height:1.35;margin:14px 0}.message{white-space:pre-wrap;overflow-wrap:anywhere;background:#0b1322!important;border:1px solid var(--line);border-radius:14px;padding:20px!important;min-height:180px;color:#dbe6fa}.error{color:var(--red)!important}.success{color:var(--green)!important}.pill{color:#c7d6f5!important}label{display:block;color:#cbd7eb;font-size:13px;font-weight:600;margin:0 0 12px}input,select,textarea,button{font:inherit!important;border:1px solid rgba(148,163,184,.24)!important;border-radius:11px!important;padding:11px 13px!important;background:#0b1424!important;color:var(--text)!important;max-width:100%;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}input,select,textarea{display:block;width:100%;margin:6px 0 14px!important}input:focus,select:focus,textarea:focus{border-color:rgba(157,184,255,.75)!important;box-shadow:0 0 0 3px rgba(120,156,255,.12)}input::placeholder,textarea::placeholder{color:#64748b}textarea{min-height:240px;resize:vertical}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px!important;border:1px solid transparent!important;background:linear-gradient(135deg,#c6d7ff,#8eacff)!important;color:#101a30!important;font-weight:800!important;cursor:pointer;box-shadow:0 7px 18px rgba(100,135,220,.18)}button:hover{filter:brightness(1.07);transform:translateY(-1px)}button:active{transform:translateY(0)}form.inline{display:inline}form.inline button{padding:8px 12px!important;background:rgba(255,255,255,.06)!important;border-color:var(--line)!important;color:var(--text)!important;box-shadow:none}table{width:100%;border-collapse:separate!important;border-spacing:0;overflow:hidden;border:1px solid var(--line);border-radius:13px}td,th{text-align:left;padding:12px 14px!important;border-bottom:1px solid var(--line)!important;vertical-align:middle}th{color:#aebbd0!important;background:rgba(255,255,255,.035);font-size:12px;text-transform:none}tr:last-child td{border-bottom:0!important}td form{display:flex;align-items:center;gap:8px;min-width:180px}td form select{margin:0!important;min-width:100px}td form button{padding:8px 11px!important}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.cards .card{min-height:120px;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted)}.num{font-size:32px;font-weight:800;letter-spacing:-.05em;color:var(--text)}.error,.success{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04)}.top form{margin:0}.top form button{white-space:nowrap}.panel>form>label{margin-bottom:12px}.panel>form>button{margin-top:3px}.panel .nav{margin:12px 0 4px}.panel table{display:table}.panel>div[style*="display:flex"]{align-items:end}.panel .row:hover{background:rgba(157,184,255,.025)}
body:has(.login-shell){display:grid!important;place-items:center;padding:24px!important}.login-shell{width:min(440px,100%);padding:34px!important;border:1px solid var(--line)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(21,32,52,.98),rgba(13,21,36,.98))!important;box-shadow:var(--shadow)}.login-shell h1{margin-bottom:10px!important}.login-shell p{margin:0 0 24px}.login-shell button{width:100%;margin-top:8px}.login-brand{margin-bottom:22px}.login-brand .eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:800}.login-shell .field{margin:18px 0 7px}.login-shell input{margin-top:7px!important}
@media(max-width:720px){body{padding:13px!important}.top,header.top{align-items:flex-start;padding:17px!important;border-radius:17px!important}.top>div{min-width:0}.top h1{font-size:21px!important}.panel,.card,section{padding:17px!important;border-radius:16px!important}.nav{gap:7px}.nav a,.pill{padding:6px 10px}.grid{grid-template-columns:1fr!important}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .card{min-height:100px}table{display:block;overflow-x:auto;white-space:nowrap}td,th{padding:9px!important}td form{min-width:165px}.subject{font-size:20px!important}.top form{width:100%}.top form button{width:100%}}
@media(max-width:420px){.cards{grid-template-columns:1fr}.top h1:before{width:30px;height:30px}.nav a{font-size:11px}}


/* OAuth sign-in */
.auth-page{min-height:100vh;margin:0;background:#fff;color:#111827;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;align-items:center;justify-content:center;padding:32px 20px;box-sizing:border-box}.auth-wrap{width:min(100%,620px);text-align:center}.auth-icon{width:96px;height:96px;margin:0 auto 28px;border-radius:26px;background:#111629;display:grid;place-items:center}.auth-icon svg{width:54px;height:54px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-wrap h1{font-size:34px;line-height:1.2;margin:0 0 14px;font-weight:750}.auth-subtitle{font-size:19px;color:#7b8492;margin:0 0 56px}.auth-card{border:1px solid #e5e7eb;border-radius:17px;padding:26px 34px 34px;box-shadow:0 2px 5px rgba(15,23,42,.04);text-align:left}.auth-tabs{display:flex;justify-content:center;border-bottom:1px solid #e5e7eb;margin-bottom:36px}.auth-tab{font-size:18px;color:#111827;padding:16px 36px 20px;border-bottom:3px solid #111827;font-weight:600}.auth-description{font-size:17px;line-height:1.7;color:#77808e;margin:0 0 32px}.oauth-button{height:62px;border-radius:12px;background:#111629;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:12px;font-size:18px;font-weight:650;transition:transform .15s,background .15s}.oauth-button:hover{background:#202943;transform:translateY(-1px)}.oauth-mark{width:27px;height:27px;border:1.5px solid rgba(255,255,255,.8);border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:800}.auth-legal{margin:38px 0 0;color:#858d99;font-size:15px}.auth-legal a{color:inherit}.login-error{color:#b42318;background:#fff1f0;border:1px solid #ffd6d2;border-radius:10px;padding:12px 14px;margin:0 0 18px;font-size:14px}@media(max-width:520px){.auth-page{align-items:center;padding:24px 18px}.auth-icon{width:84px;height:84px;margin-bottom:24px}.auth-wrap h1{font-size:30px}.auth-subtitle{font-size:17px;margin-bottom:48px}.auth-card{padding:18px 20px 24px}.auth-tab{font-size:16px;padding:14px 24px 17px}.auth-description{font-size:15px;margin-bottom:26px}.oauth-button{height:58px;font-size:16px}.auth-legal{font-size:13px;margin-top:30px}}

/* Refined OAuth login page */
.auth-page{--auth-ink:#17233d;--auth-muted:#7d899e;--auth-blue:#526ee8;--auth-lilac:#8e83ee;display:flex!important;align-items:center!important;justify-content:center!important;min-height:100svh!important;padding:48px 22px!important;margin:0!important;background:radial-gradient(ellipse at 12% 10%,rgba(166,190,255,.32),transparent 34%),radial-gradient(ellipse at 88% 82%,rgba(202,185,255,.3),transparent 34%),linear-gradient(135deg,#f7f9ff 0%,#f4f6fc 52%,#fbf8ff 100%)!important;color:var(--auth-ink)!important;font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif!important;letter-spacing:0!important;position:relative;overflow-x:hidden}
.auth-page:before,.auth-page:after{content:'';position:fixed;pointer-events:none;border:1px solid rgba(111,137,211,.13);border-radius:50%;width:420px;height:420px;z-index:0}
.auth-page:before{top:-270px;right:-130px;box-shadow:0 0 0 34px rgba(111,137,211,.035),0 0 0 70px rgba(111,137,211,.025)}
.auth-page:after{bottom:-310px;left:-170px;width:520px;height:520px;box-shadow:0 0 0 42px rgba(147,129,220,.035),0 0 0 86px rgba(147,129,220,.025)}
.auth-wrap{position:relative;z-index:1;width:min(100%,460px)!important;max-width:460px!important;margin:auto!important;text-align:left!important}
.auth-brand{display:inline-flex;align-items:center;gap:11px;margin:0 0 48px;color:var(--auth-ink)!important;text-decoration:none!important}
.auth-brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#26375d,#526ee8);box-shadow:0 8px 18px rgba(69,94,177,.22)}
.auth-brand-icon svg{width:23px;height:23px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-brand-name{font-size:18px;font-weight:600;letter-spacing:-.045em}.auth-brand-name b{font-weight:800;color:#526ee8}
.auth-intro{margin-bottom:32px}.auth-kicker,.auth-step{display:block;color:#7183c4;font-size:10px;font-weight:800;letter-spacing:.2em}
.auth-intro h1{margin:13px 0 16px!important;color:#1b2945!important;font-size:clamp(34px,8vw,43px)!important;line-height:1.25!important;font-weight:800!important;letter-spacing:-.065em!important}
.auth-intro h1:before,.auth-wrap h1:before{display:none!important;content:none!important}.auth-intro h1 em{font-style:normal;color:#6378d9}
.auth-subtitle{margin:0!important;color:#8290a7!important;font-size:15px!important;line-height:1.9!important;font-weight:450}
.auth-card{padding:30px!important;margin:0!important;border:1px solid rgba(197,207,229,.72)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 22px 60px rgba(48,67,117,.09),0 2px 8px rgba(48,67,117,.035)!important;backdrop-filter:blur(18px)}
.auth-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.auth-card-heading h2{margin:5px 0 0!important;color:#1d2a45!important;font-size:23px!important;font-weight:800!important;letter-spacing:-.045em}
.auth-secure{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e6eafa;border-radius:999px;background:#f7f8ff;color:#7584b7;font-size:11px;font-weight:650;white-space:nowrap}.auth-secure svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-description{margin:0 0 25px!important;color:#8290a5!important;font-size:13px!important;line-height:1.85!important}
.oauth-button{position:relative;display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;height:58px;padding:0 18px!important;border:0!important;border-radius:13px!important;background:linear-gradient(105deg,#25365d 0%,#435bb0 58%,#6879dc 100%)!important;color:#fff!important;font-size:15px!important;font-weight:700!important;letter-spacing:.01em;box-shadow:0 10px 22px rgba(65,88,174,.22);transition:transform .2s,box-shadow .2s,filter .2s}
.oauth-button:hover{color:#fff!important;transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 14px 28px rgba(65,88,174,.28)}.oauth-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid rgba(255,255,255,.58);border-radius:9px;background:rgba(255,255,255,.12);font-size:16px;font-weight:800;color:#fff}
.oauth-arrow{position:absolute;right:18px;width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.auth-note{display:flex;align-items:center;gap:8px;margin-top:19px;color:#9aa5b8;font-size:11px;line-height:1.6}.auth-note-dot{width:6px;height:6px;border-radius:50%;background:#72b99c;box-shadow:0 0 0 4px rgba(114,185,156,.12);flex:none}
.auth-footer{margin-top:25px;text-align:center}.auth-footer p{margin:0 0 9px!important;color:#929db0!important;font-size:11px!important}.auth-footer>span{color:#b0b9c8;font-size:10px;letter-spacing:.06em}
.auth-legal{display:none!important}.login-error{margin:0 0 18px!important;border:1px solid #f5cece!important;border-radius:12px!important;background:#fff5f5!important;color:#b42318!important;font-size:13px!important}
@media(max-width:520px){.auth-page{padding:30px 20px!important}.auth-wrap{max-width:420px!important}.auth-brand{margin-bottom:38px}.auth-intro{margin-bottom:27px}.auth-intro h1{font-size:35px!important}.auth-subtitle{font-size:14px!important}.auth-card{padding:23px 20px!important;border-radius:19px!important}.auth-card-heading h2{font-size:21px!important}.auth-description{font-size:12px!important;margin-bottom:21px!important}.oauth-button{height:55px;font-size:14px!important}.auth-footer{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.oauth-button{transition:none}}
