:root {
    --access-primary: #2f6f70;
    --access-primary-dark: #214f50;
    --access-primary-soft: #e7f2f1;
    --access-accent: #d99b45;
    --access-ink: #203338;
    --access-muted: #66787c;
    --access-border: #dbe5e5;
    --access-surface: #ffffff;
    --access-danger: #b42318;
    --access-danger-soft: #fff1f0;
    --access-shadow: 0 24px 60px rgba(24, 54, 56, .18);
}

* {
    box-sizing: border-box;
}

body.access-page {
    min-height: 100vh;
    margin: 0;
    color: var(--access-ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(135deg, #285f60 0%, #3f7b7c 54%, #285f60 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.access-page button,
.access-page input {
    font: inherit;
}

.access-page a:focus-visible,
.access-page button:focus-visible,
.access-page input:focus-visible {
    outline: 3px solid rgba(217, 155, 69, .55);
    outline-offset: 3px;
}

.access-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
}

.access-card {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(340px, 46%) minmax(360px, 54%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 28px;
    background: var(--access-surface);
    box-shadow: var(--access-shadow);
}

.access-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    padding: 56px;
    overflow: hidden;
    background: linear-gradient(145deg, #edf5f4 0%, #f8fbfb 100%);
}

.access-brand-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 310px;
    height: 310px;
    border: 48px solid rgba(47, 111, 112, .08);
    border-radius: 50%;
}

.access-logo {
    position: relative;
    z-index: 1;
    width: min(320px, 100%);
    height: auto;
}

.access-brand-copy {
    position: relative;
    z-index: 1;
    max-width: 370px;
    margin: 30px 0 0;
    color: var(--access-muted);
    font-size: 16px;
    line-height: 1.65;
}

.access-form-panel {
    display: flex;
    align-items: center;
    padding: 64px 72px;
}

.access-form {
    width: 100%;
}

.access-eyebrow {
    margin: 0 0 10px;
    color: var(--access-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.access-title {
    margin: 0;
    color: var(--access-ink);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -.03em;
}

.access-description {
    margin: 14px 0 34px;
    color: var(--access-muted);
    font-size: 15px;
    line-height: 1.55;
}

.access-field {
    margin-bottom: 22px;
}

.access-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--access-ink);
    font-size: 14px;
    font-weight: 600;
}

.access-input-wrap {
    position: relative;
}

.access-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--access-border);
    border-radius: 12px;
    color: var(--access-ink);
    background: #fbfdfd;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.access-input:hover {
    border-color: #abc1c1;
}

.access-input:focus {
    border-color: var(--access-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 111, 112, .12);
    outline: none;
}

.access-password-input {
    padding-right: 54px;
}

.access-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    color: var(--access-primary-dark);
    background: transparent;
    cursor: pointer;
}

.access-password-toggle:hover {
    background: var(--access-primary-soft);
}

.access-primary-button,
.access-secondary-button {
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.access-primary-button {
    width: 100%;
    border: 1px solid var(--access-primary);
    color: #fff;
    background: var(--access-primary);
    box-shadow: 0 10px 24px rgba(47, 111, 112, .22);
}

.access-primary-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--access-primary-dark);
    box-shadow: 0 14px 28px rgba(47, 111, 112, .28);
}

.access-primary-button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.access-secondary-button {
    border: 1px solid var(--access-border);
    color: var(--access-primary-dark);
    background: #fff;
    cursor: pointer;
}

.access-secondary-button:hover {
    border-color: var(--access-primary);
    background: var(--access-primary-soft);
}

.access-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #f2c7c2;
    border-radius: 12px;
    color: var(--access-danger);
    background: var(--access-danger-soft);
    font-size: 14px;
    line-height: 1.45;
}

.access-alert ul {
    margin: 0;
    padding-left: 18px;
}

.access-alert.validation-summary-valid {
    display: none;
}

.access-qa-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 18px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #714a13;
    background: #fff1d9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.access-button-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: access-spin .7s linear infinite;
}

.is-submitting .access-button-spinner {
    display: inline-block;
}

@keyframes access-spin {
    to { transform: rotate(360deg); }
}

/* Context selection */
.access-context-page {
    background: #f2f6f6;
}

.context-header {
    border-bottom: 1px solid var(--access-border);
    background: #fff;
}

.context-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
}

.context-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--access-ink);
    font-weight: 700;
}

.context-brand img {
    width: 108px;
    height: auto;
}

.context-user {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--access-muted);
    font-size: 14px;
}

.context-logout {
    padding: 9px 13px;
    border-radius: 9px;
    color: var(--access-danger);
    text-decoration: none;
    background: var(--access-danger-soft);
    font-weight: 600;
}

.context-main {
    width: min(1060px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 64px;
}

.context-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.context-intro h1 {
    margin: 0;
    color: var(--access-ink);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.03em;
}

.context-intro p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--access-muted);
    line-height: 1.55;
}

.context-panel {
    overflow: hidden;
    border: 1px solid var(--access-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(35, 67, 69, .10);
}

.context-progress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--access-border);
    background: #fafcfc;
}

.context-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 26px;
    color: var(--access-muted);
    font-size: 14px;
    font-weight: 700;
}

.context-progress-step + .context-progress-step {
    border-left: 1px solid var(--access-border);
}

.context-progress-step.is-active,
.context-progress-step.is-complete {
    color: var(--access-primary-dark);
}

.context-progress-step.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--access-primary);
}

.context-step-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--access-border);
    border-radius: 50%;
    background: #fff;
}

.is-active .context-step-number,
.is-complete .context-step-number {
    border-color: var(--access-primary);
    color: #fff;
    background: var(--access-primary);
}

.context-step {
    padding: 32px;
}

.context-step[hidden] {
    display: none;
}

.context-step-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.context-step-header h2 {
    margin: 0;
    color: var(--access-ink);
    font-size: 24px;
}

.context-step-header p {
    margin: 7px 0 0;
    color: var(--access-muted);
}

.context-search {
    position: relative;
    width: min(310px, 100%);
}

.context-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--access-border);
    border-radius: 11px;
    background: #fbfdfd;
}

.context-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--access-muted);
    transform: translateY(-50%);
}

.context-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.context-option {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 19px;
    border: 1px solid var(--access-border);
    border-radius: 15px;
    color: var(--access-ink);
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.context-option:hover {
    transform: translateY(-2px);
    border-color: #8eb0b0;
    box-shadow: 0 10px 22px rgba(38, 83, 84, .10);
}

.context-option.is-selected {
    border-color: var(--access-primary);
    background: var(--access-primary-soft);
    box-shadow: 0 0 0 2px rgba(47, 111, 112, .13);
}

.context-option-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--access-primary-dark);
    background: var(--access-primary-soft);
    font-size: 18px;
    font-weight: 700;
}

.is-selected .context-option-mark {
    color: #fff;
    background: var(--access-primary);
}

.context-option-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.context-option-meta {
    color: var(--access-muted);
    font-size: 13px;
}

