/*!
 * ix Theme — components
 *
 * Everything this theme draws itself: the shell (topbar, navbar, mega menu,
 * drawer, footer) and the shared primitives used by the client area and the
 * marketing homepage. Colours come from ix-tokens.css only — no literals.
 */

/* ====================================================================== */
/* Layout primitives                                                      */
/* ====================================================================== */

.ix-container {
    width: 100%;
    max-width: var(--ix-container-max);
    margin-inline: auto;
    padding-inline: 16px;
}

.ix-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--ix-accent);
    color: var(--ix-accent-contrast);
    padding: 10px 16px;
    border-radius: 0 0 var(--rounding-sm) 0;
}

.ix-skip-link:focus {
    left: 0;
    color: var(--ix-accent-contrast);
}

/* ====================================================================== */
/* Header shell                                                           */
/* ====================================================================== */

/* Glass (mockup 11, user decision 2026-11-25): half see-through and
   blurred, so the page shows through as it scrolls under the bar. At the top
   of the page only the page's own ground is behind it, and it reads as
   solid. Safe for the fixed layers because none sits inside the header —
   the drawer and the notices window come after it — as a backdrop-filter
   would make the header their containing block. */
.ix-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--ix-nav-bg-glass);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border-muted);
    transition: box-shadow var(--ix-transition);
}

.ix-header.is-stuck {
    box-shadow: var(--ix-shadow-md);
}

/* ---- Topbar ---------------------------------------------------------- */

.ix-topbar {
    background-color: var(--ix-topbar-bg);
    border-bottom: 1px solid var(--border-muted);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Wherever the full menu shows (992px up) the navbar holds what this bar
   held (includes/topbar.tpl), and --ix-topbar-height goes to 0 with it
   (ix-tokens.css). Below that the burger takes the menu's place, the
   account's bar is in the drawer, and this bar is where the mini status and
   the account's name fit. */
@media (min-width: 992px) {
    .ix-topbar {
        display: none;
    }
}

.ix-topbar .ix-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--ix-topbar-height);
}

.ix-topbar-start,
.ix-topbar-end {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ix-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    border-radius: var(--rounding-sm);
    padding: 4px 8px;
    color: var(--text-muted);
    font-size: inherit;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--ix-transition), background-color var(--ix-transition);
}

.ix-topbar-btn:hover,
.ix-topbar-btn:focus {
    background-color: var(--ix-topbar-hover);
    color: var(--text);
    text-decoration: none;
}

/* Contact / support links, configured in config/ix-content.php. Pulled out
   by the links' own padding, as the client bar's list is (.ix-subnav), so
   the first icon starts on the container's edge, under the brand, and the
   padding only gives the hover ground room. */
.ix-topbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 -10px;
    padding: 0;
    list-style: none;
}

.ix-topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: var(--rounding-sm);
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--ix-transition), background-color var(--ix-transition);
}

.ix-topbar-links a:hover,
.ix-topbar-links a:focus {
    background-color: var(--ix-topbar-hover);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-topbar-links i {
    color: var(--ix-accent);
    font-size: 0.875em;
}

/* The mini status (includes/topbar.tpl, mockup B5): a bar a day for the
   last 30, the good ones muted so only a day with something stands out,
   today's blinking slowly, and the uptime beside them. Starts on the
   container's edge as the links do, pulled out by its own padding. */
.ix-topbar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: -10px;
    padding: 4px 10px;
    border-radius: var(--rounding-sm);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color var(--ix-transition), background-color var(--ix-transition);
}

.ix-topbar-status:hover,
.ix-topbar-status:focus {
    background-color: var(--ix-topbar-hover);
    color: var(--text-lifted);
    text-decoration: none;
}

/* Links configured after it start after its padding, not under it. */
.ix-topbar-status + .ix-topbar-links {
    margin-left: 0;
}

.ix-topbar-status i {
    color: var(--ix-accent);
    font-size: 0.875em;
}

/* The pulse in front, in the colour of the state now (mockup Q1): the
   heartbeat line always there, faint, and a bright stretch running along
   it, so its place never stands empty between two beats. Its glow may
   reach past the drawing, hence the overflow. */
.ix-topbar-status-pulse {
    --ix-pulse: var(--ix-tint-success-fg);
    flex: none;
    overflow: visible;
}

.ix-topbar-status-pulse.is-info {
    --ix-pulse: var(--ix-tint-info-fg);
}

.ix-topbar-status-pulse.is-warning {
    --ix-pulse: var(--ix-tint-warning-fg);
}

.ix-topbar-status-pulse.is-error {
    --ix-pulse: var(--ix-tint-error-fg);
}

.ix-topbar-status-pulse path {
    fill: none;
    stroke: var(--ix-pulse);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-topbar-status-pulse-line {
    stroke-width: 1.6;
    opacity: 0.3;
}

.ix-topbar-status-pulse-run {
    stroke-width: 1.8;
    stroke-dasharray: 18 90;
    filter: drop-shadow(0 0 2px var(--ix-pulse));
    animation: ix-topbar-pulse 2.2s linear infinite;
}

@keyframes ix-topbar-pulse {
    from {
        stroke-dashoffset: 18;
    }

    to {
        stroke-dashoffset: -90;
    }
}

.ix-topbar-status-days {
    display: inline-flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 12px;
}

.ix-topbar-status-day {
    width: 3px;
    height: 12px;
    border-radius: 1px;
    background-color: var(--ix-tint-success-fg);
    opacity: 0.5;
}

.ix-topbar-status-day.is-maintenance {
    background-color: var(--ix-tint-info-fg);
    opacity: 1;
}

.ix-topbar-status-day.is-degraded {
    background-color: var(--ix-tint-warning-fg);
    opacity: 1;
}

.ix-topbar-status-day.is-outage {
    background-color: var(--ix-tint-error-fg);
    opacity: 1;
}

.ix-topbar-status-day.is-today {
    opacity: 1;
    animation: ix-topbar-today 1.6s ease-in-out infinite;
}

@keyframes ix-topbar-today {
    50% {
        opacity: 0.35;
    }
}

/* On a phone the pulse in front left no room for the account's name on the
   right: the pulse is shorter and the bars thinner, all 30 days kept down
   to 360px (below that, see the next block), and the mini status keeps its
   width while the name, a company's maybe, gives way with an ellipsis
   rather than run into it. */
@media (max-width: 575.98px) {
    .ix-topbar-start {
        flex: none;
    }

    .ix-topbar-status-pulse {
        width: 36px;
    }

    .ix-topbar-status-days {
        gap: 1px;
    }

    .ix-topbar-status-day {
        width: 2px;
    }

    .ix-active-client {
        min-width: 0;
    }

    .ix-active-client-name {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Below 360px the 30 days go too, the pulse and the figure kept: with them
   the account's name was down to "SC Ex…" (60px), and to one letter beside
   an admin's link; without them it has its full 120px (user decision,
   2026-11-26). The tooltip still says the state and the figure. */
@media (max-width: 359.98px) {
    .ix-topbar .ix-topbar-status-days {
        display: none;
    }
}

/* Without motion: the line whole and bright, nothing running. */
@media (prefers-reduced-motion: reduce) {
    .ix-topbar-status-day.is-today {
        animation: none;
    }

    .ix-topbar-status-pulse-line {
        opacity: 1;
    }

    .ix-topbar-status-pulse-run {
        display: none;
    }
}

.ix-active-client {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ix-active-client-label {
    opacity: 0.7;
}

.ix-active-client-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--text);
}

.ix-return-admin {
    color: var(--warning);
}

/* ---- Navbar ---------------------------------------------------------- */

/* The mega panel's positioning context (see .ix-mega): the bar its menus sit
   in, so the panel opens right under its menu item. */
.ix-navbar {
    position: relative;
}

.ix-navbar .ix-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--ix-nav-height);
}

.ix-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-lifted);
    text-decoration: none;
    white-space: nowrap;
}

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

/* 38px for the drawer's and the footer's copies, which have rows of their
   own. */
.ix-brand-logo {
    max-height: 38px;
    width: auto;
}

/* The bar's copy, 30px at every width but a phone's (22px, under
   Responsive): the mini status shares the row from 992px (header.tpl),
   and at 38px the logo, the menu and the actions ran into each other for a
   signed-in client — 30px is the mockup the bar was chosen from (11.2 with
   12.2's status, user decision 2026-11-25). One size from a tablet up, so
   the logo never grows as the window narrows. Scoped to the bar, as the
   phone's rule is, so the drawer's and the footer's keep theirs. */
.ix-navbar .ix-brand-logo {
    max-height: 30px;
}

/* From 1280px, where the menu shows its icons, a little less room round
   each item than the menu's own 12px, as in the mockup; below 1280 the
   Responsive section takes the icons off and narrows the items further. */
@media (min-width: 1280px) {
    .ix-navbar .ix-nav .ix-nav-link {
        padding-inline: 10px;
        font-size: 0.90625rem;
    }
}

/* ====================================================================== */
/* Primary navigation                                                     */
/* ====================================================================== */

.ix-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.ix-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-nav-item {
    position: relative;
}

.ix-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    border-radius: var(--rounding-sm);
    padding: 9px 12px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-nav-link:hover,
.ix-nav-link:focus,
.ix-nav-item.is-open > .ix-nav-link {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-nav-icon {
    color: var(--text-muted);
    font-size: 0.9em;
}

.ix-nav-item.is-open .ix-nav-icon,
.ix-nav-link:hover .ix-nav-icon {
    color: var(--ix-accent);
}

.ix-nav-caret {
    font-size: 0.625rem;
    opacity: 0.6;
    transition: transform var(--ix-transition);
}

.ix-nav-item.is-open .ix-nav-caret {
    transform: rotate(180deg);
}

/* ---- The signed-in client's bar (header.tpl) -------------------------- */

/* Under the site's navbar, a lower bar of the account's sections: the
   site's menu is for buying, this one for managing. No rule between the two
   (mockup 11.2, user decision 2026-11-25): its items read as tabs — no pill
   behind them, smaller and muted, the section being read underlined in the
   accent where the bar meets the page — and that is enough for the two bars
   not to be taken for one menu in two rows. Its dropdowns are the navbar's.
   The account's name and the switch end the bar, as the topbar that holds
   them on a narrower screen is hidden wherever this bar shows. */
.ix-subnav .ix-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ix-subnav-account {
    flex: none;
    margin-left: auto;
    /* The switch's glyph ends where the client's initials above it do: its
       button's 8px of padding, less the 3px the initials' 32px disc sits
       inside their 38px button. */
    margin-right: -5px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* A block, so a long company name ends in an ellipsis at its 200px: the
   button it shares a class with is a flex box, where text-overflow does
   not apply and the name was cut off mid-letter. */
.ix-subnav-account .ix-active-client-name {
    display: block;
}

/* Below 992px the account's sections are in the drawer, and the bar would
   be left empty: as a bare line over the header's own bottom border, it
   drew a double one on phones. */
@media (max-width: 991.98px) {
    .ix-subnav {
        display: none;
    }
}

.ix-subnav .ix-nav-list {
    gap: 4px;
    margin-inline: -12px;
}

.ix-subnav .ix-nav-link {
    position: relative;
    padding: 11px 12px;
    border-radius: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-subnav .ix-nav-link:hover,
.ix-subnav .ix-nav-link:focus,
.ix-subnav .ix-nav-item.is-open > .ix-nav-link {
    background-color: transparent;
    color: var(--text-lifted);
}

/* The section being read (ixtheme_menu_client_bar() marks it): brighter, its
   icon in the accent, and a line under it that sits on the header's own
   bottom border. */
.ix-subnav .ix-current > .ix-nav-link {
    color: var(--text-lifted);
}

.ix-subnav .ix-current > .ix-nav-link .ix-nav-icon {
    color: var(--ix-accent);
}

.ix-subnav .ix-current > .ix-nav-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background-color: var(--ix-accent);
}

/* ---- Standard dropdown ----------------------------------------------- */

.ix-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1040;
    /* A fixed width, not a min/max range. The panel is absolutely positioned
       inside a narrow menu item, so its shrink-to-fit width starts from that
       item's width: text wraps to fit and min-width wins, leaving any
       max-width unreachable. Fixed also keeps every dropdown the same size.
       340px was chosen by eye: 400px made the panels look oversized against
       the navbar items they open from. */
    width: 340px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background-color: var(--ix-mega-bg);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    box-shadow: var(--ix-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--ix-transition), transform var(--ix-transition), visibility var(--ix-transition);
}

.ix-dropdown-right {
    left: auto;
    right: 0;
}

.ix-nav-item.is-open > .ix-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Centred, not top-aligned: an item may carry no subtitle or one running to
   three lines, and a chip pinned to the top looks stranded beside the longer
   ones. Centred against the whole text block it reads right either way. */
.ix-dropdown > li > a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 10px;
    border-radius: var(--rounding-sm);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition);
}

.ix-dropdown > li > a:hover,
.ix-dropdown > li > a:focus {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
}

.ix-dropdown-divider {
    height: 1px;
    margin: 6px 10px;
    background-color: var(--border);
}

/* Sized against the descriptions, which run to two or three lines: a smaller
   chip was dwarfed by the text beside it. */
.ix-dropdown-icon,
.ix-mega-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--rounding-md);
    background-color: var(--bg-accented);
    color: var(--ix-accent);
    font-size: 1.125rem;
}

.ix-dropdown > li > a:hover .ix-dropdown-icon,
.ix-mega-list a:hover .ix-mega-icon {
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-dropdown-text,
.ix-mega-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ix-dropdown-title,
.ix-mega-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.ix-dropdown-subtitle,
.ix-mega-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-muted);
}

/* ---- Menu panels ----------------------------------------------------- */

/* The site's own menus — Hosting, Domains, Security, Company, Support — each
   drawn as a full-width panel by includes/mega/<panel>.tpl.

   The panel spans the navbar, not the menu item. Dropping the item out of the
   positioning context makes the absolute panel resolve against .ix-navbar
   (position: relative) instead of being centred on a link somewhere along it.
   The navbar, not the whole .ix-header: a signed-in client's own bar sits in
   the header under the navbar, and a panel at the header's foot opened below
   that bar — the pointer, on its way down, crossed the bar, left the item and
   closed the panel, or opened a menu of the bar instead. At the navbar's foot
   the panel covers the client's bar while it is open. */
.ix-nav-item.ix-has-mega {
    position: static;
}

/* Opens 6px under the menu item, the gap the standard dropdowns keep, not at
   the navbar's foot: the item (about 38px tall) is centred in a taller bar,
   and the panel hung from the foot sat visibly further from its trigger than
   the dropdowns beside it. So its top is the item's foot — half the bar plus
   half the item — plus those 6px. It then overlaps the lower strip of the
   navbar across its width, which holds nothing: the actions on the right are
   no taller than the item. */
.ix-mega {
    position: absolute;
    top: calc(var(--ix-nav-height) / 2 + 19px + 6px);
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: var(--ix-mega-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--ix-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--ix-transition), transform var(--ix-transition), visibility var(--ix-transition);
}

.ix-nav-item.is-open > .ix-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* A bridge over the 6px strip between the menu item and the panel, which
   belongs to neither: the pointer crossing it left the item, and the panel
   closed on the way down. The panel reaches up over that strip, invisibly
   and the whole width — so the way down to any of its columns, straight or
   slanting, stays inside the menu. 8px, not 6px, so a fractional item height
   leaves no hairline uncovered. It exists only while the panel is open:
   hidden with it, it catches nothing else. */
.ix-nav-item.is-open > .ix-mega::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 8px;
}

/* Moving from an open menu to its neighbour swaps the two on the spot
   (initNav() in js/ix.js sets this class for that moment): two full-width
   panels fading out and in over each other read as a flicker. */
.ix-header.ix-nav-instant .ix-mega,
.ix-header.ix-nav-instant .ix-dropdown {
    transition: none;
}

/* Inherits .ix-container's max-width and side padding untouched, so the
   panel content lines up with the page content behind it — but not the flex
   row every container in the navbar is (.ix-navbar .ix-container): in one,
   the panel's grid took only its content's width and ended short of the
   right edge wherever its columns were narrow. */
.ix-mega > .ix-container {
    display: block;
    min-height: 0;
    padding-block: 26px;
}

/* Flex rather than grid: auto-fit has to derive a track count from the
   container width, and the columns here are few and equal, so "share the row"
   is both simpler and immune to that computation going wrong. */
.ix-mega-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.ix-mega-col {
    flex: 1 1 200px;
    min-width: 0;
}

/* Everything right of the promo: its columns. A panel's search sits at the
   top of one of them (.ix-mega-search), not in a band across them. */
.ix-mega-main {
    display: flex;
    flex: 1 1 520px;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

/* The column beside the links: a flex column, so the tiles under its
   heading take what is left of its height and end level with the links. */
.ix-mega-col-fill {
    display: flex;
    flex-direction: column;
}

/* The Hosting panel's columns, filled to the promo's height: its three plans
   alone are shorter than the promo from 1100px up, and both columns ended
   some 40px to 55px above its foot. The plans share the room out between them, so
   the last ends level with the tiles beside it. */
.ix-mega-main.is-filled > .ix-mega-grid {
    flex: 1 1 auto;
}

.ix-mega-main.is-filled .ix-mega-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
}

/* A second heading in a column, under its first list or search; in a filled
   column it takes the rest of the height with it. */
.ix-mega-subsection {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: 14px;
}

/* A column flexbox so the illustration and text sit centred against the
   taller columns beside them; the column itself still stretches to the
   row's height, which keeps its dividing rule full length. */
.ix-mega-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 1 280px;
    padding-right: 26px;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* A trailing paragraph margin would push the centred group up off centre. */
.ix-mega-promo > :last-child {
    margin-bottom: 0;
}

/* The panel's name over its line: a paragraph, not a heading, so the five
   panels on every page add nothing to its outline. */
.ix-mega-promo-title {
    margin: 0 0 8px;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 700;
}

/* The promo's illustration, an inline SVG in each panel's template, in the
   wide 240x160 box. Its colours come from here rather than the markup so
   they follow the tokens: the subject on its disc is the bright part, the
   things around it a quiet outline, so the drawing still reads at the promo
   column's small size. There is no small-screen rule: below the desktop
   breakpoint the navbar gives way to the drawer, which has no panels. */
.ix-mega-art {
    width: 100%;
    max-width: 240px;
    margin-bottom: 14px;
}

.ix-mega-art svg {
    display: block;
    width: 100%;
    height: auto;
}

