@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-Variable.ttf") format("truetype-variations");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --auth-page: #eaf0f6;
    --auth-surface: #edf2f7;
    --auth-surface-high: #f7f9fc;
    --auth-ink: #13233a;
    --auth-muted: #63738a;
    --auth-line: rgba(132, 151, 177, .24);
    --auth-cobalt: #315aef;
    --auth-cobalt-deep: #2443b8;
    --auth-teal: #087f73;
    --auth-danger: #a52f43;
    --auth-light-shadow: rgba(255, 255, 255, .94);
    --auth-dark-shadow: rgba(156, 174, 197, .42);
    --auth-font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--auth-page);
}

body.getwinco-auth-page,
body.getwinco-auth-page * {
    box-sizing: border-box;
}

body.getwinco-auth-page {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    color: var(--auth-ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(255, 255, 255, .9), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(49, 90, 239, .08), transparent 32%),
        var(--auth-page);
    font-family: var(--auth-font);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.getwinco-auth-page::before {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(58, 79, 109, .11) .7px, transparent .7px);
    background-size: 18px 18px;
    content: "";
    opacity: .22;
    pointer-events: none;
}

.getwinco-auth-page a {
    color: inherit;
    text-decoration: none;
}

.getwinco-auth-page button,
.getwinco-auth-page input {
    font: inherit;
}

.gw-auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1180px, calc(100% - 48px));
    min-height: min(740px, calc(100svh - 32px));
    grid-template-columns: minmax(400px, .92fr) minmax(500px, 1.08fr);
    margin: 16px auto;
    overflow: hidden;
    background: var(--auth-surface);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 38px;
    box-shadow:
        -18px -18px 46px var(--auth-light-shadow),
        22px 22px 54px var(--auth-dark-shadow),
        inset 1px 1px 0 rgba(255, 255, 255, .72);
}

.gw-auth-access {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(34px, 4vw, 54px) clamp(32px, 5vw, 64px) 32px;
    border-right: 1px solid rgba(255, 255, 255, .58);
}

.gw-auth-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
}

.gw-auth-brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    overflow: hidden;
    background: var(--auth-surface);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 18px;
    box-shadow:
        -6px -6px 13px rgba(255, 255, 255, .95),
        7px 7px 15px rgba(151, 168, 190, .38);
}

.gw-auth-brand-mark img {
    display: block;
    width: 39px;
    height: 39px;
    object-fit: contain;
}

.gw-auth-brand-copy {
    display: flex;
    flex-direction: column;
}

.gw-auth-brand-copy strong {
    color: #102039;
    font-size: 17px;
    font-weight: 780;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.gw-auth-brand-copy small {
    margin-top: 3px;
    color: var(--auth-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .015em;
}

.gw-auth-form-wrap {
    width: 100%;
    max-width: 410px;
    margin: auto 0;
    padding: 44px 0 34px;
}

.gw-auth-kicker,
.gw-auth-context-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--auth-cobalt-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gw-auth-kicker::before,
.gw-auth-context-kicker::before {
    width: 7px;
    height: 7px;
    background: var(--auth-teal);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(8, 127, 115, .1);
    content: "";
}

.gw-auth-copy h1 {
    max-width: 470px;
    margin: 15px 0 0;
    color: var(--auth-ink);
    font-size: clamp(34px, 3.1vw, 40px);
    font-variation-settings: "wght" 680;
    font-weight: 680;
    letter-spacing: -.052em;
    line-height: 1.02;
    text-wrap: balance;
}

.gw-auth-copy > p {
    max-width: 390px;
    margin: 17px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.65;
    text-wrap: pretty;
}

.gw-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 14px;
    color: #81283a;
    background: #f6e9ec;
    border: 1px solid rgba(165, 47, 67, .16);
    border-radius: 14px;
    box-shadow:
        inset 3px 3px 7px rgba(170, 122, 133, .14),
        inset -3px -3px 7px rgba(255, 255, 255, .72);
}

.gw-auth-alert-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    color: #fff;
    background: var(--auth-danger);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.gw-auth-alert strong,
.gw-auth-alert span:last-child {
    font-size: 12px;
}

.gw-auth-form {
    display: grid;
    gap: 15px;
    margin-top: 26px;
}

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

.gw-auth-field > span:first-child,
.gw-auth-field > label {
    color: #33445d;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .01em;
}

.gw-auth-control {
    position: relative;
    display: flex;
    min-width: 0;
    height: 54px;
    align-items: center;
    background: #e7edf3;
    border: 1px solid rgba(161, 178, 199, .18);
    border-radius: 16px;
    box-shadow:
        inset 6px 6px 12px rgba(157, 174, 196, .34),
        inset -6px -6px 12px rgba(255, 255, 255, .86);
    transition: box-shadow .18s ease, border-color .18s ease;
}

.gw-auth-control:focus-within {
    border-color: var(--auth-cobalt);
    box-shadow:
        inset 4px 4px 9px rgba(145, 162, 187, .28),
        inset -4px -4px 9px rgba(255, 255, 255, .9),
        0 0 0 2px var(--auth-cobalt);
}

.gw-auth-control-icon {
    display: grid;
    width: 48px;
    height: 100%;
    flex: 0 0 48px;
    place-items: center;
    color: #65758b;
}

.gw-auth-control-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gw-auth-control input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 14px 0 0;
    color: #162943;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
    font-weight: 570;
}

