/* *****************************************************

    ** ZolaHost theme (child of Nexus) **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;

    /* Brand shades: neutral zinc for now, until the new brand colours are chosen.
       Swap these eleven values (light to dark) to re-brand the whole client area. */
    --primary-50: #fafafa;
    --primary-100: #f4f4f5;
    --primary-200: #e4e4e7;
    --primary-300: #d4d4d8;
    --primary-400: #a1a1aa;
    --primary-500: #71717a;
    --primary-600: #52525b;
    --primary-700: #3f3f46;
    --primary-800: #27272a;
    --primary-900: #18181b;
    --primary-950: #09090b;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--primary-800);
    --primary-lifted: var(--primary-700);
    --primary-accented: var(--primary-900);

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #0b8a4b;
    --success-lifted: #08733e;
    --success-accented: #016630;

    /* Info colors */
    --info: #0552ac;
    --info-lifted: #044590;
    --info-accented: #033872;

    /* Notice colors */
    --notice: var(--neutral-700);
    --notice-lifted: var(--neutral-800);
    --notice-accented: var(--neutral-900);

    /* Warning colors */
    --warning: #b45309;
    --warning-lifted: #92400e;
    --warning-accented: #78350f;

    /* Error colors */
    --error: #c8102e;
    --error-lifted: #a50d26;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--primary-600);
    --grayscale-lifted: var(--primary-700);
    --grayscale-accented: var(--primary-800);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--primary-800);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.375rem;
    --rounding-md: 0.625rem;
    --rounding-lg: 0.875rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* =====================================================
   ZolaHost
   Brand: neutral zinc for now (the logo keeps its own colours until it is redesigned)
   ===================================================== */

/* Figtree, self-hosted (SIL Open Font License 1.1). Variable weight 400-700. */
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Figtree";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Figtree";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --zh-font: "Figtree", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --zh-ink: var(--neutral-900);
    --zh-line: var(--neutral-200);
    --zh-rail-bg: var(--neutral-100);
    --zh-rail-w: 256px;
    --zh-bar-h: 64px;
    --zh-gutter: 32px;
    /* Page column. On wide screens the menu and the page sit together in the middle of the screen:
       the space beside them is split left and right, and the top bar and footer end where the page ends. */
    --zh-content-w: 1200px;
    --zh-col-pad: max(var(--zh-gutter), calc(100% - var(--zh-content-w) + var(--zh-gutter)));
    --zh-focus: 0 0 0 3px rgba(39, 39, 42, 0.2);
    --zh-pop: 0 12px 28px rgba(24, 24, 27, 0.12);
}

/* ---------- Base ---------- */

html {
    font-size: 15px;
    background-color: var(--bg);
}

body.zh,
body.zh .btn,
body.zh .form-control,
body.zh .popover,
body.zh .tooltip,
body.zh h1, body.zh h2, body.zh h3, body.zh h4, body.zh h5, body.zh h6 {
    font-family: var(--zh-font);
}

body.zh {
    color: var(--zh-ink);
    background-color: var(--bg);
    font-feature-settings: "tnum" 1;
    -webkit-font-smoothing: antialiased;
}

body.zh h1, body.zh h2, body.zh h3 {
    letter-spacing: -0.015em;
    font-weight: 650;
}

/* Kept at element specificity so buttons, nav items and list links keep their own colours */
a {
    color: var(--primary);
}
a:hover {
    color: var(--primary-accented);
}

body.zh a:focus-visible,
body.zh button:focus-visible,
body.zh .btn:focus-visible,
body.zh .form-control:focus {
    outline: 0;
    box-shadow: var(--zh-focus) !important;
}
body.zh .form-control:focus {
    border-color: var(--primary-400);
}

/* ---------- App shell ---------- */

.zh-app {
    display: flex;
    min-height: 100vh;
    /* Wide screens: half the spare width goes before the menu, so menu and page are centred as one block
       (the page's own right gutter counts as part of the space on the right). */
    padding-left: max(0px, calc((100% - var(--zh-rail-w) - var(--zh-content-w) + var(--zh-gutter)) / 2));
}
body.zh-auth .zh-app {
    padding-left: 0;
}
/* The page column takes all the width the menu leaves. Without this it is only as wide as its content:
   short pages (account details, quotes, cart) came out narrower than the rest, and the sign-in pages,
   which have no menu, sat on the left of the screen. */
.zh-main {
    flex: 1 1 0%;
}
/* ---------- Sidebar: menu only ---------- */

.zh-rail {
    position: sticky;
    top: 0;
    z-index: 1040;
    flex: 0 0 var(--zh-rail-w);
    width: var(--zh-rail-w);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--zh-rail-bg);
    border-right: 1px solid var(--zh-line);
}

.zh-brand {
    flex: none;
    display: flex;
    align-items: center;
    height: var(--zh-bar-h);
    padding: 0 22px;
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-ink);
    text-decoration: none;
}
.zh-brand .logo-img,
.zh-topbar-brand .logo-img {
    display: block;
    max-height: 34px;
    max-width: 180px;
}

.zh-rail-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 10px 12px 24px;
    scrollbar-width: thin;
}

.zh-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.zh-nav-item {
    margin-bottom: 2px;
}

body.zh .zh-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--neutral-700);
    text-decoration: none;
    cursor: pointer;
}
.zh-nav-icon {
    flex: none;
    font-size: 15px;
    color: var(--neutral-500);
}
.zh-nav-label {
    flex: 1 1 auto;
    min-width: 0;
}
body.zh .zh-nav-link:hover {
    background-color: rgba(24, 24, 27, 0.05);
    color: var(--zh-ink);
}
/* Current page */
body.zh .zh-nav-item.is-current > .zh-nav-link,
body.zh .zh-nav-link.is-active {
    background-color: var(--bg);
    color: var(--primary-800);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--zh-line), 0 1px 2px rgba(24, 24, 27, 0.06);
}
.zh-nav-item.is-current > .zh-nav-link .zh-nav-icon,
.zh-nav-link.is-active .zh-nav-icon {
    color: var(--primary);
}

.zh-rail .badge {
    flex: none;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-800);
    background-color: var(--primary-100);
}

.zh-rail-backdrop {
    display: none;
}

/* ---------- Top bar ---------- */

body.zh header.zh-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    flex: none;
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--zh-bar-h);
    padding: 0 var(--zh-col-pad) 0 var(--zh-gutter);
    /* Bottom line drawn only as far as the page column, so it stops where the page does. */
    background: linear-gradient(var(--zh-line), var(--zh-line)) left bottom / min(100%, var(--zh-content-w)) 1px no-repeat, var(--bg);
}

body.zh .zh-tool.zh-rail-toggle,
.zh-topbar-brand {
    display: none;
}

body.zh .zh-crumbs,
body.zh .zh-crumbs .breadcrumb {
    background: transparent;
}
body.zh .zh-crumbs .breadcrumb {
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
}
body.zh .zh-crumbs .breadcrumb a {
    color: var(--text-lifted);
}
body.zh .zh-crumbs .breadcrumb .breadcrumb-item.active {
    color: var(--neutral-700);
}

.zh-search-form {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
body.zh header.zh-topbar .search {
    width: 100%;
    max-width: 380px;
    flex-wrap: nowrap;
    background-color: var(--neutral-100);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 6px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
body.zh header.zh-topbar .search .form-control {
    height: 36px;
    padding-left: 2px;
    border: 0;
    background: transparent;
    box-shadow: none !important;
}
body.zh header.zh-topbar .search .btn {
    border: 0;
    background: transparent;
    color: var(--text-lifted);
}
body.zh header.zh-topbar .search:focus-within {
    background-color: var(--bg);
    border-color: var(--primary-400);
    box-shadow: var(--zh-focus);
}

/* Hosting and domain search results */
.zh-find {
    position: relative;
}
.zh-find-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1040;
    width: 100%;
    max-width: 380px;
    max-height: min(420px, 70vh);
    overflow-y: auto;
    padding: 6px;
    background: var(--bg);
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    box-shadow: var(--zh-pop);
}
.zh-find-group {
    padding: 8px 10px 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh .zh-find-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--rounding-sm);
    color: var(--zh-ink);
    text-decoration: none;
}
body.zh .zh-find-item > i {
    flex: none;
    color: var(--text-lifted);
}
body.zh .zh-find-item:hover,
body.zh .zh-find-item.is-active {
    background: var(--primary-50);
}
.zh-find-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.zh-find-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zh-find-detail {
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-find-item .label {
    flex: none;
}
.zh-find-note {
    margin: 0;
    padding: 10px;
    font-size: 14px;
    color: var(--text-lifted);
}
body.zh header.zh-topbar .search input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.zh-tools {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.zh .zh-tool {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    color: var(--neutral-600);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}
body.zh .zh-tool:hover {
    background-color: var(--neutral-100);
    color: var(--zh-ink);
}
.zh-count {
    position: absolute;
    top: -1px;
    right: -3px;
    min-width: 17px;
    padding: 3px 5px;
    border: 2px solid var(--bg);
    border-radius: 999px;
    box-sizing: content-box;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #fff;
    background-color: var(--primary);
}
.zh-count.is-empty {
    display: none;
}
.zh-tool.has-alerts .zh-count {
    background-color: var(--error);
}

.zh-account {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--zh-line);
}
body.zh .zh-account-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-ink);
    text-decoration: none;
}
body.zh .zh-account-name:hover {
    background-color: var(--neutral-100);
}
.zh-account-name i {
    color: var(--neutral-500);
}
.zh-account-name span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.zh .zh-return-admin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--warning);
    text-decoration: none;
}

.zh-user {
    margin-left: 6px;
}
body.zh .zh-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 10px 0 5px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-ink);
    text-decoration: none;
}
body.zh .zh-user-toggle:hover,
body.zh .zh-user.show .zh-user-toggle {
    background-color: var(--neutral-100);
}
.zh-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-800);
    background-color: var(--primary-100);
}

body.zh .zh-topbar .dropdown-menu {
    margin-top: 8px;
    padding: 6px;
    min-width: 220px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    box-shadow: var(--zh-pop);
}
body.zh .zh-topbar .dropdown-menu li.dropdown-item {
    padding: 0;
    border-radius: var(--rounding-sm);
}
body.zh .zh-topbar .dropdown-menu li.dropdown-item > a {
    padding: 8px 10px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    color: var(--zh-ink);
}
body.zh .zh-topbar .dropdown-menu .dropdown-item:hover,
body.zh .zh-topbar .dropdown-menu .dropdown-item:focus,
body.zh .zh-topbar .dropdown-menu .dropdown-item.active,
body.zh .zh-topbar .dropdown-menu .dropdown-item:active {
    background-color: var(--primary-50);
    color: var(--primary-800);
}
/* Account dropdown: an icon before each link; Logout last, in light red. */
body.zh .zh-topbar .dropdown-menu li.dropdown-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
}
body.zh .zh-topbar .dropdown-menu .zh-menu-icon {
    flex: none;
    width: 18px;
    font-size: 15px;
    color: var(--text-lifted);
}
body.zh .zh-topbar .dropdown-menu .dropdown-item:hover .zh-menu-icon,
body.zh .zh-topbar .dropdown-menu .dropdown-item:focus .zh-menu-icon {
    color: inherit;
}
body.zh .zh-topbar .dropdown-menu .zh-menu-label {
    flex: 1 1 auto;
}
body.zh .zh-topbar .dropdown-menu li.zh-menu-logout > a,
body.zh .zh-topbar .dropdown-menu li.zh-menu-logout .zh-menu-icon {
    color: #96102a;
}
body.zh .zh-topbar .dropdown-menu li.zh-menu-logout > a {
    background-color: #fdf2f4;
    font-weight: 500;
}
body.zh .zh-topbar .dropdown-menu li.zh-menu-logout > a:hover,
body.zh .zh-topbar .dropdown-menu li.zh-menu-logout > a:focus {
    background-color: #fbe3e8;
    color: #7a0c22;
}

body.zh .popover {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    box-shadow: var(--zh-pop);
}

/* ---------- Page body ---------- */

body.zh section#main-body {
    flex: 1 0 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background-color: transparent;
}
.zh-content {
    width: 100%;
    max-width: var(--zh-content-w);
    padding: 28px var(--zh-gutter) 56px;
}

.zh-page-head {
    margin-bottom: 18px;
}
.zh-page-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.zh-page-tagline {
    margin: 6px 0 0;
    color: var(--text-lifted);
}

/* Page menus as rows of tabs */
.zh-context {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.zh-context:not(:has(.zh-menu)) {
    display: none;
}
.zh-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.zh-menu-label {
    flex: 0 0 76px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh .zh-menu .zh-menu-items {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-radius: 0;
}
body.zh .zh-menu .list-group-item {
    flex: none;
    width: auto;
    margin: 0;
    padding: 6px 13px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--neutral-700);
    background-color: var(--bg);
}
body.zh .zh-menu a.list-group-item:hover {
    border-color: var(--primary-300);
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh .zh-menu .list-group-item.active {
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    background-color: var(--primary);
}
body.zh .zh-menu .list-group-item.disabled {
    opacity: 0.5;
}
.zh-menu .sidebar-menu-item-wrapper,
.zh-note .sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 7px;
}
.zh-menu .sidebar-menu-item-icon-wrapper {
    display: inline-flex;
    font-size: 12.5px;
    opacity: 0.75;
}
.zh-menu .sidebar-menu-item-label i {
    margin-right: 3px;
    font-size: 12px;
    opacity: 0.7;
}
.zh-menu .badge {
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--neutral-600);
    background-color: var(--neutral-100);
}
.zh-menu .list-group-item.active .badge {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.22);
}

/* Content plus optional side notes */
.zh-layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
body.zh .zh-layout > .primary-content {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-aside {
    order: 2;
    flex: 0 0 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.zh-aside:not(:has(.zh-note)) {
    display: none;
}
body.zh .zh-note {
    margin: 0;
    font-size: 14px;
}
body.zh .zh-note > .card-header {
    padding: 16px 18px 4px;
    background: transparent;
    border-bottom: 0;
}
body.zh .zh-note .card-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-lifted);
}
body.zh .zh-note > .card-body {
    padding: 6px 18px 16px;
    line-height: 1.55;
}
body.zh .zh-note .list-group-item {
    padding: 9px 18px;
    border-color: var(--zh-line);
    color: var(--zh-ink);
}
body.zh .zh-note a.list-group-item:hover {
    background-color: var(--primary-50);
}
body.zh .zh-note > .card-footer {
    padding: 12px 18px;
    background: transparent;
    border-top: 1px solid var(--zh-line);
}
body.zh .zh-note > .card-footer .btn {
    width: 100%;
}

/* ---------- Surfaces and controls ---------- */

body.zh .card {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    box-shadow: none;
}
body.zh .primary-content .card {
    margin-bottom: 16px;
    border-radius: var(--rounding-lg);
}
body.zh .card > .card-header:first-child {
    border-radius: var(--rounding-lg) var(--rounding-lg) 0 0;
}
body.zh .card > .card-footer:last-child,
body.zh .card > .list-group:last-child {
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
}

body.zh .btn {
    border-radius: var(--rounding-sm);
    font-weight: 600;
}
body.zh .btn-default {
    border-color: var(--border);
    color: var(--zh-ink);
    background-color: var(--bg);
}
body.zh .btn-default:hover {
    border-color: var(--primary);
    color: var(--primary-700);
    background-color: var(--primary-50);
}

/* Bootstrap's blue still beats Nexus on a few button states: primary buttons turned blue while pressed and
   when disabled, outline buttons while pressed, and a click left a blue glow around any button.
   Keyboard focus keeps the grey ring from the `:focus-visible` rule near the top. */
body.zh .btn-primary.focus,
body.zh .btn-primary:not(:disabled):not(.disabled):active,
body.zh .btn-primary:not(:disabled):not(.disabled).active,
body.zh .show > .btn-primary.dropdown-toggle {
    border-color: var(--grayscale-lifted);
    background-color: var(--grayscale-lifted);
}
body.zh .btn-primary.disabled,
body.zh .btn-primary:disabled {
    border-color: var(--grayscale);
    background-color: var(--bg-inverted);
}
body.zh .btn-outline-primary:not(:disabled):not(.disabled):active,
body.zh .btn-outline-primary:not(:disabled):not(.disabled).active,
body.zh .show > .btn-outline-primary.dropdown-toggle {
    border-color: var(--primary);
    color: var(--zh-ink);
    background-color: var(--primary-100);
}
body.zh .btn:focus,
body.zh .btn.focus,
body.zh .btn:not(:disabled):not(.disabled):active:focus,
body.zh .btn:not(:disabled):not(.disabled).active:focus,
body.zh .show > .btn.dropdown-toggle:focus {
    box-shadow: none;
}

body.zh .form-control,
body.zh .custom-select {
    border-color: var(--border);
    border-radius: var(--rounding-sm);
}
body.zh .input-group-text {
    border-color: var(--border);
    color: var(--text-lifted);
    background-color: var(--neutral-50);
}
body.zh label,
body.zh .form-control-label {
    font-weight: 500;
}

/* ---------- Dashboard ---------- */

.zh-dash-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.zh-welcome-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.zh-welcome-account {
    margin: 6px 0 0;
    font-size: 15px;
    color: var(--text-lifted);
}
.zh-dash-actions {
    display: flex;
    gap: 8px;
}
body.zh .zh-dash-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

/* Summary: four cards, each a link */
.zh-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
body.zh .zh-summary .zh-stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--zh-ink);
    text-decoration: none;
    background: var(--bg);
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
body.zh .zh-summary .zh-stat:hover {
    border-color: var(--primary-300);
    background-color: var(--primary-50);
}
.zh-stat-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--rounding-md);
    font-size: 18px;
    color: var(--primary-700);
    background-color: var(--primary-100);
}
.zh-stat-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.zh-stat-num {
    font-size: 26px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.02em;
}
.zh-stat-label {
    font-size: 13.5px;
    color: var(--text-lifted);
}
.zh-stat-go {
    flex: none;
    font-size: 13px;
    color: var(--neutral-400);
    transition: transform 0.15s ease, color 0.15s ease;
}
.zh-stat:hover .zh-stat-go {
    color: var(--primary);
    transform: translateX(3px);
}
.zh-stat.is-due .zh-stat-num {
    color: var(--error);
}
.zh-stat.is-due .zh-stat-icon {
    color: #96102a;
    background-color: #fde6ea;
}
.zh-stat.is-open .zh-stat-icon {
    color: #064587;
    background-color: #e3eefb;
}

/* Panels */
.zh-dash-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    align-items: start;
}
body.zh .primary-content .client-home-cards .card {
    border: 1px solid var(--zh-line);
    font-size: 14px;
    margin-bottom: 20px;
}
body.zh .primary-content .client-home-cards .card .card-header {
    padding: 10px 16px;
    background: var(--primary-50);
    border-radius: var(--rounding-lg) var(--rounding-lg) 0 0;
}
body.zh .client-home-cards .card-title {
    font-size: 15px;
    font-weight: 650;
    line-height: 30px;
    color: var(--primary-900);
}
.zh-panel-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    line-height: 30px !important;
    text-align: center;
    color: #fff;
    background-color: var(--primary);
}
body.zh .primary-content .client-home-cards .card .card-header .btn {
    background: var(--bg);
}
body.zh .primary-content .client-home-cards .card .card-header .btn {
    padding: 0 12px;
    line-height: 28px;
    font-size: 13px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--zh-ink);
}
body.zh .primary-content .client-home-cards .card .card-header .btn:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary-700);
}
body.zh .client-home-cards .card-body p {
    padding: 4px 20px 12px;
    margin: 0;
    line-height: 1.55;
}
body.zh .client-home-cards .list-group {
    border-top: 1px solid var(--primary-100) !important;
    border-bottom: 0 !important;
}
body.zh .primary-content .client-home-cards .card .list-group .list-group-item {
    padding: 10px 20px;
    border-bottom: 1px solid var(--zh-line);
    color: var(--zh-ink);
}
body.zh .primary-content .client-home-cards .card .list-group .list-group-item:last-child {
    border-bottom: 0;
}
body.zh .primary-content .client-home-cards .card a.list-group-item:hover {
    background-color: var(--primary-50);
}
body.zh .primary-content .client-home-cards .card .card-footer {
    padding: 0 20px;
    min-height: 10px;
    background: transparent;
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
}
body.zh .client-home-cards small {
    color: var(--text-lifted);
}

/* Overdue / unpaid: the one loud thing on the page */
body.zh .primary-content .zh-attention .card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 0;
    padding: 14px 20px;
    border-color: transparent;
    background-color: #fdecef;
    box-shadow: inset 4px 0 0 var(--error);
}
body.zh .primary-content .zh-attention .card[menuitemname="Unpaid Invoices"] {
    background-color: #fdf3e1;
    box-shadow: inset 4px 0 0 var(--warning);
}
body.zh .primary-content .zh-attention .card .card-header {
    order: 2;
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
}
body.zh .primary-content .zh-attention .card .card-title {
    font-size: 0;
    line-height: 0;
}
body.zh .primary-content .zh-attention .card .card-title .float-right {
    float: none !important;
}
body.zh .primary-content .zh-attention .card .card-header .btn {
    padding: 0 16px;
    line-height: 36px;
    font-size: 14px;
    color: #fff;
    background-color: var(--error);
    border-color: var(--error);
}
body.zh .primary-content .zh-attention .card[menuitemname="Unpaid Invoices"] .card-header .btn {
    background-color: var(--warning);
    border-color: var(--warning);
}
body.zh .primary-content .zh-attention .card .card-header .btn:hover {
    color: #fff;
    filter: brightness(0.9);
}
body.zh .primary-content .zh-attention .card .card-body {
    order: 1;
    flex: 1 1 280px;
    padding: 0;
    overflow: visible;
}
body.zh .primary-content .zh-attention .card .card-body p {
    padding: 0 16px 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #6d0b1c;
}
body.zh .primary-content .zh-attention .card[menuitemname="Unpaid Invoices"] .card-body p {
    color: #6a3505;
}
body.zh .primary-content .zh-attention .card .card-footer {
    display: none;
}

/* Services: the domain is what people recognise, so it leads */
body.zh div[menuitemname="Active Products/Services"] .list-group {
    border-bottom: 0 !important;
}
body.zh .primary-content .client-home-cards div[menuitemname="Active Products/Services"] .list-group .list-group-item {
    padding: 9px 16px;
}
body.zh .div-service-item {
    gap: 14px;
}
body.zh .div-service-name {
    margin: 0;
    gap: 2px;
}
body.zh .div-service-name .text-domain,
body.zh .zh-domain-name .text-domain {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
}
body.zh .div-service-name .zh-service-meta,
body.zh .zh-domain-name .zh-service-meta {
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh .div-service-buttons {
    margin-left: 0;
}
body.zh .div-service-status .label,
body.zh .label.status {
    padding: 4px 10px;
    margin: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-700);
    background-color: var(--neutral-100);
}
body.zh .div-service-status .label::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background-color: currentColor;
    vertical-align: 1px;
}
body.zh .div-service-status .label-success {
    color: #07653a;
    background-color: #e3f5ea;
}
body.zh .div-service-status .label-warning {
    color: #7a4a05;
    background-color: #fdf0d3;
}
body.zh .div-service-status .label-danger {
    color: #96102a;
    background-color: #fde6ea;
}
body.zh .div-service-status .label-info {
    color: #064587;
    background-color: #e3eefb;
}
body.zh .div-service-buttons .btn,
body.zh .zh-domain-buttons .btn {
    padding: 0 12px;
    line-height: 30px;
    font-size: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--zh-ink);
}
body.zh .div-service-buttons .btn:hover {
    border-color: var(--primary);
    color: var(--primary-700);
    background: var(--primary-50);
}
body.zh .div-service-buttons .btn-group-secondary {
    margin-right: 6px;
}
body.zh .div-service-buttons .btn-group-secondary .btn {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-800);
}
body.zh .div-service-buttons .btn-group-secondary .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.zh-service-due {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 120px;
    font-size: 13px;
}
.zh-service-due-label {
    color: var(--text-lifted);
}
.zh-service-due-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-ink);
    white-space: nowrap;
}
/* Time left sits beside the date here, not under it as on the list pages */
.zh-service-due-date .zh-left {
    display: inline;
    margin-left: 4px;
}
@media (max-width: 1099.98px) {
    .zh-service-due {
        display: none;
    }
}
/* Domains on the dashboard: same row as hosting */
body.zh .primary-content .client-home-cards .card .list-group .zh-domain-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 16px;
}
body.zh .zh-domain-row[hidden] {
    display: none !important;
}
body.zh .zh-domain-name {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--zh-ink);
    text-decoration: none;
}
body.zh .zh-domain-name .text-domain {
    font-weight: 650;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.zh .zh-domain-name:hover .text-domain {
    color: var(--primary-700);
}
.zh-domain-buttons {
    flex: none;
    display: flex;
    gap: 6px;
}
body.zh .zh-domain-buttons .btn {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--zh-ink);
}
body.zh .zh-domain-buttons .btn:hover {
    border-color: var(--primary);
    color: var(--primary-700);
    background: var(--primary-50);
}
body.zh .zh-domain-buttons .zh-btn-soft {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-800);
}
body.zh .zh-domain-buttons .zh-btn-soft:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* "View More": one wide link under a dashboard list, to the page with every row */
body.zh .primary-content .client-home-cards .card .card-footer:has(.zh-view-more) {
    padding: 0;
    border-top: 1px solid var(--zh-line);
}
body.zh .client-home-cards .zh-view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-700);
    text-decoration: none;
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
    transition: background-color 0.15s ease;
}
body.zh .client-home-cards .zh-view-more::after {
    content: "\f061";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 11px;
}
body.zh .client-home-cards .zh-view-more:hover {
    background-color: var(--primary-50);
}

/* ---------- Status pills on list pages ---------- */