.context-selected-company {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 7px 11px;
    border-radius: 9px;
    color: var(--access-primary-dark);
    background: var(--access-primary-soft);
    font-size: 13px;
    font-weight: 600;
}

.context-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--access-border);
}

.context-actions .access-primary-button {
    width: auto;
    min-width: 210px;
}

.context-empty,
.context-loading,
.context-no-results {
    grid-column: 1 / -1;
    padding: 38px 22px;
    border: 1px dashed #bed0d0;
    border-radius: 14px;
    color: var(--access-muted);
    text-align: center;
    background: #fafcfc;
}

.context-no-results[hidden] {
    display: none;
}

.context-loading i {
    margin-right: 8px;
    color: var(--access-primary);
}

.activation-note {
    padding: 18px;
    border: 1px solid #ead2ae;
    border-radius: 12px;
    color: #634716;
    background: #fff8eb;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .access-shell {
        padding: 24px;
    }

    .access-card {
        grid-template-columns: 1fr;
        width: min(620px, 100%);
    }

    .access-brand-panel {
        min-height: auto;
        align-items: center;
        padding: 34px 42px;
        text-align: center;
    }

    .access-logo {
        width: 240px;
    }

    .access-brand-copy {
        display: none;
    }

    .access-form-panel {
        padding: 44px;
    }

    .context-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .access-shell {
        align-items: flex-start;
        padding: 16px;
    }

    .access-card {
        border-radius: 20px;
    }

    .access-brand-panel {
        padding: 24px;
    }

    .access-logo {
        width: 190px;
    }

    .access-form-panel {
        padding: 30px 24px 34px;
    }

    .access-description {
        margin-bottom: 26px;
    }

    .context-header-inner,
    .context-main {
        width: min(100% - 24px, 1060px);
    }

    .context-header-inner {
        min-height: 66px;
    }

    .context-brand span,
    .context-user-name {
        display: none;
    }

    .context-brand img {
        width: 92px;
    }

    .context-main {
        padding: 30px 0 42px;
    }

    .context-intro {
        display: block;
    }

    .context-progress-step {
        padding: 14px;
        font-size: 12px;
    }

    .context-progress-label {
        display: none;
    }

    .context-step {
        padding: 22px 18px;
    }

    .context-step-header {
        display: block;
    }

    .context-search {
        width: 100%;
        margin-top: 16px;
    }

    .context-options {
        grid-template-columns: 1fr;
    }

    .context-option {
        min-height: 118px;
    }

    .context-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .context-actions .access-primary-button,
    .context-actions .access-secondary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Refined login experience */
body.access-login-page {
    --login-deep: #082f32;
    --login-deeper: #061f22;
    --login-bright: #63b5aa;
    --login-lime: #b7d978;
    --login-gold: #e7b96b;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #eef6f4;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.025'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23noise)' opacity='.9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' viewBox='0 0 280 200'%3E%3Cg fill='none' stroke='%232f6f70' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='.08'%3E%3Cpath d='M42 30l19 7v15c0 14-8 24-19 30-11-6-19-16-19-30V37l19-7z'/%3E%3Cpath d='M34 52l6 6 11-13'/%3E%3Crect x='188' y='103' width='43' height='54' rx='6'/%3E%3Cpath d='M198 116h23M198 125h23M198 134h14M198 146l5 5 10-11'/%3E%3Cpath d='M112 121c10-15 31-15 41 0M132.5 121v25c0 7 9 7 9 0'/%3E%3Cpath d='M104 121h57M132.5 98v23'/%3E%3C/g%3E%3Cg fill='%232f6f70' opacity='.07'%3E%3Ccircle cx='86' cy='151' r='3'/%3E%3Ccircle cx='174' cy='49' r='3'/%3E%3Cpath d='M89 151h35M156 49h15' fill='none' stroke='%232f6f70' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 8% 92%, rgba(91, 151, 145, .07), transparent 29%),
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .72), transparent 34%),
        linear-gradient(145deg, #f4f8f7 0%, #eef6f4 52%, #eaf3f1 100%);
    background-position: center, center, center, center, center;
    background-size: 140px 140px, 280px 200px, auto, auto, auto;
}

.access-login-page .access-shell {
    position: relative;
    isolation: isolate;
    padding: 28px;
}

.access-backdrop-orb {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.access-backdrop-orb-one {
    top: -180px;
    right: -110px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(47, 111, 112, .18);
    box-shadow:
        0 0 0 55px rgba(47, 111, 112, .035),
        0 0 0 110px rgba(47, 111, 112, .022);
}

.access-backdrop-orb-two {
    bottom: -260px;
    left: -180px;
    width: 520px;
    height: 520px;
    background: rgba(47, 111, 112, .07);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 112, .12);
}

.access-login-page .access-card {
    position: relative;
    width: min(1160px, 100%);
    min-height: min(680px, calc(100vh - 56px));
    grid-template-columns: minmax(0, 56%) minmax(410px, 44%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;
    background: #fff;
    box-shadow:
        0 34px 80px rgba(20, 59, 60, .22),
        0 8px 24px rgba(20, 59, 60, .12);
}

.access-login-page .access-brand-panel {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 38px 44px 34px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 42%),
        linear-gradient(152deg, #0d4e51 0%, #0a3a3d 58%, #072a2d 100%);
}

.access-login-page .access-brand-panel::after {
    content: none;
}

.access-brand-glow {
    position: absolute;
    top: -150px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 203, 191, .22), transparent 68%);
    pointer-events: none;
}

.access-brand-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom right, #000, transparent 72%);
    pointer-events: none;
}

.access-brand-header,
.access-brand-message,
.access-operation-visual,
.access-brand-footer {
    position: relative;
    z-index: 1;
}

.access-brand-header {
    min-height: 108px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.access-logo-frame {
    width: 176px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 30px rgba(2, 24, 26, .18);
}

.access-login-page .access-logo {
    width: 148px;
    height: 148px;
    max-width: none;
    object-fit: contain;
}

.access-product-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .055);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.access-brand-message {
    margin-top: 22px;
}

.access-brand-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.access-brand-kicker > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--login-lime);
    box-shadow: 0 0 0 5px rgba(183, 217, 120, .12);
}

.access-brand-message h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.03em;
}

.access-brand-message h2 strong {
    color: #a8d9cf;
    font-weight: 700;
}

.access-operation-visual {
    min-height: 205px;
    margin-top: auto;
    padding-top: 28px;
}

.access-dashboard-card {
    width: calc(100% - 48px);
    min-height: 176px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 24px 44px rgba(2, 20, 22, .20);
    backdrop-filter: blur(16px);
}

.access-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.access-live-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 600;
}

.access-live-label i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--login-lime);
    box-shadow: 0 0 0 4px rgba(183, 217, 120, .09);
}

.access-module-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.access-module-row span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .75);
    background: rgba(2, 24, 26, .18);
    font-size: 10px;
    font-weight: 600;
}

.access-module-row i {
    color: #9fd1c7;
}

.access-chart {
    height: 45px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-top: 14px;
    padding: 0 3px;
}

