.regao {
    --regao-blue: #003882;
    --regao-accent: #0062ff;
    --regao-green: #22a06b;
    --regao-text: #1b2430;
    --regao-muted: #6b7280;
    --regao-line: #e2e8f0;
    --regao-bg: #f3f6fb;
}

body:has(#regao-app) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:has(#regao-app) #app {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body:has(#regao-app) .maincontent {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#regao-app {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: clip;
    background: var(--regao-bg);
}

#regao-app [data-role="auth-gate"][hidden],
#regao-app [data-role="wizard"][hidden] {
    display: none !important;
}

#regao-app.regao--authed > [data-role="auth-gate"] {
    display: none !important;
}

#regao-app.regao--guest > [data-role="wizard"] {
    display: none !important;
}

#regao-app.regao--authed:not(.is-ready) > [data-role="wizard"] {
    visibility: hidden;
}

.regao-busy {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(27, 36, 48, 0.45);
}

.regao-busy[hidden] {
    display: none !important;
}

.regao-busy__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    max-width: 420px;
    padding: 28px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.12);
}

.regao-busy__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--regao-accent);
    border-radius: 50%;
    animation: regao-spin 0.8s linear infinite;
}

.regao-busy__text {
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: var(--regao-text);
}

@keyframes regao-spin {
    to {
        transform: rotate(360deg);
    }
}

.regao-landing-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.regao-auth-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #9a9ea5;
}

.regao-auth-or::before,
.regao-auth-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.regao--flow {
    background: var(--regao-bg);
    padding: 24px 0 64px;
    flex: 1 1 auto;
}

.regao-crumb {
    font-size: 14px;
    color: var(--regao-muted);
    margin-bottom: 16px;
}

.regao-crumb a {
    color: var(--regao-accent);
    text-decoration: none;
}

.regao-crumb a:hover {
    text-decoration: underline;
}

.regao-crumb__sep {
    margin: 0 8px;
    color: #94a3b8;
}

.regao-pager {
    list-style: none;
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 0.78fr)
        minmax(0, 1.12fr)
        minmax(0, 1.08fr)
        minmax(0, 0.78fr)
        minmax(0, 1.02fr)
        max-content
        minmax(0, 0.82fr);
    gap: 4px;
    margin: 0 0 24px;
    padding: 10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
}

.regao-pager__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 6px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--regao-muted);
}

.regao-pager__item.is-current {
    background: #e8f1ff;
    color: var(--regao-accent);
}

.regao-pager__item.is-locked {
    cursor: default;
    opacity: 0.72;
}

.regao-pager__item.is-done.is-locked {
    opacity: 1;
}

.regao-pager__icon {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2f7;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.regao-pager__icon svg {
    width: 18px;
    height: 18px;
}

.regao-pager__check {
    display: none;
}

.regao-pager__item.is-current .regao-pager__icon {
    background: var(--regao-accent);
    color: #fff;
}

.regao-pager__item.is-done .regao-pager__icon {
    background: var(--regao-green);
    color: #fff;
}

.regao-pager__item.is-done .regao-pager__icon svg:not(.regao-pager__check) {
    display: none;
}

.regao-pager__item.is-done .regao-pager__check {
    display: block;
}

.regao-pager__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.regao-pager__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.regao-flow__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.regao-card {
    min-width: 0;
}

.regao-card__head {
    margin-bottom: 20px;
}

.regao-card__head .section-title,
.regao-card__head .section-text {
    margin-bottom: 8px;
}

.regao-card__head .section-text:last-child {
    margin-bottom: 0;
}

.regao-req {
    color: #000;
    cursor: help;
}

.regao .wa-form {
    float: none;
    width: 100%;
    max-width: 100%;
}

.regao .wa-form .wa-field,
.regao .wa-form .wa-value {
    max-width: 100%;
    min-width: 0;
}

.regao .wa-form .wa-field .wa-value p .field.wa-required span:after,
.regao .wa-form .wa-field.wa-required .wa-name:after {
    color: #000;
}

.regao div.im-colormask {
    display: block;
    position: relative;
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.regao div.im-colormask > input {
    width: 100% !important;
    max-width: 100%;
}

.regao-group {
    margin-bottom: 8px;
}

.regao-group[hidden],
.regao-field[hidden] {
    display: none !important;
}

.regao-group--card {
    background: #fff;
    border: 1px solid #d5dee8;
    border-radius: 16px;
    padding: 24px 24px 16px;
    margin: 0 0 16px;
}

/* Theme .form__subsection:last-child { border-bottom: none } otherwise clips the card edge. */
.regao .form__subsection.regao-group--card:not(.regao-group--bare),
.regao .form__subsection.regao-group--card:not(.regao-group--bare):last-child {
    border: 1px solid #d5dee8;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.regao-group--card:has(.regao-tax-grid) > .regao-group__title,
.regao-group--card:has(.regao-extras-grid) > .regao-group__title {
    margin-bottom: 0;
}

.regao-group--card:has(.regao-tax-grid) > .regao-group__title {
    scroll-margin-top: 24px;
}

.regao-group--card:has(.regao-tax-grid) > .regao-group__hint,
.regao-group--card:has(.regao-extras-grid) > .regao-group__hint {
    margin: 17px 0;
}

.regao-tax-ul {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
}

.regao-group__hint + .regao-extras-grid {
    margin-top: 0;
}

.regao-group--bare {
    border-color: transparent;
}

.regao .form__subsection.regao-group--card:has(.regao-extras-grid) {
    margin-bottom: 24px;
}

.regao-group.form__subsection.regao-group--bare {
    padding: 0 24px 12px;
    margin-bottom: 0;
}

.regao-group--bare .regao-field.form__group {
    margin-bottom: 6px;
}

.regao-group--bare .regao-field.form__group:last-child {
    margin-bottom: 0;
}

.regao-group__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.regao-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 24px;
}

.regao-group__head .regao-group__title {
    margin: 0;
}

.regao-group__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: var(--regao-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.regao-group__icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.regao-radio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 20px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
}

.regao-radio-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.regao-radio-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--regao-text);
}