body.zh .label.status-active,
body.zh .label.status-paid,
body.zh .label.status-open,
body.zh .label.status-accepted,
body.zh .label.status-completed {
    color: #07653a;
    background-color: #e3f5ea;
}
body.zh .label.status-unpaid,
body.zh .label.status-overdue,
body.zh .label.status-suspended,
body.zh .label.status-expired,
body.zh .label.status-fraud,
body.zh .label.status-collections {
    color: #96102a;
    background-color: #fde6ea;
}
body.zh .label.status-pending,
body.zh .label.status-grace,
body.zh .label.status-redemption,
body.zh .label.status-customer-reply,
body.zh .label.status-draft,
body.zh .label.status-paymentpending {
    color: #7a4a05;
    background-color: #fdf0d3;
}
body.zh .label.status-answered,
body.zh .label.status-transferring,
body.zh .label.status-delivered,
body.zh .label.status-refunded {
    color: #064587;
    background-color: #e3eefb;
}

/* ---------- Tables and pagination ---------- */

body.zh table.table-list {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
}
body.zh table.table-list thead th {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-lifted);
    background-color: var(--neutral-50);
    border-bottom: 1px solid var(--zh-line);
}
body.zh table.table-list thead th.sorting_asc,
body.zh table.table-list thead th.sorting_desc {
    color: var(--primary-700);
    background-color: var(--neutral-50);
}
body.zh table.table-list tbody td {
    padding: 13px 10px;
    font-size: 14px;
    border-top: 1px solid var(--zh-line);
    vertical-align: middle;
}
body.zh table.table-list tbody tr:hover > td {
    background-color: var(--primary-50);
}
body.zh .dataTables_filter input.form-control {
    border-color: var(--zh-line);
}
body.zh .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
body.zh .page-link {
    color: var(--zh-ink);
}

/* ---------- Sign in ---------- */

body.zh .login-form .card.mw-540 {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--zh-line);
}
body.zh .login-form .card-body {
    display: flex;
    flex-direction: column;
}
body.zh .login-form .card-body .h3 {
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -0.02em;
}
body.zh .login-form .form-control,
body.zh .login-form .input-group-text,
body.zh .login-form .btn-reveal-pw {
    height: 44px;
}
body.zh .login-form .card-body > .text-right {
    order: 1;
    text-align: left !important;
    margin-bottom: 14px;
}
body.zh .login-form .card-body > .text-right label {
    margin: 0;
    padding-left: 20px;
    font-weight: 400;
    color: var(--text-accented);
}
body.zh .login-form .card-body > .float-left {
    order: 2;
    float: none !important;
}
body.zh .login-form #login {
    width: 100%;
    height: 46px;
    font-size: 15px;
}
body.zh .login-form .card-footer {
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: center;
    background-color: var(--neutral-50);
    border-top: 1px solid var(--zh-line);
}

/* ---------- Order form ---------- */

body.zh #order-standard_cart .panel label {
    color: var(--zh-ink);
}
body.zh .domain-checker-container {
    background: var(--primary-900);
    border-radius: var(--rounding-lg);
}
body.zh .domain-checker-bg {
    background-image: none;
    padding: 56px 0;
}

/* ---------- Footer ---------- */

body.zh footer.zh-footer {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 18px var(--zh-col-pad) 18px var(--zh-gutter);
    font-size: 13px;
    color: var(--text-lifted);
    background: linear-gradient(var(--zh-line), var(--zh-line)) left top / min(100%, var(--zh-content-w)) 1px no-repeat;
}
body.zh footer.zh-footer .copyright {
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--text-lifted);
}
.zh-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.zh .zh-footer-links a {
    color: var(--text-lifted);
}
body.zh .zh-footer-links a:hover {
    color: var(--primary-700);
}
body.zh footer.zh-footer .zh-locale-btn {
    border: 1px solid var(--border);
    color: var(--zh-ink);
    background: var(--bg);
}
body.zh footer.zh-footer .zh-locale-btn:hover {
    border-color: var(--primary);
    color: var(--primary-700);
    background: var(--primary-50);
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1199.98px) {
    .zh-layout {
        flex-direction: column;
        gap: 16px;
    }
    .zh-aside {
        order: 0;
        flex: none;
        width: 100%;
    }
    body.zh .zh-layout > .primary-content {
        width: 100%;
    }
    .zh-account-name span {
        display: none;
    }
}

@media (max-width: 991.98px) {
    :root {
        --zh-gutter: 20px;
        --zh-bar-h: 58px;
    }
    .zh-rail {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1050;
        width: min(86vw, 300px);
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        box-shadow: none;
    }
    body.zh-rail-open .zh-rail {
        transform: translateX(0);
        box-shadow: var(--zh-pop);
    }
    body.zh-rail-open .zh-rail-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1045;
        background-color: rgba(24, 24, 27, 0.45);
    }
    body.zh-rail-open {
        overflow: hidden;
    }
    body.zh .zh-tool.zh-rail-toggle {
        display: inline-flex;
        margin-left: -8px;
    }
    .zh-topbar-brand {
        display: block;
        margin-right: auto;
    }
    .zh-topbar-brand .logo-img {
        max-height: 28px;
        max-width: 128px;
    }
    .zh-search-form,
    .zh-user-label,
    .zh-return-admin span {
        display: none;
    }
    body.zh header.zh-topbar {
        gap: 6px;
    }
    .zh-account {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
    body.zh .zh-account-name {
        display: none;
    }
    body.zh .zh-user-toggle {
        padding: 0 4px;
    }
    .zh-user {
        margin-left: 0;
    }
    .zh-dash-columns {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .zh-menu-label {
        flex: none;
    }
    body.zh .zh-menu .zh-menu-items {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 calc(var(--zh-gutter) * -1);
        padding: 2px var(--zh-gutter);
        scrollbar-width: none;
    }
    body.zh .zh-menu .zh-menu-items::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --zh-gutter: 16px;
    }
    .zh-content {
        padding-top: 22px;
    }
    .zh-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    body.zh .zh-summary .zh-stat {
        padding: 12px;
        gap: 10px;
    }
    .zh-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .zh-stat-go {
        display: none;
    }
    body.zh .primary-content .client-home-cards .card .list-group .zh-domain-row {
        flex-wrap: wrap;
        gap: 8px 10px;
    }
    .zh-domain-buttons {
        width: 100%;
    }
    body.zh .zh-domain-buttons .btn {
        flex: 1 1 0;
    }
    .zh-welcome-title {
        font-size: 25px;
    }
    .zh-page-title {
        font-size: 22px;
    }
    .zh-dash-actions {
        width: 100%;
    }
    body.zh .zh-dash-actions .btn {
        flex: 1 1 0;
        justify-content: center;
    }
    body.zh .div-service-status .label:not(.label-placeholder) {
        width: auto;
    }
    body.zh .div-service-item {
        gap: 10px;
    }
    body.zh footer.zh-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.zh *,
    .zh-rail {
        transition: none !important;
    }
}

.zh-width-probe {
    width: 100%;
    max-width: none;
    height: 0;
    margin: 0;
    padding: 0;
}
.zh-dup-title {
    display: none;
}

body.zh header.zh-topbar .logo-img {
    max-height: 28px;
    max-width: 128px;
}
body.zh .zh-dash-actions .btn {
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    body.zh .zh-dash-actions .btn {
        padding: 0 10px;
        font-size: 13.5px;
    }
}

/* ---------- Store: categories and actions as tab rows ----------
   The order form draws its own left column. Here the page title moves to the
   top, and the column's panels become the same tab rows used on other pages. */

body.zh #order-standard_cart > .row {
    display: flex;
    flex-direction: column;
    margin: 0;
}
body.zh #order-standard_cart > .row > .cart-body {
    display: contents;
}
body.zh #order-standard_cart > .row > .cart-body > .header-lined {
    order: -2;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}
body.zh #order-standard_cart .header-lined h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
body.zh #order-standard_cart > .row > .cart-sidebar {
    order: -1;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    float: none;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
}
body.zh #order-standard_cart .sidebar-collapsed {
    display: none;
}
body.zh #order-standard_cart .cart-sidebar > .card:not(.card-sidebar) {
    display: none !important;
}
body.zh #order-standard_cart .cart-sidebar .card-sidebar {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.zh #order-standard_cart .cart-sidebar .card-sidebar > .card-header {
    flex: 0 0 76px;
    padding: 0;
    border: 0;
    background: transparent;
}
body.zh #order-standard_cart .cart-sidebar .card-sidebar .panel-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .cart-sidebar .card-sidebar .panel-title i {
    display: none;
}
body.zh #order-standard_cart .cart-sidebar .list-group.collapsable-card-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-radius: 0;
}
body.zh #order-standard_cart .cart-sidebar .list-group-item {
    flex: none;
    width: auto;
    padding: 6px 13px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--neutral-700);
    background-color: var(--bg);
}
body.zh #order-standard_cart .cart-sidebar a.list-group-item:hover {
    border-color: var(--primary-300);
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .cart-sidebar .list-group-item.active,
body.zh #order-standard_cart .cart-sidebar .list-group-item.active:hover,
body.zh #order-standard_cart .cart-sidebar .list-group-item.active:focus {
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    background-color: var(--primary);
}
body.zh #order-standard_cart .cart-sidebar .list-group-item i {
    margin-right: 2px;
    font-size: 12.5px;
    opacity: 0.75;
}
body.zh #order-standard_cart .cart-sidebar .card-body.collapsable-card-body {
    display: block !important;
    padding: 0;
}
body.zh #order-standard_cart .cart-sidebar .card-body .form-control,
body.zh #order-standard_cart .cart-sidebar .card-body .custom-select {
    width: auto;
    min-width: 140px;
    height: 34px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 13.5px;
}
@media (max-width: 991.98px) {
    body.zh #order-standard_cart .cart-sidebar .card-sidebar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    body.zh #order-standard_cart .cart-sidebar .card-sidebar > .card-header {
        flex: none;
    }
    body.zh #order-standard_cart .cart-sidebar .list-group.collapsable-card-body {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 calc(var(--zh-gutter) * -1);
        padding: 2px var(--zh-gutter);
        scrollbar-width: none;
    }
    body.zh #order-standard_cart .cart-sidebar .list-group.collapsable-card-body::-webkit-scrollbar {
        display: none;
    }
}
@media (min-width: 992px) {
    body.zh #order-standard_cart .cart-sidebar .card-sidebar > .card-header {
        flex: 0 0 auto;
        min-width: 76px;
        white-space: nowrap;
    }
}

/* ---------- Invoice ----------
   A standalone page: a slim action bar, then the invoice as one sheet. */

body.zh.zh-invoice-page {
    background-color: var(--neutral-100);
}

.zh-invoice-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 16px 14px;
}
body.zh .zh-invoice-back {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    text-decoration: none;
}
body.zh .zh-invoice-back:hover {
    color: var(--primary-700);
}
.zh-invoice-bar-actions {
    display: flex;
    gap: 8px;
}
body.zh .zh-invoice-bar-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

body.zh .invoice-container.zh-invoice {
    max-width: 880px;
    margin: 0 auto 48px;
    padding: 48px 56px 56px;
    font-size: 14.5px;
    color: var(--zh-ink);
    background-color: var(--bg);
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
}

.zh-invoice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    text-align: left;
}
.zh-invoice-brand img {
    display: block;
    max-height: 44px;
    max-width: 220px;
}
.zh-invoice-brand span {
    font-size: 22px;
    font-weight: 700;
}
.zh-invoice-title {
    text-align: right;
}
body.zh .zh-invoice-title h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
body.zh .invoice-container.zh-invoice .invoice-status {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}
.zh-invoice .invoice-status span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--neutral-700);
    background-color: var(--neutral-100);
}
.zh-invoice .invoice-status span.paid {
    color: #07653a;
    background-color: #e3f5ea;
}
.zh-invoice .invoice-status span.unpaid,
.zh-invoice .invoice-status span.collections {
    color: #96102a;
    background-color: #fde6ea;
}
.zh-invoice .invoice-status span.refunded {
    color: #064587;
    background-color: #e3eefb;
}

/* Amount due and the way to pay it */
.zh-invoice-pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 32px;
    padding: 20px 24px;
    border-radius: var(--rounding-lg);
    background-color: var(--primary-50);
    border: 1px solid var(--primary-200);
}
.zh-invoice-due {
    display: grid;
    gap: 2px;
}
.zh-invoice-due-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-600);
}
.zh-invoice-due-amount {
    font-size: 32px;
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.zh-invoice-due-date {
    font-size: 13.5px;
    color: var(--neutral-600);
}
.zh-invoice-pay-action {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}
.zh-invoice-gateway form {
    display: grid;
    gap: 4px;
    margin: 0;
}
body.zh .zh-invoice-gateway label {
    margin: 0;
    font-size: 13px;
    color: var(--neutral-600);
}
body.zh .zh-invoice-gateway .custom-select {
    min-width: 180px;
    height: 42px;
}
body.zh .invoice-container.zh-invoice .payment-btn-container {
    margin: 0;
    text-align: left;
}
body.zh .zh-invoice .payment-btn-container form {
    margin: 0;
}
body.zh .zh-invoice .payment-btn-container .btn,
body.zh .zh-invoice .payment-btn-container input[type="submit"],
body.zh .zh-invoice .payment-btn-container button[type="submit"] {
    height: 42px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
}

/* When and how, on one line; then who and to whom, with room to breathe */
.zh-invoice-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 56px;
    margin: 0 0 28px;
    padding: 16px 0;
    border-top: 1px solid var(--zh-line);
    border-bottom: 1px solid var(--zh-line);
}
.zh-invoice-facts dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-invoice-facts dd {
    margin: 3px 0 0;
    font-weight: 600;
}
.zh-invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 56px;
    margin-bottom: 40px;
}
body.zh .zh-invoice h2 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-lifted);
}
.zh-invoice address {
    margin: 0;
    line-height: 1.65;
    color: var(--neutral-700);
}
.zh-invoice address strong {
    color: var(--zh-ink);
}

.zh-invoice-section {
    margin-bottom: 32px;
}
body.zh .zh-invoice-section > h2 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 650;
    color: var(--zh-ink);
}
body.zh .zh-invoice-table {
    margin: 0;
}
body.zh .zh-invoice-table th {
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-lifted);
    border-top: 0;
    border-bottom: 1px solid var(--neutral-300);
}
body.zh .zh-invoice-table td {
    padding: 13px 0;
    vertical-align: top;
    border-top: 0;
    border-bottom: 1px solid var(--zh-line);
}
body.zh .zh-invoice-table th + th,
body.zh .zh-invoice-table td + td {
    padding-left: 16px;
}
body.zh .zh-invoice-table .zh-num {
    text-align: right;
    white-space: nowrap;
}
body.zh .zh-invoice-table .zh-empty {
    color: var(--text-lifted);
}
.zh-invoice-totals {
    width: min(100%, 320px);
    margin: 12px 0 0 auto;
}
.zh-invoice-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 5px 0;
}
.zh-invoice-totals dt {
    font-weight: 400;
    color: var(--neutral-600);
}
.zh-invoice-totals dd {
    margin: 0;
}
.zh-invoice-totals .zh-invoice-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--neutral-300);
    font-size: 17px;
}
.zh-invoice-totals .zh-invoice-total dt,
.zh-invoice-totals .zh-invoice-total dd {
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-invoice-footnote {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--text-lifted);
}

@media (max-width: 767.98px) {
    body.zh .invoice-container.zh-invoice {
        margin: 0 12px 32px;
        padding: 28px 20px 32px;
    }
    .zh-invoice-bar {
        padding: 16px 12px 12px;
    }
    .zh-invoice-head {
        flex-direction: column;
        gap: 16px;
    }
    .zh-invoice-title {
        text-align: left;
    }
    .zh-invoice-parties {
        grid-template-columns: 1fr;
    }
    .zh-invoice-facts {
        gap: 14px 32px;
    }
    .zh-invoice-pay-action,
    .zh-invoice-gateway,
    body.zh .zh-invoice-gateway .custom-select,
    body.zh .zh-invoice .payment-btn-container .btn {
        width: 100%;
    }
    body.zh .zh-invoice-bar-actions .btn span {
        display: none;
    }
}

@media print {
    body.zh.zh-invoice-page {
        background: #fff;
    }
    body.zh .invoice-container.zh-invoice {
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
    }
    .zh-invoice-pay {
        background: transparent;
        border-color: var(--neutral-300);
    }
}

html:has(body.zh-invoice-page) {
    background-color: var(--neutral-100);
}
body.zh.zh-invoice-page {
    min-height: 100%;
    height: auto;
}
/* Gateways supply their own pay button, often a bare submit input */
body.zh .zh-invoice .payment-btn-container .btn,
body.zh .zh-invoice .payment-btn-container input[type="submit"],
body.zh .zh-invoice .payment-btn-container button[type="submit"] {
    border: 1px solid var(--primary);
    border-radius: var(--rounding-sm);
    color: #fff;
    background-color: var(--primary);
    cursor: pointer;
}
body.zh .zh-invoice .payment-btn-container .btn:hover,
body.zh .zh-invoice .payment-btn-container input[type="submit"]:hover,
body.zh .zh-invoice .payment-btn-container button[type="submit"]:hover {
    border-color: var(--primary-lifted);
    background-color: var(--primary-lifted);
}
@media (max-width: 767.98px) {
    body.zh .invoice-container.zh-invoice {
        width: auto;
    }
    body.zh .zh-invoice .payment-btn-container,
    body.zh .zh-invoice .payment-btn-container input[type="submit"],
    body.zh .zh-invoice .payment-btn-container button[type="submit"] {
        width: 100%;
    }
}

/* The overdue and unpaid banners carry no heading, so no heading icon either. */
.zh-attention .zh-panel-icon {
    display: none;
}

/* Dashboard panel heading: icon, title, then the action pushed to the right, all on one line. */
body.zh .client-home-cards:not(.zh-attention) .card-title {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1.25;
}
body.zh .client-home-cards:not(.zh-attention) .card-title .zh-panel-icon {
    flex: none;
}
body.zh .client-home-cards:not(.zh-attention) .card-title .float-right {
    order: 2;
    flex: none;
    margin-left: auto;
    padding-left: 10px;
}
/* The domains and tickets lists grow with their rows instead of scrolling inside the card. */
body.zh #zhDomainsPanel .list-group,
body.zh div[menuitemname="Recent Support Tickets"] .list-group {
    max-height: none;
    overflow: visible;
}


/* ---------- Hosting details ---------- */

/* Summary: identity and actions on top, the billing facts in a strip beneath */
.zh-svc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 20px;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
}
.zh-svc-id {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.zh-svc-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rounding-md);
    font-size: 20px;
    color: #fff;
    background-color: var(--primary);
}
.zh-svc-name {
    min-width: 0;
}
body.zh .zh-svc-title {
    margin: 0;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.zh-svc-plan {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-svc-id .label {
    flex: none;
}
.zh-svc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
body.zh .zh-svc-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    line-height: 36px;
    font-size: 14px;
    white-space: nowrap;
}
.zh-svc-facts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px 24px;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--zh-line);
}
.zh-svc-facts dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-svc-facts dd {
    margin: 3px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-svc-suspended {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    color: #6d0b1c;
    background-color: #fdecef;
}

/* Cards under the summary */
body.zh .primary-content .zh-svc-card {
    margin-bottom: 20px;
    border: 1px solid var(--zh-line);
}
body.zh .primary-content .zh-svc-card > .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
}
body.zh .primary-content .zh-svc-card > .card-header .card-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--primary-900);
}
body.zh .zh-svc-card > .card-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    line-height: 30px;
    font-size: 13px;
    white-space: nowrap;
}
.zh-svc-card-note {
    font-size: 13px;
    color: var(--text-lifted);
    text-align: right;
}
body.zh .primary-content .zh-svc-card > .card-body {
    padding: 20px;
}

/* Shortcuts into the control panel */
.zh-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
body.zh .zh-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    color: var(--zh-ink);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
body.zh .zh-shortcut:hover {
    border-color: var(--primary-300);
    background-color: var(--primary-50);
}
.zh-shortcut-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--rounding-sm);
    font-size: 16px;
    color: var(--primary-700);
    background-color: var(--primary-100);
}
.zh-shortcut-label {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-shortcut-go {
    flex: none;
    font-size: 12px;
    color: var(--neutral-400);
}
.zh-shortcut:hover .zh-shortcut-go {
    color: var(--primary);
}

/* Usage as bars */
.zh-usage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 40px;
}
.zh-usage-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
}
.zh-usage-head {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.zh-usage-label {
    font-weight: 600;
}
.zh-usage-label i {
    margin-right: 4px;
    color: var(--text-lifted);
}
.zh-usage-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.zh-usage-value span {
    font-weight: 400;
    color: var(--text-lifted);
}
.zh-usage-bar {
    height: 8px;
    border-radius: 999px;
    background-color: var(--neutral-200);
    overflow: hidden;
}
.zh-usage-bar span {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: inherit;
    background-color: var(--primary);
}
.zh-usage-pct {
    min-width: 40px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--text-lifted);
}
.zh-usage-item.is-near .zh-usage-bar span {
    background-color: var(--warning);
}
.zh-usage-item.is-over .zh-usage-bar span {
    background-color: var(--error);
}
.zh-usage-warning {
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    color: #6d0b1c;
    background-color: #fdecef;
}

/* Label and value lists */
.zh-svc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    margin: 0;
}
.zh-svc-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--zh-line);
}
.zh-svc-list dt {
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-svc-list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Module pages the theme does not redraw (cPanel): hide what the summary already says */
body.zh-page-clientareaproductdetails #cPanelBillingOverviewPanel,
body.zh-page-clientareaproductdetails #cPanelPackagePanel:not(:has(#sitejetPublishPreview)) {
    display: none;
}

@media (max-width: 767.98px) {
    .zh-svc-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }
    .zh-svc-id {
        flex-wrap: wrap;
    }
    .zh-svc-actions {
        justify-content: flex-start;
    }
    body.zh .zh-svc-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
    .zh-svc-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    body.zh .zh-shortcut {
        padding: 10px;
        gap: 10px;
    }
    .zh-shortcut-go {
        display: none;
    }
    .zh-usage,
    .zh-svc-list {
        grid-template-columns: minmax(0, 1fr);
    }
    body.zh .primary-content .zh-svc-card > .card-body {
        padding: 16px;
    }
}
@media (max-width: 767.98px) {
    /* Keep shortcut names whole on narrow screens. */
    body.zh .zh-shortcut {
        gap: 8px;
        padding: 8px;
        font-size: 13.5px;
    }
    .zh-shortcut-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .zh-shortcut-label {
        overflow-wrap: normal;
        word-break: normal;
    }
}


/* Details pages: actions live in the summary card and look like its buttons */
.zh-svc-actions .zh-actions,
body.zh .zh-svc-actions .zh-actions-items {
    display: contents;
}
body.zh .zh-svc-actions .zh-actions-items .list-group-item {
    flex: none;
    width: auto;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
    white-space: nowrap;
    color: var(--zh-ink);
    background-color: var(--bg);
}
body.zh .zh-svc-actions .zh-actions-items a.list-group-item:hover {
    border-color: var(--primary);
    color: var(--primary-700);
    background-color: var(--primary-50);
}
body.zh .zh-svc-actions .zh-actions-items .list-group-item.active {
    border-color: var(--primary-300);
    color: var(--primary-800);
    background-color: var(--primary-100);
}
/* The overview link is only a way back from another tab. */
body.zh .zh-svc-actions .zh-actions-items .list-group-item.active[href="#tabOverview"] {
    display: none;
}
body.zh .zh-svc-actions .zh-actions-items .list-group-item.disabled {
    opacity: 0.5;
}
.zh-svc-actions .sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zh-svc-actions .sidebar-menu-item-icon-wrapper {
    display: inline-flex;
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh .zh-svc-actions a[menuitemname="Cancel"]:hover {
    border-color: var(--error);
    color: var(--error);
    background-color: #fdecef;
}
.zh-svc-fact-note {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-lifted);
}
.zh-context-inline {
    margin-bottom: 20px;
}
@media (max-width: 767.98px) {
    body.zh .zh-svc-actions .zh-actions-items .list-group-item {
        flex: 1 1 auto;
        text-align: center;
    }
    .zh-svc-actions .sidebar-menu-item-wrapper {
        justify-content: center;
    }
}

/* Summary card: the name keeps its room; the buttons drop to their own row when there are many. */
.zh-svc-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
}
.zh-svc-id {
    flex: 1 1 340px;
}
.zh-svc-actions {
    flex: 0 1 auto;
    justify-content: flex-start;
}
.zh-svc-facts,
.zh-svc-suspended {
    flex: 1 1 100%;
}
.zh-svc-fact-note {
    display: block;
}
@media (max-width: 767.98px) {
    /* Long names wrap beside the icon instead of dropping below it. */
    .zh-svc-id {
        flex: 1 1 100%;
    }
    .zh-svc-name {
        flex: 1 1 0;
    }
    body.zh .zh-svc-title {
        font-size: 18px;
    }
}


/* ---------- Domain settings tabs ---------- */

