/*
 * HyperCloudHost production design system
 * WHMCS target: 8.10.1 / Twenty-One child theme
 */

:root {
    --hch-primary: #0ea5e9;
    --hch-primary-hover: #0284c7;
    --hch-primary-soft: #e0f2fe;
    --hch-background: #f6f7fb;
    --hch-surface: #ffffff;
    --hch-surface-muted: #f8f9fc;
    --hch-surface-strong: #111827;
    --hch-text: #171a24;
    --hch-text-muted: #687083;
    --hch-border: #e5e7ef;
    --hch-border-strong: #d6d9e4;
    --hch-success: #0f9f6e;
    --hch-success-soft: #e8f8f2;
    --hch-warning: #c87505;
    --hch-warning-soft: #fff4df;
    --hch-danger: #d33f49;
    --hch-danger-soft: #fff0f1;
    --hch-info: #1877d2;
    --hch-info-soft: #eaf4ff;
    --hch-sidebar-width: 252px;
    --hch-topbar-height: 72px;
    --hch-radius-sm: 8px;
    --hch-radius-md: 12px;
    --hch-radius-lg: 18px;
    --hch-radius-xl: 24px;
    --hch-shadow-sm: 0 1px 2px rgba(18, 23, 38, 0.04);
    --hch-shadow-md: 0 14px 40px rgba(28, 32, 51, 0.08);
    --hch-focus: 0 0 0 3px rgba(14, 165, 233, 0.2);
    --hch-transition: 180ms ease;
}

/* Application shell */

.hch-app,
.hch-auth-shell,
.hch-cart-shell {
    color: var(--hch-text);
    background: var(--hch-background);
    font-family: "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hch-app,
.hch-app *,
.hch-auth-shell,
.hch-auth-shell *,
.hch-cart-shell,
.hch-cart-shell * {
    box-sizing: border-box;
}

.hch-svg-icon {
    display: block;
}

.hch-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--hch-sidebar-width) minmax(0, 1fr);
}

.hch-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: var(--hch-sidebar-width);
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    color: var(--hch-text);
    background: var(--hch-surface);
    border-right: 1px solid var(--hch-border);
}

.hch-sidebar__header {
    min-height: var(--hch-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 20px;
    border-bottom: 1px solid var(--hch-border);
}

.hch-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hch-text);
    text-decoration: none;
}

.hch-brand:hover,
.hch-brand:focus {
    color: var(--hch-text);
    text-decoration: none;
}

.hch-brand__mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--hch-primary);
    border-radius: 10px;
}

.hch-brand__mark svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hch-brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hch-brand__name {
    font-size: 15px;
    font-weight: 760;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hch-brand__tagline {
    margin-top: 4px;
    color: var(--hch-text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hch-brand__logo {
    display: block;
    width: auto;
    max-width: 176px;
    height: auto;
    max-height: 46px;
    object-fit: contain;
}

.hch-brand__fallback {
    color: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.hch-sidebar__close {
    display: none;
}

.hch-sidebar__nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 14px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--hch-border-strong) transparent;
}

.hch-nav-section + .hch-nav-section {
    margin-top: 24px;
}

.hch-nav-section__label {
    margin: 0 10px 8px;
    color: #9198a8;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hch-nav-list,
.hch-nav-submenu,
.hch-action-list,
.hch-timeline,
.hch-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hch-nav-list {
    display: grid;
    gap: 4px;
}

.hch-sidebar__item,
.hch-sidebar__disclosure {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    color: #4c5364;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--hch-transition), background var(--hch-transition), transform var(--hch-transition);
}

.hch-sidebar__item:hover,
.hch-sidebar__disclosure:hover {
    color: var(--hch-text);
    background: var(--hch-surface-muted);
    text-decoration: none;
}

.hch-sidebar__item:focus-visible,
.hch-sidebar__disclosure:focus-visible,
.hch-icon-button:focus-visible,
.hch-button:focus-visible,
.hch-field:focus-visible,
.hch-select:focus-visible,
.hch-toast__dismiss:focus-visible,
.hch-fixture-link:focus-visible {
    outline: none;
    box-shadow: var(--hch-focus);
}

.hch-sidebar__item.is-active,
.hch-sidebar__item.active,
.hch-sidebar__disclosure.is-active {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
}

.hch-sidebar__icon,
.hch-action-card__icon,
.hch-stat-card__icon,
.hch-icon-button__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.hch-sidebar__icon {
    width: 20px;
    height: 20px;
}

.hch-sidebar__icon i {
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.hch-sidebar__icon svg,
.hch-action-card__icon svg,
.hch-stat-card__icon svg,
.hch-avatar svg,
.hch-icon-button svg,
.hch-button svg,
.hch-empty-state svg,
.hch-state-panel svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hch-sidebar__label {
    min-width: 0;
    flex: 1 1 auto;
}

.hch-sidebar__chevron {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    font-size: 9px;
    transition: transform var(--hch-transition);
}

.hch-sidebar__disclosure[aria-expanded="true"] .hch-sidebar__chevron {
    transform: rotate(180deg);
}

.hch-nav-submenu {
    margin: 4px 0 5px 31px;
    padding-left: 11px;
    border-left: 1px solid var(--hch-border);
}

.hch-nav-submenu[hidden] {
    display: none;
}

.hch-nav-submenu .hch-sidebar__item {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
}

.hch-nav-submenu .hch-sidebar__icon,
.hch-nav-submenu .hch-sidebar__icon i {
    width: 18px;
    height: 18px;
    font-size: 11px;
}

.hch-nav-badge {
    min-width: 22px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    color: var(--hch-primary);
    background: #fff;
    border: 1px solid #dcd9ff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
}

.hch-sidebar__footer {
    flex: 0 0 auto;
    padding: 14px;
    border-top: 1px solid var(--hch-border);
}

.hch-account-chip {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
}

.hch-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: #252938;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.hch-account-chip__copy {
    min-width: 0;
    flex: 1;
}

.hch-account-chip__name,
.hch-account-chip__email {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hch-account-chip__name {
    font-size: 12px;
    font-weight: 720;
}

.hch-account-chip__email {
    margin-top: 2px;
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-shell {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hch-app-page {
    margin: 0;
    background: var(--hch-background);
}

.hch-app-breadcrumb {
    min-width: 0;
}

.hch-app-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 12px;
    white-space: nowrap;
}

.hch-app-breadcrumb .breadcrumb-item {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hch-app-breadcrumb .breadcrumb-item.active {
    color: var(--hch-text);
    font-weight: 700;
}

.hch-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--hch-topbar-height);
    min-height: var(--hch-topbar-height);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 30px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hch-border);
    backdrop-filter: blur(12px);
}

.hch-topbar__start,
.hch-topbar__actions {
    display: flex;
    align-items: center;
}

.hch-topbar__start {
    min-width: 0;
    gap: 12px;
}

.hch-topbar__actions {
    height: 100%;
    margin-left: auto;
    gap: 8px;
}

.hch-app-notices:empty {
    display: none;
}

.hch-app-notices .network-issue-alert .container,
.hch-app-notices .verification-banner .container {
    width: 100%;
    max-width: none;
    padding-right: clamp(22px, 3vw, 46px);
    padding-left: clamp(22px, 3vw, 46px);
}

.hch-topbar__menu {
    display: none;
}

.hch-breadcrumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hch-text-muted);
    font-size: 12px;
    white-space: nowrap;
}

.hch-breadcrumb__current {
    overflow: hidden;
    color: var(--hch-text);
    font-weight: 700;
    text-overflow: ellipsis;
}

.hch-search {
    position: relative;
    width: min(320px, 28vw);
}

.hch-search__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 17px;
    height: 17px;
    color: #8a91a2;
    transform: translateY(-50%);
    pointer-events: none;
}

.hch-search__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hch-search .hch-field {
    min-height: 40px;
    padding-left: 39px;
    background: var(--hch-surface-muted);
}

.hch-icon-button {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    color: #555d6f;
    background: var(--hch-surface);
    border: 1px solid var(--hch-border);
    border-radius: 12px;
    cursor: pointer;
    transition: color var(--hch-transition), border-color var(--hch-transition), background var(--hch-transition), transform var(--hch-transition);
}

.hch-icon-button.hch-sidebar__close,
.hch-icon-button.hch-topbar__menu {
    display: none;
}

.hch-icon-button:hover {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-color: #d8d4ff;
}

.hch-icon-button svg {
    width: 18px;
    height: 18px;
}

.hch-icon-button__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    color: #fff;
    background: var(--hch-danger);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.hch-account-menu {
    position: relative;
    width: 68px;
    height: 42px;
    flex: 0 0 68px;
    display: flex;
    align-items: center;
}

.hch-account-trigger {
    width: 68px;
    min-width: 68px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 9px 3px 4px;
    color: var(--hch-text);
    background: var(--hch-surface);
    border: 1px solid var(--hch-border);
    border-radius: 12px;
    font: inherit;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: color var(--hch-transition), background var(--hch-transition), border-color var(--hch-transition);
}

.hch-account-trigger:hover,
.hch-account-trigger[aria-expanded="true"] {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-color: #d8d4ff;
}