.regao-radio-card__opts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.regao-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.2;
    color: #505258;
    white-space: nowrap;
}

.regao-radio input {
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    accent-color: var(--regao-accent);
}

.regao-radio-card__text {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--regao-muted);
}

.regao-field[data-type="radio"],
.regao-field[data-type="switch"] {
    display: flex;
    margin-bottom: 16px;
}

.regao-field[data-type="radio"] .wa-value,
.regao-field[data-type="switch"] .wa-value {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.regao .form-switch {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 20px 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.4s linear;
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-align: left;
    background: #fff;
    box-sizing: border-box;
}

.regao .form-switch--on {
    color: #0062ff;
    border-color: #0062ff;
}

.regao .form-switch.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.regao .form-switch__text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.regao .form-switch__switch {
    flex: 0 0 auto;
}

.regao .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.regao .switch__input {
    opacity: 0;
    width: 0;
    height: 0;
}

.regao .switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.regao .switch__slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: .4s;
}

.regao .switch__input:checked + .switch__slider {
    background-color: #0062ff;
}

.regao .switch__input:checked + .switch__slider:before {
    transform: translateX(20px);
}

.regao .switch__slider--round {
    border-radius: 16px;
}

.regao .switch__slider--round:before {
    border-radius: 50%;
}

.regao-switch-hint {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--regao-muted);
}

.regao .form-switch--inline {
    width: auto;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    justify-content: flex-start;
    gap: 12px;
    color: inherit;
}

.regao .form-switch--inline.form-switch--on {
    color: #0062ff;
    border-color: transparent;
}

.regao .form-switch--inline + .regao-switch-hint {
    margin-top: 8px;
}

.regao-quickfill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 30px;
    padding: 12px 18px;
    border: 1px solid #f0de9a;
    border-radius: 14px;
    background: #fff8d6;
}

.regao-quickfill__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.regao-quickfill__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
}

.regao-quickfill__dropdown {
    position: relative;
}

.regao-quickfill__list {
    position: absolute;
    z-index: 8;
    top: calc(100% + 4px);
    left: 0;
    width: max-content;
    min-width: 280px;
    max-width: min(90vw, 560px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #f0de9a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(46, 74, 101, 0.12);
}

.regao-quickfill__list[hidden] {
    display: none !important;
}

.regao-quickfill__list button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.regao-quickfill__list button:hover {
    background: #fff3c4;
    color: inherit;
}

.regao-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 30px;
}

.regao-choice__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    padding: 16px 18px;
    border: 1px solid #d7e3f4;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.regao-choice__item:hover {
    border-color: var(--regao-accent);
}

.regao-choice__item.is-active {
    border-color: var(--regao-accent);
    background: #eef4ff;
    box-shadow: 0 0 0 1px var(--regao-accent);
}

.regao-choice__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.regao-choice__text {
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-segment {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
}

[data-role="applicant-type"] {
    display: none !important;
}

.regao-segment__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d7e3f4;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    padding: 10px 16px;
    cursor: pointer;
}

.regao-segment__item svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.regao-segment__item:hover {
    border-color: var(--regao-accent);
}

.regao-segment__item.is-active {
    background: var(--regao-accent);
    border-color: var(--regao-accent);
    color: #fff;
}

.regao-tax-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.regao-field:has(.regao-tax-grid) {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.regao-pick {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 18px 18px 16px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.regao-pick[hidden] {
    display: none !important;
}

.regao-pick input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.regao-pick:hover {
    border-color: var(--regao-accent);
}

.regao-pick:has(input:checked) {
    border-color: var(--regao-accent);
    box-shadow: 0 0 0 1px var(--regao-accent);
}

.regao-pick__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--regao-text);
}

.regao-pick__text {
    font-size: 16px;
    line-height: 22px;
    color: var(--regao-muted);
}