.gw-auth-control input::placeholder {
    color: var(--auth-muted);
    opacity: 1;
}

.gw-auth-control input:-webkit-autofill,
.gw-auth-control input:-webkit-autofill:hover,
.gw-auth-control input:-webkit-autofill:focus {
    -webkit-text-fill-color: #162943;
    box-shadow: 0 0 0 1000px #e7edf3 inset;
    transition: background-color 9999s ease-out 0s;
}

.gw-auth-control.has-action input {
    padding-right: 72px;
}

.gw-auth-password-toggle {
    position: absolute;
    top: 4px;
    right: 8px;
    height: 44px;
    padding: 0 12px;
    color: #41536e;
    background: var(--auth-surface);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 11px;
    box-shadow:
        -3px -3px 7px rgba(255, 255, 255, .9),
        4px 4px 8px rgba(152, 170, 194, .3);
    cursor: pointer;
    font-size: 10px;
    font-weight: 780;
}

.gw-auth-password-toggle:active {
    box-shadow:
        inset 3px 3px 6px rgba(152, 170, 194, .3),
        inset -3px -3px 6px rgba(255, 255, 255, .86);
    transform: translateY(1px);
}

.gw-auth-form-row {
    display: flex;
    min-height: 22px;
    align-items: center;
    justify-content: flex-end;
}

.gw-auth-form-row a {
    color: var(--auth-cobalt-deep);
    font-size: 11px;
    font-weight: 730;
}

.gw-auth-submit {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    color: #fff;
    background: linear-gradient(145deg, #3a66f6, #294ccf);
    border: 1px solid rgba(31, 65, 177, .38);
    border-radius: 16px;
    box-shadow:
        -6px -6px 13px rgba(255, 255, 255, .82),
        8px 9px 18px rgba(56, 79, 135, .3),
        inset 1px 1px 0 rgba(255, 255, 255, .25);
    cursor: pointer;
    font-size: 13px;
    font-weight: 780;
    letter-spacing: -.01em;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.gw-auth-submit svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 2;
}

.gw-auth-submit:hover {
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.gw-auth-submit:active {
    box-shadow:
        inset 4px 4px 9px rgba(21, 50, 139, .35),
        inset -3px -3px 7px rgba(116, 145, 255, .3);
    transform: translateY(1px);
}

.gw-auth-submit:disabled {
    cursor: wait;
    filter: grayscale(.2);
    opacity: .72;
    transform: none;
}

.gw-auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 21px 0 14px;
    color: var(--auth-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gw-auth-divider::before,
.gw-auth-divider::after {
    height: 1px;
    background: rgba(126, 146, 172, .22);
    content: "";
}

.gw-auth-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gw-auth-social.is-single {
    grid-template-columns: 1fr;
}

.gw-auth-social a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #33455e;
    background: var(--auth-surface);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    box-shadow:
        -4px -4px 9px rgba(255, 255, 255, .86),
        5px 5px 11px rgba(153, 170, 193, .28);
    font-size: 11px;
    font-weight: 750;
}

.gw-auth-social a:active {
    box-shadow:
        inset 3px 3px 7px rgba(153, 170, 193, .28),
        inset -3px -3px 7px rgba(255, 255, 255, .84);
}

.gw-auth-social-mark {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--auth-cobalt-deep);
    background: rgba(49, 90, 239, .08);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 820;
}

.gw-auth-access-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--auth-muted);
    font-size: 10px;
}

.gw-auth-access-footer a {
    color: #2c4c93;
    font-weight: 760;
}

