:root {
    --red: #ef2029;
    --red-dark: #c81119;
    --black: #101114;
    --graphite: #17191e;
    --graphite-light: #22252b;
    --paper: #f5f2ec;
    --paper-dark: #eae5dd;
    --white: #ffffff;
    --muted: #8e929a;
    --line: rgba(16, 17, 20, 0.12);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--black);
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.startup-screen {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 30px;
    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(239, 32, 41, 0.24),
            transparent 36%
        ),
        var(--black);
    color: var(--white);
    text-align: center;
}

.startup-logo,
.brand-symbol {
    display: flex;
    align-items: stretch;
    gap: 3px;
}

.startup-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 50%;
    background: var(--red);
}

.startup-logo span,
.brand-symbol i {
    display: block;
    flex: 1;
    background: currentColor;
}

.startup-logo span:nth-child(2),
.startup-logo span:nth-child(5),
.brand-symbol i:nth-child(2),
.brand-symbol i:nth-child(4) {
    flex: 0.45;
}

.startup-screen strong {
    font-size: 23px;
    letter-spacing: -0.8px;
}

.startup-screen p {
    margin: 8px 0 0;
    color: #999da5;
    font-size: 12px;
}

.app {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(68px + var(--safe-top));
    padding:
        calc(10px + var(--safe-top))
        18px
        10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 17, 20, 0.96);
    backdrop-filter: blur(18px);
}

.brand,
.profile-chip {
    border: 0;
    background: transparent;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--white);
    text-align: left;
}

.brand-symbol {
    width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
}

.brand-copy,
.profile-copy {
    display: grid;
}

.brand-copy strong {
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.35px;
}

.brand-copy small {
    margin-top: 4px;
    color: #8f939a;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 52%;
    padding: 5px 6px 5px 5px;
    color: var(--white);
    text-align: left;
}

.profile-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: var(--graphite-light);
    font-size: 11px;
    font-weight: 900;
}

.profile-copy {
    overflow: hidden;
}

.profile-copy strong,
.profile-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-copy strong {
    font-size: 11px;
}