.regao-auth-consents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 32px;
}

.regao-auth-consents[hidden],
.regao-auth-esia[hidden],
.regao-auth-mode[hidden],
[data-role="auth-phone-wrap"][hidden] {
    display: none !important;
}

.regao-auth-mode {
    color: var(--regao-accent);
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
}

.regao-auth-mode:hover {
    text-decoration: underline;
}

.regao-sign-method {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.regao-sign-method .regao-pick {
    min-height: 196px;
}

.regao-card .card__text.regao-courier-hint {
    margin: 16px 0 16px;
    color: #1b2430;
    font-weight: 700;
}

.regao-card .card__text.regao-courier-hint strong {
    font-weight: 700;
}

.regao-card .card__text.regao-courier-notice {
    margin: 8px 0 0;
    color: var(--regao-muted);
    font-weight: 400;
}

.regao-sms [data-role="sign-method-card"] {
    margin: 0 0 24px;
}

.regao-sms [data-role="sign-extras-host"] {
    margin: 0 0 24px;
}

.regao-sms [data-role="sign-extras-host"] .regao-group--card {
    margin-bottom: 0;
}

.regao-sms [data-role="sign-method-card"] .regao-group__title {
    margin-top: 0;
}

.regao-sms__row .btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.regao-quote {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.regao-quote__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e8eef5;
    font-size: 16px;
    line-height: 22px;
}

.regao-quote__row span:last-child {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.regao-quote__row--vat-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
}

.regao-quote__vat {
    color: var(--regao-muted);
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.regao-quote__row--total {
    border-bottom: 0;
    font-weight: 600;
    font-size: 18px;
    padding-top: 14px;
}

.regao-quote__row--incl-vat {
    border-bottom: 0;
    padding-top: 4px;
    color: var(--regao-muted);
    font-size: 14px;
    line-height: 20px;
}

.regao-quote__note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-pay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.regao-pay-actions[hidden] {
    display: none !important;
}

.regao-paid__text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 22px;
    color: var(--regao-text);
}

.regao-apps-link {
    margin: 30px 0 0;
}

.regao-apps-link a {
    color: var(--regao-accent);
}

.regao-apps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.regao-apps-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 8px;
}

.regao-apps__empty {
    margin: 0 !important;
    padding: 24px 0 32px;
}

.regao-card .regao-apps + .regao-actions {
    margin-top: 8px;
}

.regao-apps-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.regao-apps-tab {
    height: auto;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: var(--regao-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(46, 74, 101, 0.06);
}

.regao-apps-tab.is-active {
    background: #e8f1ff;
    color: var(--regao-accent);
    border-color: #c9ddff;
}

.regao-apps-toolbar [data-apps-cancelled-switch] {
    width: 100%;
}

.regao-apps-toolbar [data-apps-cancelled-switch][hidden] {
    display: none !important;
}

.regao-app-card {
    display: block;
    padding: 16px 18px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-sizing: border-box;
}

.regao-app-card:hover {
    border-color: var(--regao-accent);
}

.regao-app-card--cancelled,
.regao-app-card--rejected {
    opacity: 0.72;
    background: #f7f9fc;
}

.regao-app-card__num {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.regao-app-card__name {
    margin-top: 4px;
    font-size: 16px;
    line-height: 22px;
    color: var(--regao-text);
}

.regao-app-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-dialog__box--pay {
    max-width: 480px;
}

.regao-pay-dialog__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 22px;
}

.regao-pay-dialog__qr {
    display: flex;
    justify-content: center;
    margin: 16px 0 8px;
}

.regao-pay-dialog__qr svg {
    width: 196px;
    height: 196px;
}

.regao-pay-dialog__hint {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

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

.regao-extras-grid .regao-field {
    width: auto;
    padding: 0;
    margin: 0;
    display: block;
}

.regao-extra__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 100%;
    padding: 16px 18px 18px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
}

.regao-extra:has(.switch__input:checked) .regao-extra__card {
    border-color: var(--regao-accent);
    box-shadow: 0 0 0 1px var(--regao-accent);
}

.regao-extra__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.regao-extra__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--regao-text);
}

.regao .form-switch--compact {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}

.regao .form-switch--compact.form-switch--on {
    color: inherit;
    border: 0;
}

.regao-extra__text {
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-mgmt-toggle {
    margin: 0 0 24px;
}

.regao-mgmt-toggle .regao-field {
    width: auto;
    padding: 0;
    margin: 0;
}

.regao-mgmt-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 16px;
}

.regao-mgmt-tabs[hidden] {
    display: none !important;
}

.regao-mgmt-tab {
    height: auto;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: var(--regao-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(46, 74, 101, 0.06);
}

.regao-mgmt-tab.is-active {
    background: #e8f1ff;
    color: var(--regao-accent);
    border-color: #c9ddff;
}

.regao-board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 8px;
}

.regao-board-toolbar__label {
    font-size: 16px;
    font-weight: 600;
}