body.zh .zh-svc-card > .card-header .label.status {
    flex: none;
}
.zh-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin: 0;
}
.zh-setting-text {
    flex: 1 1 auto;
    max-width: 68ch;
    margin: 0;
    line-height: 1.6;
    color: var(--neutral-700);
}
.zh-setting .btn {
    flex: none;
    white-space: nowrap;
}
form > .zh-setting-text,
.card-body > .zh-setting-text {
    margin-bottom: 20px;
}
/* Turning something off is allowed but should not be the loudest thing in the card. */
body.zh .zh-btn-danger {
    border: 1px solid #f2b8c2;
    color: #96102a;
    background-color: var(--bg);
}
body.zh .zh-btn-danger:hover {
    border-color: var(--error);
    color: #fff;
    background-color: var(--error);
}
.zh-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
body.zh .zh-choice-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.zh-choice-option input {
    flex: none;
    margin-top: 4px;
    accent-color: var(--primary);
}
body.zh .zh-choice-option:hover {
    border-color: var(--primary-300);
}
body.zh .zh-choice-option:has(input:checked) {
    border-color: var(--primary);
    background-color: var(--primary-50);
}
.zh-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin-bottom: 6px;
}
.zh-field-grid label {
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh .zh-field-grid .form-control:disabled {
    color: var(--neutral-500);
    background-color: var(--neutral-100);
}
.zh-addons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zh-addon {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
}
.zh-addon-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zh-addon-text span {
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-addon-actions {
    flex: none;
    display: flex;
    gap: 8px;
}
@media (max-width: 767.98px) {
    .zh-setting {
        flex-direction: column;
        align-items: stretch;
    }
    .zh-choice,
    .zh-field-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-addon {
        flex-wrap: wrap;
    }
    .zh-addon-text {
        flex: 1 1 0;
    }
    .zh-addon-actions {
        width: 100%;
    }
    .zh-addon-actions .btn {
        flex: 1 1 0;
    }
}


/* ---------- List pages (hosting, domains, invoices, tickets) ---------- */

/* Filters on the left, the page's actions on the right */
.zh-list-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 16px;
}
.zh-list-bar .zh-list-filters {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    display: block;
}
.zh-list-bar .zh-menu-label {
    display: none;
}
.zh-list-bar .zh-list-actions {
    flex: none;
    justify-content: flex-end;
}
body.zh .zh-list-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    line-height: 36px;
    font-size: 14px;
    white-space: nowrap;
}
.zh-list-filters .list-group-item i.far.fa-circle,
.zh-list-filters .list-group-item i.far.fa-dot-circle {
    display: none;
}

/* The list is one card: count and search on top, table, then paging */
body.zh .zh-list .listtable {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    overflow: hidden;
}
body.zh .zh-list .listtable .dataTables_info {
    order: 1;
    flex: 1 1 auto;
    float: none;
    margin: 0;
    padding: 12px 16px;
    font-size: 13.5px;
    color: var(--text-lifted);
    background: transparent;
    border: 0;
    text-align: left;
}
body.zh .zh-list .listtable .dataTables_filter {
    order: 2;
    flex: 0 1 280px;
    float: none;
    margin: 0;
    padding: 10px 16px 10px 0;
}
body.zh .zh-list .listtable .dataTables_filter label {
    display: block;
    width: 100%;
    margin: 0;
}
body.zh .zh-list .listtable .dataTables_filter input.form-control {
    width: 100%;
    height: 36px;
    margin: 0;
    border-radius: 999px;
    border-color: transparent;
    background-color: var(--neutral-100);
}
body.zh .zh-list .listtable .dataTables_filter input.form-control:focus {
    border-color: var(--primary-400);
    background-color: var(--bg);
    box-shadow: var(--zh-focus);
}
body.zh .zh-list .listtable table.table-list {
    order: 3;
    flex: 1 1 100%;
    width: 100% !important;
    margin: 0 !important;
    border: 0;
    border-top: 1px solid var(--zh-line);
    border-radius: 0;
}
body.zh .zh-list table.table-list thead th {
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
    background-color: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
    color: var(--primary-900);
}
body.zh .zh-list table.table-list thead th.sorting_asc,
body.zh .zh-list table.table-list thead th.sorting_desc {
    color: var(--primary-700);
    background-color: var(--primary-50);
}
body.zh .zh-list table.table-list tbody td {
    padding: 10px 12px;
    text-align: left;
}
body.zh .zh-list table.table-list thead th:first-child,
body.zh .zh-list table.table-list tbody td:first-child {
    padding-left: 16px;
}
body.zh .zh-list table.table-list tbody td.ssl-info,
body.zh .zh-list table.table-list tbody td.py-0.text-center {
    width: 44px;
    text-align: center;
}
body.zh .zh-cell-name .zh-cell-title {
    display: block;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
    text-decoration: none;
}
body.zh tr:hover .zh-cell-title,
body.zh .zh-cell-title:hover {
    color: var(--primary-700);
}
.zh-cell-meta {
    display: block;
    margin-top: 1px;
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh .zh-cell-title.ticket-subject:not(.unread) {
    font-weight: 500;
}
.zh-left {
    display: block;
    font-size: 13px;
    color: var(--text-lifted);
    white-space: nowrap;
}
.zh-left.is-soon {
    color: var(--warning);
    font-weight: 600;
}
.zh-left.is-past {
    color: var(--error);
    font-weight: 600;
}

/* Row actions */
body.zh .zh-list table.table-list td.zh-cell-actions {
    width: 1%;
    padding-right: 16px;
    white-space: nowrap;
}
.zh-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
body.zh .zh-row-actions .btn {
    padding: 0 12px;
    line-height: 30px;
    font-size: 13px;
    white-space: nowrap;
}
body.zh .zh-row-actions .zh-row-more {
    width: 32px;
    padding: 0;
    text-align: center;
}
body.zh .zh-row-actions .zh-btn-soft,
body.zh .zh-btn-soft {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    color: var(--primary-800);
}
body.zh .zh-row-actions .zh-btn-soft:hover,
body.zh .zh-btn-soft:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
body.zh .zh-row-actions .dropdown-menu {
    min-width: 210px;
    padding: 6px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    box-shadow: var(--zh-pop);
}
body.zh .zh-row-actions .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    color: var(--zh-ink);
}
body.zh .zh-row-actions .dropdown-item i {
    color: var(--text-lifted);
}
body.zh .zh-row-actions .dropdown-item:hover {
    background-color: var(--primary-50);
    color: var(--primary-800);
}
body.zh .zh-row-actions .dropdown-item.zh-item-danger,
body.zh .zh-row-actions .dropdown-item.zh-item-danger i {
    color: #96102a;
}
body.zh .zh-row-actions .dropdown-item.zh-item-danger:hover {
    background-color: #fdecef;
}
/* Let the row menu escape the rounded card. */
body.zh .zh-list .listtable:has(.dropdown.show) {
    overflow: visible;
}

/* Paging under the card */
body.zh .zh-list .dataTables_paginate {
    margin-top: 14px;
}
body.zh .zh-list .dataTables_length {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh .zh-list .dataTables_length label {
    font-weight: 400;
}

/* Bulk actions on the domain list */
.zh-bulk {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}
.zh-bulk-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}

@media (max-width: 767.98px) {
    .zh-list-bar .zh-list-actions {
        width: 100%;
        justify-content: flex-start;
    }
    body.zh .zh-list-actions .btn,
    body.zh .zh-list-actions .zh-actions-items .list-group-item {
        flex: 1 1 auto;
        justify-content: center;
    }
    body.zh .zh-list .listtable .dataTables_info {
        flex: 1 1 100%;
        padding-bottom: 0;
    }
    body.zh .zh-list .listtable .dataTables_filter {
        flex: 1 1 100%;
        padding: 10px 16px;
    }
}
@media (max-width: 767.98px) {
    /* Wide lists scroll sideways inside their card instead of being cut off. */
    body.zh .zh-list .listtable {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.zh .zh-list .listtable table.table-list {
        flex: 0 0 auto;
        width: max-content !important;
        min-width: 100%;
    }
}
/* "Pay All" on the invoice summary follows the theme's primary button. */
body.zh .zh-note .btn-success {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
body.zh .zh-note .btn-success:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}


/* ---------- Tickets: view and open ---------- */

.zh-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
@media (min-width: 1280px) {
    .zh-ticket-layout:has(.zh-ticket-side .card) {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}
.zh-ticket-side:not(:has(.card)) {
    display: none;
}
body.zh .zh-ticket-side .card {
    margin-bottom: 20px;
    border: 1px solid var(--zh-line);
}
.zh-ticket-fact {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-ticket-fact .title {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-ticket-fact br {
    display: none;
}
body.zh .zh-ticket-fact .label {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.zh-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.zh-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.zh-msg-avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 650;
    color: var(--neutral-700);
    background-color: var(--neutral-200);
}
.zh-msg.is-staff .zh-msg-avatar {
    color: #fff;
    background-color: var(--primary);
}
body.zh .zh-msg .ticket-reply {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background: var(--bg);
    overflow: hidden;
}
body.zh .zh-msg.is-staff .ticket-reply {
    border-color: var(--primary-200);
    background: var(--primary-50);
}
body.zh .zh-msg .posted-by {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid var(--zh-line);
    border-radius: 0;
    font-size: 13px;
    color: var(--text-lifted);
    background: transparent;
}
body.zh .zh-msg.is-staff .posted-by {
    border-bottom-color: var(--primary-100);
}
body.zh .zh-msg .posted-by-name {
    font-size: 14px;
    font-weight: 650;
    color: var(--zh-ink);
}
body.zh .zh-msg .posted-on {
    margin-left: auto;
}
body.zh .zh-msg .requestor-badge {
    float: none !important;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}
body.zh .zh-msg .message {
    padding: 14px 16px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.zh .zh-msg .message p:last-child {
    margin-bottom: 0;
}
body.zh .zh-msg .attachments {
    border-top: 1px solid var(--zh-line);
    background: transparent;
}
.zh-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
}
.zh-field-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.zh-depts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.zh-dept-desc {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-lifted);
}
@media (max-width: 767.98px) {
    .zh-field-grid-3,
    .zh-depts {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-msg-avatar {
        display: none;
    }
    .zh-ticket-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ---------- Account details and profile ---------- */

.zh-svc-avatar {
    border-radius: 50%;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: 0.02em;
}
.zh-card-icon {
    width: 18px;
    margin-right: 8px;
    text-align: center;
    color: var(--primary);
}
.zh-form .zh-field-grid,
.zh-svc-card form > .zh-field-grid {
    margin-bottom: 0;
}
body.zh .zh-field-grid .form-group {
    margin-bottom: 16px;
}
body.zh .zh-field-grid .form-group label {
    margin-bottom: 5px;
    padding: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh .zh-field-grid .form-control,
body.zh .zh-field-grid .custom-select {
    height: 40px;
}
/* The phone field's country picker wraps the input; let it fill the column. */
.zh-field-grid .intl-tel-input,
.zh-field-grid .iti {
    display: block;
    width: 100%;
}
.zh-checks {
    display: grid;
    gap: 10px;
}
body.zh .zh-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}
.zh-check input[type="checkbox"] {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--primary);
}
.zh-form-actions-bar {
    margin: 4px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--zh-line);
}
.zh-svc-card form > .zh-form-actions {
    margin-top: 4px;
}


/* ---------- Password, security, users, contacts, email history ---------- */

.zh-narrow-form {
    max-width: 460px;
}
body.zh .zh-svc-card .form-group > label,
body.zh .zh-svc-card .col-form-label {
    margin-bottom: 5px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh .zh-svc-card input.form-control,
body.zh .zh-svc-card select.form-control,
body.zh .zh-svc-card .custom-select {
    height: 40px;
}
.zh-input-with-btn {
    display: flex;
    gap: 8px;
}
.zh-input-with-btn .form-control {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-input-with-btn .btn {
    flex: none;
    white-space: nowrap;
}
.zh-page-intro {
    margin-bottom: 20px;
}
body.zh .zh-svc-card .card-body > p:last-child {
    margin-bottom: 0;
}
body.zh .zh-svc-card .controls.form-check {
    padding-left: 0;
    line-height: 2;
}
body.zh .zh-svc-card .controls.form-check .form-check-input {
    position: static;
    margin: 0 8px 0 0;
    accent-color: var(--primary);
}

/* Plain tables inside cards (users with access) */
body.zh table.zh-plain-table {
    margin-bottom: 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
body.zh table.zh-plain-table th {
    padding: 10px 14px;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-lifted);
    background-color: var(--neutral-50);
}
body.zh table.zh-plain-table td {
    padding: 12px 14px;
    border: 0;
    border-top: 1px solid var(--zh-line);
    vertical-align: middle;
}
body.zh table.zh-plain-table td small {
    color: var(--text-lifted);
}
body.zh table.zh-plain-table .btn-sm {
    padding: 0 12px;
    line-height: 30px;
    font-size: 13px;
}
.zh-perms {
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background-color: var(--neutral-50);
}

/* "Choose contact" strip above the contact form */
.zh-chooser {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background-color: var(--neutral-50);
}
.zh-chooser .row {
    align-items: center;
}
.zh-chooser label {
    margin: 0;
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .zh-input-with-btn {
        flex-wrap: wrap;
    }
    .zh-input-with-btn .btn {
        flex: 1 1 100%;
    }
    body.zh table.zh-plain-table,
    body.zh table.zh-plain-table tbody,
    body.zh table.zh-plain-table tr,
    body.zh table.zh-plain-table td {
        display: block;
        width: auto;
    }
    body.zh table.zh-plain-table tr:first-child {
        display: none;
    }
    body.zh table.zh-plain-table td + td {
        border-top: 0;
        padding-top: 0;
    }
}
/* When a card's heading only repeats the page title, drop the whole header strip. */
body.zh .zh-svc-card > .card-header:has(> .zh-dup-title) {
    display: none;
}


/* ---------- Sign-in pages: no side menu, logo on top ---------- */

body.zh-auth .zh-main {
    min-height: 100vh;
    background-color: var(--neutral-100);
}
.zh-auth-top {
    display: flex;
    justify-content: center;
    padding: 40px 16px 8px;
}
body.zh .zh-auth-brand .logo-img {
    display: block;
    max-height: 40px;
    max-width: 200px;
}
body.zh-auth .zh-content {
    max-width: 760px;
    padding-top: 20px;
}
body.zh-auth.zh-page-login .zh-content,
body.zh-auth.zh-page-password-reset-container .zh-content,
body.zh-auth.zh-page-two-factor-challenge .zh-content {
    max-width: 472px;
}body.zh-auth footer.zh-footer {
    padding-left: var(--zh-gutter);
    padding-right: var(--zh-gutter);
    background: transparent;
    border-top: 0;
    justify-content: center;
}
body.zh .zh-auth-card {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
}
body.zh .zh-auth-card > .card-body {
    display: block;
    padding: 28px;
}
body.zh .zh-auth-title {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.02em;
}
.zh-auth-sub {
    margin: 0 0 22px;
    color: var(--text-lifted);
}
body.zh .zh-auth-form label {
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--neutral-700);
}
body.zh .zh-auth-form .form-control,
body.zh .zh-auth-form .btn-reveal-pw {
    height: 44px;
}
.zh-auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.zh-auth-label-row a {
    font-size: 13.5px;
}
body.zh .zh-auth-remember {
    margin: 2px 0 18px;
    font-size: 14px;
    color: var(--neutral-700);
}
/* "Remember me" under the method cards: a little space above, none below (the step ends there). */
body.zh .zh-login [data-step="methods"] .zh-auth-remember {
    margin: 14px 0 0;
}
body.zh .zh-auth-form #login,
body.zh .zh-auth-form #resetPasswordButton {
    height: 46px;
    font-size: 15px;
}
.zh-auth-alt {
    margin: 18px 0 0;
    text-align: center;
    color: var(--text-lifted);
}
.zh-auth-alt a {
    font-weight: 600;
}
.zh-auth-head {
    margin-bottom: 20px;
    text-align: center;
}
.zh-auth-head .zh-auth-sub {
    margin-bottom: 0;
}

/* Sign-in, email first (login.tpl + modules/addons/zolahost_login). Without the script the stock form shows. */
body.zh .zh-login [hidden] {
    display: none !important;
}
body.zh .zh-login .zh-auth-label-row .btn-link {
    padding: 0;
    border: 0;
    font-size: 13.5px;
    line-height: inherit;
    vertical-align: baseline;
}
body.zh .zh-login .zh-auth-title:focus {
    outline: 0;   /* focus is moved here by script (for screen readers), not by the keyboard */
}
.zh-login-to {
    display: block;
}
body.zh .zh-login input[readonly] {
    background: var(--neutral-100);
    color: var(--neutral-700);
    caret-color: transparent;   /* locked after Continue: no text cursor; "Change" unlocks it */
    cursor: default;
}
body.zh .zh-login input[readonly]:focus {
    border-color: var(--zh-line);
    box-shadow: none;
}
body.zh .zh-login .zh-login-continue,
body.zh .zh-login .zh-login-verify,
body.zh .zh-login .zh-login-register,
body.zh .zh-login #login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 15px;
}
/* A call in progress: a ring in front of the button's text, or in place of the method card's icon */
body.zh .zh-login .btn.zh-busy::before {
    content: "";
    display: inline-block;
    flex: none;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: zh-spin 0.7s linear infinite;
}
body.zh .zh-login .btn.zh-busy {
    cursor: progress;
}
body.zh .zh-login .btn.zh-busy:disabled {
    opacity: 0.85;
}
body.zh .zh-login-method.zh-busy .zh-login-micon > * {
    display: none;
}
body.zh .zh-login-method.zh-busy .zh-login-micon::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: zh-spin 0.7s linear infinite;
}
body.zh .zh-login-method.zh-busy:disabled {
    opacity: 1;
}
body.zh .zh-login .zh-login-continue {
    margin-top: 4px;
}
.zh-login-lead {
    margin: 2px 0 12px;
    font-size: 14.5px;
    color: var(--neutral-700);
    overflow-wrap: anywhere;
}
.zh-login-note {
    margin: -4px 0 16px;
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-login-methods {
    display: grid;
    gap: 10px;
}
body.zh .zh-login-method {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background: var(--bg);
    color: var(--zh-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}
body.zh .zh-login-method:hover {
    border-color: var(--neutral-400);
    background: var(--neutral-100);
}
body.zh .zh-login-method:focus-visible {
    outline: 0;
    box-shadow: var(--zh-focus);
}
body.zh .zh-login-method:disabled {
    opacity: 0.6;
    cursor: progress;
}
.zh-login-micon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--neutral-100);
    font-size: 16px;
    color: var(--neutral-700);
}
.zh-login-mtext {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.zh-login-mtext strong {
    font-size: 15px;
    font-weight: 600;
}
.zh-login-mtext small {
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh .zh-login .zh-login-code {
    height: 52px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.zh-login-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 10px;
}
body.zh .zh-login-foot .btn-link {
    padding-left: 0;
    padding-right: 0;
    font-size: 14px;
}
body.zh .zh-login .zh-login-msg {
    margin-bottom: 16px;
    font-size: 14px;
}

/* Checkout, "Already registered?": no WHMCS Google button. It only signs in Google-linked users and asks every
   other Gmail customer to link with their password first; the login page (zolahost_login) covers Google. The
   new-account form keeps "Sign up with Google". */
#containerExistingUserSignin .sub-heading-borderless,
#containerExistingUserSignin .sub-heading-borderless + p.small.text-muted,
#containerExistingUserSignin .providerPreLinking[data-link-context="checkout-existing"],
#containerExistingUserSignin .providerLinkingFeedback {
    display: none !important;
}

/* Register: labelled fields instead of icon-and-placeholder boxes */
.zh-register .field-icon {
    display: none !important;
}
body.zh .zh-register .zh-label,
body.zh .zh-register .form-group > label:not(.field-icon) {
    display: block;
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh .zh-register .form-group {
    margin-bottom: 16px;
}
body.zh .zh-register .prepend-icon .field,
body.zh .zh-register .field,
body.zh .zh-register .form-control {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    background-color: var(--bg);
}
body.zh .zh-register .field:focus,
body.zh .zh-register .form-control:focus {
    border-color: var(--primary-400);
    box-shadow: var(--zh-focus);
    outline: 0;
}
.zh-register .intl-tel-input,
.zh-register .iti {
    display: block;
    width: 100%;
}
body.zh .zh-register .intl-tel-input .field,
body.zh .zh-register .iti .field {
    padding-left: 88px;
}
body.zh .zh-register .zh-svc-card .card-title small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-lifted);
}
body.zh .zh-register .zh-auth-submit {
    min-width: 220px;
    height: 46px;
    font-size: 15px;
}
@media (max-width: 767.98px) {
    .zh-auth-top {
        padding-top: 28px;
    }
    body.zh .zh-auth-card > .card-body {
        padding: 22px 18px;
    }
    /* The footer stacks on phones; keep it centred under the card like the rest of the page. */
    body.zh-auth footer.zh-footer {
        align-items: center;
    }
    body.zh-auth footer.zh-footer .copyright {
        text-align: center;
    }
}
body.zh-auth .zh-content {
    margin-left: auto;
    margin-right: auto;
}
body.zh .zh-register .prepend-icon .field,
body.zh .zh-register select.field,
body.zh .zh-register .prepend-icon select.form-control {
    padding-left: 12px !important;
}
body.zh .zh-register .intl-tel-input .field,
body.zh .zh-register .iti .field {
    padding-left: 88px !important;
}

/* ---------- Ordering: configure, cart, checkout ----------
   Once something is being ordered the store menus step aside; a steps bar
   shows where the order stands and each page is laid out as work on the left,
   money on the right. */

body.zh-order-flow #order-standard_cart > .row > .cart-sidebar {
    display: none !important;
}
body.zh-order-flow .primary-content {
    max-width: 1120px;
}

.zh-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
}
.zh-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-400);
}
.zh-step > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}
.zh-step + .zh-step::before {
    content: "";
    width: 36px;
    height: 1px;
    margin-right: 2px;
    background-color: var(--neutral-300);
}
.zh-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--neutral-300);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    background-color: var(--bg);
}
.zh-step.is-current {
    color: var(--zh-ink);
    font-weight: 600;
}
.zh-step.is-current .zh-step-num {
    border-color: var(--primary);
    color: #fff;
    background-color: var(--primary);
}
.zh-step.is-done {
    color: var(--neutral-600);
}
.zh-step.is-done .zh-step-num {
    border-color: var(--primary-200);
    color: var(--primary-700);
    background-color: var(--primary-50);
}
.zh-step.is-done + .zh-step::before {
    background-color: var(--primary-300);
}
body.zh .zh-step > a:hover {
    color: var(--primary-700);
    text-decoration: none;
}

/* Two columns: the form, then the summary */
body.zh-order-flow #order-standard_cart .cart-body > .row,
body.zh-order-flow #order-standard_cart #frmConfigureProduct > .row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
}
body.zh-order-flow #order-standard_cart .secondary-cart-body {
    flex: 1 1 0;
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}
body.zh-order-flow #order-standard_cart .secondary-cart-sidebar {
    flex: 0 0 340px;
    float: none;
    width: 340px;
    padding: 0;
    position: sticky;
    top: calc(var(--zh-bar-h) + 16px);
}

/* Order summary card (configure and cart) */
body.zh #order-standard_cart .order-summary {
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
    background-color: var(--bg);
}
body.zh #order-standard_cart .order-summary h2 {
    margin: 0;
    padding: 13px 18px;
    border-bottom: 1px solid var(--zh-line);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    color: var(--zh-ink);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .order-summary .summary-container {
    min-height: 0;
    margin: 0;
    padding: 16px 18px 18px;
    border-radius: 0;
    font-size: 13.5px;
    color: var(--neutral-700);
    background-color: transparent;
}
body.zh #order-standard_cart .order-summary .product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .order-summary .product-group {
    margin-bottom: 8px;
    font-style: normal;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .order-summary .summary-totals,
body.zh #order-standard_cart .order-summary .bordered-totals {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid var(--zh-line);
    border-bottom: 1px solid var(--zh-line);
}
body.zh #order-standard_cart .order-summary .subtotal {
    margin: 0;
    padding: 0 0 2px;
    border: 0;
    font-size: 13.5px;
}
body.zh #order-standard_cart .order-summary .clearfix {
    padding: 3px 0;
}
body.zh #order-standard_cart .order-summary .recurring-totals {
    margin: 0;
    padding: 2px 0 0;
    border: 0;
    font-size: 12.5px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .order-summary .recurring-charges {
    font-size: 12.5px;
    font-style: normal;
}
body.zh #order-standard_cart .order-summary .total-due-today {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2px;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--zh-line);
    font-size: 13px;
    text-align: left;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .order-summary .total-due-today .amt {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .order-summary .total-due-today span {
    display: block;
    font-size: 13px;
}
body.zh #order-standard_cart .order-summary .loader {
    top: 14px;
    right: 16px;
    color: var(--primary);
}
body.zh #order-standard_cart .order-summary .text-right {
    margin-top: 16px;
    text-align: center !important;
}
body.zh #order-standard_cart .order-summary .text-right br {
    display: none;
}
body.zh #order-standard_cart .order-summary .btn-checkout,
body.zh #order-standard_cart .secondary-cart-sidebar #btnCompleteProductConfig {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--primary);
    border-radius: var(--rounding-sm);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary);
    box-shadow: none;
}
body.zh #order-standard_cart .order-summary .btn-checkout:hover,
body.zh #order-standard_cart .secondary-cart-sidebar #btnCompleteProductConfig:hover {
    border-color: var(--primary-lifted);
    background-color: var(--primary-lifted);
}
body.zh #order-standard_cart .order-summary .btn-checkout.disabled {
    opacity: 0.5;
}
body.zh #order-standard_cart .order-summary .btn-checkout i,
body.zh #order-standard_cart #btnCompleteProductConfig i {
    font-size: 13px;
}
body.zh #order-standard_cart .order-summary .btn-continue-shopping {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--primary-700);
}
body.zh #order-standard_cart .order-summary .express-checkout-buttons .separator {
    margin: 10px 0;
    font-size: 12px;
    color: var(--text-lifted);
}