.access-chart span {
    flex: 1;
    min-width: 0;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(to top, rgba(99, 181, 170, .24), rgba(160, 218, 207, .82));
}

.access-chart span:nth-child(1) { height: 24%; }
.access-chart span:nth-child(2) { height: 42%; }
.access-chart span:nth-child(3) { height: 36%; }
.access-chart span:nth-child(4) { height: 68%; }
.access-chart span:nth-child(5) { height: 58%; }
.access-chart span:nth-child(6) { height: 88%; }

.access-floating-card {
    position: absolute;
    right: 0;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    color: var(--access-ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 34px rgba(0, 21, 23, .27);
}

.access-floating-card-one {
    top: 54px;
}

.access-floating-card-two {
    right: 34px;
    bottom: -14px;
    transform: scale(.86);
    transform-origin: right bottom;
    opacity: .94;
}

.access-floating-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--access-primary-dark);
    background: #e8f4f1;
}

.access-floating-card > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.access-floating-card strong {
    font-size: 11px;
    line-height: 1.2;
}

.access-floating-card small {
    margin-top: 3px;
    color: var(--access-muted);
    font-size: 9px;
}

.access-floating-check {
    margin-left: auto;
    color: #619b66;
    font-size: 11px;
}

.access-brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
}

.access-brand-footer i {
    margin-right: 6px;
    color: rgba(183, 217, 120, .8);
}

.access-login-page .access-form-panel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 58px 56px;
    background:
        radial-gradient(circle at 100% 0%, rgba(99, 181, 170, .07), transparent 30%),
        #fff;
}

.access-login-page .access-form {
    width: min(100%, 410px);
    margin: 0 auto;
}

.access-mobile-logo {
    display: none;
}

.access-login-page .access-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--access-primary);
    font-size: 10px;
    letter-spacing: .16em;
}

.access-login-page .access-eyebrow > span {
    width: 20px;
    height: 1px;
    background: var(--access-primary);
}

.access-login-page .access-title {
    max-width: 390px;
    color: #172d31;
    font-size: clamp(34px, 3.2vw, 45px);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.access-login-page .access-description {
    max-width: 350px;
    margin: 14px 0 34px;
    color: #708084;
    font-size: 14px;
    line-height: 1.6;
}

.access-login-page .access-field {
    margin-bottom: 20px;
}

.access-login-page .access-field label {
    margin-bottom: 8px;
    color: #34484c;
    font-size: 12px;
    font-weight: 700;
}

.access-login-page .access-input-wrap {
    position: relative;
}

.access-input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 17px;
    color: #8ba0a3;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color .18s ease;
}

.access-login-page .access-input-wrap:focus-within .access-input-icon {
    color: var(--access-primary);
}

.access-login-page .access-input {
    height: 56px;
    padding: 0 50px 0 46px;
    border: 1px solid #d6e1e1;
    border-radius: 14px;
    color: #172d31;
    background: #f8fbfb;
    font-size: 18px;
}

.access-login-page .access-input::placeholder {
    color: #a0adaf;
}

.access-login-page .access-input:hover {
    border-color: #a7bebd;
    background: #fff;
}

.access-login-page .access-input:focus {
    border-color: #4e8988;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 111, 112, .10);
}

.access-login-page .access-password-toggle {
    right: 8px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #537477;
}

.access-login-page .access-password-toggle:hover {
    color: var(--access-primary-dark);
    background: #eaf4f3;
}

.access-login-page .access-alert {
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 12px;
}

.access-login-page .access-primary-button {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(110deg, #286768 0%, #367f7d 100%);
    box-shadow: 0 14px 28px rgba(32, 91, 92, .24);
    font-size: 13px;
    letter-spacing: .01em;
}

.access-login-page .access-primary-button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -55%;
    width: 42%;
    transform: skewX(-24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
    transition: left .5s ease;
}

.access-login-page .access-primary-button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: linear-gradient(110deg, #245d5e 0%, #2f7372 100%);
    box-shadow: 0 18px 34px rgba(32, 91, 92, .30);
}

.access-login-page .access-primary-button:hover:not(:disabled)::before {
    left: 112%;
}

.access-button-arrow {
    position: absolute;
    right: 19px;
    font-size: 12px;
    transition: transform .18s ease;
}

.access-login-page .access-primary-button:hover .access-button-arrow {
    transform: translateX(2px);
}

.access-login-page .is-submitting .access-button-arrow {
    display: none;
}

.access-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 18px 0 0;
    color: #849397;
    font-size: 10px;
}

.access-form-security i {
    color: #6a9996;
}

.access-login-page .access-qa-badge {
    min-height: 26px;
    margin-bottom: 18px;
    border: 1px solid #f0d4a8;
    font-size: 9px;
}