.regao-board-add {
    border: 0;
    background: transparent;
    color: var(--regao-accent);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}

.regao-board-add:hover {
    text-decoration: underline;
}

.regao-board-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}

.regao-board-row__num {
    flex: 0 0 28px;
    color: var(--regao-muted);
    font-size: 16px;
    font-weight: 600;
}

.regao-board-row .regao-field {
    flex: 1;
    width: auto;
    padding: 0;
    margin: 0;
}

.regao-board-row__del {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #9aa8b8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.regao-board-row__del svg {
    width: 20px;
    height: 20px;
    display: block;
}

.regao-board-row__del:hover {
    color: #c0392b;
}

.regao-field--quarter {
    width: 25%;
}

.regao-group__head .regao-field {
    width: auto;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.regao-group__head .regao-field--check label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 15px;
    line-height: 20px;
    color: #505258;
}

.regao-group--soft {
    background: #f5f7fb;
}

.regao-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #eef4ff;
    border-radius: 16px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 22px;
}

.regao-presets__label {
    font-size: 16px;
    line-height: 22px;
    color: var(--regao-text);
}

.regao-presets__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.regao-presets__btn {
    border: 1px solid #c9dbff;
    background: #fff;
    color: var(--regao-accent);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
    line-height: 22px;
}

.regao-presets__btn:hover {
    border-color: var(--regao-accent);
}

.regao-presets__btn.is-active {
    background: var(--regao-accent);
    border-color: var(--regao-accent);
    color: #fff;
}

.regao-field--panel {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    padding: 16px;
    margin: 0 8px 16px;
    width: calc(100% - 16px);
}

.regao-field__label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.regao-field__badge {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--regao-accent);
    white-space: nowrap;
}

.regao-field__badge--muted {
    color: var(--regao-muted);
}

.regao-share-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f5f9ff;
    border: 1px solid #c9dbff;
    border-radius: 12px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 22px;
}

.regao-share-method__check {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--regao-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.regao-share-method__check svg {
    width: 16px;
    height: 16px;
}

.regao-share-method__body {
    min-width: 0;
}

.regao-share-method__title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: var(--regao-text);
}

.regao-share-method__text {
    margin-top: 4px;
    color: var(--regao-muted);
    font-size: 16px;
    line-height: 22px;
}

.regao-share-method__sum {
    margin-left: auto;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
    color: var(--regao-text);
}

.regao-share-schedule {
    margin: 0 0 12px;
    font-weight: 500;
    color: var(--regao-text);
}

.regao .form-control[readonly],
.regao .form-control--readonly {
    background: #f3f5f8;
    color: #505258;
}

.regao .form-control[readonly]::-webkit-inner-spin-button,
.regao .form-control[readonly]::-webkit-outer-spin-button {
    display: none;
}

.regao .form__subsection {
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.regao-group__hint {
    margin: -8px 0 16px;
}

.regao-group .card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
}

.regao-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.regao-field {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

.regao-field--half {
    width: 50%;
}

.regao-field--third {
    width: 33.333%;
}

.regao-card .form-control,
.regao-card select.form-control,
.regao-card textarea.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    color: #505258;
}

.regao-card textarea.form-control {
    min-height: 96px;
}

.regao-date {
    position: relative;
}

.regao-date .form-control,
.regao-date .form-control--gray {
    padding-right: 44px;
}

.regao-date__btn {
    position: absolute;
    right: 4px;
    top: 0;
    bottom: 0;
    width: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505258' stroke-width='1.8'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M3.5 10h17'/%3E%3C/svg%3E");
    opacity: 0.55;
}

.regao-date__btn:hover,
.regao-date__btn:focus {
    opacity: 0.85;
}

.regao-date__native {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.regao-date__picker {
    display: block;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.regao-date__picker::-webkit-datetime-edit,
.regao-date__picker::-webkit-datetime-edit-fields-wrapper,
.regao-date__picker::-webkit-datetime-edit-text,
.regao-date__picker::-webkit-datetime-edit-month-field,
.regao-date__picker::-webkit-datetime-edit-day-field,
.regao-date__picker::-webkit-datetime-edit-year-field,
.regao-date__picker::-webkit-calendar-picker-indicator {
    display: none;
}

.regao-suggest {
    position: relative;
}

.regao-suggest__list {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--regao-line);
    border-radius: 12px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.12);
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.regao-suggest__item {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 14px;
    color: #1b2430;
    font-size: 15px;
    line-height: 20px;
    cursor: pointer;
}

.regao-suggest__item:hover,
.regao-suggest__item.is-active {
    background: #eef4ff;
    color: var(--regao-accent);
}

.regao-field-error {
    color: #c0392b;
    margin-top: 6px;
    min-height: 0;
}

.regao-field-error:empty {
    margin-top: 0;
}

.regao-upload-row .regao-field-error {
    margin-top: 0;
}

.regao-upload-row .regao-field-error:not(:empty) {
    margin-bottom: 8px;
}

.regao-field.is-invalid .form-control,
.regao-field.is-invalid .regao-dropzone,
.regao-field.is-invalid .regao-upload-row {
    border-color: #f5c6cb;
}

.regao-upload-row {
    display: block;
    padding: 16px 20px;
    border: 1px dashed #8fb4ff;
    border-radius: 12px;
    background: #f5f9ff;
    cursor: pointer;
}

.regao-upload-row.is-dragover {
    background: #e8f1ff;
    border-color: var(--regao-accent);
}

.regao-upload-row__title {
    font-weight: 700;
    color: #1b2430;
    margin-bottom: 4px;
}

.regao-upload-row .card__text {
    margin-top: 0;
}

.regao-upload-row__action {
    margin-top: 10px;
    color: #0062ff;
    font-size: 15px;
    line-height: 22px;
}

.regao-upload-row__file,
.regao-dropzone__file {
    margin-top: 8px;
}

.regao-upload-add {
    margin-top: 12px;
}

.regao-upload-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
}