.hch-account-trigger:focus-visible {
    outline: none;
    box-shadow: var(--hch-focus);
}

.hch-account-trigger .hch-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.hch-avatar svg {
    width: 17px;
    height: 17px;
}

.hch-account-trigger__copy {
    display: none;
}

.hch-account-trigger__copy strong,
.hch-account-trigger__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hch-account-trigger__copy strong {
    font-size: 11px;
    font-weight: 760;
}

.hch-account-trigger__copy small {
    margin-top: 1px;
    color: var(--hch-text-muted);
    font-size: 9px;
}

.hch-account-trigger__chevron {
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
    transition: transform var(--hch-transition);
}

.hch-account-trigger__chevron svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hch-account-trigger[aria-expanded="true"] .hch-account-trigger__chevron {
    transform: rotate(180deg);
}

.hch-account-dropdown {
    position: absolute;
    z-index: 80;
    top: calc(100% + 10px);
    right: 0;
    width: min(310px, calc(100vw - 24px));
    max-height: min(620px, calc(100vh - 96px));
    overflow-y: auto;
    padding: 8px;
    color: var(--hch-text);
    background: #fff;
    border: 1px solid var(--hch-border);
    border-radius: 14px;
    box-shadow: var(--hch-shadow-md);
}

.hch-account-dropdown[hidden] {
    display: none;
}

.hch-account-dropdown__header {
    display: grid;
    gap: 3px;
    padding: 11px 12px 13px;
    border-bottom: 1px solid var(--hch-border);
}

.hch-account-dropdown__header strong,
.hch-account-dropdown__header span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hch-account-dropdown__header strong {
    font-size: 12px;
}

.hch-account-dropdown__header span {
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-account-nav,
.hch-account-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hch-account-nav {
    padding-top: 6px;
}

.hch-account-nav__heading {
    display: block;
    padding: 9px 10px 5px;
    color: #9198a8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hch-account-nav__item {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #4c5364;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.hch-account-nav__item:hover,
.hch-account-nav__item.is-active {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    text-decoration: none;
}

.hch-account-nav__item > span:first-child {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.hch-account-nav__item svg {
    width: 17px;
    height: 17px;
}

.hch-account-nav__item > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.hch-account-nav__divider,
.hch-nav-divider {
    height: 1px;
    margin: 6px 9px;
    background: var(--hch-border);
}

.hch-admin-return svg {
    width: 15px;
    height: 15px;
}

.hch-main {
    width: 100%;
    min-width: 0;
    max-width: 1540px;
    margin: 0 auto;
    padding: 32px clamp(22px, 3vw, 46px) 52px;
}

.hch-content-grid {
    min-width: 0;
}

.hch-content-grid--with-context {
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.hch-content-grid > .primary-content {
    min-width: 0;
}

.hch-context-sidebar {
    min-width: 0;
}

.hch-context-sidebar .sidebar + .sidebar {
    margin-top: 18px;
}

.hch-context-sidebar .card,
.hch-context-sidebar .panel {
    overflow: hidden;
    border: 1px solid var(--hch-border);
    border-radius: var(--hch-radius-md);
    box-shadow: var(--hch-shadow-sm);
}

.hch-app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 19px clamp(22px, 3vw, 46px);
    color: var(--hch-text-muted);
    background: var(--hch-surface);
    border-top: 1px solid var(--hch-border);
    font-size: 10px;
}

.hch-app-footer__links {
    display: flex;
    gap: 16px;
}

.hch-app-footer a {
    color: var(--hch-text-muted);
}

.hch-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.hch-page-header__copy {
    min-width: 0;
}

.hch-eyebrow {
    margin: 0 0 7px;
    color: var(--hch-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hch-page-title {
    margin: 0;
    color: var(--hch-text);
    font-size: clamp(25px, 2.4vw, 36px);
    font-weight: 770;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hch-page-subtitle {
    max-width: 720px;
    margin: 9px 0 0;
    color: var(--hch-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.hch-page-actions,
.hch-card__actions,
.hch-form-actions,
.hch-inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons and fields */

.hch-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    color: #fff;
    background: var(--hch-primary);
    border: 1px solid var(--hch-primary);
    border-radius: 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 730;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--hch-transition), border-color var(--hch-transition), color var(--hch-transition), transform var(--hch-transition);
}

.hch-button:hover {
    color: #fff;
    background: var(--hch-primary-hover);
    border-color: var(--hch-primary-hover);
    text-decoration: none;
}

.hch-button:active {
    transform: translateY(1px);
}

.hch-button--secondary {
    color: var(--hch-text);
    background: #fff;
    border-color: var(--hch-border-strong);
}

.hch-button--secondary:hover {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-color: #d8d4ff;
}

.hch-button--danger {
    color: var(--hch-danger);
    background: var(--hch-danger-soft);
    border-color: #f7cdd1;
}

.hch-button--danger:hover {
    color: #fff;
    background: var(--hch-danger);
    border-color: var(--hch-danger);
}

.hch-button--sm {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 11px;
}

.hch-button svg {
    width: 16px;
    height: 16px;
}

.hch-button--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.hch-button--loading::after {
    position: absolute;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    color: #fff;
    content: "";
    animation: hch-spin 700ms linear infinite;
}

.hch-button--secondary.hch-button--loading::after {
    color: var(--hch-primary);
}

.hch-field,
.hch-select,
.hch-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--hch-text);
    background: #fff;
    border: 1px solid var(--hch-border-strong);
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.35;
    transition: border-color var(--hch-transition), box-shadow var(--hch-transition), background var(--hch-transition);
}

.hch-field::placeholder,
.hch-textarea::placeholder {
    color: #a1a7b4;
}

.hch-field:hover,
.hch-select:hover,
.hch-textarea:hover {
    border-color: #bcc1cf;
}

.hch-field:focus,
.hch-select:focus,
.hch-textarea:focus {
    outline: none;
    border-color: var(--hch-primary);
    box-shadow: var(--hch-focus);
}

.hch-textarea {
    min-height: 126px;
    resize: vertical;
}

.hch-field-group {
    display: grid;
    gap: 7px;
}

.hch-field-label {
    color: #343947;
    font-size: 12px;
    font-weight: 700;
}

.hch-field-help,
.hch-field-error {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}

.hch-field-help {
    color: var(--hch-text-muted);
}

.hch-field-error {
    color: var(--hch-danger);
    font-weight: 650;
}

.hch-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #414757;
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}

.hch-check input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 1px 0 0;
    accent-color: var(--hch-primary);
}

/* Cards, metrics, and quick actions */

.hch-stat-grid,
.hch-action-grid,
.hch-grid,
.hch-form-grid,
.hch-product-grid {
    display: grid;
    gap: 16px;
}

.hch-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.hch-stat-card,
.hch-card,
.hch-action-card,
.hch-product-card,
.hch-auth-card {
    background: var(--hch-surface);
    border: 1px solid var(--hch-border);
    box-shadow: var(--hch-shadow-sm);
}

.hch-stat-card {
    min-width: 0;
    min-height: 152px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: var(--hch-radius-lg);
}

a.hch-stat-card {
    color: var(--hch-text);
    text-decoration: none;
    transition: transform var(--hch-transition), border-color var(--hch-transition), box-shadow var(--hch-transition);
}

a.hch-stat-card:hover,
a.hch-stat-card:focus {
    color: var(--hch-text);
    border-color: #d8d4ff;
    box-shadow: 0 14px 34px rgba(58, 52, 145, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

.hch-stat-card__arrow {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    margin-top: 4px;
    color: #a4a9b7;
}

.hch-stat-card__arrow svg {
    width: 16px;
    height: 16px;
}

.hch-stat-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hch-stat-card__icon {
    width: 38px;
    height: 38px;
    padding: 9px;
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-radius: 11px;
}

.hch-stat-card--success .hch-stat-card__icon {
    color: var(--hch-success);
    background: var(--hch-success-soft);
}

.hch-stat-card--info .hch-stat-card__icon {
    color: var(--hch-info);
    background: var(--hch-info-soft);
}

.hch-stat-card--warning .hch-stat-card__icon {
    color: var(--hch-warning);
    background: var(--hch-warning-soft);
}

.hch-stat-card__value {
    margin-top: 16px;
    font-size: 27px;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hch-stat-card__label {
    margin-top: 7px;
    color: #555d6f;
    font-size: 11px;
    font-weight: 740;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hch-stat-card__meta {
    margin-top: auto;
    padding-top: 14px;
    color: var(--hch-text-muted);
    border-top: 1px solid var(--hch-border);
    font-size: 10px;
    line-height: 1.3;
}

.hch-action-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 0 18px;
}

.hch-action-card {
    min-width: 0;
    min-height: 94px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    color: var(--hch-text);
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    transition: transform var(--hch-transition), border-color var(--hch-transition), box-shadow var(--hch-transition), color var(--hch-transition);
}

.hch-action-card:hover {
    color: var(--hch-primary);
    border-color: #d8d4ff;
    box-shadow: 0 12px 30px rgba(58, 52, 145, 0.09);
    text-decoration: none;
    transform: translateY(-2px);
}

.hch-action-card__icon {
    width: 24px;
    height: 24px;
    color: var(--hch-primary);
}

.hch-action-card__label {
    overflow-wrap: anywhere;
    font-size: 11px;
    font-weight: 720;
    line-height: 1.3;
}

.hch-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--hch-radius-lg);
}

.hch-card + .hch-card {
    margin-top: 18px;
}

.hch-card__header,
.hch-card__body,
.hch-card__footer {
    padding: 18px 20px;
}

.hch-dashboard-panels {
    margin-top: 20px;
}

.hch-dashboard-panels .hch-whmcs-panel {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--hch-border);
    border-radius: var(--hch-radius-lg);
    box-shadow: var(--hch-shadow-sm);
}

.hch-dashboard-panels .card-header {
    min-height: 61px;
    display: flex;
    align-items: center;
    padding: 16px 19px;
    background: var(--hch-surface);
    border-bottom: 1px solid var(--hch-border);
}

.hch-dashboard-panels .card-title {
    width: 100%;
    color: var(--hch-text);
    font-size: 14px;
    font-weight: 760;
}

.hch-dashboard-panels .list-group-item {
    padding: 13px 18px;
    color: #4c5364;
    border-color: var(--hch-border);
    font-size: 12px;
}

.hch-dashboard-panels .card-footer:empty {
    display: none;
}

.hch-dashboard-overview-grid {
    margin-top: 20px;
}

.hch-dashboard-service-overview,
.hch-dashboard-account-card {
    min-width: 0;
}

.hch-dashboard-panel-stack {
    margin: 0;
    padding: 0;
}

.hch-dashboard-panel-stack .hch-whmcs-panel {
    margin: 0;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--hch-border);
    border-radius: 0;
    box-shadow: none;
}

.hch-dashboard-panel-stack .hch-whmcs-panel:last-child {
    border-bottom: 0;
}

.hch-dashboard-panel-stack .card-header {
    min-height: 52px;
    padding: 13px 20px;
    background: #f8fbff;
}

.hch-dashboard-panel-stack .card-title {
    font-size: 12px;
}

.hch-dashboard-panel-stack .card-body {
    padding: 16px 20px;
}

.hch-dashboard-panel-stack .list-group-item {
    min-width: 0;
    padding: 13px 20px;
    background: #fff;
    overflow-wrap: anywhere;
}

.hch-dashboard-panel-stack .card-footer {
    padding: 10px 20px;
    background: var(--hch-surface-muted);
    border-top-color: var(--hch-border);
}

.hch-dashboard-account-card {
    position: sticky;
    top: calc(var(--hch-topbar-height) + 20px);
}

.hch-dashboard-account-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hch-border);
}