@media (max-width: 980px) {
    .access-login-page .access-card {
        width: min(660px, 100%);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .access-login-page .access-brand-panel {
        min-height: 206px;
        padding: 26px 34px;
    }

    .access-brand-header {
        min-height: 0;
        align-items: center;
    }

    .access-logo-frame {
        width: 142px;
        height: 72px;
        border-radius: 14px;
    }

    .access-login-page .access-logo {
        width: 118px;
        height: 118px;
    }

    .access-brand-message {
        margin-top: 22px;
    }

    .access-brand-message h2 {
        font-size: 34px;
        line-height: 1;
    }

    .access-operation-visual,
    .access-brand-footer {
        display: none;
    }

    .access-login-page .access-form-panel {
        padding: 44px 54px 46px;
    }
}

@media (max-width: 640px) {
    body.access-login-page {
        background: #fff;
    }

    .access-login-page .access-shell {
        min-height: 100vh;
        align-items: stretch;
        padding: 0;
    }

    .access-backdrop-orb {
        display: none;
    }

    .access-login-page .access-card {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .access-login-page .access-brand-panel {
        min-height: 154px;
        padding: 22px 22px 26px;
        border-radius: 0 0 28px 28px;
    }

    .access-brand-header {
        align-items: flex-start;
    }

    .access-logo-frame {
        width: 126px;
        height: 62px;
        border-radius: 12px;
    }

    .access-login-page .access-logo {
        width: 104px;
        height: 104px;
    }

    .access-product-label {
        min-height: 25px;
        padding: 6px 9px;
        font-size: 8px;
    }

    .access-brand-message {
        margin-top: 13px;
    }

    .access-brand-kicker {
        display: none;
    }

    .access-brand-message h2 {
        font-size: 25px;
        letter-spacing: -.04em;
    }

    .access-login-page .access-form-panel {
        align-items: flex-start;
        padding: 34px 24px 36px;
    }

    .access-login-page .access-form {
        width: 100%;
    }

    .access-login-page .access-title {
        font-size: 34px;
    }

    .access-login-page .access-description {
        margin-bottom: 28px;
    }

    .access-login-page .access-field {
        margin-bottom: 18px;
    }
}

@media (max-height: 720px) and (min-width: 981px) {
    .access-login-page .access-card {
        min-height: 620px;
    }

    .access-login-page .access-brand-panel {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .access-brand-message {
        margin-top: 8px;
    }

    .access-operation-visual {
        transform: scale(.92);
        transform-origin: left bottom;
        margin-right: -42px;
        margin-bottom: -5px;
    }

    .access-brand-footer {
        margin-top: 10px;
    }
}

/* Simplified brand panel */
.access-login-page .access-brand-header {
    min-height: 0;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.access-login-page .access-logo-frame {
    width: 272px;
    height: 174px;
    border-radius: 28px;
    box-shadow: 0 26px 54px rgba(2, 24, 26, .30);
}

.access-login-page .access-logo {
    width: 238px;
    height: 238px;
}

.access-login-page .access-brand-message {
    margin: 34px 0 0;
    text-align: center;
}

.access-login-page .access-brand-message h2 {
    font-size: clamp(38px, 3.8vw, 50px);
    line-height: 1;
}

.access-login-page .access-brand-footer {
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 980px) {
    .access-login-page .access-brand-panel {
        min-height: 190px;
        display: grid;
        grid-template-columns: 154px minmax(0, 1fr);
        align-items: center;
        gap: 28px;
        padding: 28px 36px;
    }

    .access-login-page .access-brand-header {
        margin: 0;
    }

    .access-login-page .access-logo-frame {
        width: 154px;
        height: 92px;
        border-radius: 17px;
    }

    .access-login-page .access-logo {
        width: 134px;
        height: 134px;
    }

    .access-login-page .access-brand-message {
        margin: 0;
        text-align: left;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 32px;
    }

    .access-login-page .access-brand-footer {
        display: none;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-panel {
        min-height: 148px;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 16px;
        padding: 22px;
    }

    .access-login-page .access-logo-frame {
        width: 118px;
        height: 70px;
        border-radius: 13px;
    }

    .access-login-page .access-logo {
        width: 102px;
        height: 102px;
    }

    .access-login-page .access-brand-message {
        margin: 0;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 24px;
        line-height: 1.02;
    }
}

/* Compact login proportions */
.access-login-page .access-title {
    font-size: 34px;
}

.access-login-page .access-description {
    margin-top: 12px;
    margin-bottom: 28px;
}

.access-login-page .access-field {
    margin-bottom: 18px;
}

@media (min-width: 981px) {
    .access-login-page .access-card {
        min-height: min(570px, calc(100vh - 56px));
    }

    .access-login-page .access-brand-panel {
        padding: 28px 40px 26px;
    }

    .access-login-page .access-brand-message {
        margin-top: 26px;
    }

    .access-login-page .access-form-panel {
        padding: 42px 56px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-title {
        font-size: 31px;
    }
}

/* Form hierarchy */
.access-login-page .access-field label {
    font-size: 14px;
}

.access-login-page .access-primary-button {
    font-size: 15px;
}

@media (max-width: 640px) {
    .access-login-page .access-field label {
        font-size: 13px;
    }
}

.access-login-page .access-title {
    color: #6c757d !important;
}

/* Login capability summary */
.access-login-page .access-logo-frame {
    border: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 42%, transparent 72%);
    box-shadow: none;
}

.access-login-page .access-logo {
    filter: brightness(1.55) saturate(.82) drop-shadow(0 10px 18px rgba(0, 0, 0, .16));
}

.access-login-page .access-brand-description {
    max-width: 430px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.access-features {
    width: min(450px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 22px auto 0;
}

.access-feature {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
}

.access-feature-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(166, 217, 207, .24);
    border-radius: 9px;
    color: #a9d9cf;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
}

.access-feature-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.access-feature-copy strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-feature-copy small {
    margin-top: 4px;
    overflow: hidden;
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .access-login-page .access-brand-panel {
        min-height: 360px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 28px 36px 30px;
    }

    .access-login-page .access-brand-header {
        margin: 0;
    }

    .access-login-page .access-logo-frame {
        width: 220px;
        height: 138px;
    }

    .access-login-page .access-logo {
        width: 194px;
        height: 194px;
    }

    .access-login-page .access-brand-message {
        margin: 18px 0 0;
        text-align: center;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 32px;
    }

    .access-login-page .access-brand-description {
        margin-top: 12px;
    }

    .access-features {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-panel {
        min-height: 334px;
        padding: 22px 22px 26px;
    }

    .access-login-page .access-logo-frame {
        width: 150px;
        height: 90px;
    }

    .access-login-page .access-logo {
        width: 132px;
        height: 132px;
    }

    .access-login-page .access-brand-message {
        margin-top: 10px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 24px;
    }

    .access-login-page .access-brand-description {
        max-width: 310px;
        margin-top: 9px;
        font-size: 11px;
    }

    .access-features {
        gap: 3px 12px;
        margin-top: 12px;
    }

    .access-feature {
        gap: 7px;
        padding: 4px 0;
    }

    .access-feature-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        border-radius: 7px;
        font-size: 10px;
    }

    .access-feature-copy strong {
        font-size: 10px;
    }

    .access-feature-copy small {
        margin-top: 3px;
        font-size: 8px;
    }
}

/* Balanced presentation density */
@media (min-width: 981px) {
    .access-login-page .access-brand-panel {
        justify-content: center;
        padding: 24px 52px;
    }

    .access-login-page .access-brand-header {
        margin-top: 0;
    }

    .access-login-page .access-logo-frame {
        width: 218px;
        height: 122px;
    }

    .access-login-page .access-logo {
        width: 194px;
        height: 194px;
    }

    .access-login-page .access-brand-message {
        margin-top: 14px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 40px;
        line-height: 1.02;
    }

    .access-login-page .access-brand-description {
        max-width: 390px;
        margin-top: 10px;
        font-size: 12px;
    }

    .access-features {
        width: min(420px, 100%);
        gap: 6px 30px;
        margin-top: 15px;
    }

    .access-feature {
        gap: 9px;
        padding: 4px 0;
    }

    .access-feature-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        border-radius: 8px;
        font-size: 11px;
    }

    .access-feature-copy small {
        margin-top: 3px;
        font-size: 9px;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .access-login-page .access-brand-panel {
        min-height: 330px;
        padding-top: 24px;
        padding-bottom: 26px;
    }

    .access-login-page .access-logo-frame {
        width: 184px;
        height: 108px;
    }

    .access-login-page .access-logo {
        width: 164px;
        height: 164px;
    }

    .access-login-page .access-brand-message {
        margin-top: 12px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 28px;
    }

    .access-login-page .access-brand-description,
    .access-features {
        margin-top: 10px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-panel {
        min-height: 292px;
        padding: 18px 22px 20px;
    }

    .access-login-page .access-logo-frame {
        width: 132px;
        height: 76px;
    }

    .access-login-page .access-logo {
        width: 116px;
        height: 116px;
    }

    .access-login-page .access-brand-message {
        margin-top: 7px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 21px;
        line-height: 1.02;
    }

    .access-login-page .access-brand-description {
        max-width: 295px;
        margin-top: 7px;
        font-size: 10px;
        line-height: 1.4;
    }

    .access-features {
        gap: 2px 14px;
        margin-top: 9px;
    }

    .access-feature {
        padding: 3px 0;
    }

    .access-feature-copy small {
        display: none;
    }
}

/* Focused product positioning */
.access-backdrop-orb {
    opacity: .48;
}

.access-login-page .access-brand-grid {
    opacity: .06;
}

.access-login-page .access-card {
    border: 0;
}

.access-brand-positioning,
.access-brand-benefit {
    position: relative;
    z-index: 1;
    text-align: center;
}

.access-brand-positioning {
    margin: 10px auto 0;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .025em;
}

.access-brand-benefit {
    max-width: 405px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    line-height: 1.55;
}

.access-login-page .access-input {
    border-color: #e2e8e8;
    background: #fafcfc;
}

.access-login-page .access-input:hover {
    border-color: #c8d5d5;
}

.access-login-page .access-input:focus {
    border-color: #4d8583;
    box-shadow: 0 0 0 3px rgba(47, 111, 112, .09);
    outline: none;
}

.access-login-page .access-primary-button {
    min-height: 58px;
    background: #2d6c6d;
    box-shadow: 0 14px 28px rgba(32, 91, 92, .22);
}

.access-login-page .access-primary-button::before {
    display: none;
}

.access-login-page .access-primary-button:hover:not(:disabled) {
    background: #245c5d;
    box-shadow: 0 17px 32px rgba(32, 91, 92, .27);
}

.access-login-page .access-form-security {
    color: #788c90;
    font-size: 11px;
}

@media (min-width: 981px) {
    .access-login-page .access-logo-frame {
        width: 200px;
        height: 112px;
    }

    .access-login-page .access-logo {
        width: 178px;
        height: 178px;
    }

    .access-login-page .access-brand-message {
        margin-top: 18px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 42px;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .access-login-page .access-brand-panel {
        min-height: 300px;
    }

    .access-login-page .access-logo-frame {
        width: 166px;
        height: 96px;
    }

    .access-login-page .access-logo {
        width: 148px;
        height: 148px;
    }

    .access-brand-positioning {
        margin-top: 7px;
        font-size: 11.5px;
    }

    .access-login-page .access-brand-message {
        margin-top: 12px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 30px;
    }

    .access-brand-benefit {
        max-width: 390px;
        margin-top: 12px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-panel {
        min-height: 260px;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .access-login-page .access-logo-frame {
        width: 120px;
        height: 68px;
    }

    .access-login-page .access-logo {
        width: 106px;
        height: 106px;
    }

    .access-brand-positioning {
        max-width: 270px;
        margin-top: 5px;
        font-size: 10px;
    }

    .access-login-page .access-brand-message {
        margin-top: 9px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 24px;
    }

    .access-brand-benefit {
        max-width: 300px;
        margin-top: 9px;
        font-size: 9.5px;
        line-height: 1.45;
    }
}

/* Brand benefit footer */
.access-brand-benefit-footer {
    position: absolute;
    z-index: 1;
    right: 52px;
    bottom: 24px;
    left: 52px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.access-brand-benefit-footer .access-brand-benefit {
    max-width: none;
    margin: 0 auto;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .access-brand-benefit-footer {
        right: 36px;
        bottom: 20px;
        left: 36px;
        padding-top: 11px;
    }
}

@media (max-width: 640px) {
    .access-brand-benefit-footer {
        right: 22px;
        bottom: 16px;
        left: 22px;
        padding-top: 9px;
    }

    .access-brand-benefit-footer .access-brand-benefit {
        max-width: none;
        margin: 0 auto;
        font-size: 8px;
        letter-spacing: -.01em;
    }
}

/* Topographic shield: a distinctive visual language for layered protection */
.access-login-page .access-brand-glow {
    top: 44%;
    right: -110px;
    width: 520px;
    height: 520px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(103, 187, 176, .14) 0%, rgba(103, 187, 176, .045) 45%, transparent 70%);
}

.access-login-page .access-brand-grid {
    inset: auto -135px auto auto;
    top: 50%;
    width: 620px;
    height: 720px;
    transform: translateY(-50%) rotate(4deg);
    border: 0;
    border-radius: 0;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='720' viewBox='0 0 620 720'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M310 34C374 76 451 99 532 112V304C532 468 444 592 310 674C176 592 88 468 88 304V112C169 99 246 76 310 34Z' stroke='%23bfe6de' stroke-width='2' opacity='.18'/%3E%3Cpath d='M310 91C365 126 431 145 498 156V304C498 443 425 549 310 623C195 549 122 443 122 304V156C189 145 255 126 310 91Z' stroke='%239fd4ca' stroke-width='42' opacity='.055'/%3E%3Cpath d='M310 91C365 126 431 145 498 156V304C498 443 425 549 310 623C195 549 122 443 122 304V156C189 145 255 126 310 91Z' stroke='%23b9e2da' stroke-width='1.3' opacity='.16'/%3E%3Cpath d='M310 148C355 176 408 191 463 202V306C463 417 405 503 310 570C215 503 157 417 157 306V202C212 191 265 176 310 148Z' stroke='%238bc8bd' stroke-width='38' opacity='.045'/%3E%3Cpath d='M310 148C355 176 408 191 463 202V306C463 417 405 503 310 570C215 503 157 417 157 306V202C212 191 265 176 310 148Z' stroke='%23a9dbd2' stroke-width='1.2' opacity='.16'/%3E%3Cpath d='M310 207C344 229 384 242 426 250V310C426 392 383 457 310 515C237 457 194 392 194 310V250C236 242 276 229 310 207Z' stroke='%23c5ebe4' stroke-width='1.4' stroke-dasharray='5 12' opacity='.22'/%3E%3Cpath d='M275 347l24 24 48-57' stroke='%23c9eee7' stroke-width='2.2' opacity='.22'/%3E%3Cpath d='M111 246C177 241 221 216 266 183M354 183C399 216 443 241 509 246' stroke='%2397d1c6' stroke-width='1' stroke-dasharray='3 13' opacity='.18'/%3E%3Cg fill='%23c8ece5' opacity='.28'%3E%3Ccircle cx='310' cy='34' r='4'/%3E%3Ccircle cx='532' cy='112' r='3'/%3E%3Ccircle cx='88' cy='112' r='3'/%3E%3Ccircle cx='463' cy='202' r='3'/%3E%3Ccircle cx='157' cy='202' r='3'/%3E%3Ccircle cx='310' cy='570' r='3.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 22px 42px rgba(0, 14, 16, .12));
    -webkit-mask-image: none;
    mask-image: none;
}

@media (min-width: 641px) and (max-width: 980px) {
    .access-login-page .access-brand-glow {
        right: -120px;
        width: 440px;
        height: 440px;
    }

    .access-login-page .access-brand-grid {
        right: -170px;
        width: 520px;
        height: 604px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-glow {
        right: -155px;
        width: 360px;
        height: 360px;
    }

    .access-login-page .access-brand-grid {
        right: -210px;
        width: 420px;
        height: 488px;
    }
}

/* Constructed login brand panel */
.access-brand-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 54% center;
    filter: saturate(.78) contrast(1.05);
}

.access-login-page .access-brand-panel {
    isolation: isolate;
    padding: 0;
    background: #07383b;
}

.access-login-page .access-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 47, 49, .70) 0%, rgba(3, 52, 53, .76) 48%, rgba(2, 31, 34, .92) 100%),
        linear-gradient(90deg, rgba(2, 33, 35, .20), rgba(4, 69, 69, .12));
    pointer-events: none;
}

.access-brand-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 26px 28px 22px;
    color: #fff;
    font-family: "Product Sans", "Google Sans", "Segoe UI", Arial, sans-serif;
}

.access-brand-content > :not(.access-brand-glow):not(.access-brand-grid) {
    position: relative;
    z-index: 1;
}

.access-brand-content .access-brand-glow {
    z-index: 0;
    opacity: .48;
}

.access-brand-content .access-brand-grid {
    z-index: 0;
    right: -275px;
    width: 510px;
    height: 592px;
    opacity: .72;
}

.access-login-page .access-brand-header {
    min-height: 0;
    justify-content: center;
    margin: 0;
}

.access-login-page .access-logo-frame {
    width: 158px;
    height: 86px;
    border: 0;
    border-radius: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .13), transparent 70%);
    box-shadow: none;
}

.access-login-page .access-logo {
    width: 146px;
    height: 146px;
    filter: brightness(1.7) saturate(.72) drop-shadow(0 8px 16px rgba(0, 0, 0, .24));
}

.access-brand-hero-copy {
    align-self: center;
    padding: 10px 0 14px;
    text-align: center;
}

.access-login-page .access-brand-message {
    margin: 0;
    text-align: center;
}

.access-login-page .access-brand-message h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.15vw, 42px);
    font-weight: 720;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}

.access-login-page .access-brand-message h2 strong {
    color: #c8f2e9;
    font-weight: 720;
}

.access-login-page .access-brand-positioning {
    margin: 13px auto 0;
    color: rgba(255, 255, 255, .90);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .30);
}