.regao-upload-file__name {
    color: #0062ff;
    word-break: break-word;
}

.regao-upload-file__remove {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #9a9ea5;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.regao-upload-file__remove:hover {
    color: #c0392b;
}

.regao-input-icon {
    position: relative;
}

.regao .regao-input-icon .form-control,
.regao .regao-input-icon .form-control--gray,
.regao .regao-input-icon div.im-colormask {
    padding-left: 48px;
}

.regao-input-icon::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: center / 16px no-repeat;
    pointer-events: none;
    opacity: 0.55;
}

.regao-input-icon--email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505258' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 7 9-7'/%3E%3C/svg%3E");
}

.regao-input-icon--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505258' stroke-width='1.8'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a12 12 0 0 0 6 6l1.5-2 4 1.5v3A2 2 0 0 1 19 19.5 15 15 0 0 1 4.5 5a2 2 0 0 1 2-1.5z'/%3E%3C/svg%3E");
}

.regao-field--check label {
    color: #505258;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.regao-check-text {
    min-width: 0;
}

.regao-field--check input[type="checkbox"] {
    margin-top: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.regao input[type="checkbox"],
.regao input[type="radio"] {
    cursor: pointer;
}

.regao-field--check label a {
    color: var(--regao-accent);
}

/* Theme check.svg is blue-on-blue when checked; use a white tick. */
.regao input.form-check-input[type="checkbox"]:checked,
.regao input.form-check-input--gray-border[type="checkbox"]:checked {
    background-color: #0062FF;
    border-color: #0062FF;
    --bs-form-check-bg-image: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.0002 15.172L19.1922 5.979L20.6072 7.393L10.0002 18L3.63623 11.636L5.05023 10.222L10.0002 15.172Z' fill='white'/%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.regao-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    background: #f8fafc;
}

.regao-dropzone.is-dragover {
    background: #e8f1ff;
    border-color: var(--regao-accent);
}

.regao-dropzone__label {
    font-weight: 600;
    color: #505258;
}

.regao-dropzone__hint,
.regao-dropzone__file {
    margin-top: 6px;
    color: #9a9ea5;
}

.regao-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 12px;
}

.regao-alert {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.regao-alert.is-ok {
    background: #eaf8f0;
    border-color: #b7e4c7;
    color: #1e7a4a;
}

.regao-esia__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0d4cd3;
    border-color: #0d4cd3;
    box-shadow: none;
    line-height: 22px;
}

.regao-esia__btn img {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.regao-esia__btn:hover,
.regao-esia__btn:focus {
    background: #fff;
    color: #0d4cd3;
    border-color: #0d4cd3;
    opacity: 0.92;
}

.regao-esia__btn:focus-visible {
    outline: 2px solid #0d4cd3;
    outline-offset: 3px;
}

.regao-esia__btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.regao-esia__znak {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.regao-esia__znak[hidden] {
    display: none;
}

.regao-esia-result {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid var(--regao-line);
    border-radius: 8px;
    background: #f8fafc;
}

.regao-esia-result dt {
    color: #9a9ea5;
    margin-top: 8px;
}

.regao-esia-result dd {
    margin: 0;
    font-weight: 600;
    color: #505258;
}

.regao-screen--sign {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 0;
}

.regao-screen--sign [data-role="sign-method-card"] {
    margin-top: 24px;
}

.regao-review-scroll {
    flex: 1 1 auto;
    min-height: 12rem;
    max-height: calc(100vh - 26rem);
    max-height: calc(100dvh - 26rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 16px 12px 16px 16px;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    background: #f8fafc;
}

.regao-review {
    display: grid;
    gap: 16px;
    margin-bottom: 0;
}

.regao-sms {
    flex: 0 0 auto;
    margin-bottom: 24px;
}

.regao-request-num {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
    padding: 16px 20px;
    border: 1px solid #b7e4c7;
    border-radius: 14px;
    background: #eaf8f0;
    color: var(--regao-text);
}

.regao-request-num__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.regao-request-num__right {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.regao-request-num__value {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: .01em;
    white-space: nowrap;
}

.regao-request-num__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.regao-request-num__copy:hover {
    background: rgba(34, 160, 107, 0.12);
}

.regao-request-num__copy svg {
    width: 20px;
    height: 20px;
}

.regao-request-num__copy-done {
    display: none;
}

.regao-request-num__copy.is-copied .regao-request-num__copy-icon {
    display: none;
}

.regao-request-num__copy.is-copied .regao-request-num__copy-done {
    display: block;
}

.regao-sms__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--regao-text);
}

.regao-sms__hint {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-sms__row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 28rem;
}

.regao-sms__row .form-control,
.regao-sms__row .form-control--gray {
    flex: 1 1 auto;
    min-width: 0;
}

.regao-sms__row .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.regao-sms [data-role="sms-hint"]:empty {
    display: none;
}

.regao-review__group .card__title,
.regao-review__group h4 {
    margin: 0 0 8px;
}

.regao-review__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--regao-line);
}

