body.page-login-gate {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 225, 134, 0.7), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 210, 92, 0.38), transparent 24%),
        linear-gradient(180deg, #fff5c7 0%, #fff3bf 100%);
    color: #1c150d;
}

.login-gate {
    height: 100dvh;
    min-height: 100dvh;
    padding: clamp(14px, 2.2vh, 28px) clamp(20px, 1.8vw, 40px) clamp(12px, 2vh, 24px);
}

.login-gate__shell {
    width: min(clamp(860px, 80vw, 1280px), 100%);
    height: 100%;
    margin: 0 auto;
    display: grid;
    gap: 14px;
    grid-template-rows: auto auto auto;
    align-content: center;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 36px);
    margin-bottom: clamp(10px, 1.8vh, 24px);
    padding: 0;
}

.login-brand__logo {
    width: clamp(100px, 9vw, 160px);
    height: auto;
    object-fit: contain;
}

.login-brand__copy {
    display: grid;
    gap: clamp(6px, 0.7vh, 12px);
}

.login-brand__eyebrow {
    margin: 0;
    color: #71624d;
    font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.login-brand__copy h1 {
    margin: 0;
    color: #18120e;
    font-size: clamp(18px, 1.25vw, 22px);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-gate__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: clamp(10px, 1vw, 20px);
    align-items: stretch;
    justify-content: center;
    height: clamp(360px, 52vh, 500px);
}

.login-hero-card {
    border-radius: clamp(18px, 1.8vw, 28px);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(120, 79, 14, 0.11);
}

.login-panel {
    border-radius: clamp(18px, 1.8vw, 28px);
    box-shadow: 0 20px 48px rgba(120, 79, 14, 0.11);
}

.login-hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    isolation: isolate;
}

.login-hero-card__viewport {
    position: relative;
    width: 100%;
    height: 100%;
}

.login-hero-card__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.login-hero-card__link.is-active {
    opacity: 1;
    pointer-events: auto;
}

.login-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-hero-card__notice {
    position: absolute;
    top: clamp(14px, 1.7vw, 22px);
    left: clamp(14px, 1.7vw, 22px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: #171717;
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.login-hero-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: grid;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 0 clamp(20px, 2.2vw, 40px) clamp(24px, 3.6vh, 48px);
    color: #ffffff;
}

.login-hero-card__overlay strong {
    color: var(--banner-title-color, #ffffff);
    font-size: clamp(17px, 1.45vw, 26px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-hero-card__overlay span {
    width: fit-content;
    color: var(--banner-cta-color, rgba(255, 255, 255, 0.88));
    font-size: clamp(12px, 0.85vw, 15px);
    font-weight: 400;
    border-bottom: 0;
    padding-bottom: 0;
}

.login-hero-card__pagination {
    position: absolute;
    right: 20px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.login-hero-card__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.login-hero-card__dot.is-active {
    width: 20px;
    background: rgba(255, 255, 255, 0.96);
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2.4vh, 28px);
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(18px, 2.8vh, 36px) clamp(20px, 2.2vw, 40px);
    background: #ffffff;
    border-radius: clamp(14px, 1.4vw, 24px);
    box-shadow: none;
    backdrop-filter: none;
    justify-self: end;
}

.login-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    gap: clamp(16px, 2.2vh, 26px);
    width: 100%;
    max-width: clamp(320px, 30vw, 480px);
    padding: 0 0 clamp(14px, 2.2vh, 28px);
    border-bottom: 1px solid #dddddd;
}

.login-form__stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(12px, 1.6vh, 22px);
    width: 100%;
}

.login-form__fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(14px, 1.8vh, 24px);
    width: 100%;
}

.login-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    min-height: clamp(48px, 5.5vh, 68px);
}

.login-field span {
    color: #1d1712;
    font-size: clamp(11px, 0.76vw, 13px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    width: 100%;
}

.login-field span em {
    color: #f0a115;
    font-style: normal;
}

.login-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: clamp(38px, 3.8vh, 50px);
    height: clamp(38px, 3.8vh, 50px);
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eaeaea;
    background: transparent;
    color: #1d1712;
    font-size: clamp(13px, 0.85vw, 14px);
    line-height: 1.5;
    padding: 0 8px;
}