.access-brand-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(207, 245, 237, .48);
    list-style: none;
}

.access-brand-feature {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-brand-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(210, 247, 239, .78);
    border-radius: 50%;
    color: #d4f8f0;
    background: rgba(3, 42, 44, .30);
    font-size: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.access-brand-feature-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.access-brand-feature-copy strong,
.access-brand-feature-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-brand-feature-copy strong {
    color: #fff;
    font-size: 11px;
    font-weight: 750;
}

.access-brand-feature-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .82);
    font-size: 9.5px;
}

@media (max-width: 980px) {
    .access-login-page .access-brand-panel {
        min-height: 300px;
    }

    .access-brand-content {
        padding: 20px 26px 17px;
    }

    .access-brand-content .access-brand-grid {
        right: -210px;
        width: 430px;
        height: 500px;
    }

    .access-login-page .access-logo-frame {
        width: 126px;
        height: 66px;
    }

    .access-login-page .access-logo {
        width: 116px;
        height: 116px;
    }

    .access-brand-hero-copy {
        padding: 7px 0 10px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 28px;
    }

    .access-login-page .access-brand-positioning {
        margin-top: 8px;
        font-size: 10.5px;
    }

    .access-brand-features {
        gap: 10px;
        padding-top: 12px;
    }

    .access-brand-feature-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 12px;
    }

    .access-brand-feature-copy strong {
        font-size: 10px;
    }

    .access-brand-feature-copy small {
        font-size: 8.5px;
    }
}