.regao-review__row span:first-child {
    color: #9a9ea5;
    min-width: 40%;
    flex: 0 1 40%;
}

.regao-review__row span:last-child {
    text-align: right;
    min-width: 0;
    flex: 1 1 auto;
    word-break: break-word;
}

.regao-docs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.regao-docs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--regao-line);
}

.regao-docs li:last-child {
    border-bottom: 0;
}

.regao-docs__section,
.regao-docs li.regao-docs__section {
    display: block;
    justify-content: flex-start;
    padding: 20px 0 8px;
    margin: 0;
    border-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #003882;
}

.regao-docs li.regao-docs__section:first-child {
    padding-top: 0;
}

.regao-screen[data-screen="documents"] [data-role="docs-quote-card"],
.regao-screen[data-screen="documents"] [data-role="docs-paid-card"] {
    margin-top: 24px;
}

.regao-notice {
    margin: 20px 0 24px;
    padding: 16px 18px;
    border: 1px solid #f0de9a;
    border-radius: 14px;
    background: #fff8d6;
    font-size: 16px;
    line-height: 1.45;
    color: var(--regao-text);
}

.regao-notice p {
    margin: 0 0 10px;
}

.regao-notice p:last-child {
    margin-bottom: 0;
}

.regao-notice__actions {
    margin-top: 12px;
}

.regao-notice--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.regao-notice--split > p {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.regao-notice--split .regao-notice__actions {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
}

.regao-pay-note {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--regao-text);
    white-space: nowrap;
}

.regao-pay-note[data-role="quote-scans-hint"] {
    white-space: normal;
}

.regao-pay-note[hidden] {
    display: none !important;
}

.regao-pay-note__link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--regao-accent);
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.regao-pay-note__link:hover {
    text-decoration: underline;
}

.regao-docs a {
    color: var(--regao-accent);
}

.regao-docs__note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--regao-muted);
}

.regao-docs__note[hidden] {
    display: none !important;
}

.regao-pay-card {
    padding: 8px 0 20px;
}

.regao-pay-card__price {
    font-size: 36px;
    font-weight: 700;
    color: var(--regao-text);
}

.regao-pay-card__note {
    color: var(--regao-muted);
}

.regao-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #cfe0ff;
}

.regao-timeline li {
    position: relative;
    padding: 0 0 18px 20px;
    color: var(--regao-text);
}

.regao-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--regao-accent);
}

.regao-timeline__time {
    font-size: 12px;
    color: var(--regao-muted);
}

.regao-aside,
.regao-aside__pane {
    display: grid;
    gap: 20px;
}

.regao-aside [hidden],
.regao-aside__pane[hidden],
.regao-dev[hidden],
.regao-ticket[hidden],
.regao-founders-widget[hidden] {
    display: none !important;
}

.regao-user {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
    padding: 20px;
}

.regao-user__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.regao-user__row .card__title {
    margin: 0;
}

.regao-user__logout {
    display: block;
    color: var(--regao-accent);
    text-decoration: none;
}

.regao-user__logout + .regao-user__logout {
    margin-top: 6px;
}

.regao-user__logout:hover {
    text-decoration: underline;
}

.regao-ticket {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
    padding: 20px;
}

.regao-ticket .card__title {
    margin: 0 0 16px;
}

.regao-ticket__meta {
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
}

.regao-ticket__row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 8px;
    align-items: start;
}

.regao-ticket__row dt {
    margin: 0;
    color: #9a9ea5;
    font-size: 14px;
}

.regao-ticket__row dd {
    margin: 0;
    color: var(--regao-text);
    font-weight: 600;
    font-size: 14px;
}

.regao-ticket [data-role="ticket-cancel"] {
    width: 100%;
}

.regao-dev {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
    padding: 20px;
    border: 1px dashed #8fb4ff;
    order: 100;
}