.login-field input::placeholder {
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.login-field input:focus {
    outline: none;
    border-color: #f0a115;
}

.login-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 18px;
    padding-top: 0;
}

.login-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #131313;
    font-size: clamp(12px, 0.8vw, 13px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.login-check input {
    appearance: none;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    background: #ffffff;
    vertical-align: middle;
}

.login-check input:focus,
.login-check input:focus-visible {
    outline: 1px solid rgba(15, 122, 102, 0.75);
    outline-offset: 1px;
}

.login-check input:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 5px;
    border-left: 1.5px solid #ffa600;
    border-bottom: 1.5px solid #ffa600;
    transform: translate(-50%, -58%) rotate(-45deg);
}

.login-form__help {
    color: #111111;
    font-size: clamp(12px, 0.8vw, 13px);
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.login-form__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-height: clamp(38px, 4vh, 50px);
}

.login-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: clamp(38px, 4vh, 50px);
    height: clamp(38px, 4vh, 50px);
    border-radius: 999px;
    border: 1px solid #d9d3cb;
    background: #ffffff;
    color: #1e1711;
    font-size: clamp(12px, 0.83vw, 14px);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.login-action:hover,
.login-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(116, 78, 15, 0.1);
}

.login-action--primary {
    border-color: #f4a000;
    background: #ffa600;
    color: #ffffff;
}

.login-action--secondary {
    border-color: #f0a115;
    background: #ffffff;
}

.login-action--muted {
    background: #f6f6f6;
    border-color: #dddddd;
    color: #000000;
}

.login-support {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    align-self: center;
    gap: clamp(10px, 1.6vh, 20px);
    width: 100%;
    max-width: clamp(320px, 30vw, 480px);
    padding-top: 0;
    border-top: 0;
}

.login-support__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(24px, 3vw, 56px);
    width: 100%;
}

.login-support__head strong {
    margin-left: auto;
    text-align: right;
}

.login-support__head h2,
.login-support__head strong,
.login-support p,
.login-support a {
    margin: 0;
}

.login-support__head h2 {
    color: #000000;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.login-support__head strong {
    color: #4a392a;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 700;
    line-height: 1;
}

.login-support p {
    color: #000000;
    font-size: clamp(12px, 0.8vw, 13px);
    font-weight: 400;
    line-height: 1.4;
}

.login-support a {
    color: #000000;
    font-size: clamp(12px, 0.8vw, 13px);
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.login-support__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(74px, auto);
    align-items: center;
    column-gap: 12px;
    width: 100%;
}

.login-support__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.login-support__body p,
.login-support__body a {
    width: 100%;
    overflow-wrap: anywhere;
}

