:root {
    --auth-bg: #071316;
    --auth-panel: rgba(10, 27, 31, 0.82);
    --auth-panel-strong: #0c2025;
    --auth-line: rgba(160, 220, 216, 0.15);
    --auth-line-strong: rgba(139, 232, 220, 0.36);
    --auth-text: #eefaf8;
    --auth-muted: #91aaa9;
    --auth-dim: #65807f;
    --auth-accent: #7ce8d7;
    --auth-accent-strong: #3bc9b5;
    --auth-blue: #6db9ff;
    --auth-danger: #ff7885;
    --auth-danger-bg: rgba(128, 28, 43, 0.24);
    --auth-success: #78e5b4;
    --auth-success-bg: rgba(30, 126, 89, 0.2);
    --auth-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
    --auth-radius-xl: 32px;
    --auth-radius-lg: 20px;
    --auth-radius-md: 14px;
    font-family: Inter, Pretendard, "Noto Sans KR", "Segoe UI", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--auth-text);
    background:
        radial-gradient(circle at 12% 18%, rgba(35, 154, 143, 0.18), transparent 34rem),
        radial-gradient(circle at 88% 84%, rgba(55, 107, 171, 0.18), transparent 32rem),
        linear-gradient(145deg, #061114 0%, #091b1f 48%, #071216 100%);
}

.auth-page::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: 0.19;
    background-image:
        linear-gradient(rgba(150, 225, 217, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 225, 217, 0.11) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.auth-aurora {
    position: fixed;
    z-index: 0;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.18;
}

.auth-aurora-one {
    top: -12rem;
    right: 22%;
    background: #55e4d0;
}

.auth-aurora-two {
    bottom: -15rem;
    left: 17%;
    background: #3486df;
}

/* 로그인 화면의 스토리 영역과 입력 패널을 하나의 카드처럼 구성합니다. */
.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(26rem, 1.1fr) minmax(28rem, 0.9fr);
    width: min(1180px, calc(100% - 48px));
    min-height: min(760px, calc(100vh - 64px));
    margin: 32px auto;
    overflow: hidden;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-xl);
    box-shadow: var(--auth-shadow);
    background: rgba(5, 17, 20, 0.7);
    backdrop-filter: blur(24px);
}

.auth-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 48px 54px 42px;
    overflow: hidden;
    border-right: 1px solid var(--auth-line);
    background:
        linear-gradient(150deg, rgba(17, 64, 66, 0.66), rgba(8, 28, 33, 0.9)),
        radial-gradient(circle at 78% 32%, rgba(113, 235, 215, 0.2), transparent 18rem);
}

.auth-story::after {
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(126, 234, 217, 0.12);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 55px rgba(126, 234, 217, 0.035),
        0 0 0 110px rgba(126, 234, 217, 0.02);
}

.auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 13px;
    color: var(--auth-text);
    text-decoration: none;
}

.auth-brand > span:last-child {
    display: grid;
    gap: 1px;
}

.auth-brand strong {
    font-size: 18px;
    font-weight: 760;
    letter-spacing: 0.24em;
}

