*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --blue-950: #031a3f;
    --blue-900: #062a5d;
    --blue-800: #064093;
    --blue-700: #075ee8;
    --blue-600: #0878f2;
    --blue-500: #19a4ff;
    --blue-100: #e8f3ff;
    --blue-50: #f5faff;
    --cyan: #08bdd0;
    --green: #119c58;
    --green-soft: #e9fff3;
    --orange: #ef8b19;
    --orange-soft: #fff7e7;
    --red: #d93446;
    --red-soft: #fff0f2;
    --purple: #7446da;
    --purple-soft: #f4efff;
    --text: #082958;
    --muted: #647b99;
    --line: #d7e7f8;
    --surface: #ffffff;
    --shadow: 0 34px 100px rgba(0, 0, 0, .34);
    --radius: 30px;
}

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

body {
    overflow: hidden;
    color: var(--text);
    background: #020b20;
    font-family: Inter, "Segoe UI Variable", "Segoe UI", Roboto, Arial, sans-serif;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.bi-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 23% 18%, rgba(35, 195, 255, .28), transparent 30%),
        radial-gradient(circle at 75% 78%, rgba(11, 94, 215, .35), transparent 34%),
        radial-gradient(circle at 50% 52%, rgba(255, 255, 255, .06), transparent 32%),
        linear-gradient(135deg, #03102b 0%, #062d73 52%, #073eaa 100%);
    transition: opacity .45s ease, visibility .45s ease;
}

.bi-preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-panel {
    width: min(520px, 90vw);
    display: grid;
    place-items: center;
    gap: 16px;
    color: #ffffff;
    text-align: center;
}

.preloader-orbit {
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
}

.orbit-glow {
    position: absolute;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 216, 255, .36), rgba(35, 216, 255, .10) 45%, transparent 70%);
    filter: blur(12px);
    animation: glowPulse 1.9s ease-in-out infinite;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 5px solid rgba(255, 255, 255, .18);
    border-top-color: #ffffff;
    border-right-color: #21d6ff;
    border-bottom-color: #0b8fff;
    border-left-color: rgba(255, 255, 255, .08);
    border-radius: 50%;
    animation: spin .95s linear infinite;
    box-shadow: 0 0 22px rgba(35, 216, 255, .24), inset 0 0 14px rgba(255, 255, 255, .10);
}

.loader-logo-wrap {
    position: relative;
    z-index: 3;
    width: 92px;
    height: 92px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 18px rgba(35, 216, 255, .22), inset 0 0 14px rgba(255, 255, 255, .12);
}

.loader-logo-water {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 18%;
    background: linear-gradient(180deg, #6ee7ff, #21c8ff 35%, #0ea5ff 68%, #0657d9);
    animation: waterRise 3.2s ease-in-out infinite;
    box-shadow: inset 0 0 16px rgba(255, 255, 255, .28), 0 0 18px rgba(33, 200, 255, .30);
}

.loader-logo-water::before,
.loader-logo-water::after {
    content: "";
    position: absolute;
    left: -10%;
    top: -10px;
    width: 120%;
    height: 22px;
    border-radius: 45%;
    background: rgba(255, 255, 255, .30);
}

.loader-logo-water::before {
    animation: waveMove 2.4s linear infinite;
}

.loader-logo-water::after {
    top: -14px;
    opacity: .44;
    animation: waveMove2 3.2s linear infinite;
}

.loader-logo-img {
    position: relative;
    z-index: 3;
    width: 82px;
    height: 82px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .32)) drop-shadow(0 0 10px rgba(35, 216, 255, .30));
}

.loader-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .20), transparent 48%), linear-gradient(135deg, rgba(255, 255, 255, .10), transparent 42%);
}

.preloader-copy strong {
    display: block;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.04em;
    text-shadow: 0 0 8px rgba(33, 200, 255, .45), 0 0 18px rgba(11, 143, 255, .34), 0 10px 26px rgba(0, 0, 0, .26);
}

.preloader-copy span {
    display: block;
    margin-top: 8px;
    color: #dcecff;
    font-size: 14px;
    font-weight: 700;
}