.login-support__qr {
    width: 44px;
    max-width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.login-support__qr-wrap {
    display: grid;
    justify-items: center;
    align-self: center;
    justify-self: end;
    gap: 4px;
    min-width: 74px;
}

.login-support__qr-label {
    color: #000000;
    font-size: clamp(12px, 0.8vw, 13px);
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
}

.login-support__qr-wrap .login-support__qr {
    justify-self: center;
    align-self: center;
}

.login-highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: clamp(90px, 12vh, 160px);
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.login-highlight {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: clamp(4px, 0.9vh, 10px);
    padding: clamp(10px, 1.6vh, 24px) clamp(10px, 1.1vw, 22px) clamp(8px, 1.4vh, 20px);
    text-align: center;
}

.login-highlight + .login-highlight {
    border-left: 1px solid rgba(181, 155, 102, 0.24);
}

.login-highlight img {
    width: clamp(28px, 2.4vw, 48px);
    height: clamp(28px, 2.4vw, 48px);
    object-fit: contain;
}

.login-highlight strong {
    color: #1f1812;
    font-size: clamp(12px, 0.9vw, 15px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.login-highlight p {
    margin: 0;
    color: #6c604f;
    font-size: clamp(11px, 0.72vw, 13px);
    line-height: 1.5;
    word-break: keep-all;
}

@media (max-width: 767px) {
    body.page-login-gate {
        overflow: auto;
    }

    .login-gate {
        min-height: 100vh;
        height: auto;
        padding: 28px 15px 36px;
    }

    .login-gate__shell {
        height: auto;
        grid-template-rows: none;
        gap: 18px;
    }

    .login-gate__grid {
        grid-template-columns: 1fr;
        height: auto;
        align-items: start;
        gap: 14px;
        justify-items: center;
    }

    .login-brand {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        padding: 0;
        text-align: center;
    }

    .login-brand__logo {
        width: min(140px, 44vw);
    }

    .login-brand__copy {
        gap: 8px;
        justify-items: center;
    }

    .login-brand__eyebrow {
        font-size: 13px;
        line-height: 1.45;
    }

    .login-brand__copy h1 {
        font-size: 20px;
    }

    .login-panel {
        gap: 20px;
        min-height: unset;
        height: auto;
        padding: 20px 16px 18px;
        border-radius: 20px;
        box-shadow: 0 14px 28px rgba(120, 79, 14, 0.08);
        backdrop-filter: none;
        justify-self: center;
        width: 100%;
    }

    .login-hero-card {
        height: 240px;
        min-height: 240px;
        width: 100%;
        border-radius: 18px;
        box-shadow: 0 14px 28px rgba(120, 79, 14, 0.12);
        justify-self: center;
    }

    .login-hero-card__viewport {
        height: 100%;
    }

    .login-hero-card__overlay {
        gap: 8px;
        padding: 0 16px 20px;
    }

    .login-hero-card__pagination {
        right: 16px;
        bottom: 12px;
        gap: 6px;
    }

    .login-hero-card__dot {
        width: 6px;
        height: 6px;
    }

    .login-hero-card__dot.is-active {
        width: 16px;
    }

    .login-hero-card__overlay strong {
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: -0.04em;
    }

    .login-hero-card__overlay span {
        font-size: 12px;
        padding-bottom: 2px;
    }

    .login-field span {
        font-size: 13px;
        letter-spacing: -0.01em;
    }

    .login-field input {
        min-height: 46px;
        font-size: 14px;
        padding-bottom: 2px;
    }

    .login-form {
        max-width: 100%;
        align-self: stretch;
    }

    .login-support {
        max-width: 100%;
        width: 100%;
    }

    .login-support__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(70px, auto);
        align-items: center;
        column-gap: 10px;
        width: 100%;
    }

    .login-support__qr {
        display: block;
        width: 40px;
        max-width: 40px;
        height: 40px;
    }

    .login-support__qr-wrap {
        min-width: 70px;
    }

    .login-form__meta {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }

    .login-form__help,
    .login-check {
        font-size: 13px;
    }

    .login-form__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .login-action {
        min-height: 40px;
        font-size: 13px;
        border-radius: 999px;
    }

    .login-action--muted {
        grid-column: 1 / -1;
        min-height: 40px;
    }

    .login-support__head {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }

    .login-support__head h2 {
        font-size: 15px;
    }

    .login-support__head strong {
        font-size: 16px;
    }

    .login-support p,
    .login-support a {
        font-size: 12px;
        line-height: 1.55;
    }

    .login-highlights {
        grid-template-columns: 1fr;
        gap: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .login-highlight {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 4px 14px;
        align-items: center;
        justify-items: start;
        padding: 14px 4px;
        text-align: left;
    }

    .login-highlight img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 36px;
        height: 36px;
    }

    .login-highlight strong,
    .login-highlight p {
        grid-column: 2;
        text-align: left;
    }

    .login-highlight strong {
        font-size: 13px;
        line-height: 1.4;
    }

    .login-highlight p {
        font-size: 11px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .login-highlight + .login-highlight {
        border-left: 0;
        border-top: 1px solid rgba(181, 155, 102, 0.3);
    }
}

@media (max-width: 420px) {
    .login-gate {
        padding-inline: 14px;
    }

    .login-panel {
        padding-inline: 16px;
    }

    .login-form {
        gap: 18px;
    }

    .login-field {
        gap: 6px;
    }

    .login-check {
        gap: 7px;
    }

    .login-check input {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
        min-height: 0;
        padding: 0;
    }
}