/* Configure */
body.zh-order-flow #order-standard_cart .secondary-cart-body > p:first-child {
    margin-bottom: 14px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .product-info {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--neutral-600);
    background-color: var(--bg);
}
body.zh #order-standard_cart .product-info .product-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .product-info p:last-child {
    margin-bottom: 0;
}
body.zh #order-standard_cart .field-container {
    margin-bottom: 18px;
}
body.zh #order-standard_cart .field-container label,
body.zh #order-standard_cart .form-group > label:not(.field-icon):not(.radio-inline):not(.checkbox-inline) {
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .field-container br {
    display: none;
}
body.zh #order-standard_cart .field-container .form-control,
body.zh #order-standard_cart .field-container .custom-select {
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    font-size: 14.5px;
    background-color: var(--bg);
}
body.zh #order-standard_cart .field-container .select-inline {
    width: auto;
    min-width: 260px;
    max-width: 100%;
}
body.zh #order-standard_cart .sub-heading {
    height: auto;
    margin: 26px 0 14px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid var(--zh-line);
    text-align: left;
}
body.zh #order-standard_cart .sub-heading span,
body.zh #order-standard_cart .sub-heading-borderless span {
    position: static;
    top: auto;
    padding: 0;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--zh-ink);
    background: transparent !important;
}
body.zh #order-standard_cart .sub-heading span small {
    margin-left: 8px;
    font-size: 12.5px;
    font-weight: 400;
    font-style: normal;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .sub-heading span br {
    display: none;
}
body.zh #order-standard_cart .secondary-cart-body > .alert-warning.info-text-sm,
body.zh #order-standard_cart .secondary-cart-body .alert.info-text-sm {
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    font-size: 13.5px;
    text-align: left;
    color: var(--neutral-600);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .panel-addon,
body.zh #order-standard_cart .addon-products .panel-addon {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    box-shadow: none;
}
body.zh #order-standard_cart .panel-addon-selected {
    border-color: var(--primary);
}
body.zh #order-standard_cart .panel-addon .panel-add {
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .panel-addon-selected .panel-add {
    color: #fff;
    background-color: var(--primary);
}

/* Cart */
body.zh #order-standard_cart .view-cart-items-header {
    margin: 0;
    padding: 12px 18px;
    border: 1px solid var(--zh-line);
    border-bottom: 0;
    border-radius: var(--rounding-lg) var(--rounding-lg) 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-700);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .view-cart-items {
    margin: 0;
    border: 1px solid var(--zh-line);
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
    overflow: hidden;
    background-color: var(--bg);
}
body.zh #order-standard_cart .view-cart-items .item {
    margin: 0;
    padding: 16px 18px;
    border: 0;
    border-top: 1px solid var(--zh-line);
    font-size: 13.5px;
    background-color: transparent;
}
body.zh #order-standard_cart .view-cart-items .item:first-child {
    border-top: 0;
}
body.zh #order-standard_cart .view-cart-items .item-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .view-cart-items .item-title .btn-link {
    padding: 2px 8px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-600);
}
body.zh #order-standard_cart .view-cart-items .item-title .btn-link:hover {
    border-color: var(--primary-300);
    color: var(--primary-800);
    text-decoration: none;
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .view-cart-items .item-title .btn-link i {
    font-size: 10.5px;
}
body.zh #order-standard_cart .view-cart-items .item-group {
    display: block;
    margin-top: 3px;
    font-size: 13.5px;
    color: var(--neutral-600);
}
body.zh #order-standard_cart .view-cart-items .item-domain {
    display: block;
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .view-cart-items .item-price {
    text-align: right;
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .view-cart-items .item-price span:first-child {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .view-cart-items .item-price .cycle {
    display: block;
    font-size: 12.5px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .view-cart-items .btn-remove-from-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: var(--rounding-sm);
    color: var(--neutral-400);
}
body.zh #order-standard_cart .view-cart-items .btn-remove-from-cart:hover {
    color: var(--error, #c0362c);
    text-decoration: none;
    background-color: var(--neutral-100);
}
body.zh #order-standard_cart .view-cart-items .item-qty .form-control {
    height: 36px;
}
body.zh #order-standard_cart .view-cart-empty {
    padding: 36px 18px;
    text-align: center;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .empty-cart {
    margin: 8px 0 0;
    text-align: right;
}
body.zh #order-standard_cart .empty-cart .btn {
    padding: 4px 8px;
    border: 0;
    border-radius: var(--rounding-sm);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-lifted);
    background: transparent;
}
body.zh #order-standard_cart .empty-cart .btn:hover {
    color: var(--error, #c0362c);
    text-decoration: none;
}
body.zh #order-standard_cart .view-cart-tabs {
    margin: 18px 0 0;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
    background-color: var(--bg);
}
body.zh #order-standard_cart .view-cart-tabs .nav-tabs {
    gap: 4px;
    margin: 0;
    padding: 6px 10px 0;
    border-bottom: 1px solid var(--zh-line);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .view-cart-tabs .nav-tabs .nav-item {
    margin: 0 0 -1px;
}
body.zh #order-standard_cart .view-cart-tabs .nav-tabs .nav-link {
    padding: 9px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--neutral-600);
    background: transparent;
}
body.zh #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary-800);
    font-weight: 600;
}
body.zh #order-standard_cart .view-cart-tabs .tab-content {
    margin: 0;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.zh #order-standard_cart #applyPromo form {
    display: flex;
    gap: 10px;
    max-width: 520px;
}
body.zh #order-standard_cart #applyPromo .form-group {
    flex: 1 1 auto;
    margin: 0;
}
body.zh #order-standard_cart #applyPromo .field {
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
}
body.zh #order-standard_cart #applyPromo .btn-block {
    flex: none;
    width: auto;
    height: 42px;
    margin: 0;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
body.zh #order-standard_cart .view-cart-promotion-code {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px dashed var(--primary-300);
    border-radius: var(--rounding-sm);
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart #calcTaxes .form-control {
    height: 40px;
}

/* Checkout */
body.zh-order-step-3 .primary-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 28px;
    align-items: start;
}
body.zh-order-step-3 .primary-content > * {
    grid-column: 1;
    min-width: 0;
}
body.zh-order-step-3 .primary-content > .zh-steps {
    grid-column: 1 / -1;
}
body.zh-order-step-3 .primary-content > .zh-co-summary {
    grid-column: 2;
    grid-row: 2 / span 20;
    position: sticky;
    top: calc(var(--zh-bar-h) + 16px);
}
.zh-co-summary {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
    background-color: var(--bg);
}
.zh-co-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--zh-line);
    font-size: 13.5px;
    font-weight: 500;
    background-color: var(--primary-50);
}
.zh-co-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--zh-ink);
}
.zh-co-items {
    margin: 0;
    padding: 4px 18px;
    list-style: none;
}
.zh-co-items li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--zh-line);
    font-size: 13px;
}
.zh-co-items li:first-child {
    border-top: 0;
}
.zh-co-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    color: var(--text-lifted);
    overflow-wrap: anywhere;
}
.zh-co-item strong {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-co-price {
    flex: none;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zh-ink);
    white-space: nowrap;
}
.zh-co-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 18px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--zh-line);
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-co-total strong {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--zh-ink);
}
.zh-co-note {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 12.5px;
    color: var(--text-lifted);
}
.zh-co-items + .zh-co-note {
    padding-bottom: 12px;
    color: var(--primary-800);
}

body.zh-order-step-3 #order-standard_cart .already-registered {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin: 0 0 4px;
}
body.zh-order-step-3 #order-standard_cart .already-registered p {
    margin: 0;
    color: var(--text-lifted);
}
body.zh #order-standard_cart .already-registered .btn {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--primary-200);
    border-radius: var(--rounding-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-800);
    white-space: nowrap;
    background-color: var(--primary-50);
    box-shadow: none;
}
body.zh #order-standard_cart .already-registered .btn:hover {
    border-color: var(--primary-300);
    background-color: var(--primary-100);
}
body.zh #order-standard_cart #frmCheckout .row {
    margin-left: -8px;
    margin-right: -8px;
}
body.zh #order-standard_cart #frmCheckout .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
body.zh #order-standard_cart #frmCheckout .form-group {
    margin-bottom: 14px;
}
body.zh #order-standard_cart #frmCheckout .zh-label,
body.zh #order-standard_cart #frmCheckout .form-group > label:not(.field-icon) {
    display: block;
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh #order-standard_cart #frmCheckout .zh-labelled .field-icon {
    display: none !important;
}
body.zh #order-standard_cart #frmCheckout .field,
body.zh #order-standard_cart #frmCheckout .form-control {
    width: 100%;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    font-size: 14.5px;
    background-color: var(--bg);
}
body.zh #order-standard_cart #frmCheckout textarea.form-control {
    height: auto;
    padding: 10px 12px;
}
body.zh #order-standard_cart #frmCheckout .zh-labelled .field,
body.zh #order-standard_cart #frmCheckout .zh-labelled select.form-control {
    padding-left: 12px !important;
}
body.zh #order-standard_cart #frmCheckout .field:focus,
body.zh #order-standard_cart #frmCheckout .form-control:focus {
    border-color: var(--primary-400);
    box-shadow: var(--zh-focus);
    outline: 0;
}
body.zh #order-standard_cart #frmCheckout .intl-tel-input,
body.zh #order-standard_cart #frmCheckout .iti {
    display: block;
    width: 100%;
}
body.zh #order-standard_cart #frmCheckout .zh-labelled .intl-tel-input .field,
body.zh #order-standard_cart #frmCheckout .zh-labelled .iti .field {
    padding-left: 88px !important;
}
body.zh #order-standard_cart #frmCheckout .field-help-text {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart #frmCheckout .generate-password {
    margin-bottom: 8px;
}
body.zh #order-standard_cart #frmCheckout .password-strength-meter .progress {
    height: 6px;
    margin: 6px 0;
    border-radius: 999px;
    background-color: var(--neutral-200);
}
/* The total lives in the summary; the stock banner stays for the script that updates it. */
body.zh-order-step-3 #order-standard_cart #totalDueToday {
    display: none;
}
body.zh #order-standard_cart #paymentGatewaysContainer > p {
    margin-bottom: 10px;
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh #order-standard_cart #paymentGatewaysContainer .text-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    text-align: left !important;
}
body.zh #order-standard_cart #paymentGatewaysContainer .radio-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--zh-ink);
    cursor: pointer;
    background-color: var(--bg);
}
body.zh #order-standard_cart #paymentGatewaysContainer .radio-inline:hover {
    border-color: var(--primary-300);
}
body.zh #order-standard_cart #paymentGatewaysContainer .radio-inline:has(.checked),
body.zh #order-standard_cart #paymentGatewaysContainer .radio-inline:has(input:checked) {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart #paymentGatewaysContainer .radio-inline > div {
    flex: none;
    margin: 0;
}
body.zh #order-standard_cart .cc-input-container {
    margin-top: 14px;
    padding: 16px 18px 4px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .cc-input-container ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
body.zh #order-standard_cart .apply-credit-container {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .account-select-container .account {
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
}
body.zh #order-standard_cart .account-select-container .account.active {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .marketing-email-optin {
    margin: 22px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart #frmCheckout > .text-center:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--zh-line);
    text-align: left !important;
}
body.zh #order-standard_cart #frmCheckout > .text-center:last-child p {
    margin: 0;
    font-size: 13.5px;
}
body.zh #order-standard_cart #btnCompleteOrder {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 240px;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--rounding-sm);
    font-size: 15.5px;
    font-weight: 600;
}
body.zh #order-standard_cart .checkout-security-msg {
    margin-top: 20px;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    font-size: 13px;
    color: var(--neutral-600);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .checkout-security-msg i {
    font-size: 16px;
    color: var(--primary);
}
body.zh #order-standard_cart .modal-remove-item .modal-title i {
    color: var(--neutral-300);
}

@media (max-width: 991.98px) {
    body.zh-order-flow #order-standard_cart .cart-body > .row,
    body.zh-order-flow #order-standard_cart #frmConfigureProduct > .row {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    body.zh-order-flow #order-standard_cart .secondary-cart-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    body.zh-order-step-3 .primary-content {
        display: flex;
        flex-direction: column;
    }
    body.zh-order-step-3 .primary-content > .zh-co-summary {
        position: static;
        margin-bottom: 20px;
    }
}
@media (max-width: 575.98px) {
    .zh-steps {
        gap: 6px;
        font-size: 12.5px;
    }
    .zh-step + .zh-step::before {
        width: 14px;
    }
    .zh-step:not(.is-current) .zh-step-name {
        display: none;
    }
    body.zh #order-standard_cart #applyPromo form {
        flex-direction: column;
    }
    body.zh-order-step-3 #order-standard_cart .already-registered {
        flex-direction: column;
        align-items: flex-start;
    }
    body.zh #order-standard_cart #btnCompleteOrder {
        align-self: stretch;
    }
    body.zh #order-standard_cart .view-cart-items .item-price {
        margin-top: 8px;
        text-align: left;
    }
}
body.zh #order-standard_cart .field-container label {
    display: block;
}
body.zh-order-step-3 #order-standard_cart .already-registered p {
    padding: 0;
    text-align: left;
}
body.zh-order-step-3 #order-standard_cart .already-registered::before,
body.zh-order-step-3 #order-standard_cart .already-registered::after {
    display: none;
}
body.zh #order-standard_cart #containerExistingUserSignin > .text-center {
    text-align: left !important;
}
@media (max-width: 991.98px) {
    body.zh-order-flow #order-standard_cart .secondary-cart-body {
        flex: none;
    }
    body.zh-order-step-3 .primary-content {
        align-items: stretch;
    }
}

/* A quieter second line under a domain option on the order form */
.zh-option-note {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-lifted);
}
.zh-option-note {
    padding-left: 36px;
}

/* ---------- Store: toolbar, plan cards, domain pages ----------
   Categories and actions share one row without their labels (the left menu
   already names them); the currency sits at the end of that row. */

@media (min-width: 992px) {
    body.zh #order-standard_cart > .row > .cart-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--zh-line);
    }
    body.zh #order-standard_cart .cart-sidebar .card-sidebar {
        flex: 0 1 auto;
    }
    body.zh #order-standard_cart .cart-sidebar .card-sidebar > .card-header {
        display: none;
    }
    body.zh #order-standard_cart .cart-sidebar .card-sidebar[menuItemName="Actions"] {
        padding-left: 12px;
        border-left: 1px solid var(--zh-line);
    }
    body.zh #order-standard_cart .cart-sidebar .card-sidebar[menuItemName="Choose Currency"] {
        margin-left: auto !important;
    }
    body.zh #order-standard_cart .cart-sidebar .card-body .form-control,
    body.zh #order-standard_cart .cart-sidebar .card-body .custom-select {
        min-width: 92px;
        border-radius: 999px;
    }
}
body.zh #order-standard_cart .header-lined p {
    margin: 6px 0 0;
    font-size: 15px;
    color: var(--text-lifted);
}

/* Plan cards */
body.zh #order-standard_cart #products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 16px;
    margin: 0;
}
body.zh #order-standard_cart #products > .row {
    display: contents;
}
body.zh #order-standard_cart #products > .row::before,
body.zh #order-standard_cart #products > .row::after {
    display: none;
}
body.zh #order-standard_cart #products > .row > [class*="col-"] {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}
body.zh #order-standard_cart #products .product {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background-color: var(--bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.zh #order-standard_cart #products .product:hover {
    border-color: var(--primary-300);
    box-shadow: 0 6px 18px rgba(24, 24, 27, 0.06);
}
body.zh #order-standard_cart #products .product::before,
body.zh #order-standard_cart #products .product::after {
    display: none;
}
body.zh #order-standard_cart #products .product header {
    order: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.zh #order-standard_cart #products .product header span {
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
body.zh #order-standard_cart #products .product header .qty {
    flex: none;
    float: none;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart #products .product footer {
    display: contents;
}
body.zh #order-standard_cart #products .product .product-pricing {
    order: 2;
    float: none;
    width: auto;
    margin: 12px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    color: var(--text-lifted);
}
body.zh #order-standard_cart #products .product .product-pricing .price {
    display: inline-block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--zh-ink);
}
body.zh #order-standard_cart #products .product .product-pricing br:last-child {
    display: none;
}
body.zh #order-standard_cart #products .product .product-desc {
    order: 3;
    flex: 1 1 auto;
    float: none;
    width: auto;
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--zh-line);
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--neutral-700);
}
body.zh #order-standard_cart #products .product .product-desc:not(:has(li, p)) {
    margin-top: 4px;
    padding-top: 0;
    border-top: 0;
}
body.zh #order-standard_cart #products .product .product-desc p {
    margin: 0 0 8px;
}
body.zh #order-standard_cart #products .product .product-desc ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.zh #order-standard_cart #products .product .product-desc li {
    position: relative;
    padding-left: 22px;
}
body.zh #order-standard_cart #products .product .product-desc li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    font-weight: 400;
    color: var(--primary);
}
body.zh #order-standard_cart #products .product .product-desc .feature-value {
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart #products .product .btn-order-now {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
    height: 42px;
    margin: 20px 0 0;
    padding: 0 16px;
    border: 1px solid var(--primary-200);
    border-radius: var(--rounding-sm);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--primary-800);
    background-color: var(--primary-50);
    box-shadow: none;
}
body.zh #order-standard_cart #products .product:hover .btn-order-now,
body.zh #order-standard_cart #products .product .btn-order-now:hover,
body.zh #order-standard_cart #products .product .btn-order-now:focus {
    border-color: var(--primary);
    color: #fff;
    background-color: var(--primary);
}
body.zh #order-standard_cart #products .product .btn-order-now i {
    display: none;
}

/* Domain search */
body.zh #order-standard_cart .domain-checker-container {
    margin: 0 0 24px;
    border: 1px solid var(--primary-100);
    border-radius: var(--rounding-lg);
    background: var(--primary-50);
}
body.zh #order-standard_cart .domain-checker-bg {
    padding: 36px 20px;
    background-image: none;
}
body.zh #order-standard_cart .domain-checker-container .input-group-box {
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
    box-shadow: none;
}
body.zh #order-standard_cart .domain-checker-container .input-group-box .form-control {
    height: 44px;
    border: 0;
    font-size: 16px;
    box-shadow: none;
}
body.zh #order-standard_cart .domain-checker-container .input-group-box .btn {
    height: 44px;
    padding: 0 22px;
    border-radius: var(--rounding-sm) !important;
    font-size: 15px;
    font-weight: 600;
}
body.zh #order-standard_cart .featured-tlds-container {
    margin-bottom: 8px;
}
body.zh #order-standard_cart .featured-tld {
    margin-bottom: 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
    background-color: var(--bg);
    box-shadow: none;
}
body.zh #order-standard_cart .featured-tld .img-container {
    height: 84px;
    padding: 14px;
}
body.zh #order-standard_cart .featured-tld .img-container img {
    max-height: 56px;
}
body.zh #order-standard_cart .featured-tld .price {
    padding: 8px 10px;
    border-top: 1px solid var(--zh-line);
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-ink) !important;
    background-color: var(--neutral-50) !important;
}
body.zh #order-standard_cart .domain-pricing h4 {
    margin: 8px 0 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.005em;
}
body.zh #order-standard_cart .tld-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
body.zh #order-standard_cart .tld-filters a {
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--neutral-700);
    background-color: var(--bg);
}
body.zh #order-standard_cart .tld-filters a:hover {
    border-color: var(--primary-300);
    color: var(--primary-800);
    text-decoration: none;
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .tld-filters a.badge-success,
body.zh #order-standard_cart .tld-filters a.label-success {
    border-color: var(--primary);
    color: #fff;
    background-color: var(--primary);
}
body.zh #order-standard_cart .domain-pricing .bg-white {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
}
body.zh #order-standard_cart .tld-pricing-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-700);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .tld-pricing-header > div {
    padding: 11px 10px;
    border: 0 !important;
}
body.zh #order-standard_cart .tld-row {
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid var(--zh-line);
    font-size: 13.5px;
    line-height: 1.35;
    background-color: transparent !important;
}
body.zh #order-standard_cart .tld-row .two-row-center {
    padding-left: 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .tld-row small {
    color: var(--text-lifted);
}
body.zh #order-standard_cart .tld-row .col-xs-4,
body.zh #order-standard_cart .tld-row .col-4 {
    border: 0;
}
body.zh #order-standard_cart .domain-promo-box {
    margin: 20px 0 16px;
    padding: 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background-color: var(--bg);
    box-shadow: none;
}
body.zh #order-standard_cart .domain-promo-box h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
body.zh #order-standard_cart .domain-promo-box .font-bold {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted) !important;
}
body.zh #order-standard_cart .domain-promo-box p {
    font-size: 13.5px;
    color: var(--neutral-600);
}
body.zh #order-standard_cart .domain-promo-box .fa-4x {
    font-size: 30px;
    color: var(--primary);
}
body.zh #order-standard_cart .domain-promo-box .btn {
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--primary-200);
    border-radius: var(--rounding-sm);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 36px;
    color: var(--primary-800);
    background-color: var(--primary-50);
}
body.zh #order-standard_cart .domain-promo-box .btn:hover {
    border-color: var(--primary);
    color: #fff;
    background-color: var(--primary);
}

/* Domain transfer */
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body > .text-center {
    text-align: left !important;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body h2 {
    display: none;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body h2 + p {
    margin-bottom: 18px;
    color: var(--text-lifted);
}
body.zh.zh-page-domaintransfer #order-standard_cart #frmDomainTransfer .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 640px;
    margin-left: 0;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    overflow: hidden;
    box-shadow: none;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card > .card-header {
    padding: 13px 18px !important;
    border-bottom: 1px solid var(--zh-line);
    background-color: var(--primary-50);
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card .card-title {
    margin: 0 !important;
    font-size: 15px;
    font-weight: 600;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card .form-control {
    height: 42px;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card label {
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card > .card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--zh-line);
    background-color: var(--neutral-50);
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body > p.text-center.small {
    max-width: 640px;
    text-align: left !important;
    color: var(--text-lifted);
}

body.zh #order-standard_cart #products {
    align-content: start;
    align-items: stretch;
}
body.zh #order-standard_cart #products > .row > [class*="col-"] {
    display: flex;
}
body.zh #order-standard_cart #products .product {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 0;
}
body.zh #order-standard_cart #products .product .product-desc {
    height: auto !important;
    min-height: 0 !important;
}
body.zh #order-standard_cart .tld-pricing-header .col-4,
body.zh #order-standard_cart .tld-pricing-header .col-xs-4 {
    padding: 0;
    border: 0 !important;
}
body.zh #order-standard_cart .tld-pricing-header .tld-column {
    padding-left: 18px;
    text-align: left;
}
body.zh #order-standard_cart .tld-row div {
    border: 0 !important;
}
@media (max-width: 575.98px) {
    body.zh #order-standard_cart .domain-checker-bg {
        padding: 20px 8px;
    }
    body.zh #order-standard_cart .domain-checker-bg [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 0 4px;
    }
}
@media (max-width: 575.98px) {
    body.zh #order-standard_cart .domain-checker-bg {
        padding: 16px 12px;
    }
    body.zh #order-standard_cart .domain-checker-bg .row {
        margin-left: 0;
        margin-right: 0;
    }
    body.zh #order-standard_cart .domain-checker-bg [class*="col-"] {
        padding: 0;
    }
}


/* ---------- Loading states ---------- */
/*
    Skeletons stand in for content whose shape is known (pages, lists, values);
    spinners are for things that only need "working on it" (pop-ups, search, buttons, small sections).
*/

@keyframes zh-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}
@keyframes zh-spin {
    to { transform: rotate(360deg); }
}

.zh-skel {
    display: block;
    max-width: 100%;
    height: 12px;
    border-radius: 6px;
    background-color: var(--neutral-200);
    background-image: linear-gradient(90deg, var(--neutral-200) 0%, var(--neutral-100) 50%, var(--neutral-200) 100%);
    background-size: 200% 100%;
    animation: zh-shimmer 1.4s ease-in-out infinite;
}
/* A value inside a sentence or a field, such as an SSL date still being checked */
.zh-skel-text {
    display: inline-block;
    width: 96px;
    height: 0.85em;
    vertical-align: middle;
}
.zh-skel-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.zh-skel-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}
.zh-skel-btn {
    flex: none;
    width: 120px;
    height: 36px;
    border-radius: 8px;
}
.zh-skel-btn-sm {
    width: 92px;
    height: 30px;
    margin-left: auto;
}
.zh-skel-pill {
    flex: none;
    width: 64px;
    height: 22px;
    border-radius: 999px;
}

/* Building blocks the page shapes are made of */
.zh-skel-page {
    pointer-events: none;
    user-select: none;
}
.zh-skel-row,
.zh-skel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zh-skel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.zh-skel-card {
    margin-bottom: 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    overflow: hidden;
}
.zh-skel-pad {
    padding: 20px;
}
.zh-skel-pad .zh-skel-head {
    margin-bottom: 0;
}
.zh-skel-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--zh-line);
    background: var(--primary-50);
}
.zh-skel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--zh-line);
}
.zh-skel-item:last-child {
    border-bottom: 0;
}
.zh-skel-item-main {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-skel-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.zh-skel-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px;
}
.zh-skel-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.zh-skel-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--zh-line);
}
.zh-skel-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}
.zh-skel-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
}
@media (max-width: 767.98px) {
    .zh-skel-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-skel-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-skel-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-skel-head .zh-skel-actions,
    .zh-skel-hide-sm {
        display: none;
    }
}

/* Next page on its way: the placeholder takes the place of the page body */
.zh-nav-skel {
    flex: 1 0 auto;
}
body.zh-navigating section#main-body {
    display: none;
}
body.zh-navigating .zh-nav-skel {
    display: block !important;
}

/* List tables while they are set up */
body.zh .zh-skel-table {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    overflow: hidden;
}

/* Spinner */
.zh-spinner {
    display: inline-block;
    flex: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    vertical-align: middle;
    animation: zh-spin 0.7s linear infinite;
}
.zh-spinner-sm {
    width: 14px;
    height: 14px;
}
.zh-spinner-lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
}
/* A section of a page that fills in on its own */
.zh-section-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 16px;
    font-size: 14px;
    color: var(--text-lifted);
}