.regao-dev .regao-dummy__kicker {
    margin-bottom: 16px;
}

.regao-dev__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.regao-dev__actions .btn {
    width: 100%;
    box-sizing: border-box;
}

.regao-dialog__box--admin {
    max-width: 720px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.regao-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
}

.regao-admin-actions .btn,
.regao-admin-block .btn {
    width: 100%;
    box-sizing: border-box;
}

.regao-admin-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
    padding: 14px 0 0;
    border-top: 1px solid #e6edf5;
}

.regao-admin-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--regao-text);
}

.regao-admin-hint,
.regao-admin-block .regao-dialog__text.regao-admin-hint {
    margin: 0;
    font-size: 13px;
}

.regao-admin-block .form-control {
    width: 100%;
    box-sizing: border-box;
}

.regao-admin-emails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.regao-admin-emails__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.regao-admin-emails .regao-admin-hint {
    margin: 0;
}

.regao-dummy {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
    padding: 20px;
    min-height: 120px;
}

.regao-dummy--banner {
    display: none !important;
}

.regao-dummy__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--regao-accent);
    margin-bottom: 8px;
}

.regao-dummy .card__title {
    margin-bottom: 8px;
}

.regao-dummy .card__text {
    margin-bottom: 0;
}

.regao-help .card__text .regao-help__phone,
.regao-help .card__text a {
    display: block;
}

.regao-help .card__text .regao-help__phone {
    margin-top: 10px;
    font-weight: 700;
}

.regao-help .card__text a {
    color: var(--regao-accent, #0062ff);
    text-decoration: none;
    white-space: nowrap;
}

.regao-help .card__text a:hover {
    text-decoration: underline;
}

.regao-sign-help {
    margin: 0 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.regao-sign-help summary {
    cursor: pointer;
    padding: 12px 16px 12px 36px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #003882;
    list-style: none;
    position: relative;
}

.regao-sign-help summary::-webkit-details-marker {
    display: none;
}

.regao-sign-help summary::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #003882;
    border-bottom: 2px solid #003882;
    transform: rotate(-45deg);
}

.regao-sign-help[open] summary::before {
    margin-top: -2px;
    transform: rotate(45deg);
}

.regao-sign-help__body {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #1b2430;
}

.regao-sign-help__body p,
.regao-sign-help__body ul {
    margin: 0 0 10px;
}

.regao-sign-help__body ul {
    padding-left: 18px;
}

.regao-sign-help__subtitle {
    font-weight: 700;
    color: #003882;
}

.regao-sign-help__warn {
    font-weight: 700;
}

.regao-sign-help img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.regao-wa-form .card__text,
.regao-card .card__text,
.regao-field .card__text {
    margin-top: 8px;
    margin-bottom: 0;
}

.regao-founders-widget {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.07);
    padding: 20px;
}

.regao-founders-widget__count {
    font-size: 16px;
    font-weight: 600;
    color: var(--regao-text);
    margin: 0 0 16px;
}

.regao-founders-widget__label {
    font-size: 14px;
    color: var(--regao-muted);
    margin: 0 0 8px;
}

.regao-founders-widget .regao-founders-balance__pct {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f1ff;
    color: var(--regao-accent);
    font-weight: 600;
    font-size: 14px;
}

.regao-founders-widget .regao-founders-balance__pct.is-warn {
    background: #fdecea;
    color: #c0392b;
}

.regao-founders-widget .regao-founders-balance__pct.is-ok {
    background: #eaf8f0;
    color: #1e7a4a;
}

.regao-founders-widget .regao-founders-balance__bar {
    height: 8px;
    margin: 12px 0 0;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.regao-founders-widget .regao-founders-balance__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--regao-accent);
    border-radius: 999px;
}

.regao-founders-widget .regao-founders-balance__warn {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fdecea;
    color: #c0392b;
    font-size: 14px;
    line-height: 20px;
}

.regao-founders-widget .regao-founders-equal {
    display: block;
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

.regao-founder-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 20px 24px 8px;
    margin: 0;
}

.regao-founder-card[hidden],
[data-role="founders-list"] .regao-founder-card:not(.is-active) {
    display: none !important;
}

.regao-founder-card__head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}

.regao-founder-card__num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--regao-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.regao-founder-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--regao-text);
    flex: 1;
    min-width: 0;
}

.regao-founder-card__name {
    display: none;
}

.regao-founder-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--regao-text);
}

.regao-founder-share input {
    width: 72px;
    text-align: center;
}

.regao-founder-share__sep {
    color: #c5cdd8;
}

.regao-founder-card__remove {
    border: 0;
    background: transparent;
    color: #9a9ea5;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 2px;
    margin-left: auto;
    flex: 0 0 auto;
}

.regao-founder-card__remove:hover {
    color: #c0392b;
}

.regao-founder-fill {
    margin: 0 0 16px;
    flex-wrap: wrap;
}

