body.auth-central-page { padding: 0; background: var(--bg-dark); }
body.auth-central-page::before { display: none; }
.auth-central {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    min-height: 100vh;
    min-height: 100svh;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}
.auth-central [hidden] { display: none !important; }
.auth-central button, .auth-central input { font-family: inherit; }
.auth-central button { cursor: pointer; }
.auth-central :is(button, a, input):focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.auth-central .auth-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: clip;
    padding: 48px clamp(32px, 5vw, 88px);
    background: light-dark(color-mix(in srgb, var(--primary) 4%, var(--bg-modal)), var(--surface-2));
    border-right: 1px solid var(--border-light);
}
.auth-central .auth-brand { position: relative; width: 188px; max-width: 100%; flex: 0 0 auto; }
.auth-central .auth-logo-assembly { display: none; position: absolute; overflow: visible; pointer-events: none; }
.auth-central .auth-brand .auth-logo-assembly { top: 0; left: 0; width: 20.9917355372%; height: 100%; filter: brightness(0) invert(1); }
[data-theme="light"] .auth-central .auth-brand .auth-logo-assembly { filter: none; }
.auth-central .auth-logo-piece { transform-box: view-box; transform-origin: 190.5px 227.5px; }
.auth-central .auth-logo-piece-top { --piece-x: -145%; --piece-y: -45%; --piece-turn: -155deg; }
.auth-central .auth-logo-piece-bottom { --piece-x: 145%; --piece-y: 45%; --piece-turn: 155deg; }
.auth-central .auth-brand .auth-logo-piece-bottom { --piece-y: 135%; }
.auth-central[data-brand-intro="ready"] .auth-logo-assembly { display: block; }
.auth-central[data-brand-intro="ready"] .auth-brand > .sync-brand-logo { clip-path: inset(0 0 0 20.9917355372%); }
.auth-central[data-brand-intro="ready"] .auth-hub-mark > .auth-hub-symbol { visibility: hidden; }
.auth-central[data-brand-intro="ready"] .auth-logo-piece { animation: auth-logo-assemble 1.6s cubic-bezier(.22, 1, .36, 1) both; }
.auth-central[data-brand-intro="ready"] .auth-logo-piece-bottom { animation-delay: 80ms; }
.auth-central[data-motion="paused"] .auth-logo-piece { animation-play-state: paused; }
@keyframes auth-logo-assemble {
    0% { opacity: 0; transform: translate(var(--piece-x), var(--piece-y)) rotate(var(--piece-turn)); }
    18% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
.auth-central .auth-intro { margin-top: 36px; }
.auth-central .auth-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--primary); font-size: 11px; font-weight: 600; letter-spacing: .11em; }
.auth-central .auth-eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.auth-central h1 { margin: 0; max-width: 540px; font-size: clamp(40px, 3.7vw, 54px); line-height: 1.12; font-weight: 600; letter-spacing: -.055em; text-wrap: balance; }
.auth-central h1 span { color: var(--primary); }
.auth-central .auth-description { max-width: 350px; margin: 20px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.auth-central .auth-diagram-area { width: 100%; max-width: 440px; margin: 28px auto 0; }
.auth-central .auth-diagram { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 52px 104px 52px; gap: 20px 30px; width: 100%; height: 248px; }
.auth-central .auth-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.auth-central .auth-line { fill: none; stroke: var(--border-medium); stroke-width: 1.3; }
.auth-central .auth-flow { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 12 110; stroke-dashoffset: 122; opacity: .7; animation: auth-converge 5s linear infinite; }
.auth-central .auth-flow-b { animation-delay: -1.25s; }
.auth-central .auth-flow-c { animation-delay: -2.5s; }
.auth-central .auth-flow-d { animation-delay: -3.75s; }
.auth-central[data-motion="paused"] .auth-flow { animation-play-state: paused; }
.auth-central .auth-module { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 13px; background: light-dark(var(--bg-modal), var(--bg-dark)); border: 1px solid var(--border-medium); border-radius: 10px; box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 500; white-space: nowrap; }
.auth-central .auth-module i { width: 16px; flex: 0 0 auto; color: var(--text-secondary); }
.auth-central .auth-module-c { grid-row: 3; grid-column: 1; }
.auth-central .auth-module-d { grid-row: 3; grid-column: 2; }
.auth-central .auth-hub { position: relative; z-index: 2; grid-row: 2; grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 106px; height: 104px; background: light-dark(var(--bg-modal), var(--bg-dark)); border: 1px solid var(--border-medium); border-radius: 20px; box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 600; }
.auth-central .auth-hub-mark { position: relative; width: 64px; height: 64px; filter: brightness(0) invert(1); }
[data-theme="light"] .auth-central .auth-hub-mark { filter: none; }
.auth-central .auth-hub-mark .auth-hub-symbol,
.auth-central .auth-hub-mark .auth-logo-assembly { position: absolute; left: 10.67px; top: 6.4px; width: 42.67px; height: 51.2px; }
.auth-central .auth-hub-symbol { display: block; overflow: hidden; }
.auth-central .auth-motion { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; margin: 10px auto 0; padding: 0 10px; border: 0; border-radius: 6px; color: var(--text-secondary); background: transparent; font-size: 11px; }
.auth-central .auth-motion:hover { color: var(--primary); background: var(--bg-hover); }
.auth-central .auth-access { display: flex; flex-direction: column; min-width: 0; padding: 48px clamp(28px, 4vw, 72px) 28px; background: light-dark(var(--bg-modal), var(--bg-dark)); }
.auth-central .auth-access-body { width: 100%; max-width: 360px; margin: auto; padding: 24px 0 40px; }
.auth-central .auth-access-kicker { margin: 0 0 12px; color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.auth-central h2 { margin: 0; font-size: 28px; line-height: 1.22; font-weight: 600; letter-spacing: -.04em; }
.auth-central .auth-form-intro { margin: 12px 0 30px; color: var(--text-secondary); font-size: 13px; line-height: 1.65; }
.auth-central .login-form { margin: 0; }
.auth-central .form-group { margin-bottom: 20px; }
.auth-central .form-label { display: block; margin-bottom: 8px; color: var(--text-primary); font-size: 12px; font-weight: 500; }
.auth-central .auth-input-wrap { position: relative; display: flex; align-items: center; }
.auth-central .auth-input-wrap > i { position: absolute; left: 15px; width: 17px; color: var(--text-secondary); pointer-events: none; font-size: 14px; }
.auth-central .form-control { min-width: 0; height: 50px; padding: 0 14px 0 42px; border-color: var(--border-medium); background: var(--surface-2); color: var(--text-primary); font-size: 16px; }
.auth-central .form-control::placeholder { color: var(--text-secondary); opacity: .75; }
.auth-central .form-control:hover { border-color: var(--text-secondary); }
.auth-central .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--bg-hover); }
.auth-central .auth-password { padding-right: 82px; }
.auth-central .auth-show-password { position: absolute; right: 3px; min-width: 70px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; color: var(--text-secondary); background: transparent; font-size: 11px; font-weight: 500; }
.auth-central .auth-show-password:hover { color: var(--primary); background: var(--bg-hover); }
.auth-central .auth-form-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: -7px 0 20px; }
.auth-central .auth-remember { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--text-secondary); font-size: 12px; cursor: pointer; }
.auth-central .auth-remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--primary); }
.auth-central .auth-form-options a { display: inline-flex; align-items: center; min-height: 36px; color: var(--primary); font-size: 12px; font-weight: 500; }
.auth-central .auth-form-options a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-central .auth-submit { gap: 10px; width: 100%; min-height: 50px; padding: 12px 18px; background: var(--primary); color: light-dark(var(--bg-modal), var(--bg-darker)); font-size: 13px; font-weight: 600; box-shadow: none; }
.auth-central .auth-submit:hover { background: var(--primary); filter: brightness(1.06); transform: none; box-shadow: none; }
.auth-central .auth-submit i { transition: transform .18s ease; }
.auth-central .auth-submit:hover i { transform: translateX(3px); }
.auth-central .auth-submit:active { transform: translateY(1px); }
.auth-central .auth-notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; margin-bottom: 20px; border: 1px solid var(--info-border); border-radius: 10px; background: var(--info-bg); color: var(--info-text); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.auth-central .auth-notice i { margin-top: 4px; flex-shrink: 0; }
.auth-central .auth-notice-error { color: var(--danger-text); background: var(--danger-bg); border-color: var(--danger-border); }
.auth-central .auth-notice-success { color: var(--success-text); background: var(--success-bg); border-color: var(--success-border); }
.auth-central .auth-notice-warning { color: var(--warning-text); background: var(--warning-bg); border-color: var(--warning-border); }
.auth-central .auth-access-footer { margin: 0; text-align: center; color: var(--text-secondary); font-size: 11px; line-height: 1.6; }
.auth-central .auth-access-footer p { margin: 0; }
.auth-central .auth-access-footer p + p { margin-top: 6px; }
.auth-central .auth-back-row { margin-top: 18px; text-align: center; }
.auth-central .auth-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--text-secondary); font-size: 12px; }
.auth-central .auth-back:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
@keyframes auth-converge { from { stroke-dashoffset: 122; } to { stroke-dashoffset: 0; } }
@media (min-width: 1600px) {
    .auth-central .auth-story { padding-left: max(88px, calc((100vw - 1424px) / 2)); }
    .auth-central .auth-diagram-area { margin-left: 0; }
}
@media (max-width: 1000px) {
    .auth-central { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
    .auth-central .auth-story { padding: 36px 28px; }
    .auth-central .auth-access { padding: 36px 28px 24px; }
    .auth-central h1 { font-size: 40px; }
    .auth-central .auth-diagram { column-gap: 20px; }
    .auth-central .auth-module { gap: 7px; padding: 0 10px; font-size: 11px; }
}
@media (max-width: 720px) {
    .auth-central { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .auth-central .auth-story { padding: 26px 28px; border-right: 0; border-bottom: 1px solid var(--border-light); }
    .auth-central .auth-brand { width: 160px; }
    .auth-central .auth-intro { margin-top: 24px; }
    .auth-central .auth-eyebrow { margin-bottom: 12px; }
    .auth-central h1 { max-width: 450px; font-size: 36px; }
    .auth-central .auth-description { max-width: 390px; margin-top: 14px; font-size: 13px; line-height: 1.6; }
    .auth-central .auth-diagram-area { display: none; }
    .auth-central .auth-access { padding: 30px 28px 24px; }
    .auth-central .auth-access-body { max-width: 420px; padding-top: 0; padding-bottom: 28px; }
    .auth-central .auth-form-options { margin-bottom: 18px; }
    .auth-central .auth-remember, .auth-central .auth-form-options a { min-height: 44px; }
}
@media (max-width: 380px) {
    .auth-central .auth-story { padding: 24px 22px; }
    .auth-central .auth-access { padding: 28px 22px 24px; }
    .auth-central h1 { font-size: 32px; }
    .auth-central h2 { font-size: 25px; }
}
@media (pointer: coarse) {
    .auth-central .auth-motion, .auth-central .auth-remember, .auth-central .auth-form-options a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-central[data-brand-intro="ready"] .auth-logo-assembly { display: none; }
    .auth-central[data-brand-intro="ready"] .auth-logo-piece { animation: none; }
    .auth-central[data-brand-intro="ready"] .auth-brand > .sync-brand-logo { clip-path: none; }
    .auth-central[data-brand-intro="ready"] .auth-hub-mark > .auth-hub-symbol { visibility: visible; }
    .auth-central .auth-flow { animation: none; stroke-dasharray: none; opacity: .2; }
    .auth-central .form-control, .auth-central .auth-submit, .auth-central .auth-submit i { transition: none; }
    .auth-central .auth-submit:hover i, .auth-central .auth-submit:active { transform: none; }
    .auth-central .auth-motion { display: none; }
}