/* Pop-up windows that load their content */
body.zh #modalAjax .modal-body:empty {
    min-height: 120px;
}
body.zh #modalAjax .modal-body:empty::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 36px auto;
    border: 3px solid var(--primary-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: zh-spin 0.7s linear infinite;
}
body.zh #modalAjax .modal-footer .loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-lifted);
}

/* Top bar search while it reads the client's hosting and domains */
.zh-find-note.is-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .zh-skel {
        animation: none;
    }
    .zh-spinner,
    body.zh #modalAjax .modal-body:empty::before {
        animation-duration: 1.6s;
    }
}

/* Stock Font Awesome spinners (button actions, parent-theme pages) take the same ring as .zh-spinner */
body.zh i.fa-spinner.fa-spin,
body.zh i.fa-circle-notch.fa-spin {
    width: 1em;
    height: 1em;
    border: 0.14em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -0.125em;
    animation: zh-spin 0.7s linear infinite;
}
body.zh i.fa-spinner.fa-spin::before,
body.zh i.fa-circle-notch.fa-spin::before {
    content: none;
}

/* ---------- List page title row and table tidy-ups ---------- */

/* Title on the left, the page's order buttons on the far right */
.zh-page-head.has-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.zh-page-head-text {
    min-width: 0;
}
body.zh .zh-page-actions {
    flex: none;
    margin: 0;
}

/* Row numbers */
body.zh .zh-list table.table-list th.zh-cell-num,
body.zh .zh-list table.table-list td.zh-cell-num {
    width: 44px;
    padding-right: 0;
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--text-lifted);
}

/* Name with a small SSL badge after it */
.zh-cell-titlebar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}
body.zh .zh-cell-titlebar .zh-cell-title {
    display: inline;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zh-ssl {
    flex: none;
    display: inline-flex;
    line-height: 0;
}
.zh-ssl img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* The invoices table needs about 760px; below that the summary box goes above it instead of beside it */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    body.zh-page-clientareainvoices .zh-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    body.zh-page-clientareainvoices .zh-aside {
        order: 0;
        flex: none;
        width: 100%;
    }
}

/* ---------- List table bars: filters beside search on top, count and paging below ---------- */

/* Status filters wait hidden until the table script moves them into the table's top bar */
body.zh .view-filter-btns:not(.zh-dt-moved) {
    display: none;
}
.zh-list-bar:not(:has(.zh-menu)):not(:has(.zh-list-actions)) {
    display: none;
}

body.zh .zh-list .listtable .zh-dt-filters {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 16px;
}
.zh-dt-filters .list-group-item i.far.fa-circle,
.zh-dt-filters .list-group-item i.far.fa-dot-circle {
    display: none;
}
.zh-dt-filters .zh-menu-label {
    display: none;
}
body.zh .zh-dt-filters .zh-menu .list-group-item {
    padding: 5px 12px;
    font-size: 13px;
}

/* Below the table: page size and count on the left, page buttons on the right */
.zh-dt-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 14px;
}
body.zh .zh-list .zh-dt-foot .dataTables_length,
body.zh .zh-list .zh-dt-foot .dataTables_info,
body.zh .zh-list .zh-dt-foot .dataTables_paginate {
    float: none;
    margin: 0;
    padding: 0;
}
body.zh .zh-list .zh-dt-foot .dataTables_info {
    flex: 1 1 auto;
    font-size: 13.5px;
    white-space: normal;
    color: var(--text-lifted);
}
body.zh .zh-list .zh-dt-foot .dataTables_paginate {
    margin-left: auto;
}

@media (max-width: 767.98px) {
    body.zh .zh-list .listtable .zh-dt-filters {
        flex-basis: 100%;
        padding-bottom: 0;
    }
    body.zh .zh-list .listtable .dataTables_filter {
        flex: 1 1 100%;
        padding: 10px 16px;
    }
}
/* With no filters beside it, the search box still sits on the right */
body.zh .zh-list .listtable .dataTables_filter {
    margin-left: auto;
}

/* Small screens: title-row buttons drop under the title and wrap instead of running off the edge */
@media (max-width: 767.98px) {
    body.zh .zh-page-actions {
        flex: 1 1 100%;
        min-width: 0;
    }
    body.zh .zh-page-actions .zh-actions-items {
        flex-wrap: wrap;
    }
}

/* Table search: the magnifier sits inside the box, centred, just before where the text starts */
body.zh .dataTables_wrapper .dataTables_filter::after {
    content: none;
}
body.zh .dataTables_wrapper .dataTables_filter label {
    position: relative;
}
body.zh .dataTables_wrapper .dataTables_filter label::before {
    content: "\f002";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: var(--text-lifted);
    pointer-events: none;
}
body.zh .dataTables_wrapper .dataTables_filter label .form-control {
    padding: 7px 14px 7px 36px !important;
}


/* ---------- Hosting details ---------- */

/* Summary: name and ways in on top, the billing period in a tinted band underneath. */
.zh-host-hero {
    margin-bottom: 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    overflow: hidden;
}
.zh-host-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    padding: 20px 22px;
}
.zh-host-name {
    flex: 1 1 300px;
    min-width: 0;
}
.zh-host-top > .zh-svc-icon {
    flex: none;
}
.zh-host-titlebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}
body.zh .zh-host-title {
    margin: 0;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.zh-host-plan {
    margin: 3px 0 0;
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-host-actions {
    flex: 0 1 auto;
}

/* Button order: quiet ones first, the way into the control panel last and filled. */
body.zh .zh-host-actions .zh-actions-items a.list-group-item[menuitemname="Cancel"] {
    order: -1;
    border-color: transparent;
    color: var(--text-lifted);
    background: transparent;
}
body.zh .zh-host-actions .zh-actions-items a.list-group-item[menuitemname="Cancel"]:hover {
    border-color: transparent;
    color: var(--error);
    background: #fdecef;
}
body.zh .zh-host-actions > .btn-default {
    order: 1;
}
body.zh .zh-host-actions .zh-actions-items .list-group-item[data-identifier]:not([data-identifier] ~ [data-identifier]) {
    order: 2;
    border-color: var(--primary);
    color: #fff;
    background-color: var(--primary);
}
body.zh .zh-host-actions .zh-actions-items .list-group-item[data-identifier]:not([data-identifier] ~ [data-identifier]):hover {
    border-color: var(--primary-700);
    color: #fff;
    background-color: var(--primary-700);
}
body.zh .zh-host-actions .list-group-item[data-identifier]:not([data-identifier] ~ [data-identifier]) .sidebar-menu-item-icon-wrapper {
    color: inherit;
}
body.zh .zh-host-actions > .btn-primary {
    order: 3;
}

.zh-host-bill {
    display: grid;
    grid-template-columns: minmax(260px, 5fr) 7fr;
    gap: 18px 36px;
    align-items: center;
    padding: 18px 22px;
    border-top: 1px solid var(--primary-100);
    background: var(--primary-50);
}
.zh-host-renew-head {
    display: grid;
    gap: 3px;
}
.zh-host-k {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-host-v {
    font-size: 16px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-host-v .zh-left {
    display: inline;
    margin-left: 4px;
}
/* The bar fills as the billing period runs out. */
.zh-host-track {
    position: relative;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--primary-100);
    overflow: hidden;
}
.zh-host-track > span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--primary);
}
.zh-host-renew.is-soon .zh-host-track > span {
    background: var(--warning);
}
.zh-host-renew.is-past .zh-host-track > span {
    background: var(--error);
}
.zh-host-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding-left: 36px;
    border-left: 1px solid var(--primary-100);
}
.zh-host-facts dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-host-facts dd {
    margin: 3px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-host-note {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-lifted);
}
.zh-host-hero > .zh-svc-suspended {
    margin: 0;
    border-radius: 0;
}

/* Body: the control panel on the left, the details people copy on the right. */
.zh-host-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}
.zh-host-main > :last-child,
.zh-host-side > :last-child {
    margin-bottom: 0 !important;
}
.zh-host-card-link {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.zh-host-list {
    margin: 0;
}
.zh-host-list > div {
    padding: 10px 14px 10px 20px;
    border-bottom: 1px solid var(--zh-line);
}
.zh-host-list > div:last-child {
    border-bottom: 0;
}
.zh-host-list dt {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-host-list dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
    margin: 1px 0 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-host-copytext {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.zh .zh-copy {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--rounding-sm);
    font-size: 13px;
    color: var(--text-lifted);
    background: transparent;
    cursor: pointer;
}
body.zh .zh-copy:hover {
    color: var(--primary-700);
    background: var(--primary-50);
}
body.zh .zh-copy:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}
body.zh .zh-copy.is-copied {
    color: var(--success);
}
.zh-host-ssl-state {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--zh-line);
    font-size: 15px;
    font-weight: 650;
}
.zh-host-ssl-state:last-child {
    border-bottom: 0;
}
.zh-host-ssl.is-active .zh-host-ssl-state {
    color: var(--success);
}
.zh-host-ssl-state img {
    flex: none;
}

@media (max-width: 1199.98px) {
    .zh-host-body {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-host-side {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0 20px;
        align-items: start;
    }
}
@media (max-width: 991.98px) {
    .zh-host-bill {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-host-facts {
        padding: 16px 0 0;
        border-left: 0;
        border-top: 1px solid var(--primary-100);
    }
}
@media (max-width: 767.98px) {
    .zh-host-top,
    .zh-host-bill {
        padding: 16px;
    }
    .zh-host-name {
        flex: 1 1 0;
    }
    body.zh .zh-host-title {
        font-size: 18px;
    }
    .zh-host-actions {
        flex: 1 1 100%;
    }
    .zh-host-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-host-side {
        display: block;
    }
}

/* The control panel column is narrower than a full-width page until wide screens. */
@media (min-width: 1200px) and (max-width: 1499.98px) {
    .zh-host-main .zh-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-host-main .zh-usage {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 767.98px) {
    /* On phones the quiet cancel link goes under the buttons rather than above them. */
    body.zh .zh-host-actions .zh-actions-items a.list-group-item[menuitemname="Cancel"] {
        order: 10;
        flex-basis: 100%;
    }
}


/* ---------- Domain details ---------- */

/* Settings as a tab strip under the summary. Links that open their own page sit after a divider. */
.zh-tabstrip {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--zh-line);
}
.zh-tabstrip .zh-menu-label {
    display: none;
}
body.zh .zh-tabstrip .zh-menu .zh-menu-items {
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
body.zh .zh-tabstrip .zh-menu .zh-menu-items::-webkit-scrollbar {
    display: none;
}
body.zh .zh-tabstrip .zh-menu .list-group-item {
    position: relative;
    padding: 10px 12px 12px;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-lifted);
    background: transparent;
}
body.zh .zh-tabstrip .zh-menu a.list-group-item:hover {
    color: var(--primary-700);
    background: transparent;
}
body.zh .zh-tabstrip .zh-menu .list-group-item::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
}
body.zh .zh-tabstrip .zh-menu .list-group-item.active {
    font-weight: 650;
    color: var(--primary-800);
    background: transparent;
}
body.zh .zh-tabstrip .zh-menu .list-group-item.active::after {
    background: var(--primary);
}
body.zh .zh-tabstrip .zh-menu a[data-toggle] + a:not([data-toggle]) {
    margin-left: 13px;
}
body.zh .zh-tabstrip .zh-menu a[data-toggle] + a:not([data-toggle])::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 12px;
    bottom: 14px;
    width: 1px;
    background: var(--zh-line);
}
@media (max-width: 991.98px) {
    body.zh .zh-tabstrip .zh-menu .zh-menu-items {
        margin: 0 calc(var(--zh-gutter) * -1);
        padding: 0 var(--zh-gutter);
    }
}

/* On/off settings in the side card, each with a way to change it. */
.zh-host-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zh-host-flag i {
    font-size: 13px;
}
.zh-host-flag.is-on i {
    color: var(--success);
}
.zh-host-flag.is-off {
    color: var(--text-lifted);
}
.zh-host-list dd > .zh-host-card-link {
    padding-right: 6px;
    font-size: 13px;
}


/* ---------- Server details (VPS, dedicated, anything without a module page) ---------- */

.zh-host-body.is-solo {
    grid-template-columns: minmax(0, 1fr);
}
body.zh .zh-host-actions > .zh-host-panel {
    order: 2;
}
/* Wide cards lay their rows out two across. */
.zh-host-list.is-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zh-host-list.is-grid > div {
    border-bottom: 1px solid var(--zh-line);
}
.zh-host-list.is-grid > div:nth-child(odd) {
    border-right: 1px solid var(--zh-line);
}
.zh-host-list.is-grid > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
}
.zh-host-list.is-grid > div.is-wide {
    grid-column: 1 / -1;
    border-right: 0;
}
.zh-host-list.is-grid > div:nth-last-child(1),
.zh-host-list.is-grid > div:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
}
.zh-host-list a.zh-host-copytext {
    font-weight: 600;
}
.zh-host-tools {
    flex: none;
    display: inline-flex;
    gap: 2px;
}
.zh-secret {
    letter-spacing: 0.12em;
}
.zh-secret.is-shown {
    letter-spacing: normal;
}
.zh-host-foot {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-host-side .zh-usage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
@media (max-width: 767.98px) {
    .zh-host-list.is-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-host-list.is-grid > div,
    .zh-host-list.is-grid > div:nth-child(odd) {
        border-right: 0;
        border-bottom: 1px solid var(--zh-line);
    }
    .zh-host-list.is-grid > div:last-child {
        border-bottom: 0;
    }
}

/* Billing band: facts take their natural width so long payment names stay on one line. */
.zh-host-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
}
.zh-host-facts > div {
    flex: 0 1 auto;
    min-width: 0;
}


/* ---------- Kind of hosting: icon tile and label ---------- */
/* Each kind has its own tint so a VPS stands out from shared hosting at a glance. */
.zh-kind-icon {
    --kind-fg: var(--primary);
    --kind-bg: var(--primary-50);
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--rounding-md);
    font-size: 15px;
    color: var(--kind-fg);
    background-color: var(--kind-bg);
}
.zh-kind-chip {
    --kind-fg: var(--primary-800);
    --kind-bg: var(--primary-50);
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    color: var(--kind-fg);
    background-color: var(--kind-bg);
}
.zh-kind-icon.is-vps,
.zh-kind-chip.is-vps {
    --kind-fg: #0b6b8a;
    --kind-bg: #e3f4f9;
}
.zh-kind-icon.is-dedicated,
.zh-kind-chip.is-dedicated {
    --kind-fg: #1e3a8a;
    --kind-bg: #e6ebfa;
}
.zh-kind-icon.is-reseller,
.zh-kind-chip.is-reseller {
    --kind-fg: #8a4b0b;
    --kind-bg: #fbf0e2;
}
.zh-kind-icon.is-other,
.zh-kind-chip.is-other {
    --kind-fg: var(--neutral-700);
    --kind-bg: var(--neutral-100);
}
/* The big icon in the details header keeps its filled look, in the kind's colour. */
.zh-svc-icon.zh-kind-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    color: #fff;
    background-color: var(--kind-fg);
}
.zh-svc-icon.zh-kind-icon.is-shared {
    background-color: var(--primary);
}
.zh-host-plan .zh-kind-chip {
    margin-right: 6px;
    vertical-align: 1px;
}

/* Hosting list: icon beside the name. */
.zh-cell-kind {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zh-cell-kind-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


/* ---------- Invoices ---------- */

/* The summary card replaces the stock "Invoices Due" box, so the table gets the full width back. */
body.zh-page-clientareainvoices .zh-aside {
    display: none;
}
body.zh-page-clientareainvoices .zh-layout {
    display: block;
}

/* What is owed now: amount and next date on the left, small facts, then the way to pay. */
.zh-bill {
    --bill-tint: var(--primary-50);
    --bill-line: var(--primary-100);
    --bill-ink: var(--primary-800);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 40px;
    margin-bottom: 20px;
    padding: 20px 22px;
    border: 1px solid var(--bill-line);
    border-radius: var(--rounding-lg);
    background: var(--bill-tint);
}
.zh-bill.is-overdue {
    --bill-tint: #fdf1f3;
    --bill-line: #f6d3da;
    --bill-ink: var(--error);
}
.zh-bill.is-clear {
    --bill-tint: var(--bg);
    --bill-line: var(--zh-line);
    --bill-ink: var(--success);
}
.zh-bill-main {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.zh-bill.is-clear .zh-bill-main {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
.zh-bill-k {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-bill-amount {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--bill-ink);
    font-variant-numeric: tabular-nums;
}
.zh-bill-title {
    display: block;
    font-size: 17px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-bill-sub {
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-bill-sub .zh-left {
    display: inline;
    margin-left: 4px;
}
.zh-bill-clear-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--success);
    background: #e7f6ee;
}
.zh-bill-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    margin: 0;
    padding-left: 36px;
    border-left: 1px solid var(--bill-line);
}
.zh-bill-facts dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-bill-facts dd {
    margin: 3px 0 0;
    font-size: 16px;
    font-weight: 650;
    color: var(--zh-ink);
    font-variant-numeric: tabular-nums;
}
body.zh .zh-bill-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    line-height: 40px;
    font-size: 14.5px;
    white-space: nowrap;
}

/* Rows: money lines up, nothing-owed reads as a dash, unpaid rows carry a marker on the left. */
body.zh .zh-list td.zh-cell-money {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.zh .zh-list td.zh-cell-money.is-zero {
    color: var(--text-lifted);
}
body.zh #tableInvoicesList tbody tr.is-open > td:first-child {
    box-shadow: inset 3px 0 0 var(--warning);
}
body.zh #tableInvoicesList tbody tr.is-late > td:first-child {
    box-shadow: inset 3px 0 0 var(--error);
}
body.zh #tableInvoicesList .zh-cell-meta {
    display: block;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .zh-bill {
        padding: 16px;
        gap: 14px;
    }
    .zh-bill-main {
        flex-basis: 100%;
    }
    .zh-bill-facts {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid var(--bill-line);
        flex-basis: 100%;
    }
    .zh-bill-actions {
        flex-basis: 100%;
    }
    body.zh .zh-bill-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .zh-bill-amount {
        font-size: 26px;
    }
}


/* ---------- Invoice view: the document on the left, what to do about it on the right ---------- */

.zh-invoice-bar,
.zh-invoice-wrap {
    max-width: 1180px;
}
.zh-invoice-bar {
    justify-content: flex-start;
}
body.zh .zh-invoice-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.zh-invoice-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas:
        "alerts alerts"
        "sheet side";
    gap: 0 24px;
    align-items: start;
    margin: 0 auto 48px;
    padding: 0 16px;
}
.zh-invoice-alerts {
    grid-area: alerts;
}
.zh-invoice-alerts:empty {
    display: none;
}
body.zh .zh-invoice-wrap > .invoice-container.zh-invoice {
    grid-area: sheet;
    position: relative;
    max-width: none;
    margin: 0;
    overflow: hidden;
}
.zh-invoice-side {
    grid-area: side;
    position: sticky;
    top: 20px;
    display: grid;
    gap: 12px;
}

/* Pay panel */
.zh-invoice-panel {
    --panel-tint: var(--bg);
    --panel-line: var(--zh-line);
    --panel-ink: var(--zh-ink);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 22px;
    border: 1px solid var(--panel-line);
    border-radius: var(--rounding-lg);
    background: var(--panel-tint);
}
.zh-invoice-panel.is-open {
    --panel-tint: var(--primary-50);
    --panel-line: var(--primary-200);
}
.zh-invoice-panel.is-late {
    --panel-tint: #fdf1f3;
    --panel-line: #f6d3da;
    --panel-ink: var(--error);
}
.zh-invoice-panel.is-paid {
    --panel-ink: var(--success);
}
.zh-invoice-panel-k {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-invoice-panel-amount {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--panel-ink);
    font-variant-numeric: tabular-nums;
}
.zh-invoice-panel-title {
    font-size: 19px;
    font-weight: 650;
    color: var(--panel-ink);
}
.zh-invoice-panel-sub {
    font-size: 14px;
    color: var(--text-lifted);
}
.zh-invoice-panel-sub .zh-left {
    display: inline;
    margin-left: 4px;
}
.zh-invoice-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 50%;
    font-size: 17px;
    color: var(--success);
    background: #e7f6ee;
}
.zh-invoice-panel .zh-invoice-gateway {
    margin-top: 18px;
}
.zh-invoice-panel .zh-invoice-gateway form {
    display: grid;
    gap: 5px;
}
body.zh .zh-invoice-panel .zh-invoice-gateway .custom-select {
    width: 100%;
    min-width: 0;
    background-color: var(--bg);
}
body.zh .zh-invoice-panel .payment-btn-container {
    margin-top: 12px;
}
body.zh .zh-invoice-panel .payment-btn-container .btn,
body.zh .zh-invoice-panel .payment-btn-container input[type="submit"],
body.zh .zh-invoice-panel .payment-btn-container button[type="submit"] {
    width: 100%;
    height: 46px;
}

/* Apply credit */
.zh-invoice-credit {
    padding: 16px 18px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    font-size: 14px;
}
.zh-invoice-credit p {
    margin: 0 0 10px;
}
body.zh .zh-invoice-credit label {
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-invoice-credit-row {
    display: flex;
    gap: 8px;
}
.zh-invoice-credit-row .form-control {
    min-width: 0;
}
body.zh .zh-invoice-credit-row .btn {
    white-space: nowrap;
}

.zh-invoice-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
body.zh .zh-invoice-tools .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    font-size: 14px;
}

/* Sheet details */
.zh-invoice-facts-due {
    margin-left: auto;
    text-align: right;
}
.zh-invoice-facts-due dd {
    font-size: 17px;
}
.zh-invoice-notes {
    margin: -12px 0 32px;
    padding: 14px 16px;
    border-radius: var(--rounding-md);
    background: var(--neutral-100);
}
.zh-invoice-notes > div {
    color: var(--neutral-700);
}
.zh-invoice-taxmark {
    color: var(--text-lifted);
}
.zh-invoice-totals .zh-invoice-total.is-due dd {
    color: var(--error);
}

/* Stamp on settled invoices: the one bit of ink on the page, kept faint. It prints too. */
/* The stamp stands in for the status pill. */
.zh-invoice .invoice-status.is-stamped {
    visibility: hidden;
}
.zh-invoice-stamp {
    position: absolute;
    top: 88px;
    right: 52px;
    padding: 6px 16px;
    border: 3px solid currentColor;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--success);
    opacity: 0.3;
    transform: rotate(-8deg);
    pointer-events: none;
    user-select: none;
}
.zh-invoice-stamp.is-refunded {
    color: #064587;
}
.zh-invoice-stamp.is-cancelled {
    color: var(--neutral-600);
}

@media (max-width: 1099.98px) {
    .zh-invoice-wrap {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "alerts"
            "side"
            "sheet";
        gap: 16px;
        max-width: 880px;
    }
    .zh-invoice-bar {
        max-width: 880px;
    }
    .zh-invoice-side {
        position: static;
    }
}
@media (max-width: 767.98px) {
    .zh-invoice-wrap {
        padding: 0 12px;
    }
    body.zh .zh-invoice-wrap > .invoice-container.zh-invoice {
        margin: 0;
    }
    .zh-invoice-facts-due {
        margin-left: 0;
        text-align: left;
    }
    .zh-invoice-stamp {
        top: 80px;
        right: 16px;
        font-size: 16px;
    }
}

@media print {
    body.zh.zh-invoice-page {
        background: #fff;
    }
    .zh-invoice-wrap {
        display: block;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    body.zh .zh-invoice-wrap > .invoice-container.zh-invoice {
        padding: 0;
        border: 0;
        border-radius: 0;
    }
}
/* Gateways that print a plain submit button get the primary look. */
body.zh .zh-invoice-panel .payment-btn-container input[type="submit"]:not([class]),
body.zh .zh-invoice-panel .payment-btn-container button[type="submit"]:not([class]),
body.zh .zh-invoice-panel .payment-btn-container input[type="submit"].btn-default {
    border: 1px solid var(--primary);
    border-radius: var(--rounding-sm);
    font-weight: 600;
    color: #fff;
    background-color: var(--primary);
    cursor: pointer;
}
body.zh .zh-invoice-panel .payment-btn-container input[type="submit"]:not([class]):hover,
body.zh .zh-invoice-panel .payment-btn-container button[type="submit"]:not([class]):hover {
    border-color: var(--primary-700);
    background-color: var(--primary-700);
}


/* ---------- Support tickets ---------- */

/* Status card shares the invoices summary; its icon says who has the next move. */
.zh-tickets-summary .zh-bill-main {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
.zh-bill-clear-icon.is-reply {
    color: #fff;
    background: var(--primary);
}
.zh-bill-clear-icon.is-wait {
    color: var(--primary-700);
    background: var(--primary-100);
}
.zh-tickets-summary.is-clear .zh-bill-clear-icon.is-wait + div .zh-bill-title {
    color: var(--zh-ink);
}

/* Rows: number and department under the subject; replies waiting for the customer get a marker. */
.zh-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
}
body.zh #tableTicketsList tbody tr.is-open > td:first-child {
    box-shadow: inset 3px 0 0 var(--primary);
}
body.zh #tableTicketsList .ticket-subject.unread::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 8px 1px 0;
    border-radius: 50%;
    background: var(--primary);
}
body.zh #tableTicketsList .zh-ticket-when {
    white-space: nowrap;
}
.zh-ago {
    display: block;
    font-size: 13px;
    color: var(--text-lifted);
}