.auth-brand small {
    color: var(--auth-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.auth-brand-orbit {
    position: relative;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(120, 232, 215, 0.48);
    border-radius: 50%;
    box-shadow: inset 0 0 18px rgba(85, 221, 203, 0.12);
}

.auth-brand-orbit::before,
.auth-brand-orbit::after,
.auth-brand-orbit span {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.auth-brand-orbit::before {
    inset: 8px;
    border: 1px solid rgba(124, 232, 215, 0.78);
}

.auth-brand-orbit::after {
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    background: var(--auth-accent);
    box-shadow: 0 0 18px var(--auth-accent);
}

.auth-brand-orbit span {
    top: 2px;
    left: 17px;
    width: 4px;
    height: 4px;
    transform-origin: 2px 17px;
    background: #d6fffa;
    animation: auth-orbit 7s linear infinite;
}

@keyframes auth-orbit {
    to { transform: rotate(360deg); }
}

.auth-story-copy {
    position: relative;
    z-index: 2;
    margin: auto 0 34px;
}

.auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--auth-accent);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.auth-eyebrow span {
    width: 25px;
    height: 1px;
    background: var(--auth-accent);
    box-shadow: 0 0 8px var(--auth-accent);
}

.auth-story-copy h1 {
    max-width: 590px;
    margin: 0;
    font-size: clamp(38px, 4.4vw, 64px);
    font-weight: 630;
    line-height: 1.13;
    letter-spacing: -0.05em;
}

.auth-story-copy h1 em {
    color: var(--auth-accent);
    font-style: normal;
    text-shadow: 0 0 32px rgba(88, 228, 208, 0.24);
}

.auth-story-copy > p:last-child {
    max-width: 510px;
    margin: 25px 0 0;
    color: #a9c1c0;
    font-size: 15px;
    line-height: 1.8;
}

.auth-signal-card {
    position: relative;
    z-index: 2;
    padding: 18px 20px 15px;
    border: 1px solid rgba(133, 231, 218, 0.17);
    border-radius: var(--auth-radius-lg);
    background: rgba(4, 19, 23, 0.46);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.auth-signal-head,
.auth-signal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #78918f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.auth-signal-head strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-success);
    font-size: 9px;
}

.auth-signal-head strong::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--auth-success);
    content: "";
    box-shadow: 0 0 9px var(--auth-success);
}

.auth-signal-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 72px;
    margin: 14px 0 11px;
    padding-top: 8px;
    border-bottom: 1px solid rgba(130, 218, 207, 0.1);
}

.auth-signal-chart i {
    flex: 1;
    min-width: 8px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, rgba(59, 201, 181, 0.22), rgba(124, 232, 215, 0.86));
    box-shadow: 0 0 13px rgba(80, 218, 199, 0.08);
}

.auth-signal-chart i:nth-child(1) { height: 28%; }
.auth-signal-chart i:nth-child(2) { height: 52%; }
.auth-signal-chart i:nth-child(3) { height: 43%; }
.auth-signal-chart i:nth-child(4) { height: 72%; }
.auth-signal-chart i:nth-child(5) { height: 59%; }
.auth-signal-chart i:nth-child(6) { height: 88%; }
.auth-signal-chart i:nth-child(7) { height: 68%; }
.auth-signal-chart i:nth-child(8) { height: 100%; }

.auth-story-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 24px 0 0;
    color: #66807e;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.auth-story-foot span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auth-success);
    box-shadow: 0 0 10px var(--auth-success);
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(36px, 5vw, 72px);
    background: linear-gradient(160deg, rgba(9, 25, 29, 0.92), rgba(6, 18, 22, 0.96));
}

.auth-panel-inner {
    width: min(100%, 410px);
}

.auth-panel-header {
    text-align: left;
}

.auth-panel-header > p {
    margin: 0 0 10px;
    color: var(--auth-accent);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.18em;
}

.auth-panel-header h1,
.auth-panel-header h2 {
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.045em;
}

.auth-panel-header > span {
    display: block;
    margin-top: 12px;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
}