.regao-founder-fill .regao-quickfill__title {
    white-space: normal;
    flex: 1 1 240px;
    line-height: 1.35;
}

.regao-founder-card .regao-field[data-type="file"] {
    margin: 0 0 16px;
}

.regao-dialog {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.regao-dialog[hidden] {
    display: none !important;
}

.regao-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 36, 48, 0.45);
}

.regao-dialog__box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px 10px rgba(46, 74, 101, 0.12);
}

.regao-dialog__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--regao-text);
    margin: 0 0 20px;
}

.regao-dialog__box--esia {
    max-width: 480px;
}

.regao-dialog__text {
    margin: -8px 0 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
}

.regao-dialog__actions--col {
    flex-direction: column;
    align-items: stretch;
}

.regao-esia-mock-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow: auto;
    margin: 0 0 16px;
}

.regao-esia-mock-list[hidden] {
    display: none !important;
}

.regao-esia-mock-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    text-align: left;
    border: 1px solid #d5dee8;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    color: var(--regao-text);
    font: inherit;
    appearance: none;
    box-sizing: border-box;
}

.regao-esia-mock-item:hover {
    border-color: var(--regao-accent);
}

.regao-esia-mock-item__name {
    font-weight: 600;
    font-size: 15px;
}

.regao-esia-mock-item__meta {
    font-size: 13px;
    color: var(--regao-muted);
}

.regao-esia-mock-empty {
    font-size: 14px;
    color: var(--regao-muted);
    padding: 8px 0 4px;
}

.regao-dialog__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.regao-resume-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--regao-text);
    margin: -8px 0 6px;
}

.regao-resume-name {
    font-size: 14px;
    line-height: 20px;
    color: var(--regao-muted);
    margin: 0 0 20px;
}

.regao-founder-sub {
    width: 100%;
    padding: 0 8px 8px;
    box-sizing: border-box;
}

.regao-founder-sub__title {
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0 12px;
    color: var(--regao-text);
}

.regao-founders-add {
    margin: 0 0 16px;
}

.regao-founders-add .regao-notice__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.regao-founder-tabs {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 12px;
}

.regao-founder-tabs[hidden] {
    display: none !important;
}

.regao-founder-tabs__viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.regao-founder-tabs__viewport::-webkit-scrollbar {
    display: none;
}

.regao-founder-tabs__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--founder-tab-w, 25%);
    gap: 6px;
    width: max-content;
    min-width: 100%;
}

.regao-founder-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: var(--regao-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(46, 74, 101, 0.06);
}

.regao-founder-tab.is-active {
    background: #e8f1ff;
    color: var(--regao-accent);
    border-color: #c9ddff;
}

.regao-founder-tab__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    color: inherit;
}

.regao-founder-tab__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.regao-founder-tab__text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.regao-founder-tabs__arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 48px;
    border: 1px solid #d7e3f4;
    border-radius: 12px;
    background: #fff;
    color: var(--regao-accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.regao-founder-tabs__arrow svg {
    width: 20px;
    height: 20px;
}

.regao-founder-tabs__arrow:hover:not(:disabled) {
    background: #e8f1ff;
}

.regao-founder-tabs__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.regao-founder-tabs__arrow[hidden] {
    display: none !important;
}

@media (max-width: 1199px) {
    .regao-pager {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .regao-review-scroll {
        max-height: calc(100dvh - 30rem);
    }
}

@media (max-width: 991px) {
    .regao-flow__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .regao-notice--split {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .regao-notice--split .regao-notice__actions {
        margin-left: 0;
        width: 100%;
    }

    .regao-founders-add .regao-notice__actions {
        justify-content: flex-start;
    }

    .regao-admin-emails {
        grid-template-columns: 1fr;
    }

    .regao-sign-method {
        grid-template-columns: 1fr;
    }

    .regao-sign-method .regao-pick {
        min-height: 0;
    }

    .regao-request-num {
        flex-wrap: wrap;
    }

    .regao-sms__row {
        max-width: none;
    }

    .regao-radio-card__head {
        flex-wrap: wrap;
    }

    .regao-upload-row {
        flex-direction: column;
        align-items: stretch;
    }

    .regao-pager {
        display: flex;
        overflow-x: auto;
        grid-template-columns: none;
    }

    .regao-pager__item {
        flex: 0 0 168px;
    }

    .regao-pager__item[data-pager-id="sign"] {
        flex: 0 0 auto;
    }

    .regao-share-method {
        flex-wrap: wrap;
    }

    .regao-share-method__sum {
        margin-left: 0;
    }

    .regao-group__head {
        flex-direction: column;
        align-items: stretch;
    }

    .regao-choice {
        grid-template-columns: 1fr;
    }

    .regao-tax-grid,
    .regao-extras-grid {
        grid-template-columns: 1fr;
    }

    .regao-field--half,
    .regao-field--third,
    .regao-field--quarter {
        width: 100%;
    }

    .regao-founder-share {
        margin-left: 0;
        width: 100%;
    }
}
