/* Workspace presentation. Uses the existing ZentHost colour tokens. */
.zh-saas-theme .zh-user-chip {
    margin: 24px 0 20px;
    padding: 14px;
    border: 1px solid var(--zh-line);
    border-radius: 16px;
    background: var(--zh-soft);
    align-items: center;
}
.zh-side-panel .zh-work-nav { gap: 18px; }
.zh-nav-section { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--zh-line); }
.zh-nav-section:last-child { border-bottom: 0; padding-bottom: 0; }
.zh-side-panel .zh-nav-section p { margin: 0 12px 10px; font-size: 10px; letter-spacing: .12em; }
.zh-side-panel .zh-nav-section a {
    position: relative;
    min-height: 48px;
    margin: 3px 0;
    padding: 10px 12px;
    gap: 12px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.35;
    transition: background .15s ease, box-shadow .15s ease;
}
.zh-side-panel .zh-nav-section a i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--zh-soft);
    font-size: 15px;
}
.zh-side-panel .zh-nav-section a.active { box-shadow: 0 8px 20px rgba(40,70,255,.18); }
.zh-side-panel .zh-nav-section a.active i,
.zh-side-panel .zh-nav-section a:hover i { background: rgba(255,255,255,.16); color: #fff; }
.zh-side-panel .zh-nav-section a:focus-visible,
.zh-dashboard-shortcuts a:focus-visible { outline: 3px solid var(--zh-blue); outline-offset: 3px; }

.zh-saas-theme .zh-dashboard-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr);
    align-items: center;
    gap: 28px;
    padding: clamp(24px, 3vw, 42px);
    margin-bottom: 26px;
    border: 1px solid var(--zh-line);
    border-radius: 24px;
    background: linear-gradient(125deg, #fff 30%, var(--zh-soft));
    box-shadow: var(--zh-shadow-soft);
}
.zh-dashboard-intro-copy { min-width: 0; }
.zh-dashboard-intro .zh-dashboard-kicker {
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--zh-muted);
}
.zh-dashboard-intro h2 { margin: 0 0 18px; font-size: clamp(30px, 3.15vw, 48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 850; color: var(--zh-ink); }
.zh-dashboard-intro h2 span { color: var(--zh-blue); }
.zh-dashboard-intro-copy > p:last-child { max-width: 380px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--zh-muted); }
.zh-dashboard-shortcuts { display: grid; gap: 10px; min-width: 0; }
.zh-dashboard-shortcuts a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 14px;
    border: 1px solid var(--zh-line);
    border-radius: 16px;
    background: #fff;
    color: var(--zh-ink);
    text-decoration: none;
}
.zh-dashboard-shortcuts a > i:first-child { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--zh-blue); background: var(--zh-soft); }
.zh-dashboard-shortcuts a > i:last-child { color: var(--zh-muted); font-size: 12px; }
.zh-dashboard-shortcuts strong, .zh-dashboard-shortcuts small { display: block; }
.zh-dashboard-shortcuts strong { font-size: 14px; }
.zh-dashboard-shortcuts small { margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--zh-muted); }
.zh-dashboard-shortcuts a:hover { border-color: var(--zh-blue); box-shadow: var(--zh-shadow-soft); }

.zh-saas-theme .tiles.zh-dashboard-stats > .row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px; }
.zh-saas-theme .zh-dashboard-stats .tile { flex-direction: column; align-items: flex-start !important; gap: 22px !important; min-height: 178px !important; border-radius: 18px !important; padding: 22px !important; }
.zh-saas-theme .zh-dashboard-stats .tile > i { position: static !important; order: 0; width: 40px !important; height: 40px !important; flex-basis: 40px !important; border-radius: 12px; }
.zh-saas-theme .zh-dashboard-stats .stat { font-size: 38px !important; font-variant-numeric: tabular-nums; }
.zh-saas-theme .zh-dashboard-stats .title { font-size: 12px; line-height: 1.4; }
.zh-saas-theme .zh-home-panels .card { border-radius: 18px; overflow: hidden; }