.auth-message span {
    display: grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.auth-message p {
    margin: 0;
}

.auth-message.is-error {
    color: #ffc4ca;
    border-color: rgba(255, 120, 133, 0.27);
    background: var(--auth-danger-bg);
}

.auth-message.is-error span {
    color: #26070d;
    background: var(--auth-danger);
}

.auth-message.is-success {
    color: #bff7dd;
    border-color: rgba(120, 229, 180, 0.25);
    background: var(--auth-success-bg);
}

.auth-message.is-success span {
    color: #08261a;
    background: var(--auth-success);
}

.auth-form {
    display: grid;
    gap: 19px;
    margin-top: 32px;
}

.auth-field {
    display: grid;
    gap: 9px;
}

.auth-field > span:first-child {
    color: #bdd1d0;
    font-size: 12px;
    font-weight: 680;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap > svg {
    position: absolute;
    left: 15px;
    z-index: 1;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #789391;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 46px;
    color: var(--auth-text);
    outline: 0;
    border: 1px solid rgba(144, 205, 199, 0.17);
    border-radius: var(--auth-radius-md);
    background: rgba(3, 15, 18, 0.64);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-input-wrap input::placeholder {
    color: #526a69;
}

.auth-input-wrap input:hover:not(:disabled) {
    border-color: rgba(144, 220, 212, 0.28);
}

.auth-input-wrap input:focus {
    border-color: rgba(124, 232, 215, 0.7);
    background: rgba(6, 25, 28, 0.82);
    box-shadow: 0 0 0 3px rgba(65, 202, 183, 0.1), 0 0 24px rgba(53, 193, 174, 0.08);
}

.auth-input-wrap input:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.auth-password-toggle {
    position: absolute;
    right: 9px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    cursor: pointer;
    color: #77908f;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible,
.auth-password-toggle[aria-pressed="true"] {
    color: var(--auth-accent);
    outline: 0;
    background: rgba(113, 225, 208, 0.08);
}

.auth-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-caps-hint {
    color: #f4c477;
    font-size: 11px;
}

.auth-submit,
.auth-secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--auth-radius-md);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
    color: #05201d;
    border: 1px solid rgba(169, 255, 243, 0.52);
    background: linear-gradient(135deg, #8af0e0, #4ed0bd);
    box-shadow: 0 13px 30px rgba(36, 180, 160, 0.19), inset 0 1px rgba(255, 255, 255, 0.46);
    font-size: 14px;
    font-weight: 770;
}

.auth-submit svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-submit:hover:not(:disabled),
.auth-submit:focus-visible {
    transform: translateY(-1px);
    outline: 0;
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(36, 180, 160, 0.27), 0 0 0 3px rgba(91, 218, 200, 0.1);
}

.auth-submit:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.auth-submit.is-loading svg {
    border: 2px solid rgba(4, 31, 27, 0.28);
    border-top-color: #062822;
    border-radius: 50%;
    animation: auth-spin 700ms linear infinite;
}

.auth-submit.is-loading svg * {
    opacity: 0;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

.auth-security-note {
    display: flex;
    gap: 11px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--auth-line);
}

.auth-security-note > svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--auth-accent);
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-security-note p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.auth-security-note strong {
    color: #bcd0cf;
    font-size: 11px;
}

.auth-security-note span {
    color: var(--auth-dim);
    font-size: 10px;
    line-height: 1.5;
}

/* 비밀번호 변경과 접근거부 화면은 중앙 집중형 보안 카드로 표시합니다. */
.auth-compact-shell,
.auth-status-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100% - 36px, 640px);
    margin: 0 auto;
    padding: 36px 0 54px;
}

.auth-brand-compact {
    margin-bottom: 27px;
}

.auth-compact-card,
.auth-status-card {
    width: 100%;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-xl);
    background: linear-gradient(155deg, rgba(12, 34, 39, 0.92), rgba(5, 18, 22, 0.96));
    box-shadow: var(--auth-shadow), inset 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(26px);
}

.auth-compact-card .auth-panel-header {
    text-align: center;
}

.auth-shield-mark,
.auth-status-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    color: var(--auth-accent);
    border: 1px solid rgba(124, 232, 215, 0.3);
    border-radius: 20px;
    background: rgba(66, 197, 179, 0.08);
    box-shadow: 0 0 35px rgba(57, 195, 176, 0.1);
}

.auth-shield-mark svg,
.auth-status-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--auth-line);
    border-radius: 15px;
    background: rgba(2, 14, 17, 0.42);
}

