:root {
    color-scheme: light;
    --ink: #12245d;
    --ink-strong: #0b1947;
    --ink-soft: #65708f;
    --teal: #087d8d;
    --teal-light: #18b9ad;
    --indigo: #24378e;
    --coral: #ff735c;
    --danger: #b92958;
    --success: #087a67;
    --line: rgba(128, 151, 196, 0.25);
    --field: rgba(255, 255, 255, 0.66);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #f7f9ff;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding:
        calc(22px + env(safe-area-inset-top, 0px))
        calc(18px + env(safe-area-inset-right, 0px))
        calc(22px + env(safe-area-inset-bottom, 0px))
        calc(18px + env(safe-area-inset-left, 0px));
    display: grid;
    place-items: center;
    color: var(--ink);
    background-color: #f7f9ff;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
    font: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aurora-page {
    position: relative;
    width: min(100%, 1080px);
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 34px 90px rgba(44, 69, 132, 0.18),
        0 0 0 1px rgba(86, 125, 183, 0.05),
        0 0 64px rgba(103, 220, 225, 0.14);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.brand-lockup {
    position: absolute;
    z-index: 3;
    top: 42px;
    left: 46px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(40, 143, 156, 0.2);
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 34px rgba(66, 154, 175, 0.14);
}

.brand-mark img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: inherit;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    color: var(--ink-strong);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.36rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.brand-copy small {
    margin-top: 3px;
    color: #617099;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.aurora-hero {
    position: relative;
    min-width: 0;
    min-height: 700px;
    overflow: hidden;
    background-color: #f8faff;
}

.aurora-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% center;
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: 48px;
    bottom: 76px;
    max-width: 410px;
}

.hero-copy p {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    color: var(--ink-strong);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(2.55rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-copy span {
    display: block;
    width: 46px;
    height: 4px;
    margin-top: 24px;
    border-radius: 6px;
    background-color: var(--coral);
    box-shadow: 0 0 18px rgba(255, 115, 92, 0.28);
}

.auth-panel {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 700px;
    padding: 66px 52px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(250, 252, 255, 0.76);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.auth-view[hidden] {
    display: none;
}

.auth-view {
    margin: auto 0;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin: 0 0 10px 8px;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 700;
}

.field-control {
    position: relative;
}

.field-icon {
    position: absolute;
    z-index: 1;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal);
    font-size: 1.12rem;
    transition: color 180ms ease;
}

.field-input {
    width: 100%;
    height: 64px;
    padding: 0 52px 0 54px;
    border: 1px solid var(--line);
    border-radius: 22px;
    outline: 0;
    color: var(--ink-strong);
    background-color: var(--field);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 28px rgba(56, 88, 146, 0.08);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field-input::placeholder {
    color: #8b94ac;
    font-weight: 500;
}

.field-input:focus {
    border-color: rgba(11, 142, 157, 0.55);
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 0 0 4px rgba(24, 185, 173, 0.1),
        0 14px 32px rgba(43, 92, 148, 0.11);
}

.field-action {
    position: absolute;
    z-index: 2;
    right: 12px;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 14px;
    color: #586a9c;
    background-color: transparent;
    cursor: pointer;
}

.field-action:hover,
.field-action:focus-visible {
    color: var(--teal);
    background-color: rgba(24, 185, 173, 0.08);
    outline: 0;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 7px 26px;
}

.check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #344477;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.check-label input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--teal);
}

.text-button {
    padding: 3px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: var(--teal);
    background-color: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
    color: var(--indigo);
    outline: 0;
}

.primary-button {
    position: relative;
    width: 100%;
    height: 64px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(14, 126, 143, 0.45);
    border-radius: 23px;
    color: #fff;
    background-color: var(--indigo);
    box-shadow:
        0 16px 34px rgba(21, 79, 151, 0.21),
        0 0 25px rgba(81, 209, 205, 0.12);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.primary-button > span,
.primary-button > i {
    position: relative;
    z-index: 1;
}

.primary-button > span {
    grid-column: 2;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.primary-button > i {
    grid-column: 3;
    justify-self: end;
    font-size: 0.95rem;
}

.primary-button:hover,
.primary-button:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(21, 79, 151, 0.27),
        0 0 34px rgba(81, 209, 205, 0.18);
    outline: 0;
}

.primary-button:disabled,
.secondary-button:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.secondary-button {
    display: none;
    width: 100%;
    min-height: 54px;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(8, 125, 141, 0.2);
    border-radius: 19px;
    color: var(--teal);
    background-color: rgba(255, 255, 255, 0.54);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.secondary-button:hover,
.secondary-button:focus-visible {
    border-color: rgba(8, 125, 141, 0.4);
    background-color: rgba(255, 255, 255, 0.78);
    outline: 0;
}

.login-status {
    display: none;
    margin: 13px 0 0;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.secure-note {
    margin: 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #41558f;
    font-size: 0.78rem;
    font-weight: 600;
}

.secure-note i {
    color: var(--teal);
    font-size: 1rem;
}

.privacy-note {
    position: static;
    margin: 18px 0 0;
    flex: 0 0 auto;
    color: #8791aa;
    font-size: 0.66rem;
    line-height: 1.5;
    text-align: center;
}

.privacy-note a {
    color: var(--teal);
}

.alert {
    position: relative;
    margin-bottom: 20px;
    padding: 14px 15px 14px 44px;
    border: 1px solid transparent;
    border-radius: 17px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.alert i {
    position: absolute;
    left: 16px;
    top: 17px;
}

.alert--error {
    border-color: rgba(185, 41, 88, 0.15);
    color: var(--danger);
    background-color: rgba(255, 238, 244, 0.86);
}

.reset-result {
    margin-bottom: 22px;
    padding: 17px;
    border: 1px solid rgba(8, 122, 103, 0.16);
    border-radius: 20px;
    background-color: rgba(234, 252, 247, 0.8);
}

.reset-result__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--success);
    font-size: 0.84rem;
    font-weight: 800;
}

.credential {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-top: 1px solid rgba(8, 122, 103, 0.1);
}

.credential span {
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
}

.credential strong {
    color: var(--ink-strong);
    font-family: "Space Grotesk", monospace;
    font-size: 0.95rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    border: 0;
    color: var(--teal);
    background-color: transparent;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.back-button:hover,
.back-button:focus-visible {
    color: var(--indigo);
    outline: 0;
}

.auth-kicker {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.auth-title {
    margin: 0;
    color: var(--ink-strong);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3.8vw, 2.35rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.auth-description {
    margin: 12px 0 26px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.55;
}

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 17px 4px 0;
    color: var(--ink-soft);
    font-size: 0.7rem;
    line-height: 1.52;
}

.security-note i {
    margin-top: 2px;
    color: var(--teal);
}

@media (min-width: 821px) {
    .aurora-hero {
        background:
            radial-gradient(circle at 78% 24%, rgba(117, 190, 255, 0.18), transparent 34%),
            linear-gradient(180deg, #eef3ff 0%, #f8faff 48%, #f8faff 100%);
    }

    .aurora-art {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-copy {
        top: 330px;
        bottom: auto;
    }

    .hero-copy h1 {
        text-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9),
            0 3px 18px rgba(255, 255, 255, 0.72);
    }
}

@media (max-width: 820px) {
    body {
        display: block;
        padding: 0;
        background-color: #fbfcff;
    }

    .aurora-page {
        --mobile-hero-height: min(40vw, 220px);
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        display: block;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background-color: #fbfcff;
        box-shadow: none;
    }

    .brand-lockup {
        position: relative;
        top: auto;
        left: auto;
        height: 90px;
        padding:
            calc(21px + env(safe-area-inset-top, 0px))
            calc(23px + env(safe-area-inset-right, 0px))
            7px
            calc(23px + env(safe-area-inset-left, 0px));
        gap: 11px;
        background-color: rgba(251, 252, 255, 0.93);
    }

    .brand-mark {
        width: 49px;
        height: 49px;
        border-radius: 14px;
    }

    .brand-mark img {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 1.03rem;
        letter-spacing: 0.18em;
    }

    .brand-copy small {
        font-size: 0.56rem;
        letter-spacing: 0.13em;
    }

    .aurora-hero {
        min-height: 0;
        height: var(--mobile-hero-height);
    }

    .aurora-art {
        object-fit: cover;
        object-position: center center;
    }

    .hero-copy {
        left: calc(24px + env(safe-area-inset-left, 0px));
        top: auto;
        bottom: clamp(10px, 3vw, 18px);
        max-width: min(58vw, 245px);
    }

    .hero-copy p {
        margin-bottom: 10px;
        font-size: 0.62rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.45rem, 6.8vw, 2rem);
        line-height: 1;
        letter-spacing: -0.05em;
        text-shadow:
            0 1px 0 rgba(255, 255, 255, 0.92),
            0 3px 16px rgba(255, 255, 255, 0.78);
    }

    .hero-copy span {
        width: 34px;
        height: 3px;
        margin-top: 10px;
    }

    .auth-panel {
        min-height: 0;
        padding:
            20px
            calc(23px + env(safe-area-inset-right, 0px))
            calc(12px + env(safe-area-inset-bottom, 0px))
            calc(23px + env(safe-area-inset-left, 0px));
        background-color: rgba(248, 251, 255, 0.86);
    }

    .field-input {
        height: 56px;
        border-radius: 19px;
    }

    .auth-view {
        margin: 0;
    }

    .primary-button {
        height: 60px;
        border-radius: 21px;
    }

    .privacy-note {
        display: none;
    }

    body[data-open-reset="1"] .aurora-hero {
        height: var(--mobile-hero-height);
    }

    body[data-open-reset="1"] .aurora-art {
        object-position: center center;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .aurora-hero {
        height: 40px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .aurora-art {
        object-position: center 18%;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .hero-copy {
        display: none;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .auth-panel {
        height: calc(100dvh - 40px);
        padding:
            8px
            calc(18px + env(safe-area-inset-right, 0px))
            calc(7px + env(safe-area-inset-bottom, 0px))
            calc(18px + env(safe-area-inset-left, 0px));
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-result {
        margin-bottom: 10px;
        padding: 12px 14px;
        border-radius: 17px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-result__title {
        margin-bottom: 7px;
        font-size: 0.74rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .credential {
        padding: 6px 0;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .field {
        margin-bottom: 10px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .field label {
        margin: 0 0 5px 5px;
        font-size: 0.7rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .field-input {
        height: 44px;
        padding-right: 44px;
        padding-left: 44px;
        border-radius: 15px;
        font-size: 0.82rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .field-icon {
        left: 16px;
        font-size: 0.95rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .field-action {
        right: 7px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .form-options {
        margin: 0 3px 10px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .check-label,
    body[data-reset-success="1"]:not([data-open-reset="1"]) .text-button {
        font-size: 0.68rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .primary-button {
        height: 48px;
        border-radius: 17px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .primary-button > span {
        font-size: 0.76rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .secure-note {
        margin-top: 8px;
        gap: 7px;
        font-size: 0.68rem;
    }
}

@media (max-width: 380px) {
    .form-options {
        align-items: flex-start;
        margin-right: 3px;
        margin-left: 3px;
    }

    .check-label,
    .text-button {
        font-size: 0.71rem;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }
}

@media (max-width: 820px) and (max-height: 720px) {
    body {
        overflow: hidden;
    }

    .aurora-page {
        --mobile-hero-height: min(40vw, 24dvh, 180px);
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    .brand-lockup {
        height: 64px;
        padding:
            calc(8px + env(safe-area-inset-top, 0px))
            calc(18px + env(safe-area-inset-right, 0px))
            4px
            calc(18px + env(safe-area-inset-left, 0px));
        gap: 9px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .brand-mark img {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }

    .brand-copy small {
        margin-top: 1px;
        font-size: 0.48rem;
        letter-spacing: 0.11em;
    }

    .aurora-hero {
        height: var(--mobile-hero-height);
    }

    .hero-copy {
        top: auto;
        bottom: 15px;
        left: calc(19px + env(safe-area-inset-left, 0px));
    }

    .hero-copy h1 {
        font-size: 1.72rem;
        line-height: 1;
    }

    .hero-copy span {
        width: 30px;
        height: 3px;
        margin-top: 10px;
    }

    .auth-panel {
        height: calc(100dvh - var(--mobile-hero-height));
        justify-content: flex-start;
        padding:
            7px
            calc(18px + env(safe-area-inset-right, 0px))
            calc(7px + env(safe-area-inset-bottom, 0px))
            calc(18px + env(safe-area-inset-left, 0px));
    }

    .field {
        margin-bottom: 10px;
    }

    .field label {
        margin: 0 0 5px 5px;
        font-size: 0.7rem;
    }

    .field-input {
        height: 44px;
        padding-right: 44px;
        padding-left: 44px;
        border-radius: 15px;
        font-size: 0.82rem;
    }

    .field-icon {
        left: 16px;
        font-size: 0.95rem;
    }

    .field-action {
        right: 7px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .form-options {
        margin: 0 3px 10px;
    }

    .check-label,
    .text-button {
        font-size: 0.68rem;
    }

    .check-label {
        gap: 7px;
    }

    .check-label input {
        width: 16px;
        height: 16px;
    }

    .primary-button {
        height: 48px;
        border-radius: 17px;
    }

    .primary-button > span {
        font-size: 0.76rem;
    }

    .secure-note {
        margin-top: 8px;
        gap: 7px;
        font-size: 0.68rem;
    }

    .secure-note i {
        font-size: 0.82rem;
    }

    body[data-open-reset="1"] .aurora-hero {
        height: var(--mobile-hero-height);
    }

    body[data-open-reset="1"] .auth-panel {
        height: calc(100dvh - var(--mobile-hero-height));
        padding-top: 8px;
    }

    .reset-view .back-button {
        margin-bottom: 10px;
        font-size: 0.7rem;
    }

    .reset-view .auth-kicker {
        margin-bottom: 5px;
        font-size: 0.58rem;
    }

    .reset-view .auth-title {
        font-size: 1.45rem;
    }

    .reset-view .auth-description {
        margin: 5px 0 10px;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .reset-view .security-note {
        margin-top: 9px;
        font-size: 0.62rem;
    }
}

@media (max-height: 700px) and (min-width: 821px) {
    .aurora-page,
    .aurora-hero,
    .auth-panel {
        min-height: 620px;
    }

    .auth-panel {
        padding-top: 42px;
        padding-bottom: 26px;
    }

    .brand-lockup {
        top: 28px;
    }

    .hero-copy {
        top: auto;
        bottom: 50px;
    }
}

@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;
    }
}

.login-form-view[hidden],
.reset-success-view[hidden] {
    display: none;
}

.reset-success-view {
    width: min(100%, 470px);
    margin: auto;
    text-align: center;
}

.reset-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(22, 163, 140, 0.24);
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.4), transparent 32%),
        linear-gradient(145deg, #13c9b0 0%, #087a67 100%);
    box-shadow:
        0 16px 34px rgba(8, 122, 103, 0.2),
        0 0 0 9px rgba(19, 201, 176, 0.08);
    font-size: 1.7rem;
}

.reset-success__kicker {
    margin: 0 0 7px;
    color: var(--success);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.reset-success__title {
    margin: 0;
    color: var(--ink-strong);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(1.9rem, 3.6vw, 2.35rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.reset-success__lead {
    margin: 10px auto 18px;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.52;
}

.reset-success__credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.reset-credential {
    min-width: 0;
    padding: 14px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    border: 1px solid rgba(95, 129, 189, 0.2);
    border-radius: 18px;
    text-align: left;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(239, 247, 255, 0.77));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 12px 28px rgba(52, 91, 150, 0.08);
}

.reset-credential span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 700;
}

.reset-credential span i {
    color: var(--teal);
}

.reset-credential strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--ink-strong);
    font-family: "Space Grotesk", monospace;
    font-size: 1.28rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reset-success__guidance {
    margin-top: 13px;
    padding: 13px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(32, 95, 174, 0.14);
    border-radius: 17px;
    color: var(--ink);
    text-align: left;
    background-color: rgba(236, 244, 255, 0.72);
}

.reset-success__guidance > i {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, #159fbd, #2e4eaf);
    box-shadow: 0 8px 18px rgba(37, 81, 164, 0.18);
}

.reset-success__guidance strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink-strong);
    font-size: 0.75rem;
}

.reset-success__guidance p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.68rem;
    line-height: 1.46;
}

.reset-success__button {
    margin-top: 17px;
}

.reset-success__footer {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 0.68rem;
}

.reset-success__footer strong {
    color: var(--ink-strong);
}

@media (max-width: 820px) {
    body[data-reset-success="1"]:not([data-open-reset="1"]) .aurora-hero {
        height: 104px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .aurora-art {
        object-position: center 23%;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .hero-copy {
        display: none;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .auth-panel {
        min-height: calc(100dvh - 104px);
        height: auto;
        padding:
            18px
            calc(18px + env(safe-area-inset-right, 0px))
            calc(14px + env(safe-area-inset-bottom, 0px))
            calc(18px + env(safe-area-inset-left, 0px));
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__icon {
        width: 58px;
        height: 58px;
        margin-bottom: 11px;
        font-size: 1.3rem;
        box-shadow:
            0 12px 26px rgba(8, 122, 103, 0.18),
            0 0 0 7px rgba(19, 201, 176, 0.07);
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__kicker {
        margin-bottom: 4px;
        font-size: 0.6rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__title {
        font-size: clamp(1.62rem, 7vw, 1.95rem);
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__lead {
        margin: 7px auto 12px;
        font-size: 0.72rem;
        line-height: 1.42;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__credentials {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-credential {
        padding: 10px 13px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-radius: 15px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-credential span {
        font-size: 0.65rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-credential strong {
        font-size: 1.08rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__guidance {
        margin-top: 9px;
        padding: 10px 11px;
        gap: 10px;
        border-radius: 15px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__guidance > i {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 0.76rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__guidance strong {
        font-size: 0.68rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__guidance p {
        font-size: 0.62rem;
        line-height: 1.38;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__button {
        height: 52px;
        margin-top: 10px;
        border-radius: 18px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__button > span {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__footer {
        margin-top: 7px;
        font-size: 0.6rem;
    }
}

@media (max-width: 820px) and (max-height: 720px) {
    body[data-reset-success="1"]:not([data-open-reset="1"]) .aurora-hero {
        height: 68px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .auth-panel {
        height: calc(100dvh - 68px);
        min-height: 0;
        padding-top: 8px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 6px;
        font-size: 1rem;
        box-shadow:
            0 8px 20px rgba(8, 122, 103, 0.16),
            0 0 0 5px rgba(19, 201, 176, 0.06);
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__title {
        font-size: 1.45rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__lead {
        margin: 4px auto 7px;
        font-size: 0.64rem;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__credentials {
        gap: 5px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-credential {
        padding: 7px 10px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__guidance {
        margin-top: 6px;
        padding: 7px 9px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__button {
        height: 46px;
        margin-top: 7px;
    }

    body[data-reset-success="1"]:not([data-open-reset="1"]) .reset-success__footer {
        display: none;
    }
}