.preloader-copy p {
    min-height: 22px;
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    animation: textPulse 1.7s ease-in-out infinite;
}

.preloader-bar {
    width: min(310px, 70vw);
    height: 8px;
    margin: 8px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.preloader-bar i {
    display: block;
    width: 44%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffffff, #6ee7ff 28%, #21c8ff 55%, #0b8fff 78%, #ffffff);
    animation: loadingBar 1.1s ease-in-out infinite;
}

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

@keyframes loadingBar {
    from {
        transform: translateX(-110%);
    }

    to {
        transform: translateX(260%);
    }
}

@keyframes waterRise {
    0%,
    100% {
        height: 18%;
    }

    25% {
        height: 42%;
    }

    50% {
        height: 68%;
    }

    75% {
        height: 88%;
    }
}

@keyframes waveMove {
    0%,
    100% {
        transform: translateX(-8px) rotate(0);
    }

    50% {
        transform: translateX(8px) rotate(2deg);
    }
}

@keyframes waveMove2 {
    0%,
    100% {
        transform: translateX(10px) rotate(0);
    }

    50% {
        transform: translateX(-8px) rotate(-2deg);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: .65;
        transform: scale(.94);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes textPulse {
    0%,
    100% {
        opacity: .82;
    }

    50% {
        opacity: 1;
    }
}

.recover-app {
    position: relative;
    width: 100vw;
    height: 100dvh;
    min-height: 620px;
    padding: clamp(16px, 2.4vh, 28px) clamp(18px, 2.6vw, 40px) clamp(56px, 7vh, 76px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.recover-backgrounds,
.recover-bg,
.recover-overlay {
    position: absolute;
    inset: 0;
}

.recover-backgrounds {
    z-index: 0;
}

.recover-bg {
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.055);
    transition: opacity 1s ease, transform 7s ease;
}

.recover-bg.active {
    opacity: 1;
    transform: scale(1);
}

.recover-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 10, 31, .97) 0%, rgba(4, 20, 55, .83) 42%, rgba(4, 30, 86, .50) 100%),
        radial-gradient(circle at 27% 30%, rgba(0, 206, 255, .22), transparent 31%),
        radial-gradient(circle at 98% 4%, rgba(7, 94, 232, .76), transparent 39%),
        linear-gradient(0deg, rgba(2, 9, 28, .86), rgba(2, 9, 28, .04) 52%);
}

.recover-shell {
    position: relative;
    z-index: 2;
    width: min(1380px, 95vw);
    height: min(790px, calc(100dvh - 105px));
    min-height: 560px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 46% 54%;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
}

.recover-hero {
    position: relative;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(3, 16, 48, .88), rgba(4, 46, 111, .58));
}

.recover-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 22%, rgba(30, 211, 255, .22), transparent 30%),
        linear-gradient(0deg, rgba(1, 8, 26, .80), transparent 58%);
}

.institutional-logos {
    position: relative;
    z-index: 2;
    min-height: 76px;
    padding: 20px 28px 8px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.institutional-logos img {
    max-height: 46px;
    max-width: 128px;
    object-fit: contain;
    filter: drop-shadow(0 9px 20px rgba(0, 0, 0, .30));
}

.institutional-logos span {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, .38);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: calc(100% - 76px);
    padding: clamp(22px, 4vh, 42px) clamp(28px, 4vw, 54px) 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-logo-orbit {
    position: relative;
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.hero-logo-orbit img {
    position: relative;
    z-index: 3;
    width: 74px;
    height: 74px;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, .90);
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 0 0 6px rgba(26, 180, 255, .12), 0 12px 30px rgba(0, 0, 0, .25);
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
}

.hero-orbit-one {
    inset: 0;
    border: 2px dashed rgba(146, 220, 255, .78);
    animation: orbitSpin 12s linear infinite;
}

.hero-orbit-two {
    inset: 12px;
    border: 1px solid rgba(76, 207, 255, .76);
    animation: orbitSpinReverse 8s linear infinite;
}

.hero-orbit-one::before,
.hero-orbit-two::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #0c9dff;
    box-shadow: 0 0 14px rgba(35, 216, 255, .90);
}

