:root {
  color-scheme: dark;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f2f2f2;
  background: #0d0d0d;
  font-synthesis: none;
  --muted: #a2a2a2;
  --accent: #bebebe;
  --line: #2c2c2c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 80% 30%, #181818 0, transparent 43%); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.page-shell { max-width: 1320px; min-height: 100vh; margin: 0 auto; padding: 0 64px; display: flex; flex-direction: column; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { color: #f6f6f6; display: inline-flex; align-items: baseline; gap: 5px; font-size: 32px; font-weight: 850; letter-spacing: -.08em; text-decoration: none; }
.wordmark-dot { display: inline-block; height: 6px; width: 6px; background: var(--accent); border-radius: 1px; }
.header-label, .site-footer, .eyebrow, .card-topline, .section-number, .summary-label { font-size: 10px; font-weight: 650; letter-spacing: .16em; }
.header-label { color: var(--muted); }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(40px, 7vw, 100px); align-items: center; padding: 72px 0; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #bebebe12; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(42px, 4.8vw, 66px); letter-spacing: -.055em; line-height: 1.07; margin-bottom: 25px; font-weight: 650; }
.welcome-copy h1 span { color: var(--accent); }
.welcome-description { color: #b4b4b4; font-size: 16px; line-height: 1.7; max-width: 360px; margin-bottom: 0; }
.welcome-details { display: grid; gap: 23px; margin-top: 51px; }
.welcome-detail { display: flex; gap: 19px; }
.detail-number { color: #7d7d7d; font-size: 11px; padding-top: 3px; }
.welcome-detail h2 { font-size: 13px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.welcome-detail p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.account-card, .settings-card { background: #151515; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.account-card { box-shadow: 0 24px 80px #00000035; }
.card-topline { color: #8f8f8f; display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; font-size: 9px; }
.card-corner { color: var(--accent); font-size: 17px; }
.auth-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid #292929; background: #0f0f0f; border-radius: 9px; margin-bottom: 28px; }
.auth-tab { flex: 1; border: 0; border-radius: 6px; background: transparent; color: var(--muted); padding: 10px 5px; font-size: 12px; font-weight: 600; }
.auth-tab[aria-selected="true"] { color: #f6f6f6; background: #282828; box-shadow: 0 2px 5px #00000020; }
.account-card h2, .settings-card h2 { font-size: 23px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 9px; }
.card-description { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 26px; }
.field { margin-bottom: 19px; }
label { display: block; font-size: 12px; font-weight: 550; color: #d8d8d8; margin-bottom: 9px; }
input { width: 100%; min-height: 46px; background: #0f0f0f; border: 1px solid #303030; border-radius: 7px; padding: 11px 13px; color: #f2f2f2; font-size: 13px; transition: border-color .15s; }
input:hover { border-color: #4d4d4d; }
input::placeholder { color: #8c8c8c; opacity: 1; }
input[aria-invalid="true"] { border-color: #bdbdbd; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 7px 0 0; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 7px; min-height: 46px; padding: 12px 16px; font-size: 12px; font-weight: 650; transition: background .15s, border-color .15s; }
.primary-button { background: var(--accent); border: 1px solid var(--accent); color: #161616; width: 100%; margin-top: 25px; }
.primary-button:hover:enabled { background: #cfcfcf; border-color: #cfcfcf; }
.secondary-button { color: #e5e5e5; background: #1c1c1c; border: 1px solid #3c3c3c; }
.secondary-button:hover:enabled { background: #292929; border-color: #686868; }
.card-footnote { color: #969696; font-size: 11px; text-align: center; border-top: 1px solid var(--line); padding-top: 22px; margin: 25px 0 0; line-height: 1.6; }
.notice, .form-error, .noscript-notice { font-size: 12px; line-height: 1.65; padding: 12px 14px; border: 1px solid #4e4e4e; background: #1f1f1f; color: #d9d9d9; border-radius: 7px; margin: 0 0 20px; overflow-wrap: anywhere; }
.notice.is-error, .form-error { border-color: #434343; background: #1e1e1e; color: #cfcfcf; }
.notice.is-info { border-color: #424242; background: #1e1e1e; color: #d9d9d9; }
.form-error { margin-top: 12px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 27px 0 29px; color: #999999; font-size: 9px; }
.site-footer span span { color: #535353; margin: 0 7px; }
.site-footer > span:last-child { letter-spacing: .04em; font-weight: 450; font-size: 11px; }
.loading-view { text-align: center; padding: 100px 20px; color: var(--muted); font-size: 13px; }
.loading-indicator { display: inline-block; width: 22px; height: 22px; border: 2px solid #363636; border-top-color: var(--accent); border-radius: 50%; margin-bottom: 16px; animation: spin 1s linear infinite; }
.account-layout { padding: 60px 0 72px; }
.account-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 40px; }
.account-heading-row .eyebrow { margin-bottom: 20px; }
.account-heading-row h1 { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 13px; overflow-wrap: anywhere; }
.account-heading-row .welcome-description { max-width: none; font-size: 14px; }
.account-heading-row .secondary-button { flex-shrink: 0; }
.account-summary { display: grid; grid-template-columns: 1fr 1fr 1.4fr; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; background: #141414; padding: 27px 0; }
.summary-item { display: flex; flex-direction: column; gap: 11px; padding: 0 28px; min-width: 0; }
.summary-item + .summary-item { border-left: 1px solid var(--line); }
.summary-label { color: var(--muted); font-size: 9px; }
.summary-item strong { color: #ededed; font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.summary-note { color: var(--muted); font-size: 11px; margin-top: -5px; }
.settings-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.section-number { display: block; color: var(--accent); font-size: 9px; margin-bottom: 25px; }
.settings-card .card-description { max-width: 340px; }
.settings-card form { margin-top: 26px; }
.session-card { display: flex; flex-direction: column; }
.session-illustration { display: flex; flex: 1; min-height: 180px; align-items: center; justify-content: center; position: relative; }
.session-ring { position: absolute; width: 118px; height: 118px; border: 1px solid #3a3a3a; border-radius: 50%; box-shadow: 0 0 0 25px #1a1a1a, 0 0 0 26px #262626; }
.session-symbol { position: relative; font-size: 47px; font-weight: 750; color: var(--accent); }
.wide-button { width: 100%; margin-top: 30px; }
.noscript-notice { margin: 30px 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .page-shell { padding: 0 36px; }
  .auth-layout { gap: 40px; grid-template-columns: 1fr minmax(330px, 400px); }
  h1 { font-size: 48px; }
  .welcome-description { font-size: 14px; }
  .account-card, .settings-card { padding: 27px; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 24px; }
  .site-header { min-height: 86px; }
  .auth-layout { grid-template-columns: 1fr; gap: 34px; padding: 42px 0; max-width: 460px; width: 100%; margin: 0 auto; }
  .welcome-copy .eyebrow { margin-bottom: 19px; }
  h1 { font-size: 46px; margin-bottom: 18px; }
  .welcome-description { max-width: 360px; }
  .welcome-details { display: none; }
  .account-layout { padding: 40px 0; }
  .account-heading-row { align-items: flex-start; flex-direction: column; gap: 22px; }
  .account-summary { grid-template-columns: 1fr; padding: 0 23px; }
  .summary-item { padding: 23px 0; }
  .summary-item + .summary-item { border-left: 0; border-top: 1px solid var(--line); }
  .settings-grid { grid-template-columns: 1fr; gap: 22px; }
  .session-illustration { min-height: 180px; }
  .site-footer { font-size: 8px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Shared 888 client palette. */
:root { --accent: #f1f1f1; --muted: #a3a3a3; --line: #2a2a2a; --text: #f1f1f1; --error: #ededed; color: var(--text); background: #0b0b0b; }
body { background: radial-gradient(ellipse at 80% 20%, #1b1b1b 0, transparent 48%); }
.account-card, .settings-card { background: #141414; border-radius: 18px; }
.primary-button { color: #111; }
.primary-button:hover:enabled { background: #fff; border-color: #fff; }
.secondary-button { background: #1b1b1b; color: #eee; border-color: #383838; }
.secondary-button:hover:enabled { background: #282828; border-color: #666; }
.primary-button, .secondary-button { text-decoration: none; }
.session-symbol { font-size: 32px; letter-spacing: -.07em; }
.site-header { gap: 18px; }
@media(max-width:480px) { .site-header { flex-wrap: wrap; padding: 15px 0; row-gap: 10px; } .site-footer { flex-wrap: wrap; line-height: 1.7; } }