.hch-dashboard-account-identity .hch-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    border: 0;
    font-size: 12px;
}

.hch-dashboard-account-identity > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.hch-dashboard-account-identity strong,
.hch-dashboard-account-identity span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hch-dashboard-account-identity strong {
    color: var(--hch-text);
    font-size: 12px;
}

.hch-dashboard-account-identity > div span {
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-dashboard-account-card .hch-detail-list__item {
    grid-template-columns: minmax(72px, 0.55fr) minmax(0, 1.45fr);
    gap: 12px;
}

.hch-dashboard-account-card .hch-card__footer .hch-form-actions {
    justify-content: flex-end;
}

.hch-addon-output + .hch-addon-output {
    margin-top: 18px;
}

.hch-card__header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--hch-border);
}

.hch-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 760;
    letter-spacing: -0.01em;
}

.hch-card__subtitle {
    margin: 4px 0 0;
    color: var(--hch-text-muted);
    font-size: 11px;
}

.hch-card__body {
    min-width: 0;
}

.hch-card__footer {
    background: var(--hch-surface-muted);
    border-top: 1px solid var(--hch-border);
}

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

.hch-grid--sidebar {
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.75fr);
    align-items: start;
}

.hch-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hch-form-grid .hch-field-group--full {
    grid-column: 1 / -1;
}

.hch-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--hch-border);
    border: 0;
}

/* Tables and lists */

.hch-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.hch-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 12px;
}

.hch-table th,
.hch-table td {
    padding: 13px 14px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--hch-border);
}

.hch-table th {
    color: #747c8e;
    background: var(--hch-surface-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hch-table tbody tr {
    transition: background var(--hch-transition);
}

.hch-table tbody tr:hover {
    background: #fbfbfe;
}

.hch-table tbody tr:last-child td {
    border-bottom: 0;
}

.hch-table__primary {
    min-width: 160px;
    color: var(--hch-text);
    font-weight: 720;
}

.hch-table__secondary {
    display: block;
    max-width: 320px;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--hch-text-muted);
    font-size: 10px;
    font-weight: 500;
}

.hch-table__actions {
    text-align: right !important;
    white-space: nowrap;
}

.hch-badge {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    color: #50586a;
    background: #f0f1f5;
    border: 1px solid #e4e6ec;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.hch-badge::before {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: currentColor;
    border-radius: 50%;
    content: "";
}

.hch-badge--success {
    color: var(--hch-success);
    background: var(--hch-success-soft);
    border-color: #c8ebdd;
}

.hch-badge--warning {
    color: var(--hch-warning);
    background: var(--hch-warning-soft);
    border-color: #f2dbb0;
}

.hch-badge--danger {
    color: var(--hch-danger);
    background: var(--hch-danger-soft);
    border-color: #f6cdd1;
}

.hch-badge--info {
    color: var(--hch-info);
    background: var(--hch-info-soft);
    border-color: #cfe5fb;
}

.hch-detail-list {
    display: grid;
}

.hch-detail-list__item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hch-border);
}

.hch-detail-list__item:last-child {
    border-bottom: 0;
}

.hch-detail-list__label {
    color: var(--hch-text-muted);
    font-size: 11px;
}

.hch-detail-list__value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--hch-text);
    font-size: 12px;
    font-weight: 680;
}

/* Product and cart surfaces */

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

.hch-product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--hch-radius-lg);
}

.hch-product-card.is-featured {
    border-color: var(--hch-primary);
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.11);
}

.hch-product-card__flag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 8px;
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hch-product-card__body {
    flex: 1;
    padding: 22px;
}

.hch-product-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 780;
}

.hch-product-card__description {
    min-height: 42px;
    margin: 8px 0 16px;
    color: var(--hch-text-muted);
    font-size: 11px;
    line-height: 1.55;
}

.hch-product-card__price {
    margin-bottom: 18px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hch-product-card__price small {
    color: var(--hch-text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.hch-feature-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #454c5c;
    font-size: 11px;
}

.hch-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hch-feature-list li::before {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: grid;
    place-items: center;
    color: var(--hch-success);
    background: var(--hch-success-soft);
    border-radius: 50%;
    content: "✓";
    font-size: 9px;
    font-weight: 900;
}

.hch-product-card__footer {
    padding: 16px 22px 22px;
}

.hch-product-card__footer .hch-button {
    width: 100%;
}

.hch-order-summary {
    position: sticky;
    top: calc(var(--hch-topbar-height) + 18px);
}

.hch-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    color: var(--hch-text-muted);
    font-size: 11px;
}

.hch-summary-row strong {
    color: var(--hch-text);
    font-weight: 720;
    text-align: right;
}

.hch-summary-row--total {
    margin-top: 8px;
    padding-top: 17px;
    color: var(--hch-text);
    border-top: 1px solid var(--hch-border-strong);
    font-size: 13px;
    font-weight: 750;
}

.hch-summary-row--total strong {
    color: var(--hch-primary);
    font-size: 19px;
}

.hch-domain-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px;
    background: var(--hch-surface-muted);
    border: 1px solid var(--hch-border);
    border-radius: 14px;
}

.hch-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--hch-border);
}

.hch-cart-item:last-child {
    border-bottom: 0;
}

.hch-cart-item__title {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 740;
}

.hch-cart-item__meta {
    margin: 4px 0 0;
    color: var(--hch-text-muted);
    font-size: 10px;
    line-height: 1.5;
}

.hch-cart-item__price {
    font-size: 13px;
    font-weight: 760;
    text-align: right;
    white-space: nowrap;
}

/* Alerts, empty states, skeletons, and tickets */

.hch-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 16px;
    padding: 13px 14px;
    color: var(--hch-info);
    background: var(--hch-info-soft);
    border: 1px solid #cfe5fb;
    border-radius: 11px;
    font-size: 11px;
    line-height: 1.5;
}

.hch-alert--success {
    color: #087b55;
    background: var(--hch-success-soft);
    border-color: #c8ebdd;
}

.hch-alert--warning {
    color: #965805;
    background: var(--hch-warning-soft);
    border-color: #f2dbb0;
}

.hch-alert--danger {
    color: #a72c36;
    background: var(--hch-danger-soft);
    border-color: #f6cdd1;
}

.hch-empty-state,
.hch-state-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 34px 20px;
    text-align: center;
}

.hch-empty-state__icon,
.hch-state-panel__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    padding: 13px;
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-radius: 15px;
}

.hch-empty-state__title,
.hch-state-panel__title {
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 760;
}

.hch-empty-state__message,
.hch-state-panel__message {
    max-width: 440px;
    margin: 7px 0 18px;
    color: var(--hch-text-muted);
    font-size: 11px;
    line-height: 1.55;
}