@media (max-width: 640px) {
    .access-login-page .access-brand-panel {
        min-height: 292px;
        border-radius: 0 0 28px 28px;
    }

    .access-brand-photo {
        object-position: 53% center;
    }

    .access-brand-content {
        padding: 14px 18px 13px;
    }

    .access-brand-content .access-brand-grid {
        right: -205px;
        width: 360px;
        height: 418px;
    }

    .access-login-page .access-logo-frame {
        width: 102px;
        height: 52px;
    }

    .access-login-page .access-logo {
        width: 94px;
        height: 94px;
    }

    .access-brand-hero-copy {
        padding: 5px 0 8px;
    }

    .access-login-page .access-brand-message h2 {
        font-size: 22px;
        line-height: 1.03;
    }

    .access-login-page .access-brand-positioning {
        margin-top: 6px;
        font-size: 9.5px;
    }

    .access-brand-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 14px;
        padding-top: 8px;
    }

    .access-brand-feature {
        gap: 7px;
    }

    .access-brand-feature-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 10px;
    }

    .access-brand-feature-copy strong {
        font-size: 9.5px;
    }

    .access-brand-feature-copy small {
        margin-top: 2px;
        font-size: 8.5px;
    }
}

/* Refined company and branch selector */
body.access-context-page {
    min-height: 100vh;
    background-color: #eef6f4;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.025'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23noise)' opacity='.9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' viewBox='0 0 280 200'%3E%3Cg fill='none' stroke='%232f6f70' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='.08'%3E%3Cpath d='M42 30l19 7v15c0 14-8 24-19 30-11-6-19-16-19-30V37l19-7z'/%3E%3Cpath d='M34 52l6 6 11-13'/%3E%3Crect x='188' y='103' width='43' height='54' rx='6'/%3E%3Cpath d='M198 116h23M198 125h23M198 134h14M198 146l5 5 10-11'/%3E%3Cpath d='M112 121c10-15 31-15 41 0M132.5 121v25c0 7 9 7 9 0'/%3E%3Cpath d='M104 121h57M132.5 98v23'/%3E%3C/g%3E%3Cg fill='%232f6f70' opacity='.07'%3E%3Ccircle cx='86' cy='151' r='3'/%3E%3Ccircle cx='174' cy='49' r='3'/%3E%3Cpath d='M89 151h35M156 49h15' fill='none' stroke='%232f6f70' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 8% 92%, rgba(91, 151, 145, .07), transparent 29%),
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .72), transparent 34%),
        linear-gradient(145deg, #f4f8f7 0%, #eef6f4 52%, #eaf3f1 100%);
    background-position: center, center, center, center, center;
    background-size: 140px 140px, 280px 200px, auto, auto, auto;
}

.access-context-page .context-header {
    position: relative;
    z-index: 10;
    border-bottom-color: rgba(205, 220, 218, .82);
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 1px 0 rgba(33, 73, 74, .025);
    backdrop-filter: blur(14px);
}

.access-context-page .context-header-inner {
    width: min(1320px, calc(100% - 48px));
    min-height: 60px;
}

.access-context-page .context-brand {
    gap: 12px;
    color: #294b4c;
}

.access-context-page .context-brand img {
    width: 88px;
}

.access-context-page .context-user {
    gap: 18px;
}

.access-context-page .context-logout {
    border: 1px solid #ead4d1;
    background: #fff8f7;
    transition: border-color .16s ease, background .16s ease;
}