/* Summary cards (invoices, tickets): once the numbers drop below, the divider moves to the top. */
@media (max-width: 991.98px) {
    .zh-bill-facts {
        flex-basis: 100%;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid var(--bill-line);
    }
}
/* List toolbars: status pills wrap instead of sliding under the search box. */
@media (max-width: 991.98px) {
    body.zh .zh-dt-filters .zh-menu .zh-menu-items {
        flex-wrap: wrap;
        overflow: visible;
        margin: 0;
        padding: 0;
    }
}


/* ---------- Ticket view ---------- */

/* Header facts in the tinted band, one row. */
.zh-host-bill.zh-ticket-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 48px;
    margin: 0;
}
.zh-ticket-facts dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-lifted);
}
.zh-ticket-facts dd {
    margin: 3px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-ticket-facts .zh-ago {
    font-weight: 400;
}
.zh-ticket-priority {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zh-ticket-priority::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neutral-400);
}
.zh-ticket-priority.is-medium::before {
    background: var(--warning);
}
.zh-ticket-priority.is-high::before {
    background: var(--error);
}
body.zh .zh-ticket-close:hover {
    border-color: var(--success);
    color: var(--success);
    background: #e7f6ee;
}

/* Conversation: oldest first, avatars on one line that runs down to the reply box. */
body.zh-page-viewticket .zh-ticket-layout,
body.zh-page-viewticket .zh-ticket-layout:has(.zh-ticket-side .card) {
    grid-template-columns: minmax(0, 1fr);
}
.zh-thread {
    position: relative;
    gap: 18px;
}
.zh-thread::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: -20px;
    left: 17px;
    width: 2px;
    background: var(--zh-line);
}
.zh-msg-avatar {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--neutral-50, #f8f8fb);
}
body.zh .zh-msg .message {
    font-size: 14.5px;
}
.zh-msg-ip {
    margin: 14px 0 0 !important;
    padding-top: 10px;
    border-top: 1px dashed var(--zh-line);
    font-size: 12.5px;
    color: var(--text-lifted);
}
body.zh #ticketReplyContainer {
    position: relative;
    margin-left: 48px;
}
.zh-ticket-closed-note {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: var(--rounding-md);
    font-size: 14px;
    color: var(--neutral-700);
    background: var(--neutral-100);
}
.zh-ticket-cc {
    margin-left: 48px;
}
.zh-ticket-cc:not(:has(.card)) {
    display: none;
}
body.zh .zh-ticket-cc .card {
    margin: 20px 0 0;
    border: 1px solid var(--zh-line);
}
@media (max-width: 767.98px) {
    .zh-thread::before {
        display: none;
    }
    body.zh #ticketReplyContainer,
    .zh-ticket-cc {
        margin-left: 0;
    }
}
/* The theme's generic "Attachments" menu repeats files already shown in each message. */
body.zh-page-viewticket .zh-content > .zh-context .zh-menu[menuitemname="Attachments"] {
    display: none;
}
body.zh-page-viewticket .zh-content > .zh-context:not(:has(.zh-menu:not([menuitemname="Attachments"]))) {
    display: none;
}


/* ---------- Open ticket ---------- */

/* Form beside a narrow column of tips and recent tickets. */
@media (min-width: 1200px) {
    .zh-ticket-layout.zh-ticket-open {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}
body.zh .zh-ticket-open .card-body label,
body.zh .zh-ticket-open .zh-ticket-priority-field legend {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh .zh-ticket-open .card-body .custom-file-label {
    font-weight: 400;
    color: var(--neutral-600);
}
body.zh .zh-ticket-open .form-group {
    margin-bottom: 20px;
}
body.zh .zh-ticket-open .zh-field-grid {
    margin-bottom: 0;
}
.zh-ticket-open .zh-ticket-subject::placeholder {
    color: var(--neutral-400);
}
.zh-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-lifted);
}

/* With a single department there is nothing to pick, so it reads as a fixed value. */
.zh-ticket-fixed {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px dashed var(--zh-line);
    border-radius: var(--rounding-sm);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-ticket-fixed i {
    color: var(--primary);
}

/* Priority: three pills in one track; the dot repeats the colours used on the ticket page. */
.zh-ticket-priority-field {
    min-width: 0;
    padding: 0;
    border: 0;
}
.zh-ticket-priority-field legend {
    float: none;
    width: auto;
    padding: 0;
}
.zh-seg {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--neutral-100);
}
body.zh .zh-seg .zh-seg-item {
    position: relative;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.zh-seg-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.zh-seg-item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    color: var(--neutral-700);
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.zh-seg-item span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neutral-400);
}
.zh-seg-item.is-medium span::before {
    background: var(--warning);
}
.zh-seg-item.is-high span::before {
    background: var(--error);
}
.zh-seg-item:hover span {
    color: var(--zh-ink);
}
.zh-seg-item input:checked + span {
    font-weight: 600;
    color: var(--zh-ink);
    background: #fff;
    box-shadow: 0 1px 2px rgba(24, 24, 27, .12);
}
.zh-seg-item input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

/* Attachments: the field and its Add more button share one rounded edge. */
body.zh .zh-ticket-files .attachment-group .btn {
    border-color: var(--zh-line);
    font-weight: 600;
}

/* Side: tips, then recent tickets as compact rows. */
.zh-ticket-tips ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zh-ticket-tips li {
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--neutral-700);
}
.zh-ticket-tips li i {
    flex: none;
    width: 16px;
    margin-top: 3px;
    text-align: center;
    color: var(--primary);
}
body.zh .zh-ticket-open .zh-ticket-side [menuitemname="Recent Tickets"] .list-group-item {
    padding: 12px 18px;
}
.zh-ticket-open .zh-ticket-side .sidebar-menu-item-label {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-ticket-open .recent-ticket .truncate {
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--zh-ink);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.zh-ticket-open .recent-ticket small {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 12.5px;
    color: var(--text-lifted);
}
.zh-ticket-open .recent-ticket small > span {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.zh-ticket-open .recent-ticket small span[style] {
    font-weight: 600;
}

/* Step one: one card per team. */
.zh-depts {
    gap: 12px;
}
.zh-dept {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md);
    color: var(--zh-ink);
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.zh-dept:hover,
.zh-dept:focus-visible {
    border-color: var(--primary);
    color: var(--zh-ink);
    text-decoration: none;
    background: var(--primary-50);
}
.zh-dept-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 17px;
    color: var(--primary-700);
    background: var(--primary-100);
}
.zh-dept-text {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-dept-name {
    display: block;
    font-size: 15px;
    font-weight: 650;
}
.zh-dept-go {
    flex: none;
    color: var(--neutral-400);
    transition: color .15s, transform .15s;
}
.zh-dept:hover .zh-dept-go {
    color: var(--primary);
    transform: translateX(2px);
}
body.zh-page-supportticketsubmit-stepone .zh-setting-text {
    margin-bottom: 18px;
}
@media (max-width: 575.98px) {
    .zh-seg {
        display: flex;
    }
    .zh-seg-item {
        flex: 1 1 0;
    }
    .zh-seg-item span {
        justify-content: center;
        width: 100%;
        padding: 7px 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .zh-dept,
    .zh-dept-go,
    .zh-seg-item span {
        transition: none;
    }
}


/* ---------- Domain register: search, result, suggestions ----------
   The order form (standard_cart) is shared, so this page is restyled here rather than in its templates.
   Its script shows and hides each part with inline display, so nothing below sets display on those parts. */

/* Search: one large pill, globe on the left, button inside. */
body.zh-page-domainregister #order-standard_cart .domain-checker-container {
    border-color: var(--primary-100);
    background:
        radial-gradient(120% 140% at 100% 0%, var(--primary-100) 0%, transparent 55%),
        var(--primary-50);
}
body.zh-page-domainregister #order-standard_cart .domain-checker-bg {
    padding: 44px 20px;
}
body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box {
    position: relative;
    align-items: center;
    padding: 6px 6px 6px 50px;
    border: 1px solid var(--primary-200);
    border-radius: 999px;
    box-shadow: 0 6px 24px -12px rgba(24, 24, 27, .25);
}
body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box::before {
    content: "\f0ac";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 18px;
    color: var(--primary);
    pointer-events: none;
}
body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100), 0 6px 24px -12px rgba(24, 24, 27, .25);
}
body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box .form-control {
    height: 48px;
    padding-left: 0;
    font-size: 17px;
    background: transparent;
}
body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box .btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 999px !important;
    font-size: 15px;
}

/* Small labels above the result and the suggestions. */
body.zh-page-domainregister #order-standard_cart .primary-domain-header,
body.zh-page-domainregister #order-standard_cart .suggested-domains > .card-header {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-lifted);
    background: transparent;
}
body.zh-page-domainregister #order-standard_cart .primary-domain-header i {
    color: var(--primary);
}

/* The searched name: name and verdict on the left, price and button on the right. */
body.zh-page-domainregister #order-standard_cart #searchDomainInfo {
    margin: 0 0 24px;
    padding: 0;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupSearching {
    margin: 0;
    padding: 26px 22px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    font-size: 15px;
    color: var(--text-lifted);
    text-align: left;
    background: var(--bg);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult {
    position: relative;
    min-height: 88px;
    padding: 22px 22px 22px 70px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    text-align: left;
    background: var(--bg);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult:has(.domain-available:not([style*="none"])) {
    padding-right: 300px;
    border-color: #b9e3cb;
    background: linear-gradient(90deg, #eefaf3 0%, var(--bg) 70%);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult::before {
    content: "\f057";
    position: absolute;
    left: 22px;
    top: 26px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    color: var(--neutral-400);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult:has(.domain-available:not([style*="none"]))::before {
    content: "\f058";
    color: var(--success);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult > p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--neutral-700);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult > p strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult > p.domain-available {
    color: #177245;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult > .domain-unavailable:not([style*="none"]) + .domain-tld-unavailable:not([style*="none"]),
body.zh-page-domainregister #order-standard_cart #primaryLookupResult > .domain-tld-unavailable:not([style*="none"]) + .domain-available:not([style*="none"]) {
    margin-top: 6px;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .domain-price {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    gap: 14px;
    margin: 0;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .domain-price:not([style*="none"]) {
    display: flex !important;
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .domain-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-ink);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .domain-contact-support {
    margin-top: 12px;
}

/* Add buttons everywhere on the page: light pill that turns solid once the domain is in the cart. */
body.zh-page-domainregister #order-standard_cart .btn-add-to-cart {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--primary-200);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 34px;
    color: var(--primary-800);
    background: var(--primary-50);
    box-shadow: none;
}
body.zh-page-domainregister #order-standard_cart .btn-add-to-cart:hover {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .btn-add-to-cart {
    min-height: 44px;
    padding: 0 24px;
    border-color: var(--primary);
    font-size: 15px;
    line-height: 42px;
    color: #fff;
    background: var(--primary);
}
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .btn-add-to-cart:hover {
    border-color: var(--primary-700);
    background: var(--primary-700);
}
body.zh-page-domainregister #order-standard_cart .btn-add-to-cart.checkout,
body.zh-page-domainregister #order-standard_cart #primaryLookupResult .btn-add-to-cart.checkout {
    border-color: var(--success);
    color: #fff;
    background: var(--success);
}
body.zh-page-domainregister #order-standard_cart .btn-add-to-cart[disabled]:not(.checkout),
body.zh-page-domainregister #order-standard_cart .spotlight-tld .btn.unavailable,
body.zh-page-domainregister #order-standard_cart .spotlight-tld .btn.invalid {
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    min-height: 36px;
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-500);
    background: var(--neutral-100);
    opacity: 1;
}

/* Popular extensions for the same name. */
body.zh-page-domainregister #order-standard_cart .spotlight-tlds {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
}
body.zh-page-domainregister #order-standard_cart .spotlight-tlds-container {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld-container {
    float: none;
    width: auto;
    padding: 0;
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    height: auto;
    min-height: 132px;
    margin: 0;
    padding: 18px 14px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
    background: var(--bg);
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .domain-lookup-result {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .price {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-700);
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .btn {
    width: 100%;
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .domain-lookup-spotlight-loader {
    margin-top: 14px;
    font-size: 16px;
    color: var(--primary);
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld [class^="spotlight-tld-"] {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
    background: var(--primary);
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .spotlight-tld-hot {
    background: var(--error);
}
body.zh-page-domainregister #order-standard_cart .spotlight-tld .spotlight-tld-sale {
    background: var(--success);
}

/* Other names: one row each, name left, price and button right. */
body.zh-page-domainregister #order-standard_cart .suggested-domains {
    margin: 0 0 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.zh-page-domainregister #order-standard_cart .suggested-domains > .card-header .panel-title,
body.zh-page-domainregister #order-standard_cart .suggested-domains > .card-header .card-title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
body.zh-page-domainregister #order-standard_cart .suggested-domains > .domain-lookup-loader,
body.zh-page-domainregister #order-standard_cart .suggested-domains > .domain-lookup-message {
    padding: 20px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    font-size: 14px;
    color: var(--text-lifted);
    background: var(--bg);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions {
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg) var(--rounding-lg) 0 0;
    overflow: hidden;
    background: var(--bg);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .domain-suggestion {
    position: relative;
    min-height: 58px;
    padding: 12px 260px 12px 20px;
    border: 0;
    border-top: 1px solid var(--zh-line);
    border-radius: 0;
    font-size: 15.5px;
    line-height: 34px;
    color: var(--neutral-700);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .domain-suggestion:first-child,
body.zh-page-domainregister #order-standard_cart #domainSuggestions .domain-suggestion.w-hidden:not(.clone) + .domain-suggestion {
    border-top: 0;
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .domain-suggestion:hover {
    background: var(--neutral-50);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .extension {
    font-weight: 700;
    color: var(--zh-ink);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .promo > span {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    vertical-align: 2px;
    color: #fff;
    background: var(--primary);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .promo .sales-group-hot {
    background: var(--error);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .promo .sales-group-sale {
    background: var(--success);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .actions {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    float: none;
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .actions .price {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh-page-domainregister #order-standard_cart #domainSuggestions .actions .btn {
    min-width: 116px;
}
body.zh-page-domainregister #order-standard_cart .suggested-domains > .more-suggestions {
    padding: 12px;
    border: 1px solid var(--zh-line);
    border-top: 0;
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
    font-size: 14px;
    font-weight: 600;
    background: var(--neutral-50);
}
body.zh-page-domainregister #order-standard_cart .suggested-domains > .more-suggestions a {
    color: var(--primary);
}
body.zh-page-domainregister #order-standard_cart .domain-suggestions-warning {
    margin-top: 10px;
    font-size: 12.5px;
    text-align: left !important;
    color: var(--text-lifted);
}
body.zh-page-domainregister #order-standard_cart .domain-suggestions-warning p {
    margin: 0;
    font-size: inherit;
}

/* Prices before a search: name left, three price columns, a quieter period under each price. */
body.zh-page-domainregister #order-standard_cart .tld-row:hover {
    background-color: var(--neutral-50) !important;
}
body.zh-page-domainregister #order-standard_cart .tld-row .col-4,
body.zh-page-domainregister #order-standard_cart .tld-row .col-xs-4 {
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh-page-domainregister #order-standard_cart .tld-row small {
    display: block;
    font-weight: 400;
}
body.zh-page-domainregister #order-standard_cart .tld-row .tld-sale-group {
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 2px;
}

@media (max-width: 767.98px) {
    body.zh-page-domainregister #order-standard_cart #primaryLookupResult:has(.domain-available:not([style*="none"])) {
        padding-right: 22px;
    }
    body.zh-page-domainregister #order-standard_cart #primaryLookupResult .domain-price {
        position: static;
        transform: none;
        margin-top: 14px;
    }
}
@media (max-width: 767.98px) {
    body.zh-page-domainregister #order-standard_cart #domainSuggestions .domain-suggestion {
        padding-right: 20px;
    }
    body.zh-page-domainregister #order-standard_cart #domainSuggestions .actions {
        position: static;
        transform: none;
        justify-content: space-between;
        margin-top: 6px;
    }
}
@media (max-width: 575.98px) {
    body.zh-page-domainregister #order-standard_cart #primaryLookupResult {
        padding-left: 22px;
    }
    body.zh-page-domainregister #order-standard_cart #primaryLookupResult::before {
        position: static;
        display: block;
        margin-bottom: 8px;
    }
    body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box {
        padding-left: 16px;
    }
    body.zh-page-domainregister #order-standard_cart .domain-checker-container .input-group-box::before {
        display: none;
    }
}


/* ---------- Domain price strip (register and transfer) ----------
   Replaces the order form's large logo banners with one slim row. */

body.zh-page-domainregister #order-standard_cart .featured-tlds-container {
    display: none;
}
.zh-tld-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 0 0 28px;
    padding: 12px 12px 12px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
}
.zh-tld-strip-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--primary-700);
    background: var(--primary-100);
}
.zh-tld-strip-text {
    flex: 1 1 160px;
    margin: 0;
    line-height: 1.35;
}
.zh-tld-strip-text strong {
    display: block;
    font-size: 14.5px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-tld-strip-text span {
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-tld-strip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zh-tld-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    color: var(--zh-ink);
    background: var(--neutral-50);
}
button.zh-tld-chip {
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
button.zh-tld-chip:hover,
button.zh-tld-chip:focus-visible {
    border-color: var(--primary);
    background: var(--primary-50);
}
button.zh-tld-chip:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.zh-tld-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-700);
}
.zh-tld-price {
    font-weight: 600;
}
.zh-tld-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-lifted);
}


/* ---------- Domain transfer ---------- */

/* Form on the left, the steps on the right. */
body.zh-page-domaintransfer #order-standard_cart .header-lined p,
body.zh-page-domaintransfer #order-standard_cart .cart-body > .text-center p {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--text-lifted);
}
body.zh-page-domaintransfer #order-standard_cart .cart-body > br {
    display: none;
}
body.zh-page-domaintransfer #order-standard_cart .zh-tld-strip {
    margin-bottom: 20px;
}
body.zh-page-domaintransfer #order-standard_cart .zh-transfer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    margin: 0;
}
body.zh.zh-page-domaintransfer #order-standard_cart #frmDomainTransfer .zh-transfer-row > [class*="col-"] {
    max-width: none;
    margin: 0;
    padding: 0;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card {
    margin: 0;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card > .card-body {
    padding: 20px;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh.zh-page-domaintransfer #order-standard_cart #inputTransferDomain {
    height: 48px;
    font-size: 16px;
}
/* The help tooltip is now plain text under the field. */
body.zh-page-domaintransfer #order-standard_cart label[for="inputAuthCode"] a[data-toggle="tooltip"] {
    display: none;
}
body.zh-page-domaintransfer #order-standard_cart .zh-auth-hint {
    margin-top: 6px;
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body .panel.card > .card-footer {
    display: flex;
    justify-content: flex-end;
}
body.zh-page-domaintransfer #order-standard_cart #btnTransferDomain {
    min-width: 140px;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
}

/* Steps: numbered, because they happen in this order. */
.zh-transfer-steps {
    padding: 20px;
    border: 1px solid var(--primary-100);
    border-radius: var(--rounding-lg);
    background: var(--primary-50);
}
.zh-transfer-steps h3 {
    margin: 0 0 16px;
    font-size: 15.5px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-transfer-steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: zh-step;
}
.zh-transfer-steps li {
    position: relative;
    padding: 0 0 18px 40px;
    counter-increment: zh-step;
}
.zh-transfer-steps li:last-child {
    padding-bottom: 0;
}
.zh-transfer-steps li::before {
    content: counter(zh-step);
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
}
.zh-transfer-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: 4px;
    width: 2px;
    background: var(--primary-200);
}
.zh-transfer-steps li strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-transfer-steps li span {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--neutral-700);
}
body.zh.zh-page-domaintransfer #order-standard_cart .cart-body > p.text-center.small {
    max-width: none;
    margin-top: 14px;
}
@media (max-width: 991.98px) {
    body.zh-page-domaintransfer #order-standard_cart .zh-transfer-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 575.98px) {
    .zh-tld-strip-list,
    .zh-tld-strip-list li {
        flex: 1 1 100%;
    }
    .zh-tld-chip {
        justify-content: space-between;
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    button.zh-tld-chip {
        transition: none;
    }
}


/* ---------- Domain renewals ----------
   One card per domain: name, expiry and status on top, period and button in a band below.
   The order form's script hides cards when filtering and swaps the button's labels, so those parts keep their own display. */

body.zh-page-domain-renewals #order-standard_cart .cart-body > .row,
body.zh-page-service-renewals #order-standard_cart .cart-body > .row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
}
body.zh-page-domain-renewals #order-standard_cart .secondary-cart-body,
body.zh-page-service-renewals #order-standard_cart .secondary-cart-body {
    flex: 1 1 0;
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}
body.zh-page-domain-renewals #order-standard_cart .secondary-cart-sidebar,
body.zh-page-service-renewals #order-standard_cart .secondary-cart-sidebar {
    flex: 0 0 320px;
    float: none;
    width: 320px;
    padding: 0;
    position: sticky;
    top: calc(var(--zh-bar-h) + 16px);
}
body.zh-page-domain-renewals #order-standard_cart .order-summary,
body.zh-page-service-renewals #order-standard_cart .order-summary {
    margin-top: 0;
}
body.zh-page-domain-renewals #order-standard_cart #btnGoToCart,
body.zh-page-service-renewals #order-standard_cart #btnGoToCart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
}
body.zh-page-domain-renewals #order-standard_cart #btnGoToCart i,
body.zh-page-service-renewals #order-standard_cart #btnGoToCart i {
    font-size: 14px;
}

/* Search box, shown once there are more than five domains. */
body.zh-page-domain-renewals #order-standard_cart .header-lined h1 .float-right {
    float: none !important;
}
body.zh-page-domain-renewals #order-standard_cart #domainRenewalFilter {
    width: 100%;
    max-width: 360px;
    height: 42px;
    margin: 14px 0 0;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 400;
}

body.zh-page-domain-renewals #order-standard_cart .domain-renewals {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    border: 0;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
        "icon name status"
        "icon expiry status"
        "desc desc desc"
        "form form button";
    align-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg) !important;
    overflow: hidden;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal::before {
    content: "\f0ac";
    grid-area: icon;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 18px 0 0 18px;
    border-radius: 12px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 18px;
    color: var(--primary-700);
    background: var(--primary-100);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > h3 {
    grid-area: name;
    margin: 0;
    padding: 18px 16px 0 32px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > p:not(.domain-renewal-desc) {
    grid-area: expiry;
    margin: 2px 0 0;
    padding: 0 16px 18px 32px;
    font-size: 14px;
    color: var(--text-lifted);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .domain-renewal-desc {
    grid-area: desc;
    margin: 0 18px 16px;
    padding: 10px 14px;
    border-radius: var(--rounding-md);
    font-size: 13.5px;
    color: var(--neutral-700);
    background: var(--neutral-100);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .float-right {
    grid-area: status;
    align-self: start;
    float: none !important;
    padding: 20px 18px 0 0;
}

/* Status pill: green while there is time, amber within 30 days, red once expired. */
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--neutral-700);
    background: var(--neutral-100);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .label-success {
    color: #177245;
    background: #e7f6ee;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .label-warning {
    color: #8a5300;
    background: #fff3dc;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .label-danger {
    color: #b42318;
    background: #fdecea;
}

/* Band with the renewal period and the button. */
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > form,
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .text-right {
    align-self: stretch;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--zh-line);
    background: var(--neutral-50);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > form {
    grid-area: form;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .text-right {
    grid-area: button;
    justify-content: flex-end;
    padding-left: 0;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .text-right:empty {
    padding: 0;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    margin: 0;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .form-group > label {
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .form-group > div[class*="col-"] {
    flex: 1 1 180px;
    max-width: 300px;
    padding: 0;
}
body.zh-page-domain-renewals #order-standard_cart .domain-renewal .select-renewal-pricing {
    height: 40px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg);
}

/* Add to cart: a light pill, then green with "Added" once it is in the cart. */
body.zh-page-domain-renewals #order-standard_cart .btn-add-renewal-to-cart {
    min-width: 128px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}
body.zh-page-domain-renewals #order-standard_cart .btn-add-renewal-to-cart:hover {
    border-color: var(--primary-700);
    background: var(--primary-700);
}
body.zh-page-domain-renewals #order-standard_cart .btn-add-renewal-to-cart[disabled]:has(.to-add[style*="none"]) {
    border-color: var(--success);
    color: #fff;
    background: var(--success);
    opacity: 1;
}

body.zh-page-domain-renewals #order-standard_cart .secondary-cart-body > .text-center {
    margin-top: 12px;
    font-size: 13px;
    text-align: left !important;
    color: var(--text-lifted);
}

@media (max-width: 1199.98px) {
    body.zh-page-domain-renewals #order-standard_cart .cart-body > .row,
    body.zh-page-service-renewals #order-standard_cart .cart-body > .row {
        display: block;
    }
    body.zh-page-domain-renewals #order-standard_cart .secondary-cart-sidebar,
    body.zh-page-service-renewals #order-standard_cart .secondary-cart-sidebar {
        position: static;
        width: 100%;
        margin-top: 24px;
    }
}
@media (max-width: 575.98px) {
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "name"
            "expiry"
            "status"
            "desc"
            "form"
            "button";
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal::before {
        display: none;
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal > h3,
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal > p:not(.domain-renewal-desc) {
        padding-left: 18px;
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal > p:not(.domain-renewal-desc) {
        padding-bottom: 8px;
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .float-right {
        padding: 0 18px 16px;
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal > .text-right {
        padding: 0 18px 14px;
        border-top: 0;
    }
    body.zh-page-domain-renewals #order-standard_cart .domain-renewal .form-group > div[class*="col-"] {
        flex-basis: 100%;
        max-width: none;
    }
    body.zh-page-domain-renewals #order-standard_cart .btn-add-renewal-to-cart {
        width: 100%;
    }
}


/* ---------- Invoices for one hosting account or domain ---------- */

.zh-inv-for {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--primary-200);
    border-radius: var(--rounding-lg);
    background: var(--primary-50);
}
.zh-inv-for .zh-kind-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px var(--primary-100);
}
.zh-inv-for-text {
    flex: 1 1 220px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.zh-inv-for-k {
    font-size: 12.5px;
    color: var(--text-lifted);
}
.zh-inv-for-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
.zh-inv-for-name:hover {
    color: var(--primary);
}
.zh-inv-for-sub {
    font-size: 13px;
    color: var(--text-lifted);
}
body.zh .zh-inv-for .zh-inv-for-clear {
    flex: none;
    border-radius: 999px;
    font-weight: 600;
}
.zh-host-facts .zh-host-link {
    font-weight: 600;
    color: var(--primary);
}
.zh-host-facts .zh-host-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}