.hch-skeleton {
    position: relative;
    overflow: hidden;
    background: #eceef3;
    border-radius: 7px;
}

.hch-skeleton::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
    content: "";
    transform: translateX(-100%);
    animation: hch-shimmer 1.3s infinite;
}

.hch-skeleton--title {
    width: 42%;
    height: 18px;
}

.hch-skeleton--line {
    width: 100%;
    height: 11px;
}

.hch-skeleton--line + .hch-skeleton--line {
    margin-top: 10px;
}

.hch-skeleton--line.is-short {
    width: 64%;
}

.hch-ticket-thread {
    display: grid;
    gap: 14px;
}

.hch-ticket-message {
    min-width: 0;
    padding: 17px;
    background: var(--hch-surface-muted);
    border: 1px solid var(--hch-border);
    border-radius: 14px;
}

.hch-ticket-message--staff {
    background: #f1f0ff;
    border-color: #dcd9ff;
}

.hch-ticket-message__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.hch-ticket-message__author {
    font-size: 11px;
    font-weight: 750;
}

.hch-ticket-message__date {
    color: var(--hch-text-muted);
    font-size: 9px;
    white-space: nowrap;
}

.hch-ticket-message__body {
    overflow-wrap: anywhere;
    color: #3f4656;
    font-size: 12px;
    line-height: 1.65;
}

.hch-attachment {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin-top: 13px;
    padding: 7px 9px;
    color: var(--hch-primary);
    background: #fff;
    border: 1px solid #dcd9ff;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* Authentication */

.hch-auth-page,
.hch-auth-page #main-body,
.hch-auth-main {
    margin: 0;
    padding: 0;
    background: var(--hch-background);
}

.hch-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(500px, 1.15fr);
}

.hch-auth-shell__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 40px clamp(34px, 5vw, 74px);
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(145deg, #075985 0%, #0284c7 48%, #38bdf8 100%);
    overflow: hidden;
}

/* Registration v2: original HyperCloudHost sky canvas with the native WHMCS form flow. */

.hch-registration-page,
.hch-registration-page #main-body,
.hch-register-main {
    background: #f5fbff;
}

.hch-register-v2 {
    min-height: 100vh;
    display: block;
    color: var(--hch-text);
    background:
        radial-gradient(circle at 12% 14%, rgba(125, 211, 252, 0.34), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(186, 230, 253, 0.56), transparent 28%),
        radial-gradient(circle at 54% 50%, rgba(224, 242, 254, 0.82), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f0f9ff 54%, #e0f2fe 100%);
}

.hch-register-topbar {
    width: min(100% - 40px, 1180px);
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 16px 0;
}

.hch-register-topbar__brand {
    max-width: 190px;
}

.hch-register-topbar__brand .hch-brand__logo {
    width: auto;
    max-width: 176px;
    max-height: 48px;
}

.hch-register-topbar > p {
    margin: 0;
    color: #475569;
    font-size: 12px;
}

.hch-register-topbar > p a {
    color: var(--hch-primary-hover);
    font-weight: 760;
}

.hch-register-v2 .hch-register-content {
    display: block;
    padding: 28px 20px 72px;
}

.hch-register-hero {
    width: min(100%, 980px);
    margin: 0 auto 28px;
    text-align: center;
}

.hch-register-hero .hch-eyebrow {
    color: var(--hch-primary-hover);
}

.hch-register-hero h1 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.hch-register-hero > p:not(.hch-eyebrow) {
    max-width: 650px;
    margin: 12px auto 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.hch-register-steps {
    width: min(100%, 720px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
}

.hch-register-steps li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #64748b;
    font-size: 11px;
}

.hch-register-steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: calc(50% + 70px);
    width: calc(100% - 140px);
    height: 1px;
    background: #bae6fd;
    content: "";
}

.hch-register-steps span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    color: #0369a1;
    background: #fff;
    border: 1px solid #7dd3fc;
    border-radius: 50%;
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(14, 165, 233, 0.12);
}

.hch-register-steps .is-active {
    color: #075985;
}

.hch-register-steps .is-active span {
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    border-color: transparent;
}

.hch-register-v2 .hch-register-card {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(125, 211, 252, 0.45);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(3, 105, 161, 0.1);
}

.hch-register-v2 .hch-register-heading {
    padding-bottom: 22px;
    border-bottom: 1px solid #e0f2fe;
}

.hch-register-v2 .hch-register-section {
    border-top-color: #e0f2fe;
}

.hch-register-v2 .hch-register-section__icon {
    color: #0284c7;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
}

#registration.hch-register-v2 .hch-register-form .field,
#registration.hch-register-v2 .hch-register-form .form-control,
#registration.hch-register-v2 .hch-register-form select,
#registration.hch-register-v2 .hch-register-form textarea {
    min-height: 47px;
    border-color: #cbd5e1;
    border-radius: 11px;
}

#registration.hch-register-v2 .hch-register-form .prepend-icon .field-icon {
    height: 47px;
    color: #0284c7;
    line-height: 47px;
}

.hch-register-v2 .hch-register-consent {
    background: #f0f9ff;
    border-color: #bae6fd;
}

#registration.hch-register-v2 .hch-register-submit {
    min-height: 50px;
    background: linear-gradient(110deg, #0284c7, #38bdf8);
    border: 0;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.25);
}

#registration.hch-register-v2 .hch-register-submit:hover,
#registration.hch-register-v2 .hch-register-submit:focus {
    background: linear-gradient(110deg, #0369a1, #0ea5e9);
}

/* Add-funds page */

.hch-addfunds {
    max-width: 980px;
    margin: 0 auto;
}

.hch-addfunds__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: clamp(22px, 3vw, 34px);
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 32%),
        linear-gradient(120deg, #0369a1 0%, #0ea5e9 58%, #7dd3fc 100%);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(2, 132, 199, 0.2);
    overflow: hidden;
}

.hch-addfunds__hero h2 {
    margin: 3px 0 8px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hch-addfunds__hero p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    line-height: 1.6;
}

.hch-addfunds__hero .hch-eyebrow {
    color: #e0f2fe;
}

.hch-addfunds__hero-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    color: #0369a1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 25px;
}

.hch-addfunds__limits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.hch-addfunds__limit {
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: var(--hch-shadow-sm);
}

.hch-addfunds__limit span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.hch-addfunds__limit strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.hch-addfunds__form-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.hch-addfunds__form-intro {
    padding: 26px;
    background: linear-gradient(160deg, #f0f9ff, #e0f2fe);
    border-right: 1px solid #bae6fd;
}

.hch-addfunds__form-intro h3 {
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 780;
}

.hch-addfunds__form-intro p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.65;
}

.hch-addfunds__form-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #0284c7;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

.hch-addfunds__form {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.hch-addfunds__form fieldset {
    min-width: 0;
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    border: 0;
}

.hch-addfunds__form .form-group {
    margin: 0;
}

.hch-addfunds__form label {
    margin-bottom: 7px;
    color: #334155;
    font-size: 11px;
    font-weight: 750;
}

.hch-addfunds__input-wrap {
    position: relative;
}

.hch-addfunds__input-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    color: #0284c7;
    transform: translateY(-50%);
    pointer-events: none;
}

.hch-addfunds__input-wrap .form-control {
    min-height: 48px;
    padding-left: 42px;
    border-color: #cbd5e1;
    border-radius: 11px;
}

.hch-addfunds__submit {
    min-height: 48px;
    margin-top: 2px;
    color: #fff;
    background: linear-gradient(110deg, #0284c7, #38bdf8);
    border: 0;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 760;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.22);
}

.hch-addfunds__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .hch-register-topbar {
        width: min(100% - 28px, 1180px);
        min-height: 66px;
    }

    .hch-register-topbar__brand .hch-brand__logo {
        max-width: 136px;
        max-height: 40px;
    }

    .hch-register-topbar > p {
        font-size: 10px;
    }

    .hch-register-v2 .hch-register-content {
        padding: 20px 14px 38px;
        background: transparent;
    }

    .hch-register-hero {
        margin-bottom: 22px;
    }

    .hch-register-steps {
        margin-top: 22px;
    }

    .hch-register-steps li {
        flex-direction: column;
        gap: 6px;
        font-size: 9px;
    }

    .hch-register-steps li:not(:last-child)::after {
        top: 15px;
        left: calc(50% + 24px);
        width: calc(100% - 48px);
    }

    .hch-register-v2 .hch-register-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .hch-addfunds__limits,
    .hch-addfunds__form-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-addfunds__form-intro {
        border-right: 0;
        border-bottom: 1px solid #bae6fd;
    }
}

@media (max-width: 429.98px) {
    .hch-register-topbar > p {
        max-width: 128px;
        text-align: right;
    }

    .hch-register-hero h1 {
        font-size: 31px;
    }

    .hch-register-steps strong {
        font-size: 8px;
    }

    .hch-addfunds__hero {
        align-items: flex-start;
    }

    .hch-addfunds__hero-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
        font-size: 18px;
    }
}

