/* CENTER CRM 0.12.28 — unified authentication experience */
body.center-auth-flow {
    --auth-bg: #0f0f0f;
    --auth-surface: #171717;
    --auth-surface-2: #1d1d1d;
    --auth-border: #303030;
    --auth-border-soft: #292929;
    --auth-text: #f5f5f5;
    --auth-muted: #8c8c8c;
    --auth-gold: #f6c543;
    --auth-gold-soft: rgba(246,197,67,.09);
    --auth-gold-border: rgba(246,197,67,.22);
    --auth-danger: #ee7770;
    --auth-success: #d6bc62;
    background: var(--auth-bg);
}
body.center-auth-flow .topbar {
    min-height: 82px;
    border-bottom: 1px solid #222;
    background: rgba(13,13,13,.96);
    box-shadow: 0 10px 34px rgba(0,0,0,.16);
}
body.center-auth-flow .topbar-inner {
    min-height: 82px;
    align-items: center;
}
body.center-auth-flow:not(:has(.site-menu)) .topbar-inner { justify-content: flex-start; }
body.center-auth-flow .brand-logo-image { max-height: 58px; }
body.center-auth-flow .page-content {
    width: min(1220px, calc(100% - 40px));
    max-width: none;
    min-height: calc(100vh - 150px);
    padding: clamp(28px, 5vh, 64px) 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.center-auth-flow .site-footer {
    border-top-color: #202020;
    background: #0c0c0c;
}
body.center-auth-flow .site-footer-inner { opacity: .72; }
body.center-auth-flow .flash-stack.center-toast-stack {
    top: 96px;
}
.center-auth-shell {
    position: relative;
    width: 100%;
    min-width: 0;
    isolation: isolate;
}
.center-auth-shell::before,
.center-auth-shell::after {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}
.center-auth-shell::before {
    width: 430px;
    height: 430px;
    left: -120px;
    top: -150px;
    background: radial-gradient(circle, rgba(246,197,67,.075), transparent 68%);
}
.center-auth-shell::after {
    width: 360px;
    height: 360px;
    right: -90px;
    bottom: -140px;
    background: radial-gradient(circle, rgba(246,197,67,.035), transparent 70%);
}
.center-auth-frame {
    width: min(1050px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .86fr);
    gap: 18px;
    align-items: stretch;
}
.center-auth-frame-compact { width: min(980px, 100%); }
.center-auth-story,
.center-auth-card,
.center-auth-wide-card {
    border: 1px solid var(--auth-border);
    background: linear-gradient(180deg, rgba(29,29,29,.98), rgba(20,20,20,.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 26px 80px rgba(0,0,0,.28);
}
.center-auth-story {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: clamp(30px, 4vw, 48px);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(145deg, rgba(246,197,67,.045), transparent 42%),
        linear-gradient(180deg, #181818, #141414);
}
.center-auth-story::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(246,197,67,.07);
    border-radius: 19px;
    pointer-events: none;
}
.center-auth-story-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246,197,67,.12), transparent 68%);
    pointer-events: none;
}
.center-auth-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--auth-gold-border);
    border-radius: 999px;
    background: rgba(246,197,67,.055);
    color: #d9bd63;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .025em;
}
.center-auth-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auth-gold);
    box-shadow: 0 0 0 5px rgba(246,197,67,.08);
}
.center-auth-story-top h2 {
    max-width: 500px;
    margin: 28px 0 12px;
    color: var(--auth-text);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}