.access-context-page .context-logout:hover {
    border-color: #dbb8b3;
    color: #9b3f35;
    background: #fff1ef;
    text-decoration: none;
}

.access-context-page .context-main {
    width: min(1320px, calc(100% - 48px));
    padding: 40px 0 56px;
}

.access-context-page .context-intro {
    align-items: center;
    margin-bottom: 18px;
}

.context-intro-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.context-intro-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 111, 112, .14);
    border-radius: 16px;
    color: #2f6f70;
    background: linear-gradient(145deg, #fff 0%, #e8f3f1 100%);
    box-shadow: 0 10px 22px rgba(39, 83, 84, .08);
    font-size: 19px;
}

.access-context-page .context-intro .access-eyebrow {
    margin: 0 0 5px;
    color: #4c7777;
    font-size: 10px;
    letter-spacing: .14em;
}

.access-context-page .access-qa-badge {
    min-height: 34px;
    margin-bottom: 0;
    padding: 7px 14px;
    border: 1px solid #efd09d;
    color: #704811;
    background: #fff0d2;
    font-size: 13px;
    letter-spacing: .14em;
}

.access-context-page .context-intro h1 {
    color: #526d6f;
    font-size: clamp(29px, 3.4vw, 34px);
    letter-spacing: -.035em;
}

.access-context-page .context-intro p:not(.access-eyebrow) {
    max-width: 680px;
    margin-top: 6px;
    font-size: 14px;
}

.access-context-page .context-panel {
    border: 1px solid rgba(47, 111, 112, .28);
    border-top: 3px solid #2f6f70;
    border-radius: 24px;
    box-shadow:
        0 32px 74px rgba(31, 72, 73, .16),
        0 8px 22px rgba(31, 72, 73, .07);
}

.access-context-page .context-progress {
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid #e2ecea;
    background: #edf5f3;
}

.access-context-page .context-progress-step {
    gap: 12px;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #819293;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.access-context-page .context-progress-step + .context-progress-step {
    border-left-color: transparent;
}

.access-context-page .context-progress-step.is-active {
    border-color: #e1ebe9;
    color: #234f50;
    background: #fff;
    box-shadow: 0 7px 18px rgba(40, 82, 83, .07);
}

.access-context-page .context-progress-step.is-complete {
    color: #2f6f70;
}

.access-context-page .context-progress-step.is-active::after {
    display: none;
}

.access-context-page .context-step-number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-color: #cfdddb;
    color: #728687;
    font-size: 13px;
    font-weight: 700;
}

.access-context-page .context-step-number i {
    display: none;
    font-size: 12px;
}

.access-context-page .is-active .context-step-number,
.access-context-page .is-complete .context-step-number {
    border-color: #2f6f70;
    color: #fff;
    background: #2f6f70;
    box-shadow: 0 5px 12px rgba(47, 111, 112, .18);
}

.access-context-page .is-complete .context-step-number > span {
    display: none;
}

.access-context-page .is-complete .context-step-number i {
    display: inline-block;
}