.auth-user-chip > span {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #082522;
    border-radius: 12px;
    background: linear-gradient(135deg, #9bf4e7, #55cfbd);
    font-size: 14px;
    font-weight: 800;
}

.auth-user-chip p {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
    margin: 0;
}

.auth-user-chip strong {
    overflow: hidden;
    color: #dcecea;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-user-chip small {
    color: var(--auth-dim);
    font-size: 10px;
}

.auth-user-chip em {
    padding: 5px 7px;
    color: #f5c478;
    border: 1px solid rgba(244, 196, 119, 0.2);
    border-radius: 7px;
    background: rgba(151, 98, 22, 0.12);
    font-size: 8px;
    font-style: normal;
    font-weight: 780;
    letter-spacing: 0.07em;
}

.auth-password-form {
    margin-top: 26px;
}

.auth-password-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 14px 15px;
    border: 1px solid rgba(142, 205, 199, 0.11);
    border-radius: 13px;
    background: rgba(2, 14, 17, 0.35);
}

.auth-password-rules p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #78908f;
    font-size: 10px;
}

.auth-password-rules p i {
    width: 7px;
    height: 7px;
    border: 1px solid #607a78;
    border-radius: 50%;
}

.auth-password-rules p.is-met {
    color: var(--auth-success);
}

.auth-password-rules p.is-met i {
    border-color: var(--auth-success);
    background: var(--auth-success);
    box-shadow: 0 0 8px rgba(120, 229, 180, 0.5);
}

.auth-password-rules > span {
    grid-column: 1 / -1;
    margin-top: 3px;
    color: #5f7776;
    font-size: 9px;
    line-height: 1.5;
}

.auth-inline-logout {
    margin-top: 18px;
    text-align: center;
}

.auth-inline-logout button {
    padding: 7px 10px;
    cursor: pointer;
    color: #7f9997;
    border: 0;
    background: transparent;
    font-size: 11px;
}

.auth-inline-logout button:hover,
.auth-inline-logout button:focus-visible {
    color: var(--auth-accent);
    outline: 0;
}

.auth-status-shell {
    justify-content: center;
    min-height: 100vh;
}

.auth-status-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.auth-status-code {
    position: absolute;
    top: -22px;
    right: 18px;
    color: rgba(126, 232, 215, 0.045);
    font-size: 112px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.auth-status-card .auth-eyebrow {
    justify-content: center;
    margin-top: 2px;
    margin-bottom: 13px;
}

.auth-status-card h1 {
    position: relative;
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 650;
    letter-spacing: -0.05em;
}

.auth-status-description {
    max-width: 470px;
    margin: 17px auto 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.8;
}

.auth-status-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.auth-status-actions .auth-submit {
    width: auto;
    min-width: 190px;
    padding: 0 22px;
}

.auth-secondary-button {
    min-width: 120px;
    padding: 0 20px;
    color: #adc2c0;
    border: 1px solid var(--auth-line-strong);
    background: rgba(14, 41, 44, 0.62);
    font-size: 12px;
    font-weight: 680;
}

.auth-secondary-button:hover,
.auth-secondary-button:focus-visible {
    color: var(--auth-text);
    outline: 0;
    border-color: rgba(124, 232, 215, 0.56);
    transform: translateY(-1px);
}

.auth-status-reference {
    display: grid;
    gap: 5px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--auth-line);
}

