body.auth-page {
  --bg: #0c0d0f;
  --panel: #151619;
  --text: #f1f0ed;
  --muted: #96999f;
  --border: #2a2c31;
  --rosso: #e4453e;
  --oro: #c5ab79;
  --ok: #6fc5a0;
  --warn: #dfb76e;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body.auth-page *, body.auth-page *::before, body.auth-page *::after { box-sizing: border-box; }
body.auth-page [hidden] { display: none !important; }
body.auth-page a { color: inherit; text-decoration: none; }
body.auth-page button, body.auth-page input, body.auth-page select { font: inherit; }
body.auth-page button, body.auth-page a, body.auth-page input, body.auth-page select, body.auth-page summary { -webkit-tap-highlight-color: transparent; }
body.auth-page :focus-visible { outline: 2px solid var(--oro); outline-offset: 5px; }
body.auth-page .auth-skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
body.auth-page .auth-skip:focus { transform: translateY(0); }
body.auth-page .auth-layout { display: grid; grid-template-columns: minmax(350px, .92fr) minmax(480px, 1.08fr); min-height: 100svh; }
body.auth-page .auth-identity { position: relative; display: flex; flex-direction: column; padding: 40px clamp(32px, 4.3vw, 76px) 30px; overflow: hidden; background: #111215; border-right: 1px solid var(--border); }
body.auth-page .auth-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
body.auth-page .auth-brand-mark { display: grid; place-items: center; width: 40px; height: 42px; background: var(--rosso); border-radius: 10px 2px 10px 2px; }
body.auth-page .auth-brand-mark svg { display: block; width: 27px; height: 27px; }
body.auth-page .auth-brand-name { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.45px; }
body.auth-page .auth-brand-caption { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; }
body.auth-page .auth-editorial { margin-top: auto; padding-top: 76px; }
body.auth-page .auth-eyebrow { margin: 0 0 22px; color: var(--oro); font-size: 10px; font-weight: 600; letter-spacing: 2.3px; text-transform: uppercase; }
body.auth-page .auth-editorial h2 { max-width: 460px; margin: 0; font-size: clamp(36px, 3.55vw, 60px); font-weight: 450; line-height: 1.13; letter-spacing: -2.2px; }
body.auth-page .auth-editorial h2 em { color: var(--muted); font-style: normal; }
body.auth-page .auth-editorial > p:last-of-type { max-width: 330px; margin: 23px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
body.auth-page .auth-art { position: relative; width: 100%; max-width: 430px; margin: 34px 0 24px; }
body.auth-page .auth-art svg { display: block; width: 100%; height: auto; }
body.auth-page .auth-art-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; }
body.auth-page .auth-identity-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; letter-spacing: .4px; }
body.auth-page .auth-access-label { display: inline-flex; align-items: center; gap: 7px; }
body.auth-page .auth-access-label::before { content: ""; width: 5px; height: 5px; background: var(--rosso); border-radius: 50%; }
body.auth-page .auth-workspace { display: flex; flex-direction: column; min-width: 0; padding: 38px clamp(30px, 5vw, 88px) 25px; }
body.auth-page .auth-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
body.auth-page .auth-demo-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; }
body.auth-page .auth-demo-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--oro); }
body.auth-page .auth-topline a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted); font-size: 12px; }
body.auth-page .auth-topline a:hover, body.auth-page .auth-text-link:hover { color: var(--text); }
body.auth-page .auth-form-wrap { width: 100%; max-width: 440px; margin: auto; padding: 58px 0 48px; }
body.auth-page .auth-step { margin: 0 0 18px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: 2px; text-transform: uppercase; }
body.auth-page h1 { margin: 0; font-size: clamp(28px, 2.7vw, 38px); font-weight: 550; line-height: 1.17; letter-spacing: -1.25px; }
body.auth-page .auth-intro { margin: 13px 0 25px; max-width: 410px; color: var(--muted); font-size: 14px; line-height: 1.75; }
body.auth-page .auth-notice { display: flex; gap: 11px; margin: 0 0 25px; padding: 14px 15px; border: 1px solid #3d3429; border-radius: 8px; background: #1a1713; color: #c7ba9d; font-size: 12px; line-height: 1.65; }
body.auth-page .auth-notice svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: var(--oro); }
body.auth-page .auth-notice strong { color: #e2cfaa; font-weight: 550; }
body.auth-page .auth-field { margin-bottom: 21px; }
body.auth-page .auth-field label { display: block; margin-bottom: 9px; color: #d0d1d4; font-size: 12px; font-weight: 550; }
body.auth-page .auth-input { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #35373e; border-radius: 7px; background: var(--panel); color: var(--text); transition: border-color .2s; }
body.auth-page .auth-input::placeholder { color: #858991; opacity: 1; }
body.auth-page .auth-input:focus { border-color: var(--oro); }
body.auth-page .auth-input[readonly] { color: #b5b7bd; }
body.auth-page .auth-hint { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
body.auth-page .auth-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 7px; background: var(--rosso); color: #fff; font-weight: 600; font-size: 13px; line-height: 1.4; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
body.auth-page .auth-button:hover:not(:disabled) { background: #ee514a; transform: translateY(-1px); }
body.auth-page .auth-button:active:not(:disabled) { transform: translateY(0); }
body.auth-page .auth-button:disabled { background: #222429; border-color: #303238; color: #8e929b; cursor: not-allowed; }
body.auth-page .auth-button-secondary { min-height: 40px; padding: 9px 12px; border-color: #3c3e45; background: transparent; color: #d2d4d8; font-size: 12px; font-weight: 500; }
body.auth-page .auth-button-secondary:hover:not(:disabled) { background: #26282e; border-color: #666a74; }
body.auth-page .auth-button-arrow { margin-left: auto; font-size: 18px; font-weight: 400; }
body.auth-page .auth-button .auth-button-label { margin-left: auto; }
body.auth-page .auth-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: #b5b8c0; font-size: 12px; transition: color .2s; }
body.auth-page .auth-return { display: flex; justify-content: center; margin-top: 10px; }
body.auth-page .auth-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 14px; color: #858990; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
body.auth-page .auth-divider::before, body.auth-page .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
body.auth-page .auth-private-note { margin: 24px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
body.auth-page .auth-verification { margin: 0 0 17px; padding: 17px; border: 1px solid var(--border); border-radius: 8px; background: #121316; }
body.auth-page .auth-verification-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
body.auth-page .auth-verification-title { margin: 0; font-size: 12px; font-weight: 550; }
body.auth-page .auth-simulated { color: var(--oro); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
body.auth-page .auth-verification-status { display: flex; align-items: center; gap: 8px; min-height: 23px; margin: 0; color: var(--warn); font-size: 12px; font-weight: 500; }
body.auth-page .auth-state-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.auth-page .auth-verification[data-state="verified"] .auth-verification-status { color: var(--ok); }
body.auth-page .auth-verification[data-state="checking"] .auth-verification-status { color: #b9c0cc; }
body.auth-page .auth-verification-copy { min-height: 35px; margin: 5px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
body.auth-page .auth-feedback { margin: 12px 0 0; color: var(--warn); font-size: 12px; line-height: 1.65; }
body.auth-page .auth-feedback:empty { display: none; }
body.auth-page .auth-feedback[data-kind="success"] { color: var(--ok); }
body.auth-page .auth-cooldown { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
body.auth-page .auth-cooldown strong { color: var(--oro); font-weight: 550; font-variant-numeric: tabular-nums; }
body.auth-page .auth-scenarios { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--border); }
body.auth-page .auth-scenarios summary { width: fit-content; min-height: 30px; color: var(--muted); font-size: 11px; cursor: pointer; }
body.auth-page .auth-scenarios-content { padding-top: 12px; }
body.auth-page .auth-scenarios label { display: block; margin-bottom: 9px; color: #c5c7cc; font-size: 11px; }
body.auth-page .auth-scenarios select { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #3b3e45; border-radius: 6px; background: var(--panel); color: var(--text); font-size: 12px; }
body.auth-page .auth-receipt { margin: 19px 0 0; padding: 16px; border: 1px solid #2d463c; border-radius: 8px; background: #131b18; }
body.auth-page .auth-receipt h2 { margin: 0 0 8px; color: var(--ok); font-size: 13px; font-weight: 550; }
body.auth-page .auth-receipt p { margin: 0; color: #aabbb2; font-size: 12px; line-height: 1.75; }
body.auth-page .auth-receipt a { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; color: var(--text); font-size: 12px; }
body.auth-page .auth-confirm-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 21px; border: 1px solid #30483e; border-radius: 12px; background: #16201b; color: var(--ok); }
body.auth-page .auth-confirm-icon svg { width: 21px; height: 21px; }
body.auth-page .auth-workspace-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; color: #858991; font-size: 10px; line-height: 1.7; }
body.auth-page .auth-workspace-foot span:last-child { color: var(--oro); }
body.auth-page .auth-noscript { display: block; margin: 12px 0; padding: 12px; border: 1px solid var(--border); color: var(--warn); font-size: 12px; line-height: 1.7; }
@media (min-width: 1600px) {
  body.auth-page .auth-form-wrap { max-width: 460px; }
  body.auth-page .auth-art { margin-top: 50px; }
}
@media (max-width: 1000px) {
  body.auth-page .auth-layout { grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.18fr); }
  body.auth-page .auth-identity { padding: 32px 30px 26px; }
  body.auth-page .auth-editorial h2 { font-size: 38px; letter-spacing: -1.7px; }
  body.auth-page .auth-workspace { padding: 31px 34px 23px; }
}
@media (max-width: 760px) {
  body.auth-page .auth-layout { display: block; }
  body.auth-page .auth-identity { padding: 24px 25px 26px; border-right: 0; border-bottom: 1px solid var(--border); }
  body.auth-page .auth-brand-mark { width: 34px; height: 36px; border-radius: 8px 2px 8px 2px; }
  body.auth-page .auth-brand-mark svg { width: 24px; height: 24px; }
  body.auth-page .auth-brand-name { font-size: 15px; }
  body.auth-page .auth-brand-caption { font-size: 8px; }
  body.auth-page .auth-editorial { padding-top: 29px; }
  body.auth-page .auth-eyebrow { display: none; }
  body.auth-page .auth-editorial h2 { max-width: 420px; font-size: 29px; letter-spacing: -1px; }
  body.auth-page .auth-editorial h2 br { display: none; }
  body.auth-page .auth-editorial > p:last-of-type, body.auth-page .auth-art, body.auth-page .auth-identity-foot { display: none; }
  body.auth-page .auth-workspace { min-height: calc(100svh - 193px); padding: 19px 25px 24px; }
  body.auth-page .auth-form-wrap { padding: 34px 0 38px; }
  body.auth-page .auth-step { margin-bottom: 14px; }
  body.auth-page h1 { font-size: 30px; }
  body.auth-page .auth-intro { margin-bottom: 21px; font-size: 13px; }
  body.auth-page .auth-notice { margin-bottom: 21px; }
  body.auth-page .auth-workspace-foot { padding-top: 12px; border-top: 1px solid var(--border); }
}
@media (max-width: 360px) {
  body.auth-page .auth-identity { padding-right: 20px; padding-left: 20px; }
  body.auth-page .auth-workspace { padding-right: 20px; padding-left: 20px; }
  body.auth-page .auth-editorial h2 { font-size: 26px; }
  body.auth-page .auth-topline a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body.auth-page *, body.auth-page *::before, body.auth-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Keep the protected action ahead of editorial decoration on narrow screens. */
body.auth-page .auth-brand-mark { background: #21191b; border: 1px solid #593133; border-radius: 10px; }
body.auth-page .auth-brand-mark img { display: block; width: 100%; height: auto; }
body.auth-page .auth-button:not(.auth-button-secondary) { background-color: #bd342e; }
body.auth-page .auth-button:not(.auth-button-secondary):hover:not(:disabled) { background-color: #c83a33; }
@media (max-width: 640px) {
  body.auth-page .auth-editorial { display: none; }
}