/* ---------- Renew: pay the open invoice for a hosting account or domain ---------- */

body.zh .btn.zh-btn-renew {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--zh-ink);
    background: var(--bg);
}
body.zh .btn.zh-btn-renew:hover,
body.zh .btn.zh-btn-renew:focus-visible {
    border-color: var(--neutral-400);
    color: var(--zh-ink);
    background: var(--neutral-50);
}
/* Overdue (its invoice is past the due date): soft red, the same as the overdue notes, deepening on hover. */
body.zh .btn.zh-btn-renew.is-late {
    border-color: #f5c2cb;
    color: #96102a;
    background: #fdecef;
}
body.zh .btn.zh-btn-renew.is-late:hover,
body.zh .btn.zh-btn-renew.is-late:focus-visible {
    border-color: #ec9aa9;
    color: #7d0d23;
    background: #fbd9df;
}
.zh-btn-renew-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 2px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--primary);
}
.zh-btn-renew.is-late .zh-btn-renew-count {
    background: #96102a;
}

/* ---------- Domain list: status (i) popover ---------- */

.zh-status-cell {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
body.zh .zh-status-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    color: var(--neutral-400);
    background: transparent;
    cursor: pointer;
    transition: color .15s, background-color .15s;
}
body.zh .zh-status-info:hover,
body.zh .zh-status-info[aria-expanded="true"] {
    color: var(--primary);
    background: var(--primary-50);
}
body.zh .zh-status-info:focus {
    outline: 0;
}
body.zh .zh-status-info:focus-visible {
    box-shadow: var(--zh-focus);
}

body.zh .popover.zh-status-pop {
    width: 300px;
    max-width: calc(100vw - 24px);
}
body.zh .zh-status-pop .popover-header {
    padding: 12px 16px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--zh-ink);
    background: transparent;
    border-bottom: 0;
}
body.zh .zh-status-pop .popover-body {
    padding: 6px 16px 14px;
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-st-text {
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Expired domains: expiry → grace → redemption → released, current stage marked. */
.zh-st-steps {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.zh-st-steps li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    padding: 0 0 10px 20px;
}
.zh-st-steps li:last-child {
    padding-bottom: 0;
}
/* The dot, and the line down to the next one. */
.zh-st-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--neutral-300);
    border-radius: 50%;
    background: #fff;
}
.zh-st-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: var(--zh-line);
}
.zh-st-steps li.is-done::before {
    border-color: var(--neutral-400);
    background: var(--neutral-400);
}
.zh-st-steps li.is-now::before {
    border-color: var(--error);
    background: var(--error);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .15);
}
.zh-st-step-name {
    font-weight: 600;
    color: var(--zh-ink);
}
.zh-st-steps li:not(.is-now) .zh-st-step-name {
    font-weight: 500;
}
.zh-st-steps li.is-done .zh-st-step-name,
.zh-st-steps li.is-done .zh-st-step-date {
    color: var(--neutral-500);
}
.zh-st-step-date {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.zh-st-step-date small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--error);
}
.zh-st-step-note {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--neutral-500);
}
.zh-st-steps li.is-done .zh-st-step-note {
    display: none;
}

/* Active domains: a few facts. */
.zh-st-facts {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--zh-line);
}
.zh-st-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--zh-line);
}
.zh-st-facts strong {
    font-weight: 600;
    text-align: right;
    color: var(--zh-ink);
    font-variant-numeric: tabular-nums;
}
.zh-st-facts small {
    font-weight: 500;
    color: var(--neutral-500);
}

.zh-st-actions {
    margin: 0;
}
.zh-st-actions .btn {
    width: 100%;
    justify-content: center;
}
.zh-st > :last-child {
    margin-bottom: 0;
}

/* Tablet widths: a list wider than its card (domains with Renew and the status (i), for one) scrolls sideways
   inside the card instead of losing its last columns. Phones get the same, with max-content, above. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    body.zh .zh-list .listtable {
        overflow-x: auto;
    }
}
/* Keeps the hidden screen-reader header labels inside the card, so they can't widen the page when the table scrolls. */
body.zh .zh-list .listtable {
    position: relative;
}

/* ---------- Windows VPS: Remote Desktop access ---------- */

/* Address rows, then the login, then anything else: each list keeps its own two-across grid. */
.zh-rdp-card .zh-host-list + .zh-host-list {
    border-top: 1px solid var(--zh-line);
}
.zh-rdp-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-lifted);
    background: var(--neutral-50);
    border-top: 1px solid var(--zh-line);
    border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
}
.zh-rdp-hint i {
    margin-top: 3px;
    color: var(--primary);
}


/* ---------- Hosting renewals (early, On-Demand Renewals) ----------
   Same card as a domain renewal: the site leads, plan and due date under it, a soft status pill on the right,
   and a band with the period, price and button. Items that can't be renewed yet show their reason in the band. */

body.zh-page-service-renewals #order-standard_cart .header-lined {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
}
body.zh-page-service-renewals #order-standard_cart .header-lined > div {
    flex: 0 1 auto;
    max-width: none;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.zh-page-service-renewals #order-standard_cart .service-renewals-quick-filter {
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
}
body.zh-page-service-renewals #order-standard_cart #serviceRenewalFilter {
    width: 260px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
}

body.zh-page-service-renewals #order-standard_cart .service-renewals {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    border: 0;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
        "icon site status"
        "icon plan status"
        "icon due status"
        "band band band"
        "addons addons addons";
    align-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg) !important;
    overflow: hidden;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal[style*="none"] {
    display: none !important;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal::before {
    content: "\f233";
    grid-area: icon;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 18px 0 0 18px;
    border-radius: 12px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 18px;
    color: var(--primary-700);
    background: var(--primary-100);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > h4 {
    grid-area: site;
    margin: 0;
    padding: 18px 16px 0 32px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > h4:empty {
    display: none;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > h3 {
    grid-area: plan;
    margin: 2px 0 0;
    padding: 0 16px 0 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
}
/* No site name: the plan becomes the title. */
body.zh-page-service-renewals #order-standard_cart .service-renewal:has(> h4:empty) > h3 {
    padding-top: 18px;
    font-size: 19px;
    font-weight: 700;
    color: var(--zh-ink);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > p {
    grid-area: due;
    margin: 2px 0 0;
    padding: 0 16px 18px 32px;
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > .float-right {
    grid-area: status;
    align-self: start;
    float: none !important;
    padding: 20px 18px 0 0;
}

/* Status pill: soft purple while it can be renewed, grey when it can't. */
body.zh-page-service-renewals #order-standard_cart .service-renewal .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--neutral-700);
    background: var(--neutral-100);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal .label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal .label-warning {
    color: var(--primary-800);
    background: var(--primary-50);
}

/* Band: period and price on the left, button on the right. */
body.zh-page-service-renewals #order-standard_cart .service-renewal > .clearfix {
    grid-area: band;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--zh-line);
    background: var(--neutral-50);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > .clearfix::after {
    content: none;
}
body.zh-page-service-renewals #order-standard_cart .service-renewal > .clearfix > .float-left {
    float: none !important;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal .div-renewal-period-label {
    margin-bottom: 1px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-lifted);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal .div-renewal-ineligible {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--neutral-700);
}
body.zh-page-service-renewals #order-standard_cart .service-renewal .div-renewal-ineligible i {
    color: var(--text-lifted);
}

/* Add to cart: a purple pill, green with "Added" once it is in the cart. */
body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart {
    float: none !important;
    min-width: 128px;
    height: 40px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}
body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart:hover {
    border-color: var(--primary-700);
    background: var(--primary-700);
}
body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart[disabled]:has(.to-add[style*="none"]) {
    border-color: var(--success);
    color: #fff;
    background: var(--success);
    opacity: 1;
}
/* One item: the button renews and goes to checkout, in the Renew colours. */
body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart.zh-renew-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: #f5c2cb;
    color: #96102a;
    background: #fdecef;
}
body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart.zh-renew-now:hover {
    border-color: #ec9aa9;
    color: #7d0d23;
    background: #fbd9df;
}

/* Addons of a service, listed inside its card. */
body.zh-page-service-renewals #order-standard_cart .service-renewal > .addon-renewals {
    grid-area: addons;
    margin: 0;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--zh-line);
}
body.zh-page-service-renewals #order-standard_cart .addon-renewals > h4 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-lifted);
}
body.zh-page-service-renewals #order-standard_cart .addon-renewals .service-renewal::before {
    content: "\f12e";
}

body.zh-page-service-renewals #order-standard_cart .secondary-cart-body > .text-center {
    margin: 0 0 12px;
    font-size: 13px;
    text-align: left !important;
    color: var(--text-lifted);
}

@media (max-width: 575.98px) {
    body.zh-page-service-renewals #order-standard_cart .service-renewal {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "site" "plan" "due" "status" "band" "addons";
    }
    body.zh-page-service-renewals #order-standard_cart .service-renewal::before {
        display: none;
    }
    body.zh-page-service-renewals #order-standard_cart .service-renewal > h4,
    body.zh-page-service-renewals #order-standard_cart .service-renewal > h3,
    body.zh-page-service-renewals #order-standard_cart .service-renewal > p {
        padding-left: 18px;
    }
    body.zh-page-service-renewals #order-standard_cart .service-renewal > p {
        padding-bottom: 8px;
    }
    body.zh-page-service-renewals #order-standard_cart .service-renewal > .float-right {
        padding: 0 18px 14px;
    }
    body.zh-page-service-renewals #order-standard_cart .btn-add-renewal-to-cart {
        width: 100%;
    }
}

/* Renew while it is putting the renewal in the cart. */
body.zh .zh-btn-renew.is-busy {
    pointer-events: none;
    opacity: 0.75;
}


/* ---------- Canvas: a light grey page with white panels on top ----------
   The page behind everything is light grey; the menu, the top bar and every card sit on it in white. */

:root {
    /* A step darker than neutral-100 (#f4f4f5), still lighter than the card lines (neutral-200, #e4e4e7). */
    --zh-canvas: #ececee;
    --zh-rail-bg: var(--bg);
}
html,
body.zh,
body.zh .zh-main {
    background-color: var(--zh-canvas);
}

/* Menu: white, so the current page and hover show as a grey fill. */
body.zh .zh-nav-link:hover {
    background-color: var(--neutral-100);
}
body.zh .zh-nav-item.is-current > .zh-nav-link,
body.zh .zh-nav-link.is-active {
    background-color: var(--neutral-100);
    color: var(--zh-ink);
    box-shadow: none;
}

/* Top bar: a white card across the page column, stuck 12px from the top while scrolling.
   The shadow paints the gap above it in the page grey, so content scrolling up doesn't show through. */
body.zh:not(.zh-auth) header.zh-topbar {
    top: 12px;
    margin: 12px var(--zh-col-pad) 0 var(--zh-gutter);
    padding: 0 14px 0 12px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background: var(--bg);
    box-shadow: 0 -13px 0 var(--zh-canvas);
}
/* The logo lines up with the middle of the top bar card. */
body.zh:not(.zh-auth) .zh-brand {
    margin-top: 12px;
}

/* Boxes that were a pale tint on a white page become white panels on the grey page. */
body.zh #order-standard_cart .domain-checker-container,
body.zh-page-domainregister #order-standard_cart .domain-checker-container,
body.zh .zh-transfer-steps {
    border-color: var(--zh-line);
    background: var(--bg);
}

/* Menu runs the full height. With space before it on wide screens, it gets a line on that side too. */
@media (min-width: 1560px) {
    body.zh:not(.zh-auth) .zh-rail {
        border-left: 1px solid var(--zh-line);
    }
}
/* Footer line runs under the cards only. */
body.zh:not(.zh-auth) footer.zh-footer {
    background-position: var(--zh-gutter) 0;
    background-size: calc(min(100%, var(--zh-content-w)) - 2 * var(--zh-gutter)) 1px;
}

/* Menu items span the menu's width. The current page gets a grey band with a dark bar on its left edge. */
body.zh .zh-rail-nav {
    padding: 14px 0 24px;
}
body.zh .zh-brand {
    padding: 0 24px;
}
body.zh .zh-nav-item {
    margin-bottom: 4px;
}
body.zh .zh-nav-link {
    position: relative;
    min-height: 46px;
    gap: 14px;
    padding: 0 24px 0 26px;
    border-radius: 0;
}
body.zh .zh-nav-link:hover {
    background-color: var(--neutral-50);
}
body.zh .zh-nav-item.is-current > .zh-nav-link,
body.zh .zh-nav-link.is-active {
    background-color: var(--neutral-100);
    color: var(--zh-ink);
    font-weight: 600;
    box-shadow: none;
}
body.zh .zh-nav-item.is-current > .zh-nav-link::before,
body.zh .zh-nav-link.is-active::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary);
}

/* Keep the scrollbar's space reserved on every page. Otherwise short pages (no scrollbar) are about 15px
   wider than long ones, and the centred layout jumps sideways when moving between them. */
html {
    scrollbar-gutter: stable;
}
@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}
/* The space is already kept, so a popup opening mustn't add its own scrollbar padding and nudge the page. */
body.zh.modal-open {
    padding-right: 0 !important;
}

/* Dashboard panel heading icons: a light tile with a dark icon, like the row icons, instead of a solid dark square. */
body.zh .zh-panel-icon {
    color: var(--neutral-700);
    background-color: var(--bg);
    box-shadow: inset 0 0 0 1px var(--zh-line);
}

/* ======================================================================
   Phones and tablets: navigation
   ====================================================================== */

/* The page column may be narrower than its widest content: wide tables scroll inside their own box
   instead of pushing the whole page sideways. */
.zh-main {
    min-width: 0;
}

/* Menu header: logo on wide screens; on small screens a close button joins it. */
.zh-rail-head {
    flex: none;
    display: flex;
    align-items: center;
}
.zh-rail-head .zh-brand {
    flex: 1 1 auto;
    min-width: 0;
}
.zh-rail-title,
body.zh .zh-tool.zh-rail-close,
.zh-rail-account,
.zh-tabbar {
    display: none;
}

@media (max-width: 991.98px) {
    /* Closed, the menu is out of reach of the keyboard and screen readers too. */
    .zh-rail {
        visibility: hidden;
        transition: transform 0.22s ease, visibility 0s linear 0.22s;
    }
    body.zh-rail-open .zh-rail {
        visibility: visible;
        transition: transform 0.22s ease, visibility 0s;
    }
    body.zh .zh-tool.zh-rail-close {
        display: inline-flex;
        flex: none;
        margin: 12px 14px 0 0;
    }

    .zh-rail-account {
        display: block;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--zh-line);
    }
    .zh-rail-who {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 24px 12px;
    }
    .zh-rail-who .zh-avatar {
        flex: none;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .zh-rail-who-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.35;
    }
    .zh-rail-who-text strong,
    .zh-rail-who-text span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .zh-rail-who-text strong {
        font-size: 15px;
        font-weight: 600;
        color: var(--zh-ink);
    }
    .zh-rail-who-text span {
        font-size: 13px;
        color: var(--text-lifted);
    }
    body.zh .zh-rail-account .zh-rail-admin {
        color: var(--warning);
    }
    body.zh .zh-rail-account .zh-rail-logout .zh-nav-link {
        color: #96102a;
    }
}

@media (max-width: 767.98px) {
    :root {
        --zh-tabbar-h: 62px;
    }

    /* ---- Bottom bar ---- */
    body.zh-loggedin .zh-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1055;
        display: flex;
        height: calc(var(--zh-tabbar-h) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-top: 1px solid var(--zh-line);
        background-color: var(--bg);
    }
    /* Room at the foot of every page so the bar never covers the last of it. */
    body.zh-loggedin:not(.zh-auth) .zh-main {
        padding-bottom: calc(var(--zh-tabbar-h) + env(safe-area-inset-bottom, 0px));
    }
    body.zh .zh-tab {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin: 0;
        padding: 0 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-family: inherit;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        color: var(--neutral-500);
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    body.zh .zh-tab i {
        font-size: 19px;
    }
    body.zh .zh-tab span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.zh .zh-tab:hover,
    body.zh .zh-tab:focus {
        color: var(--zh-ink);
        text-decoration: none;
        outline: none;
    }
    body.zh .zh-tab:focus-visible {
        box-shadow: inset 0 0 0 2px var(--primary);
    }
    /* Current section: dark label with a short bar along the top edge, like the bar beside the current menu item. */
    body.zh .zh-tab.is-current,
    body.zh.zh-rail-open .zh-tab-more {
        color: var(--zh-ink);
        font-weight: 600;
    }
    body.zh .zh-tab.is-current::before,
    body.zh.zh-rail-open .zh-tab-more::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 50%;
        width: 28px;
        height: 3px;
        margin-left: -14px;
        border-radius: 0 0 3px 3px;
        background-color: var(--primary);
    }
    /* While the menu is open, More is the current tab. */
    body.zh.zh-rail-open .zh-tab:not(.zh-tab-more) {
        color: var(--neutral-500);
        font-weight: 500;
    }
    body.zh.zh-rail-open .zh-tab:not(.zh-tab-more)::before {
        display: none;
    }

    /* ---- Top bar: logo, then bell, cart (only while it holds something) and the avatar menu ---- */
    body.zh.zh-loggedin header.zh-topbar .zh-rail-toggle,
    body.zh.zh-loggedin header.zh-topbar .zh-account {
        display: none;
    }
    body.zh.zh-loggedin .zh-tools > li:has(> .cart-btn .zh-count.is-empty) {
        display: none;
    }

    /* ---- More: the menu rises as a sheet above the bottom bar ---- */
    body.zh.zh-loggedin .zh-rail {
        top: auto;
        left: 0;
        right: 0;
        bottom: calc(var(--zh-tabbar-h) + env(safe-area-inset-bottom, 0px));
        width: auto;
        height: auto;
        max-height: calc(100% - var(--zh-tabbar-h) - env(safe-area-inset-bottom, 0px) - 48px);
        border: 0;
        border-radius: 18px 18px 0 0;
        transform: translateY(calc(100% + var(--zh-tabbar-h)));
    }
    body.zh.zh-loggedin.zh-rail-open .zh-rail {
        transform: none;
    }
    body.zh.zh-loggedin .zh-rail .zh-brand {
        display: none;
    }
    body.zh.zh-loggedin .zh-rail-head {
        min-height: 58px;
        border-bottom: 1px solid var(--zh-line);
    }
    body.zh.zh-loggedin .zh-rail-title {
        display: block;
        flex: 1 1 auto;
        padding: 0 24px;
        font-size: 17px;
        font-weight: 700;
        color: var(--zh-ink);
    }
    body.zh.zh-loggedin .zh-tool.zh-rail-close {
        margin: 0 12px 0 0;
    }
    /* The four sections in the bottom bar are not repeated in the sheet. */
    body.zh.zh-loggedin .zh-rail .zh-nav-item[menuItemName="Home"],
    body.zh.zh-loggedin .zh-rail .zh-nav-item[menuItemName="Services"],
    body.zh.zh-loggedin .zh-rail .zh-nav-item[menuItemName="Domains"],
    body.zh.zh-loggedin .zh-rail .zh-nav-item[menuItemName="Billing"] {
        display: none;
    }
    body.zh.zh-loggedin .zh-rail-nav {
        min-height: 0;
        padding: 8px 0 12px;
    }
    body.zh.zh-loggedin .zh-rail-account {
        margin-top: 8px;
    }
}

/* ======================================================================
   Phones: list tables (hosting, domains, invoices, tickets, emails, quotes) as stacked rows
   Each row: name with its status beside it, then one "label ... value" line per column, then the buttons.
   The labels come from the column headings (copied onto each cell by footer.tpl).
   ====================================================================== */
@media (max-width: 767.98px) {
    body.zh .zh-list .listtable {
        overflow-x: visible;
    }
    body.zh .listtable table.table-list,
    body.zh .zh-list .listtable table.table-list,
    body.zh table.table-list {
        display: block;
        flex: 1 1 100%;
        width: 100% !important;
        min-width: 0;
    }
    body.zh table.table-list thead {
        display: none;
    }
    body.zh table.table-list tbody {
        display: block;
    }
    body.zh table.table-list tbody tr {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 6px 12px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--zh-line);
    }
    body.zh table.table-list tbody tr:last-child {
        border-bottom: 0;
    }
    body.zh table.table-list tbody tr:hover > td {
        background: transparent;
    }
    body.zh table.table-list tbody td,
    body.zh .zh-list table.table-list tbody td,
    body.zh .zh-list table.table-list tbody td:first-child {
        display: block;
        grid-column: 1 / -1;
        min-width: 0;
        width: auto !important;
        padding: 0;
        border: 0;
        font-size: 14px;
        text-align: right;
        white-space: normal;
    }
    /* Label on the left, the value (with any note such as the time left) right-aligned beside it. */
    body.zh table.table-list tbody td[data-label]::before {
        content: attr(data-label);
        float: left;
        margin-right: 12px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-lifted);
        text-align: left;
    }
    /* The time left goes on the same line as its date. */
    body.zh table.table-list tbody td .zh-left {
        display: inline;
        margin-left: 4px;
    }
    body.zh table.table-list tbody td .w-hidden {
        display: none;
    }

    /* Name on the first line, status at its right. */
    body.zh table.table-list tbody td.zh-cell-name {
        display: block;
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        text-align: left;
    }
    body.zh table.table-list tbody td.zh-cell-name::before,
    body.zh table.table-list tbody td.zh-cell-status::before,
    body.zh table.table-list tbody td.zh-cell-actions::before,
    body.zh table.table-list tbody td.zh-cell-check::before {
        content: none;
    }
    body.zh table.table-list tbody td.zh-cell-status {
        display: block;
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        padding-top: 2px;
    }
    /* With a status beside it, the name may wrap rather than run under the status. */
    body.zh table.table-list tbody td.zh-cell-name .zh-cell-title {
        overflow-wrap: anywhere;
    }

    body.zh table.table-list tbody td.zh-cell-num {
        display: none !important;
    }
    /* Domain bulk-select box: top left, the name moves over for it. */
    body.zh table.table-list tbody td.zh-cell-check {
        /* Outside the grid areas, so it is placed against the row itself. */
        grid-column: auto !important;
        grid-row: auto !important;
        position: absolute;
        top: 16px;
        left: 16px;
        display: block;
    }
    body.zh table.table-list tbody tr:has(> td.zh-cell-check) {
        padding-left: 46px;
    }
    body.zh table.table-list tbody td.zh-cell-check input {
        width: 18px;
        height: 18px;
    }

    /* Buttons fill the last line; the more-menu button keeps its size. */
    body.zh table.table-list tbody td.zh-cell-actions,
    body.zh .zh-list table.table-list td.zh-cell-actions {
        display: block;
        margin-top: 6px;
        padding: 0;
    }
    body.zh table.table-list .zh-row-actions {
        justify-content: stretch;
        gap: 8px;
    }
    body.zh table.table-list .zh-row-actions > .btn,
    body.zh table.table-list .zh-row-actions > a.btn {
        flex: 1 1 0;
        justify-content: center;
        min-height: 40px;
    }
    body.zh table.table-list .zh-row-actions > .btn.zh-btn-icon {
        flex: 0 0 44px;
    }
    body.zh table.table-list .zh-row-actions > .dropdown > .btn {
        min-width: 44px;
        min-height: 40px;
    }

    body.zh table.table-list tbody td.dataTables_empty {
        display: block;
        text-align: center;
    }
    body.zh table.table-list tbody td.dataTables_empty::before {
        content: none;
    }
}

/* Phones: dashboard hosting rows. Icon, name and status on the first line, the due date under the name,
   then the buttons across the full width. */
@media (max-width: 767.98px) {
    body.zh .div-service-item.zh-service {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) auto;
        align-items: center;
        gap: 4px 12px;
    }
    body.zh .div-service-item.zh-service > .zh-kind-icon {
        grid-column: 1;
        grid-row: 1;
    }
    body.zh .div-service-item.zh-service > .div-service-name {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }
    body.zh .div-service-item.zh-service .text-domain,
    body.zh .div-service-item.zh-service .zh-service-meta {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.zh .div-service-item.zh-service > .div-service-status {
        grid-column: 3;
        grid-row: 1;
        width: auto !important;
    }
    body.zh .div-service-item.zh-service .div-service-status .label-placeholder {
        display: none;
    }
    body.zh .div-service-item.zh-service > .zh-service-due {
        display: block;
        grid-column: 2 / -1;
        grid-row: 2;
        min-width: 0;
    }
    body.zh .div-service-item.zh-service .zh-service-due-label {
        margin-right: 4px;
    }
    body.zh .div-service-item.zh-service .zh-service-due-date {
        font-size: 13px;
    }
    body.zh .div-service-item.zh-service > .div-service-buttons {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }
    body.zh .div-service-item.zh-service .div-service-buttons > .btn,
    body.zh .div-service-item.zh-service .div-service-buttons > a.btn {
        flex: 0 0 44px;
        padding: 0;
        text-align: center;
        line-height: 30px;
    }
    /* The first button (Renew, or Log in to Plesk) takes the spare width; the icon buttons after it stay square. */
    body.zh .div-service-item.zh-service .div-service-buttons > .btn:first-child,
    body.zh .div-service-item.zh-service .div-service-buttons > a.btn:first-child {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 12px;
    }
    body.zh .div-service-item.zh-service .div-service-buttons > .btn-group .btn,
    body.zh .div-service-item.zh-service .div-service-buttons > .btn-group-secondary {
        margin-right: 0;
    }
    body.zh .div-service-item.zh-service .div-service-buttons > .btn-group .btn {
        min-width: 44px;
        line-height: 30px;
    }
}

