body.inspector-auth-page.authentication-bg[data-ui-style] {
    --auth-ink: #152126;
    --auth-muted: #5f6f76;
    --auth-line: #d9e3df;
    --auth-paper: #ffffff;
    --auth-surface: #f5f8f7;
    --auth-teal: #0b6f68;
    --auth-green: #347f3b;
    --auth-gold: #d9a21b;
    --auth-magenta: #c2186a;
    min-height: 100vh;
    background: #f5f8f7 !important;
    color: var(--auth-ink);
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    text-rendering: geometricPrecision;
}

.inspector-auth-page a {
    text-decoration: none;
}

.auth-premium-shell {
    min-height: 100vh;
    overflow: hidden;
    padding: 22px 0 28px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.07) 0%, rgba(255, 255, 255, 0) 36%),
        linear-gradient(315deg, rgba(214, 160, 29, 0.14) 0%, rgba(255, 255, 255, 0) 34%),
        var(--auth-surface);
}

.auth-topbar,
.auth-premium-layout {
    width: min(1168px, calc(100% - 48px));
    margin: 0 auto;
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.auth-home-link,
.auth-context {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.auth-home-link {
    border: 1px solid rgba(24, 35, 42, 0.1);
    background: rgba(255, 255, 255, 0.78);
    color: var(--auth-ink);
    padding: 0 14px;
    box-shadow: 0 12px 30px rgba(27, 48, 55, 0.08);
}

.auth-home-link:hover,
.auth-home-link:focus {
    color: var(--auth-teal);
    border-color: rgba(15, 118, 110, 0.26);
}

.auth-context {
    color: var(--auth-teal);
    background: rgba(237, 247, 244, 0.9);
    border: 1px solid rgba(15, 118, 110, 0.16);
    padding: 0 15px;
}

.auth-premium-layout {
    min-height: calc(100vh - 108px);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(392px, 0.88fr);
    gap: 28px;
    align-items: center;
}

.auth-story-panel,
.auth-form-card {
    border-radius: 8px;
    border: 1px solid var(--auth-line);
    box-shadow: 0 26px 58px rgba(27, 48, 55, 0.14);
}

.auth-story-panel {
    position: relative;
    min-height: 636px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    color: #ffffff;
    background-image:
        linear-gradient(90deg, rgba(5, 18, 23, 0.93) 0%, rgba(7, 22, 27, 0.76) 48%, rgba(7, 22, 27, 0.36) 100%),
        linear-gradient(180deg, rgba(5, 18, 23, 0.18) 0%, rgba(5, 18, 23, 0.72) 100%),
        var(--auth-image);
    background-position: center;
    background-size: cover;
}

.auth-story-panel > * {
    position: relative;
    z-index: 1;
}

.auth-story-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(6, 20, 25, 0) 0%, rgba(6, 20, 25, 0.82) 100%);
    pointer-events: none;
}

.auth-panel-brand,
.auth-brand-mini {
    display: inline-flex;
    align-items: center;
}

.auth-panel-brand {
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    min-height: 76px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 23, 28, 0.44);
    backdrop-filter: blur(16px);
}

.auth-panel-brand img {
    width: 54px;
    height: auto;
    flex: 0 0 54px;
}

.auth-panel-brand span,
.auth-panel-brand strong {
    display: block;
    color: #ffffff;
    letter-spacing: 0;
}

.auth-panel-brand span {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    text-transform: uppercase;
}

.auth-panel-brand strong {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.auth-hero-copy {
    max-width: 650px;
    margin-top: auto;
    margin-bottom: 30px;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff8de;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-hero-title {
    max-width: 610px;
    margin: 22px 0 0;
    color: #fffdf5;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

.auth-hero-rule {
    width: 92px;
    height: 4px;
    border-radius: 8px;
    margin: 20px 0 18px;
    background: linear-gradient(90deg, var(--auth-gold), rgba(255, 255, 255, 0.66));
    box-shadow: 0 10px 26px rgba(217, 162, 27, 0.26);
}

.auth-hero-copy p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 16px;
    line-height: 1.78;
    font-weight: 500;
}

.auth-signal-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-signal {
    min-height: 128px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(9, 23, 28, 0.66);
    backdrop-filter: blur(12px);
}

.auth-signal span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    margin-bottom: 14px;
    color: var(--auth-gold);
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
}

.auth-signal strong,
.auth-signal small {
    display: block;
    letter-spacing: 0;
}

.auth-signal strong {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.auth-signal small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.55;
    margin-top: 6px;
}

.auth-form-panel {
    width: 100%;
}

.auth-form-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 40px;
}