.hero-orbit-one::before {
    left: 9%;
    top: 20%;
}

.hero-orbit-two::after {
    right: -3px;
    bottom: 24%;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

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

.hero-kicker {
    width: fit-content;
    max-width: 100%;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #75eaff;
    background: rgba(255, 255, 255, .12);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    max-width: 560px;
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(36px, 3.4vw, 57px);
    line-height: .98;
    font-weight: 850;
    letter-spacing: -.045em;
    text-shadow: 0 12px 32px rgba(0, 0, 0, .26);
}

.hero-content > p {
    max-width: 560px;
    margin: 0;
    color: #e5f2ff;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.6;
    font-weight: 600;
}

.hero-security-grid {
    margin-top: 28px;
    display: grid;
    gap: 9px;
}

.hero-security-grid article {
    min-height: 65px;
    padding: 11px 13px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(107, 201, 255, .18);
    border-radius: 15px;
    background: rgba(4, 28, 72, .50);
    backdrop-filter: blur(9px);
}

.hero-security-grid article > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #16d1ff;
    background: rgba(15, 197, 255, .12);
    font-size: 19px;
}

.hero-security-grid strong,
.hero-security-grid span {
    display: block;
}

.hero-security-grid strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.hero-security-grid span {
    margin-top: 3px;
    color: #d4e9ff;
    font-size: 10.5px;
    line-height: 1.35;
    font-weight: 550;
}

.recover-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.recover-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .50);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.recover-dots button.active {
    width: 24px;
    background: #16c7ff;
}

.recover-workspace {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: clamp(24px, 3.5vh, 38px) clamp(28px, 3.2vw, 48px) 24px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(7, 94, 232, .08), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.close-recovery {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 20;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #d9e7f7;
    border-radius: 50%;
    color: #657995;
    background: #f4f8fd;
    box-shadow: 0 8px 18px rgba(9, 37, 82, .08);
    transition: .2s ease;
}

.close-recovery:hover {
    color: var(--blue-700);
    background: var(--blue-100);
    transform: rotate(3deg);
}

.workspace-head {
    padding-right: 40px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.workspace-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 12px 26px rgba(7, 94, 232, .22);
    font-size: 26px;
}

.workspace-head span {
    display: block;
    color: var(--blue-700);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.workspace-head h2,
.workspace-head p {
    margin: 0;
}

.workspace-head h2 {
    margin-top: 3px;
    color: var(--blue-900);
    font-size: clamp(25px, 2vw, 33px);
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.035em;
}

.workspace-head p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 550;
}

.recovery-stepper {
    margin: 20px 0 15px;
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 7px;
}

.recovery-stepper > i {
    height: 3px;
    border-radius: 999px;
    background: #dce8f5;
    transition: background .25s ease;
}

.recovery-stepper > i.completed {
    background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .58;
    transition: opacity .2s ease, transform .2s ease;
}

.step-item > span {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border: 1px solid #d3e2f3;
    border-radius: 50%;
    color: #7185a0;
    background: #f2f7fd;
    font-size: 11px;
    font-weight: 850;
}

.step-item strong,
.step-item small {
    display: block;
    white-space: nowrap;
}

.step-item strong {
    color: var(--blue-900);
    font-size: 9.7px;
    font-weight: 800;
}

.step-item small {
    margin-top: 2px;
    color: #7a8ca7;
    font-size: 8.5px;
    font-weight: 550;
}

.step-item.active,
.step-item.completed {
    opacity: 1;
}

.step-item.active {
    transform: translateY(-1px);
}

.step-item.active > span,
.step-item.completed > span {
    color: #ffffff;
    border-color: var(--blue-700);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 7px 15px rgba(7, 94, 232, .20);
}

.workspace-body {
    min-height: 0;
    overflow: hidden;
}

.flow-panel {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 3px 5px 8px 1px;
    scrollbar-width: thin;
    scrollbar-color: #bfd6f2 transparent;
}

.flow-panel.active {
    display: block;
    animation: panelIn .24s ease both;
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-title {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
}

.panel-title.compact {
    margin-top: 18px;
}

.panel-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 9px 20px rgba(7, 94, 232, .18);
    font-size: 20px;
}

.panel-icon.cyan {
    background: linear-gradient(135deg, #069baa, #16c9df);
}

.panel-icon.purple {
    background: linear-gradient(135deg, #6738c8, #9361e8);
}

.panel-title h3,
.panel-title p {
    margin: 0;
}

.panel-title h3 {
    color: var(--blue-900);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.02em;
}

.panel-title p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.4;
    font-weight: 550;
}

.panel-title p strong {
    color: var(--blue-700);
}

.recovery-form {
    display: grid;
    gap: 11px;
}

.recovery-form > label {
    color: #23476f;
    font-size: 10.5px;
    font-weight: 800;
}

.input-control {
    min-height: 52px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    border: 1px solid #cadced;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 47, 96, .05);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-control:focus-within {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(7, 94, 232, .10);
}

.input-control > i {
    display: grid;
    place-items: center;
    color: #526a8c;
    font-size: 18px;
}

.input-control input {
    width: 100%;
    height: 50px;
    border: 0;
    outline: 0;
    color: var(--blue-900);
    background: transparent;
    font-size: 13px;
    font-weight: 650;
}

.input-control input::placeholder {
    color: #8594aa;
}

.password-control {
    grid-template-columns: 48px minmax(0, 1fr) 42px;
}

.toggle-password {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #627794;
    background: #f2f7fd;
    cursor: pointer;
}

.secure-note {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid #cfe3fb;
    border-radius: 14px;
    color: #315679;
    background: #f4f9ff;
}

.secure-note > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--blue-700);
    background: #e6f2ff;
    font-size: 18px;
}