.hch-auth-shell__intro .hch-brand {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hch-auth-shell__intro .hch-brand__tagline {
    color: #aeb5cc;
}

.hch-auth-intro__copy {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: auto 0;
    padding: 70px 0;
}

.hch-auth-intro__copy h1 {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 64px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.hch-auth-intro__copy p {
    max-width: 430px;
    margin: 20px 0 0;
    color: #b8bfd2;
    font-size: 13px;
    line-height: 1.7;
}

.hch-auth-intro__footer {
    position: relative;
    z-index: 1;
    color: #8f97ad;
    font-size: 10px;
}

.hch-auth-shell__main {
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 42px clamp(24px, 5vw, 78px);
}

.hch-auth-stack {
    width: min(100%, 480px);
}

.hch-auth-card {
    width: min(100%, 480px);
    padding: clamp(25px, 4vw, 40px);
    border-radius: var(--hch-radius-xl);
    box-shadow: var(--hch-shadow-md);
}

.hch-auth-stack .hch-auth-card {
    width: 100%;
}

.hch-auth-card__title {
    margin: 0;
    font-size: 26px;
    font-weight: 780;
    letter-spacing: -0.035em;
}

.hch-auth-card__subtitle {
    margin: 8px 0 25px;
    color: var(--hch-text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.hch-auth-form {
    display: grid;
    gap: 16px;
}

.hch-auth-form .hch-button {
    width: 100%;
    min-height: 46px;
}

.hch-auth-input-wrap {
    position: relative;
}

.hch-auth-input-wrap .hch-field {
    padding-right: 44px;
    padding-left: 42px;
}

.hch-auth-input-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    width: 17px;
    height: 17px;
    color: var(--hch-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

.hch-auth-input-icon svg,
.hch-auth-password-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hch-auth-password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--hch-text-muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
    cursor: pointer;
}

.hch-auth-password-toggle:hover,
.hch-auth-password-toggle:focus {
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    outline: none;
}

.hch-auth-label-row,
.hch-auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hch-auth-label-row .hch-link {
    font-size: 10px;
}

.hch-auth-remember {
    justify-content: flex-start;
}

.hch-auth-linked-accounts {
    width: 100%;
    margin-top: 14px;
}

.hch-auth-linked-accounts:empty {
    display: none;
}

.hch-auth-card__footer {
    margin-top: 20px;
    color: var(--hch-text-muted);
    font-size: 11px;
    text-align: center;
}

.hch-auth-card__footer a,
.hch-link {
    color: var(--hch-primary);
    font-weight: 700;
    text-decoration: none;
}

.hch-auth-card__footer a:hover,
.hch-link:hover {
    color: var(--hch-primary-hover);
    text-decoration: underline;
}

.hch-code-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.hch-code-inputs .hch-field {
    min-width: 0;
    padding: 10px 4px;
    font-size: 20px;
    font-weight: 760;
    text-align: center;
}

/* Full registration experience; all WHMCS field IDs and runtime hooks remain intact. */

.hch-registration-page,
.hch-registration-page #main-body,
.hch-register-main {
    margin: 0;
    padding: 0;
    background: #f7f7fc;
}

.hch-register-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 38%) minmax(0, 62%);
    color: var(--hch-text);
    background: #f7f7fc;
    font-family: "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hch-register-shell,
.hch-register-shell * {
    box-sizing: border-box;
}

.hch-register-intro {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    min-height: 650px;
    padding: 40px clamp(34px, 4.2vw, 72px);
    color: #fff;
    background: linear-gradient(145deg, #4636ff 0%, #4d3cff 58%, #5d4aff 100%);
}

.hch-register-intro .hch-eyebrow {
    color: #d7ff3f;
}

.hch-register-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.hch-register-back:hover,
.hch-register-back:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    text-decoration: none;
}

.hch-register-back svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.hch-register-brand {
    position: absolute;
    top: 43px;
    right: clamp(30px, 4vw, 68px);
    max-width: 180px;
    color: #fff;
}

.hch-register-brand .hch-brand__logo {
    max-width: 150px;
    max-height: 42px;
}

.hch-register-intro__copy {
    max-width: 530px;
    margin: auto 0;
    padding: 70px 0;
}

.hch-register-intro__copy h1 {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 66px);
    font-weight: 790;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.hch-register-intro__copy > p:not(.hch-eyebrow) {
    max-width: 455px;
    margin: 20px 0 0;
    color: #dddafe;
    font-size: 13px;
    line-height: 1.7;
}

.hch-register-benefits {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hch-register-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 680;
}

.hch-register-benefits i {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #d7ff3f;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    font-size: 12px;
}

.hch-register-content {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 34px clamp(22px, 4.5vw, 76px) 54px;
}

.hch-register-card {
    width: min(100%, 790px);
    padding: clamp(25px, 3.3vw, 43px);
    background: #fff;
    border: 1px solid #ececf5;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(39, 37, 90, 0.07);
}

.hch-register-heading {
    margin-bottom: 24px;
}

.hch-register-heading h2 {
    margin: 0;
    color: var(--hch-text);
    font-size: 30px;
    font-weight: 790;
    letter-spacing: -0.04em;
}

.hch-register-heading > p:last-child {
    margin: 8px 0 0;
    color: var(--hch-text-muted);
    font-size: 12px;
}

.hch-register-social {
    margin-bottom: 22px;
}

.hch-register-social:empty {
    display: none;
}

.hch-register-section {
    padding: 23px 0 25px;
    border-top: 1px solid var(--hch-border);
}

.hch-register-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.hch-register-section__header .hch-eyebrow {
    margin-bottom: 3px;
}

.hch-register-section__header h3 {
    margin: 0;
    color: var(--hch-text);
    font-size: 14px;
    font-weight: 770;
}

.hch-register-section__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--hch-primary);
    background: var(--hch-primary-soft);
    border-radius: 10px;
    font-size: 12px;
}

.hch-register-section__icon svg,
#registration .hch-register-form .field-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hch-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.hch-register-grid__full {
    grid-column: 1 / -1;
}

#registration .hch-register-form .form-group {
    min-width: 0;
    margin: 0;
}

#registration .hch-field-label {
    display: block;
    margin: 0 0 7px;
    color: #303442;
    font-size: 10px;
    font-weight: 760;
}

#registration .hch-field-label span {
    color: var(--hch-text-muted);
    font-weight: 500;
}

#registration .hch-register-form .field,
#registration .hch-register-form .form-control,
#registration .hch-register-form select,
#registration .hch-register-form textarea {
    width: 100%;
    height: 43px;
    color: var(--hch-text);
    background: #fff;
    border: 1px solid var(--hch-border-strong);
    border-radius: 12px;
    font-size: 12px;
    box-shadow: none;
}

#registration .hch-register-form .field:focus,
#registration .hch-register-form .form-control:focus,
#registration .hch-register-form select:focus,
#registration .hch-register-form textarea:focus {
    border-color: var(--hch-primary);
    box-shadow: var(--hch-focus);
}

#registration .hch-register-form .prepend-icon .field {
    padding-left: 40px;
}

#registration .hch-register-form .prepend-icon .field-icon {
    top: 27px;
    width: 40px;
    height: 43px;
    color: var(--hch-primary);
    line-height: 43px;
}

#registration .hch-register-form .prepend-icon .field-icon i {
    color: var(--hch-primary);
    font-size: 12px;
}

#registration .hch-register-form .iti {
    width: 100%;
}

.hch-register-form .password-strength-meter {
    align-self: center;
}

.hch-register-form .password-strength-meter .progress {
    height: 5px;
    margin: 0 0 7px;
    background: #eceef3;
    border-radius: 99px;
}

.hch-register-form #passwordStrengthTextLabel {
    margin: 0;
    text-align: left !important;
}

.hch-register-security-question {
    margin-top: 17px;
}

.hch-register-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 18px 0 0;
    padding: 15px;
    color: var(--hch-text);
    background: #f7f6ff;
    border: 1px solid #e4e1ff;
    border-radius: 13px;
}

.hch-register-consent input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--hch-primary);
}

#registration .hch-register-consent label,
#registration label.hch-register-consent {
    margin: 0;
    color: var(--hch-text);
    font-size: 10px;
    font-weight: 550;
}

.hch-register-consent strong,
.hch-register-consent span {
    display: block;
}

.hch-register-consent span {
    margin-top: 3px;
    color: var(--hch-text-muted);
    line-height: 1.5;
}

.hch-register-consent--tos {
    margin-bottom: 14px !important;
}

.hch-register-captcha {
    margin-top: 18px;
}

#registration .hch-register-submit {
    width: 100%;
    min-height: 48px;
    color: #fff;
    background: var(--hch-primary);
    border-color: var(--hch-primary);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 760;
}

#registration .hch-register-submit:hover,
#registration .hch-register-submit:focus {
    background: var(--hch-primary-hover);
    border-color: var(--hch-primary-hover);
}

/* Toasts and loading */