.ix-mega-art-line {
    fill: none;
    stroke: var(--border-accented);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Filled with the panel's own background, so an outline or the disc hides
   what it overlaps rather than letting the lines behind show through. */
.ix-mega-art-cut {
    fill: var(--ix-mega-bg);
}

/* The gear's teeth: a thick stroke broken into eight dashes around a circle
   of circumference 2π·16, which the body's outline then covers inside. */
.ix-mega-art-teeth {
    fill: none;
    stroke: var(--border-accented);
    stroke-width: 6;
    stroke-dasharray: 6.28 6.28;
}

.ix-mega-art-dot {
    fill: var(--border-accented);
}

.ix-mega-art-dash {
    fill: none;
    stroke: var(--border-accented);
    stroke-width: 1.5;
    stroke-dasharray: 2 3;
    stroke-linecap: round;
}

.ix-mega-art-https {
    fill: var(--ix-accent-soft);
    stroke: var(--ix-accent-border);
    stroke-width: 1;
}

.ix-mega-art-disc {
    fill: var(--ix-accent-soft);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-rack {
    fill: var(--bg-muted);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-unit rect {
    fill: var(--bg-accented);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-slot {
    fill: none;
    stroke: var(--border-lifted);
    stroke-width: 2;
    stroke-linecap: round;
}

.ix-mega-art-led {
    fill: var(--ix-accent);
}

.ix-mega-art-led.is-ok {
    fill: var(--success);
}

/* The domain's globe, the address bar in front of it marked available, and
   the extensions around them. */
.ix-mega-art-globe {
    fill: var(--bg-accented);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-meridian {
    fill: none;
    stroke: var(--border-lifted);
    stroke-width: 1.5;
}

.ix-mega-art-bar-field {
    fill: var(--bg-muted);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-ok {
    fill: var(--success);
}

.ix-mega-art-check {
    fill: none;
    stroke: var(--ix-accent-contrast);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-mega-art-tld {
    fill: var(--border-accented);
    font-size: 10px;
    font-weight: 700;
    text-anchor: middle;
}

/* The panel-coloured stroke cuts the shield out of what is behind it. */
.ix-mega-art-shield {
    fill: var(--ix-accent);
    stroke: var(--ix-mega-bg);
    stroke-width: 3;
    stroke-linejoin: round;
}

.ix-mega-art-shield-shade {
    fill: var(--ix-accent-active);
}

/* The shield's outline again inside it, a shade lighter than the shield and
   half see-through, so it reads over both halves and gives the flat shape
   some depth. */
.ix-mega-art-shield-inner {
    fill: none;
    stroke: var(--ix-accent-hover);
    stroke-width: 1.5;
    stroke-linejoin: round;
    opacity: 0.55;
}

.ix-mega-art-lock {
    fill: var(--ix-accent-contrast);
}

.ix-mega-art-lock-shackle {
    fill: none;
    stroke: var(--ix-accent-contrast);
    stroke-width: 2.5;
}

.ix-mega-art-lock-shackle.is-large {
    stroke-width: 4.5;
}

.ix-mega-art-keyhole {
    fill: var(--ix-accent-active);
}

/* The company's building: its windows, some lit, and its door. */
.ix-mega-art-win rect {
    fill: var(--border-lifted);
}

.ix-mega-art-win rect.is-lit {
    fill: var(--ix-accent-hover);
}

.ix-mega-art-door {
    fill: var(--ix-accent);
}

/* The headset, in the support panel's promo and on its tile. */
.ix-mega-art-band {
    fill: none;
    stroke: var(--ix-accent);
    stroke-width: 6;
    stroke-linecap: round;
}

.ix-mega-art-cup {
    fill: var(--ix-accent);
}

.ix-mega-art-cup.is-shade {
    fill: var(--ix-accent-active);
}

.ix-mega-art-boom {
    fill: none;
    stroke: var(--ix-accent);
    stroke-width: 3.5;
    stroke-linecap: round;
}

/* The tiles' drawings (includes/mega/art.tpl): gauges, a pin in the EU's
   stars, the status bars, a shield, a control panel, a calendar's leaf and a
   coin. */
.ix-mega-art-track {
    fill: none;
    stroke: var(--border-lifted);
    stroke-width: 6;
    stroke-linecap: round;
}

.ix-mega-art-reach {
    fill: none;
    stroke: var(--ix-accent);
    stroke-width: 6;
    stroke-linecap: round;
}

.ix-mega-art-gauge {
    fill: none;
    stroke: var(--success);
    stroke-width: 6;
    stroke-linecap: round;
}

.ix-mega-art-needle {
    stroke: var(--text-lifted);
    stroke-width: 2;
    stroke-linecap: round;
}

.ix-mega-art-hub {
    fill: var(--text-lifted);
}

.ix-mega-art-eu {
    fill: var(--yellow-300);
}

.ix-mega-art-pin {
    fill: var(--ix-accent);
}

.ix-mega-art-hole {
    fill: var(--bg);
}

.ix-mega-art-bar {
    fill: var(--success);
    opacity: 0.5;
}

.ix-mega-art-pulse {
    fill: none;
    stroke: var(--success);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-mega-art-shade {
    fill: var(--ix-accent-active);
}

.ix-mega-art-shackle {
    fill: none;
    stroke: var(--ix-accent-contrast);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.ix-mega-art-body {
    fill: var(--ix-accent-contrast);
}

.ix-mega-art-cal {
    fill: var(--bg-accented);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-mega-art-cal-band {
    fill: var(--ix-accent);
}

.ix-mega-art-hook {
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.ix-mega-art-big {
    fill: var(--text-lifted);
    font-size: 13px;
    font-weight: 800;
    text-anchor: middle;
}

.ix-mega-art-return {
    fill: none;
    stroke: var(--ix-accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-mega-art-coin {
    fill: var(--ix-accent);
}

.ix-mega-art-coin-text {
    fill: var(--ix-accent-contrast);
    font-size: 11px;
    font-weight: 800;
    text-anchor: middle;
}

/* ---- Inside a panel: headings, links, searches ------------------------ */

.ix-mega-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ix-mega-heading i {
    color: var(--ix-accent);
}

/* The way to a whole list — every price, certificate or document — at the
   heading's end rather than under the tiles, where it would make the column
   taller than the links beside it. */
.ix-mega-heading-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: var(--ix-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ix-mega-heading-link:hover,
.ix-mega-heading-link:focus {
    color: var(--ix-accent-hover);
    text-decoration: none;
}

.ix-mega-heading .ix-mega-heading-link i {
    color: inherit;
}

.ix-mega-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Centred for the same reason as the dropdown items above. */
.ix-mega-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: var(--rounding-sm);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition);
}

.ix-mega-list a:hover,
.ix-mega-list a:focus {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
}

/* A search at the top of a column, under its heading: the domains page's
   field, at the size of the panel's buttons rather than a hero's. Across the
   whole panel, as it was first, the field ran some 800px for a name of a
   dozen letters and read as a page's form dropped into a menu.

   8px above it, the padding the links keep round their chips, so it starts
   level with the first chip in the column beside it. */
.ix-mega-search {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ix-mega-search .ix-domain-field {
    flex: 1 1 auto;
}

/* On the page's own colour, as the cards beside it are. The field's usual
   colour (--bg-lifted) is the panel's own, which left only an outline. */
.ix-mega-search .ix-domain-input {
    height: var(--ix-control-lg);
    background-color: var(--bg);
    font-size: 0.9375rem;
}

.ix-mega-search .ix-btn {
    min-width: 96px;
    white-space: nowrap;
}

/* The legal pages: links, but a list of titles, each with its icon, rather
   than rows with chips and lines. */
.ix-mega-docs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-mega-docs a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 8px;
    border-radius: var(--rounding-sm);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-mega-docs a:hover,
.ix-mega-docs a:focus {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
}

.ix-mega-docs i {
    flex: none;
    width: 16px;
    color: var(--ix-accent);
    text-align: center;
}

/* ---- Inside a panel: tiles -------------------------------------------- */

/* The arrow a tile leads on with; it fills with the accent under the
   pointer, as the links' chips do. */
.ix-mega-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background-color: var(--bg-accented);
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

/* Offers: the popular extensions and certificates, two to a row. They share
   the column's height, so whatever their number they end where the links
   beside them do; 8px above, the padding the links keep round their chips,
   so the first starts level with the first chip. */
.ix-mega-offers {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

.ix-mega-offer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition), border-color var(--ix-transition);
}

.ix-mega-offer:hover,
.ix-mega-offer:focus {
    border-color: var(--ix-accent-border);
    background-color: var(--ix-accent-soft);
    color: var(--text);
    text-decoration: none;
}

.ix-mega-offer.is-featured {
    border-color: var(--ix-accent);
}

.ix-mega-offer .ix-mega-go {
    margin-left: auto;
}

.ix-mega-offer:hover .ix-mega-go,
.ix-mega-offer:focus .ix-mega-go,
.ix-mega-tile:hover .ix-mega-go,
.ix-mega-tile:focus .ix-mega-go {
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

/* The popular one's flag, astride the tile's top edge, as on the homepage's
   extension tiles. */
.ix-mega-flag {
    position: absolute;
    top: -9px;
    left: 12px;
    padding: 1px 8px;
    border-radius: 999px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ix-mega-offer-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* A certificate's name: as long as two lines, sometimes three. 13px, a step
   under the links' titles (user's choice, 2026-11-24), on the theme's scale
   rather than 13.2px. It saves no line: beside the shield and the arrow the
   text has about 74px, one word to a line at 13px or 14px alike. The same
   size as the price under it; the weight tells them apart. */
.ix-mega-offer-name {
    color: var(--text-lifted);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.25;
}

/* An extension's, short: large, as on the homepage's tiles. */
.ix-mega-offer-name.is-large {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ix-mega-offer-price {
    color: var(--text-lifted);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.ix-mega-offer-term {
    color: var(--text-muted);
    font-weight: 400;
}

/* The Domains panel's extensions: three to a row, two rows, under the
   search. Two to a row ran three rows, and the column ended some 36px below
   the links beside it; at three the rows share the column's height and end
   level with the last link's chip. A tile 139px wide has no room for the
   arrow beside "135.00 LEI/an", so each is the homepage's extension tile —
   the name, a little larger, over the price — with a drawing behind in the
   bottom corner instead (user's choice, 2026-11-23). 18px above, so the
   popular one's flag clears the field. */
.ix-mega-offers.is-tlds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.ix-mega-offers.is-tlds .ix-mega-offer-name.is-large {
    font-size: 1.375rem;
}

/* Above the globe, which runs under the end of the longest price. */
.ix-mega-offers.is-tlds .ix-mega-offer-text {
    position: relative;
    z-index: 1;
}

/* A pale Europe globe, cut by the tile's corner, as the Hosting and Company
   panels' tiles carry their drawings; it brightens under the pointer as
   theirs do. Clipped by its own box, not the tile's: the popular one's flag
   stands above the tile's top edge, and overflow on the tile would cut it
   off. */
.ix-mega-offer-globe {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    color: var(--bg-accented);
    pointer-events: none;
    transition: color var(--ix-transition);
}

.ix-mega-offer-globe i {
    position: absolute;
    right: -14px;
    bottom: -16px;
    font-size: 3.2rem;
    line-height: 1;
}

.ix-mega-offer:hover .ix-mega-offer-globe,
.ix-mega-offer:focus .ix-mega-offer-globe {
    color: var(--ix-accent-border);
}

/* A certificate's shield: the SSL page's (includes/store/ssl-art.tpl) drawn
   small and filled, as the panel's own illustration draws it — the accent,
   its right half in shade, the type and the stars in white. The level's
   stars are lit, the others dim; Wildcard has its asterisk instead. */
.ix-mega-shield {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 55px;
    transition: transform var(--ix-transition);
}

.ix-mega-offer:hover .ix-mega-shield,
.ix-mega-offer:focus .ix-mega-shield {
    transform: scale(1.06);
}

.ix-mega-shield svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ix-mega-shield-body {
    fill: var(--ix-accent);
}

.ix-mega-shield-shade {
    fill: var(--ix-accent-active);
}

.ix-mega-shield-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: -6px;
    color: var(--ix-accent-contrast);
}

.ix-mega-shield-label {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ix-mega-shield-glyph {
    font-size: 0.9375rem;
    line-height: 1;
}

.ix-mega-shield-stars {
    display: flex;
    gap: 2px;
    color: var(--ix-accent-hover);
    font-size: 0.4375rem;
}

.ix-mega-shield-stars .is-on {
    color: var(--ix-accent-contrast);
}

/* Tiles: the Hosting panel's points (three to a row, .is-points) and the
   Company panel's figures (two to a row, a drawing large and faint in each
   one's corner, behind the text). They share the column's height as the
   offers do. */
.ix-mega-tiles {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

/* The Company panel's figures end level with the legal pages' last row,
   which keeps no padding under it. */
.ix-mega-tiles.is-figures {
    margin-bottom: 0;
}

/* The Hosting panel's six points, three to a row in two rows: two to a row
   ran three rows of short, wide tiles whose drawings, cut by the corner,
   read as fragments (user's choice, 2026-11-24). */
.ix-mega-tiles.is-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* The figure and the arrow on the first line, what the figure means under
   it, the drawing in the corner behind both. */
.ix-mega-tile {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    column-gap: 12px;
    row-gap: 8px;
    height: 100%;
    padding: 14px 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition), border-color var(--ix-transition);
}

a.ix-mega-tile:hover,
a.ix-mega-tile:focus {
    border-color: var(--ix-accent-border);
    background-color: var(--ix-accent-soft);
    color: var(--text);
    text-decoration: none;
}

.ix-mega-tile-art {
    position: absolute;
    right: -10px;
    bottom: -14px;
    width: 80px;
    height: 80px;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity var(--ix-transition);
}

.ix-mega-tiles.is-figures .ix-mega-tile-art {
    right: -14px;
    bottom: -16px;
    width: 112px;
    height: 112px;
    opacity: 0.3;
}

a.ix-mega-tile:hover .ix-mega-tile-art,
a.ix-mega-tile:focus .ix-mega-tile-art {
    opacity: 0.5;
}

.ix-mega-tile-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* A point of the homepage's: its drawing whole, small and in its colours,
   over its title, both centred — not the figures' grid, whose empty rows
   and their gaps made the points taller than the plans beside them. From the
   top, so the drawings of a row stay level whether a title takes one line
   or two. The padding and the drawing's 38px are what fit two rows in the
   plans' height: any more and the tiles end below the last plan. */
.ix-mega-tile.is-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 11px 12px;
    text-align: center;
}

.ix-mega-tile.is-point .ix-mega-tile-art {
    position: static;
    flex: none;
    width: 38px;
    height: 38px;
    opacity: 1;
}

/* Each part placed on its own cell: the label spans both columns, and left
   to auto-placement it pushed the arrow down to a third row. */

/* A point of the homepage's: its title, under the drawing. */
.ix-mega-tile-title {
    position: relative;
    display: block;
    color: var(--text-lifted);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.ix-mega-tile-value {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-width: 0;
    color: var(--text-lifted);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.ix-mega-tile .ix-mega-go {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.ix-mega-tile-label {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

/* The support departments, one under another: each a row with the person on
   the left and beside it the name, what it is for and the way on. Side by
   side, three cards had to stretch to the height of the search and the links
   together and stood mostly empty; a row also gives a department's line the
   column's width, on one line where a card wrapped it to two or three. The
   rows share the column's height, so the last ends level with the last
   link's chip, 8px inside its row — the 8px below the list. */
.ix-mega-depts {
    flex: 1 1 auto;
    display: grid;
    grid-auto-rows: 1fr;
    row-gap: 10px;
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

.ix-mega-dept {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    justify-items: start;
    column-gap: 16px;
    row-gap: 3px;
    height: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition), border-color var(--ix-transition);
}

.ix-mega-dept:hover,
.ix-mega-dept:focus {
    border-color: var(--ix-accent-border);
    background-color: var(--ix-accent-soft);
    color: var(--text);
    text-decoration: none;
}

/* The ticket page's person, smaller, its disc ringed thinly as the panel's
   chips are rather than with the page's double ring. 60px, chosen between
   44px, which left the rows' height empty, and 76px. Each part placed on its
   own cell, as the tiles' are. */
.ix-mega-dept .ix-avatar {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 0 2px var(--ix-accent-border);
}

.ix-mega-dept-name {
    grid-column: 2;
    grid-row: 1;
    color: var(--text-lifted);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
}

.ix-mega-dept-text {
    grid-column: 2;
    grid-row: 2;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.ix-mega-dept-go {
    grid-column: 2;
    grid-row: 3;
    margin-top: 3px;
    color: var(--ix-accent);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ====================================================================== */
/* Header actions                                                         */
/* ====================================================================== */

.ix-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* The mini status and the admin's way back, wherever the full menu shows
   (992px up) and the topbar that holds them below that is hidden
   (header.tpl). The status at mockup 12.2's thinner size: a shorter pulse,
   the 30 bars 2px wide and as tall as the uptime's small figures, so it
   sits in the bar as one more quiet item. Scoped to .ix-actions: the
   admin's link is also an .ix-icon-btn, whose display and colour come later
   in this file and would win. */
.ix-actions .ix-actions-status,
.ix-actions .ix-actions-admin {
    display: none;
}

.ix-actions .ix-return-admin {
    color: var(--warning);
}

@media (min-width: 992px) {
    .ix-actions .ix-actions-status {
        display: flex;
        margin-right: 8px;
    }

    /* It ends the row, so its glyph is pulled out to where the account's
       switch below it ends — where a client's initials end when there is
       no admin link (.ix-subnav-account). Measured: the 38px button leaves
       the glyph 6.5px short of that line. */
    .ix-actions .ix-actions-admin {
        display: inline-flex;
        margin-right: -6.5px;
    }
}

.ix-actions-status .ix-topbar-status {
    gap: 6px;
    margin-left: 0;
    padding-inline: 6px;
    font-size: 0.71875rem;
}

.ix-actions-status .ix-topbar-status-pulse {
    width: 30px;
    height: 8px;
}

.ix-actions-status .ix-topbar-status-days {
    gap: 1px;
    height: 8px;
}

.ix-actions-status .ix-topbar-status-day {
    width: 2px;
    height: 8px;
}

/* Below 1200px the menu, the status and the actions no longer fit on the
   row at full size: measured with a client's bell and initials and an
   admin's link, the menu ran up to 121px into the actions at 992px. The
   status gives way first, in order of what it says least: the 30 days below
   1200px, the uptime figure below 1100px, where the menu's items also
   narrow by a pixel a side. The pulse stays, in the colour of the state
   now, and the tooltip still says the state and the figure in words. */
@media (max-width: 1199.98px) {
    .ix-actions-status .ix-topbar-status-days {
        display: none;
    }
}

@media (max-width: 1099.98px) {
    .ix-actions-status .ix-topbar-status-uptime {
        display: none;
    }

    .ix-navbar .ix-nav .ix-nav-link {
        padding-inline: 8px;
    }
}

/* The account menu is reduced to its avatar: the label is rendered for screen
   readers only (iconOnly in navbar.tpl) and the caret comes off too, so the
   icon carries the whole affordance. */
.ix-nav-secondary {
    gap: 0;
}

.ix-nav-secondary .ix-nav-caret {
    display: none;
}

.ix-nav-secondary .ix-nav-link {
    gap: 0;
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 999px;
}

.ix-nav-secondary .ix-nav-icon {
    font-size: 1.375rem;
    color: var(--text);
}

.ix-nav-secondary .ix-nav-item.is-open > .ix-nav-link,
.ix-nav-secondary .ix-nav-link:hover {
    background-color: var(--ix-accent-soft);
}

.ix-nav-secondary .ix-nav-item.is-open .ix-nav-icon,
.ix-nav-secondary .ix-nav-link:hover .ix-nav-icon {
    color: var(--ix-accent);
}

/* A signed-in client's initials in place of the generic figure (navbar.tpl):
   the sidebar's avatar (.ix-side-avatar) at the size of the button it sits
   in, a step smaller so the button's hover ground still shows round it. It
   fills in with the accent when the menu is pointed at or open. */
.ix-nav-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ix-accent-border);
    border-radius: 50%;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-nav-secondary .ix-nav-item.is-open .ix-nav-avatar,
.ix-nav-secondary .ix-nav-link:hover .ix-nav-avatar {
    border-color: var(--ix-accent);
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: 0;
    border-radius: var(--rounding-sm);
    color: var(--text);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-icon-btn:hover,
.ix-icon-btn:focus {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    text-decoration: none;
}

.ix-badge-count {
    position: absolute;
    top: 3px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

/* ---- Status page's entry in the drawer (navbar-drawer.tpl) ----------- */

/* Its entry in the drawer: the state on a chip at the end of the line. */
.ix-status-pill {
    margin-left: auto;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.ix-status-pill.is-error {
    background-color: var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
}

.ix-status-pill.is-warning {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

.ix-status-pill.is-info {
    background-color: var(--ix-tint-info-bg);
    color: var(--ix-tint-info-fg);
}

/* ---- Language switch ------------------------------------------------- */

/* Copied, with .ix-copyright below, into ix-maintenance.css: the maintenance
   page does not load this file. Change both. */

/* Spacing comes from a margin, not flex gap: Safari only gained flex gap in
   14.1, and without it the segments would butt together. Equal min-width keeps
   the two halves balanced — "RO" and "EN" do not set the same width, which
   leaves the pill visibly lopsided otherwise. */
.ix-lang {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 3px;
    background-color: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.ix-lang-option {
    display: block;
    min-width: 2.375rem;
    padding: 3px 9px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-lang-option + .ix-lang-option {
    margin-left: 2px;
}

.ix-lang-option:hover,
.ix-lang-option:focus {
    color: var(--text);
    text-decoration: none;
}

.ix-lang-option.is-active {
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-lang-option.is-active:hover,
.ix-lang-option.is-active:focus {
    color: var(--ix-accent-contrast);
}

/* ---- Notifications --------------------------------------------------- */

.ix-notify-toggle {
    font-size: 1.0625rem;
}

.ix-notify.is-open > .ix-notify-toggle {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

/* No gap between button and panel: the open state is driven by mouseleave on
   .ix-notify, so a gap would close it as the pointer crossed into the list. */
.ix-notify-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1040;
    width: 360px;
    max-width: calc(100vw - 24px);
    background-color: var(--ix-mega-bg);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    box-shadow: var(--ix-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--ix-transition), transform var(--ix-transition), visibility var(--ix-transition);
}

.ix-notify.is-open > .ix-notify-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ix-notify-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* The bell's own badge, at rest in the heading: the accent on its soft
   ground, not the solid dot that has to stand out on the navbar. */
.ix-notify-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.6875rem;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
}

.ix-notify-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ix-notify-item + .ix-notify-item {
    border-top: 1px solid var(--border-muted);
}

/* Severity reads as on the alert cards on the page (.ix-alert): the icon on
   a chip of the severity's tint and, for what needs acting on — danger and
   warning — the row lit faintly from its left edge; no bar down one edge.
   The chip and the chevron sit in the middle of the row's height: held to
   the first line of a message that wraps, they read as sitting high in
   the row. */
.ix-notify-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 16px;
    color: var(--text);
    font-size: 0.8125rem;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color var(--ix-transition);
}

.ix-notify-item a:hover,
.ix-notify-item a:focus {
    background-color: var(--bg-accented);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-notify-danger {
    --ix-notify-accent: var(--ix-tint-error-fg);
    --ix-notify-tint: var(--ix-tint-error-bg);
}

.ix-notify-warning {
    --ix-notify-accent: var(--ix-tint-warning-fg);
    --ix-notify-tint: var(--ix-tint-warning-bg);
}

.ix-notify-info {
    --ix-notify-accent: var(--ix-tint-info-fg);
    --ix-notify-tint: var(--ix-tint-info-bg);
}

.ix-notify-success {
    --ix-notify-accent: var(--ix-tint-success-fg);
    --ix-notify-tint: var(--ix-tint-success-bg);
}

/* An image over the colour, so the hover's colour still shows through. */
.ix-notify-danger a,
.ix-notify-warning a {
    background-image: radial-gradient(ellipse at left, var(--ix-notify-tint), transparent 70%);
}

.ix-notify-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--rounding-sm);
    background-color: var(--ix-notify-tint);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ix-notify-accent) 22%, transparent);
    color: var(--ix-notify-accent);
    font-size: 0.8125rem;
}

.ix-notify-message {
    flex: 1 1 auto;
    min-width: 0;
    text-wrap: pretty;
}

.ix-notify-go {
    flex: none;
    color: var(--text-muted);
    font-size: 0.625rem;
    transition: color var(--ix-transition), transform var(--ix-transition);
}

.ix-notify-item a:hover .ix-notify-go,
.ix-notify-item a:focus .ix-notify-go {
    color: var(--text-lifted);
    transform: translateX(2px);
}

.ix-notify-empty {
    padding: 22px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ====================================================================== */
/* Badges                                                                 */
/* ====================================================================== */

.ix-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    background-color: var(--bg-accented);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.6;
}

.ix-badge-accent {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

/* ====================================================================== */
/* Fields, by the size of the button beside them                          */
/* ====================================================================== */

/* A field's height belongs to the field, not to the page it sits on: these
   two classes are what a row uses to match its button, so no page has to
   write a number. The corners follow the size, as they do on the buttons —
   the large shape is the theme's 10px, the compact one 6px, which is what
   .form-control already carries. */
.ix-input-xl {
    height: var(--ix-field-height);
    border-radius: var(--rounding-md);
}

.ix-input-lg {
    height: var(--ix-control-lg);
    border-radius: var(--rounding-md);
}

/* A select does not take the height above from the class alone: Bootstrap
   sizes one through select.form-control:not([size]):not([multiple]), which
   outweighs a single class whatever the order of the files, and with this
   install's field padding that rule comes to 50px. So the two sizes are
   repeated here at that weight — this is why a select beside a button used
   to stand a few pixels taller than it. */
select.ix-input-xl:not([size]):not([multiple]) {
    height: var(--ix-field-height);
}

select.ix-input-lg:not([size]):not([multiple]) {
    height: var(--ix-control-lg);
}

/* ====================================================================== */
/* Page heading (includes/client/page-head.tpl)                           */
/* ====================================================================== */

/* Written for the client area, and here rather than in ix-client.css
   because the ticket form uses it too and is open to a visitor who is not
   signed in. */

.ix-client-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.ix-client-head-text {
    min-width: 0;
}

.ix-client-head-title {
    margin: 0;
    color: var(--text-lifted);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.ix-client-head-lead {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.ix-client-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ====================================================================== */
/* Panels                                                                 */
/* ====================================================================== */

/* The theme's card, with its head and body. Written for the client area,
   and here rather than in ix-client.css because the knowledgebase, the
   network status page and the ticket form use it too and are open to a
   visitor who is not signed in. What is left there is what only the
   dashboard does with it. */

/* The theme's card; its margin and corners, the stat strip's, are set with
   the body padding below, at the weight Nexus's card rules need. */
.ix-panel {
    /* The tint of the icon beside the title, from the colour WHMCS gives the
       panel; the list below maps WHMCS's names onto the theme's tints. */
    --ix-panel-tone-bg: var(--ix-accent-soft);
    --ix-panel-tone-fg: var(--ix-accent);

    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.875rem;
}

.ix-panel-tone-red,
.ix-panel-tone-pomegranate,
.ix-panel-tone-alizarin {
    --ix-panel-tone-bg: var(--ix-tint-error-bg);
    --ix-panel-tone-fg: var(--ix-tint-error-fg);
}

.ix-panel-tone-gold,
.ix-panel-tone-orange,
.ix-panel-tone-sun-flower,
.ix-panel-tone-carrot {
    --ix-panel-tone-bg: var(--ix-tint-warning-bg);
    --ix-panel-tone-fg: var(--ix-tint-warning-fg);
}

.ix-panel-tone-blue,
.ix-panel-tone-midnight-blue,
.ix-panel-tone-peter-river,
.ix-panel-tone-belize-hole,
.ix-panel-tone-turquoise,
.ix-panel-tone-green-sea {
    --ix-panel-tone-bg: var(--ix-tint-info-bg);
    --ix-panel-tone-fg: var(--ix-tint-info-fg);
}

.ix-panel-tone-green,
.ix-panel-tone-emerald,
.ix-panel-tone-nephritis,
.ix-panel-tone-lime {
    --ix-panel-tone-bg: var(--ix-tint-success-bg);
    --ix-panel-tone-fg: var(--ix-tint-success-fg);
}

.ix-panel-tone-amethyst,
.ix-panel-tone-wisteria,
.ix-panel-tone-purple,
.ix-panel-tone-pink {
    --ix-panel-tone-bg: var(--ix-tint-notice-bg);
    --ix-panel-tone-fg: var(--ix-tint-notice-fg);
}

.ix-panel-tone-asbestos,
.ix-panel-tone-concrete,
.ix-panel-tone-silver,
.ix-panel-tone-gray,
.ix-panel-tone-grey {
    --ix-panel-tone-bg: var(--ix-tint-neutral-bg);
    --ix-panel-tone-fg: var(--ix-tint-neutral-fg);
}

.ix-panel-title {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
    min-width: 0;
    margin: 0;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.ix-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: var(--rounding-sm);
    background-color: var(--ix-panel-tone-bg);
    color: var(--ix-panel-tone-fg);
    font-size: 0.875rem;
}

.ix-panel-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ix-panel-badge {
    background-color: var(--ix-panel-tone-bg);
    color: var(--ix-panel-tone-fg);
    border-radius: 999px;
    font-size: 0.6875rem;
}

.ix-panel-action {
    flex: none;
    white-space: nowrap;
}

/* A section of a page: the card with a head and a body, as the service, the
   domain, the ticket and the knowledgebase pages use it.

   These panels used to borrow the store's .ix-service-card, which lifts
   itself 2px on hover. A transform makes an element the containing block
   for anything fixed inside it, so the markdown editor's full-screen sheet
   — fixed, and inside the reply panel — shrank to the panel the moment the
   pointer crossed it, and flickered as it lost and regained the hover. The
   padding and the corner that rule was lending are written out here, under
   a name of this theme's own. */
.ix-panel-section {
    padding: var(--ix-section-pad);
    margin-bottom: 20px;
    border-radius: var(--rounding-lg);
}

.ix-panel-section .ix-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

/* The body stands 16px under the head's rule, as the dashboard's panels
   and the server module's cards have it: the space above a card's content
   is the card's, so whatever opens the body — a sentence, a form, a list,
   a message — carries none of its own. It used to be 4px, sized for the
   ruled lists whose rows bring their own padding; everything else then made
   up the rest with a margin or a padding of its own, each a different
   number, and a sentence that made up nothing sat 5px under the rule. A
   ruled list now starts its first row flush instead (.ix-fact,
   .ix-kb-article and the like, :first-child), as it already drops that
   row's rule. */
.ix-panel-section .ix-panel-body {
    padding: 16px 18px 14px;
}

/* On a phone the card's own padding, on top of the head's and the body's
   18px, takes too much of the width — the editor and the fields squeezed
   into the middle. There the card gives up
   its own: the head's and the body's 18px are the inset, as the sidebar's
   cards have it on a phone, and the rule under the head meets the card's
   edges as theirs does. */
@media (max-width: 575.98px) {
    .ix-panel-section {
        padding: 0;
    }
}

/* ====================================================================== */
/* Empty state                                                            */
/* ====================================================================== */

/* What a list shows instead of nothing: an icon, a line, a way on. Written
   for the client area's lists, and here rather than in ix-client.css
   because the announcements page uses it too and is open to everyone. */
.ix-client-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 44px 24px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    text-align: center;
}

.ix-client-empty-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 1.25rem;
}

.ix-client-empty h2 {
    margin: 0;
    color: var(--text-lifted);
    font-size: 1.125rem;
    font-weight: 700;
}

/* A measure, so a sentence of some 140 characters does not run as one
   centred strip across a wide card, but a wide one: at 44ch the empty
   states' sentences broke into three or four short lines in the middle of
   a card over 1000px wide. Balanced, so the two lines they take now are of
   about the same length rather than a long one and a word or two. */
.ix-client-empty p {
    max-width: 64ch;
    margin: 0 0 14px;
    text-wrap: balance;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ====================================================================== */
/* Promo shield (.ix-promo-mark)                                          */
/* ====================================================================== */

/* What stands in for MarketConnect's SSL and SiteLock images, drawn for a
   white page: the shield of the store's illustrations
   (includes/store/ssl-art.tpl) — outlined on its glow, the padlock or the
   scan's magnifier on it, the check on its corner. The upsell card
   (store/promos/upsell.tpl), the sidebar's promos (includes/sidebar.tpl)
   and the cart's promos (ix_cart/configureproduct.tpl) put it on a tile of
   their own. Here rather than in ix-client.css because the cart is open to
   everyone. In the upsell card's green, which the cart's promos recolour
   in the accent (ix-store.css). Sized in cqi of the tile, so a smaller
   tile holds the same picture. */
.ix-promo-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    container-type: inline-size;
}

.ix-promo-mark-glow {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, var(--ix-tint-success-bg), transparent 70%);
}

.ix-promo-mark-shield {
    position: relative;
    display: grid;
    place-items: center;
    width: 56cqi;
    height: 66cqi;
}

/* The shape's line stays one pixel wide whatever the tile's size. */
.ix-promo-mark-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--bg-accented);
    stroke: var(--ix-tint-success-fg);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

/* A little above the middle, where the shield is widest. */
.ix-promo-mark-icon {
    position: relative;
    margin-top: -4cqi;
    color: var(--ix-tint-success-fg);
    font-size: 22cqi;
}

/* The check's ring is the tile's own surface, which cuts it out of the
   shield. */
.ix-promo-mark-check {
    position: absolute;
    right: 2%;
    bottom: 14%;
    display: grid;
    place-items: center;
    width: 22cqi;
    height: 22cqi;
    border: 2.4cqi solid var(--bg-accented);
    border-radius: 50%;
    background-color: var(--ix-tint-success-fg);
    color: var(--bg-accented);
    font-size: 10cqi;
}

/* ====================================================================== */
/* Form fields                                                            */
/* ====================================================================== */

/* A label over its control, the theme's plainest form row. It lives here
   rather than in ix-client.css because the ticket form is open to a visitor
   who is not signed in, and that stylesheet is not. */
.ix-field + .ix-field {
    margin-top: 16px;
}

.ix-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ix-field-row .form-control {
    flex: 1 1 220px;
    min-width: 0;
}

/* The file row: WHMCS's own markup — a .custom-file whose label is the box
   and whose ::after is the browse half, with the real input laid invisibly
   over both — and beside it the button that adds another row. Bootstrap
   runs the three together as one bar with square inner corners and sizes
   them from its own padding; here the field and the button are two controls
   of the theme's own size, with a gap between them. */
.ix-ticket-attach .input-group {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ix-ticket-attach .input-group > .custom-file,
.ix-ticket-attach .custom-file-input,
.ix-ticket-attach .input-group > .custom-file .custom-file-label {
    height: var(--ix-control-lg);
    margin: 0;
}

.ix-ticket-attach .input-group > .custom-file .custom-file-label {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: var(--rounding-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.2;
}

/* The browse half, inside the field's own corner. */
.ix-ticket-attach .input-group > .custom-file .custom-file-label::after {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    border-radius: 0 var(--rounding-md) var(--rounding-md) 0;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
}

/* A file chosen is the field's own text, not a placeholder. */
.ix-ticket-attach .custom-file-input:focus ~ .custom-file-label {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

.ix-ticket-attach .input-group-append {
    margin: 0;
}

.ix-ticket-attach .input-group-append .ix-btn {
    height: var(--ix-control-lg);
    border-color: var(--border-lifted);
    border-radius: var(--rounding-md);
}

.ix-ticket-attach-note {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* On a phone the field and the button cannot share a line: the field was
   left a few letters wide beside them. The field takes the line, the button
   the one under it, both full width. */
@media (max-width: 575.98px) {
    .ix-ticket-attach .input-group {
        flex-wrap: wrap;
    }

    .ix-ticket-attach .input-group > .custom-file,
    .ix-ticket-attach .input-group-append {
        flex: 1 1 100%;
        width: 100%;
    }

    .ix-ticket-attach .input-group-append .ix-btn {
        width: 100%;
    }
}

/* A word under a field, explaining what it wants. */
.ix-field-note {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ---- Opening a ticket, second step ------------------------------------ */

/* Name and address, for a visitor who is not signed in, and the three short
   answers — department, service, urgency — each keeping a readable width
   and dropping to a row of its own when there is none. */
.ix-ticket-who-fields,
.ix-ticket-meta-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.ix-ticket-meta-fields,
.ix-ticket-form .ix-field + .ix-field,
.ix-ticket-form .ix-field + .ix-ticket-meta-fields {
    margin-top: 16px;
}

/* Inside one of those rows the fields are side by side, not stacked: the
   rule above would push the second one down by a row's worth of space. The
   grid's own gap is what separates them. */
.ix-ticket-who-fields .ix-field + .ix-field,
.ix-ticket-meta-fields .ix-field + .ix-field,
.ix-contact-pair .ix-field + .ix-field {
    margin-top: 0;
}

/* A grid is not a field, so the rule above cannot reach the field that
   follows one. */
.ix-ticket-meta-fields + .ix-field,
.ix-ticket-who-fields + .ix-field {
    margin-top: 16px;
}

.ix-ticket-form #customFieldsContainer .ix-field,
.ix-ticket-form #autoAnswerSuggestions {
    margin-top: 16px;
}

/* The captcha, where a form is wide. The sign-in card is narrow enough for
   the block to fill it; on the ticket form and the contact page it would
   run the width of the card, leaving a field of six characters as wide as
   the message box. It keeps to what it holds instead, and the field to the
   length of a code. */
.ix-ticket-captcha,
.ix-ticket-recaptcha,
.ix-contact-captcha {
    width: fit-content;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 0;
}

.ix-ticket-captcha .ix-auth-captcha-input,
.ix-contact-captcha .ix-auth-captcha-input {
    flex: none;
    width: 160px;
}

/* The consent above the send button is the sign-up page's checkbox, set off
   from what comes before it as the captcha is. Nothing below: the send row
   keeps its own margin. Held by the form because .ix-auth-check's own rule
   comes later in this file. */
.ix-ticket-form .ix-auth-check {
    margin: 20px 0 0;
}

/* ---- The knowledgebase's answers, offered while writing ---------------- */

/* Dropped into the form by the page's own script, so this reads as an aside
   inside the card: a tinted block, not another card. */
.ix-kb-suggest {
    margin-top: 20px;
    padding: 16px 18px;
    background-color: var(--bg-accented);
    border-radius: var(--rounding-md);
}

.ix-kb-suggest-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 700;
}

.ix-kb-suggest-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--rounding-sm);
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
    font-size: 0.8125rem;
}

.ix-kb-suggest-lead {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.ix-kb-suggest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ix-kb-suggest-item {
    display: block;
    padding: 12px 14px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--ix-transition);
}

.ix-kb-suggest-item:hover,
.ix-kb-suggest-item:focus {
    border-color: var(--ix-accent-border);
    color: var(--text);
    text-decoration: none;
}

.ix-kb-suggest-item-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-kb-suggest-item:hover .ix-kb-suggest-item-title {
    color: var(--ix-accent);
}

.ix-kb-suggest-item-title i {
    color: var(--ix-accent);
    font-size: 0.8125rem;
}

/* The article's opening words, kept to two lines: it is a hint at the
   answer, not the answer. */
.ix-kb-suggest-item-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ====================================================================== */
/* A ticket (viewticket.tpl)                                              */
/* ====================================================================== */

/* Here rather than in ix-client.css, which only a signed-in visitor loads:
   a ticket is also opened from the link in its e-mail without signing in,
   and answered from there — the thread, its files and ratings, the reply's
   buttons and the sidebar's Ticket Information all have to be dressed for
   that visitor too. */

/* The exchange, a message to a card, in the order WHMCS hands them over. */
.ix-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.ix-ticket-msg {
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
}

/* Support's answers are marked apart from the client's own messages, on the
   side the reading eye meets first. */
.ix-ticket-msg.staff {
    border-left: 3px solid var(--ix-accent);
}

.ix-ticket-msg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.ix-ticket-msg-avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-accented);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-ticket-msg.staff .ix-ticket-msg-avatar {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

.ix-ticket-msg-who {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.ix-ticket-msg-name {
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-ticket-msg-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* WHMCS's own badge for what the writer is — client, staff, an invited
   user — dressed as the theme's chips. */
.ix-ticket-msg-role {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin: 0;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--ix-tint-neutral-bg);
    color: var(--ix-tint-neutral-fg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

.ix-ticket-msg.staff .ix-ticket-msg-role {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

/* The message itself, as WHMCS renders it from markdown. */
.ix-ticket-msg-body {
    padding: 16px 18px;
    color: var(--text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.ix-ticket-msg-body > :first-child {
    margin-top: 0;
}

.ix-ticket-msg-body > :last-child {
    margin-bottom: 0;
}

.ix-ticket-msg-body a {
    color: var(--ix-accent);
}

.ix-ticket-msg-body pre,
.ix-ticket-msg-body code {
    background-color: var(--bg-muted);
    border-radius: var(--rounding-sm);
}

.ix-ticket-msg-body pre {
    padding: 12px 14px;
    overflow-x: auto;
}

.ix-ticket-msg-body blockquote {
    margin: 12px 0;
    padding-left: 14px;
    border-left: 2px solid var(--border-lifted);
    color: var(--text-muted);
}

/* Where the message came from, kept because WHMCS shows it, but as a
   footnote rather than as part of what was written. */
.ix-ticket-msg-ip {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ---- What was sent with a message ------------------------------------- */

.ix-ticket-files {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
}

.ix-ticket-files-title {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
}

.ix-ticket-files-title i {
    margin-right: 6px;
}

.ix-ticket-file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-ticket-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 12px;
    background-color: var(--bg-accented);
    border: 1px solid var(--border);
    border-radius: var(--rounding-sm);
    color: var(--text);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: border-color var(--ix-transition), color var(--ix-transition);
}

a.ix-ticket-file:hover,
a.ix-ticket-file:focus {
    border-color: var(--ix-accent-border);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-ticket-file-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ix-ticket-file-go {
    color: var(--text-muted);
    font-size: 0.75rem;
}

a.ix-ticket-file:hover .ix-ticket-file-go {
    color: var(--ix-accent);
}

/* A file the server no longer holds: shown, since WHMCS shows it, but not
   offered. */
.ix-ticket-file.is-gone {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ---- Rating an answer -------------------------------------------------- */

.ix-ticket-rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
}

.ix-ticket-rate-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* The stars are the parent's, and so is the way they light: the row is
   written right to left (direction: rtl on .rating), which is what lets a
   hover reach every star before the one under the pointer through a sibling
   selector. Only the float, the size and the colours are the theme's — the
   glyph and that cascade are left alone. */
.ix-ticket-rate .rating,
.ix-ticket-rate .rating-done {
    float: none;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1;
}

.ix-ticket-rate .rating span.star::before,
.ix-ticket-rate .rating-done span.star::before {
    color: var(--border-lifted);
}

.ix-ticket-rate .rating span.star:hover::before,
.ix-ticket-rate .rating span.star:hover ~ span.star::before,
.ix-ticket-rate .rating-done span.star.active::before {
    color: var(--ix-tint-warning-fg);
}

.ix-ticket-rate .rating-done .rated {
    margin-right: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ---- Replying ---------------------------------------------------------- */

/* Name and address side by side, for the visitor who was not signed in. */
.ix-ticket-who-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ix-ticket-send {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* On a phone the two share the line between them, as the sidebar card's
   Reply and Close do, rather than sit at the left of an empty row. */
@media (max-width: 575.98px) {
    .ix-ticket-send .ix-btn {
        flex: 1 1 0;
    }
}

/* ---- The ticket page's sidebar ---------------------------------------- */

/* WHMCS writes these panels itself, so only its classes are there to style:
   a row per fact, each "<span class="title">Label</span><br>value", then
   the two actions in a Bootstrap row of two columns, and the CC form as an
   input group. The rows are not links, so they take neither the hover nor
   the pointer the sidebar's menu items take. No padding of their own: the
   sidebar's rows already have it — 9px 0 flat, and on a phone 12px 16px
   inside the card — and one set here, at a class's greater weight, took
   the card's side space away and left the facts against its edge. */
.ix-side .list-group-item.ticket-details-children,
.ix-side .list-group-item.ticket-details-children:hover,
.ix-side .list-group-item.ticket-details-children:focus {
    color: var(--text-lifted);
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: default;
}

/* The line break belongs to the markup, not to the reading: the label is
   made a block, which puts the value under it without an empty line. */
.ix-side .ticket-details-children br {
    display: none;
}

.ix-side .ticket-details-children .title {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Who opened it, and the ticket's state: both arrive as .label. */
.ix-side .ticket-details-children .label {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin: 0 4px 0 0;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--ix-tint-neutral-bg);
    color: var(--ix-tint-neutral-fg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

/* A ticket's state carries the colour set for it in the admin area, written
   as an inline background this cannot outrank and should not: the colour is
   the state. Only the ink on it is the theme's to set, and it is white, as
   WHMCS's own pages have it. The lightest of those colours — the grey of a
   closed ticket — is the one to look at if a state ever reads faintly. The
   same chip appears on the dashboard's tickets panel and in the ticket
   page's sidebar. */
.ix-side .ticket-details-children .label[style],
.ix-home-panels .label[style] {
    color: var(--ix-ink-on-custom);
    font-weight: 700;
}

/* The two actions. WHMCS puts them in a Bootstrap row of two columns, whose
   negative margins and gutters are replaced here by a flex pair: one width
   for both, and one height however long a label runs — "Close ticket" is
   two words in English and three in Romanian. */
.ix-side-body .row:has(> .col-button-left) {
    display: flex;
    gap: 10px;
    margin: 16px 0 0;
}

.ix-side-body .row:has(> .col-button-left) > [class*="col-"] {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}

.ix-side-body .row:has(> .col-button-left) .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: var(--ix-control-md);
    margin-top: 0;
    padding: 6px 10px;
    border-radius: var(--rounding-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

/* Replying is what this panel is for, so it carries the accent, as the
   account panel's own action does; WHMCS marks it .btn-success. */
.ix-side-body .row:has(> .col-button-left) .btn-success {
    background-color: var(--ix-accent);
    border-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-side-body .row:has(> .col-button-left) .btn-success:hover,
.ix-side-body .row:has(> .col-button-left) .btn-success:focus {
    background-color: var(--ix-accent-hover);
    border-color: var(--ix-accent-hover);
    color: var(--ix-accent-contrast);
}

/* Closing is quiet until it is reached for, and then it is the colour of
   what it does. */
.ix-side-body .row:has(> .col-button-left) .btn-danger {
    background-color: transparent;
    border-color: var(--border-accented);
    color: var(--text);
}

.ix-side-body .row:has(> .col-button-left) .btn-danger:hover,
.ix-side-body .row:has(> .col-button-left) .btn-danger:focus {
    background-color: var(--ix-tint-error-bg);
    border-color: var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
}

/* Adding someone to the copies: the field and its button as a pair of the
   theme's compact controls, not Bootstrap's joined bar. */
#containerAddCcEmail {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

#containerAddCcEmail .input-group-append {
    margin: 0;
}

#inputAddCcEmail {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--ix-control-md);
    border-radius: var(--rounding-sm);
    font-size: 0.875rem;
}

.ix-side-body #btnAddCcEmail {
    flex: none;
    height: var(--ix-control-md);
    margin-top: 0;
    padding: 0 14px;
    border-radius: var(--rounding-sm);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* An address already on the list, with the way to take it off at the end. */
.ix-side .ticket-cc-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.ix-side .ticket-cc-email .email {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ix-side .ticket-cc-email .pull-right {
    margin-left: auto;
}

/* ====================================================================== */
/* Announcements (announcements.tpl)                                      */
/* ====================================================================== */

.ix-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* The gap is the list's. The article keeps the parent's .announcement class
   and with it Nexus's .announcements .announcement { margin-bottom: 4rem },
   which would add 64px to the 16px between two cards; the selector here is
   written at that weight to take it back. */
.ix-news .ix-news-item {
    margin-bottom: 0;
}

.ix-news-item {
    padding: 22px 24px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
}

/* The date, and — for an admin reading the site — the way to edit it. */
.ix-news-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.ix-news-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-news-date i {
    color: var(--ix-accent);
}

/* The newest announcement of all (mockup D, 2026-11-04): the card in the
   accent's edge and glow, as the ticket page's knowledgebase card is, its
   title larger, and marked. The mark sits at the end of the row, before an
   admin's edit button where there is one. */
.ix-news-item.is-latest {
    border-color: var(--ix-accent-border);
    background:
        radial-gradient(ellipse at top left, var(--ix-accent-soft), transparent 60%),
        var(--bg-lifted);
}

.ix-news-item.is-latest .ix-news-title {
    font-size: 1.5rem;
}

.ix-news-latest {
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-left: auto;
    padding: 0 10px;
    border-radius: 999px;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ix-news-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.ix-news-title a {
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-news-title a:hover,
.ix-news-title a:focus {
    color: var(--ix-accent);
    text-decoration: none;
}

/* The announcement's own text, which an admin writes as HTML. */
.ix-prose {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.7;
}

.ix-prose > :first-child {
    margin-top: 0;
}

.ix-prose > :last-child {
    margin-bottom: 0;
}

/* A link inside the text is the accent, and stays it: the theme marks a
   link by colour, and Bootstrap's underline on hover is the one thing that
   reads as a different kind of link. */
.ix-prose a,
.ix-prose a:hover,
.ix-prose a:focus {
    text-decoration: none;
}

.ix-prose a {
    color: var(--ix-accent);
}

.ix-prose a:hover,
.ix-prose a:focus {
    color: var(--ix-accent-hover);
}

.ix-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rounding-md);
}

/* ---- One announcement (viewannouncement.tpl) -------------------------- */

/* The date and the time, under the title, as the heading's own line. */
.ix-news-when {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ix-news-when + .ix-news-when {
    margin-left: 16px;
}

.ix-news-when i {
    color: var(--ix-accent);
}

.ix-prose-card {
    position: relative;
    padding: 26px 28px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
}

/* In a card of its own the text is the page, so it is set a little larger
   than in a list. It fills the card: the card is already bounded by the
   page's column, and a 72ch measure left a third of it empty on a desktop
   (user decision, 2026-11-15). An announcement and a knowledgebase article
   are the same thing here: HTML an admin writes. */
.ix-prose-card .ix-prose {
    margin-bottom: 0;
    font-size: 1rem;
}

.ix-prose-card .ix-prose h1,
.ix-prose-card .ix-prose h2,
.ix-prose-card .ix-prose h3 {
    margin: 26px 0 10px;
    color: var(--text-lifted);
    font-weight: 700;
    line-height: 1.3;
}

.ix-prose-card .ix-prose h1 { font-size: 1.375rem; }
.ix-prose-card .ix-prose h2 { font-size: 1.1875rem; }
.ix-prose-card .ix-prose h3 { font-size: 1.0625rem; }

.ix-prose-card .ix-prose ul,
.ix-prose-card .ix-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.ix-prose-card .ix-prose li + li {
    margin-top: 4px;
}

.ix-prose-card .ix-prose blockquote {
    margin: 16px 0;
    padding-left: 16px;
    border-left: 2px solid var(--border-lifted);
    color: var(--text-muted);
}

.ix-prose-card .ix-prose pre {
    padding: 14px 16px;
    overflow-x: auto;
    background-color: var(--bg-muted);
    border-radius: var(--rounding-sm);
}

.ix-prose-card .ix-prose table {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.ix-prose-card .ix-prose th,
.ix-prose-card .ix-prose td {
    padding: 8px 10px;
    border: 1px solid var(--border);
    text-align: left;
}

/* Twitter's and Facebook's own blocks, which arrive with their own sizes:
   given room of their own rather than dressed. */
.ix-news-share {
    float: right;
    margin: 0 0 12px 16px;
}

.ix-news-social {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.ix-news-comments {
    margin-top: 16px;
}

.ix-news-foot {
    margin-top: 20px;
}

.ix-news-pages {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* The pages as the client area's lists draw them (ix-client.css, under
   .ix-client-table): separate outlined buttons, the page you are on in the
   accent — rather than Bootstrap's joined bar, which only had its colours
   changed. Written here because this page and the network status page are
   open to a visitor, who is never sent ix-client.css.

   The weights are Nexus's: .pagination > li > a { color: #444 } outranked
   the theme's bare .page-link and left the live pages darker than the
   disabled ones, and body .pagination .page-item:first-child .page-link
   rounds the two ends of the bar, hence the !important on the corners. */
.ix-news-pages .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.ix-news-pages .pagination .page-link {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-left: 0;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-sm) !important;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
}

.ix-news-pages .pagination .page-link:hover {
    background-color: var(--bg-accented);
    border-color: var(--border-accented);
    color: var(--text-lifted);
}

.ix-news-pages .pagination .page-item.active .page-link {
    background-color: var(--ix-accent);
    border-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

/* The ground and the ink restated: the disabled rules of Bootstrap and of
   ix-bootstrap.css weigh the same as the button's own above. */
.ix-news-pages .pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: var(--text);
    opacity: var(--disabled-opacity);
}

/* ====================================================================== */
/* Knowledgebase (knowledgebase.tpl, -cat, -article)                      */
/* ====================================================================== */

/* The search, on the same shell the homepage and the ticket form use. */
.ix-kb-search {
    margin-bottom: 20px;
}

/* ---- The categories --------------------------------------------------- */

.ix-kb-cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

/* .card-body is on the link because the parent's script needs it; nothing
   of Bootstrap's is wanted with it. */
.ix-kb-cat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--ix-transition);
}

.ix-kb-cat:hover,
.ix-kb-cat:focus {
    border-color: var(--ix-accent-border);
    color: var(--text);
    text-decoration: none;
}

.ix-kb-cat-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

.ix-kb-cat-text {
    min-width: 0;
}

.ix-kb-cat-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-lifted);
    font-weight: 700;
}

.ix-kb-cat:hover .ix-kb-cat-name {
    color: var(--ix-accent);
}

/* How many articles are in it. */
.ix-kb-count {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--ix-tint-info-bg);
    color: var(--ix-tint-info-fg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

.ix-kb-cat-desc {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- The articles ----------------------------------------------------- */

.ix-kb-articles {
    display: flex;
    flex-direction: column;
}

/* The row is a column of text and, for an admin, the way to edit it: two
   places side by side, so neither runs under the other however long the
   button's label is in the language being read. */
.ix-kb-article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
}

.ix-kb-article-body {
    flex: 1;
    min-width: 0;
}

.ix-kb-article:first-child {
    padding-top: 0;
    border-top: 0;
}

.ix-kb-article:hover,
.ix-kb-article:focus {
    color: var(--text);
    text-decoration: none;
}

.ix-kb-article-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-kb-article:hover .ix-kb-article-title {
    color: var(--ix-accent);
}

.ix-kb-article-title i {
    color: var(--ix-accent);
    font-size: 0.8125rem;
}

.ix-kb-article-text {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* In place of the rows, where the first would start. */
.ix-kb-none {
    margin: 0;
    padding: 0 0 12px;
    color: var(--text-muted);
}

/* The edit button an admin sees, at the end of the row it belongs to. */
.ix-kb-edit {
    flex: none;
    margin-left: auto;
}

/* ---- One article ------------------------------------------------------ */

/* The heading (mockup C, 2026-11-04): under the trail, the title with its
   row to itself and printing — an admin's edit too — as square icon
   buttons at its end, kept to the top of a title that wraps. */
.ix-kb-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.ix-kb-head-title {
    min-width: 0;
    margin: 0;
    color: var(--text-lifted);
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.ix-kb-head-actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.ix-kb-head-actions .ix-btn {
    width: var(--ix-control-md);
    padding: 0;
}

/* The tags after the text, as chips: what they are, not links, since no
   page of the theme lists a tag's articles. */
.ix-kb-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.ix-kb-tags-label {
    color: var(--text-lifted);
    font-size: 0.875rem;
    font-weight: 600;
}

.ix-kb-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-kb-tags-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border: 1px solid var(--border-lifted);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-kb-tags-list i {
    color: var(--ix-accent);
    font-size: 0.6875rem;
}

.ix-kb-tags + .ix-kb-vote {
    margin-top: 18px;
}

/* Was it any use: the question and the two answers, at the article's foot. */
.ix-kb-vote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.ix-kb-vote-question {
    color: var(--text-lifted);
    font-weight: 600;
}

/* How many found it useful, under the question, once anyone has. */
.ix-kb-vote-useful {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
}

.ix-kb-vote-actions {
    display: flex;
    gap: 8px;
}

/* Printing an article: the page's own furniture goes, the words stay. */
@media print {
    .ix-kb-vote,
    .ix-kb-list,
    .ix-kb-head-actions,
    .ix-kb-tags {
        display: none;
    }

    .ix-prose-card {
        padding: 0;
        border: 0;
    }
}

/* ====================================================================== */
/* A ticket has been opened (supportticketsubmit-confirm.tpl)             */
/* ====================================================================== */

/* Here rather than in ix-client.css: a ticket can be opened without an
   account, and a visitor who is not signed in never loads that stylesheet —
   which is what left this page's text in a narrow column and its tick in
   the accent instead of green. */

.ix-ticket-done-icon {
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
}

/* The empty state holds its line to 44 characters, which suits a sentence
   written for it; this text is WHMCS's own and runs long, so it takes the
   card's width instead of being squeezed into a column. */
.ix-ticket-done p {
    max-width: none;
    line-height: 1.7;
}

/* The number is what the client writes down or quotes back, so it is the
   largest thing on the page and a link to the ticket itself. */
.ix-ticket-done-number {
    margin: 2px 0 10px;
    color: var(--ix-accent);
    font-size: 1.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.ix-ticket-done-number:hover,
.ix-ticket-done-number:focus {
    color: var(--ix-accent-hover);
    text-decoration: none;
}

.ix-ticket-done-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ====================================================================== */
/* The survey after a ticket is closed (ticketfeedback.tpl)               */
/* ====================================================================== */

/* Here rather than in ix-client.css for the same reason as the ticket's own
   styles: the survey is reached from a link in an e-mail, often by a visitor
   who has not signed in. The thank-you states borrow the ticket-opened
   page's success tick and its wider text. */

/* Still open is not an error, only too early: amber, not red. */
.ix-feedback-wait {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

.ix-feedback-intro {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* The ticket's four figures, as many to a row as fit. */
.ix-feedback-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 0 0 20px;
}

.ix-feedback-fact {
    padding: 14px 16px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
}

.ix-feedback-fact dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
}

/* One colour for all four: the marks tell the figures apart, not their
   state. A fixed width keeps the four labels starting on one line, since the
   glyphs are not equally wide. */
.ix-feedback-fact dt i {
    flex: none;
    width: 14px;
    color: var(--ix-accent);
    text-align: center;
}

.ix-feedback-fact dd {
    margin: 0;
    color: var(--text-lifted);
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ---- The 1–10 scale ---------------------------------------------------- */

.ix-feedback-rate {
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

/* Bootstrap's legend is a heading-sized block; this one is a question over
   the scale, worded as the field labels under it are. */
.ix-feedback-rate legend {
    width: auto;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.9375rem;
}

/* Ten equal cells in a row; on a phone two rows of five, where a cell of a
   tenth of the width would be too narrow for a thumb. */
.ix-feedback-scale {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
}

@media (max-width: 575.98px) {
    .ix-feedback-scale {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.ix-feedback-point {
    position: relative;
    margin: 0;
    cursor: pointer;
}

/* The radio stays in the page, so the keyboard and a screen reader still
   meet a radio group, but is laid invisibly over its number, which is what
   is drawn. */
.ix-feedback-point input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ix-feedback-point span {
    display: grid;
    place-items: center;
    height: var(--ix-control-lg);
    background-color: var(--bg-accented);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    color: var(--text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: background-color var(--ix-transition), border-color var(--ix-transition), color var(--ix-transition);
}

.ix-feedback-point:hover span {
    border-color: var(--ix-accent-border);
    color: var(--text-lifted);
}

.ix-feedback-point input:checked + span {
    background-color: var(--ix-accent);
    border-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-feedback-point input:focus-visible + span {
    box-shadow: var(--ix-ring);
}

.ix-feedback-ends {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ====================================================================== */
/* An invitation to an account (user-invite-accept.tpl)                   */
/* ====================================================================== */

.ix-invite {
    max-width: 960px;
    margin: 0 auto;
    padding-block: 8px 32px;
}

.ix-invite-head {
    margin-bottom: 24px;
    text-align: center;
}

.ix-invite-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: var(--rounding-lg);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 1.25rem;
}

.ix-invite-title {
    margin: 0 0 10px;
    color: var(--text-lifted);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
}

.ix-invite-text {
    max-width: 62ch;
    margin: 0 auto 6px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ix-invite-text strong {
    color: var(--text);
}

/* Already signed in: one button, centred under the invitation. */
.ix-invite-accept {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

/* The two ways in, one at a time: a pair of tabs over one pane, inside the
   card the sign-in page uses. */
.ix-invite-ways {
    margin-top: 4px;
}

/* The radios are the state and are never seen; the labels beside them are
   the tabs, and the pane below is chosen from :checked. Without CSS both
   panes show, which is the parent's own behaviour. */
.ix-invite-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* The way that is not being used is offered under the form, as the sign-in
   page offers registration — a line of text, not a second control above the
   fields. The label ticks the radio that swaps the panes, so it reads as a
   link and needs no script. */
.ix-invite-swap {
    display: inline;
    margin: 0;
    color: var(--ix-accent);
    font-weight: 600;
    cursor: pointer;
}

.ix-invite-swap:hover {
    color: var(--ix-accent-hover);
}

.ix-invite-radio:focus-visible ~ .ix-invite-panes .ix-invite-swap {
    outline: 2px solid var(--ix-accent);
    outline-offset: 2px;
    border-radius: var(--rounding-sm);
}

.ix-invite-pane {
    display: none;
}

#ixInviteSignIn:checked ~ .ix-invite-panes .ix-invite-pane.is-signin,
#ixInviteRegister:checked ~ .ix-invite-panes .ix-invite-pane.is-register {
    display: block;
}

.ix-invite-card-text {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* The field shell is the sign-in page's; the spacing between groups is set
   again because these stand in a pane rather than straight in the card. */
.ix-invite-auth .ix-auth-group + .ix-auth-group {
    margin-top: 14px;
}

.ix-invite-auth .ix-auth-check {
    margin: 16px 0 14px;
}

.ix-invite-auth .ix-auth-submit {
    margin-top: 18px;
}

.ix-invite-accept {
    margin-top: 6px;
}

/* The invitation is gone: the state page's shell, as a ban uses it. */
.ix-invite-gone .ix-notfound-text {
    margin-bottom: 22px;
}

/* ====================================================================== */
/* Contact (contact.tpl)                                                  */
/* ====================================================================== */

/* The form and the other ways on, side by side; the ways drop under the
   form where there is no room for both. */
.ix-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 20px;
    align-items: start;
}

@media (max-width: 991.98px) {
    .ix-contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ix-contact-form-card {
    margin-bottom: 0;
}

.ix-contact-form .ix-field + .ix-field,
.ix-contact-pair + .ix-field {
    margin-top: 16px;
}

/* Name and address on one row: two short answers that belong together. */
.ix-contact-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.ix-contact-form textarea.form-control {
    min-height: 150px;
    padding: 12px 14px;
    border-radius: var(--rounding-md);
    line-height: 1.6;
    resize: vertical;
}

.ix-contact-captcha {
    margin-top: 18px;
}

.ix-contact-form .ix-btn {
    margin-top: 20px;
}

/* ---- The other ways on ------------------------------------------------ */

.ix-contact-ways-title {
    margin: 0 0 12px;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 700;
}

.ix-contact-way {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--ix-transition);
}

.ix-contact-way:hover,
.ix-contact-way:focus {
    border-color: var(--ix-accent-border);
    color: var(--text);
    text-decoration: none;
}

.ix-contact-way-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.9375rem;
}

.ix-contact-way-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ix-contact-way-text strong {
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-contact-way:hover .ix-contact-way-text strong {
    color: var(--ix-accent);
}

.ix-contact-way-text span {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ix-contact-done-icon {
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
}

/* ====================================================================== */
/* Downloads (downloads.tpl, -cat, -denied)                               */
/* ====================================================================== */

/* The rows are the knowledgebase's; these are what a file has and an
   article does not. */

/* The icon WHMCS writes for the file's type, as it comes. */
.ix-dl-item .ix-kb-article-title img {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

/* A file only clients may fetch. */
.ix-dl-locked {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

/* The padlock belongs to the chip, not to the row's title: the rule that
   paints a title's icons in the accent reaches inside here too, so the
   chip's own colour is asked for again. */
.ix-dl-locked i {
    color: inherit;
    font-size: 0.625rem;
}

/* How big it is: what a visitor wants to know before the click. */
.ix-dl-size {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.ix-dl-go {
    flex: none;
    align-self: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--ix-transition);
}

.ix-dl-item:hover .ix-dl-go,
.ix-dl-item:focus .ix-dl-go {
    color: var(--ix-accent);
}

/* ---- A file the visitor may not have ----------------------------------- */

.ix-dl-denied-icon {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

/* What they would need: the product or the addon, named plainly. */
.ix-dl-denied-what {
    max-width: none;
    margin: 0 0 14px;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 600;
}

.ix-dl-denied form {
    margin: 0;
}

/* ====================================================================== */
/* Network status (serverstatus.tpl)                                      */
/* ====================================================================== */

/* A flat tinted line: the knowledge base's thanks for a vote and the cart's
   note under a domain's contact fields. The network status page used it
   too until its messages became the theme's page message (.ix-alert). */
.ix-status-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-tint-neutral-bg);
    color: var(--ix-tint-neutral-fg);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* The icon takes the text's line height, so it stands in the middle of the
   first line and stays there when the text wraps. Font Awesome sets its
   icons at line-height 1; top-aligned beside a line one and a half times as
   tall, with 2px to make up for it, the icon sat about 2px above the middle
   of the words. */
.ix-status-note i {
    line-height: inherit;
}

.ix-status-note a {
    color: inherit;
    text-decoration: underline;
}

.ix-status-note.is-ok {
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
}

.ix-status-note.is-info {
    background-color: var(--ix-tint-info-bg);
    color: var(--ix-tint-info-fg);
}

.ix-status-note.is-warn {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

/* ---- The servers ------------------------------------------------------ */

/* Seven columns do not fit a phone and none of them can be dropped, so the
   table scrolls sideways inside the card, as the client area's lists do. */
.ix-status-scroll {
    overflow-x: auto;
}

.ix-status-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ix-status-table th,
.ix-status-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

/* The header is the table's first row: flush under the card's own space. */
.ix-status-table thead th {
    padding-top: 0;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.ix-status-table tbody tr:hover td {
    background-color: var(--bg-accented);
}

.ix-status-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-status-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--rounding-sm);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.8125rem;
}

/* What the checks write back is the server's own HTML, so the cell sets
   only how it sits. */
.ix-status-cell {
    color: var(--text);
    font-size: 0.875rem;
}

.ix-status-cell .fa-spinner {
    color: var(--text-muted);
}

.ix-status-link {
    color: var(--ix-accent);
}

.ix-status-link:hover,
.ix-status-link:focus {
    color: var(--ix-accent-hover);
    text-decoration: none;
}

/* ---- An issue --------------------------------------------------------- */

.ix-status-issue .ix-panel-head {
    align-items: flex-start;
}

.ix-status-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ix-status-chip {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: var(--ix-tint-neutral-bg);
    color: var(--ix-tint-neutral-fg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

.ix-status-chip.is-critical {
    background-color: var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
}

.ix-status-chip.is-high {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

.ix-status-chip.is-low {
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
}

.ix-status-chip.is-normal {
    background-color: var(--ix-tint-info-bg);
    color: var(--ix-tint-info-fg);
}

.ix-status-affecting {
    margin: 0 0 8px;
    color: var(--text);
}

.ix-status-when {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-status-when i {
    margin-right: 6px;
    color: var(--ix-accent);
}

/* What the admin wrote about it. */
.ix-status-text {
    color: var(--text);
    line-height: 1.7;
}

.ix-status-text > :first-child {
    margin-top: 0;
}

.ix-status-text > :last-child {
    margin-bottom: 0;
}

.ix-status-text a,
.ix-status-text a:hover,
.ix-status-text a:focus {
    color: var(--ix-accent);
    text-decoration: none;
}

.ix-status-none {
    margin: 0;
    color: var(--text-muted);
}

/* ---- The page drawn from the ix_status addon ($ixStatus) -------------- */

/* A state's tint, from the addon's codes. Everything that shows a state —
   the big circle, a service's mark, a square, the legend — reads these two,
   so the four colours are set here once. */
.ix-sys-tone-operational {
    --ix-sys-bg: var(--ix-tint-success-bg);
    --ix-sys-fg: var(--ix-tint-success-fg);
}

.ix-sys-tone-maintenance {
    --ix-sys-bg: var(--ix-tint-info-bg);
    --ix-sys-fg: var(--ix-tint-info-fg);
}

.ix-sys-tone-degraded {
    --ix-sys-bg: var(--ix-tint-warning-bg);
    --ix-sys-fg: var(--ix-tint-warning-fg);
}

.ix-sys-tone-outage {
    --ix-sys-bg: var(--ix-tint-error-bg);
    --ix-sys-fg: var(--ix-tint-error-fg);
}

/* The hero band (serverstatus.tpl): the store pages' hero, with the state
   now as its title and the glow behind it in the state's tint rather than
   the accent — the band says how things are before a word of it is read.
   The title stays the heading colour, as on every other hero (user
   decision, 2026-11-04): the glow, the illustration and the services' marks
   already carry the state's colour, and on the page's largest letters it
   read as too much. The label keeps the accent. The tone class on the band
   (.ix-sys-tone-*) sets the tint. */
.ix-sys-hero .ix-hero-glow {
    background: radial-gradient(ellipse at center, var(--ix-sys-bg), transparent 68%);
}

.ix-sys-hero .ix-store-hero-copy .ix-hero-text {
    margin-bottom: 14px;
}

.ix-sys-hero-updated {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Under the band, the cards in the page's own gutter. */
.ix-sys-body {
    padding-bottom: 60px;
}

/* The services, the whole width: two columns where there is room, the rule
   between rows drawn above each row but the first, so neither column ends
   on one. */
.ix-sys-services .ix-sys-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin: 0;
}

.ix-sys-services .ix-sys-list li,
.ix-sys-services .ix-sys-list li:last-child {
    border-top: 1px solid var(--border-muted);
    border-bottom: 0;
}

/* The first row of each column, flush under the card's own space. */
.ix-sys-services .ix-sys-list li:nth-child(-n + 2) {
    padding-top: 0;
    border-top: 0;
}

.ix-sys-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ix-sys-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-muted);
}

.ix-sys-list li:last-child {
    border-bottom: 0;
}

.ix-sys-mark {
    flex: none;
    width: 18px;
    color: var(--ix-sys-fg);
    text-align: center;
}

.ix-sys-name {
    flex: 1;
    min-width: 0;
    color: var(--text);
}

.ix-sys-state {
    color: var(--ix-sys-fg);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

/* The history: a row of 30 squares a service, today on the right. */
.ix-sys-sub {
    color: var(--text-muted);
    font-weight: 400;
}

.ix-sys-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-sys-legend li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ix-sys-swatch {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background-color: var(--ix-sys-fg);
}

.ix-sys-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-muted);
}

.ix-sys-row:first-child {
    padding-top: 0;
}

.ix-sys-row:last-child {
    border-bottom: 0;
}

.ix-sys-row-head,
.ix-sys-row-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ix-sys-row-head {
    align-items: baseline;
    margin-bottom: 9px;
}

.ix-sys-row-name {
    min-width: 0;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-sys-row-clean,
.ix-sys-row-foot {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.ix-sys-row-clean {
    white-space: nowrap;
}

.ix-sys-row-foot {
    margin-top: 6px;
}

/* The service's uptime after its count: lifted, so the figure is found
   first, and in even-width digits, so the rows' figures line up. */
.ix-sys-row-uptime {
    color: var(--text-lifted);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* On a phone the count beside the name left the name a column one word
   wide: the count may not wrap, and the name, allowed to shrink to nothing,
   ran into it. There the name and the uptime share the first line, the
   figures lined up on the right from row to row, and the count takes the
   whole width under them (mockup b, user decision 2026-11-20). The wrapper
   steps aside (display: contents) so its pieces are placed on the grid one
   by one; the dot between count and uptime has nothing left to join. */
@media (max-width: 575.98px) {
    .ix-sys-row-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 2px;
    }

    .ix-sys-row-clean {
        display: contents;
    }

    .ix-sys-row-sep {
        display: none;
    }

    .ix-sys-row-name {
        grid-column: 1;
        grid-row: 1;
    }

    .ix-sys-row-uptime {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.875rem;
    }

    .ix-sys-row-count {
        grid-column: 1 / -1;
        grid-row: 2;
        white-space: normal;
    }
}

/* As many columns as days in the period (--ix-sys-days, set on the row
   by the template); 60 and 90 squares sit closer, or they would be gaps
   more than squares. */
.ix-sys-bars {
    display: grid;
    grid-template-columns: repeat(var(--ix-sys-days, 30), minmax(0, 1fr));
    gap: 3px;
}

.ix-sys-bars.is-dense {
    gap: 2px;
}

.ix-sys-bars.is-dense .ix-sys-bar::before {
    border-radius: 2px;
}

/* The square's colour is drawn underneath, on ::before, so it can be
   dimmed without dimming the tooltip the square holds. A working day is
   dimmer than one with an incident, so the incidents are what the eye
   finds. */
.ix-sys-bar {
    position: relative;
    height: 28px;
    outline: none;
}

.ix-sys-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background-color: var(--ix-sys-fg);
    opacity: 0.8;
    transition: opacity var(--ix-transition);
}

.ix-sys-bar.ix-sys-tone-operational::before {
    opacity: 0.45;
}

.ix-sys-bar:hover::before,
.ix-sys-bar:focus-visible::before {
    opacity: 1;
}

.ix-sys-bar:focus-visible::before {
    box-shadow: 0 0 0 2px var(--bg-lifted), 0 0 0 4px var(--ix-accent);
}

.ix-sys-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 20;
    display: none;
    width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    transform: translateX(-50%);
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-sm);
    background-color: var(--bg-inverted);
    box-shadow: var(--ix-shadow-md);
    color: var(--text);
    font-size: 0.8125rem;
    line-height: 1.45;
    pointer-events: none;
}

.ix-sys-bar.is-start .ix-sys-tip {
    left: 0;
    transform: none;
}

.ix-sys-bar.is-end .ix-sys-tip {
    right: 0;
    left: auto;
    transform: none;
}

.ix-sys-bar:hover .ix-sys-tip,
.ix-sys-bar:focus .ix-sys-tip {
    display: block;
}

.ix-sys-tip strong,
.ix-sys-tip-state,
.ix-sys-tip-line {
    display: block;
}

.ix-sys-tip strong {
    color: var(--text-lifted);
}

.ix-sys-tip-state {
    color: var(--ix-sys-fg);
    font-weight: 600;
}

.ix-sys-tip-line {
    margin-top: 4px;
}

.ix-sys-tip-line em {
    color: var(--ix-sys-fg);
    font-style: normal;
    font-weight: 600;
}

/* The card's head: the period's buttons — the theme's small buttons, the
   period shown filled — and the switch between the squares and the list,
   which carries the number of incidents in the period. */
.ix-sys-history .ix-panel-head {
    row-gap: 12px;
}

/* The title keeps its one line: where it and the buttons do not fit side by
   side, the buttons go under it, still in a row, rather than the title
   breaking in two beside them. */
.ix-sys-history .ix-panel-title {
    flex: 1 0 auto;
}

/* While js/ix.js fetches the card for another period or the list, the one
   shown dims, so the click is seen to have done something. */
.ix-sys-history.is-loading .ix-panel-body {
    opacity: 0.5;
    transition: opacity var(--ix-transition);
}

.ix-sys-controls,
.ix-sys-periods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ix-sys-controls {
    gap: 10px 14px;
}

.ix-sys-periods {
    gap: 6px;
}

.ix-sys-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: 2px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--ix-tint-neutral-bg);
    color: var(--text-lifted);
    font-size: 0.75rem;
    font-weight: 700;
}

/* The legend under the squares, so the head keeps room for the buttons;
   centred under them, its lines too where it wraps on a phone. */
.ix-sys-legend-foot {
    display: flex;
    justify-content: center;
    padding: 6px 0 4px;
}

.ix-sys-legend-foot .ix-sys-legend {
    justify-content: center;
}

/* The period's incidents, newest first: the type's icon on a chip of its
   tint, the type and the services, the date on the right, the hours and how
   long it lasted under them, then the message. */
.ix-sys-incidents {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-sys-incident {
    display: grid;
    grid-template-columns: var(--ix-chip-md) minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-muted);
}

.ix-sys-incident:first-child {
    padding-top: 0;
}

.ix-sys-incident:last-child {
    border-bottom: 0;
}

.ix-sys-incident-icon {
    display: grid;
    grid-row: 1 / span 3;
    place-items: center;
    width: var(--ix-chip-md);
    height: var(--ix-chip-md);
    border-radius: var(--rounding-md);
    background-color: var(--ix-sys-bg);
    color: var(--ix-sys-fg);
}

.ix-sys-incident-title {
    min-width: 0;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-sys-incident-title > span {
    color: var(--ix-sys-fg);
}

.ix-sys-incident-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-align: right;
    white-space: nowrap;
}

.ix-sys-incident-when,
.ix-sys-incident-text {
    grid-column: 2 / -1;
}

.ix-sys-incident-when {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-sys-incident-when .is-live {
    color: var(--ix-sys-fg);
    font-weight: 600;
}

.ix-sys-incident-text {
    color: var(--text);
}

.ix-sys-empty {
    margin: 0;
    padding: 26px 0;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 767.98px) {
    .ix-sys-services .ix-sys-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ix-sys-services .ix-sys-list li:nth-child(2) {
        padding-top: 9px;
        border-top: 1px solid var(--border-muted);
    }

    /* Rows of 30 squares: 60 days are two rows, 90 three. One row of 90
       would leave each square too thin to see or touch. */
    .ix-sys-bars,
    .ix-sys-bars.is-dense {
        grid-template-columns: repeat(30, minmax(0, 1fr));
        gap: 4px 2px;
    }

    /* Tooltips follow the rows of 30, not the one long row. */
    .ix-sys-bar.is-start .ix-sys-tip,
    .ix-sys-bar.is-end .ix-sys-tip {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .ix-sys-bar.is-row-start .ix-sys-tip {
        left: 0;
        transform: none;
    }

    .ix-sys-bar.is-row-end .ix-sys-tip {
        right: 0;
        left: auto;
        transform: none;
    }

    .ix-sys-incident {
        grid-template-columns: var(--ix-chip-md) minmax(0, 1fr);
    }

    .ix-sys-incident-date {
        grid-column: 2;
        text-align: left;
    }
}

/* On a phone the history card's buttons are laid out rather than left to
   wrap, which broke them into two uneven rows (user decision, 2026-11-03):
   the three periods in three equal columns, the list's switch the whole
   width under them. Wider screens keep them on one line beside the title. */
@media (max-width: 575.98px) {
    .ix-sys-history .ix-panel-head,
    .ix-sys-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .ix-sys-controls {
        gap: 8px;
    }

    .ix-sys-periods {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .ix-sys-periods .ix-btn,
    .ix-sys-controls > .ix-btn {
        width: 100%;
    }

    .ix-sys-periods .ix-btn {
        padding-inline: 0;
    }
}

/* ====================================================================== */
/* Selects                                                                */
/* ====================================================================== */

/* A select with the theme's own chevron. The browser's native arrow sits
   against the field's edge and cannot be moved, so it is removed and a
   chevron drawn in the text colour takes its place, inset from the edge. */
.ix-select {
    position: relative;
    display: block;
}

.ix-select select {
    -webkit-appearance: none;
    appearance: none;
    /* Bootstrap draws its own arrow on .custom-select as a background image,
       which WHMCS's own markup carries; the theme draws one on the wrapper, so
       without this the two show side by side. */
    background-image: none;
    padding-right: 46px;
}

.ix-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* ====================================================================== */
/* Buttons                                                                */
/* ====================================================================== */

/* The button, at the large size; .ix-btn-sm below is the compact one.
   The height is set, not left to the padding: a button sized by its padding
   and a field sized by a height never come out the same, which is what left
   pairs of them a couple of pixels apart. A label that has to run to two
   lines takes .ix-btn-auto. */
.ix-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--ix-control-lg);
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--rounding-md);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--ix-transition), border-color var(--ix-transition),
        color var(--ix-transition), transform var(--ix-transition);
}

.ix-btn:hover,
.ix-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.ix-btn:focus-visible {
    box-shadow: var(--ix-ring);
}

.ix-btn-primary {
    background-color: var(--ix-accent);
    border-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-btn-primary:hover,
.ix-btn-primary:focus {
    background-color: var(--ix-accent-hover);
    border-color: var(--ix-accent-hover);
    color: var(--ix-accent-contrast);
}

.ix-btn-ghost {
    background-color: transparent;
    border-color: var(--border-lifted);
    color: var(--text);
}

.ix-btn-ghost:hover,
.ix-btn-ghost:focus {
    background-color: var(--bg-accented);
    border-color: var(--border-accented);
    color: var(--text-lifted);
}

/* Turning something off is the quiet way out, not an alarm: the frame and
   the words carry the warning, and only under the pointer does it fill. */
.ix-btn-danger {
    border-color: color-mix(in srgb, var(--ix-tint-error-fg) 45%, transparent);
    color: var(--ix-tint-error-fg);
}

.ix-btn-danger:hover,
.ix-btn-danger:focus {
    background-color: var(--ix-tint-error-bg);
    border-color: var(--ix-tint-error-fg);
    color: var(--ix-tint-error-fg);
}

/* The compact button, the same size wherever it is used — a store page's
   quiet action or a row in the client area. */
.ix-btn-sm {
    height: var(--ix-control-md);
    padding: 0 16px;
    border-radius: var(--rounding-sm);
    font-size: 0.8125rem;
}

/* For the few buttons whose label cannot be kept to one line — a price and a
   product name in the same button, say. The size is then a floor, and the
   padding gives the second line room. */
.ix-btn-auto {
    height: auto;
    min-height: var(--ix-control-lg);
    padding: 10px 20px;
}

.ix-btn-sm.ix-btn-auto {
    min-height: var(--ix-control-md);
    padding: 6px 16px;
}

/* ====================================================================== */
/* Off-canvas drawer                                                      */
/* ====================================================================== */

.ix-drawer-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    border-radius: var(--rounding-sm);
    color: var(--text);
    cursor: pointer;
}

.ix-drawer-toggle:hover {
    background-color: var(--ix-accent-soft);
}

.ix-burger,
.ix-burger::before,
.ix-burger::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
    transition: transform var(--ix-transition);
}

.ix-burger {
    position: relative;
}

.ix-burger::before,
.ix-burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.ix-burger::before {
    top: -6px;
}

.ix-burger::after {
    top: 6px;
}

.ix-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background-color: var(--ix-scrim);
    opacity: 0;
    transition: opacity var(--ix-transition);
}

.ix-drawer-backdrop.is-open {
    opacity: 1;
}

.ix-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: min(340px, 86vw);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--bg-lifted);
    border-right: 1px solid var(--border);
    box-shadow: var(--ix-shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--ix-transition);
}

.ix-drawer.is-open {
    transform: translateX(0);
}

/* Author styles beat the UA stylesheet's [hidden]{display:none} regardless of
   specificity, so the display:flex above would leave the drawer on screen
   before any script runs. These restore it. */
.ix-drawer[hidden],
.ix-drawer-backdrop[hidden],
.ix-drawer-panel[hidden] {
    display: none;
}

body.ix-drawer-locked {
    overflow: hidden;
}

.ix-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.ix-drawer-nav {
    padding: 10px 8px 24px;
}

.ix-drawer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    background: none;
    border: 0;
    border-radius: var(--rounding-sm);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ix-drawer-link:hover,
.ix-drawer-link:focus {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-drawer-link > i:first-child {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.ix-drawer-caret {
    margin-left: auto;
    font-size: 0.6875rem;
    opacity: 0.6;
    transition: transform var(--ix-transition);
}

.ix-drawer-expand[aria-expanded="true"] .ix-drawer-caret {
    transform: rotate(180deg);
}

.ix-drawer-panel .ix-drawer-list {
    padding-left: 14px;
    border-left: 1px solid var(--border);
    margin-left: 18px;
}

.ix-drawer-sep {
    height: 1px;
    margin: 10px 12px;
    background-color: var(--border);
    list-style: none;
}

/* The name over each group when a signed-in client's menu comes in two —
   the account's, then the site's (navbar-drawer.tpl). */
.ix-drawer-heading {
    margin: 6px 12px 4px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The language switch's row, first in the drawer below 360px only, where
   the bar has no room for it (Responsive, below): its name drawn as a link
   of the drawer's — icon column, size and weight — and the bar's own
   switch at the row's end, so it is the same control in both places. */
.ix-drawer-lang-block {
    display: none;
}

.ix-drawer-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 4px 12px;
}

.ix-drawer-lang-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
}

.ix-drawer-lang-label i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

/* ====================================================================== */
/* Markdown guide (markdown-guide.tpl, in footer.tpl's #modalAjax)         */
/* ====================================================================== */

/* Two columns need more than Bootstrap's 500px dialog. The dialog is the
   theme's shared one, sized by nothing in the guide's request, so it is
   widened by what it holds, and only then. */
.modal-dialog:has(.ix-md-guide) {
    max-width: 760px;
}

/* A rule to a row: its name across the top, what is written on the left and
   what it gives on the right, ruled off from the next. */
.ix-md-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.ix-md-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.ix-md-title {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ix-md-code,
.ix-md-block {
    margin: 0;
    padding: 12px 14px;
    background-color: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* What it gives: the page's own text, as a reply shows it. */
.ix-md-result {
    min-width: 0;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.ix-md-result > :first-child {
    margin-top: 0;
}

.ix-md-result > :last-child {
    margin-bottom: 0;
}

.ix-md-result p,
.ix-md-result ul,
.ix-md-result ol {
    margin: 0 0 8px;
}

.ix-md-result ul,
.ix-md-result ol {
    padding-left: 20px;
}

/* The four header sizes, as a reply's headings step down. Paragraphs, not
   headings, so the dialog's outline keeps to its own title. */
.ix-md-h1,
.ix-md-h2,
.ix-md-h3,
.ix-md-h4 {
    color: var(--text-lifted);
    font-weight: 700;
    line-height: 1.25;
}

.ix-md-h1 {
    font-size: 1.5rem;
}

.ix-md-h2 {
    font-size: 1.25rem;
}

.ix-md-h3 {
    font-size: 1.0625rem;
}

.ix-md-h4 {
    font-size: 0.9375rem;
}

.ix-md-link {
    color: var(--ix-accent);
    text-decoration: underline;
}

.ix-md-quote {
    margin: 0;
    padding: 4px 0 4px 14px;
    border-left: 3px solid var(--ix-accent-border);
    color: var(--text-muted);
}

.ix-md-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ix-md-table th,
.ix-md-table td {
    padding: 6px 10px;
    border: 1px solid var(--border);
    text-align: left;
}

.ix-md-table th {
    background-color: var(--bg-muted);
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-md-result code {
    padding: 2px 6px;
    border-radius: var(--rounding-sm);
    background-color: var(--bg-muted);
    color: var(--text-lifted);
    font-size: 0.8125rem;
}

.ix-md-note {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-style: italic;
}

@media (max-width: 575.98px) {
    .ix-md-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ====================================================================== */
/* Breadcrumb (header.tpl, includes/breadcrumb.tpl)                       */
/* ====================================================================== */

/* At the top of the page's own column, just above its title: where the page
   sits, read with the heading rather than as a second menu. It was a band
   across the screen under the navbar, far from the title, then a bare line
   of small text that read as a stray label. Now a pill in the theme's own
   dress — the lifted ground, the fine border and the round ends its chips
   and badges have — opening on an icon chip as the menus' items do. */
/* Raised by 10px into the page's top padding, which it shares with the
   sidebar: the pill is taller than a line of text, so from where the column
   starts its words sat lower than the sidebar's first heading and it read as
   further from the navbar. The sidebar is not moved. */
.ix-crumbs {
    display: flex;
    margin: -10px 0 18px;
    font-size: 0.8125rem;
}

/* One line however long the trail: the pill is never wider than the column,
   the first crumb keeps its width, and the rest give way and end in an
   ellipsis on a narrow screen rather than wrap into a block. */
.ix-crumbs .breadcrumb {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 14px 4px 4px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.ix-crumbs .breadcrumb-item {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    color: var(--text-muted);
    white-space: nowrap;
}

.ix-crumbs .breadcrumb-item:first-child {
    flex: none;
}

.ix-crumbs .breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--ix-transition);
}

.ix-crumbs-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The first crumb's icon, on the accent chip the menus' items carry, a size
   down to sit inside the pill. */
.ix-crumbs-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.6875rem;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

/* The chevron between crumbs, drawn as the theme's selects draw theirs —
   two borders of a small box, turned — rather than Bootstrap's slash. */
.ix-crumbs .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.ix-crumbs .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin: 0 12px 0 10px;
    padding: 0;
    border-top: 1.5px solid var(--text-muted);
    border-right: 1.5px solid var(--text-muted);
    opacity: 0.6;
    transform: rotate(45deg);
}

/* The way back is quiet until pointed at: muted like the rest of the line,
   the accent on hover and focus, the chip filling in with it. */
.ix-crumbs .breadcrumb-item a:hover,
.ix-crumbs .breadcrumb-item a:focus-visible {
    color: var(--ix-accent);
}

.ix-crumbs .breadcrumb-item a:hover .ix-crumbs-icon,
.ix-crumbs .breadcrumb-item a:focus-visible .ix-crumbs-icon {
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

/* Where the reader is: the page's own name, brighter and a weight up. */
.ix-crumbs .breadcrumb-item.active {
    color: var(--text-lifted);
    font-weight: 600;
}

/* ====================================================================== */
/* Notices window (includes/notices.tpl, includes/verifyemail.tpl)        */
/* ====================================================================== */

/* The services' state and the e-mail reminder, in one window floating in
   the bottom right corner (mockup W1, user decision 2026-11-04) rather
   than as cards under the navbar: a bar that folds the list, then the
   notices one under the other, a rule between, each with its close; kept
   compact (mockups E3 and F2, 2026-11-04). Under the drawer and its
   backdrop, over the page and its sticky header. Written hidden; js/ix.js
   shows it. */
.ix-notices {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1035;
    width: 400px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-lg);
    background-color: var(--bg-lifted);
    box-shadow: var(--ix-shadow-lg);
}

/* While the cookie consent card asks, at the foot of the window, this one
   waits: the addon marks the page's root while its card is up (README,
   "Cookie consent"). Without the addon there is no mark, and no wait. */
html[data-ixcookie-banner="open"] .ix-notices {
    display: none;
}

/* The bar: a bell, the title, how many notices and each one's icon in its
   tint, and a chevron pointing where a click folds the list. It starts
   open (includes/notices.tpl). */
.ix-notices-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: none;
    color: var(--text-lifted);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--ix-transition);
}

.ix-notices-head[aria-expanded="true"] {
    border-bottom: 1px solid var(--border);
}

.ix-notices-head:hover,
.ix-notices-head:focus-visible {
    background-color: var(--bg-accented);
    outline: none;
}

.ix-notices-head:focus-visible {
    box-shadow: inset var(--ix-ring);
}

.ix-notices-bell {
    color: var(--ix-accent);
}

.ix-notices-count {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.75rem;
}

.ix-notices-dots {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.ix-notices-dot-accent {
    color: var(--ix-accent);
}

.ix-notices-dot-error {
    color: var(--ix-tint-error-fg);
}

.ix-notices-dot-warning {
    color: var(--ix-tint-warning-fg);
}

.ix-notices-dot-info {
    color: var(--ix-tint-info-fg);
}

.ix-notices-dot-success {
    color: var(--ix-tint-success-fg);
}

.ix-notices-chevron {
    margin-left: 8px;
    color: var(--text-muted);
    transition: transform var(--ix-transition);
}

.ix-notices-head[aria-expanded="false"] .ix-notices-chevron {
    transform: rotate(180deg);
}

/* One notice: the icon chip in its tint, the title over its line, the
   link under them, the close in the corner. */
.ix-notice {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 10px 38px 10px 12px;
}

.ix-notice + .ix-notice {
    border-top: 1px solid var(--border);
}

/* The e-mail reminder keeps Nexus's .verification-banner, which its script
   hides the reminder by, so Nexus's rules for that class still reach in: a
   grey band with padding and a light weight, and a grey, 36px, floated
   style on every icon inside. Undone here, at the weight needed to outrank
   .verification-banner .fas. */
.verification-banner.ix-notice {
    margin: 0;
    padding: 10px 38px 10px 12px;
    border-bottom: 0;
    background-color: transparent;
    color: var(--text);
    font-weight: 400;
}

.verification-banner.ix-notice i {
    float: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Each notice's tint: the accent for the e-mail, the incident's for the
   services' state, the most urgent line's for the account, from the
   --ix-tint-* tokens. */
.ix-notice-accent {
    --ix-notice-border: var(--ix-accent-border);
    --ix-notice-soft: var(--ix-accent-soft);
    --ix-notice-fg: var(--ix-accent);
}

.ix-notice-error {
    --ix-notice-border: var(--ix-tint-error-border);
    --ix-notice-soft: var(--ix-tint-error-bg);
    --ix-notice-fg: var(--ix-tint-error-fg);
}

.ix-notice-warning {
    --ix-notice-border: var(--ix-tint-warning-border);
    --ix-notice-soft: var(--ix-tint-warning-bg);
    --ix-notice-fg: var(--ix-tint-warning-fg);
}

.ix-notice-info {
    --ix-notice-border: var(--ix-tint-info-border);
    --ix-notice-soft: var(--ix-tint-info-bg);
    --ix-notice-fg: var(--ix-tint-info-fg);
}

.ix-notice-success {
    --ix-notice-border: var(--ix-tint-success-border);
    --ix-notice-soft: var(--ix-tint-success-bg);
    --ix-notice-fg: var(--ix-tint-success-fg);
}

/* The glow behind the services' and the account's notices; the e-mail's
   stays plain, under them, so they read apart. */
.ix-notice-error,
.ix-notice-warning,
.ix-notice-info,
.ix-notice-success {
    background-image: radial-gradient(ellipse at left top, var(--ix-notice-soft), transparent 55%);
}

.ix-notice-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--ix-notice-border);
    border-radius: var(--rounding-md);
    background-color: var(--ix-notice-soft);
    color: var(--ix-notice-fg);
    font-size: 0.8125rem;
}

.ix-notice-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
}

.ix-notice-text strong {
    color: var(--text-lifted);
    font-size: 0.875rem;
    font-weight: 700;
}

.ix-notice-actions {
    margin-top: 7px;
}

/* The account's lines, each after the icon of what it is, in that tint
   (the bar's .ix-notices-dot-* colours). */
.ix-notice-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.ix-notice-lines li {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ix-notice-lines i {
    flex: none;
    width: 14px;
    font-size: 0.75rem;
    text-align: center;
}

/* The action is a link, at its text's height: a button there stood 36px
   tall around a 17px line (user decision, 2026-11-04). The e-mail's is a
   <button>, which whmcs.js disables and relabels "sent" once it has
   posted; it then reads as a remark, without the arrow. */
.ix-notice-link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ix-accent);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: color var(--ix-transition);
}

.ix-notice-link::after {
    content: " \203A";
}

.ix-notice-link:hover,
.ix-notice-link:focus-visible {
    color: var(--ix-accent-hover);
    text-decoration: none;
}

.ix-notice-link:focus-visible {
    border-radius: var(--rounding-sm);
    outline: none;
    box-shadow: var(--ix-ring);
}

.ix-notice-link:disabled {
    color: var(--text-muted);
    cursor: default;
}

.ix-notice-link:disabled::after {
    content: none;
}

/* The close is a quiet round button: dismissing is allowed, not
   suggested. */
.ix-notice-close {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-notice-close:hover,
.ix-notice-close:focus-visible {
    background-color: var(--bg-accented);
    color: var(--text-lifted);
    outline: none;
}

.ix-notice-close:focus-visible {
    box-shadow: var(--ix-ring);
}

/* On a phone: a sheet along the bottom, the screen's width less a margin. */
@media (max-width: 575.98px) {
    .ix-notices {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 24px);
    }
}

/* ====================================================================== */
/* Footer                                                                 */
/* ====================================================================== */

.ix-footer {
    background-color: var(--ix-footer-bg);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 48px 0 24px;
}

/* Flex, not grid: the Services column is optional, so the row has to close up
   when it is absent. A fixed grid track count would leave a hole, and auto-fit
   cannot be mixed with the wider flexible track the brand block needs — that
   combination is invalid CSS and drops the whole declaration.

   Columns size to their content and the row is justified, rather than every
   column growing to an equal width. Equal widths left the last column looking
   stranded: its links are the shortest, so most of its box was empty and there
   was nothing after it to balance the gap. This way the last column's text
   finishes at the container edge and the slack sits between the columns. */
.ix-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px 40px;
}

.ix-footer-brand {
    flex: 0 1 300px;
}

.ix-footer-col {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 260px;
}

.ix-footer-legal-id {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* Semibold, not the column headings' 700, so the name leads its block
   without competing with them; the lifted colour does more than the weight
   alone against the footer's muted text. */
.ix-footer-legal-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-lifted);
    text-decoration: none;
    transition: color var(--ix-transition);
}

/* Lit in the accent when pointed at, as the footer's other links are. */
.ix-footer-legal-name:hover,
.ix-footer-legal-name:focus {
    color: var(--ix-accent);
    text-decoration: none;
}

.ix-footer-tagline {
    margin: 14px 0 16px;
    max-width: 34ch;
    line-height: 1.6;
}

.ix-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

/* Round and quiet, in the footer's muted text, lit in the accent when
   pointed at, as the footer's links are. */
.ix-footer-social-link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--ix-transition), border-color var(--ix-transition),
        background-color var(--ix-transition);
}

.ix-footer-social-link:hover,
.ix-footer-social-link:focus {
    border-color: var(--ix-accent-border);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    text-decoration: none;
}

/* X's mark, drawn in the template, at the glyphs' size and colour. */
.ix-footer-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.ix-footer-heading {
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-lifted);
}

.ix-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-footer-links li + li {
    margin-top: 9px;
}

.ix-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--ix-transition);
}

.ix-footer-links a:hover,
.ix-footer-links a:focus {
    color: var(--ix-accent);
}

/* "Cookie settings" opens a panel rather than going anywhere, so it is a
   button, drawn as one more link of the column. */
.ix-footer-links button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    transition: color var(--ix-transition);
}

.ix-footer-links button:hover,
.ix-footer-links button:focus {
    color: var(--ix-accent);
}

.ix-footer-col .ix-btn {
    margin-bottom: 8px;
    width: 100%;
}

/* Centred as a group, so the copyright stays centred whether or not the terms
   link is there — $acceptTOS decides that, and it is off on most installs. */
/* The ANPC badges are official artwork drawn for a white ground, so they keep
   it: white cards on the dark footer rather than recoloured badges.

   Side by side on one line, flexing down together rather than wrapping when
   the brand column is narrow. One badge today, SAL, whose box ANPC Order
   270/2026 sets at 250x50 — max-width stops it growing past that. */
.ix-footer-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    max-width: 250px;
    list-style: none;
}

.ix-footer-badges li {
    flex: 1 1 0;
    min-width: 0;
}

/* No background or padding of its own: the badge artwork already carries a
   white rounded panel, so a frame around it only doubled the border. */
.ix-footer-badges a {
    display: block;
    line-height: 0;
    transition: transform var(--ix-transition), box-shadow var(--ix-transition);
}

.ix-footer-badges a:hover,
.ix-footer-badges a:focus {
    transform: translateY(-2px);
}

/* The ratio is declared here because these rules override the width and height
   attributes on the image, which is what a lazy-loaded image reserves its box
   from: without it the browser lays out 0x0 until the file arrives and the
   footer shifts as it lands. It is the 250x50 box ANPC sets, the size the
   attributes in footer.tpl state.

   ANPC's own SAL artwork is narrower than that box (about 202x50), and is
   never stretched to fill it: contain keeps its proportions, at the box's
   left so it lines up with the column. The shadow follows the artwork's
   outline (drop-shadow) rather than the box, which is partly empty. */
.ix-footer-badges img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 50;
    object-fit: contain;
    object-position: left center;
    transition: filter var(--ix-transition);
}

.ix-footer-badges a:hover img,
.ix-footer-badges a:focus img {
    filter: drop-shadow(var(--ix-shadow-md));
}

.ix-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.ix-copyright {
    margin: 0;
}

/* The deployed version, shown only to a signed-in admin: a line of its own
   under the copyright — the bar is a wrapping flex row, so a full basis is
   what keeps it there — in the accent, since the one person who sees it is
   looking for it. */
.ix-version {
    flex: 0 0 100%;
    margin: 0;
    /* The same colour as the return-to-admin link in the top bar: both are
       there for whoever is signed in to the admin area, and nobody else. */
    color: var(--warning);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
}

/* The site's own name, told apart from the sentence around it: the rest of
   the line is boilerplate, this is the one word worth reading. */
/* The company's name, a link in the accent as the theme's links are, so it
   reads as one rather than as bold text. */
.ix-copyright a {
    color: var(--ix-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--ix-transition);
}

.ix-copyright a:hover,
.ix-copyright a:focus {
    color: var(--ix-accent-hover);
}

/* ====================================================================== */
/* Responsive                                                             */
/* ====================================================================== */

/* Buys back a little more room before anything has to be hidden. */
@media (max-width: 1279.98px) {
    .ix-nav-link {
        padding-inline: 9px;
        font-size: 0.875rem;
    }

    /* Scoped to .ix-nav: the account avatar lives in .ix-actions and is the
       only thing left in that button, so hiding it would empty it. */
    .ix-nav .ix-nav-icon {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .ix-nav,
    .ix-nav-secondary {
        display: none;
    }

    .ix-drawer-toggle {
        display: inline-flex;
    }

    /* Wrapped rows: justify would spread two columns to the edges and leave
       a lone third hanging, so pack them from the left instead. */
    .ix-footer-grid {
        justify-content: flex-start;
    }

    .ix-footer-brand {
        flex-basis: 100%;
    }

    .ix-footer-col {
        flex: 1 1 40%;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .ix-active-client-name {
        max-width: 120px;
    }
}

@media (max-width: 575.98px) {
    .ix-footer-grid {
        gap: 26px;
    }

    .ix-footer-col {
        flex-basis: 100%;
    }


    .ix-navbar .ix-container {
        min-height: 58px;
        gap: 6px;
    }

    .ix-brand-text {
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* The logo is about five times as wide as it is tall: at the bar's 38px
       it is 196px wide, and beside the burger, RO/EN, the cart and a
       client's bell it pushed the cart and the bell off a 360–412px phone.
       At 22px it is 114px and a client's whole row fits on a 360px phone
       (user decision, 2026-11-24). The bar's copy only: the drawer's and the
       footer's have their own rows to themselves. */
    .ix-navbar .ix-brand-logo {
        max-height: 22px;
    }
}

/* Below 360px a signed-in client's row — burger, logo, RO/EN, cart, bell —
   no longer fits: measured at 320px the bell sat 40px off the screen, the
   whole page scrolled sideways and the burger was squeezed to 32px. The
   language switch is the piece that goes, to the top of the drawer
   (navbar-drawer.tpl): the logo, the cart and the bell stay, and there is
   room again for the burger's full 40px (user decision, 2026-11-26). From
   360px nothing changes: the row fits there as it is, the burger giving way
   by a few pixels, which is why it is held at 40px only here. */
@media (max-width: 359.98px) {
    .ix-actions .ix-lang {
        display: none;
    }

    .ix-drawer-lang-block {
        display: block;
    }

    .ix-drawer-toggle {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ix-drawer,
    .ix-drawer-backdrop,
    .ix-dropdown,
    .ix-mega,
    .ix-btn {
        transition: none;
    }
}

/* ====================================================================== */
/* Support: opening a ticket (supportticketsubmit-stepone.tpl)            */
/* ====================================================================== */

.ix-ticket-start {
    padding-block: 8px 40px;
}

/* One card per department, the whole card the link, centred on the person
   drawn for it. Stretched to the tallest in a row, with the button at each
   card's foot, level across. */
.ix-ticket-depts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.ix-ticket-dept {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 28px 30px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    background:
        radial-gradient(ellipse at top, var(--ix-accent-soft), transparent 60%),
        var(--bg-lifted);
    color: var(--text-muted);
    text-align: center;
    text-decoration: none;
    transition: border-color var(--ix-transition), transform var(--ix-transition),
        box-shadow var(--ix-transition);
}

.ix-ticket-dept:hover,
.ix-ticket-dept:focus {
    border-color: var(--ix-accent-border);
    box-shadow: var(--ix-shadow-md);
    color: var(--text-muted);
    text-decoration: none;
    transform: translateY(-2px);
}

.ix-ticket-dept:focus-visible {
    box-shadow: var(--ix-ring);
    outline: none;
}

.ix-ticket-dept .ix-avatar {
    margin-bottom: 22px;
}

.ix-ticket-dept-name {
    margin: 0 0 8px;
    color: var(--text-lifted);
    font-size: 1.25rem;
    font-weight: 700;
}

.ix-ticket-dept-text {
    margin: 0 0 22px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* A button in look only: the card around it is the link. */
.ix-ticket-dept-go {
    margin-top: auto;
}

.ix-ticket-dept-go i {
    transition: transform var(--ix-transition);
}

.ix-ticket-dept:hover .ix-ticket-dept-go {
    background-color: var(--ix-accent-hover);
    border-color: var(--ix-accent-hover);
}

.ix-ticket-dept:hover .ix-ticket-dept-go i {
    transform: translateX(3px);
}

/* A clients-only department, shown to a visitor not signed in, is the same
   card, with a badge saying why its button reads Sign in. The badge sits in
   the card's top corner, above the avatar rather than across its ring:
   every card in a row that has one starts lower, so the people stay level
   from card to card. 14px from the top, about 24px of badge, then air
   before the ring. */
.ix-ticket-depts.has-locked .ix-ticket-dept {
    padding-top: 58px;
}

.ix-ticket-dept-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid var(--ix-accent-border);
    border-radius: 999px;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* The knowledgebase under the departments: its illustration, what it is,
   and its search, in a card with the CTA band's accent edge and glow. On a
   tablet the search takes a row of its own under the other two; on a phone
   the illustration goes, so the search is not pushed down a screen. */
.ix-ticket-kb {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 24px 36px;
    align-items: center;
    margin-top: 28px;
    padding: 26px 30px;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-lg);
    background:
        radial-gradient(ellipse at top left, var(--ix-accent-soft), transparent 60%),
        var(--bg-lifted);
}

.ix-ticket-kb-art .ix-store-bart {
    margin: 0;
}

.ix-ticket-kb-title {
    margin: 0 0 6px;
    color: var(--text-lifted);
    font-size: 1.125rem;
    font-weight: 700;
}

.ix-ticket-kb-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* The store's search field, left-aligned in its column. */
.ix-ticket-kb-search .ix-hero-search {
    justify-content: flex-start;
    margin-bottom: 12px;
}

@media (max-width: 1199.98px) {
    .ix-ticket-kb {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .ix-ticket-kb-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .ix-ticket-kb {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
    }

    .ix-ticket-kb-art {
        display: none;
    }
}

/* ---- The people (includes/support-avatar.tpl) ------------------------- */

/* A disc that clips the shoulders, ringed like the testimonials' logos.
   Each person has their own disc and shirt, from the palette's accents. */
.ix-avatar {
    display: block;
    width: 132px;
    height: 132px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-lifted), 0 0 0 6px var(--ix-accent-border);
}

.ix-avatar svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* The discs and shirts of the example this follows: a green disc behind a
   dark tee, and blue behind a yellow and a green shirt. */
.ix-avatar.is-short { background-color: var(--success-accent); }
.ix-avatar.is-bun,
.ix-avatar.is-beard { background-color: var(--info-accent); }

.ix-avatar-skin { fill: var(--ix-avatar-skin); }
.ix-avatar-shade { fill: var(--ix-avatar-skin-shade); }
.ix-avatar-hair { fill: var(--ix-avatar-hair); }
.ix-avatar-hair-light { fill: var(--ix-avatar-hair-light); }
.ix-avatar-tie { fill: var(--yellow-300); }

.ix-avatar-shirt { fill: var(--grayscale-lifted); }
.ix-avatar-trim { fill: var(--grayscale); }
.ix-avatar.is-bun .ix-avatar-shirt { fill: var(--warning); }
.ix-avatar.is-bun .ix-avatar-collar { fill: var(--yellow-300); }
.ix-avatar.is-beard .ix-avatar-shirt { fill: var(--success); }
.ix-avatar.is-beard .ix-avatar-collar { fill: var(--emerald-300); }

.ix-avatar-neckline,
.ix-avatar-placket {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.ix-avatar-neckline { stroke: var(--grayscale); }
.ix-avatar.is-bun .ix-avatar-placket { stroke: var(--yellow-300); }
.ix-avatar.is-beard .ix-avatar-placket { stroke: var(--emerald-300); }

/* ====================================================================== */
/* Client area: SSL certificates (managessl.tpl)                          */
/* ====================================================================== */

.ix-ssl-manage-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.ix-ssl-manage-title {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-ssl-manage-count {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* The parent's list centres every cell and frames the table in a bright
   line; a list of names and dates reads down a left edge, and the container
   already draws the frame. */
.ix-ssl-manage table.table-list {
    border: 0;
}

.ix-ssl-manage table.table-list thead th,
.ix-ssl-manage table.table-list tbody td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: middle;
}

.ix-ssl-manage table.table-list thead th {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ix-ssl-manage table.table-list tbody tr {
    cursor: default;
}

.ix-ssl-manage table.table-list thead th.ix-ssl-manage-actions-head {
    text-align: right;
}

/* DataTables' controls. The parent floats them against the card's edges
   with no padding and sizes them for a white table: here they get the card's
   gutter, the list's text size, and a toolbar above and a footer below the
   rows. Its layout puts the search box, the "Showing…" line and the table in
   one .listtable block, so that block becomes a wrapping flex row. */
.ix-ssl-manage .dataTables_wrapper .listtable {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_info {
    order: 1;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_filter {
    order: 2;
    float: none;
    padding: 12px 20px 12px 0;
}

/* The parent lifts its search icon by two thirds of its height, for its own
   field; centred here on the 40px field, inset like the text beside it. The
   label is a block so the field starts where the filter does. */
.ix-ssl-manage .dataTables_wrapper .dataTables_filter::after {
    top: 50%;
    left: 14px;
    font-size: 0.875rem;
    line-height: 1;
    transform: translateY(-50%);
}

.ix-ssl-manage .dataTables_wrapper .dataTables_filter label {
    display: block;
    margin: 0;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_filter label .form-control {
    width: 280px;
    height: 40px;
    /* Icon inset plus its width plus a small gap: the text follows the icon
       rather than floating well clear of it. DataTables' own stylesheet
       also indents the field half an em, which would open the gap again. */
    margin-left: 0;
    padding: 8px 14px 8px 36px !important;
    border-radius: var(--rounding-md);
    font-size: 0.875rem;
}

.ix-ssl-manage .dataTables_wrapper .listtable > table.table-list {
    order: 3;
    flex: 1 0 100%;
    margin: 0 !important;
    border-top: 1px solid var(--border);
    border-radius: 0;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_length,
.ix-ssl-manage .dataTables_wrapper .dataTables_paginate {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.ix-ssl-manage .dataTables_wrapper .dataTables_length {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
}

.ix-ssl-manage .dataTables_wrapper .dataTables_length select {
    width: auto;
    height: 34px;
    padding: 4px 10px;
    border-radius: var(--rounding-sm);
    font-size: 0.875rem;
}

.ix-ssl-manage .dataTables_wrapper .pagination {
    gap: 6px;
    margin: 0;
}

.ix-ssl-manage .dataTables_wrapper .page-link {
    padding: 6px 12px;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-sm) !important;
    background-color: transparent;
    color: var(--text);
    font-size: 0.875rem;
}

.ix-ssl-manage .dataTables_wrapper .page-item.active .page-link {
    border-color: var(--ix-accent);
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-ssl-manage .dataTables_wrapper .page-item.disabled .page-link {
    opacity: var(--disabled-opacity);
}

@media (max-width: 600px) {
    .ix-ssl-manage .dataTables_wrapper .dataTables_filter {
        flex: 1 0 100%;
        margin-top: 0;
        padding: 12px 20px 0;
    }

    .ix-ssl-manage .dataTables_wrapper .dataTables_filter::after {
        top: calc(50% + 6px);
        left: 34px;
    }

    .ix-ssl-manage .dataTables_wrapper .dataTables_filter label .form-control {
        width: 100%;
    }

    .ix-ssl-manage .dataTables_wrapper .dataTables_info {
        padding: 12px 20px;
    }
}

.ix-ssl-manage-domain {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ix-ssl-manage-domain .label {
    margin-top: 4px;
}

/* The padlock carries the row's state at a glance. */
.ix-ssl-manage-lock {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
}

.is-expired .ix-ssl-manage-lock {
    background-color: var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
}

.is-expiring .ix-ssl-manage-lock {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

.is-issuing .ix-ssl-manage-lock,
.is-config .ix-ssl-manage-lock {
    background-color: var(--ix-tint-info-bg);
    color: var(--ix-tint-info-fg);
}

.ix-ssl-manage-name {
    display: block;
    color: var(--text-lifted);
    font-weight: 600;
    word-break: break-word;
}

.ix-ssl-manage-instant {
    margin-left: 4px;
    color: var(--ix-tint-warning-fg);
    font-size: 0.8125rem;
}

.ix-ssl-manage-type {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 9px;
    border-radius: 999px;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: 1px;
}

.ix-ssl-manage-product {
    color: var(--text);
}

.ix-ssl-manage-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.ix-ssl-manage-actions form {
    margin: 0;
}

.ix-ssl-manage-actions .ix-btn:disabled {
    opacity: var(--disabled-opacity);
    cursor: not-allowed;
    transform: none;
}

.ix-ssl-manage-empty {
    padding: 48px 24px;
    border: 1px dashed var(--border-lifted);
    border-radius: var(--rounding-lg);
    background-color: var(--bg-lifted);
    text-align: center;
}

.ix-ssl-manage-empty .ix-feature-icon {
    margin-bottom: 16px;
}

.ix-ssl-manage-empty-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-ssl-manage-empty-text {
    max-width: 48ch;
    margin: 0 auto 22px;
    color: var(--text-muted);
}

/* ====================================================================== */
/* Client area: sidebar                                                   */
/* ====================================================================== */

/* Flat sections rather than cards — see includes/sidebar.tpl. The panels are
   owned here in full, which is why ix-bootstrap.css carries no sidebar block. */

/* Bottom margin rather than an adjacent-sibling rule: header.tpl puts the
   primary and secondary sidebars in separate wrappers, so consecutive panels
   are not always siblings. */
.ix-side {
    margin-bottom: 34px;
}

.ix-side-title {
    margin: 0 0 14px;
    padding-bottom: 11px;
    border-bottom: 1px dotted var(--border-accented);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-lifted);
}

.ix-side-badge {
    float: right;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

/* A plain flex row, which is what lets the avatar centre against a name of any
   height. Doing it from inside WHMCS's own block needed a float, and a float
   can only sit at the top of the text it meets — so ixtheme_sidebar_lift_identity()
   cuts the two names out of that block and sidebar.tpl draws them here. */
.ix-side-identity {
    display: flex;
    align-items: center;
    gap: var(--ix-avatar-gap);
    margin-bottom: var(--ix-name-space);
}

.ix-side-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--ix-avatar-size);
    height: var(--ix-avatar-size);
    border: 1px solid var(--ix-accent-border);
    border-radius: 50%;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.ix-side-names {
    min-width: 0;
}

.ix-side-names strong {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--text-lifted);
}

.ix-side-names span {
    display: block;
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--text);
}

/* flow-root, because WHMCS floats elements inside its panel HTML — the parent
   template wrapped the same markup in .clearfix for that reason. Without it a
   trailing floated button escapes the panel and eats the gap before the next
   heading. */
.ix-side-body {
    display: flow-root;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* WHMCS's body HTML opens with its own spaced block, which would otherwise
   read as a gap under the avatar. */
.ix-side-body > :first-child,
.ix-side-body-content > :first-child {
    margin-top: 0;
}

.ix-side-body > :last-child,
.ix-side-body-content > :last-child {
    margin-bottom: 0;
}

/* The identity row is a sibling of the body, so these live on the panel where
   both can read them. */
.ix-side-account {
    --ix-avatar-size: 44px;
    --ix-avatar-gap: 12px;
    --ix-name-space: 14px;
}

/* What is left of WHMCS's block once the hook has cut the two names out of
   it: the address. */
.ix-side-account .ix-side-body {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}


/* Icon beside the text, with the body stacking under it as its own column —
   otherwise every top-level node WHMCS emits would become a flex item. */
.ix-side-body-icon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ix-side-body-icon > i {
    flex: none;
    width: 18px;
    margin-top: 4px;
    text-align: center;
    color: var(--text-muted);
}

.ix-side-body-content {
    display: flow-root;
    flex: 1 1 auto;
    min-width: 0;
}

/* Buttons arrive inside WHMCS's own body HTML, so they are met here as
   whatever it emits: sized to their label instead of stretched across the
   column, and without the icon it puts in front of them. */
.ix-side-body .btn {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin-top: 18px;
    padding: 7px 16px;
    border: 1px solid var(--border-accented);
    border-radius: var(--rounding-md);
    background-color: transparent;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
}

.ix-side-body .btn:hover,
.ix-side-body .btn:focus {
    background-color: var(--bg-accented);
    border-color: var(--border-accented);
    color: var(--text-lifted);
}

.ix-side-body .btn i {
    display: none;
}

/* The account panel's action is the primary one in the column. */
.ix-side-account .ix-side-body .btn {
    background-color: var(--ix-accent);
    border-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
}

.ix-side-account .ix-side-body .btn:hover,
.ix-side-account .ix-side-body .btn:focus {
    background-color: var(--ix-accent-hover);
    border-color: var(--ix-accent-hover);
    color: var(--ix-accent-contrast);
}

/* The list keeps Bootstrap's classes — they are the tab contract on the
   service and domain pages — and is flattened rather than replaced. */
.ix-side .list-group {
    border: 0;
}

.ix-side .list-group-item {
    padding: 9px 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    color: var(--text);
    font-size: 0.9375rem;
}

/* The current page's row is named with its hover and focus too: Nexus
   styles .sidebar .list-group-item.active:hover and :focus — one
   pseudo-class heavier than any rule here — with a lifted ground and white
   text, so the current row alone turned into a grey block under the
   pointer. */
.ix-side .list-group-item:hover,
.ix-side .list-group-item:focus,
.ix-side .list-group-item.active,
.ix-side .list-group-item.active:hover,
.ix-side .list-group-item.active:focus {
    background-color: transparent;
    color: var(--ix-accent);
}

.ix-side .list-group-item.active {
    font-weight: 600;
}

.ix-side .list-group-item.disabled {
    background-color: transparent;
    color: var(--text-muted);
}

.ix-side .sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ix-side .sidebar-menu-item-icon-wrapper {
    flex: none;
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.ix-side .list-group-item:hover .sidebar-menu-item-icon-wrapper,
.ix-side .list-group-item:focus .sidebar-menu-item-icon-wrapper,
.ix-side .list-group-item.active .sidebar-menu-item-icon-wrapper {
    color: inherit;
}

.ix-side .sidebar-menu-item-label {
    flex: 1 1 auto;
    min-width: 0;
}

.ix-side .sidebar-menu-item-badge {
    flex: none;
}

/* Under a wide screen the sidebar column runs the width of the page, where
   flat sections with room to breathe read as scattered text. There each
   panel becomes a card of the dashboard's kind: the heading on its own
   band, the rows divided and tappable across the whole width, and a
   panel's button across the card. */
@media (max-width: 991.98px) {
    .ix-side {
        margin-bottom: 16px;
        padding: 0 16px 14px;
        background-color: var(--bg-lifted);
        border: 1px solid var(--border);
        border-radius: var(--rounding-lg);
    }

    .ix-side-title {
        margin: 0 -16px 12px;
        padding: 13px 16px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .ix-side-identity {
        padding-top: 2px;
    }

    /* The rows to the card's edges, each on its own line to tap. */
    .ix-side .list-group {
        margin: 0 -16px -14px;
    }

    .ix-side .list-group-item {
        padding: 12px 16px;
        border-top: 1px solid var(--border);
    }

    .ix-side .list-group-item:first-child {
        border-top: 0;
    }

    .ix-side .list-group-item:last-child {
        border-radius: 0 0 var(--rounding-lg) var(--rounding-lg);
    }

    /* A body under the rows keeps its own space back. */
    .ix-side .list-group + .ix-side-body {
        margin-top: 14px;
    }

    .ix-side-body .btn {
        width: 100%;
        justify-content: center;
        margin-top: 14px;
    }
}

/* ====================================================================== */
/* Client area: inline alerts                                             */
/* ====================================================================== */

/* Own classes, not Bootstrap's .alert: these cards must be restyleable
   without disturbing the alerts WHMCS emits inside inherited pages, or the
   notification bell, which has its own .ix-notify-* block above. A page's
   message from includes/alert.tpl wears them too, on top of Bootstrap's
   classes; see the end of this block. */

/* The dashboard's alerts as one panel (includes/client-alerts.tpl, mockup
   D1, user decision 2026-11-04): a bar that folds the list, then the alerts
   one under the other with a rule between, each keeping its tint — drawn
   as the notices window is (.ix-notices). The cards' own frame and corners
   are the panel's here; a page's message (.alert.ix-alert, below) is a card
   on its own and keeps them. */
.ix-alerts {
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    background-color: var(--bg-lifted);
}

/* A row keeps the card's least height, two lines' worth, so one-line and
   two-line alerts line up their chips and buttons down the panel (user
   decision, 2026-11-05). */
.ix-alerts .ix-alert {
    border: 0;
    border-radius: 0;
}

.ix-alerts .ix-alert + .ix-alert {
    border-top: 1px solid var(--border);
}

/* The bar: a bell, the title, how many alerts and each one's icon in its
   tint, and a chevron pointing where a click folds the list. */
.ix-alerts-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: none;
    color: var(--text-lifted);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--ix-transition);
}

.ix-alerts-head[aria-expanded="true"] {
    border-bottom: 1px solid var(--border);
}

.ix-alerts-head:hover,
.ix-alerts-head:focus-visible {
    background-color: var(--bg-accented);
    outline: none;
}

.ix-alerts-head:focus-visible {
    box-shadow: inset var(--ix-ring);
}

.ix-alerts-bell {
    color: var(--ix-accent);
}

.ix-alerts-count {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.75rem;
}

.ix-alerts-dots {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.ix-alerts-dots i {
    color: var(--ix-alert-accent);
}

.ix-alerts-chevron {
    margin-left: 8px;
    color: var(--text-muted);
    transition: transform var(--ix-transition);
}

.ix-alerts-head[aria-expanded="false"] .ix-alerts-chevron {
    transform: rotate(180deg);
}

/* display:flex below would otherwise beat the UA stylesheet's [hidden] rule,
   so dismissing a card would leave it on screen. */
.ix-alerts[hidden],
.ix-alert[hidden],
.ix-alert.w-hidden {
    display: none;
}

/* Severity reads from a card lit from its left edge in the severity's tint,
   a frame in the same colour and the icon on a chip of it, rather than from
   a bar down one edge. */
/* Read from the left, wherever it stands: the chip, then the words. Set
   here rather than left to the page, so a message inside a centred block —
   the order's confirmation, a finished sign-in step — does not centre its
   words with it. */
.ix-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-align: left;
    background:
        radial-gradient(ellipse at left, var(--ix-alert-tint), transparent 70%),
        var(--bg-lifted);
    border: 1px solid color-mix(in srgb, var(--ix-alert-accent) 32%, transparent);
    border-radius: var(--rounding-lg);
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
    /* As tall as a card whose words run to two lines — two of its lines
       (3em at this line height), the padding and the frame — so a stack of
       one-line and two-line cards reads as one even column; the words and
       the chip stay centred in it, and longer ones grow it. */
    min-height: calc(3em + 26px);
}

.ix-alert-danger {
    --ix-alert-accent: var(--ix-tint-error-fg);
    --ix-alert-tint: var(--ix-tint-error-bg);
}

.ix-alert-warning {
    --ix-alert-accent: var(--ix-tint-warning-fg);
    --ix-alert-tint: var(--ix-tint-warning-bg);
}

.ix-alert-info {
    --ix-alert-accent: var(--ix-tint-info-fg);
    --ix-alert-tint: var(--ix-tint-info-bg);
}

.ix-alert-success {
    --ix-alert-accent: var(--ix-tint-success-fg);
    --ix-alert-tint: var(--ix-tint-success-bg);
}

.ix-alert-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-alert-tint);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ix-alert-accent) 22%, transparent);
    color: var(--ix-alert-accent);
    font-size: 0.9375rem;
}

.ix-alert-message {
    flex: 1 1 auto;
    min-width: 0;
}

/* A page's message (includes/alert.tpl): the same card, holding a sentence
   or a list rather than a line and a button. Its Bootstrap classes stay for
   WHMCS's scripts; this file loads after ix-bootstrap.css, so the card's
   own surface, frame and ink win over theirs. The chip is centred on the
   words, however many lines they run to, as on the dashboard's cards: the
   two are one kind of object and are drawn alike. It has no button or
   close to wrap under the words or to keep room for, so the phone layout
   below neither wraps it nor holds its right side clear. */
.alert.ix-alert {
    flex-wrap: nowrap;
    padding: 12px 14px;
}

.alert.ix-alert .ix-alert-title {
    display: block;
    margin: 0 0 4px;
    color: var(--text-lifted);
    font-size: inherit;
    font-weight: 700;
}

.alert.ix-alert .ix-alert-message ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.alert.ix-alert .ix-alert-message > :last-child {
    margin-bottom: 0;
}

/* A message a script owns (.ix-alert-scripted, with the severity's
   .ix-alert-<type> for its colours): the same card, drawn without the
   card's markup. standard_cart's scripts and WHMCS's payment script write
   the message into the box itself — showCheckoutError(), the transfer
   check, a gateway's error on the payment method and invoice payment pages
   (.gateway-errors) — which would wipe a chip held as an element, and they show the box with jQuery's show(),
   slideDown() or fadeIn(), which leave an inline display: block, so a flex box
   would turn into a block the moment it appears and the server's own
   d-none or w-hidden would lose to any display set here. So the box sets
   no display: the chip is drawn in ::before, centred on its left edge.
   Without flex the words cannot be centred in a least height, so the
   padding does it: a sentence gets as much above and below as makes one
   line exactly the flex card's least height (3em + 26px), and a list —
   a heading and its items, always past that height — the flex card's
   own 12px. */
.alert.ix-alert-scripted {
    position: relative;
    text-align: left;
    padding: calc(0.75em + 12px) 14px calc(0.75em + 12px) 60px;
    background:
        radial-gradient(ellipse at left, var(--ix-alert-tint), transparent 70%),
        var(--bg-lifted);
    border: 1px solid color-mix(in srgb, var(--ix-alert-accent) 32%, transparent);
    border-radius: var(--rounding-lg);
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.alert.ix-alert-scripted:has(ul) {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* The glyphs of the card's icons (includes/alert.tpl): exclamation-circle,
   exclamation-triangle, info-circle, check-circle. WHMCS 9.1 ships Font
   Awesome 6 Pro, 9.0 shipped 5 Pro, with the same code points. */
.alert.ix-alert-scripted::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-alert-tint);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ix-alert-accent) 22%, transparent);
    color: var(--ix-alert-accent);
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
    font-size: 0.9375rem;
    font-weight: 900;
    line-height: 34px;
    text-align: center;
    content: "\f06a";
}

.alert.ix-alert-scripted.ix-alert-warning::before {
    content: "\f071";
}

.alert.ix-alert-scripted.ix-alert-info::before {
    content: "\f05a";
}

.alert.ix-alert-scripted.ix-alert-success::before {
    content: "\f058";
}

/* "Correct the following errors" and its list, as the flex card's title
   and list — the title with the line height that card's h2 has. */
.alert.ix-alert-scripted > p:first-child {
    margin: 0 0 4px;
    color: var(--text-lifted);
    font-weight: 700;
    line-height: 1.2;
}

.alert.ix-alert-scripted ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.alert.ix-alert-scripted > :last-child {
    margin-bottom: 0;
}

/* On a phone the flex card puts its chip and words at the top of its least
   height (the phone rules below); a block does that by itself, so the
   least height comes back and the padding is the card's own. */
@media (max-width: 575.98px) {
    .alert.ix-alert-scripted,
    .alert.ix-alert-scripted:has(ul) {
        min-height: calc(3em + 26px);
        padding: 12px 14px 12px 58px;
    }

    .alert.ix-alert-scripted::before {
        top: 12px;
        margin-top: 0;
    }
}

/* Labelled, not an icon: the destination is the point of the button. A
   least width, so a short label ("Renew") and a long one ("View details")
   make buttons of the same size and line up down the column; a label longer
   than that simply grows. */
.ix-alert-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 7rem;
    padding: 7px 14px;
    border: 1px solid color-mix(in srgb, var(--ix-alert-accent) 45%, transparent);
    border-radius: var(--rounding-md);
    background-color: transparent;
    color: var(--ix-alert-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-alert-action:hover,
.ix-alert-action:focus {
    background-color: var(--ix-alert-accent);
    color: var(--bg);
    text-decoration: none;
}

.ix-alert-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--rounding-sm);
    background-color: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-alert-dismiss:hover,
.ix-alert-dismiss:focus {
    background-color: var(--bg-accented);
    color: var(--text-lifted);
}

/* On a phone the three parts stack: the icon beside the first line of the
   message, the button under the message and lined up with it, and the close
   in the top right corner, out of the flow — on a row of its own it left the
   button stranded beside a gap. */
@media (max-width: 575.98px) {
    .ix-alert {
        position: relative;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 44px 12px 12px;
    }

    .ix-alert-message {
        flex-basis: calc(100% - 44px);
        font-size: 0.9375rem;
    }

    .ix-alert-action {
        margin-left: 44px;
        padding: 6px 12px;
    }

    .ix-alert-dismiss {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 26px;
        height: 26px;
    }
}

/* ====================================================================== */
/* Client area: authentication pages                                      */
/* ====================================================================== */

/* ---- The band the three of them share -------------------------------- */

/* One ground for the whole page, lit from above, with two columns of
   content on it: what the page is for on the left, the form on the right.
   The band is full bleed, so the page's own container has to stop
   constraining it — the same treatment the homepage's sections get — and
   the content is put back inside --ix-container-max by .ix-container, which
   is what the header and the footer use.

   Matched on the band rather than on a page's body class, so every
   authentication page that uses it is covered without naming them one by
   one — sign-in, registration and the steps of a password reset. */
section#main-body:has(.ix-auth-band) {
    /* The parent gives #main-body a min-height so short pages still push the
       footer down. Kept — but the band is centred in it rather than left at
       the top, which is what made a one-field form sit above a void. */
    display: flex;
    align-items: center;
    padding: 0;
    background:
        radial-gradient(70% 52% at 50% 0%, var(--ix-accent-soft), transparent 70%),
        var(--bg);
}

section#main-body:has(.ix-auth-band) > .container {
    flex: 1 1 auto;
    max-width: none;
    padding: 0;
}

section#main-body:has(.ix-auth-band) > .container > .row {
    margin: 0;
}

section#main-body:has(.ix-auth-band) .primary-content {
    padding: 0;
}

/* The content sets the height. Filling the viewport was tried and left
   behind: on a tall screen it only pushed the two columns apart from the
   chrome with dead space above and below them. */
.ix-auth-band {
    display: grid;
    /* The right column is the card and nothing more, so no slack can open
       between the two: what is left over goes to the text, which stops at a
       line length that is still comfortable to read. */
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 80px;
    align-items: center;
    padding-block: 56px 64px;
}

/* ---- The left column ------------------------------------------------- */

.ix-auth-aside {
    max-width: 560px;
}

.ix-auth-aside-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ix-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ix-auth-aside-title {
    margin: 0 0 14px;
    color: var(--text-lifted);
    font-size: 2.125rem;
    font-weight: 700;
    line-height: 1.15;
}

.ix-auth-aside-text {
    margin: 0 0 30px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.ix-auth-points {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The mark is held against the middle of the pair it belongs to, not against
   the first line: a 38px square hung from the top of a two-line block read
   as too small for it and left the second line unaccounted for. */
.ix-auth-point {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.ix-auth-point-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 1.0625rem;
}

.ix-auth-point-body strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-lifted);
    font-weight: 600;
}

.ix-auth-point-body span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ---- The right column ------------------------------------------------ */

/* The form sits on a surface of its own: on one flat ground the space
   between the two columns read as a void, and giving the form an edge turns
   the same space into the distance between a text and a panel. */
.ix-auth {
    width: 100%;
    padding: 32px 30px 28px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    background-color: var(--bg-lifted);
    box-shadow: var(--ix-shadow-lg);
}

.ix-auth-head {
    margin-bottom: 26px;
}

.ix-auth-title {
    margin: 0 0 6px;
    color: var(--text-lifted);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.2;
}

.ix-auth-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* The end of the password reset: centred, as a result rather than a form. */
.ix-auth-done {
    text-align: center;
}

.ix-auth-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border: 1px solid var(--ix-tint-success-fg);
    border-radius: 50%;
    background-color: var(--ix-tint-success-bg);
    box-shadow: 0 0 0 8px var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
    font-size: 1.5rem;
}

/* The same mark for a result that did not go through — the confirmation
   e-mail's link run out, or not known (user-verify-email.tpl) — so the
   state reads from the colour before the words. */
.ix-auth-done-icon.is-warning {
    border-color: var(--ix-tint-warning-fg);
    background-color: var(--ix-tint-warning-bg);
    box-shadow: 0 0 0 8px var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

.ix-auth-done-icon.is-error {
    border-color: var(--ix-tint-error-fg);
    background-color: var(--ix-tint-error-bg);
    box-shadow: 0 0 0 8px var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
}

/* Two ways on, stacked: the main one and the quiet one under it. */
.ix-auth-done .ix-auth-submit + .ix-auth-submit {
    margin-top: 10px;
}

.ix-auth-done .ix-auth-title {
    margin-bottom: 10px;
}

.ix-auth-done .ix-auth-sub {
    margin: 0 auto 28px;
    max-width: 38ch;
    line-height: 1.65;
}

.ix-auth-group {
    margin-bottom: 18px;
}

.ix-auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ix-auth-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ix-auth-forgot {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-auth-forgot:hover,
.ix-auth-forgot:focus {
    color: var(--ix-accent);
}

/* The field is the box: the icon, the input and the eye sit inside one
   bordered shell, so the three read as a single control rather than as a
   field with things bolted to its ends. */
.ix-auth-field {
    display: flex;
    /* .input-group is a JS hook here, but it is also a real Bootstrap class,
       and it wraps: without this the eye drops under the field on narrow
       screens. */
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    height: var(--ix-field-height);
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    background-color: var(--bg-muted);
    transition: border-color var(--ix-transition), box-shadow var(--ix-transition);
}

.ix-auth-field:focus-within {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

.ix-auth-field-icon {
    flex: none;
    display: flex;
    justify-content: center;
    width: 44px;
    color: var(--text-muted);
}

/* The shell carries the border and the ground, so the input gives both up.
   Its left padding is the icon's width, so a field without one — the name
   and address fields on the invitation, say — keeps the same inset rather
   than starting against the edge. */
.ix-auth-field .form-control {
    flex: 1 1 auto;
    width: 1%;
    height: auto;
    min-height: 0;
    padding: 0 14px 0 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: var(--text);
    font-size: 1rem;
}

.ix-auth-field:not(:has(.ix-auth-field-icon)) .form-control {
    padding-left: 16px;
}

/* On focus, only what the theme's own .form-control:focus would otherwise
   paint inside this one — the ring belongs to the shell, through
   :focus-within. Deliberately nothing about the layout: written as one rule
   with the above, its higher weight put `width: 1%` back on the phone input
   the moment it was clicked, and the number vanished until it lost focus. */
.ix-auth-field .form-control:focus {
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: var(--text);
}

/* Chrome paints its own pale ground on an autofilled field, which on a dark
   one is a white box. The inset shadow is the only way to cover it, and the
   text colour has to be set through -webkit-text-fill-color. */
.ix-auth-field .form-control:-webkit-autofill,
.ix-auth-field .form-control:-webkit-autofill:hover,
.ix-auth-field .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--bg-muted) inset;
    caret-color: var(--text);
}

.ix-auth-reveal {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0 var(--rounding-md) var(--rounding-md) 0;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--ix-transition), background-color var(--ix-transition);
}

.ix-auth-reveal:hover {
    background-color: var(--bg-accented);
    color: var(--text);
}

.ix-auth-submit {
    width: 100%;
    height: var(--ix-field-height);
    font-size: 1rem;
}

/* ---- Two-factor challenge (two-factor-challenge.tpl) ------------------ */

/* The field and the button inside are the two-factor module's own HTML — a
   code field for an authenticator app, a YubiKey field — so they are styled
   by what they are rather than by classes of ours: any text field as the
   form's code field, large and spaced for reading digits off a phone, and
   any submit as the form's button. */
.ix-auth-2fa-challenge p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.ix-auth-2fa-challenge br {
    display: none;
}

.ix-auth-2fa-challenge input[type="text"],
.ix-auth-2fa-challenge input[type="number"],
.ix-auth-2fa-challenge input[type="tel"],
.ix-auth-2fa-challenge input[type="password"] {
    display: block;
    width: 100%;
    height: var(--ix-field-height);
    padding: 0 16px;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
    color: var(--text-lifted);
    font-size: 1.375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3em;
    text-align: center;
}

.ix-auth-2fa-challenge input:focus {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
    outline: none;
}

/* ---- The code as six boxes -------------------------------------------- */

/* js/ix.js lays these over the module's own field, which stays in the page
   with its name and its value and is only taken out of sight — the form
   posts what WHMCS expects either way. Without script, or where the
   challenge is something else, that field is what shows. The same boxes
   stand in the dialog that turns two-factor on (.twofa-setup, #modalAjax),
   over the field of the module's code step. */
.ix-auth-2fa-challenge .ix-otp-real,
.twofa-setup .ix-otp-real {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.ix-otp {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* input.ix-otp-cell, not .ix-otp-cell: the field rule above is written as
   input[type="text"], and an attribute selector weighs the same as a class,
   so a plain class would lose to it — and the code would keep that field's
   letter-spacing, which pushes each digit off the middle of its box. */
.ix-auth-2fa-challenge input.ix-otp-cell,
.twofa-setup input.ix-otp-cell {
    width: 52px;
    height: 60px;
    padding: 0;
    background-color: var(--bg);
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    color: var(--text-lifted);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: normal;
    text-align: center;
}

.ix-auth-2fa-challenge input.ix-otp-cell:focus,
.twofa-setup input.ix-otp-cell:focus {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
    outline: none;
}

/* A box with a digit in it is done with, and says so quietly. */
.ix-auth-2fa-challenge input.ix-otp-cell:not(:placeholder-shown),
.ix-auth-2fa-challenge input.ix-otp-cell:valid:not(:focus),
.twofa-setup input.ix-otp-cell:not(:placeholder-shown),
.twofa-setup input.ix-otp-cell:valid:not(:focus) {
    border-color: var(--border-accented);
}

@media (max-width: 400px) {
    .ix-otp {
        gap: 6px;
    }

    .ix-auth-2fa-challenge input.ix-otp-cell,
    .twofa-setup input.ix-otp-cell {
        width: 44px;
        height: 54px;
        font-size: 1.25rem;
    }
}

.ix-auth-2fa-challenge input::placeholder {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
}

.ix-auth-2fa-challenge input[type="submit"],
.ix-auth-2fa-challenge button[type="submit"] {
    display: block;
    width: 100%;
    height: var(--ix-field-height);
    margin-top: 16px;
    border: 1px solid var(--ix-accent);
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--ix-transition), border-color var(--ix-transition);
}

.ix-auth-2fa-challenge input[type="submit"]:hover,
.ix-auth-2fa-challenge button[type="submit"]:hover {
    border-color: var(--ix-accent-hover);
    background-color: var(--ix-accent-hover);
}

.ix-auth-2fa-challenge input[type="submit"]:focus-visible,
.ix-auth-2fa-challenge button[type="submit"]:focus-visible {
    box-shadow: var(--ix-ring);
    outline: none;
}

/* ---- A new backup code (two-factor-new-backup-code.tpl) --------------- */

/* The code in the field shell the sign-in pages use, with its copy button
   inside the shell's right end: one control, read at a glance and copied in
   one click. Set in the monospace face and spaced, because it is copied onto
   paper as often as into a password manager, and O against 0 matters. */
.ix-backup-code {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--ix-field-height);
    padding: 0 7px 0 0;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    background-color: var(--bg-muted);
    transition: border-color var(--ix-transition), box-shadow var(--ix-transition);
}

.ix-backup-code:focus-within {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

.ix-backup-code .form-control,
.ix-backup-code .form-control:focus,
.ix-backup-code .form-control[readonly] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 12px 0 16px;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: var(--text-lifted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ix-backup-code .ix-btn {
    flex: none;
}

/* The warning under the code, kept off the button. */
.ix-auth-done .alert {
    margin-bottom: 20px;
}

/* ---- Remember me ----------------------------------------------------- */

/* Under the button, not beside it: it is a setting for the sign-in, not a
   second thing to do. The box is drawn rather than left to the browser,
   which paints its own blue one whatever the page around it looks like. */
.ix-auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.ix-auth-remember input,
.ix-auth-check input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid var(--border-accented);
    border-radius: var(--rounding-sm);
    background-color: transparent;
    cursor: pointer;
    transition: border-color var(--ix-transition), background-color var(--ix-transition);
}

.ix-auth-remember:hover input,
.ix-auth-check:hover input {
    border-color: var(--ix-accent);
}

.ix-auth-remember input:checked,
.ix-auth-check input:checked {
    border-color: var(--ix-accent);
    background-color: var(--ix-accent);
}

/* The tick: two borders of an empty box, turned. Rotating an L puts its ink
   below the middle of the box that draws it, so the box itself is set high
   of centre by that much — in a 14px field (18px less two borders) the ink
   then lands on the middle both ways. */
.ix-auth-remember input:checked::after,
.ix-auth-check input:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border-right: 2px solid var(--ix-accent-contrast);
    border-bottom: 2px solid var(--ix-accent-contrast);
    transform: rotate(45deg);
}

.ix-auth-remember input:focus-visible,
.ix-auth-check input:focus-visible {
    outline: none;
    box-shadow: var(--ix-ring);
}

/* ---- Captcha --------------------------------------------------------- */

/* The image captcha is this theme's markup (see login.tpl), so it is one
   recessed box: the instruction on a line of its own, then the image and
   the field beside it, both at one height. */
.ix-auth-captcha {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg-muted);
}

.ix-auth-captcha-text {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ix-auth-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* WHMCS draws the image with a bevelled border of its own, which belongs to
   the bitmap and cannot be removed from here. Rounding the corners off is as
   far as this goes without touching core. */
.ix-auth-captcha-image {
    flex: none;
    height: 42px;
    border-radius: var(--rounding-sm);
}

.ix-auth-captcha-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-sm);
    background-color: var(--bg-lifted);
    color: var(--text);
    font-size: 1rem;
    letter-spacing: 0.24em;
    text-align: center;
    text-transform: uppercase;
}

.ix-auth-captcha-input:focus {
    outline: none;
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

/* reCAPTCHA draws its own widget and stays the parent's include; only its
   place on the page is ours. */
.ix-auth-recaptcha,
.ix-auth .recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Cloudflare Turnstile (includes/turnstile.tpl), in the captcha's place and
   spaced as it is on each form. Cloudflare draws the widget in a frame of
   its own; ours is only the box around it. On the sign-in card the widget
   fills the form; on the wide forms it keeps to the sign-in card's width
   rather than run across the whole card. The box holds the widget's height
   (65px) before the frame arrives, so the button under it does not jump. */
.ix-turnstile {
    max-width: 400px;
    margin-bottom: 20px;
}

.ix-turnstile .cf-turnstile {
    min-height: 65px;
}

/* "Only when a tick is needed" in ix_turnstile's settings (is-on-demand):
   Cloudflare shows the widget only to a visitor it asks to tick the box, and
   the widget's callback marks the box just before (is-shown). Until then the
   widget takes no room, so the box drops its spacing and the form reads as
   one without a widget; it keeps it while the note is out. No height is held
   for the frame, as most visitors never see it. */
.ix-turnstile.is-on-demand .cf-turnstile {
    min-height: 0;
}

.ix-turnstile.is-on-demand:not(.is-shown):has(> .ix-turnstile-note[hidden]) {
    margin: 0;
}

.ix-turnstile.is-ticket {
    margin: 20px 0 0;
}

.ix-turnstile.is-contact {
    margin: 18px 0 0;
}

/* A form sent before the widget gave its token: the module's text, in the
   error colour a missing tick on the checkout has. */
.ix-turnstile-note {
    margin: 8px 0 0;
    color: var(--ix-tint-error-fg);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ---- The state a field is in ----------------------------------------- */

/* The password-strength script marks the inputs themselves, but the border
   they would colour belongs to the shell around them, so the shell reads the
   state off its own field. */
.ix-auth-field:has(.is-invalid) {
    border-color: var(--error);
}

.ix-auth-field:has(.is-valid) {
    border-color: var(--success);
}

/* ---- Password strength ----------------------------------------------- */

/* The parent's include holds the meter and the script that drives it, so it
   is included whole; what is dressed here is what it draws. Its leading
   <br> is the one piece of its spacing that cannot be reached by a class. */
.ix-auth-strength br {
    display: none;
}

.ix-auth-strength .progress {
    height: 6px;
    margin-top: 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background-color: var(--bg-accented);
}

.ix-auth-strength .progress-bar {
    border-radius: 999px;
    transition: width var(--ix-transition), background-color var(--ix-transition);
}

.ix-auth-strength .alert {
    margin-bottom: 0;
    padding: 10px 12px;
    font-size: 0.8125rem;
}

/* What the script writes under the confirm field when the two do not
   match. */
#inputNewPassword2Msg p {
    margin: 8px 0 0;
    color: var(--error-lifted);
    font-size: 0.8125rem;
}

/* The submit is an <input> on the reset form, because the parent's script
   disables and re-enables it by that selector; disabled, it has to look it. */
.ix-auth-submit:disabled {
    opacity: var(--disabled-opacity);
    cursor: not-allowed;
    transform: none;
}

/* ---- Registration ---------------------------------------------------- */

/* The register form is long, so its card is wider and the two columns start
   at the top rather than share a middle; the column beside it is pinned
   under the header while the form scrolls past. */
.ix-auth-band-wide {
    grid-template-columns: minmax(0, 1fr) 620px;
    align-items: start;
}

/* Kept in the middle of the screen the whole way down a form three times
   its height. Sticky holds its top on the half-way line and the transform
   lifts it by half of itself, so what is centred is the block rather than
   its first line — and it measures itself, so the text can grow or shrink
   without a number here having to follow. It is centred from the first
   paint too: at the top of the page its natural place is already above that
   line, so sticky pushes it down to it. */
.ix-auth-band-wide .ix-auth-aside {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
}

.ix-auth-section {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.ix-auth-section:last-of-type {
    margin-bottom: 22px;
}

.ix-auth-section-title {
    margin: 0 0 16px;
    color: var(--text-lifted);
    font-size: 1rem;
    font-weight: 700;
}

.ix-auth-section-text {
    margin: -8px 0 14px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

/* Two fields to a row where the card is wide enough for it; anything that
   reads as one line of an address takes the whole row. */
.ix-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.ix-auth-grid .ix-auth-group {
    margin-bottom: 0;
}

.ix-auth-grid .is-full {
    grid-column: 1 / -1;
}

/* ---- Billed as a person or as a company ------------------------------- */

/* The same choice the cart's checkout asks, in the same shape: two pills,
   the chosen one on a raised ground. */
.ix-auth-kind {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.ix-auth-kind-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 14px;
    border-radius: var(--rounding-md);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--ix-transition), color var(--ix-transition);
}

.ix-auth-kind-choice:hover {
    background-color: var(--bg-accented);
}

.ix-auth-kind-choice:has(input:checked) {
    background-color: var(--bg-accented);
    color: var(--text-lifted);
}

/* The dot is an inset ring in the card's own ground, so the fill reads as a
   disc rather than as a ring with a hole. */
.ix-auth-kind-choice input {
    -webkit-appearance: none;
    appearance: none;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid var(--border-accented);
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: border-color var(--ix-transition), background-color var(--ix-transition);
}

.ix-auth-kind-choice:hover input {
    border-color: var(--ix-accent);
}

.ix-auth-kind-choice input:checked {
    border-color: var(--ix-accent);
    background-color: var(--ix-accent);
    box-shadow: inset 0 0 0 3px var(--bg-lifted);
}

.ix-auth-kind-choice input:focus-visible {
    outline: none;
    box-shadow: var(--ix-ring);
}

.ix-auth-kind-choice input:checked:focus-visible {
    box-shadow: inset 0 0 0 3px var(--bg-lifted), var(--ix-ring);
}

/* The company and the numbers that name it: the numbers first, sharing out
   the width — one takes it all, two halve it — and the name across the row
   under them, since leaving the CUI fills the name in from ANAF. Down to one
   a row on a narrow screen. Which numbers appear depends on WHMCS's settings
   and on checkout.billingCustomFields, so their row divides itself. A
   wrapping flex rather than a grid: a grid's column count follows the width,
   and with more columns than numbers a name spanning them all leaves a hole
   beside the numbers. Hidden for a person by the script at the foot of
   clientregister.tpl, with an inline style. */
.ix-auth-company {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    margin-bottom: 14px;
}

.ix-auth-company .ix-auth-group {
    flex: 1 1 190px;
    min-width: 0;
    margin-bottom: 0;
}

/* The company's name, last in the row. */
.ix-auth-company .ix-auth-group:last-child {
    flex-basis: 100%;
}

.ix-auth-optional {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.ix-auth-help {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ---- Filling a company in from ANAF (the ix_company_check addon) -------

   The addon's button sits at the end of the tax id field — on sign-up, in
   the account's details and at checkout — and its tooltip is its name. It
   wears the primary button's accent, a search button joined to the field,
   because an icon in the field's own muted grey went unnoticed. On sign-up
   it is part of the field's shell, as the password's eye is, and the shell's
   focus ring is its own. Elsewhere the field is a bare input, so the button
   is drawn over the input's right end, inside its border, with a ring of its
   own, and the text stops short of it. Inside a 1px border either way, so
   its corners are the field's less that pixel. */
.ix-company-check-button {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0 calc(var(--rounding-md) - 1px) calc(var(--rounding-md) - 1px) 0;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    cursor: pointer;
    transition: background-color var(--ix-transition);
}

.ix-company-check-button:hover,
.ix-company-check-button:focus-visible {
    outline: none;
    background-color: var(--ix-accent-hover);
    color: var(--ix-accent-contrast);
}

/* Disabled by the addon while ANAF is asked: the magnifier gives way to the
   spinner the theme's other waits show — Font Awesome's fa-spinner glyph,
   turned by its own fa-spin — and the message under the field says what it
   is waiting for. */
.ix-company-check-button:disabled {
    cursor: progress;
}

.ix-company-check-button:disabled i {
    animation: fa-spin 2s linear infinite;
}

.ix-company-check-button:disabled i::before {
    content: "\f110";
}

.ix-company-check-field {
    position: relative;
}

/* The z-index is the cart's: it positions every field, and a positioned
   input paints over what is not raised above it. */
.ix-company-check-field .ix-company-check-button {
    position: absolute;
    z-index: 2;
    top: 1px;
    right: 1px;
    bottom: 1px;
    height: auto;
}

.ix-company-check-field .ix-company-check-button:focus-visible {
    box-shadow: var(--ix-ring);
}

.ix-company-check-field .form-control {
    padding-right: 44px;
}

/* What the addon filled in from ANAF is locked: read-only inputs and, for
   the country, a disabled list, all marked .ixcc-locked. A bare input
   already looks it — Bootstrap's [readonly] and :disabled, and the account
   details' own rule in ix-client.css — but a sign-up input gives its ground
   to the shell around it, so it is the shell that turns grey. The cart's
   fields are in ix-store.css. */
.ixcc-locked {
    cursor: not-allowed;
}

.ix-auth-field:has(.ixcc-locked) {
    background-color: var(--bg-accented);
}

.ix-auth-field .ixcc-locked {
    color: var(--text-muted);
}

/* The addon's word under the field: while it asks, then what came back.
   Empty, it takes no room. */
.ixcc-message {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ixcc-message:empty {
    display: none;
}

.ixcc-message-success {
    color: var(--ix-tint-success-fg);
}

.ixcc-message-error {
    color: var(--ix-tint-error-fg);
}

/* A select inside the field shell: the browser's arrow sits against the
   edge and cannot be moved, so it goes and the theme draws its own. */
.ix-auth-select {
    position: relative;
}

.ix-auth-select select {
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
    padding-right: 40px;
}

.ix-auth-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* A list WHMCS rendered, put inside the theme's field: the wrapper carries
   the chevron, since the field itself may hold a plain input instead. */
.ix-auth-field .ix-auth-selectwrap {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.ix-auth-field .ix-auth-selectwrap select {
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
    padding-right: 40px;
}

.ix-auth-field .ix-auth-selectwrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* Custom fields and the account's extra fields are markup WHMCS renders, so
   they arrive as bare Bootstrap controls and are dressed to match the
   fields the theme draws itself. */
.ix-auth-control .form-control,
.ix-auth-control select,
.ix-auth-control input[type="text"] {
    width: 100%;
    height: var(--ix-field-height);
    padding: 0 14px;
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    background-color: var(--bg-muted);
    color: var(--text);
    font-size: 1rem;
}

.ix-auth-control textarea.form-control {
    height: auto;
    padding: 12px 14px;
    line-height: 1.5;
}

.ix-auth-control .form-control:focus,
.ix-auth-control select:focus {
    outline: none;
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

.ix-auth-control label {
    color: var(--text);
    font-size: 0.9375rem;
}

/* The phone field is wrapped by WHMCS's intl-tel-input, which insets the
   text to clear the flag and the dial code beside it — how far depends on
   how many digits that code has, which is what its iti-sdc-N classes carry.
   The field itself draws no mark of its own, so the flag takes that place.

   The selectors say `input`, not `input.field`: WHMCS replaces the input
   this template writes with one of its own, carrying .form-control and
   nothing else. */
/* Only while the widget is off: once it is on, WHMCS wraps the input in
   .intl-tel-input, the rule stops matching, and the ladder below takes over
   with the inset the flag needs. */
.ix-auth-field.is-phone > .form-control {
    padding-left: 14px;
}

/* Stretched, not centred: the flag and the dial code are positioned against
   this block, so anything shorter than the field leaves them floating in a
   box of their own inside it. */
.ix-auth-field .intl-tel-input {
    flex: 1 1 auto;
    align-self: stretch;
    min-width: 0;
}

/* The input fills the block it was wrapped in, both ways.

   The width is not a detail: the rule above gives every field `width: 1%`,
   which is Bootstrap's idiom for an input whose real width comes from
   `flex: 1 1 auto` as a flex item of the shell. Wrapped by the widget, the
   input is no longer that flex item, so 1% becomes its actual width — a few
   pixels, entirely covered by the inset the flag needs, and the field reads
   as locked because there is nothing left to click or type into. The height
   keeps its text on the middle of a stretched box. */
.ix-auth .intl-tel-input input {
    width: 100%;
    height: 100%;
    padding-left: 58px;
}

.ix-auth .intl-tel-input.allow-dropdown input {
    padding-left: 68px;
}

.ix-auth .intl-tel-input.separate-dial-code.iti-sdc-2 input {
    padding-left: 74px;
}

.ix-auth .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input {
    padding-left: 84px;
}

.ix-auth .intl-tel-input.separate-dial-code.iti-sdc-3 input {
    padding-left: 82px;
}

.ix-auth .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input {
    padding-left: 92px;
}

.ix-auth .intl-tel-input.separate-dial-code.iti-sdc-4 input {
    padding-left: 90px;
}

.ix-auth .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input {
    padding-left: 100px;
}

/* The widget pads the box that holds the flag by a pixel, which on a dark
   field shows as a seam between that ground and the field's edge. The
   padding goes, and the corner is rounded one pixel tighter than the
   field's, because it sits inside its border. */
.ix-auth .intl-tel-input .flag-container {
    padding: 0;
}

.ix-auth .intl-tel-input .selected-flag {
    height: 100%;
    border-radius: calc(var(--rounding-md) - 1px) 0 0 calc(var(--rounding-md) - 1px);
}

/* The flag opens a list, so it takes the keyboard and shows a focus ring of
   the browser's — a square drawn over a rounded corner. The theme's own is
   put in its place, inside the edge so nothing is clipped. */
.ix-auth .intl-tel-input .selected-flag:focus-visible {
    outline: 2px solid var(--ix-accent);
    outline-offset: -2px;
}

.ix-auth .intl-tel-input .selected-flag:focus:not(:focus-visible) {
    outline: none;
}

.ix-auth .intl-tel-input.separate-dial-code .selected-dial-code {
    padding-left: 26px;
    font-size: 0.8125rem;
}

/* The widget's colours are not the sign-in pages' business: the same phone
   field stands on the account's details, on a contact, and wherever else
   WHMCS asks for a number, and its list is white until this says otherwise.
   Only the geometry above stays with .ix-auth, which is where that field
   shell lives. */
.intl-tel-input.separate-dial-code .selected-flag,
.intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
    background-color: var(--bg-accented);
}

.intl-tel-input .selected-dial-code {
    color: var(--text-muted);
}

.intl-tel-input .country-list {
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg-lifted);
    box-shadow: var(--ix-shadow-md);
    color: var(--text);
}

.intl-tel-input .country-list .country.highlight,
.intl-tel-input .country-list .country:hover {
    background-color: var(--bg-accented);
}

.intl-tel-input .country-list .country-name {
    color: var(--text);
}

.intl-tel-input .country-list .divider {
    border-bottom-color: var(--border);
}

.intl-tel-input .country-list .dial-code {
    color: var(--text-muted);
}

/* ---- The password tools on the register form -------------------------- */

/* The button that makes a password and the meter that judges one, side by
   side under the two fields. PasswordStrength.js writes into both the bar
   and the label, so only their dress is set here. */
.ix-auth-passtools {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.ix-auth-passtools .ix-btn {
    flex: none;
}

.ix-auth-strength-meter {
    flex: 1 1 auto;
    min-width: 0;
}

.ix-auth-strength-meter .progress {
    height: 6px;
    margin: 0;
    border-radius: 999px;
    background-color: var(--bg-accented);
}

.ix-auth-strength-meter .progress-bar {
    border-radius: 999px;
    transition: width var(--ix-transition), background-color var(--ix-transition);
}

.ix-auth-strength-meter p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* What PasswordStrength.js says when the two do not match or the password
   is refused. */
#passwdFeedback {
    margin-bottom: 14px;
}

/* ---- The mailing list's answer, as a switch ---------------------------- */

/* One question with two states reads better as a switch than as a box. The
   same object as the cart's checkout draws, written out again here because
   that one is scoped to the cart and its stylesheet is not loaded on this
   page. The checkbox stays — it carries the name WHMCS posts — and only its
   box goes. */
.ix-auth-optin {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
}

/* Hidden, not removed: display:none would take it out of the tab order and
   off the keyboard, and the track below has no state of its own. */
.ix-auth-optin input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.ix-auth-optin-track {
    position: relative;
    flex: none;
    width: 48px;
    height: 28px;
    border: 1px solid var(--border-lifted);
    border-radius: 999px;
    background-color: var(--bg-muted);
    transition: background-color var(--ix-transition),
                border-color var(--ix-transition);
}

.ix-auth-optin-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--grayscale-accented);
    box-shadow: var(--ix-shadow-sm);
    transition: transform var(--ix-transition),
                background-color var(--ix-transition);
}

.ix-auth-optin:hover .ix-auth-optin-track {
    border-color: var(--ix-accent-border);
}

.ix-auth-optin input:checked + .ix-auth-optin-track {
    border-color: var(--ix-accent);
    background-color: var(--ix-accent);
}

.ix-auth-optin input:checked + .ix-auth-optin-track::after {
    background-color: var(--ix-accent-contrast);
    transform: translateX(20px);
}

/* The ring goes on the track: the input it answers for cannot be seen. */
.ix-auth-optin input:focus-visible + .ix-auth-optin-track {
    box-shadow: var(--ix-ring);
}

/* Off is muted, on is plain text: the state is readable without colour
   alone carrying it, since the knob has moved as well. */
.ix-auth-optin-text {
    color: var(--text-muted);
    transition: color var(--ix-transition);
}

.ix-auth-optin input:checked ~ .ix-auth-optin-text {
    color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
    .ix-auth-optin-track,
    .ix-auth-optin-track::after {
        transition: none;
    }
}

/* ---- A checkbox on its own line --------------------------------------- */

.ix-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

.ix-auth-check input {
    margin-top: 2px;
}

/* ---- Other ways in, and the way out ---------------------------------- */

.ix-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 20px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ix-auth-divider::before,
.ix-auth-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background-color: var(--border);
}

/* The rule with a word set into it that linkedaccounts.tpl draws above the
   social buttons. Everything that dressed it in the parent hung off the
   register page's id, which this theme does not use. */
.ix-auth .sub-heading {
    position: relative;
    height: 0;
    margin: 6px 0 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.ix-auth .sub-heading span {
    display: inline-block;
    position: relative;
    top: -11px;
    padding: 0 14px;
    background-color: var(--bg-lifted);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ix-auth-social .social-signin-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ix-auth-foot {
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.ix-auth-foot a {
    font-weight: 600;
}

/* The way back is not a second action: it is muted until the pointer is on
   it, and the arrow says which direction it goes. */
.ix-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
}

.ix-auth-back:hover,
.ix-auth-back:focus {
    color: var(--ix-accent);
}

/* Under a laptop the two columns no longer both fit, and a squeezed panel
   would only push the form into a column too narrow to read. The form takes
   the whole band and the panel is left out — its argument is for someone
   deciding whether to sign in, not for someone already typing. */
@media (max-width: 991.98px) {
    .ix-auth-band,
    .ix-auth-band-wide {
        grid-template-columns: minmax(0, 1fr);
        padding-block: 48px 56px;
    }

    .ix-auth-aside {
        display: none;
    }

    .ix-auth {
        max-width: 420px;
        margin-inline: auto;
    }

    /* The register form keeps its width: it is two fields to a row down to
       the phone breakpoint, and 420px would stack everything far too soon. */
    .ix-auth-band-wide .ix-auth {
        max-width: 620px;
    }
}

@media (max-width: 575.98px) {
    .ix-auth-band,
    .ix-auth-band-wide {
        padding-block: 32px 40px;
    }

    /* One field to a row: two of them share too little width to read. */
    .ix-auth-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ix-auth-passtools {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ix-auth {
        padding: 24px 20px 22px;
    }

    .ix-auth-title {
        font-size: 1.375rem;
    }

    /* Too narrow for the image and the field side by side: the image takes
       a line of its own, centred, and the field the whole of the next one.
       flex-basis alone left it sharing the line's remainder, which is where
       the short field came from. */
    .ix-auth-captcha-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* The image takes the line it is on, at its own proportions — a bitmap
       WHMCS draws small, and easier to read enlarged than left as a stamp in
       the corner of a wide box. */
    .ix-auth-captcha-image {
        width: 100%;
        height: auto;
    }

    .ix-auth-captcha-input {
        flex: 1 0 100%;
        width: 100%;
    }
}

/* ====================================================================== */
/* Homepage                                                               */
/* ====================================================================== */

/* WHMCS wraps page content in #main-body > .container > .row >
   .primary-content. The marketing sections are full-bleed, so on the homepage
   only, that wrapper stops constraining them and each section draws its own
   gutter with .ix-container. */
.ix-page-homepage section#main-body {
    padding: 0;
}

.ix-page-homepage section#main-body > .container {
    max-width: none;
    padding: 0;
}

.ix-page-homepage section#main-body > .container > .row {
    margin: 0;
}

.ix-page-homepage .primary-content {
    padding: 0;
}

.ix-section {
    padding: 72px 0;
}

.ix-section-head {
    max-width: 640px;
    margin: 0 auto 42px;
    text-align: center;
}

.ix-section-head-inline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
    text-align: left;
}

.ix-section-eyebrow {
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ix-accent);
}

.ix-section-title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-lifted);
}

.ix-section-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.ix-section-more {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ix-accent);
    white-space: nowrap;
}

/* ---- Hero ------------------------------------------------------------ */

.ix-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 72px;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
}

.ix-hero-glow {
    position: absolute;
    top: -320px;
    left: 50%;
    width: 900px;
    height: 640px;
    max-width: 140vw;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, var(--ix-accent-soft), transparent 68%);
    pointer-events: none;
}

.ix-hero-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 13px;
    border: 1px solid var(--ix-accent-border);
    border-radius: 999px;
    background-color: var(--ix-accent-soft);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ix-accent);
}

.ix-hero-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-lifted);
}

.ix-hero-text {
    margin: 0 auto 32px;
    max-width: 56ch;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.ix-hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 22px;
}

.ix-domain-field {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
}

.ix-domain-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.ix-domain-input {
    width: 100%;
    height: var(--ix-field-height);
    padding: 0 16px 0 42px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border-lifted);
    border-radius: var(--rounding-md);
    color: var(--text);
    font-size: 1rem;
}

.ix-domain-input::placeholder {
    color: var(--text-muted);
}

.ix-domain-input:focus {
    outline: none;
    border-color: var(--ix-accent);
    box-shadow: var(--ix-ring);
}

.ix-domain-actions {
    display: flex;
    gap: 10px;
}

.ix-domain-actions .ix-btn {
    height: var(--ix-field-height);
    white-space: nowrap;
}

.ix-tld-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.ix-tld {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 7px 13px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8125rem;
}

.ix-tld-name {
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-tld-price {
    color: var(--text-muted);
}

.ix-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ix-accent);
}

/* ---- Service cards --------------------------------------------------- */

.ix-service-grid,
.ix-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.ix-service-card,
.ix-feature,
.ix-testimonial {
    padding: 26px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    transition: border-color var(--ix-transition), transform var(--ix-transition);
}

.ix-service-card:hover,
.ix-feature:hover {
    border-color: var(--ix-accent-border);
    transform: translateY(-2px);
}

.ix-service-name {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-service-tagline {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ix-service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ix-accent);
}

/* ---- Features -------------------------------------------------------- */

.ix-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-size: 1.0625rem;
}

.ix-feature-title {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-feature-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- Pricing --------------------------------------------------------- */

.ix-pricing {
    background-color: var(--bg-muted);
}

.ix-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
}

.ix-plan-featured {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-shadow-md);
}

/* The plan cards — the homepage's, the group pages' and the SSL page's
   certificates — answer the pointer as the "why us" cards under them do.
   The recommended plan keeps its solid accent border: the hover's softer
   one would fade it. In the carousels (.ix-store-certs) the 2px lift stays
   inside, whose top padding already leaves room for the plan's flag. */
.ix-home-plan,
.ix-store-cert {
    transition: border-color var(--ix-transition), transform var(--ix-transition);
}

.ix-home-plan:hover,
.ix-store-cert:hover {
    transform: translateY(-2px);
}

.ix-home-plan:not(.ix-plan-featured):hover,
.ix-store-cert:not(.ix-plan-featured):hover {
    border-color: var(--ix-accent-border);
}

/* The homepage's and the group pages' plans and the SSL page's
   certificates order on a click anywhere (initClickableCards() in
   js/ix.js). */
.ix-home-plan,
.ix-store-cert {
    cursor: pointer;
}

.ix-plan-flag {
    position: absolute;
    top: -11px;
    left: 24px;
    padding: 3px 11px;
    border-radius: 999px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ix-plan-name {
    margin: 0 0 14px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 4px;
}

.ix-plan-amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-lifted);
}

.ix-plan-cycle {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.ix-plan-cta {
    margin-top: 22px;
    width: 100%;
}

/* ---- Testimonials ---------------------------------------------------- */

/* Three to a row where they fit, stretched to the tallest, so the results at
   their feet line up. */
.ix-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Four would fit four across on a wide screen, each a narrow column of a
   long quote; two by two keeps the quotes readable and the rows even. */
@media (min-width: 768px) {
    .ix-testimonial-grid.is-count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* The accent glow in the corner the quote mark sits in, as on the CTA band:
   enough to lift the cards off the section without a colour of their own. */
.ix-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 30px 28px 26px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, var(--ix-accent-soft), transparent 55%),
        var(--bg-lifted);
}

/* Large and faint, behind the speaker's line: a mark, not an icon to read. */
.ix-testimonial-mark {
    position: absolute;
    top: 22px;
    right: 24px;
    color: var(--ix-accent);
    font-size: 2.75rem;
    opacity: 0.25;
}

/* The speaker first: logo, name, role. Right padding keeps a long name off
   the quote mark. */
.ix-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-right: 48px;
}

.ix-testimonial-who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* The logos are the clients' own artwork, round already and drawn for a
   light ground, so they keep their colours; the ring in the accent gives the
   white ones an edge against the card and ties all three to the page. */
.ix-testimonial-logo {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg-lifted), 0 0 0 4px var(--ix-accent-border);
    object-fit: cover;
}

/* A square logo with a transparent ground, drawn for a light page: set on a
   white disc and inset, so its lettering shows and the circle clips only
   empty corners. */
.ix-testimonial-logo.is-padded {
    padding: 5px;
    background-color: var(--ix-logo-ground);
    object-fit: contain;
}

.ix-testimonial-name {
    font-weight: 700;
    color: var(--text-lifted);
    line-height: 1.35;
}

.ix-testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.ix-testimonial-quote {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* The result the client names, at the card's foot: the result above, what
   it is below, each on a line of its own. Set side by side on one baseline,
   a result in words ("Free migration") and its small grey line read as one
   sentence broken in two sizes; stacked, a figure and a phrase both read as
   a result with its caption. A size down from a figure's, so two words in
   the accent do not shout. */
.ix-testimonial-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.ix-testimonial-result strong {
    color: var(--ix-accent);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ix-testimonial-result span {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

/* ---- Swipe rows on a phone (homepage, about page) --------------------- */

/* A grid marked .ix-swipe — the services, the reasons, the testimonials —
   becomes a row to swipe on a phone: one card in view and the edge of the
   next, which says there is more without a word. Six illustrated cards
   stacked down a narrow screen were several screens of scrolling for one
   section. The row runs to
   the screen's edges, past the container's gutter, and snaps each card to
   the same gutter. The count under it is kept by the script in
   includes/swipe-status.tpl. The about page has one such row, its
   testimonials. */
@media (max-width: 575.98px) {
    .ix-home .ix-swipe,
    .ix-about .ix-swipe {
        display: flex;
        gap: 12px;
        margin-inline: -16px;
        padding: 4px 16px 12px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
    }

    .ix-home .ix-swipe::-webkit-scrollbar,
    .ix-about .ix-swipe::-webkit-scrollbar {
        display: none;
    }

    .ix-home .ix-swipe > *,
    .ix-about .ix-swipe > * {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .ix-home .ix-swipe:focus-visible,
    .ix-about .ix-swipe:focus-visible {
        box-shadow: var(--ix-ring);
        outline: none;
    }
}

/* ---- Hero (homepage) ------------------------------------------------ */

/* The store hero's layout, with two ways on instead of a search: the plans
   and the domain section further down. */
.ix-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

/* On a phone the two share a row: at the full 20px sides they missed it by
   a few pixels on a 400px screen and stacked. Growing to fill the row, they
   end together on the right; on a screen too narrow even so, each wraps to
   a full-width row of its own. */
@media (max-width: 575.98px) {
    .ix-home-hero-actions {
        gap: 8px;
    }

    .ix-home-hero-actions .ix-btn {
        flex: 1 1 auto;
        padding-inline: 14px;
    }
}

/* The three facts a visitor weighs first: the price, the guarantee, how soon
   the account works. Small and quiet, under the buttons they back up. */
.ix-home-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ix-home-hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ix-home-hero-facts i {
    color: var(--ix-accent);
}

/* ---- Stats ----------------------------------------------------------- */

/* The group pages' facts strip, with the figure as the lead line. It follows
   the hero on the same ground, so it needs no top padding of its own. */
.ix-home-stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 24px;
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    background-color: var(--bg-lifted);
    list-style: none;
}

.ix-home-stats-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

/* Set a touch tighter than the caption's 1.45, so figure and caption read
   as one item rather than two lines. */
.ix-home-stats-list strong {
    display: block;
    color: var(--text-lifted);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.1;
}

/* ---- Services (homepage) --------------------------------------------- */

/* The whole card is the link, so the target is the card rather than the
   small line at its foot; the line stays as the visible cue. */
.ix-home-service {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.ix-home-service:hover,
.ix-home-service:focus {
    color: inherit;
    text-decoration: none;
}

.ix-home-service:focus-visible {
    box-shadow: var(--ix-ring);
    outline: none;
}

/* The link line sits at the card's foot, level across a row whatever the
   length of the text above it. */
.ix-home-service .ix-feature-text {
    margin-bottom: 16px;
}

.ix-home-service .ix-service-link {
    margin-top: auto;
}

/* ---- Plans (homepage) ------------------------------------------------ */

/* Cards stretch to the tallest, and the features list grows to fill each
   one, which keeps the order buttons level across plans. */
.ix-home-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* The plan illustration as the group page's cards carry it (there through
   .ix-store-cert): inset, and its window on the page's ground rather than
   the card's, so it reads as a screen. */
.ix-home-plan .ix-store-art {
    width: 84%;
    margin: 4px auto 22px;
}

.ix-home-plan .ix-store-art-window,
.ix-home-plan .ix-store-art-tray {
    background-color: var(--bg);
}

/* The head centred, as on the group page's cards: the name, the price and
   the monthly note sit between a centred illustration and a full-width
   button. The features stay left, where the ticks keep one edge. */
.ix-home-plan .ix-plan-name,
.ix-home-plan .ix-cart-plan-note {
    text-align: center;
}

.ix-home-plan .ix-plan-price {
    justify-content: center;
}

.ix-home-plans-more {
    margin: 28px 0 0;
    text-align: center;
}

/* ---- Moving here, and the guarantee ---------------------------------- */

.ix-home-move {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.ix-home-move.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.ix-home-steps {
    display: grid;
    gap: 16px;
    margin: 26px 0 28px;
    padding: 0;
    list-style: none;
}

.ix-home-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ix-home-steps strong {
    display: block;
    color: var(--text-lifted);
}

.ix-home-step-num {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--ix-accent-border);
    border-radius: 50%;
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-weight: 800;
}

/* The CTA band's card, centred: a promise with its terms under it. */
.ix-home-guarantee {
    padding: 34px 30px;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-lg);
    background:
        radial-gradient(ellipse at top, var(--ix-accent-soft), transparent 65%),
        var(--bg-lifted);
    text-align: center;
}

.ix-home-guarantee-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin-bottom: 18px;
    border: 2px solid var(--ix-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--ix-accent-soft);
    line-height: 1;
}

.ix-home-guarantee-badge strong {
    color: var(--text-lifted);
    font-size: 2.25rem;
    font-weight: 800;
}

.ix-home-guarantee-badge span {
    margin-top: 4px;
    color: var(--ix-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ix-home-guarantee-title {
    margin: 0 0 10px;
    color: var(--text-lifted);
    font-size: 1.375rem;
    font-weight: 700;
}

.ix-home-guarantee-text {
    margin: 0 0 16px;
    color: var(--text);
    line-height: 1.65;
}

.ix-home-guarantee-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .ix-home-move {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

/* ---- Domains (homepage) ---------------------------------------------- */

/* One card in three columns: the illustration, the search, and what each
   extension costs, the tiles only as wide as a price needs. The CTA band's
   accent edge and glow, so it reads as the page's second invitation after
   the plans. */
.ix-home-domains-card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) auto;
    gap: 36px;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-lg);
    background:
        radial-gradient(ellipse at top left, var(--ix-accent-soft), transparent 60%),
        var(--bg-lifted);
}

.ix-home-domains-card.is-single {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
}

/* The domains page's hero drawing, at the size of the column. */
.ix-home-domains-art .ix-domains-art {
    max-width: none;
    margin: 0;
}

.ix-home-domains-copy .ix-section-text {
    margin-bottom: 24px;
}

/* Left-aligned under the copy, where the store hero's search is centred. */
.ix-home-domains-search {
    justify-content: flex-start;
    margin-bottom: 18px;
}

/* Two by two: four extensions is what domains.pricingTlds lists. More wrap
   into further rows of two. A fixed width, wide enough for a price with its
   term, so the tiles stay small rather than sharing out the card. */
.ix-home-tlds {
    display: grid;
    grid-template-columns: repeat(2, 136px);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-home-tld {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 14px 14px;
    border: 1px solid var(--border);
    border-radius: var(--rounding-md);
    background-color: var(--bg);
}

.ix-home-tld.is-featured {
    border-color: var(--ix-accent);
    box-shadow: var(--ix-shadow-md);
}

.ix-home-tld-flag {
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 2px 9px;
    border-radius: 999px;
    background-color: var(--ix-accent);
    color: var(--ix-accent-contrast);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ix-home-tld-name {
    color: var(--text-lifted);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ix-home-tld-price {
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 700;
}

.ix-home-tld-term {
    color: var(--text-muted);
    font-weight: 400;
}

/* Under 1200px three columns leave the search too narrow for its field and
   buttons on one line: the illustration goes, the search and the tiles stay
   side by side. */
@media (max-width: 1199.98px) {
    .ix-home-domains-card,
    .ix-home-domains-card.is-single {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ix-home-domains-card.is-single {
        grid-template-columns: minmax(0, 1fr);
    }

    .ix-home-domains-art {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .ix-home-domains-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    /* Stacked under the search, the tiles keep their width and would sit
       against the left edge with a gap on the right: centred instead. */
    .ix-home-tlds {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .ix-home-domains-card {
        padding: 24px 20px;
    }
}

/* ---- Call to action -------------------------------------------------- */

.ix-cta {
    padding: 0 0 72px;
}

.ix-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 38px;
    border: 1px solid var(--ix-accent-border);
    border-radius: var(--rounding-lg);
    background:
        radial-gradient(ellipse at top left, var(--ix-accent-soft), transparent 62%),
        var(--bg-lifted);
}

.ix-cta-title {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-cta-text {
    margin: 0;
    max-width: 52ch;
    color: var(--text-muted);
    line-height: 1.65;
}

.ix-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* On a phone as the homepage hero's pair: sharing the row where both fit,
   each on a full-width row where they do not. At their own widths they
   stacked as two uneven buttons against the left edge. A band with a single
   button gives it the whole row too, as the homepage's and the plans' bands
   give theirs (.ix-cart-cta-order). */
@media (max-width: 575.98px) {
    .ix-cta-actions {
        flex: 1 1 100%;
        gap: 8px;
    }

    .ix-cta-actions .ix-btn {
        flex: 1 1 auto;
        padding-inline: 14px;
    }
}

@media (max-width: 767.98px) {
    .ix-section,
    .ix-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .ix-cta {
        padding-bottom: 48px;
    }

    .ix-cta-inner {
        padding: 26px;
    }

    .ix-domain-actions {
        width: 100%;
    }

    .ix-domain-actions .ix-btn {
        flex: 1 1 0;
    }

    .ix-section-head-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ====================================================================== */
/* Domains illustration (includes/domains-art.tpl)                        */
/* ====================================================================== */

/* Drawn for the domains page's hero and the homepage's domain section, both
   of which load ix-store.css; it is here instead because the dashboard's
   "register a domain" panel carries it too, and that page loads only the
   layers every page has. */

.ix-domains-art {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
}

.ix-domains-art svg {
    display: block;
    width: 100%;
    height: auto;
    font-family: inherit;
}

.ix-domains-art-glow-in {
    stop-color: var(--ix-accent);
    stop-opacity: 0.18;
}

.ix-domains-art-glow-out {
    stop-color: var(--ix-accent);
    stop-opacity: 0;
}

.ix-domains-art-line {
    fill: none;
    stroke: var(--border-accented);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.ix-domains-art-chip {
    fill: var(--bg-lifted);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-domains-art-chip.is-filled {
    fill: var(--ix-accent);
    stroke: none;
}

.ix-domains-art-chip-text {
    fill: var(--ix-accent);
    font-size: 16px;
    font-weight: 700;
    text-anchor: middle;
}

.ix-domains-art-chip-text.is-filled {
    fill: var(--ix-accent-contrast);
}

.ix-domains-art-window {
    fill: var(--bg-lifted);
    stroke: var(--ix-accent-border);
    stroke-width: 1.5;
}

.ix-domains-art-rule {
    stroke: var(--border);
    stroke-width: 1.5;
}

.ix-domains-art-dot {
    fill: var(--border-accented);
}

.ix-domains-art-bar {
    fill: var(--bg-muted);
    stroke: var(--border-lifted);
    stroke-width: 1.5;
}

.ix-domains-art-lock {
    fill: var(--ix-tint-success-fg);
}

.ix-domains-art-shackle {
    fill: none;
    stroke: var(--ix-tint-success-fg);
    stroke-width: 2;
}

.ix-domains-art-url {
    fill: var(--text-lifted);
    font-size: 15px;
    font-weight: 600;
}

.ix-domains-art-url .is-muted {
    fill: var(--text-muted);
    font-weight: 400;
}

.ix-domains-art-ok {
    fill: var(--success);
}

.ix-domains-art-tick {
    fill: none;
    stroke: var(--ix-accent-contrast);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-domains-art-ph {
    fill: var(--bg-accented);
}

.ix-domains-art-picture {
    fill: var(--border-lifted);
}

.ix-domains-art-btn {
    fill: var(--ix-accent);
}

.ix-domains-art-btn-ghost {
    fill: none;
    stroke: var(--border-lifted);
    stroke-width: 1.5;
}

.ix-domains-art-badge {
    fill: var(--bg-accented);
    stroke: var(--ix-tint-success-fg);
    stroke-width: 1.5;
}

.ix-domains-art-badge-text {
    fill: var(--text-lifted);
    font-size: 15px;
    font-weight: 700;
}

/* ====================================================================== */
/* Content pages (ix-page.tpl)                                            */
/* ====================================================================== */

/* Shares the legal pages' heading, section title and prose styles; only the
   layout around them is its own. */
.ix-page {
    padding-block: 16px 56px;
}

.ix-page-highlights {
    margin-bottom: 48px;
}

/* A content page's cards are few and wide — half the page each, for two
   lines of text — so the homepage's shape, the icon on a line of its own over
   the title, left them tall and mostly empty. Here the icon stands beside
   the title and the text, across both. They are not links either, so the
   homepage's hover — the lift and the coloured edge — which promised a click
   that goes nowhere, and left one card out of line with the other, is not
   given to them. */
.ix-page-highlights .ix-feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    column-gap: 18px;
    padding: 22px 24px;
}

.ix-page-highlights .ix-feature:hover {
    border-color: var(--border);
    transform: none;
}

.ix-page-highlights .ix-feature-icon {
    grid-row: 1 / span 2;
    margin: 0;
}

.ix-page-highlights .ix-feature-title {
    margin-top: 2px;
}

.ix-page-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 12px 40px;
    padding-block: 32px;
    border-top: 1px solid var(--border-muted);
}

.ix-page-section .ix-legal-section-title {
    margin: 0;
}

/* The legal terms page's panels (ix-page.tpl, groups). Two columns, each a
   stack of panels, balanced by rows in the config so both end level without
   stretching a panel or its rows. */
.ix-legal-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.ix-legal-index-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ix-legal-index-panel {
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    overflow: hidden;
}

.ix-legal-index-heading {
    margin: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ix-legal-index-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ix-legal-index-list li + li {
    border-top: 1px solid var(--border-muted);
}

/* The whole row is the link, so it is easy to hit on a phone. */
.ix-legal-index-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-lifted);
    text-decoration: none;
    transition: background-color var(--ix-transition);
}

.ix-legal-index-row:hover,
.ix-legal-index-row:focus {
    background-color: var(--ix-accent-soft);
    color: var(--text-lifted);
    text-decoration: none;
}

.ix-legal-index-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rounding-md);
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

.ix-legal-index-text {
    flex: 1;
    min-width: 0;
}

.ix-legal-index-title {
    display: block;
    font-weight: 600;
}

.ix-legal-index-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.ix-legal-index-arrow {
    flex: none;
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color var(--ix-transition), transform var(--ix-transition);
}

.ix-legal-index-row:hover .ix-legal-index-arrow,
.ix-legal-index-row:focus .ix-legal-index-arrow {
    color: var(--ix-accent);
    transform: translateX(2px);
}

/* One column: the column wrappers drop out of the layout, so the panels sit
   in one stack and their order attributes restore the config's sequence —
   otherwise Partners would follow Contract, as it does in the left column.
   Stretch, because the grid's align-items: start acts across a flex column,
   and left in place it shrinks each panel to the width of its longest title. */
@media (max-width: 991.98px) {
    .ix-legal-index {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .ix-legal-index-col {
        display: contents;
    }
}

.ix-page-cta {
    margin-top: 48px;
}

@media (max-width: 767.98px) {
    .ix-page-section {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ====================================================================== */
/* Not found (error/page-not-found.tpl)                                   */
/* ====================================================================== */

/* Every page built on this block — the 404 and the unknown route, the ban,
   the gone invitation, the rate limit, a marketing e-mail's link, and the
   cart's error and fraud pages —
   is centred in the height #main-body is given. The parent gives it a
   min-height so a short page still keeps the footer down, and left at the
   top the few lines sat over a void. No height is added. A column, as the
   cart's own rule in ix-store.css has it, so the container keeps stretching
   across and its max-width and auto margins centre it as before. */
section#main-body:has(.ix-notfound) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* The homepage hero's glow and type, scaled to a page with nothing else on
   it. Relative, so the glow is placed against the block and not the page. */
.ix-notfound {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding-block: 64px 88px;
    text-align: center;
}

/* ---- A store product that cannot be sold (store/not-found.tpl) -------- */

/* The empty-state card inside the 404's block. Amber, as the denied pages':
   nothing is broken, the product is only not on sale. */
.ix-store-unavailable-icon {
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
}

/* Which product it was, small, under the sentence and close to it. */
.ix-client-empty .ix-store-unavailable-ref {
    margin: -6px 0 16px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ix-store-unavailable-ref b {
    color: var(--text);
    font-weight: 600;
}

.ix-store-unavailable-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* As the homepage hero's pair on a phone (.ix-home-hero-actions). */
@media (max-width: 575.98px) {
    .ix-store-unavailable-actions {
        gap: 8px;
    }

    .ix-store-unavailable-actions .ix-btn {
        flex: 1 1 auto;
        padding-inline: 14px;
    }
}

/* ---- A banned address (banned.tpl) ------------------------------------ */

/* The 404's shell, in the colour of a refusal: the same centred state page,
   since there is nothing to do on either. */
.ix-banned-glow {
    background: radial-gradient(ellipse at center, var(--ix-tint-error-bg), transparent 68%);
}

.ix-banned-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--rounding-lg);
    background-color: var(--ix-tint-error-bg);
    color: var(--ix-tint-error-fg);
    font-size: 1.5rem;
}

.ix-banned .ix-notfound-title {
    overflow-wrap: anywhere;
}

/* ---- Too many requests (error/rate-limit-exceeded.tpl) ---------------- */

/* The 404's and the internal error page's measure, so the error pages read
   at one width; the shared 46ch broke this line a word short. */
.ix-ratelimit .ix-notfound-text {
    max-width: 34rem;
}

/* The same state page in the warning's tint: a pause that lifts by itself,
   not an error and not a refusal. */
.ix-ratelimit-glow {
    background: radial-gradient(ellipse at center, var(--ix-tint-warning-bg), transparent 68%);
}

.ix-ratelimit-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--rounding-lg);
    background-color: var(--ix-tint-warning-bg);
    color: var(--ix-tint-warning-fg);
    font-size: 1.5rem;
}

/* ---- A marketing e-mail's link (subscription-manage.tpl) -------------- */

/* The same state page in success's tint once the change is made; WHMCS's
   information keeps the accent, and an error borrows the ban's red. Here and
   not in ix-client.css: the link is opened from an e-mail, mostly signed out. */
.ix-subscription-glow {
    background: radial-gradient(ellipse at center, var(--ix-tint-success-bg), transparent 68%);
}

.ix-subscription-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--rounding-lg);
    background-color: var(--ix-tint-success-bg);
    color: var(--ix-tint-success-fg);
    font-size: 1.5rem;
}

.ix-subscription-icon.is-info {
    background-color: var(--ix-accent-soft);
    color: var(--ix-accent);
}

/* The reason and the date, as rows rather than as a bulleted list: they are
   two facts, and a list of two bullets reads as an afterthought. */
.ix-banned-facts {
    max-width: 440px;
    margin: 26px auto 0;
    padding: 4px 18px;
    background-color: var(--bg-lifted);
    border: 1px solid var(--border);
    border-radius: var(--rounding-lg);
    text-align: left;
}

.ix-banned-fact {
    display: grid;
    grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
    gap: 4px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-muted);
}

.ix-banned-fact:first-child {
    border-top: 0;
}

.ix-banned-fact dt {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.ix-banned-fact dd {
    margin: 0;
    color: var(--text-lifted);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .ix-banned-fact {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}

.ix-notfound-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 760px;
    height: 520px;
    max-width: 100vw;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, var(--ix-accent-soft), transparent 68%);
    pointer-events: none;
}

/* Everything else stacks above the glow, which comes first in the markup. */
.ix-notfound > :not(.ix-notfound-glow) {
    position: relative;
}

/* Clipped to the text so the numeral fades from the heading colour into the
   accent, rather than being one more flat block of indigo. */
.ix-notfound-code {
    margin: 0 0 8px;
    font-size: clamp(5.5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, var(--text-lifted) 10%, var(--ix-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ix-notfound-title {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-lifted);
}

.ix-notfound-text {
    margin: 0 auto 32px;
    max-width: 46ch;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* The page the broken link was on (unknown-routepath.tpl): a footnote to the
   text, so it sits close under it, smaller, and the text gives up the space
   it otherwise keeps above the button. A long address breaks anywhere rather
   than widening the page. */
.ix-notfound-text:has(+ .ix-notfound-from) {
    margin-bottom: 10px;
}

/* On the 404 the text and the line under it share one measure, set in rem:
   in ch each would take its own font's, and the smaller line broke short of
   the text above it. Wide enough for the 404's sentence to stay on one line
   in both languages. Only here: the invitation and fraud pages share the
   text's class and keep its 46ch. */
.ix-notfound-404 .ix-notfound-text,
.ix-notfound-404 .ix-notfound-from {
    max-width: 34rem;
}

.ix-notfound-from {
    margin: 0 auto 32px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.ix-notfound-from-url {
    color: var(--text);
}

.ix-notfound-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* As the homepage hero's pair on a phone (.ix-home-hero-actions). Only a
   pair, which here is the cart's error page: the 404 and the other states
   have one button, and it stays as wide as its label, centred. */
@media (max-width: 575.98px) {
    .ix-notfound-actions {
        gap: 8px;
    }

    .ix-notfound-actions .ix-btn:not(:only-child) {
        flex: 1 1 auto;
        padding-inline: 14px;
    }
}

.ix-notfound-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-muted);
    font-size: 0.875rem;
}

.ix-notfound-links-label {
    flex-basis: 100%;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.ix-notfound-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border: 1px solid var(--border-lifted);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--ix-transition), border-color var(--ix-transition),
        color var(--ix-transition);
}

.ix-notfound-links a i {
    color: var(--ix-accent);
}

.ix-notfound-links a:hover,
.ix-notfound-links a:focus {
    background-color: var(--ix-accent-soft);
    border-color: var(--ix-accent-border);
    color: var(--text-lifted);
    text-decoration: none;
}

/* The arrow belongs to the phone's list below; the pills do without it. */
.ix-notfound-go {
    display: none;
}

@media (max-width: 767.98px) {
    .ix-notfound {
        padding-block: 40px 56px;
    }
}

/* On a phone three pills wrap two and one, lopsided: the links become a
   list instead, one full-width row each — icon, name, arrow — which reads
   as the menu of ways on it is, and gives the thumb a wide target. */
@media (max-width: 575.98px) {
    .ix-notfound-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .ix-notfound-links-label {
        margin-bottom: 2px;
    }

    .ix-notfound-links a {
        gap: 12px;
        padding: 14px 16px;
        border-radius: var(--rounding-md);
        background-color: var(--bg-lifted);
        text-align: left;
    }

    .ix-notfound-links a span {
        flex: 1 1 auto;
    }

    /* Past .ix-notfound-links a i, which colours the link's own icon. */
    .ix-notfound-links a .ix-notfound-go {
        display: inline;
        color: var(--text-muted);
        font-size: 0.75rem;
    }
}

/* ====================================================================== */
/* Legal pages (ix-legal.tpl)                                             */
/* ====================================================================== */

.ix-legal {
    padding-block: 16px 56px;
}

.ix-legal-head {
    max-width: 760px;
    margin-bottom: 40px;
}

.ix-legal-title {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-lifted);
}

.ix-legal-updated {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.ix-legal-intro {
    margin: 18px 0 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.ix-legal-missing .ix-btn {
    margin-top: 24px;
}

.ix-legal-num {
    flex: none;
    color: var(--ix-accent);
    font-variant-numeric: tabular-nums;
}

/* A legal page runs across the whole container, header and text: held to
   760px, the column hugged the left edge and left the right half of a wide
   screen empty. The content pages that borrow .ix-legal-head (ix-page.tpl)
   keep its 760px. */
.ix-legal .ix-legal-head {
    max-width: none;
}

.ix-legal-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-muted);
    /* The sticky header holds both the topbar and the navbar, so a #section-N
       link lands below their combined height rather than under them. */
    scroll-margin-top: calc(var(--ix-topbar-height) + var(--ix-nav-height) + 24px);
}

.ix-legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.ix-legal-section-title {
    display: flex;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-lifted);
}

.ix-legal-prose {
    line-height: 1.75;
    color: var(--text);
}

.ix-legal-prose p,
.ix-legal-prose ul,
.ix-legal-prose ol {
    margin: 0 0 14px;
}

.ix-legal-prose > :last-child {
    margin-bottom: 0;
}

.ix-legal-prose ul,
.ix-legal-prose ol {
    padding-left: 1.25rem;
}

.ix-legal-prose li + li {
    margin-top: 6px;
}

.ix-legal-prose li::marker {
    color: var(--ix-accent);
}

.ix-legal-prose h3 {
    margin: 22px 0 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-lifted);
}

.ix-legal-prose a {
    color: var(--ix-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ix-legal-prose a:hover {
    color: var(--ix-accent-hover);
}

/* On a content page — the about page's contact line — the links are a word
   or two in short text, marked enough by the accent: no underline, under
   the pointer or not (see ix-bootstrap.css). The legal pages keep theirs,
   links in long text. */
.ix-page-section .ix-legal-prose a {
    text-decoration: none;
}

.ix-legal-prose strong {
    color: var(--text-lifted);
}