.secure-note.green {
    border-color: #c0ecd4;
    background: #f1fff7;
}

.secure-note.green > i {
    color: var(--green);
    background: #e0f9eb;
}

.secure-note strong,
.secure-note span {
    display: block;
}

.secure-note strong {
    color: var(--blue-900);
    font-size: 10.5px;
    font-weight: 800;
}

.secure-note span {
    margin-top: 3px;
    color: #617794;
    font-size: 9.6px;
    line-height: 1.35;
    font-weight: 550;
}

.primary-action,
.secondary-action,
.secondary-button,
.ghost-action {
    min-height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.primary-action {
    width: 100%;
    padding: 0 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    box-shadow: 0 13px 28px rgba(7, 94, 232, .22);
}

.primary-action:hover,
.secondary-action:hover,
.secondary-button:hover,
.ghost-action:hover {
    transform: translateY(-1px);
}

.primary-action:disabled,
.secondary-button:disabled,
.ghost-action:disabled {
    opacity: .50;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-action,
.secondary-button {
    padding: 0 15px;
    border: 1px solid #bed6f4;
    color: var(--blue-700);
    background: #ffffff;
}

.secondary-action {
    width: 100%;
}

.ghost-action {
    padding: 0 13px;
    border: 1px solid #d4e3f4;
    color: #36587b;
    background: #f6faff;
}

.inline-actions,
.form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.timer-card {
    min-height: 70px;
    margin-bottom: 15px;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid #cfe2f8;
    border-radius: 16px;
    background: linear-gradient(135deg, #f2f8ff, #ffffff);
}

.timer-card.expired {
    border-color: #f3cda4;
    background: #fff8ee;
}

.timer-ring {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 9px 20px rgba(7, 94, 232, .19);
    font-size: 19px;
}

.timer-card.expired .timer-ring {
    background: linear-gradient(135deg, #e37b13, #f0a23a);
}

.timer-card span,
.timer-card strong {
    display: block;
}

.timer-card span {
    color: #607795;
    font-size: 9.5px;
    font-weight: 700;
}

.timer-card strong {
    margin-top: 2px;
    color: var(--blue-900);
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .03em;
}

.timer-card small {
    color: #71839e;
    font-size: 9px;
    font-weight: 650;
    white-space: nowrap;
}

.code-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.code-inputs input {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0;
    border: 1px solid #bed5ef;
    border-radius: 13px;
    outline: 0;
    color: var(--blue-700);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(7, 94, 232, .06);
    text-align: center;
    font-size: 24px;
    font-weight: 850;
    transition: .2s ease;
}

.code-inputs input:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(7, 94, 232, .10);
    transform: translateY(-1px);
}

.attempt-note,
.local-code {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid #d8e6f5;
    border-radius: 12px;
    color: #55708f;
    background: #f8fbff;
    font-size: 9.8px;
    line-height: 1.35;
    font-weight: 600;
}

.attempt-note i,
.local-code > i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--blue-700);
    background: #eaf4ff;
}

.local-code {
    border-color: #d9c8ff;
    color: #63438d;
    background: #faf7ff;
}

.local-code strong,
.local-code span {
    display: block;
}

.local-code strong {
    color: #58378c;
    font-size: 9.5px;
    font-weight: 800;
}

.local-code span {
    margin-top: 2px;
}

.local-code b {
    color: var(--purple);
    font-size: 15px;
    letter-spacing: .12em;
}

.verified-user-card {
    min-height: 78px;
    padding: 11px 14px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 12px;
    border: 1px solid #bfe9d3;
    border-radius: 18px;
    background: linear-gradient(135deg, #effff6, #ffffff);
    box-shadow: 0 10px 24px rgba(17, 156, 88, .08);
}

.verified-user-card img {
    width: 56px;
    height: 56px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    background: var(--blue-100);
    box-shadow: 0 8px 18px rgba(8, 41, 88, .12);
}

.verified-user-card span,
.verified-user-card h3,
.verified-user-card p {
    display: block;
    margin: 0;
}

.verified-user-card span {
    color: var(--green);
    font-size: 8.8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.verified-user-card h3 {
    margin-top: 3px;
    color: var(--blue-900);
    font-size: 15px;
    font-weight: 850;
}

.verified-user-card p {
    margin-top: 3px;
    color: #657b97;
    font-size: 9.5px;
    font-weight: 600;
}

.verified-user-card > i {
    color: var(--green);
    font-size: 27px;
}

.password-strength {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
}

.strength-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e1eaf5;
}

.strength-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #94a3b8;
    transition: width .25s ease, background .25s ease;
}

.password-strength strong,
.password-strength small {
    display: block;
    text-align: right;
}

.password-strength strong {
    color: #506985;
    font-size: 9.5px;
    font-weight: 800;
}

.password-strength small {
    margin-top: 2px;
    color: #8290a4;
    font-size: 8px;
    font-weight: 550;
}

.password-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.password-rules article {
    min-height: 31px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    color: #6a7d96;
    background: #f8fbff;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 650;
}

.password-rules article i {
    color: #9aabc0;
    font-size: 10px;
}

.password-rules article.valid {
    color: #08733e;
    border-color: #b7ebce;
    background: #effff6;
}

.password-rules article.valid i {
    color: var(--green);
}

.success-view {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.success-check {
    position: relative;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #10a75c, #22c978);
    box-shadow: 0 20px 42px rgba(17, 156, 88, .24);
    font-size: 42px;
}

.success-check span {
    position: absolute;
    inset: -8px;
    border: 2px dashed rgba(17, 156, 88, .30);
    border-radius: 50%;
    animation: orbitSpin 12s linear infinite;
}

.success-view > img {
    width: 72px;
    height: 72px;
    margin-top: 14px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    background: var(--blue-100);
    box-shadow: 0 10px 25px rgba(7, 42, 93, .15);
}

.success-kicker {
    margin-top: 12px;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.success-view h3 {
    margin: 6px 0 0;
    color: var(--blue-900);
    font-size: 25px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.035em;
}

.success-view > p {
    max-width: 520px;
    margin: 10px auto 13px;
    color: #5d7390;
    font-size: 11.5px;
    line-height: 1.5;
    font-weight: 550;
}

.success-credential {
    width: min(440px, 100%);
    padding: 11px 13px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid #cce0f7;
    border-radius: 15px;
    background: #f5faff;
    text-align: left;
}

.success-credential > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--blue-700);
    background: #e5f2ff;
    font-size: 18px;
}

.success-credential span,
.success-credential strong,
.success-credential small {
    display: block;
}

.success-credential span {
    color: #687d98;
    font-size: 8.5px;
    font-weight: 700;
}

.success-credential strong {
    margin-top: 2px;
    color: var(--blue-900);
    font-size: 15px;
    font-weight: 850;
}

.success-credential small {
    margin-top: 2px;
    color: #7186a1;
    font-size: 8.8px;
    font-weight: 550;
}

.success-security {
    margin: 12px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.success-security article {
    min-height: 29px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #c0ecd4;
    border-radius: 999px;
    color: #08733e;
    background: #effff6;
    font-size: 8.5px;
    font-weight: 700;
}

.success-security i {
    color: var(--green);
}

.success-login-link {
    width: min(440px, 100%);
}

.workspace-footer {
    min-height: 34px;
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #e1ebf6;
    color: #6b7e98;
    font-size: 8.8px;
    font-weight: 650;
}

.workspace-footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.workspace-footer i {
    color: var(--blue-700);
}

.page-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    min-height: 42px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5f0ff;
    background: rgba(1, 11, 34, .82);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 550;
    text-align: center;
    backdrop-filter: blur(12px);
}

.toast-region {
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 100002;
    width: min(390px, calc(100vw - 28px));
    display: grid;
    gap: 9px;
    pointer-events: none;
}

.toast-card {
    min-height: 62px;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 9px;
    border: 1px solid #d6e5f7;
    border-radius: 16px;
    color: var(--blue-900);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 55px rgba(7, 36, 90, .20);
    opacity: 0;
    transform: translateX(18px);
    pointer-events: auto;
    transition: opacity .2s ease, transform .2s ease;
}

.toast-card.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-card.hide {
    opacity: 0;
    transform: translateX(18px);
}

.toast-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--blue-700);
    background: var(--blue-100);
    font-size: 18px;
}

