.customer-access--standalone {
    padding-block: clamp(32px, 5.8vw, 82px);
    background:
        radial-gradient(ellipse at 15% 5%, #eeebff, transparent 55%),
        radial-gradient(ellipse at 97% 86%, #edf9f7, transparent 46%),
        #f8f7fc;
}

.customer-access-wrap {
    display: grid;
    max-width: 1040px;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(14px, 2.4vw, 30px);
}

.customer-access-wrap--registration {
    max-width: 1100px;
    grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr);
}

.access-intro {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #342b62;
    border-radius: 22px;
    background: linear-gradient(150deg, #18143c 12%, #241b5a 65%, #134150 122%);
    color: #fff;
}

.access-intro::before,
.access-intro::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.access-intro::before {
    inset: 0 0 36%;
    background: radial-gradient(circle, #a6a4ed 1px, transparent 1.4px) 0 0 / 14px 14px;
    mask-image: linear-gradient(130deg, transparent 30%, #0006 82%);
    opacity: .55;
}

.access-intro::after {
    top: -114px;
    right: -98px;
    width: 244px;
    height: 244px;
    border: 1px solid #7775b3;
    border-radius: 50%;
    box-shadow: 0 0 0 20px #6869bd24, 0 0 0 44px #6869bd15;
}

.access-intro-symbol {
    display: inline-grid;
    width: 49px;
    height: 49px;
    align-self: flex-start;
    place-items: center;
    margin-bottom: 17px;
    border: 1px solid #73dfd0;
    border-radius: 13px;
    background: #8af1e1;
    color: #183e4d;
}

.access-intro-symbol .ui-icon { width: 25px; height: 25px; }

.access-intro h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(1.95rem, 4vw, 3.35rem);
    font-weight: 720;
    line-height: 1.03;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}

.access-intro p {
    max-width: 33ch;
    margin: 13px 0 0;
    color: #eeebfc;
    font-size: .98rem;
    line-height: 1.58;
}

.access-services {
    display: grid;
    align-content: start;
    margin: clamp(24px, 4vw, 40px) 0 0;
    padding: 0;
    border-top: 1px solid #b2a6df61;
    list-style: none;
}

.access-services li {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #b2a6df51;
    color: #f5f3fe;
    font-size: .86rem;
    font-weight: 570;
}

.access-services .ui-icon { width: 17px; height: 17px; color: #8bf2de; }

.access-panel {
    padding: clamp(19px, 3.3vw, 41px);
    border-color: #e6e0f1;
    border-radius: 22px;
    box-shadow: 0 12px 32px #2f21500d;
}

.customer-access-wrap .access-panel {
    display: grid;
    grid-area: auto;
    align-content: center;
}

.access-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    border: 1px solid #ebe6f5;
    border-radius: 12px;
    background: #f6f4fc;
}

.access-tabs a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #514862;
    font-size: .92rem;
    font-weight: 660;
    text-align: center;
    text-decoration: none;
}

.access-tabs a:hover { color: var(--accent-strong); }
.access-tabs a[aria-current="page"] {
    border-color: #d9cff0;
    background: #fff;
    color: var(--accent-strong);
    box-shadow: 0 2px 4px #3a296813;
}

.access-form { gap: 16px; }
.access-account-types,
.access-company {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.access-account-types legend,
.access-company legend {
    padding: 0;
    font-size: .89rem;
    font-weight: 680;
}

.access-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.access-form .access-type-option {
    display: grid;
    min-height: 51px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #e1daef;
    border-radius: 10px;
    background: #fff;
    color: #514862;
    cursor: pointer;
    font-size: .9rem;
}

.access-type-option .ui-icon { width: 17px; height: 17px; color: var(--accent-strong); }
.access-type-option:hover { border-color: #b7a6dc; }
.access-type-option:has(input:checked) {
    border-color: #b6a7e3;
    background: var(--tint);
    color: var(--accent-strong);
}

.access-type-option:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.access-form .access-type-option input {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--accent-strong);
    cursor: pointer;
}

.access-form .access-type-option input:focus { outline: none; }
.access-account-types .access-error { display: block; margin-top: 5px; }
.access-company { padding: 10px 13px 13px; border: 1px solid #e6dfee; border-radius: 10px; background: #faf8ff; }
.access-company legend { padding-inline: 4px; color: var(--accent-strong); }
.access-form:has(#register-individual:checked) .access-company { display: none; }

.access-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.access-field { display: grid; min-width: 0; align-content: start; gap: 5px; }
.access-field--full { grid-column: 1 / -1; }
.access-field label { font-size: .89rem; font-weight: 675; line-height: 1.25; }
.access-form .access-field :is(input, textarea) { min-height: 46px; border-radius: 9px; }
.access-field :is(input, textarea)[aria-invalid="true"] { border-color: #b33654; background: #fff8f9; }
.access-password { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.access-password-toggle {
    min-width: 3.6rem;
    padding: 5px 7px;
    border: 1px solid #e3dbef;
    border-radius: 9px;
    background: #f7f4fc;
    color: var(--accent-strong);
    font-size: .8rem;
    font-weight: 640;
}
.access-password-toggle:hover { border-color: #d5c8ec; background: #f0ebfc; }
.access-hint, .access-error { font-size: .81rem; line-height: 1.42; overflow-wrap: anywhere; }
.access-hint { color: var(--muted); }
.access-error { color: #862841; font-weight: 650; }
.access-privacy { margin: 0; color: #514862; font-size: .82rem; }
.access-submit { border-radius: 10px; }
.access-submit .ui-icon { width: 17px; height: 17px; }

.access-panel > .access-help {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #ede8f3;
    color: #514862;
    font-size: .84rem;
}

.access-help a { color: var(--accent-strong); text-underline-offset: .16em; }

@media (max-width: 790px) {
    .customer-access-wrap, .customer-access-wrap--registration { max-width: 620px; grid-template-columns: minmax(0, 1fr); }
    .access-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 13px; }
    .access-intro-symbol { grid-row: 1 / 3; margin: 0; }
    .access-intro h1 { max-width: none; }
    .access-intro p { max-width: none; margin: 0; }
    .access-services { display: none; }
}

@media (max-width: 480px) {
    .access-intro { padding: 19px; }
    .access-intro h1 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
    .access-intro p { font-size: .88rem; }
    .access-intro-symbol { width: 38px; height: 38px; border-radius: 10px; }
    .access-intro-symbol .ui-icon { width: 20px; height: 20px; }
    .access-fields { grid-template-columns: minmax(0, 1fr); }
    .access-tabs a { font-size: .85rem; }
}

@media (max-width: 340px) {
    .access-type-options { grid-template-columns: minmax(0, 1fr); }
}
