:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-synthesis: none; --accent: #c2cca7; --muted: #9b9da3; --border: #2c2e32; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: #111214; }
body { margin: 0; color: #e7e8e5; line-height: 1.6; }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .5; cursor: not-allowed; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #65724d; color: #fff; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 10; padding: 10px 16px; border-radius: 5px; background: var(--accent); color: #20241a; text-decoration: none; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 40px; height: 40px; flex: 0 0 auto; }
.brand-logo { display: block; width: 200px; max-width: 100%; height: auto; }
.sidebar-wordmark { width: 190px; }
.auth-view { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px; background: radial-gradient(ellipse at 20% 20%, #21241e 0, transparent 52%), #111214; }
.auth-layout { display: grid; grid-template-columns: 1.05fr 1fr; width: min(100%, 930px); min-height: 586px; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; box-shadow: 0 26px 100px #0003; }
.auth-intro { position: relative; isolation: isolate; padding: 35px 38px; background: #181b17; display: flex; flex-direction: column; overflow: hidden; }
.auth-footnote { width: 100%; color: #8b9282; font-size: 11px; letter-spacing: .04em; text-align: center; }
.auth-art { position: absolute; z-index: -1; top: 30px; left: 28%; width: 400px; height: 400px; background-image: linear-gradient(#b7c99809 1px, transparent 1px), linear-gradient(90deg, #b7c99809 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.orbit { position: absolute; border: 1px solid #a9bd8638; border-radius: 50%; }
.orbit-one { inset: 20px; }
.orbit-two { inset: 70px; }
.orbit-three { inset: 120px; }
.orbit-two::after { content: ""; position: absolute; width: 5px; height: 5px; top: 33px; left: 35px; background: #b6c994; border-radius: 50%; box-shadow: 0 0 0 5px #a9bd8610; }
.orbit-center { position: absolute; inset: 186px; border: 1px solid #b6c994; border-radius: 50%; background: #87996542; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 42px; gap: 10px; background: #191a1d; }
.auth-card > h2 { font-size: 25px; font-weight: 550; letter-spacing: -.65px; line-height: 1.3; }
.auth-card > .muted { font-size: 12px; margin: 0 0 13px; }
.auth-tabs { display: flex; gap: 3px; padding: 4px; background: #121315; border: 1px solid var(--border); border-radius: 7px; margin-bottom: 21px; }
.segment { flex: 1; color: var(--muted); background: transparent; padding: 7px 12px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; }
.segment.active { background: #202125; color: #e7e8e5; border-color: #404349; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 550; color: #c9cbc6; }
.field input { width: 100%; min-height: 41px; padding: 9px 11px; background: #131416; color: #e7e8e5; border: 1px solid #404349; border-radius: 6px; }
.field input:hover { border-color: #575b61; }
.password-control { position: relative; }
.password-control input { padding-right: 48px; }
.password-toggle { position: absolute; inset: 1px 1px 1px auto; width: 42px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--muted); padding: 0; }
.password-toggle:hover:not(:disabled), .password-toggle[aria-pressed="true"] { color: var(--accent); }
.password-toggle:focus-visible { outline-offset: -4px; }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle .eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 41px; padding: 10px 13px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 550; }
.primary { background: var(--accent); color: #20241a; margin-top: 5px; }
.primary:hover:not(:disabled) { background: #d0d9b9; }
.secondary { background: #202125; color: #e7e8e5; border-color: #404349; }
.secondary:hover:not(:disabled) { background: #2b2d31; }
.auth-policy { color: var(--muted); font-size: 11px; text-align: center; margin-top: 13px; }
.auth-policy:empty { display: none; }
#auth-feedback:empty { display: none; }
#auth-feedback:not(:empty) { margin: 3px 0 10px; }
.notice { padding: 12px 14px; border: 1px solid #60413e; border-radius: 7px; background: #332322; color: #edaaa4; font-size: 12px; overflow-wrap: anywhere; }
.notice strong { display: block; font-weight: 600; }
.notice p { margin-top: 4px; }
.notice.success { background: #20261f; border-color: #3e4b36; color: #c4d0b7; }
.notice.info { background: #202322; border-color: #3d4540; color: #c2cdc6; }
.notice code { display: inline-block; font-family: Consolas, monospace; font-size: 10px; margin-top: 6px; }
.noscript-notice { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: #111214; padding: 24px; }
@media (max-width: 760px) {
  .auth-view { padding: 22px 18px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); max-width: 450px; min-height: 0; }
  .auth-intro { padding: 25px 30px; }
  .auth-art { top: -160px; left: 48%; }
  .auth-card { padding: 29px 30px; }
  .auth-card > h2 { font-size: 23px; }
  .auth-tabs { margin-bottom: 15px; }
}
@media (max-width: 380px) { .auth-card, .auth-intro { padding-left: 23px; padding-right: 23px; } }
