@font-face {
    font-family: "Staff Display";
    src: url("../fonts/sales_gamification/space-grotesk-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --staff-canvas: #f5f8fa;
    --staff-white: #fff;
    --staff-ink: #142f42;
    --staff-muted: #617381;
    --staff-line: #dce5eb;
    --staff-accent: #007fae;
    --staff-panel: #eaf3f8;
    --staff-panel-line: #cfdee8;
    --staff-button: #123b55;
    --staff-button-hover: #0c2c42;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--staff-canvas); }
body { margin: 0; }
button { font: inherit; }
.staff-login {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--staff-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.staff-login--btw { --staff-accent: #2365c2; --staff-panel: #edf2fc; --staff-panel-line: #d6e0f0; }
.staff-login--nrs { --staff-accent: #0073ac; }
.staff-header, .staff-footer {
    width: min(100% - 96px, 1280px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.staff-header { min-height: 112px; }
.staff-logo { display: block; width: 132px; height: 48px; object-fit: contain; object-position: left center; }
.staff-login--larus .staff-logo { height: auto; aspect-ratio: 400 / 175; }
.staff-login--btw .staff-logo { width: 176px; }
.staff-login--nrs .staff-logo { width: 130px; height: 56px; }
.staff-header-label { font-size: 13px; font-weight: 500; color: var(--staff-muted); letter-spacing: .01em; }
.staff-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-self: center;
    width: min(100% - 96px, 1184px);
    min-height: 540px;
    max-height: 780px;
    background: var(--staff-white);
    border: 1px solid #e3eaef;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 48px -24px rgb(28 59 78 / 12%);
}
.staff-brand-panel { position: relative; isolation: isolate; min-width: 0; background: var(--staff-panel); overflow: hidden; padding: 56px; display: flex; flex-direction: column; }
.staff-brand-copy { position: relative; z-index: 1; }
.staff-eyebrow { margin: 0 0 25px; color: #4d6b80; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.staff-brand-copy h2 { margin: 0; font-family: "Staff Display", sans-serif; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; }
.staff-brand-copy h2 span { color: var(--staff-accent); }
.staff-connections { position: absolute; width: 115%; height: auto; bottom: -28px; left: -8%; z-index: 0; }
.staff-connection-back { stroke: var(--staff-panel-line); stroke-width: 1.3; }
.staff-connection-shadow { stroke: var(--staff-accent); stroke-opacity: .07; stroke-width: 30; }
.staff-connection-main { stroke: var(--staff-accent); stroke-width: 2.5; }
.staff-connection-node-halo { fill: var(--staff-accent); fill-opacity: .1; }
.staff-connection-node { fill: var(--staff-white); stroke: var(--staff-accent); stroke-width: 2.5; }
.staff-brand-footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 220px; color: #4d6b80; font-size: 12px; position: relative; z-index: 1; }
.staff-brand-rule { width: 24px; height: 1px; background: #7695a9; flex-shrink: 0; }
.staff-signin-panel { display: flex; align-items: center; justify-content: center; padding: 56px; min-width: 0; }
.staff-signin { width: 100%; max-width: 354px; }
.staff-entry-symbol { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--staff-line); border-radius: 12px; margin-bottom: 28px; color: #3b637d; }
.staff-entry-symbol svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.staff-signin h1 { font-family: "Staff Display", sans-serif; font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.045em; margin: 0 0 14px; }
.staff-intro { margin: 0; color: var(--staff-muted); font-size: 15px; line-height: 1.65; max-width: 315px; }
.staff-form { margin-top: 32px; }
.staff-submit { border: 1px solid transparent; border-radius: 10px; width: 100%; padding: 16px 20px; min-height: 56px; background: var(--staff-button); color: var(--staff-white); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.4; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; text-align: left; }
.staff-submit:hover { background: var(--staff-button-hover); box-shadow: 0 4px 10px rgb(18 59 85 / 12%); }
.staff-submit:focus-visible { outline: 3px solid var(--staff-accent); outline-offset: 4px; }
.staff-submit:disabled { cursor: wait; background: #36596e; }
.staff-submit-arrow { flex-shrink: 0; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.staff-account-hint { color: var(--staff-muted); font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
.staff-help { border-top: 1px solid var(--staff-line); padding-top: 24px; margin-top: 32px; font-size: 13px; line-height: 1.65; }
.staff-help p { margin: 0; }
.staff-help p:first-child { color: var(--staff-ink); font-weight: 600; margin-bottom: 3px; }
.staff-help p:last-child { color: var(--staff-muted); }
.staff-error { display: flex; align-items: flex-start; gap: 10px; background: #fff3f1; color: #9b2f27; border: 1px solid #efcdc9; border-radius: 8px; padding: 12px; margin-bottom: 18px; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.staff-error p { margin: 0; }
.staff-error svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.staff-field { display: block; margin-top: 18px; }
.staff-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--staff-ink); line-height: 1.4; margin-bottom: 5px; }
.staff-field-input { display: block; width: 100%; height: 46px; border: 1px solid var(--staff-line); border-radius: 8px; padding: 0 12px; font-size: 14px; color: var(--staff-ink); background: var(--staff-white); outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.staff-field-input::placeholder { color: #97a7b4; }
.staff-field-input:focus { border-color: var(--staff-accent); box-shadow: 0 0 0 3px rgb(0 127 174 / .14); }
.staff-field-error { color: #9b2f27; font-size: 12px; line-height: 1.5; margin-top: 5px; }
.staff-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.staff-footer { min-height: 68px; color: var(--staff-muted); font-size: 11px; line-height: 1.5; }

@media (min-width: 1500px) { .staff-main { flex: none; min-height: 640px; margin-block: auto; } }
@media (max-width: 1050px) {
    .staff-header, .staff-footer, .staff-main { width: calc(100% - 64px); }
    .staff-brand-panel, .staff-signin-panel { padding: 40px 32px; }
    .staff-brand-copy h2 { font-size: 46px; }
    .staff-signin h1 { font-size: 31px; }
}
@media (max-width: 760px) {
    .staff-header, .staff-footer { width: calc(100% - 48px); }
    .staff-header { min-height: 92px; }
    .staff-header-label { font-size: 11px; }
    .staff-logo { width: 112px; height: 40px; }
    .staff-login--btw .staff-logo { width: 148px; }
    .staff-login--nrs .staff-logo { width: 110px; height: 48px; }
    .staff-main { display: block; width: calc(100% - 48px); min-height: 0; max-height: none; flex: none; margin-block: auto; border-radius: 18px; }
    .staff-brand-panel { display: none; }
    .staff-signin-panel { padding: 44px 28px; }
    .staff-signin { max-width: 390px; }
    .staff-signin h1 { font-size: 32px; }
    .staff-footer { min-height: 76px; padding-block: 20px; }
}
@media (max-width: 380px) {
    .staff-header, .staff-footer, .staff-main { width: calc(100% - 32px); }
    .staff-header-label { max-width: 70px; text-align: right; line-height: 1.5; }
    .staff-signin-panel { padding: 36px 22px; }
    .staff-signin h1 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .staff-submit { transition: none; } }