.gw-auth-context {
    position: relative;
    display: grid;
    min-width: 0;
    align-content: center;
    overflow: hidden;
    padding: 46px clamp(34px, 4vw, 58px);
    background:
        radial-gradient(circle at 80% 12%, rgba(255, 255, 255, .92), transparent 30%),
        linear-gradient(145deg, #e4eaf1, #eef3f8 58%, #e5ecf4);
}

.gw-auth-context::after {
    position: absolute;
    right: -100px;
    bottom: -130px;
    width: 320px;
    height: 320px;
    background: rgba(49, 90, 239, .06);
    border-radius: 50%;
    content: "";
    filter: blur(2px);
    pointer-events: none;
}

.gw-auth-context-copy,
.gw-auth-orbit,
.gw-auth-proof {
    position: relative;
    z-index: 1;
}

.gw-auth-context-copy h2 {
    max-width: 490px;
    margin: 13px 0 0;
    color: #152842;
    font-size: clamp(25px, 2.6vw, 35px);
    font-variation-settings: "wght" 690;
    font-weight: 690;
    letter-spacing: -.047em;
    line-height: 1.08;
}

.gw-auth-context-copy p {
    max-width: 470px;
    margin: 12px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.6;
}

.gw-auth-orbit {
    position: relative;
    display: grid;
    width: min(440px, 88%);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    margin: 25px 0 0;
    background: linear-gradient(145deg, #eff4f9, #dde5ed);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    box-shadow:
        -18px -18px 38px rgba(255, 255, 255, .9),
        20px 20px 42px rgba(145, 163, 187, .4),
        inset 1px 1px 0 rgba(255, 255, 255, .85);
}

.gw-auth-orbit::before {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: inherit;
    box-shadow:
        inset 4px 4px 10px rgba(152, 170, 193, .18),
        inset -4px -4px 10px rgba(255, 255, 255, .68);
    content: "";
}

.gw-auth-console {
    position: relative;
    z-index: 2;
    width: 76%;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    box-shadow: 0 22px 36px rgba(47, 65, 96, .18);
    transform: rotate(-1.4deg);
}

.gw-auth-console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    color: #5d6e84;
    background: #f1f5f9;
    border-bottom: 1px solid #e1e7ef;
    font-size: 8px;
    font-weight: 750;
}

.gw-auth-console-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gw-auth-console-brand img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.gw-auth-console-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #087f73;
}

.gw-auth-console-live::before {
    width: 6px;
    height: 6px;
    background: #14a48f;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(20, 164, 143, .12);
    content: "";
}

.gw-auth-console-screen {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    background: #f7f9fc;
}

.gw-auth-console-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gw-auth-console-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #e2e8f0;
}

.gw-auth-console-foot span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 9px 8px;
    color: #708097;
    background: #f8fafc;
    font-size: 6px;
    text-transform: uppercase;
}

.gw-auth-console-foot strong {
    overflow: hidden;
    margin-top: 2px;
    color: #263a57;
    font-size: 9px;
    font-weight: 760;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.gw-auth-signal {
    position: absolute;
    z-index: 3;
    display: flex;
    min-height: 35px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    color: #31455f;
    background: rgba(237, 242, 247, .96);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 12px;
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, .85),
        6px 6px 13px rgba(135, 154, 178, .34);
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.gw-auth-signal::before {
    width: 7px;
    height: 7px;
    background: var(--auth-cobalt);
    border-radius: 999px;
    content: "";
}

.gw-auth-signal.is-chat {
    top: 20%;
    left: -6%;
}

.gw-auth-signal.is-agenda {
    top: 31%;
    right: -8%;
}

.gw-auth-signal.is-context {
    right: 1%;
    bottom: 19%;
}

.gw-auth-signal.is-context::before {
    background: var(--auth-teal);
}

.gw-auth-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    color: #51647c;
    font-size: 9px;
    font-weight: 700;
}

.gw-auth-proof span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gw-auth-proof span::before {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    color: #fff;
    background: var(--auth-teal);
    border-radius: 999px;
    content: "✓";
    font-size: 8px;
}

.getwinco-auth-admin {
    --auth-cobalt: #2d56d7;
    --auth-cobalt-deep: #203f9f;
}

.getwinco-auth-admin .gw-auth-context-kicker::before {
    background: #315aef;
    box-shadow: 0 0 0 5px rgba(49, 90, 239, .1);
}

.getwinco-auth-page :is(a, button):focus-visible {
    outline: 3px solid var(--auth-cobalt);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .gw-auth-shell {
        width: min(720px, calc(100% - 30px));
        grid-template-columns: 1fr;
        margin: 15px auto;
    }

    .gw-auth-access {
        min-height: 690px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .62);
    }

    .gw-auth-form-wrap {
        max-width: 460px;
        margin: auto;
    }

    .gw-auth-context {
        min-height: 660px;
    }
}

@media (max-width: 600px) {
    body.getwinco-auth-page {
        background: var(--auth-surface);
    }

    body.getwinco-auth-page::before {
        display: none;
    }

    .gw-auth-shell {
        width: 100%;
        min-height: 100svh;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        animation: none;
    }

    .gw-auth-access {
        min-height: 100svh;
        padding: 24px 20px 22px;
    }

    .gw-auth-form-wrap {
        width: 100%;
        padding: 42px 0 32px;
    }

    .gw-auth-copy h1 {
        font-size: clamp(30px, 8.6vw, 35px);
    }

    .gw-auth-copy > p {
        font-size: 13px;
    }

    .gw-auth-control input,
    .gw-auth-status input {
        font-size: 16px;
    }

    .gw-auth-form-row a,
    .gw-auth-access-footer a,
    .gw-auth-status .footer a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .gw-auth-form-row a,
    .gw-auth-access-footer a {
        font-size: 13px;
    }

    .gw-auth-context {
        display: none;
    }

    .gw-auth-access-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .gw-auth-social {
        grid-template-columns: 1fr;
    }
}

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