.hch-toast-region {
    position: fixed;
    z-index: 1200;
    top: 18px;
    right: 18px;
    width: min(390px, calc(100vw - 28px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.hch-toast {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: start;
    padding: 13px;
    color: var(--hch-text);
    background: #fff;
    border: 1px solid var(--hch-border);
    border-left: 3px solid var(--hch-info);
    border-radius: 13px;
    box-shadow: 0 18px 44px rgba(25, 30, 47, 0.16);
    pointer-events: auto;
    animation: hch-toast-in 220ms ease both;
}

.hch-toast--success { border-left-color: var(--hch-success); }
.hch-toast--danger { border-left-color: var(--hch-danger); }
.hch-toast--warning { border-left-color: var(--hch-warning); }

.hch-toast--closing {
    animation: hch-toast-out 180ms ease both;
}

.hch-toast__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 8px;
    color: var(--hch-info);
    background: var(--hch-info-soft);
    border-radius: 10px;
}

.hch-toast--success .hch-toast__icon { color: var(--hch-success); background: var(--hch-success-soft); }
.hch-toast--danger .hch-toast__icon { color: var(--hch-danger); background: var(--hch-danger-soft); }
.hch-toast--warning .hch-toast__icon { color: var(--hch-warning); background: var(--hch-warning-soft); }

.hch-toast__icon svg,
.hch-toast__dismiss svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hch-toast__content {
    min-width: 0;
    padding-top: 1px;
}

.hch-toast__title,
.hch-toast__message {
    display: block;
    overflow-wrap: anywhere;
}

.hch-toast__title {
    font-size: 11px;
    font-weight: 780;
}

.hch-toast__message {
    margin-top: 3px;
    color: var(--hch-text-muted);
    font-size: 10px;
    line-height: 1.45;
}

.hch-toast__dismiss {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 9px;
    color: #8b92a1;
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.hch-toast__dismiss:hover {
    color: var(--hch-text);
    background: var(--hch-surface-muted);
}

.hch-loading-overlay {
    position: fixed;
    z-index: 1190;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(20, 23, 34, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--hch-transition), visibility var(--hch-transition);
}

.hch-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.hch-loading-overlay__panel {
    width: min(100%, 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    color: var(--hch-text);
    background: #fff;
    border: 1px solid var(--hch-border);
    border-radius: var(--hch-radius-lg);
    box-shadow: var(--hch-shadow-md);
    text-align: center;
}

.hch-loading-overlay__panel strong {
    margin-top: 15px;
    font-size: 13px;
}

.hch-loading-overlay__panel span:last-child {
    margin-top: 5px;
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-loader {
    width: 34px;
    height: 34px;
    border: 3px solid #dfdefb;
    border-top-color: var(--hch-primary);
    border-radius: 50%;
    animation: hch-spin 700ms linear infinite;
}

.hch-is-loading {
    cursor: progress;
}

.hch-sidebar-backdrop {
    display: none;
}

/* Additive WHMCS compatibility styling; functional selectors stay intact. */

.hch-app .alert,
.hch-cart-shell .alert {
    border-radius: 11px;
}

.hch-app .card,
.hch-cart-shell #order-standard_cart .panel,
.hch-cart-shell #order-standard_cart .product {
    border-color: var(--hch-border);
}

.hch-app .table-list,
.hch-cart-shell #order-standard_cart .table {
    color: var(--hch-text);
}

.hch-app .form-control,
.hch-cart-shell #order-standard_cart .form-control {
    border-color: var(--hch-border-strong);
    border-radius: 9px;
}

.hch-app .form-control:focus,
.hch-cart-shell #order-standard_cart .form-control:focus {
    border-color: var(--hch-primary);
    box-shadow: var(--hch-focus);
}

/* WHMCS Twenty-One initializes list pages with jQuery DataTables. This block
   styles its generated DOM without replacing sorting, filtering, or paging. */

.hch-app .dataTables_wrapper {
    position: relative;
    width: 100%;
    color: var(--hch-text);
}

.hch-app .dataTables_wrapper .listtable {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    background: var(--hch-surface);
    border: 1px solid var(--hch-border);
    border-radius: var(--hch-radius-lg);
    box-shadow: var(--hch-shadow-sm);
}

.hch-app .dataTables_wrapper .dataTables_filter {
    grid-column: 2;
    grid-row: 1;
    float: none;
    margin: 0;
    padding: 14px 16px;
}

.hch-app .dataTables_wrapper .dataTables_filter label {
    position: relative;
    display: block;
    margin: 0;
}

.hch-app .dataTables_wrapper .dataTables_filter label::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 13px;
    color: #8a91a2;
    content: "\f002";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.hch-app .dataTables_wrapper .dataTables_filter input {
    width: min(290px, 32vw);
    height: 42px;
    margin: 0;
    padding: 8px 13px 8px 39px !important;
    color: var(--hch-text);
    background: var(--hch-surface-muted) !important;
    border: 1px solid var(--hch-border-strong);
    border-radius: 11px;
    font-size: 12px;
    outline: 0;
}

.hch-app .dataTables_wrapper .dataTables_filter input:focus {
    background: #fff !important;
    border-color: var(--hch-primary);
    box-shadow: var(--hch-focus);
}

.hch-app .dataTables_wrapper .dataTables_info {
    grid-column: 1;
    grid-row: 1;
    float: none;
    margin: 0;
    padding: 14px 16px;
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-app .dataTables_wrapper .table-list,
.hch-app .dataTables_wrapper table.dataTable {
    grid-column: 1 / -1;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--hch-border) !important;
    border-radius: 0 !important;
}

.hch-app .dataTables_wrapper .table-list thead th,
.hch-app .dataTables_wrapper table.dataTable thead th {
    padding: 11px 13px;
    color: #62697a;
    background: var(--hch-surface-muted);
    border-bottom: 1px solid var(--hch-border);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hch-app .dataTables_wrapper .table-list tbody td,
.hch-app .dataTables_wrapper table.dataTable tbody td {
    padding: 13px;
    background: #fff;
    border-top: 1px solid var(--hch-border);
    font-size: 12px;
    vertical-align: middle;
}

.hch-app .dataTables_wrapper .dataTables_length {
    float: left;
    padding: 14px 4px 0;
    color: var(--hch-text-muted);
    font-size: 10px;
}

.hch-app .dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hch-app .dataTables_wrapper .dataTables_length select {
    width: auto;
    min-width: 68px;
    height: 36px;
    padding: 5px 26px 5px 9px;
    color: var(--hch-text);
    background-color: #fff;
    border: 1px solid var(--hch-border-strong);
    border-radius: 9px;
    font-size: 11px;
}

.hch-app .dataTables_wrapper .dataTables_paginate {
    float: right;
    margin: 0;
    padding: 14px 0 0;
}

.hch-app .dataTables_wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.hch-app .dataTables_wrapper .page-link,
.hch-app .dataTables_wrapper .paginate_button {
    min-width: 36px;
    min-height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 6px 10px;
    color: #596173;
    background: #fff;
    border: 1px solid var(--hch-border);
    border-radius: 9px !important;
    font-size: 10px;
    text-decoration: none;
}

.hch-app .dataTables_wrapper .page-item.active .page-link,
.hch-app .dataTables_wrapper .paginate_button.current {
    color: #fff;
    background: var(--hch-primary);
    border-color: var(--hch-primary);
}

.hch-app .dataTables_wrapper::after {
    display: block;
    clear: both;
    content: "";
}

/* Responsive behavior */

@media (max-width: 1279.98px) {
    .hch-account-trigger__copy,
    .hch-admin-return span {
        display: none;
    }

    .hch-account-trigger {
        padding-right: 7px;
    }

    .hch-admin-return {
        width: 42px;
        min-width: 42px;
        padding: 0;
    }

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

    .hch-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-search {
        width: min(250px, 25vw);
    }

    .hch-content-grid--with-context {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-context-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .hch-context-sidebar .sidebar + .sidebar {
        margin-top: 0;
    }
}

@media (max-width: 1023.98px) {
    .hch-app {
        display: block;
    }

    .hch-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        width: min(88vw, 320px);
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        transform: translateX(-102%);
        transition: transform 220ms ease;
        box-shadow: var(--hch-shadow-md);
    }

    .hch-drawer-open .hch-sidebar {
        transform: translateX(0);
    }

    .hch-icon-button.hch-sidebar__close,
    .hch-icon-button.hch-topbar__menu {
        display: inline-grid;
    }

    .hch-sidebar-backdrop {
        position: fixed;
        z-index: 1000;
        inset: 0;
        display: block;
        background: rgba(22, 25, 38, 0.42);
        border: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 220ms ease, visibility 220ms ease;
    }

    .hch-sidebar__header {
        padding-top: env(safe-area-inset-top);
    }

    .hch-sidebar__nav {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .hch-sidebar__footer {
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        background: #fff;
    }

    .hch-drawer-open .hch-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.hch-drawer-open {
        overflow: hidden;
    }

    .hch-topbar {
        padding: 0 20px;
    }

    .hch-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-grid--sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-order-summary {
        position: static;
    }

    .hch-dashboard-account-card {
        position: static;
    }

    .hch-auth-shell {
        grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
    }

    .hch-register-shell {
        grid-template-columns: minmax(300px, 34%) minmax(0, 66%);
    }

    .hch-register-intro {
        padding-right: 30px;
        padding-left: 30px;
    }

    .hch-register-brand {
        position: static;
        display: block;
        margin-top: 24px;
    }

    .hch-register-intro__copy h1 {
        font-size: 42px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --hch-topbar-height: 64px;
    }

    .hch-topbar {
        gap: 10px;
        padding: 0 14px;
    }

    .hch-topbar__start {
        min-width: 0;
        flex: 1 1 auto;
    }

    .hch-topbar__actions {
        flex: 0 0 auto;
        gap: 6px;
    }

    .hch-topbar .hch-icon-button,
    .hch-topbar .hch-avatar {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .hch-account-menu,
    .hch-account-trigger {
        width: 42px;
        min-width: 42px;
        flex-basis: 42px;
    }

    .hch-account-trigger {
        justify-content: center;
        padding: 3px;
    }

    .hch-topbar .hch-account-trigger .hch-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .hch-account-trigger__chevron {
        display: none;
    }

    .hch-breadcrumb__parent,
    .hch-breadcrumb__divider,
    .hch-search,
    .hch-topbar__profile {
        display: none;
    }

    .hch-main {
        padding: 24px 15px 40px;
    }

    .hch-app-breadcrumb {
        max-width: calc(100vw - 168px);
        overflow: hidden;
    }

    .hch-app-breadcrumb .breadcrumb-item {
        max-width: 145px;
    }

    .hch-page-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .hch-page-actions,
    .hch-page-actions .hch-button {
        width: 100%;
    }

    .hch-stat-grid,
    .hch-grid--2,
    .hch-form-grid,
    .hch-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-stat-card {
        min-height: 138px;
    }

    .hch-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hch-card__actions,
    .hch-card__actions .hch-button {
        width: 100%;
    }

    .hch-card__header,
    .hch-card__body,
    .hch-card__footer {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hch-app .dataTables_wrapper .listtable {
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .hch-app .dataTables_wrapper .dataTables_filter,
    .hch-app .dataTables_wrapper .dataTables_info {
        grid-column: 1;
    }

    .hch-app .dataTables_wrapper .dataTables_filter {
        grid-row: 1;
        width: 100%;
        padding: 13px;
    }

    .hch-app .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }

    .hch-app .dataTables_wrapper .dataTables_info {
        grid-row: 2;
        padding: 0 13px 13px;
    }

    .hch-app .dataTables_wrapper .table-list,
    .hch-app .dataTables_wrapper table.dataTable {
        grid-row: 3;
    }

    .hch-app .dataTables_wrapper .dataTables_length,
    .hch-app .dataTables_wrapper .dataTables_paginate {
        float: none;
        width: 100%;
        padding-top: 12px;
    }

    .hch-app .dataTables_wrapper .dataTables_paginate .pagination {
        justify-content: flex-start;
    }

    .hch-app .dataTables_wrapper .table-responsive,
    .hch-app .dataTables_wrapper .dataTables_scroll {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hch-button--sm,
    .hch-nav-submenu .hch-sidebar__item {
        min-height: 44px;
    }

    .hch-table--stacked {
        min-width: 0;
    }

    .hch-table--stacked thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .hch-table--stacked,
    .hch-table--stacked tbody,
    .hch-table--stacked tr,
    .hch-table--stacked td {
        display: block;
        width: 100%;
    }

    .hch-table--stacked tr {
        padding: 13px 0;
        border-bottom: 1px solid var(--hch-border);
    }

    .hch-table--stacked tr:last-child {
        border-bottom: 0;
    }

    .hch-table--stacked td {
        display: grid;
        grid-template-columns: minmax(90px, 0.72fr) minmax(0, 1.28fr);
        gap: 12px;
        padding: 5px 0;
        border: 0;
        text-align: right;
        white-space: normal;
    }

    .hch-table--stacked td::before {
        grid-column: 1;
        grid-row: 1 / span 10;
        color: var(--hch-text-muted);
        content: attr(data-label);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-align: left;
        text-transform: uppercase;
    }

    .hch-table--stacked td > * {
        grid-column: 2;
    }

    .hch-table--stacked .hch-table__primary {
        min-width: 0;
    }

    .hch-table--stacked .hch-table__secondary {
        margin-left: auto;
        text-align: right;
    }

    .hch-table--stacked .hch-table__actions {
        text-align: right !important;
    }

    .hch-detail-list__item {
        grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
        gap: 12px;
    }

    .hch-domain-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-domain-search .hch-button {
        width: 100%;
    }

    .hch-ticket-message__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hch-auth-shell {
        display: block;
        min-height: 100vh;
    }

    .hch-auth-shell__intro {
        min-height: auto;
        padding: 24px 20px 30px;
    }

    .hch-auth-intro__copy {
        padding: 42px 0 10px;
    }

    .hch-auth-intro__copy h1 {
        font-size: 34px;
    }

    .hch-auth-intro__copy p {
        margin-top: 13px;
    }

    .hch-auth-intro__footer {
        display: none;
    }

    .hch-auth-shell__main {
        display: block;
        padding: 0 14px 30px;
        background: #171a2c;
    }

    .hch-auth-card {
        width: 100%;
        padding: 25px 19px;
        border-radius: 20px;
    }

    .hch-context-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-app-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hch-register-shell {
        display: block;
        min-height: 100vh;
    }

    .hch-register-intro {
        position: relative;
        min-height: auto;
        height: auto;
        padding: 24px 20px 30px;
    }

    .hch-register-brand {
        margin-top: 22px;
    }

    .hch-register-intro__copy {
        padding: 44px 0 12px;
    }

    .hch-register-intro__copy h1 {
        font-size: 35px;
    }

    .hch-register-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-register-intro .hch-auth-intro__footer {
        display: none;
    }

    .hch-register-content {
        padding: 0 14px 32px;
        background: #4d3cff;
    }

    .hch-register-card {
        padding: 25px 19px;
        border-radius: 20px;
    }

    .hch-register-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-register-grid__full {
        grid-column: auto;
    }
}

@media (max-width: 429.98px) {
    .hch-account-dropdown {
        position: fixed;
        top: calc(var(--hch-topbar-height) + 8px);
        right: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - var(--hch-topbar-height) - 20px);
    }

    .hch-page-title {
        font-size: 26px;
    }

    .hch-stat-grid {
        gap: 12px;
    }

    .hch-stat-card {
        min-height: 128px;
        padding: 15px;
    }

    .hch-stat-card__value {
        margin-top: 13px;
        font-size: 24px;
    }

    .hch-action-grid {
        gap: 10px;
    }

    .hch-action-card {
        min-height: 86px;
    }

    .hch-cart-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .hch-cart-item__price {
        text-align: left;
    }

    .hch-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hch-form-actions .hch-button {
        width: 100%;
    }

    .hch-code-inputs {
        gap: 5px;
    }

    .hch-code-inputs .hch-field {
        min-height: 42px;
        font-size: 17px;
    }

    .hch-register-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-register-heading h2 {
        font-size: 27px;
    }

    .hch-toast-region {
        top: 10px;
        right: 10px;
        width: calc(100vw - 20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hch-app *,
    .hch-auth-shell *,
    .hch-cart-shell *,
    .hch-toast,
    .hch-loading-overlay,
    .hch-sidebar,
    .hch-sidebar-backdrop {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Keep the v2 canvas authoritative over the legacy registration layout above. */
#registration.hch-register-v2 {
    display: block;
    grid-template-columns: none;
    background:
        radial-gradient(circle at 12% 14%, rgba(125, 211, 252, 0.34), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(186, 230, 253, 0.56), transparent 28%),
        radial-gradient(circle at 54% 50%, rgba(224, 242, 254, 0.82), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f0f9ff 54%, #e0f2fe 100%);
}

.hch-registration-page #main-body.hch-register-main {
    background: #f5fbff;
}

/* Service details */

.hch-service-detail {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    color: var(--hch-text);
}

.hch-service-detail > .tab-content {
    margin-bottom: 0 !important;
}

.hch-service-overview-card {
    margin: 0 0 20px;
    background: #fff;
    border: 1px solid #dbeafe !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 48px rgba(2, 132, 199, 0.08);
    overflow: hidden;
}

.hch-service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: clamp(24px, 3.5vw, 38px);
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(120deg, #075985 0%, #0284c7 52%, #38bdf8 100%);
}

.hch-service-identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hch-service-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    color: #0369a1;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 19px;
    font-size: 24px;
    box-shadow: 0 14px 34px rgba(3, 105, 161, 0.2);
}

.hch-service-identity .hch-eyebrow {
    margin: 0 0 5px;
    color: #dff6ff;
}

.hch-service-identity h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.hch-service-domain {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hch-service-domain:hover,
.hch-service-domain:focus {
    color: #fff;
    text-decoration: underline;
}

.hch-service-detail .hch-service-status {
    min-width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 9px 13px;
    color: #075985;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(3, 105, 161, 0.14);
}

.hch-service-detail .hch-service-status .product-status-text {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hch-service-status__dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.hch-service-status.product-status-pending .hch-service-status__dot {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.hch-service-status.product-status-suspended .hch-service-status__dot,
.hch-service-status.product-status-terminated .hch-service-status__dot,
.hch-service-status.product-status-cancelled .hch-service-status__dot,
.hch-service-status.product-status-fraud .hch-service-status__dot {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

.hch-service-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.hch-service-actions .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 9px 14px;
    color: #075985;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 760;
    box-shadow: none;
}

.hch-service-actions .btn:hover,
.hch-service-actions .btn:focus {
    color: #075985;
    background: #f0f9ff;
    border-color: #fff;
}

.hch-service-actions .btn-danger {
    color: #b91c1c;
    background: #fff7f7;
}

.hch-service-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 8px clamp(16px, 2vw, 26px);
    background: #fff;
}

.hch-service-fact {
    min-width: 0;
    padding: 17px 15px;
    border-right: 1px solid #e0f2fe;
}

.hch-service-fact:nth-child(4n),
.hch-service-fact:last-child {
    border-right: 0;
}

.hch-service-fact span {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 9px;
    font-weight: 740;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hch-service-fact span i {
    color: #0ea5e9;
}

.hch-service-fact strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.hch-service-fact--danger {
    background: #fff7f7;
}

.hch-service-fact--danger span,
.hch-service-fact--danger span i,
.hch-service-fact--danger strong {
    color: #b91c1c;
}

.hch-service-hook-output {
    margin: 0 0 18px;
}

.hch-service-hook-output:empty {
    display: none;
}

.hch-service-detail .responsive-tabs-sm {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    margin: 0 0 10px;
    padding: 7px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: var(--hch-shadow-sm);
    overflow-x: auto;
    scrollbar-width: thin;
}

.hch-service-detail .responsive-tabs-sm .nav-item {
    flex: 0 0 auto;
    margin: 0;
}

.hch-service-detail .responsive-tabs-sm .nav-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    color: #475569;
    background: transparent;
    border: 0;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 730;
    white-space: nowrap;
}

.hch-service-detail .responsive-tabs-sm .nav-link:hover {
    color: #0369a1;
    background: #f0f9ff;
}

.hch-service-detail .responsive-tabs-sm .nav-link.active {
    color: #fff;
    background: linear-gradient(110deg, #0284c7, #38bdf8);
    box-shadow: 0 7px 18px rgba(14, 165, 233, 0.18);
}

.hch-service-detail .responsive-tabs-sm-connector {
    display: none !important;
}

.hch-service-detail .product-details-tab-container {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.hch-service-detail .product-details-tab-container > .tab-pane {
    min-width: 0;
    padding: clamp(20px, 3vw, 30px);
}

.hch-service-detail .product-details-tab-container > .tab-pane > .row {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f7;
}

.hch-service-detail .product-details-tab-container > .tab-pane > .row:last-of-type {
    border-bottom: 0;
}

.hch-service-detail .product-details-tab-container > .tab-pane > .row > [class*="col-"] {
    max-width: none;
    padding: 0;
    text-align: left !important;
}

.hch-service-detail .product-details-tab-container strong {
    color: #334155;
    font-size: 11px;
}

.hch-service-detail .module-client-area {
    min-width: 0;
    max-width: 100%;
    margin-top: 18px;
    overflow-x: auto;
}

.hch-service-detail .hch-service-tab--module {
    padding: 16px;
    background: #f8fbff;
}

.hch-service-detail .module-client-area[data-hch-module-layout="ready"],
.hch-service-detail .hch-module-overview-output[data-hch-module-layout="ready"] {
    margin-top: 12px;
    overflow: visible;
    text-align: left !important;
}

.hch-service-detail .hch-module-overview-output {
    min-width: 0;
    max-width: 100%;
}

.hch-module-card-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.hch-module-card-grid .hch-module-card {
    min-width: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #dbeafe !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045) !important;
    overflow: hidden;
}

.hch-module-card--summary {
    grid-column: 1;
}

.hch-module-card--builder {
    grid-column: 2;
}

.hch-module-card--usage,
.hch-module-card--shortcuts {
    grid-column: 1 / -1;
}

.hch-module-card-grid .panel-heading,
.hch-module-card-grid .card-header {
    min-height: 52px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 13px 17px;
    color: #0f172a;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.25;
}

.hch-module-card-grid .panel-heading h1,
.hch-module-card-grid .panel-heading h2,
.hch-module-card-grid .panel-heading h3,
.hch-module-card-grid .panel-heading h4,
.hch-module-card-grid .card-header h1,
.hch-module-card-grid .card-header h2,
.hch-module-card-grid .card-header h3,
.hch-module-card-grid .card-header h4 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.hch-module-card-grid .panel-body,
.hch-module-card-grid .card-body {
    min-width: 0;
    padding: 17px;
}

.hch-module-card-grid .panel-footer,
.hch-module-card-grid .card-footer {
    padding: 12px 17px;
    background: #f8fbff;
    border-top: 1px solid #e2e8f0;
}

.hch-module-card-grid .btn {
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 720;
}

.hch-module-card-grid .btn-primary,
.hch-module-card-grid .btn-info {
    color: #fff;
    background: linear-gradient(110deg, #0284c7, #38bdf8);
    border-color: transparent;
}

.hch-module-card-grid img {
    max-width: 100%;
    height: auto;
}

.hch-module-card--usage .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.hch-module-card--usage .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 14px;
    background: #f8fbff;
    border: 1px solid #e0f2fe;
    border-radius: 12px;
    text-align: center;
}

.hch-module-card--usage canvas,
.hch-module-card--usage svg {
    max-width: 100%;
}

.hch-module-card--shortcuts .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.hch-module-card--shortcuts .row > [class*="col-"] {
    width: auto;
    max-width: none;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #f8fbff;
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: center;
    transition: border-color var(--hch-transition), background var(--hch-transition), transform var(--hch-transition);
}

.hch-module-card--shortcuts .row > [class*="col-"]:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    transform: translateY(-1px);
}

.hch-module-card--shortcuts a {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #334155;
    font-size: 10px;
    font-weight: 680;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hch-module-card--shortcuts a:hover {
    color: #0284c7;
    text-decoration: none;
}

.hch-module-card--shortcuts img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.hch-service-detail .module-client-area[data-hch-module-layout="ready"] > .btn,
.hch-service-detail .module-client-area[data-hch-module-layout="ready"] > a.btn,
.hch-service-detail .hch-module-overview-output[data-hch-module-layout="ready"] > .btn,
.hch-service-detail .hch-module-overview-output[data-hch-module-layout="ready"] > a.btn {
    margin-top: 12px;
}

.hch-service-detail #tabDownloads,
.hch-service-detail #tabAddons,
.hch-service-detail #tabChangepw {
    padding: clamp(20px, 3vw, 30px);
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.hch-service-detail #tabDownloads > h3,
.hch-service-detail #tabAddons > h3,
.hch-service-detail #tabChangepw .card-title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 780;
}

.hch-service-detail #tabDownloads > .row > [class*="col-"],
.hch-service-detail #tabAddons > .row > [class*="col-"] {
    max-width: none;
    flex: 0 0 100%;
    margin: 0;
    padding: 0;
}

.hch-service-detail #tabDownloads > .row > [class*="col-"] {
    margin-top: 12px;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid #e0f2fe;
    border-radius: 13px;
}

.hch-service-detail #tabAddons .card,
.hch-service-detail #tabChangepw > .card {
    border-color: #dbeafe;
    border-radius: 14px;
    box-shadow: none;
}

.hch-service-detail #tabChangepw > .card {
    margin: 0;
    border: 0;
}

.hch-service-detail #tabChangepw > .card > .card-body {
    padding: 0;
}

.hch-service-detail #tabChangepw .form-control {
    min-height: 44px;
    border-color: #cbd5e1;
    border-radius: 10px;
}

@media (max-width: 1023.98px) {
    .hch-service-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-service-fact:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 767.98px) {
    .hch-service-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-service-status {
        justify-self: start;
    }

    .hch-service-actions .btn {
        flex: 1 1 calc(50% - 5px);
    }

    .hch-service-detail .product-details-tab-container > .tab-pane > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .hch-service-detail #tabChangepw .form-group.row {
        gap: 8px;
    }

    .hch-service-detail #tabChangepw [class*="col-xl-"] {
        max-width: none;
        flex: 0 0 100%;
        margin-left: 0;
    }

    .hch-module-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hch-module-card--summary,
    .hch-module-card--builder,
    .hch-module-card--usage,
    .hch-module-card--shortcuts {
        grid-column: 1;
    }

    .hch-module-card--shortcuts .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .hch-service-identity {
        align-items: flex-start;
    }

    .hch-service-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
        font-size: 18px;
    }

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

    .hch-service-fact,
    .hch-service-fact:nth-child(2n),
    .hch-service-fact:nth-child(4n) {
        border-right: 0;
        border-bottom: 1px solid #e0f2fe;
    }

    .hch-service-fact:last-child {
        border-bottom: 0;
    }

    .hch-service-actions .btn {
        flex-basis: 100%;
    }

    .hch-service-detail .hch-service-tab--module {
        padding: 10px;
    }

    .hch-module-card--usage .row,
    .hch-module-card--shortcuts .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hch-module-card--usage .row > [class*="col-"] {
        padding: 10px;
    }
}

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

@keyframes hch-shimmer {
    to { transform: translateX(100%); }
}

@keyframes hch-toast-in {
    from { opacity: 0; transform: translateY(-8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hch-toast-out {
    to { opacity: 0; transform: translateX(12px) scale(.98); }
}
