#authGate {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    grid-template-columns: 1.2fr 1fr !important;
    align-items: center;
    padding: 35px 8% !important;
    gap: 45px;
    box-sizing: border-box;
    background:
      linear-gradient(90deg,rgba(3,30,66,.60),rgba(3,25,50,.04)),
      url("commercial-hero.png") center/cover no-repeat !important;
}

#authGate .auth-architecture {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    z-index: 1 !important;
    overflow: visible !important;
    align-self: start;
    margin-top: 8vh;
}

#authGate .auth-architecture > img,
#authGate .auth-architecture::before,
#authGate .auth-architecture::after {
    display: none !important;
}

#authGate .auth-hero-caption {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    color: #fff;
}

#authGate .auth-hero-caption > :not(.wh-v2-hero) {
    display: none !important;
}

.wh-brand-line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wh-brand-line > img {
    width: 105px;
    height: 100px;
    object-fit: contain;
}

.wh-brand-text {
    border-left: 1px solid #ffffff80;
    padding-left: 20px;
}

#authGate .wh-brand-text h2 {
    font: 750 clamp(26px,3vw,46px)/1.1 Arial,sans-serif;
    letter-spacing: 2px;
    margin: 0 0 10px;
    color: white;
}

.wh-brand-text p {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px;
}

.wh-badge {
    display: inline-block;
    padding: 8px 19px;
    border-radius: 30px;
    background: #087bd5;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.wh-feature-list {
    display: grid;
    gap: 10px;
    margin-top: 42px;
    max-width: 340px;
}

.wh-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 52px;
    border-bottom: 1px solid #ffffff35;
    font-size: 17px;
    font-weight: 600;
}

.wh-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border: 1px solid #65b7f5aa;
    background: #087bd533;
    border-radius: 10px;
}

.wh-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
    stroke-width: 1.7;
    stroke-linejoin: round;
    stroke-linecap: round;
}

#authGate .auth-login-panel {
    position: relative;
    grid-column: 2;
    justify-self: center;
    width: min(100%,480px) !important;
    padding: 30px 38px !important;
    box-sizing: border-box;
    background: linear-gradient(150deg,
        rgba(222,239,255,.93),
        rgba(250,250,255,.79)) !important;
    backdrop-filter: blur(20px);
    border: 1px solid #ffffffb0;
    border-radius: 26px;
    box-shadow: 0 20px 65px #00132d55;
}

#authGate .auth-card {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#authGate .auth-brand {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    color: #08264c !important;
    background: transparent !important;
    border: none !important;
}

#authGate .login-logo-mark {
    width: 115px !important;
    height: 90px !important;
    display: block !important;
    border: none !important;
    background: url("westhaven-mark.svg") center/contain no-repeat !important;
}

#authGate .login-logo-mark > * {
    display: none !important;
}

#authGate .login-logo-type b {
    display: block;
    font-size: 30px !important;
    color: #08264c !important;
    letter-spacing: 2px;
}

#authGate .login-logo-type small {
    font-size: 12px !important;
    font-weight: bold;
    color: #08264c !important;
}

#authGate .login-project-tag {
    display: inline-block !important;
    border: 0 !important;
    background: #087bd5 !important;
    color: white !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
}

#authGate .auth-kicker {
    display: none;
}

#authGate .auth-card h1 {
    font-size: 30px !important;
    color: #08264c;
    margin-bottom: 5px;
}

#authGate .auth-card label {
    font-weight: 600;
    color: #08264c;
    margin: 18px 0;
}

#authGate .auth-card input {
    min-height: 46px;
    border-radius: 9px !important;
    background: #ffffffeb !important;
    border: 1px solid #b4c8dc !important;
}

#authGate .auth-card button[type="submit"] {
    min-height: 48px;
    border-radius: 9px !important;
    background: #08264c !important;
    font-weight: 700;
}

#authGate .auth-project-footer {
    margin-top: 25px !important;
    padding-top: 18px;
    text-align: center;
    border-top: 1px solid #08264c30;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    color: #08264c !important;
}

