:root {
  color-scheme: dark;
  --bg: #071b35;
  --surface: #0b2543;
  --field: #071d36;
  --text: #f1f7ff;
  --muted: #afc0d4;
  --line: #294661;
  --accent: #65d7ff;
  --accent-ink: #05243e;
  --error: #ffc2bd;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); background: var(--bg); }
button, input { font: inherit; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #a0e7ff; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 20px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1200px; margin: 0 auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .15em; font-size: 19px; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.site-nav a { text-decoration: none; }
.nav-register { border: 1px solid #466782; border-radius: 8px; padding: 9px 17px; color: var(--text); }
.home { min-height: calc(100svh - 152px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 24px 60px; }
.home-logo { width: min(340px, 72vw); height: auto; display: block; }
.home-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.home-actions .button { min-width: 132px; }
.domain { color: #9fb9d3; font-size: 13px; letter-spacing: .12em; margin: 25px 0 0; }
.site-footer { text-align: center; padding: 20px 24px 28px; font-size: 12px; color: #90aac4; }
.auth-layout { width: min(960px, calc(100% - 64px)); margin: 42px auto 60px; display: grid; grid-template-columns: minmax(220px, .85fr) minmax(360px, 1.15fr); gap: 74px; align-items: center; }
.brand-aside { text-align: center; padding-bottom: 25px; }
.aside-logo { width: min(290px, 100%); height: auto; }
.aside-title { margin: 5px 0 13px; font-size: 24px; font-weight: 600; letter-spacing: .06em; }
.aside-description { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 18px 65px #03122330; }
.eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 11px; letter-spacing: .18em; font-weight: 700; }
h1 { font-size: 28px; line-height: 1.3; font-weight: 650; letter-spacing: .02em; margin: 0 0 10px; }
.intro { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 25px; }
.steps { display: flex; gap: 18px; padding: 0; list-style: none; margin: 0 0 26px; font-size: 12px; color: #8da5bf; }
.steps li { display: flex; gap: 7px; align-items: center; }
.steps li span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #46627e; border-radius: 50%; font-size: 11px; }
.steps li[aria-current='step'] { color: var(--accent); }
.steps li[aria-current='step'] span { background: #65d7ff17; border-color: var(--accent); }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 550; color: #dce7f3; }
input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #385670; border-radius: 9px; background: var(--field); color: var(--text); font-size: 15px; transition: border-color .15s; }
input:hover { border-color: #547895; }
input:focus { border-color: var(--accent); outline: 2px solid #65d7ff25; outline-offset: 1px; }
input::placeholder { color: #7f99b3; opacity: 1; }
input[aria-invalid='true'] { border-color: #f09992; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--field) inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 61px; }
.password-toggle { position: absolute; top: 5px; right: 5px; height: 38px; padding: 0 10px; background: transparent; color: var(--muted); border: 0; border-radius: 5px; font-size: 12px; cursor: pointer; }
.password-toggle:hover { color: var(--accent); background: #65d7ff09; }
.field-help { margin: 7px 0 0; font-size: 12px; color: #a5bad0; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 21px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.button:hover { background: #91e3ff; color: var(--accent-ink); }
.button.secondary { border-color: #466782; background: transparent; color: var(--text); font-weight: 500; }
.button.secondary:hover { background: #ffffff07; border-color: #6892b1; }
.button.full { width: 100%; margin-top: 3px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.text-button { background: none; border: 0; padding: 0; font-size: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: #a0e7ff; }
.form-links { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; margin: -3px 0 20px; }
.form-links a { text-decoration: none; }
.bottom-link { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.8; margin: 23px 0 0; }
.secondary-link { text-align: center; font-size: 12px; margin: 15px 0 0; color: var(--muted); }
.notice { padding: 12px 14px; margin: 0 0 20px; background: #65d7ff0b; color: #c6eafb; border: 1px solid #38617e; border-radius: 9px; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.notice[data-kind='error'] { color: var(--error); background: #ee6a6010; border-color: #86514f; }
.notice[data-kind='success'] { color: #b0efdc; background: #4bce9910; border-color: #3e786c; }
.service-notice { color: #f1d4a0; border-color: #726244; background: #d9a3510c; }
.sent-to { margin: -12px 0 22px; color: var(--text); font-size: 14px; overflow-wrap: anywhere; font-weight: 550; }
.otp { letter-spacing: .4em; font-size: 22px; text-align: center; padding-left: 21px; font-variant-numeric: tabular-nums; }
.resend-row { display: flex; justify-content: center; margin: 19px 0 0; font-size: 13px; }
.verify-symbol { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #417a96; border-radius: 12px; margin-bottom: 20px; color: var(--accent); background: #65d7ff09; }
.verify-symbol svg { width: 23px; height: 23px; }
.account-layout { width: min(500px, calc(100% - 40px)); margin: 70px auto; }
.account-layout .intro { margin-bottom: 28px; }
.account-details { padding: 0; margin: 0 0 28px; }
.account-details > div { padding: 17px 0; border-top: 1px solid var(--line); }
.account-details dt { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.account-details dd { font-size: 15px; margin: 0; overflow-wrap: anywhere; }
.verified { color: #a5e8d6; font-size: 12px; }
.account-loading { margin: 20px 0; color: var(--muted); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
noscript p { max-width: 520px; margin: 24px auto; padding: 15px; color: var(--error); border: 1px solid #86514f; border-radius: 9px; line-height: 1.7; }
@media (max-width: 800px) {
  .site-header { padding: 23px 26px; }
  .auth-layout { width: min(460px, calc(100% - 36px)); grid-template-columns: 1fr; margin: 22px auto 42px; gap: 20px; }
  .brand-aside { display: none; }
  .auth-card { padding: 30px; }
  .home { padding-bottom: 30px; }
  .account-layout { margin-top: 42px; }
}
@media (max-width: 420px) {
  .auth-card { padding: 25px 22px; border-radius: 15px; }
  .site-header { padding: 23px 21px; }
  .site-nav { gap: 17px; }
  h1 { font-size: 26px; }
  .home-actions { gap: 12px; }
  input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.home-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); background: #0b1222; font-size: 14px; }
.workspace-shell { min-height: 100vh; background: #0b1222; color: #f4f7ff; }
.workspace-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 2; width: 226px; display: flex; flex-direction: column; padding: 24px 12px 18px; background: #101a31; border-right: 1px solid #2b395c; }
.workspace-brand { display: flex; align-items: center; gap: 11px; padding: 4px 12px 28px; color: #f5f4ff; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #8f7dd8; border-radius: 50%; color: #c8b6ff; font-size: 14px; }
.workspace-nav { display: grid; gap: 5px; }.workspace-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: #aeb9d2; text-decoration: none; font-size: 13px; }.workspace-nav a:hover { background: #ffffff08; color: #f5f4ff; }.workspace-nav a[aria-current='page'] { background: #302947; color: #e2d9ff; }.nav-indicator { width: 4px; height: 16px; border-radius: 5px; background: transparent; }.workspace-nav a[aria-current='page'] .nav-indicator { background: #c1a5ff; }
.sidebar-footer { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 13px 12px; border-top: 1px solid #293653; color: #7887a4; font-size: 11px; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ad6ab; box-shadow: 0 0 0 4px #5ad6ab18; }.workspace-main { min-height: 100vh; margin-left: 226px; }
.workspace-header { height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 42px; border-bottom: 1px solid #293653; background: #111a32; }.header-context { margin: 0 0 3px; color: #7484a4; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }.header-title { margin: 0; color: #f7f8ff; font-size: 17px; font-weight: 650; }
.user-menu { position: relative; }.user-menu summary { display: flex; align-items: center; gap: 9px; padding: 5px 4px 5px 8px; border-radius: 7px; color: #e8edfb; cursor: pointer; list-style: none; font-size: 12px; }.user-menu summary::-webkit-details-marker { display: none; }.user-menu summary:hover { background: #ffffff08; }.user-avatar { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #8858a2; color: #fff; font-size: 11px; font-weight: 700; }.user-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.menu-chevron { color: #8390a9; font-size: 15px; }.user-menu-panel { position: absolute; top: calc(100% + 9px); right: 0; z-index: 4; width: 220px; padding: 14px; border: 1px solid #354666; border-radius: 8px; background: #18233e; box-shadow: 0 18px 40px #02071280; }.user-menu-label { margin: 0 0 4px; color: #8290aa; font-size: 11px; }.user-menu-email { overflow-wrap: anywhere; margin: 0 0 12px; color: #f2f5fc; font-size: 12px; }.user-menu-panel a, .user-menu-panel button { display: block; width: 100%; padding: 9px 0; border: 0; border-top: 1px solid #2b3a5a; background: none; color: #cdd6ea; text-align: left; text-decoration: none; cursor: pointer; font-size: 12px; }.user-menu-panel a:hover, .user-menu-panel button:hover { color: #d4bbff; }
.workspace-content { width: min(1180px, calc(100% - 72px)); margin: 0 auto; padding: 32px 0 50px; }.workspace-notice { margin-bottom: 18px; }.welcome-band { display: flex; align-items: center; justify-content: space-between; min-height: 142px; padding: 28px 32px; border: 1px solid #34476f; border-radius: 14px; background: #152342; overflow: hidden; }.welcome-band .eyebrow { margin-bottom: 9px; color: #a993e7; }.welcome-band h1 { margin-bottom: 8px; font-size: 30px; letter-spacing: .01em; }.welcome-band p:last-child { margin: 0; color: #aab8d1; font-size: 14px; }.welcome-mark { margin-right: 24px; color: #3a4d75; font-size: 72px; font-weight: 800; letter-spacing: -.1em; }
.models-section { margin-top: 32px; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }.section-kicker { margin: 0 0 5px; color: #7e8dad; font-size: 10px; letter-spacing: .16em; }.section-heading h2 { margin: 0; font-size: 20px; font-weight: 650; }.model-count { color: #8f9cba; font-size: 12px; }.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.model-card { min-height: 240px; display: flex; flex-direction: column; padding: 22px; border: 1px solid #304366; border-radius: 11px; background: #141f3a; transition: transform .15s, border-color .15s, background .15s; }.model-card:hover { transform: translateY(-2px); border-color: #596c98; background: #182542; }.model-card-top { display: flex; align-items: center; justify-content: space-between; }.model-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; font-size: 15px; font-weight: 700; }.model-family { color: #8996b3; font-size: 10px; letter-spacing: .12em; }.model-card h3 { margin: 28px 0 9px; font-size: 23px; font-weight: 650; }.model-description { min-height: 48px; margin: 0; color: #aeb9d0; font-size: 13px; line-height: 1.75; }.model-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid #2a3a5a; color: #8997b4; font-size: 11px; }.model-index { color: #627294; font-variant-numeric: tabular-nums; }.model-astra .model-symbol { background: #68539b; }.model-claude .model-symbol { background: #9a624d; }.model-gemini .model-symbol { background: #397e91; }.workspace-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 16px; border: 1px solid #293b5f; border-radius: 8px; color: #8998b5; font-size: 12px; }.workspace-note p { margin: 0; }.note-mark { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #526485; border-radius: 50%; color: #afbbe1; font-size: 11px; }.workspace-bottom { padding: 0 42px 24px; color: #647391; font-size: 11px; }.noscript-workspace { margin: 30px; padding: 16px; border: 1px solid #86514f; color: var(--error); }
@media (max-width: 800px) { .workspace-sidebar { position: static; width: 100%; min-height: auto; padding: 12px 14px; border-right: 0; border-bottom: 1px solid #2b395c; }.workspace-brand { padding: 2px 6px 13px; }.workspace-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.workspace-nav a { min-height: 38px; }.sidebar-footer { display: none; }.workspace-main { margin-left: 0; }.workspace-header { height: 70px; padding: 0 20px; }.workspace-content { width: min(100% - 36px, 680px); padding-top: 22px; }.welcome-band { padding: 24px; }.welcome-mark { margin-right: 0; font-size: 52px; }.model-grid { grid-template-columns: 1fr; }.model-card { min-height: 205px; }.workspace-bottom { padding: 0 20px 20px; } }
@media (max-width: 420px) { .workspace-header { padding: 0 14px; }.user-name { max-width: 130px; }.welcome-band { align-items: flex-start; padding: 20px; }.welcome-mark { display: none; }.welcome-band h1 { font-size: 25px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 5px; } }