.auth-status-reference span {
    color: var(--auth-accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.auth-status-reference p {
    margin: 0;
    color: #637b79;
    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
        width: min(680px, calc(100% - 32px));
        margin: 16px auto;
    }

    .auth-story {
        min-height: auto;
        padding: 34px 38px;
        border-right: 0;
        border-bottom: 1px solid var(--auth-line);
    }

    .auth-story-copy {
        margin: 60px 0 0;
    }

    .auth-story-copy h1 {
        font-size: clamp(35px, 8vw, 52px);
    }

    .auth-signal-card,
    .auth-story-foot {
        display: none;
    }

    .auth-panel {
        padding: 42px 38px 48px;
    }
}

@media (max-width: 560px) {
    .auth-shell {
        width: calc(100% - 20px);
        border-radius: 23px;
    }

    .auth-story {
        padding: 25px 23px 29px;
    }

    .auth-story-copy {
        margin-top: 42px;
    }

    .auth-story-copy > p:last-child {
        margin-top: 17px;
        font-size: 13px;
    }

    .auth-panel {
        padding: 35px 23px 39px;
    }

    .auth-compact-shell,
    .auth-status-shell {
        width: calc(100% - 20px);
        padding-top: 24px;
    }

    .auth-compact-card,
    .auth-status-card {
        padding: 28px 21px;
        border-radius: 23px;
    }

    .auth-user-chip em {
        display: none;
    }

    .auth-password-rules {
        grid-template-columns: 1fr;
    }

    .auth-password-rules > span {
        grid-column: auto;
    }

    .auth-status-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-status-actions .auth-submit,
    .auth-status-actions form,
    .auth-secondary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* OS MRP OPERATION 인증 화면도 본문과 같은 파스텔 블루·민트 테마를 사용합니다. */
:root {
    --auth-bg: #f4f7fa;
    --auth-panel: rgb(255 255 255 / 88%);
    --auth-panel-strong: #eef5f6;
    --auth-line: rgb(127 158 180 / 20%);
    --auth-line-strong: rgb(110 165 161 / 38%);
    --auth-text: #30475b;
    --auth-muted: #728699;
    --auth-dim: #91a0ad;
    --auth-accent: #6ca9a3;
    --auth-accent-strong: #57938d;
    --auth-blue: #83a9cc;
    --auth-danger: #c76f7a;
    --auth-danger-bg: #fff0f2;
    --auth-success: #669e86;
    --auth-success-bg: #edf8f3;
    --auth-shadow: 0 28px 70px rgb(79 105 127 / 16%);
    color-scheme: light;
}

.auth-page {
    color: var(--auth-text);
    background:
        radial-gradient(circle at 12% 18%, rgb(178 218 210 / 34%), transparent 34rem),
        radial-gradient(circle at 88% 84%, rgb(181 205 228 / 38%), transparent 32rem),
        linear-gradient(145deg, #f5f8fb 0%, #edf5f5 48%, #f3f6fa 100%);
}

.auth-page::before {
    opacity: 0.32;
    background-image:
        linear-gradient(rgb(131 169 204 / 13%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(131 169 204 / 13%) 1px, transparent 1px);
}

.auth-aurora {
    opacity: 0.23;
}

.auth-aurora-one {
    background: #b3ddd5;
}

.auth-aurora-two {
    background: #b4cce3;
}

.auth-shell {
    border-color: rgb(139 166 187 / 24%);
    background: rgb(255 255 255 / 72%);
    box-shadow: var(--auth-shadow);
}

.auth-story {
    border-right-color: rgb(139 166 187 / 22%);
    background:
        linear-gradient(150deg, rgb(226 239 247 / 90%), rgb(229 243 239 / 92%)),
        radial-gradient(circle at 78% 32%, rgb(166 216 206 / 30%), transparent 18rem);
}

.auth-story::after {
    border-color: rgb(111 169 163 / 16%);
    box-shadow:
        0 0 0 55px rgb(111 169 163 / 5%),
        0 0 0 110px rgb(131 169 204 / 4%);
}

.auth-brand-orbit {
    border-color: rgb(108 169 163 / 52%);
    background: rgb(255 255 255 / 38%);
    box-shadow: inset 0 0 18px rgb(108 169 163 / 10%);
}

.auth-brand-orbit::before {
    border-color: rgb(108 169 163 / 72%);
}

.auth-brand-orbit span {
    background: #557e91;
}

.auth-story-copy h1 em {
    text-shadow: 0 0 28px rgb(108 169 163 / 15%);
}

.auth-story-copy > p:last-child {
    color: #6c8293;
}

.auth-signal-card {
    border-color: rgb(121 166 181 / 25%);
    background: rgb(255 255 255 / 54%);
    box-shadow: inset 0 1px rgb(255 255 255 / 62%);
}

.auth-signal-head,
.auth-signal-meta {
    color: #788d9d;
}

.auth-signal-chart {
    border-bottom-color: rgb(112 157 169 / 18%);
}

.auth-signal-chart i {
    background: linear-gradient(to top, rgb(145 193 185 / 32%), rgb(118 180 171 / 78%));
    box-shadow: 0 0 13px rgb(108 169 163 / 10%);
}

.auth-story-foot {
    color: #8496a4;
}

.auth-panel {
    background: linear-gradient(160deg, rgb(255 255 255 / 90%), rgb(245 249 250 / 94%));
}

.auth-message.is-error {
    color: #96515b;
    border-color: rgb(199 111 122 / 28%);
}

.auth-message.is-error span {
    color: #fff;
}

.auth-message.is-success {
    color: #4d7c68;
    border-color: rgb(102 158 134 / 28%);
}

.auth-message.is-success span {
    color: #fff;
}

.auth-field > span:first-child {
    color: #536a7c;
}

.auth-input-wrap > svg {
    stroke: #8095a5;
}

.auth-input-wrap input {
    color: var(--auth-text);
    border-color: rgb(128 158 179 / 26%);
    background: rgb(247 250 252 / 88%);
    box-shadow: inset 0 1px rgb(255 255 255 / 72%);
}

.auth-input-wrap input::placeholder {
    color: #9aa8b4;
}

.auth-input-wrap input:hover:not(:disabled) {
    border-color: rgb(111 169 163 / 40%);
}

.auth-input-wrap input:focus {
    border-color: rgb(108 169 163 / 72%);
    background: #fff;
    box-shadow: 0 0 0 3px rgb(108 169 163 / 12%), 0 10px 28px rgb(90 125 149 / 8%);
}

.auth-password-toggle {
    color: #8296a5;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible,
.auth-password-toggle[aria-pressed="true"] {
    background: rgb(108 169 163 / 10%);
}

.auth-submit {
    color: #35566a;
    border-color: rgb(153 190 204 / 48%);
    background: linear-gradient(135deg, #c7deeb, #b9ddd5);
    box-shadow: 0 13px 28px rgb(91 130 151 / 16%), inset 0 1px rgb(255 255 255 / 68%);
}

.auth-submit:hover:not(:disabled),
.auth-submit:focus-visible {
    filter: brightness(1.015);
    box-shadow: 0 15px 32px rgb(91 130 151 / 20%), 0 0 0 3px rgb(108 169 163 / 10%);
}

.auth-submit.is-loading svg {
    border-color: rgb(53 86 106 / 25%);
    border-top-color: #35566a;
}

.auth-security-note strong {
    color: #5f7485;
}

.auth-compact-card,
.auth-status-card {
    border-color: rgb(133 162 183 / 24%);
    background: linear-gradient(155deg, rgb(255 255 255 / 92%), rgb(241 247 248 / 94%));
    box-shadow: var(--auth-shadow), inset 0 1px rgb(255 255 255 / 70%);
}

.auth-shield-mark,
.auth-status-icon {
    border-color: rgb(108 169 163 / 34%);
    background: rgb(186 222 215 / 24%);
    box-shadow: 0 0 30px rgb(108 169 163 / 10%);
}

.auth-user-chip {
    border-color: rgb(133 162 183 / 22%);
    background: rgb(241 246 248 / 78%);
}

.auth-user-chip > span {
    color: #35566a;
    background: linear-gradient(135deg, #c5ddeb, #b9ddd5);
}

.auth-user-chip strong {
    color: #455d70;
}

.auth-password-rules {
    border-color: rgb(133 162 183 / 20%);
    background: rgb(241 246 248 / 68%);
}

.auth-password-rules p {
    color: #758a99;
}

.auth-status-code {
    color: rgb(108 169 163 / 9%);
}

.auth-secondary-button {
    color: #62798a;
    border-color: rgb(133 162 183 / 28%);
    background: rgb(238 244 247 / 82%);
}

.auth-secondary-button:hover,
.auth-secondary-button:focus-visible {
    color: #405b70;
    border-color: rgb(108 169 163 / 52%);
}

.auth-status-reference p {
    color: #8093a1;
}