@media(max-width:900px) {
    #authGate {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
        gap: 24px;
    }

    #authGate .auth-architecture {
        display: none !important;
    }

    #authGate .auth-login-panel {
        grid-column: 1;
        padding: 26px !important;
    }
}
/* WESTHAVEN PREMIUM V3 */

#authGate {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
    padding: 32px 7% !important;
    align-items: center !important;
    box-sizing: border-box;
}

#authGate .auth-login-panel {
    height: auto !important;
    min-height: 0 !important;
    align-self: center !important;
    width: min(100%,490px) !important;
    padding: 28px 38px !important;
    border-radius: 28px !important;
    background: linear-gradient(
        145deg,
        rgba(220,239,255,.92),
        rgba(255,255,255,.72)
    ) !important;

    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);

    border: 1px solid rgba(255,255,255,.85);

    box-shadow:
        0 35px 80px rgba(0,20,55,.40),
        0 8px 20px rgba(0,20,55,.18),
        inset 0 2px 3px rgba(255,255,255,.95),
        inset 0 -1px 2px rgba(255,255,255,.50);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#authGate .auth-card {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

#authGate .wh-brand-line {
    gap: 18px;
}

#authGate .wh-brand-line > svg.wh-mark {
    width: 115px;
    height: 100px;
    flex-shrink: 0;
    filter: drop-shadow(0 5px 8px #001d4b70);
}

#authGate .auth-brand {
    margin: 0 0 22px !important;
    gap: 5px !important;
}

#authGate .auth-brand .login-logo-mark {
    background: none !important;
    width: 110px !important;
    height: 85px !important;
}

#authGate .auth-brand .login-logo-mark > svg.wh-mark {
    display: block !important;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 3px #08264c30);
}

#authGate .login-logo-mark::before,
#authGate .login-logo-mark::after {
    display: none !important;
}

#authGate .login-logo-type b {
    font-size: 32px !important;
    letter-spacing: 2px !important;
}

#authGate .login-logo-type small {
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: .5px;
}

#authGate .auth-brand .login-project-tag {
    position: static !important;
    align-self: center !important;
    margin: 8px auto 0 !important;
    background: linear-gradient(
        135deg,#168de5,#0862bc
    ) !important;
    box-shadow: 0 4px 10px #087bd52a;
}

#authGate .wh-badge {
    background: linear-gradient(
        135deg,#168de5,#0862bc
    );
    box-shadow: 0 4px 12px #001d4b30;
}

#authGate .wh-icon {
    background: linear-gradient(
        145deg,#ffffff30,#087bd522
    );
    box-shadow:
        inset 0 1px 2px #ffffff40,
        0 4px 8px #001d4b25;
}

#authGate .auth-card input {
    min-height: 48px;
    box-shadow: inset 0 2px 4px #08264c09;
}

#authGate .auth-card input:focus {
    outline: 2px solid #168de555;
}

#authGate .auth-card button[type="submit"] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    background: linear-gradient(
        135deg,#153c68,#052345
    ) !important;
    box-shadow: 0 7px 16px #08264c30;
    transition: transform .18s, box-shadow .18s;
}

#authGate .auth-card button[type="submit"] > span {
    position: absolute;
    right: 18px;
}

#authGate .auth-card button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px #08264c45;
}

#authGate .auth-project-footer {
    margin-top: 22px !important;
    padding-top: 14px !important;
    font-size: 11px !important;
}

@media(max-width:900px) {
    #authGate {
        padding: 20px !important;
    }

    #authGate .auth-login-panel {
        padding: 26px !important;
    }
}

/* WESTHAVEN PREMIUM V4 */

#authGate .auth-brand {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

#authGate .auth-brand .login-logo-mark {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    margin: 0 auto 6px !important;
    width: 130px !important;
    height: 100px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
}

#authGate .auth-brand .wh-mark {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 130px !important;
    height: 100px !important;
    margin: auto !important;
    filter: drop-shadow(3px 6px 4px #08264c35);
}

#authGate .login-logo-type {
    position: static !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