.profile-copy small {
    margin-top: 3px;
    color: #8f939a;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

main {
    overflow: hidden;
}

.view {
    min-height: calc(100vh - 68px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 52px 22px 35px;
    background: var(--black);
    color: var(--white);
}

.hero-pattern {
    position: absolute;
    top: -80px;
    right: -85px;
    width: 250px;
    height: 250px;
    border: 38px solid rgba(239, 32, 41, 0.14);
    border-radius: 50%;
}

.hero-pattern::before,
.hero-pattern::after {
    content: "";
    position: absolute;
    background: var(--red);
    opacity: 0.13;
}

.hero-pattern::before {
    top: 25px;
    right: 62px;
    width: 11px;
    height: 150px;
}

.hero-pattern::after {
    top: 45px;
    right: 88px;
    width: 4px;
    height: 130px;
}

.eyebrow {
    color: var(--red);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.hero h1 {
    position: relative;
    max-width: 620px;
    margin: 17px 0 18px;
    font-size: clamp(34px, 9vw, 55px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.hero h1 em {
    display: block;
    color: var(--red);
    font-style: normal;
}

.hero > p {
    position: relative;
    max-width: 580px;
    margin: 0;
    color: #a2a5ac;
    font-size: 12px;
    line-height: 1.7;
}

.primary-actions {
    position: relative;
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.main-button,
.secondary-button {
    min-height: 54px;
    border: 0;
    font-size: 11px;
    font-weight: 900;
}

.main-button {
    background: var(--red);
    color: var(--white);
}

.main-button:active {
    background: var(--red-dark);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--white);
}

.account-status {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
}

.account-status > span {
    color: var(--red);
    font-size: 10px;
}

.account-status strong {
    display: block;
    font-size: 10px;
}

.account-status p {
    margin: 5px 0 0;
    color: #999da5;
    font-size: 10px;
    line-height: 1.5;
}

.services-section {
    padding: 36px 18px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 19px;
}

.section-heading h2,
.about-card h2 {
    margin: 7px 0 0;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.section-number {
    color: rgba(16, 17, 20, 0.13);
    font-size: 38px;
    font-weight: 950;
    line-height: 1;
}

.service-grid {
    display: grid;
    gap: 10px;
}

.service-card {
    position: relative;
    display: grid;
    grid-template-columns: 45px 1fr 26px;
    gap: 13px;
    align-items: center;
    min-height: 116px;
    overflow: hidden;
    padding: 20px 17px;
    border: 0;
    background: var(--white);
    color: var(--black);
    text-align: left;
    box-shadow: 0 9px 30px rgba(16, 17, 20, 0.05);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--red);
}

.service-index {
    position: absolute;
    top: 10px;
    right: 12px;
    color: rgba(16, 17, 20, 0.08);
    font-size: 27px;
    font-weight: 950;
}

.service-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 20px;
    font-weight: 900;
}

.service-content {
    display: grid;
    position: relative;
}

.service-content strong {
    font-size: 16px;
    letter-spacing: -0.4px;
}

.service-content small {
    margin-top: 6px;
    color: #7d8087;
    font-size: 9px;
    line-height: 1.55;
}

.service-arrow {
    position: relative;
    font-size: 20px;
    font-weight: 300;
}

.service-card:active {
    transform: scale(0.99);
}

.about-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    margin: 0 18px 34px;
    padding: 24px 20px;
    background: var(--graphite);
    color: var(--white);
}

.about-mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    font-size: 24px;
    font-weight: 950;
}

.about-card p {
    margin: 12px 0 0;
    color: #9b9ea5;
    font-size: 10px;
    line-height: 1.65;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    padding:
        20px
        18px
        calc(20px + var(--safe-bottom));
    border-top: 1px solid var(--line);
    color: #97999e;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.service-view {
    padding:
        24px
        18px
        calc(30px + var(--safe-bottom));
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 26px;
}

.service-header h1 {
    margin: 6px 0 0;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -1px;
}

.back-button {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 20px;
}

.service-screen {
    animation: screen-in 0.25s ease-out;
}

@keyframes screen-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.service-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.service-intro h2 {
    margin: 6px 0 0;
    font-size: 24px;
}

.date-chip {
    display: grid;
    gap: 4px;
    padding: 9px 11px;
    background: var(--black);
    color: var(--white);
    text-align: right;
}

.date-chip span {
    color: #8f9299;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: 1px;
}

.date-chip strong {
    font-size: 10px;
}

.state-card {
    padding: 18px;
    background: var(--white);
    color: #777a81;
    font-size: 10px;
    line-height: 1.55;
}

.state-card-error {
    border-left: 4px solid var(--red);
    color: #a11920;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rate-card {
    position: relative;
    min-height: 132px;
    overflow: hidden;
    padding: 16px;
    background: var(--white);
    box-shadow: 0 7px 24px rgba(16, 17, 20, 0.045);
}

.rate-card-code {
    display: block;
    font-size: 19px;
    font-weight: 950;
}

.rate-card-name {
    display: block;
    min-height: 29px;
    margin-top: 3px;
    color: #898c92;
    font-size: 8px;
    line-height: 1.4;
}

.rate-card-value {
    display: block;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.rate-card-change {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 6px;
    background: #f1f1f1;
    font-size: 7px;
    font-weight: 900;
}

.rate-card-change.up {
    background: #e8f5ec;
    color: #17843c;
}

.rate-card-change.down {
    background: #fdebed;
    color: #c8202a;
}

.source-note {
    margin: 16px 0 0;
    color: #8c8f95;
    font-size: 8px;
    line-height: 1.5;
}

.converter-card,
.weather-search-card,
.converter-result,
.weather-result {
    padding: 20px;
    background: var(--white);
    box-shadow: 0 9px 30px rgba(16, 17, 20, 0.05);
}

.amount-field {
    display: flex;
    align-items: center;
    margin-top: 12px;
    border-bottom: 2px solid var(--black);
}

.amount-field input {
    min-width: 0;
    flex: 1;
    padding: 8px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--black);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.amount-field span {
    color: #777a81;
    font-size: 12px;
    font-weight: 900;
}

.currency-row {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    gap: 8px;
    align-items: end;
    margin: 20px 0;
}

.currency-select {
    display: grid;
    gap: 6px;
}

.currency-select span {
    color: #85888e;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.currency-select select {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
}

.swap-button {
    display: grid;
    width: 42px;
    height: 46px;
    place-items: center;
    border: 0;
    background: var(--black);
    color: var(--white);
    font-size: 18px;
}

.converter-card .main-button,
.modal-card .main-button {
    width: 100%;
}

.converter-result {
    margin-top: 12px;
    background: var(--black);
    color: var(--white);
}

.converter-result > strong {
    display: block;
    margin-top: 13px;
    color: var(--red);
    font-size: 33px;
    line-height: 1;
    letter-spacing: -1.3px;
}

.converter-result p {
    margin: 11px 0 0;
    color: #b1b4ba;
    font-size: 10px;
}

.converter-result small {
    display: block;
    margin-top: 13px;
    color: #777b83;
    font-size: 8px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.city-button {
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--black);
    font-size: 9px;
    font-weight: 800;
}

.city-button.active {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}

.city-search {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-top: 13px;
}

.city-search input {
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    outline: none;
    background: var(--paper);
    font-size: 10px;
}

.city-search button {
    min-width: 72px;
    border: 0;
    background: var(--black);
    color: var(--white);
    font-size: 9px;
    font-weight: 900;
}

.weather-result {
    margin-top: 12px;
    background: var(--black);
    color: var(--white);
}

.weather-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.weather-main h2 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1;
}

.weather-main p {
    margin: 8px 0 0;
    color: #9da0a7;
    font-size: 10px;
}

.temperature-block {
    display: grid;
    justify-items: end;
}

.temperature-block span {
    font-size: 29px;
}

.temperature-block strong {
    margin-top: 6px;
    color: var(--red);
    font-size: 33px;
    letter-spacing: -1.5px;
}

.weather-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.1);
}