.auth-card-head {
    margin-bottom: 26px;
}

.auth-brand-mini {
    width: 70px;
    height: 70px;
    justify-content: center;
    border-radius: 8px;
    background: #eef8f3;
    border: 1px solid rgba(15, 118, 110, 0.14);
    margin-bottom: 22px;
}

.auth-brand-mini img {
    width: 50px;
    height: auto;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff6db;
    color: #8f6400;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-card-head h2 {
    margin: 14px 0 9px;
    color: var(--auth-ink);
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-card-head p {
    margin: 0;
    color: var(--auth-muted) !important;
    font-size: 15px;
    line-height: 1.7;
}

.auth-alert {
    border-radius: 8px;
    border-color: rgba(60, 143, 66, 0.24);
    background: #eef8f3;
    color: #235b2a;
    font-weight: 700;
}

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

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

.auth-field .form-label,
.auth-label-row .form-label {
    margin: 0;
    color: var(--auth-ink);
    font-size: 13px;
    font-weight: 700;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-label-row a {
    color: var(--auth-teal);
    font-size: 13px;
    font-weight: 700;
}

.auth-label-row a:hover,
.auth-label-row a:focus {
    color: var(--auth-green);
}

.auth-input-group {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 54px;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background: #fbfdfc;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-input-group:focus-within {
    border-color: rgba(15, 118, 110, 0.62);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.auth-input-group.has-error {
    border-color: #dc3545;
}

.auth-input-group > i {
    color: var(--auth-teal);
    font-size: 21px;
    text-align: center;
}

body.inspector-auth-page .auth-input-group .auth-control.form-control {
    min-height: 52px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    color: var(--auth-ink);
    font-size: 15px;
    padding: 0 16px 0 0;
}

body.inspector-auth-page .auth-input-group .auth-control.form-control::placeholder {
    color: #9aa7ab;
}

.auth-field .invalid-feedback {
    display: block;
    margin-top: 0;
    font-size: 12px;
    font-weight: 700;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-options .form-check-label {
    color: var(--auth-muted);
    font-weight: 600;
}

.auth-options .form-check-input:checked {
    background-color: var(--auth-teal);
    border-color: var(--auth-teal);
}

body.inspector-auth-page .auth-submit-btn.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 8px;
    border-color: var(--auth-gold);
    background: var(--auth-gold);
    color: #1d231e;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(214, 160, 29, 0.28);
}

body.inspector-auth-page .auth-submit-btn.btn:hover,
body.inspector-auth-page .auth-submit-btn.btn:focus {
    border-color: #e8b332;
    background: #e8b332;
    color: #1d231e;
    box-shadow: 0 18px 36px rgba(214, 160, 29, 0.34);
}

.auth-support {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 118, 110, 0.13);
    background: #edf7f4;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
}

.auth-support i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--auth-teal);
    font-size: 20px;
}

.auth-footnote {
    margin: 22px 0 0;
    color: var(--auth-muted) !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .auth-premium-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-form-panel {
        order: -1;
    }

    .auth-story-panel {
        min-height: 500px;
    }

    .auth-hero-title {
        font-size: 40px;
    }
}

@media (max-width: 767.98px) {
    .auth-premium-shell {
        padding: 18px 0;
    }

    .auth-topbar,
    .auth-premium-layout {
        width: min(100% - 28px, 1180px);
    }

    .auth-topbar {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 14px;
    }

    .auth-home-link,
    .auth-context {
        justify-content: center;
        width: 100%;
    }

    .auth-form-card,
    .auth-story-panel {
        padding: 26px;
    }

    .auth-card-head h2 {
        font-size: 27px;
    }

    .auth-signal-list {
        grid-template-columns: 1fr;
    }

    .auth-signal {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .auth-story-panel {
        min-height: 420px;
        background-position: center right;
    }

    .auth-panel-brand {
        align-items: flex-start;
        padding: 10px;
    }

    .auth-panel-brand img {
        width: 46px;
        flex-basis: 46px;
    }

    .auth-panel-brand strong {
        font-size: 15px;
    }

    .auth-hero-title {
        font-size: 33px;
        line-height: 1.1;
    }

    .auth-hero-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .auth-label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