.context-progress-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.access-context-page .context-progress-label {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.context-progress-copy small {
    overflow: hidden;
    color: #89999a;
    font-size: 11px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-context-page .context-step {
    padding: 26px 30px 30px;
}

.access-context-page .context-step[data-step="company"] {
    padding-bottom: 22px;
}

.access-context-page .context-step-header {
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 16px;
}

.access-context-page .context-step[data-step="branch"] .context-step-header {
    margin-bottom: 6px;
}

.context-step-heading {
    min-width: 0;
}

.access-context-page .context-branch-context {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.access-context-page .context-branch-context .context-selected-company {
    margin-top: 0;
}

.access-context-page .context-branch-context .context-search {
    flex: 0 1 auto;
}

.context-step-kicker {
    display: block;
    margin-bottom: 7px;
    color: #4f7c7c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.access-context-page .context-step-header h2 {
    color: #486d6f;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.access-context-page .context-step-header p {
    margin-top: 5px;
    font-size: 13px;
}

.access-context-page .context-search {
    width: min(290px, 100%);
    flex: 0 0 min(290px, 100%);
}

.access-context-page .context-search input {
    height: 46px;
    border-color: #d9e5e3;
    border-radius: 13px;
    background: #f9fbfb;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.access-context-page .context-search input:focus {
    border-color: #5a8888;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 111, 112, .09);
    outline: none;
}

.access-context-page .context-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.access-context-page .context-options[data-options="companies"] {
    width: 100%;
    max-width: 1044px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 336px));
}

.access-context-page .context-options[data-options="branches"] {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.access-context-page .context-options[data-options="companies"] .context-option {
    min-height: 104px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.access-context-page .context-options[data-options="companies"] .context-option:not(.is-selected) {
    border-color: #dce7e5;
    background: #fff;
    box-shadow: 0 3px 10px rgba(40, 80, 81, .035);
}

.access-context-page .context-options[data-options="companies"] .context-option:hover:not(.is-selected) {
    transform: translateY(-1px);
    border-color: #9abbb8;
    background: #f7fbfa;
    box-shadow: 0 8px 18px rgba(39, 80, 81, .08);
}

.access-context-page .context-options[data-options="companies"] .context-option-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
}

.access-context-page .context-options[data-options="companies"] .context-option-name {
    font-size: 16px;
}

.access-context-page .context-option {
    min-height: 84px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    justify-content: initial;
    gap: 12px;
    padding: 13px 14px;
    position: relative;
    overflow: hidden;
    border-color: #d9e6e4;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fbfdfd 100%);
    box-shadow: 0 4px 12px rgba(40, 80, 81, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.access-context-page .context-option::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #4c8583;
    opacity: 0;
    transform: scaleY(.45);
    transition: opacity .18s ease, transform .18s ease;
}

.access-context-page .context-option:hover {
    transform: translateY(-2px);
    border-color: #9abbb8;
    background: linear-gradient(135deg, #fff 0%, #f4faf9 100%);
    box-shadow: 0 12px 26px rgba(39, 80, 81, .10);
}

.access-context-page .context-option:hover::before {
    opacity: .78;
    transform: scaleY(.78);
}

.access-context-page .context-option:focus-visible {
    outline: none;
    border-color: #2f6f70;
    box-shadow: 0 0 0 4px rgba(47, 111, 112, .15);
}

.access-context-page .context-option.is-selected {
    border: 2px solid #2f6f70;
    background: linear-gradient(135deg, #f4faf8 0%, #eaf5f2 100%);
    box-shadow:
        0 0 0 3px rgba(47, 111, 112, .10),
        0 10px 24px rgba(47, 111, 112, .12);
}

.access-context-page .context-option.is-selected::before {
    top: 10px;
    bottom: 10px;
    width: 4px;
    opacity: 1;
    transform: scaleY(1);
}

.access-context-page .context-option-mark {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(47, 111, 112, .13);
    border-radius: 13px;
    color: #2f6f70;
    background: linear-gradient(145deg, #f3f9f8 0%, #e5f1ef 100%);
    font-size: 16px;
    transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.access-context-page .context-option:hover .context-option-mark {
    transform: translateY(-1px);
    box-shadow: 0 7px 15px rgba(47, 111, 112, .12);
}

.access-context-page .context-option.is-selected .context-option-mark {
    color: #fff;
    background: linear-gradient(145deg, #3f7f7e 0%, #2f6f70 100%);
}

.context-option-copy {
    min-width: 0;
}

.access-context-page .context-option-name {
    overflow: hidden;
    margin-bottom: 4px;
    color: #243f40;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-context-page .context-options[data-options="branches"] .context-option-name {
    margin-bottom: 0;
}

.access-context-page .context-options[data-options="branches"] .context-option {
    min-height: 88px;
}

.access-context-page .context-options[data-options="branches"] .context-option.is-selected {
    border-color: #2f6f73;
    background: #edf7f5;
    box-shadow:
        0 0 0 2px rgba(47, 111, 115, .09),
        0 8px 18px rgba(47, 111, 115, .11);
}

.access-context-page .context-option-meta {
    display: block;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.context-option-status {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5e1df;
    border-radius: 50%;
    color: transparent;
    background: #fff;
    font-size: 10px;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.context-option.is-selected .context-option-status {
    border-color: #2f6f70;
    color: #fff;
    background: #2f6f70;
    box-shadow: 0 4px 9px rgba(47, 111, 112, .18);
}

.access-context-page .context-selected-company {
    display: inline-grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    max-width: 100%;
    margin-top: 14px;
    padding: 9px 15px 9px 9px;
    border: 1px solid #cfe1de;
    border-radius: 14px;
    color: #315f60;
    background: linear-gradient(135deg, #f7fbfa 0%, #eaf5f2 100%);
    box-shadow: 0 6px 16px rgba(47, 111, 112, .07);
}

.context-selected-company-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: #3d7777;
    font-size: 14px;
}

.context-selected-company > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.context-selected-company small {
    color: #789091;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.context-selected-company strong {
    overflow: hidden;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-context-page .context-actions {
    margin: 0 0 18px;
    padding: 0 0 16px;
    border-top: 0;
    border-bottom: 1px solid #e2ebe9;
    background: transparent;
}

.access-context-page .context-actions.context-actions-enter {
    justify-content: flex-start;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

.access-context-page .context-actions .access-primary-button {
    min-width: 224px;
    min-height: 52px;
    border-color: #2f6f70;
    background: #2f6f70;
    box-shadow: 0 10px 22px rgba(47, 111, 112, .18);
    transition: transform .16s ease, border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.access-context-page .context-actions .access-primary-button:not(:disabled) {
    border-color: #2f6f73;
    color: #fff;
    background: #2f6f73;
    box-shadow: 0 10px 22px rgba(47, 111, 115, .22);
}

.access-context-page .context-actions .access-primary-button:hover:not(:disabled) {
    background: #275f60;
}

.access-context-page .context-actions .access-secondary-button {
    min-height: 48px;
    border-radius: 12px;
}

.context-action-arrow {
    margin-left: 9px;
    font-size: 11px;
}

.is-submitting .context-action-arrow {
    display: none;
}

.access-context-page .context-empty,
.access-context-page .context-loading,
.access-context-page .context-no-results {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 22px;
    border-color: #c9dcd9;
    border-radius: 16px;
    background: #f8fbfa;
}

.access-context-page .context-no-results[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .access-context-page .context-options {
        grid-template-columns: 1fr;
    }

    .access-context-page .context-options[data-options="companies"] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) and (min-width: 761px) {
    .access-context-page .context-options[data-options="branches"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .access-context-page .context-header-inner,
    .access-context-page .context-main {
        width: min(100% - 24px, 1320px);
    }

    .access-context-page .context-header-inner {
        min-height: 56px;
    }

    .access-context-page .context-brand img {
        width: 80px;
    }

    .access-context-page .context-main {
        padding: 26px 0 38px;
    }

    .access-context-page .context-intro {
        display: flex;
        align-items: flex-start;
    }

    .context-intro-copy {
        align-items: flex-start;
        gap: 12px;
    }

    .context-intro-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
        font-size: 16px;
    }

    .access-context-page .context-intro h1 {
        font-size: 27px;
        line-height: 1.05;
    }

    .access-context-page .context-intro p:not(.access-eyebrow) {
        font-size: 12px;
        line-height: 1.45;
    }

    .access-context-page .context-panel {
        border-radius: 19px;
    }

    .access-context-page .context-progress {
        gap: 5px;
        padding: 6px;
    }

    .access-context-page .context-progress-step {
        gap: 8px;
        padding: 10px;
        font-size: 12px;
    }

    .access-context-page .context-step-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .access-context-page .context-progress-label {
        display: block;
        font-size: 12px;
        font-weight: 600;
    }

    .context-progress-copy small {
        display: none;
    }

    .access-context-page .context-step {
        padding: 20px 16px 22px;
    }

    .access-context-page .context-step-header {
        display: block;
        margin-bottom: 18px;
    }

    .access-context-page .context-branch-context {
        align-items: flex-end;
        margin-top: 12px;
    }

    .access-context-page .context-step-header h2 {
        font-size: 20px;
    }

    .access-context-page .context-search {
        width: 100%;
        margin-top: 16px;
    }

    .access-context-page .context-option {
        min-height: 78px;
        grid-template-columns: 40px minmax(0, 1fr) 23px;
        gap: 11px;
        padding: 12px;
        border-radius: 14px;
    }

    .access-context-page .context-option-mark {
        width: 40px;
        height: 40px;
    }

    .access-context-page .context-options[data-options="companies"] .context-option {
        min-height: 104px;
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 16px;
    }

    .access-context-page .context-options[data-options="companies"] .context-option-mark {
        width: 44px;
        height: 44px;
    }

    .access-context-page .context-actions {
        margin: 0 0 16px;
        padding: 0 0 14px;
    }

    .access-context-page .context-actions.context-actions-enter {
        margin: 0 0 12px;
        padding: 0;
    }
}

/* Branch action placement */
.access-context-page .context-company-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.access-context-page .context-company-row .context-selected-company {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
}

.access-context-page .context-change-company-button {
    min-height: 48px;
    flex: 0 0 auto;
    padding-right: 14px;
    padding-left: 14px;
    white-space: nowrap;
}

.access-context-page .context-step[data-step="branch"] .context-actions-enter {
    justify-content: flex-end;
    margin: 22px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #e2ebe9;
    border-bottom: 0;
}

@media (max-width: 640px) {
    .access-context-page .context-company-row {
        gap: 8px;
    }

    .access-context-page .context-company-row .context-selected-company {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        padding: 7px 9px 7px 7px;
    }

    .access-context-page .context-company-row .context-selected-company-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 12px;
    }

    .access-context-page .context-change-company-button {
        min-height: 44px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .access-context-page .context-step[data-step="branch"] .context-actions-enter {
        margin-top: 18px;
        padding-top: 16px;
    }

    .access-context-page .context-step[data-step="branch"] .context-actions-enter .access-primary-button {
        width: 100%;
    }
}