.center-auth-story-top p {
    max-width: 500px;
    margin: 0;
    color: #999;
    font-size: .96rem;
    line-height: 1.65;
}
.center-auth-feature-list {
    display: grid;
    gap: 10px;
    margin: 34px 0;
}
.center-auth-feature {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid #292929;
    border-radius: 16px;
    background: rgba(12,12,12,.36);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.center-auth-feature:hover {
    border-color: #3a3528;
    background: rgba(246,197,67,.025);
    transform: translateY(-1px);
}
.center-auth-feature-icon,
.center-auth-step-icon,
.center-auth-tip-icon,
.center-auth-foot-icon,
.center-auth-recovery-guide-icon {
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid rgba(246,197,67,.18);
    background: rgba(246,197,67,.065);
    color: #e2c45f;
}
.center-auth-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}
.center-auth-feature-icon svg,
.center-auth-step-icon svg,
.center-auth-tip-icon svg,
.center-auth-foot-icon svg,
.center-auth-recovery-guide-icon svg,
.center-auth-copy-button svg,
.center-auth-warning svg,
.center-auth-print svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.center-auth-feature strong,
.center-auth-feature small,
.center-auth-story-foot strong,
.center-auth-story-foot small,
.center-auth-tip strong,
.center-auth-tip small { display: block; }
.center-auth-feature strong { color: #e7e7e7; font-size: .83rem; }
.center-auth-feature small { margin-top: 4px; color: #777; font-size: .72rem; line-height: 1.4; }
.center-auth-story-foot {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid #292929;
}
.center-auth-story-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--auth-gold-border);
    border-radius: 11px;
    background: var(--auth-gold-soft);
    color: var(--auth-gold);
    font-size: 1.05rem;
    font-weight: 950;
}
.center-auth-story-foot strong { color: #ddd; font-size: .78rem; }
.center-auth-story-foot small { margin-top: 2px; color: #666; font-size: .66rem; }
.center-auth-card {
    min-width: 0;
    align-self: center;
    padding: clamp(26px, 3.5vw, 38px);
    border-radius: 26px;
}
.center-auth-card-head {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    gap: 15px;
    align-items: start;
    margin-bottom: 26px;
}
.center-auth-step-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}
.center-auth-kicker {
    margin: 0 0 7px;
    color: #c9a94e;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.center-auth-card-head h1,
.center-auth-wide-head h1 {
    margin: 0;
    color: #f6f6f6;
    letter-spacing: -.04em;
}
.center-auth-card-head h1 { font-size: clamp(1.85rem, 3vw, 2.35rem); }
.center-auth-card-head p,
.center-auth-wide-head p {
    margin: 9px 0 0;
    color: var(--auth-muted);
    line-height: 1.55;
}
.center-auth-card-head p { font-size: .82rem; }
.center-auth-inline-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -7px 0 18px;
    padding: 11px 13px;
    border: 1px solid #343434;
    border-radius: 13px;
    background: #151515;
    color: #bbb;
    font-size: .76rem;
}
.center-auth-inline-notice > span:first-child {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(246,197,67,.09);
    color: var(--auth-gold);
    font-weight: 950;
}
.center-auth-form { display: grid; gap: 17px; }
.center-auth-field { display: grid; gap: 7px; min-width: 0; }
.center-auth-field > label {
    color: #bbb;
    font-size: .73rem;
    font-weight: 800;
}
.center-auth-control,
.center-auth-code-control { position: relative; min-width: 0; }
body.center-auth-flow .center-auth-input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    box-sizing: border-box;
    border: 1px solid #373737 !important;
    border-radius: 15px !important;
    outline: 0 !important;
    background: linear-gradient(180deg,#181818,#151515) !important;
    color: #f4f4f4 !important;
    font: inherit;
    font-size: .88rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
    transition: border-color .17s ease, box-shadow .17s ease, background .17s ease, transform .17s ease;
}
body.center-auth-flow .center-auth-control .center-auth-input { padding: 0 46px 0 45px !important; }
body.center-auth-flow .center-auth-control:not(:has(.center-auth-password-toggle)) .center-auth-input { padding-right: 15px !important; }
body.center-auth-flow .center-auth-input:hover { border-color: #494434 !important; }
body.center-auth-flow .center-auth-input:focus,
body.center-auth-flow .center-auth-input:focus-visible {
    border-color: rgba(246,197,67,.76) !important;
    background: #1a1a1a !important;
    box-shadow: 0 0 0 4px rgba(246,197,67,.075), inset 0 1px 0 rgba(255,255,255,.025) !important;
}
body.center-auth-flow .center-auth-input::placeholder { color: #676767; opacity: 1; }
.center-auth-control-icon {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
    transition: color .17s ease;
}
.center-auth-control-icon svg { width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.center-auth-control:focus-within .center-auth-control-icon { color: #d1b256; }
.center-auth-password-toggle {
    position: absolute !important;
    z-index: 3;
    right: 8px;
    top: 50%;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    transform: translateY(-50%);
    display: grid !important;
    place-items: center;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #858585 !important;
    box-shadow: none !important;
    cursor: pointer;
}
.center-auth-password-toggle:hover { background: #252525 !important; color: #ddd !important; }
.center-auth-password-toggle svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.center-auth-password-toggle .is-eye-closed { display:none; }
.center-auth-password-toggle.is-visible .is-eye-open { display:none; }
.center-auth-password-toggle.is-visible .is-eye-closed { display:block; }
.center-auth-field-error {
    color: var(--auth-danger);
    font-size: .7rem;
    line-height: 1.4;
}
.center-auth-caps {
    width: fit-content;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(238,119,112,.07);
    color: #df8d87;
    font-size: .66rem;
    font-weight: 750;
}
.center-auth-remember {
    display: grid;
    grid-template-columns: 22px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid #2d2d2d;
    border-radius: 14px;
    background: #141414;
    cursor: pointer;
    transition: border-color .17s ease, background .17s ease;
}
.center-auth-remember:hover { border-color: #3c382c; background: #161616; }
.center-auth-remember input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}
.center-auth-checkbox {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid #4a4a4a;
    border-radius: 7px;
    background: #101010;
    color: #111;
    transition: .17s ease;
}
.center-auth-checkbox svg { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;opacity:0;transform:scale(.7);transition:.15s ease; }
.center-auth-remember input:checked + .center-auth-checkbox {
    border-color: #e0b936;
    background: var(--auth-gold);
}
.center-auth-remember input:checked + .center-auth-checkbox svg { opacity:1;transform:none; }
.center-auth-remember input:focus-visible + .center-auth-checkbox { box-shadow: 0 0 0 4px rgba(246,197,67,.1); }
.center-auth-remember strong { display:block;color:#ddd;font-size:.76rem; }
.center-auth-remember small { display:block;margin-top:2px;color:#686868;font-size:.64rem;line-height:1.35; }
body.center-auth-flow .center-auth-submit {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 15px !important;
    font-size: .83rem !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 30px rgba(246,197,67,.1) !important;
}
body.center-auth-flow .center-auth-submit:hover { transform: translateY(-1px); filter: brightness(1.03); }
.center-auth-card-foot,
.center-auth-tip {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid #292929;
    color: #777;
    font-size: .67rem;
    line-height: 1.45;
}
.center-auth-foot-icon,
.center-auth-tip-icon { width:34px;height:34px;border-radius:10px; }
.center-auth-tip { margin-top:20px; }
.center-auth-tip strong { color:#cfcfcf;font-size:.73rem; }
.center-auth-tip small { margin-top:3px;color:#707070;font-size:.67rem; }
.center-auth-back {
    display: inline-flex;
    margin-top: 17px;
    color: #8b8b8b;
    font-size: .72rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .16s ease;
}
.center-auth-back:hover { color: #e1c35f; }
body.center-auth-flow .center-auth-code-input {
    padding: 0 15px !important;
    text-align: center;
    letter-spacing: .13em;
    font-size: 1.03rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}
.center-auth-code-input.is-recovery-code { letter-spacing: .05em; font-size: .9rem; }
.center-auth-story-compact { min-height: 440px; }
.center-auth-feature-list-short { margin-bottom: 0; }
.center-auth-wide-card {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 28px;
}
.center-auth-wide-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #2b2b2b;
}
.center-auth-wide-head > div:first-child { min-width:0;max-width:760px; }
.center-auth-wide-head .center-auth-badge { margin-bottom:18px; }
.center-auth-wide-head h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.center-auth-wide-head p { max-width:740px;font-size:.9rem; }
.center-auth-progress {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-top: 5px;
}
.center-auth-progress span {
    display:grid;width:34px;height:34px;place-items:center;
    border:1px solid #3a3a3a;border-radius:50%;background:#141414;color:#777;font-size:.72rem;font-weight:900;
}
.center-auth-progress span.is-active,
.center-auth-progress span.is-done { border-color:rgba(246,197,67,.45);background:rgba(246,197,67,.12);color:#efcf68; }
.center-auth-progress i { display:block;width:42px;height:1px;background:#353535; }
.center-auth-progress i.is-done { background:rgba(246,197,67,.45); }
.center-auth-setup-grid {
    display: grid;
    grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
    gap: 22px;
    padding-top: 25px;
}
.center-auth-qr-section,
.center-auth-setup-main,
.center-auth-recovery-codes,
.center-auth-recovery-guide {
    min-width:0;
    border:1px solid #2c2c2c;
    border-radius:20px;
    background:#141414;
}
.center-auth-qr-section,
.center-auth-setup-main { padding:18px; }
.center-auth-section-label {
    display:flex;align-items:center;gap:9px;
    color:#bbb;font-size:.74rem;font-weight:850;
}
.center-auth-section-label > span {
    display:grid;min-width:28px;height:28px;place-items:center;padding:0 6px;
    border:1px solid rgba(246,197,67,.16);border-radius:9px;background:rgba(246,197,67,.06);color:#d5ba5f;font-size:.64rem;
}
.center-auth-qr-card { margin-top:17px;text-align:center; }
.center-auth-qr-frame {
    width:min(240px,100%);aspect-ratio:1;margin:0 auto;padding:13px;
    border:1px solid #363636;border-radius:20px;background:#f4f0e4;
    box-shadow:0 18px 45px rgba(0,0,0,.24);
}
.center-auth-qr { display:block;width:100%;height:100%;object-fit:contain;border-radius:10px; }
.center-auth-qr-card p { margin:15px auto 0;max-width:300px;color:#777;font-size:.7rem;line-height:1.5; }
.center-auth-setup-steps { display:grid;gap:8px;margin:17px 0 16px;padding:0;list-style:none; }
.center-auth-setup-steps li {
    display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:center;
    padding:10px;border:1px solid #292929;border-radius:13px;background:#111;
}
.center-auth-setup-steps li > span { display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#1e1c16;color:#d4b85f;font-size:.68rem;font-weight:900; }
.center-auth-setup-steps strong,.center-auth-setup-steps small { display:block; }
.center-auth-setup-steps strong { color:#d9d9d9;font-size:.74rem; }
.center-auth-setup-steps small { margin-top:2px;color:#6e6e6e;font-size:.65rem;line-height:1.4; }
.center-auth-manual-secret {
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;
    margin-top:14px;padding:13px;border:1px solid #302f2a;border-radius:15px;background:#16150f;
}
.center-auth-manual-copy { display:grid;gap:8px;min-width:0; }
.center-auth-manual-copy span { min-width:0; }
.center-auth-manual-copy small,.center-auth-manual-copy strong,.center-auth-manual-copy code { display:block; }
.center-auth-manual-copy small { color:#777;font-size:.62rem; }
.center-auth-manual-copy strong { margin-top:2px;color:#d6d6d6;font-size:.75rem; }
.center-auth-manual-copy code { margin-top:3px;overflow-wrap:anywhere;color:#e7c965;font-size:.72rem;letter-spacing:.06em; }
.center-auth-copy-button {
    display:inline-flex !important;align-items:center;justify-content:center;gap:7px;
    min-height:40px !important;padding:0 12px !important;border:1px solid #39362b !important;border-radius:12px !important;
    background:#1b1912 !important;color:#dbc162 !important;font:inherit;font-size:.68rem !important;font-weight:850 !important;cursor:pointer;
    box-shadow:none !important;transition:.16s ease !important;
}
.center-auth-copy-button:hover { border-color:rgba(246,197,67,.35) !important;background:#211e14 !important;color:#f0d06c !important; }
.center-auth-copy-button.is-copied { border-color:rgba(246,197,67,.48) !important;background:rgba(246,197,67,.1) !important; }
.center-auth-setup-form { margin-top:16px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px; }
.center-auth-setup-form .center-auth-submit { width:auto !important;min-width:220px; }
.center-auth-warning {
    display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:center;
    margin-top:20px;padding:13px 15px;border:1px solid rgba(246,197,67,.15);border-radius:16px;background:rgba(246,197,67,.045);
}
.center-auth-warning > span { display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:rgba(246,197,67,.08);color:#dbbd5f; }
.center-auth-warning strong,.center-auth-warning small { display:block; }
.center-auth-warning strong { color:#d8d8d8;font-size:.73rem; }
.center-auth-warning small { margin-top:3px;color:#777;font-size:.66rem;line-height:1.45; }
.center-auth-recovery-head { align-items:center; }
.center-auth-recovery-layout {
    display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;padding-top:24px;
}
.center-auth-recovery-codes { padding:18px; }
.center-auth-section-row { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px; }
.center-auth-recovery-grid {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.center-auth-recovery-grid code {
    display:flex;align-items:center;justify-content:center;min-height:50px;padding:0 10px;
    border:1px solid #313131;border-radius:13px;background:#101010;color:#efcf68;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86rem;font-weight:800;letter-spacing:.07em;
    user-select:all;
}
.center-auth-recovery-guide { padding:22px; }
.center-auth-recovery-guide-icon { width:44px;height:44px;border-radius:14px; }
.center-auth-recovery-guide h2 { margin:18px 0 8px;color:#ededed;font-size:1.15rem; }
.center-auth-recovery-guide p { margin:0;color:#858585;font-size:.76rem;line-height:1.55; }
.center-auth-recovery-guide ul { display:grid;gap:8px;margin:17px 0 0;padding:0;list-style:none; }
.center-auth-recovery-guide li { position:relative;padding-left:17px;color:#777;font-size:.69rem;line-height:1.45; }
.center-auth-recovery-guide li::before { content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#d4b557; }
.center-auth-recovery-actions {
    display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #2a2a2a;
}
.center-auth-print { display:inline-flex !important;gap:8px !important;min-height:46px !important;border-radius:13px !important; }
.center-auth-recovery-finish { min-height:46px !important;border-radius:13px !important; }
.center-auth-print svg { width:17px;height:17px; }
@keyframes center-auth-rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
body.center-auth-flow .center-auth-story,
body.center-auth-flow .center-auth-card,
body.center-auth-flow .center-auth-wide-card { animation:center-auth-rise .34s cubic-bezier(.2,.75,.2,1) both; }
body.center-auth-flow .center-auth-card { animation-delay:.05s; }
@media (max-width: 900px) {
    body.center-auth-flow .page-content { width:min(760px,calc(100% - 28px));padding-top:28px; }
    .center-auth-frame { grid-template-columns:1fr; }
    .center-auth-story { min-height:auto;padding:26px; }
    .center-auth-story-top h2 { margin-top:20px;font-size:2rem; }
    .center-auth-feature-list { grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0 18px; }
    .center-auth-feature { grid-template-columns:36px minmax(0,1fr);padding:10px; }
    .center-auth-feature-icon { width:36px;height:36px; }
    .center-auth-feature small { display:none; }
    .center-auth-story-foot { display:none; }
    .center-auth-story-compact .center-auth-feature-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .center-auth-setup-grid,.center-auth-recovery-layout { grid-template-columns:1fr; }
    .center-auth-qr-section { display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center; }
    .center-auth-qr-section .center-auth-section-label { grid-column:1/-1; }
    .center-auth-qr-card { display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center;margin-top:0;text-align:left; }
    .center-auth-qr-card p { margin:0; }
}
@media (max-width: 620px) {
    body.center-auth-flow .topbar,body.center-auth-flow .topbar-inner { min-height:70px; }
    body.center-auth-flow .brand-logo-image { max-height:48px; }
    body.center-auth-flow .page-content { width:calc(100% - 20px);min-height:calc(100vh - 124px);padding:18px 0 24px; }
    .center-auth-story { padding:20px;border-radius:20px; }
    .center-auth-story::after { inset:10px;border-radius:15px; }
    .center-auth-feature-list,.center-auth-story-compact .center-auth-feature-list { grid-template-columns:1fr; }
    .center-auth-feature small { display:block; }
    .center-auth-card { padding:22px;border-radius:20px; }
    .center-auth-card-head { grid-template-columns:40px minmax(0,1fr);gap:12px;margin-bottom:22px; }
    .center-auth-step-icon { width:40px;height:40px;border-radius:12px; }
    .center-auth-card-head h1 { font-size:1.8rem; }
    .center-auth-wide-card { padding:19px;border-radius:21px; }
    .center-auth-wide-head { display:grid;gap:18px;padding-bottom:20px; }
    .center-auth-progress { justify-self:start; }
    .center-auth-wide-head h1 { font-size:2rem; }
    .center-auth-qr-section { display:block;padding:14px; }
    .center-auth-qr-card { display:block;margin-top:15px;text-align:center; }
    .center-auth-qr-frame { width:min(210px,100%); }
    .center-auth-qr-card p { margin:13px auto 0; }
    .center-auth-setup-main { padding:14px; }
    .center-auth-manual-secret { grid-template-columns:1fr; }
    .center-auth-copy-button { width:100%; }
    .center-auth-setup-form { grid-template-columns:1fr; }
    .center-auth-setup-form .center-auth-submit { width:100% !important;min-width:0; }
    .center-auth-recovery-grid { grid-template-columns:1fr; }
    .center-auth-section-row { align-items:stretch;flex-direction:column; }
    .center-auth-section-row .center-auth-copy-button { width:100%; }
    .center-auth-recovery-actions { flex-direction:column-reverse; }
    .center-auth-recovery-actions .button { width:100% !important;justify-content:center; }
}
@media print {
    body.center-auth-flow .topbar,
    body.center-auth-flow .site-footer,
    body.center-auth-flow .center-auth-recovery-guide,
    body.center-auth-flow .center-auth-recovery-actions,
    body.center-auth-flow .flash-stack { display:none !important; }
    body.center-auth-flow .page-content { display:block;width:100%;min-height:0;padding:0; }
    .center-auth-wide-card { border:0 !important;box-shadow:none !important;background:#fff !important;color:#000 !important; }
    .center-auth-wide-head h1,.center-auth-wide-head p,.center-auth-kicker,.center-auth-section-label strong { color:#000 !important; }
    .center-auth-recovery-layout { display:block; }
    .center-auth-recovery-codes { border:0;background:#fff; }
    .center-auth-recovery-grid code { border:1px solid #bbb;background:#fff;color:#000; }
}
@media (prefers-reduced-motion: reduce) {
    body.center-auth-flow .center-auth-story,
    body.center-auth-flow .center-auth-card,
    body.center-auth-flow .center-auth-wide-card { animation:none; }
    .center-auth-feature,.center-auth-input,.center-auth-submit { transition:none !important; }
}


/* CENTER CRM 0.12.29 — centered login + viewport height correction */
body.center-auth-flow {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
body.center-auth-flow > .topbar {
    flex: 0 0 auto;
}
body.center-auth-flow .page-content {
    flex: 1 0 auto;
    min-height: 0;
    box-sizing: border-box;
    padding-top: clamp(22px, 4vh, 42px);
    padding-bottom: clamp(22px, 4vh, 42px);
}
body.center-auth-flow > .site-footer {
    flex: 0 0 auto;
    margin-top: 0;
}
.center-auth-shell-login {
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-auth-shell-login .center-auth-frame {
    width: min(500px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.center-auth-shell-login .center-auth-login-card {
    width: 100%;
    box-sizing: border-box;
}
.center-auth-shell-login::before {
    left: 50%;
    top: 50%;
    width: 560px;
    height: 560px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(246,197,67,.065), transparent 68%);
}
.center-auth-shell-login::after {
    display: none;
}
@media (max-width: 620px) {
    body.center-auth-flow .page-content {
        min-height: 0;
        padding-top: 16px;
        padding-bottom: 18px;
    }
    .center-auth-shell-login .center-auth-frame {
        width: 100%;
    }
}


/* CENTER CRM 0.12.30 — centered 2FA challenge */
.center-auth-shell-challenge-single {
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-auth-frame-challenge-single {
    width: min(500px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.center-auth-challenge-card-single {
    width: 100%;
    box-sizing: border-box;
}
.center-auth-shell-challenge-single::before {
    left: 50%;
    top: 50%;
    width: 560px;
    height: 560px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(246,197,67,.06), transparent 68%);
}
.center-auth-shell-challenge-single::after { display: none; }
.center-auth-challenge-head { margin-bottom: 24px; }
.center-auth-challenge-head h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -.04em;
}
.center-auth-challenge-head > div > p:last-child {
    max-width: 390px;
    line-height: 1.55;
}
.center-auth-challenge-form { gap: 14px; }
.center-auth-code-input-formatted {
    min-height: 58px;
    padding-inline: 18px !important;
    text-align: center;
    font-size: 1.18rem !important;
    font-weight: 850 !important;
    letter-spacing: .18em;
    font-variant-numeric: tabular-nums;
}
.center-auth-code-input-formatted::placeholder {
    color: #666 !important;
    opacity: 1;
    letter-spacing: .18em;
}
.center-auth-code-input-formatted.is-recovery-code {
    text-align: left;
    letter-spacing: .05em;
    font-size: .95rem !important;
}
.center-auth-code-hint {
    display: block;
    margin-top: 7px;
    color: #707070;
    font-size: .66rem;
    line-height: 1.45;
}
.center-auth-challenge-tip { margin-top: 18px; }
.center-auth-challenge-card-single .center-auth-back {
    margin-top: 14px;
}
.center-auth-challenge-card-single.is-auto-submitting .center-auth-submit {
    pointer-events: none;
    filter: brightness(.95);
}
.center-auth-challenge-card-single.is-auto-submitting .center-auth-submit::after {
    content: "…";
    margin-left: 4px;
}
@media (max-width: 620px) {
    .center-auth-frame-challenge-single { width: 100%; }
    .center-auth-code-input-formatted { min-height: 54px; font-size: 1.08rem !important; }
}