.toast-card.success .toast-icon {
    color: var(--green);
    background: var(--green-soft);
}

.toast-card.error .toast-icon {
    color: var(--red);
    background: var(--red-soft);
}

.toast-card.warning .toast-icon {
    color: var(--orange);
    background: var(--orange-soft);
}

.toast-card strong,
.toast-card p {
    display: block;
    margin: 0;
}

.toast-card strong {
    font-size: 11px;
    font-weight: 800;
}

.toast-card p {
    margin-top: 3px;
    color: #617692;
    font-size: 9.7px;
    line-height: 1.35;
    font-weight: 550;
}

.toast-card > button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #70829a;
    background: #f2f7fd;
    cursor: pointer;
}

.button-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .40);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.noscript-message {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 100005;
    padding: 14px;
    border-radius: 12px;
    color: #ffffff;
    background: #b42333;
    text-align: center;
}

@media (max-height: 760px) and (min-width: 1001px) {
    .recover-app {
        min-height: 560px;
        padding-top: 14px;
        padding-bottom: 52px;
    }

    .recover-shell {
        height: calc(100dvh - 74px);
        min-height: 510px;
    }

    .institutional-logos {
        min-height: 58px;
        padding-top: 13px;
    }

    .institutional-logos img {
        max-height: 35px;
        max-width: 105px;
    }

    .hero-content {
        height: calc(100% - 58px);
        padding-top: 15px;
        padding-bottom: 40px;
    }

    .hero-logo-orbit {
        width: 82px;
        height: 82px;
        margin-bottom: 11px;
    }

    .hero-logo-orbit img {
        width: 56px;
        height: 56px;
    }

    .hero-content h1 {
        margin-top: 12px;
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-security-grid {
        margin-top: 16px;
    }

    .hero-security-grid article {
        min-height: 50px;
        padding: 8px 10px;
    }

    .recover-workspace {
        padding-top: 20px;
        padding-bottom: 14px;
    }

    .workspace-footer {
        display: none;
    }
}

@media (max-width: 1180px) {
    .recover-shell {
        grid-template-columns: 42% 58%;
    }

    .institutional-logos img {
        max-width: 102px;
    }

    .step-item div {
        display: none;
    }

    .recovery-stepper {
        grid-template-columns: 31px 1fr 31px 1fr 31px 1fr 31px;
    }

    .step-item {
        justify-content: center;
    }
}

@media (max-width: 980px) {
    body {
        overflow: auto;
    }

    .recover-app {
        height: auto;
        min-height: 100dvh;
        padding: 16px 12px 58px;
        overflow: visible;
    }

    .recover-shell {
        width: min(820px, 97vw);
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .recover-hero {
        min-height: 335px;
    }

    .institutional-logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content {
        height: auto;
        min-height: 260px;
        padding: 20px 24px 50px;
        align-items: center;
        text-align: center;
    }

    .hero-logo-orbit {
        width: 86px;
        height: 86px;
        margin-bottom: 10px;
    }

    .hero-logo-orbit img {
        width: 58px;
        height: 58px;
    }

    .hero-content h1 {
        max-width: 700px;
        font-size: 36px;
    }

    .hero-content > p {
        max-width: 680px;
    }

    .hero-security-grid {
        width: min(720px, 100%);
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-security-grid article {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .recover-workspace {
        min-height: 620px;
        padding: 28px 24px 22px;
    }

    .workspace-body {
        min-height: 420px;
    }
}

@media (max-width: 680px) {
    .recover-app {
        padding: 8px 8px 54px;
    }

    .recover-shell {
        width: 100%;
        border-radius: 22px;
    }

    .recover-hero {
        min-height: 280px;
    }

    .institutional-logos {
        min-height: 58px;
        padding: 13px 14px 4px;
        gap: 8px;
    }

    .institutional-logos span {
        display: none;
    }

    .institutional-logos img {
        max-height: 32px;
        max-width: 23%;
    }

    .hero-content {
        padding: 10px 18px 42px;
    }

    .hero-kicker {
        font-size: 10px;
    }

    .hero-content h1 {
        margin-top: 12px;
        font-size: 30px;
    }

    .hero-content > p {
        font-size: 12px;
        line-height: 1.5;
    }

    .hero-security-grid {
        display: none;
    }

    .recover-dots {
        bottom: 15px;
    }

    .recover-workspace {
        min-height: 625px;
        padding: 24px 15px 18px;
    }

    .workspace-head {
        grid-template-columns: 49px minmax(0, 1fr);
        padding-right: 34px;
    }

    .workspace-icon {
        width: 49px;
        height: 49px;
        border-radius: 15px;
        font-size: 22px;
    }

    .workspace-head h2 {
        font-size: 24px;
    }

    .workspace-head p {
        font-size: 10.5px;
    }

    .workspace-body {
        min-height: 440px;
    }

    .panel-title {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .panel-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .panel-title h3 {
        font-size: 16px;
    }

    .panel-title p {
        font-size: 10.5px;
    }

    .code-inputs {
        gap: 5px;
    }

    .code-inputs input {
        height: 52px;
        border-radius: 11px;
        font-size: 21px;
    }

    .timer-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .timer-card small {
        grid-column: 2;
    }

    .inline-actions,
    .form-actions {
        grid-template-columns: 1fr;
    }

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

    .workspace-footer {
        gap: 8px;
        font-size: 8px;
    }

    .page-footer {
        min-height: 46px;
        padding: 8px 12px;
        font-size: 8.8px;
    }

    .toast-region {
        left: 8px;
        right: 8px;
        top: 8px;
        width: auto;
    }
}

@media (max-width: 420px) {
    .institutional-logos img {
        max-height: 26px;
    }

    .recover-hero {
        min-height: 250px;
    }

    .hero-logo-orbit {
        width: 70px;
        height: 70px;
    }

    .hero-logo-orbit img {
        width: 48px;
        height: 48px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content > p {
        font-size: 11px;
    }

    .recover-workspace {
        min-height: 650px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .workspace-head span,
    .workspace-head p {
        display: none;
    }

    .workspace-head h2 {
        font-size: 22px;
    }

    .recovery-stepper {
        gap: 4px;
    }

    .step-item > span {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .code-inputs input {
        height: 48px;
        font-size: 19px;
    }

    .success-view h3 {
        font-size: 22px;
    }

    .success-security {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .success-security article {
        justify-content: center;
    }

    .workspace-footer {
        display: none;
    }
}

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