body.auth-v78-body {
    background: linear-gradient(180deg, #f8fafc 0%, #f4f8f7 48%, #ffffff 100%);
    color: #172233;
}

body.auth-v78-body .topbar {
    padding: 12px 16px 0;
    background: transparent;
}

body.auth-v78-body .topbar__inner {
    width: min(1360px, 100%);
}

body.auth-v78-body .page-content.auth-v78-content {
    width: min(1180px, calc(100% - 32px));
    max-width: none;
    padding-top: 28px;
    padding-bottom: 56px;
}

.auth-v78 {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 18px;
    align-items: stretch;
}

.auth-v78-panel {
    border: 1px solid rgba(30, 42, 58, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 34px rgba(23, 34, 51, 0.07);
}

.auth-v78-panel--intro {
    display: grid;
    gap: 22px;
    align-content: space-between;
    min-height: 520px;
    padding: 28px;
}

.auth-v78-panel--form {
    align-self: start;
    padding: 24px;
}

.auth-v78-copy {
    display: grid;
    gap: 14px;
    max-width: 720px;
}

.auth-v78-kicker {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(8, 123, 104, 0.18);
    border-radius: 8px;
    background: rgba(8, 123, 104, 0.1);
    color: #075f51;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-v78 h1,
.auth-v78 h2,
.auth-v78 p {
    margin: 0;
    letter-spacing: 0;
}

.auth-v78 h1 {
    max-width: 680px;
    color: #172233;
    font-size: 42px;
    line-height: 1.06;
}

.auth-v78 h2 {
    color: #172233;
    font-size: 28px;
    line-height: 1.15;
}

.auth-v78 p,
.auth-v78-list,
.auth-v78-footer,
.auth-v78-metrics span {
    color: #5f6e82;
    font-size: 15px;
    line-height: 1.55;
}

.auth-v78-snapshot {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(30, 42, 58, 0.1);
    border-radius: 8px;
    background: #f7fbfb;
}

.auth-v78-snapshot__head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.auth-v78-snapshot__head span,
.auth-v78-metrics small,
.auth-v78-field label {
    color: #5f6e82;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
}

.auth-v78-snapshot__head strong {
    color: #172233;
    font-size: 18px;
}

.auth-v78-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-v78-metrics div {
    display: grid;
    gap: 5px;
    min-height: 102px;
    padding: 14px;
    border: 1px solid rgba(30, 42, 58, 0.1);
    border-radius: 8px;
    background: #ffffff;
}

.auth-v78-metrics b {
    color: #087b68;
    font-size: 24px;
    line-height: 1;
}

.auth-v78-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-v78-list li {
    position: relative;
    padding-left: 18px;
}

.auth-v78-list li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #087b68;
    content: "";
}

.auth-v78-form-head {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-v78-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(217, 79, 79, 0.2);
    border-radius: 8px;
    background: rgba(217, 79, 79, 0.09);
    color: #9f3131;
    font-weight: 800;
}

.auth-v78-form {
    display: grid;
    gap: 16px;
}

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

.auth-v78-control {
    position: relative;
}

.auth-v78-input,
.auth-v78-control input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(30, 42, 58, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #172233;
    font: inherit;
    font-size: 15px;
    outline: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-v78-control input[type="password"],
.auth-v78-control input[type="text"] {
    padding-right: 102px;
}

.auth-v78-input:focus,
.auth-v78-control input:focus {
    border-color: rgba(8, 123, 104, 0.42);
    box-shadow: 0 0 0 4px rgba(8, 123, 104, 0.12);
}

.auth-v78-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(8, 123, 104, 0.16);
    border-radius: 8px;
    background: rgba(8, 123, 104, 0.08);
    color: #075f51;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.auth-v78-toggle:hover {
    background: rgba(8, 123, 104, 0.13);
}

.auth-v78-error {
    color: #a13636;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.auth-v78-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(30, 42, 58, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #172233;
    font: inherit;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-v78-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.auth-v78-btn--primary {
    width: 100%;
    border-color: #087b68;
    background: #087b68;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(8, 123, 104, 0.2);
}

.auth-v78-btn--primary:hover {
    border-color: #075f51;
    background: #075f51;
    color: #ffffff;
}

.auth-v78-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(30, 42, 58, 0.1);
}

.auth-v78-footer a {
    color: #075f51;
    font-weight: 900;
    text-decoration: none;
}

.auth-v78-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .auth-v78 {
        grid-template-columns: 1fr;
    }

    .auth-v78-panel--intro {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    body.auth-v78-body .page-content.auth-v78-content {
        width: min(100% - 24px, 720px);
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .auth-v78-panel--intro,
    .auth-v78-panel--form {
        padding: 18px;
    }

    .auth-v78 h1 {
        font-size: 32px;
    }

    .auth-v78 h2 {
        font-size: 24px;
    }

    .auth-v78-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .auth-v78-control input[type="password"],
    .auth-v78-control input[type="text"] {
        padding-right: 14px;
    }

    .auth-v78-toggle {
        position: static;
        width: 100%;
        margin-top: 8px;
    }
}
