.eh-v2 {
    --eh-v2-ink: #0f172a;
    --eh-v2-muted: #475569;
    --eh-v2-navy: #0b1b3f;
    --eh-v2-blue: #1d4ed8;
    --eh-v2-blue-soft: #eff4ff;
    --eh-v2-surface: #f6f8fb;
    --eh-v2-border: #dbe2ec;
    --eh-v2-focus: #f59e0b;
    color: var(--eh-v2-ink);
    background: var(--eh-v2-surface);
}
.eh-v2 :focus-visible {
    outline: 3px solid var(--eh-v2-focus);
    outline-offset: 3px;
}
.eh-v2 .eh-title {
    margin-block: 0 22px;
    padding-block: 22px 10px;
    background: transparent;
    border: 0;
}
.eh-v2 .eh-title h1,
.eh-v2 .eh-v2-login-title {
    font-size: clamp(26px, 3vw, 37px);
    font-weight: 700;
    line-height: 1.27;
}
.eh-v2 .eh-main {
    padding-block-start: 0;
}
.eh-v2 .eh-main .table-responsive {
    max-inline-size: 100%;
}
.eh-v2 .card,
.eh-v2 .panel,
.eh-v2 .widget {
    border-color: var(--eh-v2-border);
    border-radius: 14px;
}
.eh-v2 .eh-v2-order {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    justify-content: center;
    min-block-size: 44px;
    white-space: nowrap;
}
.eh-v2 .eh-v2-cell-label {
    display: none;
}
.eh-v2 .eh-v2-login-brand {
    color: var(--eh-v2-muted);
    margin-block-end: 10px;
}
.eh-v2 .eh-v2-login-order {
    margin-block: 8px 14px;
}
.eh-v2 .eh-v2-login-order a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.eh-v2 .eh-v2-dashboard .cards {
    margin-block-end: 12px;
}
.eh-v2 .eh-v2-dashboard .card-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.eh-v2 .eh-v2-dashboard .card-label {
    overflow-wrap: anywhere;
}
.eh-v2 .eh-v2-domain-badge.badge-success {
    background: #e6f6f4;
    color: #0b5a54;
}
.eh-v2 .eh-v2-domain-badge.badge-danger {
    background: #fff0ed;
    color: #92230d;
}
.eh-v2 .eh-v2-domain-badge.badge-info {
    background: var(--eh-v2-blue-soft);
    color: #1e40af;
}
@media (max-width: 760px) {
    .eh-v2 .eh-title { margin-block-end: 12px; padding-block: 14px 4px; }
    .eh-v2 .eh-main .container-md,
    .eh-v2 .eh-header .container-md,
    .eh-v2 .eh-footer .container-md {
        min-inline-size: 0;
    }
    .eh-v2 table:is(#services,#invoices),
    .eh-v2 table:is(#services,#invoices) tbody {
        display: block;
    }
    .eh-v2 .eh-v2-manage-service {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-block-size: 44px;
        min-inline-size: 44px;
    }
    .eh-v2 table:is(#services,#invoices) thead {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .eh-v2 table:is(#services,#invoices) thead:focus-within {
        position: static;
        display: block;
        inline-size: auto;
        block-size: auto;
        clip-path: none;
    }
    .eh-v2 table:is(#services,#invoices) tr:is(.service_info,.invoice_applied) {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        padding: 12px;
        gap: 10px;
        border: 1px solid var(--eh-v2-border);
        border-radius: 12px;
        margin-block: 8px;
        background: #fff;
    }
    .eh-v2 table:is(#services,#invoices) tr:is(.service_info,.invoice_applied) td {
        display: block;
        min-inline-size: 0;
        padding: 0;
        overflow-wrap: anywhere;
        white-space: normal;
        border: 0;
    }
    .eh-v2 table:is(#services,#invoices) .eh-v2-cell-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--eh-v2-muted);
    }
    .eh-v2 table:is(#services,#invoices) tr:is(.service_info,.invoice_applied) td:nth-child(-n+2) {
        grid-column: 1 / -1;
        font-weight: 600;
    }
    .eh-v2 table:is(#services,#invoices) tr.expand_details td {
        max-inline-size: calc(100vw - 75px);
        overflow-wrap: anywhere;
    }
}
@media (prefers-reduced-motion: reduce) {
    .eh-v2 .eh-nav,
    .eh-v2 .btn {
        transition: none;
    }
}
.eh-v2 .eh-v2-service-summary {
    margin-block-end: 16px;
    padding: 18px 22px;
    background: var(--eh-v2-navy);
    color: #fff;
    border-radius: 14px;
    overflow-wrap: anywhere;
}
.eh-v2 .eh-v2-service-summary a { color: #dce9ff; text-decoration: underline; }
.eh-v2 .eh-v2-service-summary h2 { color: #fff; margin-block: 7px; }
.eh-v2 .eh-v2-service-summary p { color: #dce9ff; margin: 0; }
.eh-v2 .eh-v2-service-menu { min-inline-size: 0; }
.eh-v2 .eh-v2-service-tabs .list-group-item {
    min-block-size: 44px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
}
@media (max-width: 767px) {
    .eh-v2 .eh-v2-service-summary { padding: 14px 16px; }
    .eh-v2 .eh-v2-service-tabs {
        flex-flow: row wrap;
        gap: 6px;
        margin-block-end: 14px;
    }
    .eh-v2 .eh-v2-service-tabs .list-group-item {
        inline-size: auto;
        margin: 0;
        border: 1px solid var(--eh-v2-border);
        border-radius: 8px;
        padding: 7px 10px;
    }
}

.eh-v2-member {
    --eh-v2-gutter: clamp(16px, 3vw, 40px);
    --eh-v2-sidebar-size: 244px;
}
.eh-v2-member .eh-v2-frame {
    inline-size: min(100%, 1280px);
    min-inline-size: 0;
    margin-inline: auto;
    padding-inline: var(--eh-v2-gutter);
}
.eh-v2-member .eh-main { padding-block: 0 36px; }
.eh-v2-member .eh-title { margin-block: 0 20px; padding-block: 26px 0; }
.eh-v2-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 10px;
    list-style: none;
    margin: 0 0 7px;
    padding: 0;
    color: var(--eh-v2-muted);
    font-size: .875rem;
}
.eh-v2-crumb li { display: flex; align-items: center; gap: 10px; }
.eh-v2-crumb li + li::before {
    content: "";
    inline-size: 5px;
    block-size: 5px;
    border-block-start: 1px solid currentColor;
    border-inline-end: 1px solid currentColor;
    transform: rotate(45deg);
}
[dir="rtl"] .eh-v2-crumb li + li::before { transform: rotate(-45deg); }
.eh-v2-crumb a { display: inline-flex; align-items: center; min-block-size: 32px; text-decoration: underline; }
.eh-v2-bar { background: #fff; border-block-end: 1px solid var(--eh-v2-border); }
.eh-v2-bar-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-block-size: 68px;
}
.eh-v2-bar-label { color: var(--eh-v2-muted); font-weight: 600; }
.eh-v2-bar-actions { display: flex; align-items: center; gap: 8px; }
.eh-v2 .eh-v2-order { background: var(--eh-v2-blue); color: #fff; border-color: var(--eh-v2-blue); }
.eh-v2 .eh-v2-order:hover { background: #1e40af; color: #fff; }
.eh-v2-sidebar, .eh-v2-bar-logo { display: none; }
.eh-v2 .eh-v2-nav-list { list-style: none; display: grid; gap: 4px; padding: 0; margin: 0; }
.eh-v2 .eh-v2-nav-list a, .eh-v2 .eh-v2-account-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-block-size: 44px;
    padding: 7px 12px;
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
}
.eh-v2 .eh-v2-drawer summary, .eh-v2 .eh-v2-account-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 7px;
    min-block-size: 44px;
    min-inline-size: 44px;
    padding-inline: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.eh-v2-drawer summary::-webkit-details-marker, .eh-v2-account-menu summary::-webkit-details-marker { display: none; }
.eh-v2 .eh-v2-drawer summary:hover, .eh-v2 .eh-v2-account-menu summary:hover { background: var(--eh-v2-blue-soft); }
.eh-v2-account-menu { position: relative; }
.eh-v2-drawer nav, .eh-v2-account-links {
    position: absolute;
    z-index: 45;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--eh-v2-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px #0b1b3f26;
}
.eh-v2-account-links {
    inset-inline-end: 0;
    inset-block-start: calc(100% + 6px);
    inline-size: min(216px, calc(100vw - 32px));
}
.eh-v2 .eh-v2-account-links a { color: var(--eh-v2-ink); }
.eh-v2 .eh-v2-account-links a:hover { background: var(--eh-v2-blue-soft); }
.eh-v2-footer { border-block-start: 1px solid var(--eh-v2-border); color: var(--eh-v2-muted); }
.eh-v2-footer :is(.eh-v2-frame, .container-md) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
    min-block-size: 58px;
    font-size: .875rem;
}
.eh-v2-footer p { margin: 0; margin-inline-end: auto; }
.eh-v2-footer a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: underline; }
@media (min-width: 992px) {
    .eh-v2-member { padding-inline-start: var(--eh-v2-sidebar-size); }
    .eh-v2-sidebar {
        display: flex;
        flex-direction: column;
        gap: 26px;
        position: fixed;
        z-index: 31;
        inset-block: 0;
        inset-inline-start: 0;
        inline-size: var(--eh-v2-sidebar-size);
        overflow: auto;
        background: var(--eh-v2-navy);
        padding: 26px 17px;
    }
    .eh-v2-sidebar-logo { display: block; padding: 6px 11px; }
    .eh-v2-sidebar-logo img { max-inline-size: 100%; block-size: auto; }
    .eh-v2 .eh-v2-sidebar-label { color: #b8c4d9; font-size: .875rem; padding-inline: 12px; margin-block-end: 8px; }
    .eh-v2 .eh-v2-sidebar .eh-v2-nav-list a { color: #e2e8f0; }
    .eh-v2 .eh-v2-sidebar .eh-v2-nav-list a:hover { background: #162a50; color: #fff; }
    .eh-v2 .eh-v2-sidebar .eh-v2-nav-list a[aria-current] { background: #20406e; color: #fff; box-shadow: inset 0 0 0 1px #355681; }
    .eh-v2 .eh-v2-sidebar .eh-v2-nav-list [aria-current] i { color: #83e6d9; }
    .eh-v2-drawer { display: none; }
}
@media (max-width: 991px) {
    .eh-v2-member .eh-title { padding-block-start: 15px; }
    .eh-v2-bar-label { display: none; }
    .eh-v2-bar-logo { display: flex; align-items: center; min-block-size: 44px; min-inline-size: 0; margin-inline-end: auto; }
    .eh-v2-bar-logo img { inline-size: clamp(82px, 25vw, 137px); block-size: auto; }
    .eh-v2-bar-inner { gap: 5px; padding-inline: 10px; min-block-size: 60px; }
    .eh-v2-drawer nav { inset-block-start: calc(100% - 2px); inset-inline: 10px; }
    .eh-v2 .eh-v2-drawer .eh-v2-nav-list a { color: var(--eh-v2-ink); }
    .eh-v2 .eh-v2-drawer .eh-v2-nav-list a:hover, .eh-v2 .eh-v2-drawer .eh-v2-nav-list a[aria-current] { background: var(--eh-v2-blue-soft); color: #1e40af; }
    .eh-v2 .eh-v2-bar .eh-v2-order { font-size: .875rem; padding-inline: 8px; }
    .eh-v2-bar-actions { gap: 3px; }
    .eh-v2-account-links { inset-inline-end: -45px; }
}

.eh-v2 .eh-v2-public-header .eh-header__inner { gap: 6px 10px; min-block-size: 66px; }
.eh-v2 .eh-v2-public-header .eh-logo { margin-inline-end: auto; }
.eh-v2 .eh-v2-public-header .eh-logo img { inline-size: clamp(111px, 28vw, 163px); block-size: auto; }
.eh-v2-public-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.eh-v2 .eh-v2-website, .eh-v2 .eh-v2-language-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-block-size: 44px;
    padding-inline: 8px;
    border-radius: 8px;
    color: var(--eh-v2-blue);
    font-weight: 600;
    font-size: .875rem;
    white-space: nowrap;
}
.eh-v2 .eh-v2-website { border: 1px solid #b9c9e2; background: #fff; }
.eh-v2 .eh-v2-language-button { border: 0; background: transparent; }
.eh-v2 .eh-v2-website:hover, .eh-v2 .eh-v2-language-button:hover { background: var(--eh-v2-blue-soft); }
.eh-v2 .eh-v2-language { margin: 0; }
.eh-v2 .eh-v2-account-links .eh-v2-language-button { inline-size: 100%; justify-content: start; padding-inline: 12px; }
.eh-v2-staff { background: var(--eh-v2-blue-soft); padding-block: 8px; }

.eh-v2 #client_services .card-header:empty { display: none; }
.eh-v2 #client_services .nav-link { min-block-size: 44px; display: flex; align-items: center; gap: 5px; }
.eh-v2 #client_services .card-header button, .eh-v2 #client_services .card-header a { min-block-size: 44px; }
.eh-v2 .eh-v2-state {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 99px;
    background: #eef2f7;
    color: #334155;
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
}
.eh-v2 .eh-v2-state[data-status="active"] { background: #e6f6f4; color: #0b5a54; }
.eh-v2 .eh-v2-state[data-status="pending"] { background: #fff5e2; color: #694404; }
.eh-v2 .eh-v2-state[data-status="suspended"] { background: #fff0ed; color: #92230d; }
.eh-v2 #services .eh-v2-service-action .btn { min-block-size: 44px; display: inline-flex; align-items: center; gap: 6px; }
.eh-v2 #services .eh-v2-service-action .btn-group { flex-wrap: wrap; gap: 5px; }
.eh-v2 #services tr.eh-v2-row-open + tr.expand_details { display: table-row; }
@media (max-width: 760px) {
    .eh-v2 #client_services { background: transparent; border-color: transparent; }
    .eh-v2 #client_services :is(.card-body, .card-content) { padding-inline: 0; }
    .eh-v2 #client_services #services { margin: 0; }
    .eh-v2 #client_services #services .service_info {
        grid-template-columns: minmax(0,1fr) auto;
        align-items: start;
        padding: 14px;
    }
    .eh-v2 #client_services #services .service_info td { background: transparent; padding: 0; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-name {
        grid-column: 1;
        grid-row: 2;
        color: var(--eh-v2-muted);
        font-size: .875rem;
        font-weight: 400;
    }
    .eh-v2 #client_services #services .service_info .eh-v2-service-domain { grid-column: 1; grid-row: 1; font-weight: 700; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-state { grid-column: 2; grid-row: 1 / 3; justify-self: end; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-price { grid-row: 3; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-renews { grid-row: 3; grid-column: 2; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-added,
    .eh-v2 #client_services #services .service_info .eh-v2-service-disclosure { display: none; }
    .eh-v2 #client_services #services .service_info .eh-v2-service-action { grid-column: 1 / -1; }
    .eh-v2 #client_services #services .eh-v2-row-open + tr.expand_details { display: none; }
}

.eh-v2 .eh-v2-account-tabs { margin-block-end: 16px; min-inline-size: 0; }
.eh-v2 .eh-v2-account-tabs ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    overflow-x: auto;
    margin: 0;
    padding: 4px;
}
.eh-v2 .eh-v2-account-tabs a {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    padding-inline: 12px;
    border: 1px solid var(--eh-v2-border);
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    white-space: nowrap;
}
.eh-v2 .eh-v2-account-tabs a[aria-current] { background: var(--eh-v2-blue-soft); color: #1e40af; border-color: #9eb8f0; }
.eh-v2 :is(#eh-v2-password,#eh-v2-security) { scroll-margin-block: 14px; }

.eh-v2 .eh-v2-plans { margin-block: 12px 22px; }
.eh-v2 .eh-v2-plan-header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-end: 16px; }
.eh-v2 .eh-v2-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 239px),1fr)); gap: 14px; }
.eh-v2 .eh-v2-plan-card, .eh-v2 .eh-v2-payment-method {
    border: 1px solid var(--eh-v2-border);
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    min-inline-size: 0;
}
.eh-v2 .eh-v2-plan-card form { display: flex; flex-direction: column; align-items: start; block-size: 100%; gap: 8px; }
.eh-v2 .eh-v2-plan-card h3, .eh-v2 .eh-v2-price-card p { margin: 0; }
.eh-v2 .eh-v2-plan-card .btn { margin-block-start: auto; }
.eh-v2 .eh-v2-plan-card ul { padding-inline-start: 1.4em; }
.eh-v2 .eh-v2-plan-description { overflow-wrap: anywhere; }
.eh-v2 .eh-v2-price-card, .eh-v2 .eh-v2-order-summary {
    background: var(--eh-v2-blue-soft);
    border-radius: 12px;
    padding: 13px;
    inline-size: 100%;
    margin-block: 6px 10px;
}
.eh-v2 .eh-v2-order-summary { background: var(--eh-v2-navy); color: #fff; }
.eh-v2 .eh-v2-order-summary :is(h2,a) { color: #fff; }
.eh-v2 .eh-v2-order-summary a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: underline; }
.eh-v2 .eh-v2-price-facts { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-block: 7px 0; }
.eh-v2 .eh-v2-price-facts div { flex: 1 1 88px; }
.eh-v2 .eh-v2-price-facts dt { font-size: .875rem; font-weight: 500; }
.eh-v2 .eh-v2-price-facts dd { margin: 0; font-size: 1.06rem; font-weight: 700; white-space: nowrap; }
.eh-v2 .eh-v2-order-progress { margin-block: 0 17px; }
.eh-v2 .eh-v2-progress-compact { display: none; }
.eh-v2 .eh-v2-progress-steps {
    display: grid;
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.eh-v2 .eh-v2-progress-steps li {
    display: flex;
    align-items: center;
    gap: 6px;
    min-block-size: 44px;
    padding: 7px 9px;
    border: 1px solid var(--eh-v2-border);
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
}
.eh-v2 .eh-v2-progress-steps li[aria-current] { background: var(--eh-v2-blue-soft); color: #1e40af; border-color: #9eb8f0; }
.eh-v2 .eh-v2-progress-steps span { font-variant-numeric: tabular-nums; }
.eh-v2 .eh-v2-progress-compact progress { display: block; inline-size: 100%; block-size: 9px; accent-color: var(--eh-v2-blue); }
.eh-v2 .eh-v2-currency fieldset, .eh-v2 fieldset.eh-v2-currency {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0;
    border: 0;
}
.eh-v2 :is(.eh-v2-currency, .eh-v2-gateway-options) legend { font-size: .875rem; font-weight: 600; margin-block-end: 4px; }
.eh-v2 .eh-v2-currency button {
    min-block-size: 44px;
    min-inline-size: 44px;
    background: #fff;
    border: 1px solid var(--eh-v2-border);
    border-radius: 7px;
    padding-inline: 8px;
    color: var(--eh-v2-blue);
    font-weight: 700;
    cursor: pointer;
}
.eh-v2 .eh-v2-currency button[aria-current] { border-color: #9eb8f0; background: var(--eh-v2-blue-soft); color: #1e40af; }
.eh-v2 .eh-v2-whois { background: none; padding-block: 10px 0; }
.eh-v2 #domain-lookup-form .card-order { max-inline-size: 760px; margin-inline: auto; background: #fff !important; }
.eh-v2 #eh-v2-domain { min-block-size: 55px; font-size: 1.15rem; text-align: start; }
.eh-v2 #domain-lookup-form .eh-v2-tlds {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,85px),1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    text-align: start;
}
.eh-v2 .eh-v2-tlds .checkbox-inline {
    display: inline-grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 3px 6px;
    min-block-size: 46px;
    margin: 0;
    padding: 7px;
    border: 1px solid var(--eh-v2-border);
    border-radius: 8px;
    background: #fff;
}
.eh-v2 .eh-v2-tlds .checkbox-inline small { grid-column: 2; font-size: .76rem; color: var(--eh-v2-muted); }
.eh-v2 .eh-v2-tlds .checkbox-inline:has(input:checked) { background: var(--eh-v2-blue-soft); color: #1e40af; border-color: #9eb8f0; }
.eh-v2 #domain-lookup-form .search { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; }
.eh-v2 #domain-lookup-form .search .btn-group { display: flex; flex-flow: row wrap; gap: 8px; inline-size: min(100%,540px); }
.eh-v2 #domain-lookup-form .search .btn-group > .btn { flex: 1 0 min(100%,118px); min-block-size: 46px; margin: 0; border-radius: 8px; }
.eh-v2 .eh-v2-domain-skip { min-block-size: 44px; display: inline-flex; align-items: center; text-decoration: underline; }
.eh-v2 .eh-v2-gateway-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,175px),1fr)); gap: 8px; }
.eh-v2 .eh-v2-gateway-card {
    display: flex;
    align-items: start;
    gap: 8px;
    border: 1px solid var(--eh-v2-border);
    border-radius: 9px;
    background: #fff;
    padding: 12px;
    margin: 0;
    cursor: pointer;
}
.eh-v2 .eh-v2-gateway-card input { flex: none; margin-block-start: 6px; }
.eh-v2 .eh-v2-gateway-card:has(input:checked) { border-color: #9eb8f0; background: var(--eh-v2-blue-soft); }
.eh-v2 .eh-v2-gateway-card small { display: block; color: var(--eh-v2-muted); }
.eh-v2 .eh-v2-payment-details { margin-block: 20px 6px; }
.eh-v2 .eh-v2-payment-method { margin-block: 9px; }
.eh-v2 .eh-v2-payment-details dl { margin: 0; }
.eh-v2 .eh-v2-payment-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 8px; }
.eh-v2 .eh-v2-payment-field + .eh-v2-payment-field { border-block-start: 1px solid var(--eh-v2-border); }
.eh-v2 .eh-v2-payment-field > div { min-inline-size: 0; }
.eh-v2 .eh-v2-payment-field dd { overflow-wrap: anywhere; margin: 0; }
.eh-v2 .eh-v2-payment-field .btn { min-block-size: 44px; flex-shrink: 0; }
.eh-v2 [data-plan-price][hidden], .eh-v2 [data-copy-value][hidden] { display: none !important; }
.eh-v2 .eh-v2-copy-feedback { min-block-size: 1.5em; }
@media (max-width: 699px) {
    .eh-v2 .eh-v2-progress-steps { display: none; }
    .eh-v2 .eh-v2-progress-compact { display: block; }
    .eh-v2 .eh-v2-progress-compact label { display: block; margin-block-end: 5px; font-size: .875rem; font-weight: 700; }
    .eh-v2 .eh-v2-price-facts div { flex-basis: 72px; }
}

.eh-v2 #client_invoice .card-header:empty { display: none; }
.eh-v2 .eh-v2-invoice-view h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eh-v2 .eh-v2-invoice-view h4 { font-size: 1rem; }
.eh-v2 .eh-v2-payment-field { display: block; }
.eh-v2 .eh-v2-payment-field dt { color: var(--eh-v2-muted); font-size: .875rem; }
.eh-v2 .eh-v2-payment-field dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eh-v2 .eh-v2-payment-field dd bdi { min-inline-size: 0; }
.eh-v2 .eh-v2-login-card .panel { background: #fff; border: 1px solid var(--eh-v2-border); border-radius: 16px; }
.eh-v2 .eh-v2-login-card .panel-body { padding: clamp(17px, 4vw, 28px); }
.eh-v2 .eh-v2-login-card .eh-v2-login-title { font-size: clamp(26px,5vw,35px); margin-block-end: 18px; }
.eh-v2 .eh-v2-login-card input.form-control, .eh-v2 .eh-v2-login-card .btn { min-block-size: 46px; }
.eh-v2 .eh-v2-login-card .panel-footer a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: underline; }
.eh-v2 .eh-v2-dashboard-shortcuts { padding: 13px; margin-block: 0 12px; border: 1px solid var(--eh-v2-border); border-radius: 14px; background: #fff; }
.eh-v2 .eh-v2-dashboard-shortcuts h2 { font-size: 1rem; margin-block-end: 5px; }
.eh-v2 .eh-v2-dashboard-shortcuts .btn { min-block-size: 44px; }
.eh-v2 #client_ticket_reply :is(.btn, input[type=file]) { min-block-size: 44px; }
.eh-v2 :is(#client_tickets,#client_services,#client_invoices) .badge { color: #334155; background: #e6ebf3; }
.eh-v2 #client_tickets .badge-danger { color: #92230d; background: #fff0ed; }
.eh-v2 .badge-success { color: #0b5a54; background: #e6f6f4; }
.eh-v2 .badge-warning { color: #694404; background: #fff5e2; }
.eh-v2 .badge-info { color: #1e40af; background: #eff4ff; }
.eh-v2 #client_tickets .nav-link, .eh-v2 #domains :is(.btn,thead a) { min-block-size: 44px; }
.eh-v2 #domain-lookup-form .form-control::placeholder, .eh-v2 .eh-v2-login-card .form-control::placeholder { color: #52627a; opacity: 1; }
@media (max-width: 760px) {
    .eh-v2 [data-eh-card-table], .eh-v2 [data-eh-card-table] tbody { display: block; }
    .eh-v2 [data-eh-card-table] thead:not(:focus-within) {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .eh-v2 [data-eh-card-table] tbody tr:not(.expand_details) {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
        padding: 12px;
        margin-block: 6px;
        background: #fff;
        border: 1px solid var(--eh-v2-border);
        border-radius: 12px;
    }
    .eh-v2 [data-eh-card-table] tbody tr:not(.expand_details) td { min-inline-size: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; background: #fff; }
    .eh-v2 [data-eh-card-table] tbody tr:not(.expand_details) :is(td:first-child,td:last-child) { grid-column: 1 / -1; }
    .eh-v2 [data-eh-card-table] .eh-v2-cell-label { display: block; color: var(--eh-v2-muted); font-size: .875rem; }
    .eh-v2 #domains .expand td:last-of-type::after { content: none; }
}
.eh-v2 .eh-v2-cart-actions { display: flex; justify-content: flex-start; margin-block: 10px; }
.eh-v2 .eh-v2-cart-actions .btn { min-block-size: 44px; }
.eh-v2 .eh-v2-order-auth :is(.card,.panel) { background: #fff; border: 1px solid var(--eh-v2-border); border-radius: 14px; }
.eh-v2 #client_services > .card-header, .eh-v2 #client_invoice > .card-header { display: none; }
.eh-v2 .eh-v2-order-summary h2 { font-size: 1.2rem; margin-block-end: 6px; }
.eh-v2 .eh-v2-order-summary p { margin-block-end: 4px; }
.eh-v2 .eh-v2-domain-currency { margin-block-end: 8px; }
.eh-v2 .eh-v2-page-new_order .section-title h2 { font-size: 1.35rem; }
.eh-v2 #invoices .text-danger { color: #982c1d !important; }
.eh-v2 .eh-v2-service-detail .badge { background: #eff4ff; color: #1e40af; }
.eh-v2 .eh-main .help-block { color: var(--eh-v2-muted); }
.eh-v2 .eh-v2-page-new_order label > a, .eh-v2.eh-v2-page-new_order .eh-main label a { text-decoration: underline; }
.eh-v2.eh-v2-page-domains .card-nav a { display: inline-flex; align-items: center; min-block-size: 44px; }
.eh-v2 .toastui-editor-mode-switch .tab-item { color: #334155; }
.eh-v2 .toastui-editor-defaultUI { max-inline-size: 100%; min-inline-size: 0; }
.eh-v2 .toastui-editor-mode-switch, .eh-v2 .toastui-editor-toolbar { max-inline-size: 100%; }
.eh-v2.eh-v2-page-new_order .eh-main a[href*="/legal/"]:not(.btn) { text-decoration: underline; }

@media (max-width: 699px) {
    .eh-v2.eh-v2-page-new_order .eh-title { margin-block-end: 8px; padding-block: 13px 0; }
    .eh-v2.eh-v2-page-new_order .eh-v2-progress-compact { margin-block-end: 0; }
    .eh-v2.eh-v2-page-new_order .eh-v2-order-summary { padding: 12px; }
    .eh-v2.eh-v2-page-new_order .section-title h2 { font-size: 1.2rem; margin-block: 0 3px; }
    .eh-v2.eh-v2-page-new_order .section-title p { margin-block: 0 6px; }
    .eh-v2.eh-v2-page-new_order .eh-v2-domain-currency { margin-block: 2px; }
    .eh-v2 #domain-lookup-form .card-order { padding: 12px !important; }
}
.eh-v2 #client_services .card-nav li > a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    min-inline-size: 28px;
}
.eh-v2:is(.eh-v2-page-services,.eh-v2-page-domains) .eh-main .eh-v2-service-detail .badge {
    color: #1e40af !important;
    background: #eff4ff !important;
}
/* The attachment widget inserts a hidden file input directly under body. Keep its box in the viewport in RTL. */
html[dir="rtl"] body.eh-v2-page-support > input.dz-hidden-input {
    position: fixed !important;
    inset-inline: 0 auto !important;
    inset-block: 0 auto !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    clip-path: inset(50%);
}

.eh-v2 .eh-v2-plan-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.eh-v2 .eh-v2-plan-amount strong { font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.2; }
.eh-v2 .eh-v2-plan-amount span, .eh-v2 .eh-v2-plan-renewal, .eh-v2 .eh-v2-plan-first { color: var(--eh-v2-muted); font-size: .875rem; }
.eh-v2 .eh-v2-plan-renewal, .eh-v2 .eh-v2-plan-first { margin-block-start: 5px; }

.eh-v2 .eh-v2-gateway-options { min-inline-size: 0; inline-size: 100%; }
.eh-v2 .eh-v2-gateway-options legend { inline-size: auto; max-inline-size: 100%; padding-inline: 0; }

/* Order line descriptions (cart, confirmation) wrap on phones instead of widening the table. */
@media (max-width: 760px) {
    .eh-v2 .card-order .table td:first-child { white-space: normal; overflow-wrap: anywhere; }
}

/* Dashboard summary cards: portal palette instead of the admin card colours (contrast). */
.eh-v2 .eh-v2-summary-card { background: #fff; color: var(--eh-v2-ink); border: 1px solid var(--eh-v2-border); }
.eh-v2 .eh-v2-summary-card .card-label { color: var(--eh-v2-muted); }
.eh-v2 .eh-v2-card-link { display: block; color: inherit; text-decoration: none; border-radius: 14px; }
.eh-v2 .eh-v2-card-link:hover .eh-v2-summary-card { border-color: var(--eh-v2-blue); }
.eh-v2 .eh-v2-card-link:hover .card-label { text-decoration: underline; }

/* Contrast: stock Bootstrap warning/info buttons put white text on #ffc107 / #17a2b8. */
.eh-v2 .btn-warning, .eh-v2 .btn-warning:hover, .eh-v2 .btn-warning:focus { color: var(--eh-v2-ink) !important; }
.eh-v2 .btn-info, .eh-v2 .btn-info:hover, .eh-v2 .btn-info:focus { background-color: #0e7490 !important; border-color: #0e7490 !important; color: #fff !important; }
.eh-v2 .eh-v2-not-found { color: var(--eh-v2-muted); }

/* Widget filter links (domains, services): touch targets of at least 44px. */
.eh-v2 .card-links a { display: inline-flex; align-items: center; gap: 4px; min-block-size: 44px; }
@media (max-width: 767px) {
    .eh-v2 .eh-v2-dashboard .cards [class*="col-md-"] { flex: 0 0 50%; max-inline-size: 50%; }
}

/* Empty cart: a status card with one way forward, no checkout or sign-in panel. */
.eh-v2 .eh-v2-cart-empty { padding: 20px; margin-block: 12px; background: #fff; border: 1px solid var(--eh-v2-border); border-radius: 14px; }
.eh-v2 .eh-v2-cart-empty p { margin-block-end: 12px; }

/* Stock support ticket thread (Blesta forces the plugin's views/default): Reply is the primary action, Close is
   secondary and outlined (it asks for confirmation in portal-v2.js). */
/* !important: the base theme's .btn-light / .btn-danger rules use it. */
.eh-v2 form[action*="/client_tickets/reply/"] button[type="submit"][value="reply"] {
    background-color: var(--eh-v2-blue) !important; border-color: var(--eh-v2-blue) !important; color: #fff !important;
}
.eh-v2 form[action*="/client_tickets/reply/"] button[type="submit"][value="close"] {
    background-color: #fff !important; border-color: #b42318 !important; color: #b42318 !important;
}
.eh-v2 form[action*="/client_tickets/reply/"] button[type="submit"][value="close"]:hover,
.eh-v2 form[action*="/client_tickets/reply/"] button[type="submit"][value="close"]:focus-visible {
    background-color: #fef3f2 !important;
}

/* Disabled pagination links (First/Prev on page 1): stock rgba(0,0,0,.5) is 3.94:1 on white; the portal muted
   colour is 7.6:1. */
.eh-v2 .pagination .page-item.disabled .page-link { color: var(--eh-v2-muted) !important; }