.weather-metrics article {
    display: grid;
    gap: 6px;
    min-height: 70px;
    padding: 13px;
    background: var(--graphite);
}

.weather-metrics span {
    color: #7f838b;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: 1px;
}

.weather-metrics strong {
    font-size: 13px;
}

.sun-times {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #858991;
    font-size: 8px;
}

.sun-times strong {
    margin-left: 5px;
    color: var(--white);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    align-items: end;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(5px);
}

.modal-card {
    position: relative;
    z-index: 1;
    padding:
        30px
        22px
        calc(25px + var(--safe-bottom));
    background: var(--paper);
    animation: modal-in 0.22s ease-out;
}

@keyframes modal-in {
    from {
        transform: translateY(100%);
    }

    to {
        transform: none;
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 20px;
}

.modal-card h2 {
    margin: 12px 42px 0 0;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.modal-card p {
    margin: 14px 0 22px;
    color: #72757b;
    font-size: 11px;
    line-height: 1.65;
}

@media (min-width: 720px) {
    .hero,
    .services-section,
    .service-view {
        padding-left: max(28px, calc((100vw - 700px) / 2));
        padding-right: max(28px, calc((100vw - 700px) / 2));
    }

    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-card {
        grid-template-columns: 45px 1fr;
        align-content: center;
        min-height: 190px;
    }

    .service-arrow {
        position: absolute;
        right: 17px;
        bottom: 15px;
    }

    .about-card,
    .app-footer {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .rates-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .modal {
        place-items: center;
    }

    .modal-card {
        width: min(460px, calc(100vw - 40px));
    }
}

/* BUSINESS TOOLS */
.tool-card {
    color: var(--black);
    text-decoration: none;
}

.tool-card .service-icon {
    font-size: 15px;
}

.business-tools-section {
    padding-top: 0;
}



/* Жирность логотипа главной как в кабинете сотрудника и админке */

.topbar .brand-copy strong {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.35px;
}


/* Шапка главной: точная типографика кабинета сотрудника */

.topbar,
.topbar button,
.topbar .brand,
.topbar .brand-copy,
.topbar .brand-copy strong,
.topbar .brand-copy small,
.topbar .profile-chip,
.topbar .profile-copy,
.topbar .profile-copy strong,
.topbar .profile-copy small {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.topbar .brand-copy strong {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.35px;
    text-transform: none;
    font-synthesis: none;
}

.today-dashboard {
    padding: 28px 18px 8px;
    background: var(--paper);
}
.today-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.today-heading h2 {
    margin: 7px 0 5px;
    font-size: 29px;
    line-height: 1;
    letter-spacing: -1px;
}
.today-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    text-transform: capitalize;
}
.today-heading button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--black);
    font-size: 18px;
}
.today-loading,
.today-error {
    padding: 18px;
    background: rgba(255,255,255,.7);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}
.today-error { color: var(--red); }
.today-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.today-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    min-height: 126px;
    padding: 16px 13px;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16,17,20,.05);
}
.today-card-main {
    grid-column: 1 / -1;
    min-height: 112px;
    background: var(--black);
    color: var(--white);
}
.today-card > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 950;
}
.today-card div { min-width: 0; }
.today-card strong {
    display: block;
    font-size: 25px;
    line-height: 1;
}
.today-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}
.today-card-main small { color: #9a9da4; }
.today-card em {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    font-style: normal;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.today-card-main em { color: #b4b6bb; }
@media (min-width: 700px) {
    .today-dashboard { padding-top: 38px; }
    .today-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .today-card-main { grid-column: span 2; }
}

/* AUTH_REGISTRATION_V2_STAGE1 */
.account-access-card {
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(18, 19, 23, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(17, 18, 22, 0.06);
}

.account-access-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.account-access-heading h2 {
    margin: 7px 0 5px;
}

.account-access-heading p,
.account-access-description {
    margin: 0;
    color: #70737b;
    font-size: 13px;
    line-height: 1.6;
}

.account-access-description {
    margin-top: 18px;
}

.account-access-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #111216;
    color: #ffffff;
    font-size: 22px;
}

.account-access-button,
.link-code-result button {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    font-weight: 900;
    cursor: pointer;
}

.account-access-button {
    background: #ef2029;
    color: #ffffff;
}

.account-access-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.link-code-result {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(239, 32, 41, 0.22);
    border-radius: 16px;
    background: rgba(239, 32, 41, 0.05);
    text-align: center;
}

.link-code-result span,
.link-code-result small {
    display: block;
    color: #747780;
    font-size: 11px;
}

.link-code-result strong {
    display: block;
    margin: 10px 0;
    color: #17181c;
    font-size: clamp(26px, 7vw, 38px);
    letter-spacing: 0.12em;
}

.link-code-result button {
    margin-top: 14px;
    border: 1px solid rgba(18, 19, 23, 0.12);
    background: #ffffff;
    color: #17181c;
}

.account-access-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(239, 32, 41, 0.08);
    color: #b5121b;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .account-access-card {
        padding: 20px;
    }
}

/* WEB ACCESS IN CURRENT PROFILE */
.profile-modal-card {
    max-height: min(88vh, 760px);
    overflow-y: auto;
}

.web-access-panel {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9;
}

.web-access-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.web-access-heading > div {
    display: grid;
    gap: 6px;
}

.web-access-heading span:first-child {
    color: #ed1c24;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 2px;
}

.web-access-heading strong {
    font-size: 18px;
}

.web-access-indicator {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #a8a8a8;
}

.web-access-indicator.is-enabled {
    background: #168653;
}

.web-access-indicator.is-disabled {
    background: #ed1c24;
}

.web-access-email,
.web-access-message,
.web-access-step p {
    margin: 12px 0 0 !important;
}

.web-access-email {
    color: #151515 !important;
    font-weight: 800;
    word-break: break-word;
}

.web-access-message {
    margin-bottom: 16px !important;
}

.web-access-actions,
.web-access-step {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.web-access-actions .main-button,
.web-access-step .main-button {
    width: 100%;
}

.web-access-step {
    padding-top: 2px;
}

.web-access-step h3 {
    margin: 0;
    font-size: 18px;
}

.web-access-step label {
    margin-top: 3px;
    color: #151515;
    font-size: 11px;
    font-weight: 800;
}

.web-access-step input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #bfc0c3;
    border-radius: 0;
    padding: 0 13px;
    background: #fff;
    color: #101114;
    font-size: 16px;
}

.web-access-step input:focus {
    outline: 2px solid rgba(237, 28, 36, 0.22);
    border-color: #ed1c24;
}

.secondary-action,
.danger-action {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bfc0c3;
    background: transparent;
    color: #101114;
    font-size: 11px;
    font-weight: 900;
}

.danger-action {
    border-color: #ed1c24;
    color: #b81018;
}

.web-access-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #4f5258;
    font-size: 11px;
    line-height: 1.55;
}

.web-access-feedback.is-error {
    border-color: #ed1c24;
    color: #a30f16;
}

.web-access-feedback.is-success {
    border-color: #168653;
    color: #126a43;
}