/* Phones: the domain "With selected" buttons sit two to a line as separate buttons. */
@media (max-width: 767.98px) {
    body.zh .zh-bulk > .btn-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }
    body.zh .zh-bulk > .btn-group > .btn,
    body.zh .zh-bulk > .btn-group > .btn-group > .btn {
        width: 100%;
        min-height: 40px;
        margin: 0 !important;
        border-radius: var(--rounding-md) !important;
        white-space: normal;
        line-height: 1.25;
    }
    body.zh .zh-bulk > .btn-group > .btn-group {
        display: flex;
        margin: 0;
    }
}

/* Phones: comfortable tap sizes. The breadcrumb steps aside, as the bottom bar leads back to each section. */
@media (max-width: 767.98px) {
    body.zh.zh-loggedin .zh-crumbs {
        display: none;
    }
    body.zh .list-group-item[id*="Status_Filter"] {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
    }
    body.zh table.table-list td.zh-cell-actions .btn {
        min-height: 40px;
    }
    body.zh table.table-list td.zh-cell-actions > .btn {
        width: 100%;
    }
}

/* Phones: the buttons beside a list page's title (Renew Hosting, Place a New Order, Register a New Domain, ...)
   are compact, sit side by side at their own width and wrap, instead of one full-width button per line. */
@media (max-width: 767.98px) {
    body.zh .zh-page-actions .zh-actions,
    body.zh .zh-page-actions .zh-actions-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    body.zh .zh-page-actions .btn,
    body.zh .zh-page-actions .zh-actions-items .list-group-item {
        flex: 0 0 auto;
        justify-content: flex-start;
        gap: 6px;
        min-height: 0;
        margin: 0;
        padding: 0 11px;
        line-height: 32px;
        font-size: 13px;
    }
    body.zh .zh-page-actions .btn i,
    body.zh .zh-page-actions .zh-actions-items .list-group-item i {
        font-size: 12px;
    }
}

/* Phones: the dashboard's Open Ticket and Order New Hosting buttons match the list pages' title buttons:
   compact, at their own width, side by side. */
@media (max-width: 767.98px) {
    body.zh .zh-dash-actions {
        flex-wrap: wrap;
        gap: 6px;
    }
    body.zh .zh-dash-actions .btn {
        flex: 0 0 auto;
        gap: 6px;
        height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }
    body.zh .zh-dash-actions .btn i {
        font-size: 12px;
    }
}

/* Phones: an open dropdown menu sits above the bottom bar rather than under it. */
@media (max-width: 767.98px) {
    body.zh .dropdown-menu.show {
        z-index: 1060;
    }
}

/* Phones, hosting list: the hosting type and the price share one line, type on the left and price on the right,
   without labels (each explains itself). */
@media (max-width: 767.98px) {
    body.zh table.table-list tbody td.zh-cell-type {
        grid-column: 1;
        align-self: center;
        text-align: left;
    }
    body.zh table.table-list tbody td.zh-cell-price {
        grid-column: 2;
        align-self: center;
        text-align: right;
        white-space: nowrap;
    }
    body.zh table.table-list tbody td.zh-cell-type::before,
    body.zh table.table-list tbody td.zh-cell-price::before {
        content: none;
    }
}

/* ---------- Top bar search: room to type, and results wide enough to read ----------
   The search box keeps a minimum width; the tools beside it give way first (the company name shortens with "…",
   and below 1400px "Return to admin" shows as its icon only, with its tooltip). The results list has its own
   width, so a narrow search box never squeezes the names in it. */
@media (min-width: 992px) {
    body.zh header.zh-topbar .zh-search-form {
        min-width: 220px;
    }
    body.zh header.zh-topbar .zh-tools {
        flex: 0 1 auto;
        min-width: 0;
    }
    body.zh header.zh-topbar .zh-account,
    body.zh header.zh-topbar .zh-account-name {
        min-width: 0;
    }
    body.zh header.zh-topbar .zh-account-name span {
        min-width: 0;
        flex: 0 1 auto;
    }
    .zh-find-results {
        width: 360px;
        max-width: calc(100vw - 32px);
    }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    body.zh header.zh-topbar .zh-return-admin span {
        display: none;
    }
}

/* ---------- Hosting summary: ⋯ menu (Request Cancellation) ---------- */

/* Last in the action row, after the control panel button; Request Cancellation waits in it. */
body.zh .zh-host-actions > .zh-host-more {
    order: 10;
    display: flex;
    margin-left: auto; /* When the row wraps, the ⋯ button keeps to the right edge. */
}
body.zh .zh-host-actions .zh-host-more-btn {
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    line-height: 36px;
}
body.zh .zh-host-more .dropdown-menu {
    min-width: 200px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.12);
}
body.zh .zh-host-more .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--rounding-sm);
    font-size: 14px;
    color: var(--zh-ink);
}
body.zh .zh-host-more .dropdown-item.zh-item-danger,
body.zh .zh-host-more .dropdown-item.zh-item-danger i {
    color: #96102a;
}
body.zh .zh-host-more .dropdown-item.zh-item-danger:hover {
    background-color: #fdecef;
}
body.zh .zh-host-more .dropdown-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}
@media (max-width: 767.98px) {
    /* Phones: the row's buttons share the width; the ⋯ button stays square. */
    body.zh .zh-host-actions > .zh-host-more {
        flex: none;
    }
}

/* ---------- Domain details: tabs loaded from their own pages ---------- */

/* Contact Information, Private Nameservers and Get EPP Code open in a pane (footer.tpl) instead of a new page. */
.zh-remote-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    font-size: 20px;
    color: var(--text-lifted);
}
.zh-remote-pane.is-loading > :not(.zh-remote-loading) {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* ---------- Domain owner verification (includes/zh-verify-notice.tpl) ---------- */

.zh-verify {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #f1d7a6;
    border-radius: var(--rounding-sm);
    background: #fffaf0;
}
.zh-verify-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.zh-verify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fbe7c2;
    color: #8a5300;
    font-size: 14px;
}
body.zh .zh-verify-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 16px;
    font-weight: 650;
    color: var(--zh-ink);
}
.zh-verify-hide {
    flex: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: var(--rounding-sm);
    background: transparent;
    color: var(--text-lifted);
}
.zh-verify-hide:hover {
    background: #fbe7c2;
    color: var(--zh-ink);
}
.zh-verify-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.zh-verify-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    padding: 10px 0 0 40px;
}
.zh-verify-item + .zh-verify-item {
    margin-top: 10px;
    border-top: 1px solid #f1d7a6;
}
.zh-verify-text {
    flex: 1 1 340px;
    min-width: 0;
    font-size: 14px;
    color: var(--zh-ink);
}
.zh-verify-text p {
    margin: 4px 0 0;
    color: var(--text-lifted);
}
body.zh .zh-verify-domain {
    margin-right: 6px;
    font-weight: 650;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
.zh-verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
body.zh .zh-verify-label {
    display: inline-block;
    font-weight: 600;
    white-space: nowrap;
}
body.zh .zh-verify-label.is-pending {
    background: #fbe7c2;
    color: #7a4a00;
}
body.zh .zh-verify-label.is-checking {
    background: #e3eefc;
    color: #1d4f91;
}
body.zh .zh-verify-label.is-overdue {
    background: #fdecef;
    color: #96102a;
}
/* In the domain list the label sits beside the status and opens the domain. */
body.zh .zh-status-cell .zh-verify-label {
    margin-left: 4px;
    text-decoration: none;
}
.zh-verify-flash {
    margin-bottom: 16px;
}
@media (max-width: 767.98px) {
    .zh-verify-item {
        padding-left: 0;
    }
    .zh-verify-actions,
    .zh-verify-actions .btn {
        flex: 1 1 auto;
    }
}

/* Domain page: WHMCS's live "Verification Required" alert, shown as the verification box (zh-verify-notice.tpl). */
body.zh .zh-verify {
    border-color: #f0c96b;
    border-left: 4px solid #e0a106;
    background: #fff8e6;
}
.zh-verify-live .zh-verify-head {
    flex-wrap: wrap;
}
body.zh .zh-verify-live .zh-verify-title {
    flex: 0 1 auto;
}
.zh-verify-live .zh-verify-item {
    padding-top: 2px;
}
.zh-verify-live-desc {
    color: var(--zh-ink);
    text-align: left;
}
.zh-verify-live-desc strong {
    font-weight: 650;
}
.zh-verify-actions form {
    display: contents;
}
body.zh .zh-verify-actions .btn {
    white-space: nowrap;
}

/* ---------- Domain details: Domain Information is the main card, SSL beside it ---------- */

/* Domain Information: the status rows (domain, registrar lock, auto renew) across the top, the nameservers side
   by side on a row of their own. --zh-cols is the number of status rows, set by the template (has-lock = 3).
   A mid-width card (the main column on 1200-1500 px screens) gives the domain its own row with the other two
   under it; a narrow card (phones) has one row per line. */
.zh-host-card:has(> .zh-dom-info) {
    container: zh-dom-info / inline-size;
}
.zh-host-list.zh-dom-info {
    display: grid;
    grid-template-columns: repeat(var(--zh-cols, 3), minmax(0, 1fr));
}
.zh-dom-info > div + div:not(.zh-host-ns) {
    border-left: 1px solid var(--zh-line);
}
.zh-dom-info:not(:has(> .zh-host-ns)) > div {
    border-bottom: 0;
}
.zh-dom-info > .zh-host-ns {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(var(--zh-cols, 3), minmax(0, 1fr));
    column-gap: 34px;
}
.zh-dom-info > .zh-host-ns > dt {
    grid-column: 1 / -1;
}
@container zh-dom-info (max-width: 719.98px) {
    .zh-host-list.zh-dom-info.has-lock,
    .zh-dom-info.has-lock > .zh-host-ns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-dom-info.has-lock > div:first-child {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--zh-line);
    }
    .zh-dom-info.has-lock > div:nth-child(2) {
        border-left: 0;
    }
}
@container zh-dom-info (max-width: 459.98px) {
    .zh-host-list.zh-dom-info,
    .zh-host-list.zh-dom-info.has-lock,
    .zh-dom-info > .zh-host-ns,
    .zh-dom-info.has-lock > .zh-host-ns {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-dom-info > div + div:not(.zh-host-ns) {
        border-left: 0;
    }
    .zh-dom-info:not(:has(> .zh-host-ns)) > div:not(:last-child) {
        border-bottom: 1px solid var(--zh-line);
    }
}
/* The nameservers' Change sits on the label line, at the right. */
.zh-dom-info > .zh-host-ns > dt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
/* Change / Manage links in the details cards (domain and hosting pages) are small label-like buttons. */
body.zh .zh-host-card .zh-host-card-link {
    flex: none;
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid var(--zh-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--zh-ink);
    background: var(--primary-50);
    text-decoration: none;
}
body.zh .zh-host-card .zh-host-card-link:hover {
    border-color: var(--primary-200);
    background: var(--primary-100);
}
body.zh .zh-host-card .zh-host-card-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}
body.zh .zh-dom-info .zh-host-card-link {
    margin-right: 2px;
}

/* ---------- Moving between pages ---------- */

/* The browser fades from one page to the next instead of swapping it in one frame (Chrome/Edge 126+,
   Safari 18.2+; other browsers just swap as before). The side menu, top bar and phone bottom bar are the same on
   every page, so they are held still and only the content fades. */
@view-transition {
    navigation: auto;
}
body.zh #zhRail {
    view-transition-name: zh-rail;
}
body.zh header.zh-topbar {
    view-transition-name: zh-topbar;
}
body.zh .zh-tabbar {
    view-transition-name: zh-tabbar;
}
::view-transition-group(root) {
    animation-duration: 0.18s;
}
::view-transition-group(zh-rail),
::view-transition-group(zh-topbar),
::view-transition-group(zh-tabbar),
::view-transition-old(zh-rail),
::view-transition-old(zh-topbar),
::view-transition-old(zh-tabbar),
::view-transition-new(zh-rail),
::view-transition-new(zh-topbar),
::view-transition-new(zh-tabbar) {
    animation: none;
}
::view-transition-old(zh-rail),
::view-transition-old(zh-topbar),
::view-transition-old(zh-tabbar) {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }
}

/* ---------- Footer: copyright centred; language and currency live in the profile menu ---------- */

body.zh footer.zh-footer {
    justify-content: center;
    text-align: center;
}
body.zh footer.zh-footer .copyright {
    text-align: center;
}
@media (max-width: 991.98px) {
    body.zh footer.zh-footer {
        align-items: center;
    }
}
body.zh .zh-locale-item > a.dropdown-item,
body.zh footer.zh-footer .zh-locale-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}
body.zh .zh-locale-item .iti-flag,
body.zh footer.zh-footer .zh-locale-btn .iti-flag {
    flex: none;
}
/* A slimmer footer: less space above the line, a shorter bar. */
body.zh:not(.zh-auth) .zh-content {
    padding-bottom: 28px;
}
body.zh:not(.zh-auth) footer.zh-footer {
    padding-top: 12px;
    padding-bottom: 12px;
}
/* On short pages the footer sits at the foot of the window: the page column is as tall as the window (the
   menu row sets that) and the content takes the room left over. */
body.zh:not(.zh-auth) .zh-main {
    display: flex;
    flex-direction: column;
}
body.zh:not(.zh-auth) .zh-main > section#main-body {
    flex: 1 0 auto;
}

/* Card title strips and the lower band of the hosting / domain summary card: one step darker than before
   (#fafafa), between the white cards and the page grey (--zh-canvas). */
:root {
    --zh-card-head: var(--neutral-100);
}
body.zh .primary-content .zh-svc-card > .card-header,
body.zh .primary-content .client-home-cards .card .card-header,
body.zh .zh-host-bill {
    background: var(--zh-card-head);
}
/* The due-date track and the divider in that band were the band's new grey; keep them a step darker. */
body.zh .zh-host-bill .zh-host-track {
    background: var(--neutral-200);
}
body.zh .zh-host-bill .zh-host-facts {
    border-color: var(--neutral-200);
}

/* Dashboard counts: the number and its label on one line ("4 Hosting"), the label larger.
   On a narrow tile the label drops under the number rather than being cut off. */
.zh-stat-text {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 9px;
}
.zh-stat-num {
    font-size: 28px;
}
.zh-stat-label {
    font-size: 18px;
    font-weight: 550;
    line-height: 1.2;
    color: var(--zh-ink);
}
/* Four across needs about 1400px with the menu beside it. Narrower: the arrow goes and the tile is tighter,
   and below 1200px the tiles go two across. */
@media (max-width: 1399.98px) {
    .zh-stat-go {
        display: none;
    }
    .zh-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    body.zh .zh-summary .zh-stat {
        gap: 12px;
    }
    .zh-stat-num {
        font-size: 25px;
    }
    .zh-stat-label {
        font-size: 16.5px;
    }
}
@media (max-width: 1199.98px) {
    .zh-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .zh-stat-num {
        font-size: 24px;
    }
    .zh-stat-label {
        font-size: 15.5px;
    }
}
@media (max-width: 767.98px) {
    .zh-stat-text {
        gap: 2px 6px;
    }
    .zh-stat-num {
        font-size: 22px;
    }
    .zh-stat-label {
        font-size: 14.5px;
    }
}

/* Dashboard: the hosting and domain box titles open their list pages. */
body.zh .client-home-cards .card-title a.zh-panel-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
body.zh .client-home-cards .card-title a.zh-panel-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.zh .client-home-cards .card-title a.zh-panel-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--rounding-sm);
}

/* Password reset done: message, countdown, button. */
.zh-pwdone {
    text-align: center;
}
body.zh .zh-pwdone-text {
    margin: 4px 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh .zh-pwdone-timer {
    margin: 0 0 18px;
    color: var(--text-lifted);
}
body.zh .zh-pwdone-timer strong {
    display: inline-block;
    min-width: 1ch;
    color: var(--zh-ink);
    font-variant-numeric: tabular-nums;
}
body.zh .zh-pwdone-stay {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-lifted);
}

/* Tooltip on a Renew button with a count: a few lines of detail, left-aligned. */
.zh-renew-tip .tooltip-inner {
    max-width: 300px;
    padding: 9px 12px;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.55;
}
.zh-renew-tip .tooltip-inner strong {
    font-size: 13px;
    font-weight: 650;
}
.zh-renew-tip .zh-tip-late {
    color: #fda4af;
    white-space: nowrap;
}
.zh-renew-tip .zh-tip-muted {
    opacity: 0.7;
}

/* Dashboard: Open Ticket and Order New Hosting sit centred against the welcome heading and account name,
   not on the account name's baseline. */
.zh-dash-head {
    align-items: center;
}

/* Desktop menu: a white card like the top bar and the page cards, 12px in from the top, bottom and left edges,
   instead of a panel running the full height of the window. Its top lines up with the top bar's. */
@media (min-width: 992px) {
    body.zh:not(.zh-auth) .zh-rail {
        top: 12px;
        height: calc(100vh - 24px);
        margin: 12px 0 12px 12px;
        border: 1px solid var(--zh-line);
        border-radius: var(--rounding-lg);
        overflow: hidden;
    }
    /* The card already starts 12px down, so the logo lines up with the top bar without extra space
       (-1px makes up for the card's top border). */
    body.zh:not(.zh-auth) .zh-brand {
        margin-top: -1px;
    }
    /* Wide screens: keep menu and page centred as one block. The 12px before the card is part of the space on
       the left, so it comes off this padding too (hence 24px). */
    body.zh:not(.zh-auth) .zh-app {
        padding-left: max(0px, calc((100% - var(--zh-rail-w) - 24px - var(--zh-content-w) + var(--zh-gutter)) / 2));
    }
}

/* Desktop menu card: the logo is centred across the card and a little lower, with a thin line under it running
   the card's full width, separating it from the menu. */
@media (min-width: 992px) {
    body.zh:not(.zh-auth) .zh-rail .zh-brand {
        justify-content: center;
        height: 76px;
        margin: -1px 0 0;
        padding: 0 16px;
        border-bottom: 1px solid var(--zh-line);
    }
    body.zh:not(.zh-auth) .zh-rail .zh-rail-nav {
        padding-top: 12px;
    }
}

/* ---------- Order steps: larger, across the full width ----------
   The connecting lines stretch so the three steps span the page. */
body.zh-order-flow .primary-content > .zh-steps {
    gap: 14px;
    margin: 0 0 26px;
    padding: 14px 22px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    font-size: 15px;
    background-color: var(--bg);
}
body.zh-order-flow .primary-content > .zh-steps .zh-step {
    gap: 10px;
    white-space: nowrap;
}
body.zh-order-flow .primary-content > .zh-steps .zh-step + .zh-step {
    flex: 1 1 0;
}
body.zh-order-flow .primary-content > .zh-steps .zh-step + .zh-step::before {
    flex: 1 1 auto;
    width: auto;
    min-width: 24px;
    height: 2px;
    margin-right: 4px;
    border-radius: 2px;
}
body.zh-order-flow .primary-content > .zh-steps .zh-step-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* ---------- Configure a server (cart) ----------
   Built by includes/hooks/zolahost_order_form.php on server products only (the page has #inputHostname):
   .zh-cfg on the form body, a plan card (icon, name, group, Change plan), then one .zh-cfg-card holding the
   fields as numbered sections. Dropdowns of 2-8 choices become .zh-tile buttons; the real <select> stays in the
   form (hidden) and is changed through its own change event, so WHMCS's price updates still run. */
body.zh #order-standard_cart .secondary-cart-body.zh-cfg > p:first-child {
    display: none;
}
body.zh #order-standard_cart .zh-cfg .product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 18px 22px;
}
body.zh #order-standard_cart .zh-cfg .product-info > p:empty {
    display: none;
}
.zh-cfg-plan-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 21px;
    color: var(--zh-ink);
    background-color: var(--neutral-100);
}
.zh-cfg-plan-text {
    flex: 1 1 auto;
    min-width: 0;
}
body.zh #order-standard_cart .zh-cfg .product-info .product-title {
    margin: 0;
    font-size: 19px;
}
.zh-cfg-plan-group {
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh .zh-cfg-plan-change {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--zh-ink);
    background-color: var(--bg);
}
body.zh .zh-cfg-plan-change:hover {
    border-color: var(--neutral-300);
    color: var(--zh-ink);
    text-decoration: none;
    background-color: var(--neutral-50);
}
.zh-cfg-card {
    margin-bottom: 16px;
    padding: 4px 24px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-lg);
    background-color: var(--bg);
    counter-reset: zh-cfg;
}
body.zh #order-standard_cart .zh-cfg-card .sub-heading.zh-cfg-hide {
    display: none;
}
body.zh #order-standard_cart .zh-cfg-card .field-container,
body.zh #order-standard_cart .zh-cfg-card .product-configurable-options {
    margin: 0;
}
body.zh #order-standard_cart .zh-cfg-card .row {
    display: block;
    margin: 0;
}
body.zh #order-standard_cart .zh-cfg-card .row > [class*="col-"] {
    max-width: none;
    padding: 0;
}
body.zh #order-standard_cart .zh-cfg-card .form-group {
    position: relative;
    margin: 0;
    padding: 20px 0 22px 46px;
    border-top: 1px solid var(--zh-line);
    counter-increment: zh-cfg;
}
body.zh #order-standard_cart .zh-cfg-card .field-container:first-child .form-group:first-child {
    border-top: 0;
}
body.zh #order-standard_cart .zh-cfg-card .form-group::before {
    content: counter(zh-cfg);
    position: absolute;
    top: 19px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary);
}
body.zh #order-standard_cart .zh-cfg-card .form-group > label:not(.field-icon):not(.radio-inline):not(.checkbox-inline) {
    display: block;
    margin: 3px 0 12px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--zh-ink);
}
body.zh #order-standard_cart .zh-cfg-card #inputHostname {
    max-width: 420px;
}
.zh-cfg-help {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-lifted);
}
.zh-cfg-static {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-ink);
    background-color: var(--neutral-50);
}
body.zh #order-standard_cart .zh-cfg-card select.zh-cfg-tiled {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0 !important;
    opacity: 0;
}
.zh-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
body.zh .zh-tile {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    text-align: left;
    color: var(--zh-ink);
    background-color: var(--bg);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
body.zh .zh-tile:hover {
    border-color: var(--neutral-400);
}
body.zh .zh-tile:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
body.zh .zh-tile.zh-tile-selected {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
    background-color: var(--neutral-50);
}
.zh-tile-icon {
    flex: 0 0 auto;
    width: 22px;
    font-size: 19px;
    text-align: center;
    color: var(--neutral-500);
}
.zh-tile.zh-tile-selected .zh-tile-icon {
    color: var(--zh-ink);
}
.zh-tile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}
.zh-tile-name {
    font-size: 14px;
    font-weight: 500;
}
.zh-tile-price {
    font-size: 12.5px;
    color: var(--text-lifted);
}
.zh-tile-check {
    margin-left: auto;
    font-size: 15px;
    color: var(--primary);
    visibility: hidden;
}
.zh-tile.zh-tile-selected .zh-tile-check {
    visibility: visible;
}
body.zh #order-standard_cart .secondary-cart-body.zh-cfg > .alert.info-text-sm {
    margin-top: 0;
    padding: 4px 2px;
    border: 0;
    color: var(--text-lifted);
    background: transparent;
}
@media (max-width: 575.98px) {
    body.zh-order-flow .primary-content > .zh-steps {
        padding: 12px 14px;
    }
    .zh-cfg-card {
        padding: 2px 16px;
    }
    body.zh #order-standard_cart .zh-cfg-card .form-group {
        padding-left: 40px;
    }
    .zh-tiles {
        grid-template-columns: 1fr;
    }
    body.zh #order-standard_cart .zh-cfg .product-info {
        flex-wrap: wrap;
    }
}

/* ---------- OpenProvider confirmation pages: email, transfer, trademark (zh-confirm.tpl) ---------- */
body.zh-auth.zh-page-zh-confirm .zh-content {
    max-width: 600px;
}
/* Icon beside the title */
.zh-confirm-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}
body.zh .zh-confirm-head .zh-auth-title {
    margin: 0;
}
.zh-confirm-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neutral-100);
    color: var(--zh-ink);
    font-size: 18px;
}
.zh-confirm-icon.is-ok {
    background: #dcf3e6;
    color: var(--success-accented);
}
.zh-confirm-icon.is-warn {
    background: #fbe7c2;
    color: #8a5300;
}
body.zh .zh-confirm .zh-auth-sub {
    margin-bottom: 16px;
}
.zh-confirm-subject {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid var(--zh-line);
    border-radius: var(--rounding-md, 8px);
    background: var(--neutral-50);
    font-weight: 600;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
.zh-confirm-form {
    margin: 0 0 16px;
}
.zh-confirm-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.zh-confirm-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--zh-line);
    font-weight: 600;
    color: var(--zh-ink);
    overflow-wrap: anywhere;
}
.zh-confirm-list li:last-child {
    border-bottom: 0;
}
.zh-confirm-list i {
    margin-right: 6px;
    color: var(--success-accented);
}
.zh-confirm-note {
    margin: 0 0 10px;
    font-size: 13.5px;
    color: var(--text-lifted);
}
body.zh .zh-confirm .btn-block + .zh-confirm-note {
    margin-top: 14px;
}
.zh-confirm-link + .zh-confirm-form {
    margin-top: 8px;
}