#authGate .login-logo-type b {
    font-size: clamp(26px,3vw,36px) !important;
    letter-spacing: 2.5px !important;
    text-shadow: 0 2px 1px #ffffff80;
}

#authGate .auth-brand .login-project-tag {
    position: relative !important;
    margin: 12px auto 4px !important;
    padding: 8px 20px !important;
    background: linear-gradient(
        135deg,#1999ef,#0759ae
    ) !important;
    box-shadow:
        0 5px 12px #0862bc35,
        inset 0 1px 2px #ffffff55;
}

#authGate .login-project-tag::before,
#authGate .login-project-tag::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(12px,3vw,45px);
    height: 1px;
    background: #428cca;
}

#authGate .login-project-tag::before {
    right: calc(100% + 10px);
}

#authGate .login-project-tag::after {
    left: calc(100% + 10px);
}

#authGate .auth-login-panel {
    background: linear-gradient(
        145deg,
        rgba(220,239,255,.87),
        rgba(255,255,255,.70)
    ) !important;

    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);

    border: 1px solid #ffffffdd !important;
    border-radius: 28px !important;

    box-shadow:
        0 40px 90px #00142d65,
        0 12px 25px #00142d30,
        inset 0 2px 4px #ffffffee,
        inset 0 -2px 4px #ffffff66 !important;
}

#authGate .wh-brand-line .wh-mark {
    filter: drop-shadow(4px 7px 5px #00142d70);
}

#authGate .wh-icon {
    background: linear-gradient(
        145deg,#ffffff40,#087bd530
    );
    border: 1px solid #8acaff99;
    box-shadow:
        inset 0 2px 3px #ffffff40,
        0 5px 10px #00142d40;
}

#authGate .wh-feature {
    transition: transform .2s ease;
}

#authGate .wh-feature:hover {
    transform: translateX(5px);
}

#authGate .auth-card button[type="submit"] {
    background: linear-gradient(
        145deg,#174877,#062344
    ) !important;

    box-shadow:
        0 8px 18px #00142d40,
        inset 0 1px 2px #ffffff33;
}

#authGate .auth-project-footer {
    text-align: center !important;
    color: #08264c !important;
}

/* WESTHAVEN V5 - MIRRORED BACKGROUND */

#authGate {
    position: relative !important;
    isolation: isolate;
    background: #102c47 !important;
}

#authGate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(270deg,
            rgba(3,30,66,.45),
            rgba(3,25,50,.04)),
        url("commercial-hero.png") center/cover no-repeat;
    transform: scaleX(-1);
}


/* WESTHAVEN V7 - FULL SCREEN */

#authGate::before {
    background-size: 100% 100%, cover !important;
    background-position: center, center top !important;
    transform: scaleX(-1);
}

#authGate::after {
    display: none !important;
}




/* WESTHAVEN V8 - FINAL BACKGROUND */



#authGate::before {

    background: linear-gradient(90deg,#031e4230,transparent), url("commercial-hero-wide.png") center/cover no-repeat !important;

    transform: none !important;

}



#authGate::after {

    display: none !important;

}

/* WESTHAVEN WORKSPACE V1 */ .app-shell aside:has(#navigation){background:linear-gradient(165deg,#102d4c,#07192e)!important} #navigation .nav-item{border-radius:9px;transition:background .2s,box-shadow .2s,color .2s} #navigation .nav-item:hover{background:#ffffff15!important;box-shadow:inset 3px 0 #65b7f5;color:#fff} #navigation .nav-item.active,#navigation .nav-item[aria-current="page"]{background:linear-gradient(90deg,#176bb5,#16436c)!important;box-shadow:inset 3px 0 #85ceff;color:#fff!important} .app-shell .header{background:linear-gradient(110deg,#102d4c,#153f65)!important;box-shadow:0 4px 15px #08264c20}
#authGate .auth-recovery-link {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 0;
    color: #123d63;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#authGate .auth-recovery-link:focus-visible {
    outline: 2px solid #176bb5;
    outline-offset: 4px;
}