.zh-saas-theme .zh-mini-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 48px;
    padding: 24px 4px 12px;
    border-top: 1px solid var(--zh-line);
    color: var(--zh-muted);
    font-size: 12px;
    line-height: 1.7;
}
.zh-mini-footer span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.zh-mini-footer span:last-child::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--zh-blue); }

@media (max-width: 1280px) {
    .zh-saas-theme .zh-dashboard-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .zh-dashboard-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zh-dashboard-shortcuts a { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
    .zh-dashboard-shortcuts a > i:last-child { display: none; }
}
@media (max-width: 1180px) {
    .zh-saas-theme .tiles.zh-dashboard-stats > .row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 960px) {
    .zh-saas-theme.zh-is-logged-in .zh-side-panel .zh-nav-section a { min-height: 56px !important; padding: 10px 12px !important; font-size: 16px !important; gap: 12px !important; }
    .zh-saas-theme.zh-is-logged-in .zh-side-panel .zh-nav-section a i { width: 36px !important; height: 36px !important; flex-basis: 36px; font-size: 17px !important; }
    .zh-saas-theme.zh-is-logged-in .zh-side-panel .zh-nav-section p { margin: 0 12px 10px !important; font-size: 11px !important; }
    .zh-saas-theme .zh-dashboard-intro { padding: 24px; border-radius: 20px; }
    .zh-saas-theme .zh-mini-footer { margin-top: 36px; padding-top: 22px; }
}
@media (max-width: 600px) {
    .zh-dashboard-shortcuts { grid-template-columns: minmax(0, 1fr); }
    .zh-dashboard-shortcuts a { grid-template-columns: 38px minmax(0, 1fr) 16px; min-height: 70px; align-items: center; }
    .zh-dashboard-shortcuts a > i:last-child { display: block; }
    .zh-dashboard-intro h2 { font-size: clamp(27px, 7.4vw, 38px); }
    .zh-saas-theme .zh-dashboard-stats .tile { min-height: 156px !important; padding: 16px !important; gap: 16px !important; }
    .zh-saas-theme .zh-dashboard-stats .stat { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .zh-side-panel .zh-nav-section a { transition: none; }
}

/* Standard client tables: keep WHMCS sorting, filters and pagination. */
.zh-saas-theme .dataTables_wrapper { min-width: 0; font-size: 14px; }
.zh-saas-theme .zh-table-toolbar, .zh-saas-theme .zh-table-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 0; }
.zh-saas-theme .zh-table-toolbar > *, .zh-saas-theme .zh-table-footer > * { float: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
.zh-saas-theme .zh-table-toolbar label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--zh-muted); font-size: 13px; font-weight: 500; }
.zh-saas-theme .zh-table-toolbar input, .zh-saas-theme .zh-table-toolbar select { height: 40px !important; min-height: 40px !important; border: 1px solid #dce1eb !important; border-radius: 8px !important; background: #fff !important; padding: 8px 12px !important; box-shadow: none !important; }
.zh-saas-theme .zh-table-toolbar input { width: 220px !important; max-width: 100%; margin: 0 !important; }
.zh-saas-theme .zh-table-toolbar select { width: auto !important; }
.zh-saas-theme .zh-table-scroll { width: 100%; overflow-x: auto; border: 1px solid #e1e5ef; border-radius: 12px; }
.zh-saas-theme.zh-is-logged-in .zh-table-scroll table.table-list { width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; border-collapse: collapse !important; box-shadow: none !important; font-size: 14px; }
.zh-saas-theme.zh-is-logged-in table.table-list thead th { padding: 14px 28px 14px 16px !important; background: #f5f6fa !important; color: #535d70 !important; font-size: 12px; font-weight: 600 !important; white-space: nowrap; }
.zh-saas-theme.zh-is-logged-in table.table-list tbody td { padding: 16px !important; border-bottom: 1px solid #edf0f5 !important; vertical-align: middle; line-height: 1.5; font-weight: 400; }
.zh-saas-theme.zh-is-logged-in table.table-list tbody tr:last-child td { border-bottom: 0 !important; }
.zh-saas-theme.zh-is-logged-in table.table-list tbody tr:hover td { background: #f8f9ff !important; }
.zh-saas-theme #tableServicesList { min-width: 760px; }
.zh-saas-theme #tableServicesList th:first-child, .zh-saas-theme #tableServicesList td:first-child { width: 42px; padding-left: 12px !important; padding-right: 0 !important; }
.zh-saas-theme #tableServicesList .zh-service-name { min-width: 210px; }
.zh-saas-theme #tableServicesList .zh-service-link { color: var(--zh-ink) !important; font-size: 14px; font-weight: 600 !important; }
.zh-saas-theme #tableServicesList .zh-service-domain { color: var(--zh-blue) !important; font-size: 13px; font-weight: 400 !important; overflow-wrap: anywhere; }
.zh-saas-theme #tableServicesList a:hover { text-decoration: underline; }
.zh-saas-theme #tableServicesList .zh-service-price, .zh-saas-theme #tableServicesList th:nth-child(3) { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zh-saas-theme #tableServicesList .zh-service-price small { display: block; margin-top: 2px; font-size: 12px; }
.zh-saas-theme #tableServicesList .zh-service-date { white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
.zh-saas-theme #tableServicesList .zh-service-status { text-align: left !important; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status { display: inline-flex; align-items: center; border-radius: 6px !important; padding: 5px 9px !important; font-size: 12px !important; line-height: 1.4; font-weight: 600 !important; white-space: nowrap; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-active, .zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-paid { color: #176341 !important; background: #eaf6ef !important; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-suspended, .zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-pending { color: #85500c !important; background: #fff4dc !important; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-unpaid, .zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-overdue { color: #a52c35 !important; background: #ffedef !important; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-cancelled, .zh-saas-theme.zh-is-logged-in .zh-content-surface table.table-list .status-terminated { color: #586173 !important; background: #edf0f4 !important; }
.zh-saas-theme .zh-table-footer .dataTables_info { color: var(--zh-muted); font-size: 13px; }
.zh-saas-theme .zh-table-footer .pagination { margin: 0; gap: 4px; }
.zh-saas-theme .zh-table-footer .pagination a, .zh-saas-theme .zh-table-footer .paginate_button { border-radius: 7px !important; font-size: 13px; font-weight: 500 !important; }
.zh-saas-theme .zh-table-footer .page-item.active .page-link, .zh-saas-theme .zh-table-footer li.active a, .zh-saas-theme .zh-table-footer .paginate_button.current { background: var(--zh-blue) !important; border-color: var(--zh-blue) !important; color: #fff !important; }
.zh-saas-theme .zhr-wrap .zhr-offer { padding: 28px 32px; border-radius: 18px; color: #fff !important; box-shadow: none !important; }
.zh-saas-theme .zhr-wrap .zhr-offer span { color: #fff !important; opacity: .9; }
@media (max-width: 600px) {
    .zh-saas-theme .zh-table-toolbar { align-items: stretch; }
    .zh-saas-theme .zh-table-toolbar .dataTables_filter { width: 100% !important; }
    .zh-saas-theme .zh-table-toolbar .dataTables_filter label { justify-content: space-between; }
    .zh-saas-theme .zh-table-toolbar input { flex: 1; min-width: 0; }
    .zh-saas-theme .zhr-wrap .zhr-offer { padding: 24px; }
}

/* A shared, visible brand introduction for every authentication screen. */
.zh-saas-theme .zh-auth-brand { background: #f5f6ff !important; }
.zh-saas-theme .zh-auth-logo { align-self: flex-start; margin-bottom: 28px; }
.zh-saas-theme .zh-auth-logo img { width: 190px; max-width: 100%; height: auto; }
.zh-saas-theme .zh-auth-brand h1 { color: var(--zh-blue); font-weight: 800; letter-spacing: -.045em; }
.zh-saas-theme .zh-auth-points span { background: #fff; font-size: 13px; font-weight: 600; }
.zh-saas-theme .zh-auth-points i { color: var(--zh-blue); }
.zh-saas-theme .zh-auth-explore { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; margin-top: 26px; color: var(--zh-blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.zh-saas-theme .zh-auth-explore:hover { text-decoration: underline; }
.zh-saas-theme .zh-auth-explore:focus-visible { outline: 2px solid var(--zh-blue); outline-offset: 5px; }
@media (max-width: 1100px) {
    .zh-saas-theme .zh-auth-page { padding-top: 16px; }
    .zh-saas-theme .zh-auth-brand { display: flex !important; min-height: 0; padding: 26px 24px; border: 1px solid var(--zh-line); border-bottom: 0; border-radius: 20px 20px 0 0; box-shadow: none !important; }
    .zh-saas-theme .zh-auth-logo { margin-bottom: 18px; }
    .zh-saas-theme .zh-auth-logo img { width: 156px; }
    .zh-saas-theme .zh-auth-brand .zh-eyebrow { margin: 0 0 10px; font-size: 9px; letter-spacing: .1em; }
    .zh-saas-theme .zh-auth-brand h1 { margin: 0 0 12px; max-width: none; font-size: 32px !important; line-height: 1.08; }
    .zh-saas-theme .zh-auth-copy { max-width: 520px; margin: 0; font-size: 13px; line-height: 1.65; }
    .zh-saas-theme .zh-auth-points { display: none; }
    .zh-saas-theme .zh-auth-explore { margin-top: 16px; font-size: 12px; }
    .zh-saas-theme .zh-auth-panel { border-radius: 0 0 20px 20px; border-top: 3px solid var(--zh-blue); }
}

/* Referral workspace: neutral surfaces, logo-blue actions, no dark gradients. */
.zh-saas-theme .zh-referral-hero,
.zh-saas-theme .zh-referral-reward-card,
.zh-saas-theme .zh-dashboard-refer {
    background: #f5f6ff !important;
    color: var(--zh-ink) !important;
    border: 1px solid var(--zh-line);
    box-shadow: var(--zh-shadow-soft);
}
.zh-saas-theme .zh-referral-hero h2,
.zh-saas-theme .zh-referral-reward-copy h3,
.zh-saas-theme .zh-dashboard-refer h3 { color: var(--zh-ink) !important; }
.zh-saas-theme .zh-referral-hero p,
.zh-saas-theme .zh-referral-reward-copy p,
.zh-saas-theme .zh-dashboard-refer p,
.zh-saas-theme .zh-referral-link-card small,
.zh-saas-theme .zh-referral-discount-code span { color: var(--zh-muted) !important; }
.zh-saas-theme .zh-referral-kicker,
.zh-saas-theme .zh-referral-progress strong,
.zh-saas-theme .zh-referral-discount-code strong { color: var(--zh-blue) !important; }
.zh-saas-theme .zh-referral-link-card { background: #fff; border-color: var(--zh-line); }
.zh-saas-theme .zh-referral-link-copy input { background: #f8f9fc; color: var(--zh-ink); border-color: var(--zh-line); font-weight: 500; }
.zh-saas-theme .zh-referral-link-copy button { background: var(--zh-blue); }
.zh-saas-theme .zh-referral-discount-code { background: #f5f6ff; border-color: var(--zh-line); grid-template-columns: minmax(0,1fr); gap: 6px; }
.zh-saas-theme .zh-referral-progress span { background: #dfe3f5; }
.zh-saas-theme .zh-referral-progress i { background: var(--zh-blue); }
.zh-saas-theme .zh-referral-discount-code em { color: var(--zh-muted); }
.zh-saas-theme .zh-referral-hero, .zh-saas-theme .zh-referral-reward-card, .zh-saas-theme .zh-dashboard-refer { background: #fff !important; }
.zh-saas-theme .zh-referral-link-card, .zh-saas-theme .zh-referral-discount-code { background: #f4f8ff; }
.zh-saas-theme .zh-referral-stat small { overflow-wrap: anywhere; }

/* Final shared presentation across client, support and account screens. */
body.zh-saas-theme { --zh-blue: #0000ff; --zh-blue-dark: #0000cc; --zh-radius: 14px; }
.zh-saas-theme .zh-content-surface { min-width: 0; }
.zh-saas-theme .zh-content-surface :is(.card, .panel, .tab-content, .card-body, .panel-body) { min-width: 0; }
.zh-saas-theme .zh-content-surface :is(.card, .panel) { border-radius: 16px !important; box-shadow: 0 5px 20px rgba(12,20,40,.045) !important; }
.zh-saas-theme .zh-content-surface :is(.card-header, .panel-heading) { padding: 18px 20px; border-bottom: 1px solid #edf0f5; }
.zh-saas-theme .zh-content-surface :is(.card-title, .panel-title) { line-height: 1.4; }
.zh-saas-theme .btn { border-radius: 9px; white-space: normal; overflow-wrap: anywhere; }
.zh-saas-theme .btn-primary { background: var(--zh-blue) !important; border-color: var(--zh-blue) !important; }
.zh-saas-theme .btn-primary:hover { background: var(--zh-blue-dark) !important; }
.zh-saas-theme :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--zh-blue); outline-offset: 3px; }
.zh-saas-theme :is(input, select, textarea).form-control { max-width: 100%; border-radius: 9px; }
.zh-saas-theme .zh-content-surface :is(p, .list-group-item, .alert) { overflow-wrap: anywhere; }
.zh-saas-theme .zh-content-surface .nav-tabs { flex-wrap: wrap; gap: 4px; }
.zh-saas-theme .zh-content-surface .nav-tabs .nav-link { padding: 12px 16px; }
.zh-saas-theme .zh-table-scroll table { min-width: 620px; }
.zh-saas-theme .zh-email-history__notice,
.zh-saas-theme .zh-security-card--pin,
.zh-saas-theme .zh-reseller-overview__card--featured { background: #fff !important; color: var(--zh-ink) !important; }
.zh-saas-theme .zh-email-history__notice span,
.zh-saas-theme .zh-security-card--pin p,
.zh-saas-theme .zh-reseller-overview__card--featured span { color: var(--zh-muted) !important; }
.zh-saas-theme .zh-security-card--pin h2,
.zh-saas-theme .zh-reseller-overview__card--featured strong { color: var(--zh-ink) !important; }
.zh-saas-theme .zh-email-history__notice i,
.zh-saas-theme .zh-reseller-overview__card--featured i { background: #eef3ff; color: var(--zh-blue); }
.zh-saas-theme .zh-security-card--pin .zh-security-kicker { color: var(--zh-blue); }
.zh-saas-theme .zh-support-pin-value code { background: #f4f8ff; color: var(--zh-ink); border-color: var(--zh-line); max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.zh-saas-theme .zh-email-history__toolbar { flex-wrap: wrap; }
.zh-saas-theme .zh-email-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; }
.zh-saas-theme .zh-email-tabs button { min-width: 0; padding: 12px 8px; }
@media (max-width: 600px) {
    .zh-saas-theme .zh-content-surface :is(.card-body, .panel-body) { padding: 18px; }
    .zh-saas-theme .zh-content-surface .btn-group { flex-wrap: wrap; gap: 6px; }
    .zh-saas-theme .zh-content-surface .btn-group > .btn { margin-left: 0; border-radius: 8px !important; }
    .zh-saas-theme .zh-content-surface .pagination { flex-wrap: wrap; }
    .zh-saas-theme .zh-content-surface .modal-dialog { margin: 12px; width: auto; }
    .zh-saas-theme .zh-content-surface .btn:not(.btn-sm) { min-height: 44px; }
    .zh-saas-theme .zh-email-history__toolbar { gap: 10px; }
    .zh-saas-theme .zh-email-tabs { flex-basis: 100%; }
    .zh-saas-theme .zh-security-card { padding: 20px; }
}
.zh-saas-theme.zh-is-logged-in .zh-content-surface .btn-primary { background: #0000ff !important; border-color: #0000ff !important; box-shadow: none !important; }
.zh-saas-theme.zh-is-logged-in .zh-content-surface .btn-primary:hover { background: #0000cc !important; }

/* Overview service discovery. Self-contained assets and WHMCS store links. */
.zh-service-discovery { margin-top: 32px; }
.zh-discovery-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.zh-discovery-kicker { color: var(--zh-blue); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.zh-discovery-heading h2, .zh-overview-reseller h2 { font-size: clamp(25px,2.6vw,36px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 12px; color: var(--zh-ink); }
.zh-discovery-heading p:not(.zh-discovery-kicker), .zh-overview-reseller-copy > p:not(.zh-discovery-kicker) { color: var(--zh-muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.zh-discovery-heading > a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.zh-discovery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.zh-discovery-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--zh-line); border-radius: 18px; overflow: hidden; }
.zh-discovery-art { display: grid; place-items: center; height: 142px; background: #f4f8ff; border-bottom: 1px solid #edf1fa; }
.zh-discovery-art img { width: 156px; height: 104px; object-fit: contain; }
.zh-discovery-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.zh-discovery-card-body > span { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--zh-muted); }
.zh-discovery-card h3 { margin: 9px 0 12px; font-size: 20px; line-height: 1.3; color: var(--zh-ink); }
.zh-discovery-card p { margin: 0 0 22px; font-size: 13px; line-height: 1.75; color: var(--zh-muted); }
.zh-discovery-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; border-top: 1px solid #edf1fa; padding-top: 14px; font-size: 12px; font-weight: 650; }
.zh-discovery-card a:hover { text-decoration: underline; }
.zh-overview-reseller { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); align-items: center; gap: 30px; margin-top: 28px; padding: clamp(24px,3vw,40px); background: #fff; border: 1px solid var(--zh-line); border-radius: 20px; }
.zh-reseller-store-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.zh-reseller-store-links .btn { min-height: 44px; padding: 12px 16px; font-size: 13px; }
.zh-reseller-hub-link { font-size: 12px; font-weight: 600; }
.zh-reseller-illustration { display: grid; place-items: center; gap: 18px; padding: 26px; background: #f4f8ff; border-radius: 16px; }
.zh-reseller-illustration img { width: 100%; max-width: 240px; height: auto; }
.zh-reseller-illustration span { text-align: center; font-size: 12px; color: var(--zh-muted); }
@media(max-width:1180px) { .zh-discovery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .zh-discovery-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .zh-discovery-card-body { padding: 22px; }
 .zh-discovery-art { height: 120px; }
 .zh-overview-reseller { grid-template-columns: minmax(0,1fr); }
 .zh-reseller-store-links { flex-direction: column; }
 .zh-reseller-illustration { display: none; }
}

/* Overview promotions remain distinct from the removed legacy account panels. */
.zh-overview-channels { margin-top: 32px; }
.zh-channel-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.zh-channel-grid > a { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--zh-line); border-radius: 16px; background: #fff; color: var(--zh-ink); text-decoration: none; }
.zh-channel-grid i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: #eef3ff; color: var(--zh-blue); font-size: 20px; }
.zh-channel-grid strong { font-size: 17px; line-height: 1.4; }
.zh-channel-grid span { margin: 10px 0 20px; color: var(--zh-muted); font-size: 13px; line-height: 1.7; }
.zh-channel-grid b { margin-top: auto; color: var(--zh-blue); font-size: 12px; }
.zh-channel-grid a:hover { border-color: var(--zh-blue); }
.zh-overview-rewards { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(24px,3vw,36px); margin-top: 28px; background: #f4f8ff; border: 1px solid var(--zh-line); border-radius: 20px; }
.zh-overview-rewards > div { flex: 1; min-width: 0; }
.zh-overview-rewards h2 { margin: 0 0 12px; color: var(--zh-ink); font-size: clamp(25px,2.5vw,34px); line-height: 1.2; }
.zh-overview-rewards p:not(.zh-discovery-kicker) { margin: 0; color: var(--zh-muted); font-size: 14px; line-height: 1.75; }
.zh-overview-rewards > a { flex-shrink: 0; padding: 14px 18px; }
@media(max-width:1180px) { .zh-channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .zh-channel-grid { grid-template-columns: minmax(0,1fr); } .zh-overview-rewards { flex-direction: column; align-items: stretch; } }
.zh-discovery-art img[src*="domains-brand"], .zh-discovery-art img[src*="mail-brand"] { width: 250px; max-width: 90%; height: 125px; }
.zh-discovery-art img[src*="vps-brand"] { width: 100px; height: 100px; }
.zh-discovery-art.zh-license-brands { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; padding: 24px; }
.zh-license-brands img { width: 95px; height: 42px; object-fit: contain; max-width: 42%; }
