/* CoAI Host brand layer for the ShufyTheme child theme "coaihost" (coaihost repo:
   whmcs/templates/coaihost/assets/brand/brand.css; docs/theme/OVERRIDES.md). Our own CSS; loaded last by
   includes/head.tpl, after the theme, the addon's css-values and any custom CSS.

   Palette (owner decision 2026-10-07): the Shufy cyan #0cbed5 stays the accent, with the WCAG AA fixes
     - primary buttons: ink #161c2d on #0cbed5 (7.55:1; the theme's white text is 2.25:1), hover #09aabf (6.07:1)
     - links and outline buttons: #086f7e (5.86:1 on white; the theme's #0cbed5 is 2.25:1), hover #065a66
     - muted text #5b6278 (6.06:1; the theme's #8b93a9 is 3.07:1), secondary muted #646b80 (5.31:1)
     - labels, badges and status chips: darker text on the theme's tints (>= 5:1)
     - danger buttons: white on #b3141f (6.92:1; the theme's #f77481 is 2.70:1)
     - form control edges #8b93a9 (3:1, WCAG 1.4.11; the theme's #e7e9ed is 1.2:1), focus a 2px #086f7e edge
   Cross-site alignment (SHUFY-ALIGN): the same canvas, ink, tracking, secondary and outline buttons, control edges and
   decorative edges as coaiwork.com (web/src/styles/theme.css of coaiwork-backend) and the CoAI Agent console
   (web/console/src/app.css of agentcloud); see the section of that name at the end of this file.
   WHMCS dark mode is not offered at launch (docs/theme/SETTINGS.md): the palette below applies to the light theme only
   (the selector skips [data-theme="dark"] and body.body__dark) and outranks the theme's body / body.theme-style-*
   token blocks by specificity, whatever order the addon writes its css-values in. */

:root,
body {
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-heading: var(--font-body);
}

:root:not([data-theme="dark"]) body:not(.body__dark) {
  --coai-accent: #0cbed5;
  --coai-accent-hover: #09aabf;
  --coai-ink: #161c2d;
  --coai-link: #086f7e;
  --coai-link-hover: #065a66;
  --coai-muted: #5b6278;
  --coai-muted-2: #646b80;
  --coai-border: #e7e9ed;
  --coai-surface: #f5faff;
  --coai-focus: #086f7e;
  --coai-input: #8b93a9;
  --coai-secondary: #f6f7f9;
  --coai-secondary-hover: #eceef2;
  --coai-destructive: #c4202b;

  --background: #fcfdfe;
  --background-4: #0cbed5;
  --color-h: #161c2d;
  --color-texts: #161c2d;
  --color-h-hover: #5b6278;
  --color-texts-opacity: #5b6278;
  --color-h-sub: #646b80;
  --color-gray: #646b80;
  --a-link-color: #086f7e;
  --a-link-color-hover: #065a66;

  --btn-primary-bg: #0cbed5;
  --btn-primary-border: #0cbed5;
  --btn-primary-color: #161c2d;
  --btn-primary-bg-hover: #09aabf;
  --btn-primary-border-hover: #09aabf;
  --btn-primary-color-hover: #161c2d;
  --btn-primary-light-color: #086f7e;
  --btn-primary-light-color-hover: #065a66;
  --btn-default-color: #161c2d;
  --btn-default-color-hover: #161c2d;
  --btn-light-bg: #f6f7f9;
  --btn-light-border: #f6f7f9;
  --btn-light-bg-hover: #eceef2;
  --btn-light-border-hover: #eceef2;
  --btn-light-color: #161c2d;
  --btn-light-color-hover: #161c2d;
  --btn-lighter-color: #4f5468;
  --btn-lighter-color-hover: #4f5468;
  --btn-primary-outlin-bg: #fff;
  --btn-primary-outlin-border: #086f7e;
  --btn-primary-outlin-color: #086f7e;
  --btn-primary-outlin-bg-hover: #0cbed5;
  --btn-primary-outlin-border-hover: #0cbed5;
  --btn-primary-outlin-color-hover: #161c2d;

  --sidebarcolorsdefaultoneitemtexthover: #086f7e;
  --sidebarcolorsdefaultoneitemiconhover: #086f7e;
  --sidebarcolorsdefaultonedropdownitemtext: #5b6278;
  --sidebarcolorsdefaultonedropdownitemicon: #5b6278;
  --sidebarcolorsdefaultonedropdownitemtexthover: #086f7e;
  --sidebarcolorsdefaultonedropdownitemiconhover: #086f7e;

  --alertcolorprimary: #3730c4;
  --alertcolorsecondary: #4f5468;
  --alertcolorsuccess: #0f7a43;
  --alertcolordanger: #a8141f;
  --alertcolorwarning: #7a4a00;
  --alertcolorinfo: #0b5f78;
}

/* ---- components the tokens do not reach ------------------------------------------------------------------------- */
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-danger {
  background-color: #b3141f;
  border-color: #b3141f;
  color: #fff;
}
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-danger:hover,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-danger:focus {
  background-color: #8f0f18;
  border-color: #8f0f18;
  color: #fff;
}
/* the theme colours hovered text with the button cyan (2.25:1 on white) */
:root:not([data-theme="dark"]) body:not(.body__dark) .text-hover-primary:hover,
:root:not([data-theme="dark"]) body:not(.body__dark) .text-hover-gray:hover {
  color: var(--coai-link);
}
/* footer links: the theme dims them to 60% opacity (about 3.4:1) */
.main__footer__wrapper .bottom__footer__wrapper .bottom__footer__links__wrapper .bottom__footer__links__list a {
  opacity: 1;
  color: var(--coai-muted, #5b6278);
}
.main__footer__wrapper .bottom__footer__wrapper .bottom__footer__links__wrapper .bottom__footer__links__list a:hover {
  color: var(--coai-ink, #161c2d);
}

/* keyboard focus: the theme removes outlines in several places */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--coai-focus, #086f7e);
  outline-offset: 2px;
}
/* UNIFIED-NAV content fixes (nav design §2.8 rule 6): six theme rules remove the outline with !important (app.css
   `button { outline: none !important }`, .bootstrap-switch and four widget rules of specificity up to (0,3,0)), and an
   !important declaration beats the rule above whatever its specificity, so no button had a focus ring. This one is
   !important too, at (0,4,1), so it wins over all six. Form fields keep their own focus edge (Form controls, below).
   The shared CoAI navigation (.coai-gbar, .coai-menu, .coai-drawer, .coai-lnav) draws its own ring and offsets
   (coai-nav.css), so this rule leaves it alone. */
:root body :is(a, button, .btn, [tabindex]):focus-visible:not(:is(.coai-gbar, .coai-menu, .coai-drawer, .coai-lnav) *) {
  outline: 2px solid var(--coai-focus, #086f7e) !important;
  outline-offset: 2px;
}
/* The invoice's payment panel (viewinvoice.tpl .view__invoice__page__sidebar) is a --background-4 -> --background-15
   gradient (#0cbed5 -> #834ce4), on which the teal ring falls to 2.6:1 - 1.2:1; the ink colour keeps >= 3.3:1 across it
   (WCAG 1.4.11). Light theme only, like the palette above; (0,6,1) beats the ring rule (0,4,1). */
:root:not([data-theme="dark"]) body:not(.body__dark) .view__invoice__page__sidebar :is(a, button, .btn, [tabindex]):focus-visible {
  outline-color: var(--coai-ink, #161c2d) !important;
}

/* ---- footer (includes/theme-core/footer-layouts/footer-default-layout.tpl) ---------------------------------------- */
.coai-footer .coai-footer__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}
.coai-footer .coai-footer__contact {
  font-style: normal;
}
.coai-footer .footer__contact__methods__item {
  color: var(--coai-muted, #5b6278);
}
.coai-footer .footer__contact__methods__item i {
  margin-top: 0.2em;
}

/* ---- homepage (homepage.tpl) ------------------------------------------------------------------------------------- */
.coai-home {
  padding-top: 32px;
  padding-bottom: 48px;
}
.coai-hero {
  background: linear-gradient(135deg, #f5faff 0%, #eaf9fd 100%);
  border: 1px solid var(--coai-border, #e7e9ed);
  border-radius: 8px;
  padding: 48px 40px;
  margin-bottom: 40px;
}
.coai-hero__eyebrow {
  color: var(--coai-link, #086f7e);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1rem;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.coai-hero__title {
  color: var(--coai-ink, #161c2d);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 22ch;
}
.coai-hero__lead {
  color: var(--coai-muted, #5b6278);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 60ch;
}
.coai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.coai-section-title {
  color: var(--coai-ink, #161c2d);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 2rem;
  margin: 0 0 24px;
}
@media (min-width: 768px) {
  .coai-section-title {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
}
.coai-products,
.coai-help {
  margin-bottom: 40px;
}
.coai-product-card {
  background: #fff;
  border: 1px solid var(--coai-border, #e7e9ed);
  border-radius: 8px;
  box-shadow: 0 0 1px rgb(0 0 0 / 7%), 0 2px 24px rgb(0 0 0 / 6%);
  display: flex;
  flex-direction: column;
  padding: 32px;
  width: 100%;
}
.coai-product-card__icon {
  align-items: center;
  background: #eaf9fd;
  border-radius: 8px;
  color: var(--coai-link, #086f7e);
  display: flex;
  font-size: 1.5rem;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}
.coai-product-card__title {
  color: var(--coai-ink, #161c2d);
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.75rem;
  margin: 0 0 8px;
}
.coai-product-card__headline {
  color: var(--coai-ink, #161c2d);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.coai-product-card__tagline {
  color: var(--coai-muted, #5b6278);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 16px;
}
.coai-product-card__points {
  color: var(--coai-ink, #161c2d);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.coai-product-card__points li {
  padding: 4px 0 4px 24px;
  position: relative;
}
.coai-product-card__points li::before {
  color: var(--coai-link, #086f7e);
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 4px;
}
.coai-product-card__cta {
  align-self: flex-start;
  margin-top: auto;
}
.coai-help__item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--coai-border, #e7e9ed);
  border-radius: 8px;
  color: var(--coai-ink, #161c2d);
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  width: 100%;
}
.coai-help__item i {
  color: var(--coai-link, #086f7e);
  font-size: 1.75rem;
}
.coai-help__item:hover {
  border-color: var(--coai-accent, #0cbed5);
  color: var(--coai-ink, #161c2d);
}
@media (max-width: 767px) {
  .coai-hero {
    padding: 32px 20px;
  }
  .coai-hero__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .coai-product-card {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .coai-home *,
  .coai-footer * {
    transition: none !important;
  }
}

/* Store plan cards (shufytheme_cart products.tpl): the vendor hides <br> in the description list
   (app.css .pricing__plans__standard .pricing__plans__special__body br), which glues our product descriptions'
   lines together ("6 GiB data100 active hours"). Keep the line breaks (SHUFY-STORE-BR). */
.pricing__plans__standard .pricing__plans__special__body br {
    display: inline;
}

/* ---- cross-site alignment with coaiwork.com and the CoAI Agent console (SHUFY-ALIGN) ------------------------------
   Token values of coaiwork.com's theme and the console's; nothing here comes from the vendor theme. */

/* The canvas, the ink and the tracking: the theme paints body #fff with #1a1d1f text at -0.01em; Inter Tight is
   already a tight face, coaiwork.com and the console set it at normal tracking on #fcfdfe. */
:root:not([data-theme="dark"]) body:not(.body__dark) {
  background-color: var(--background);
  color: var(--coai-ink);
  letter-spacing: normal;
}

/* Bootstrap's outline button keeps twenty-one's #369; ours is the teal outline that fills with the accent on hover
   (coaiwork.com's brand-outline button). The keyboard focus is the 2px teal outline above, not the #369 halo. */
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:disabled,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary.disabled {
  background-color: transparent;
  border-color: var(--btn-primary-outlin-border);
  color: var(--btn-primary-outlin-color);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:not(:disabled):not(.disabled):hover,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:not(:disabled):not(.disabled):active,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:not(:disabled):not(.disabled).active,
:root:not([data-theme="dark"]) body:not(.body__dark) .show > .btn-outline-primary.dropdown-toggle {
  background-color: var(--btn-primary-outlin-bg-hover);
  border-color: var(--btn-primary-outlin-border-hover);
  color: var(--btn-primary-outlin-color-hover);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary.focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .btn-outline-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

/* Form controls: a 3:1 edge and, on focus, a 2px teal edge (the theme drops the outline on .form-control:focus and
   draws a 1px #0cbed5 border, 2.25:1). An invalid control keeps a red edge. */
:root:not([data-theme="dark"]) body:not(.body__dark) .form-control,
:root:not([data-theme="dark"]) body:not(.body__dark) .custom-select {
  border-color: var(--coai-input);
  color: var(--coai-ink);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .form-control:focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .custom-select:focus {
  border-color: var(--coai-focus);
  box-shadow: inset 0 0 0 1px var(--coai-focus);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .form-control.is-invalid,
:root:not([data-theme="dark"]) body:not(.body__dark) .custom-select.is-invalid,
:root:not([data-theme="dark"]) body:not(.body__dark) .was-validated .form-control:invalid,
:root:not([data-theme="dark"]) body:not(.body__dark) .was-validated .custom-select:invalid {
  border-color: var(--coai-destructive);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .form-control.is-invalid:focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .custom-select.is-invalid:focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .was-validated .form-control:invalid:focus,
:root:not([data-theme="dark"]) body:not(.body__dark) .was-validated .custom-select:invalid:focus {
  box-shadow: inset 0 0 0 1px var(--coai-destructive);
}

/* Decorative edges in the border token (#f3f3f3 / #f6f5fb in the theme); the fixed sidebar without the 60px glow,
   like the console's and coaiwork.com's (below 1260px the theme slides it in over the page, where the glow stays). */
:root:not([data-theme="dark"]) body:not(.body__dark) .header {
  border-bottom-color: var(--coai-border);
}
:root:not([data-theme="dark"]) body:not(.body__dark) .sidebar:not(.nav__items__wrapper) {
  border-right-color: var(--coai-border);
}
@media only screen and (min-width: 1260px) {
  :root:not([data-theme="dark"]) body:not(.body__dark) .sidebar:not(.nav__items__wrapper) {
    box-shadow: none;
  }
}

/* UNIFIED-LANGUAGE (design §4 fonts, T0): Japanese and Traditional Chinese pages put their own CJK faces before the Simplified
   ones (<html lang> is set by coaihost_language.php), so kanji and hanzi get the right glyph forms. */
:root:lang(ja),
:root:lang(ja) body {
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "PingFang SC", "Microsoft YaHei", sans-serif;
}
:root:lang(zh-TW),
:root:lang(zh-TW) body {
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* UNIFIED-LANGUAGE §3.4: the language chooser of the page header (includes/theme-core/language-chooser.tpl): the Languages
   glyph, the current language's own name from md up, a 7-item menu with a check on the current one; no flags, no search. */
.coai-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .35rem .6rem;
  border: 1px solid var(--coai-border, #e7e9ed);
  border-radius: .5rem;
  background: transparent;
  color: var(--coai-ink, #161c2d);
  font: inherit;
  font-size: .875rem;
  line-height: 1;
  cursor: pointer;
}
.coai-lang__toggle:hover,
.coai-lang__toggle[aria-expanded="true"] {
  background: var(--coai-secondary, #f6f7f9);
}
.coai-lang__toggle svg,
.coai-lang__check svg {
  flex: none;
}
.coai-lang__menu {
  min-width: 11rem;
  max-width: calc(100vw - 32px);
  padding: .35rem 0;
}
.coai-lang__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.coai-lang__item.active,
.coai-lang__item:active {
  background: var(--coai-secondary, #f6f7f9);
  color: var(--coai-ink, #161c2d);
  font-weight: 600;
}
.coai-lang__check {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.coai-lang-en {
  display: block;
  margin-top: .35rem;
  opacity: .85;
}

/* ---- UNIFIED-NAV (lane N2; design v2 §2.8 rule 6, §3, §4.2): the page under the global bar of the CoAI sites ---------
   Only under body.coai-nav-on: header.tpl sets that class only while coaihost_nav.php passes $coaiNavOn (CoaihostNavMode
   unified, or shadow for the QA browser), so none of these rules matches a classic page. The bar, its menus and the drawer
   are styled by assets/brand/coai-nav.css (the shared spec, a byte copy: never edited here); these rules only fit the theme
   around it. Specificity (0,2,2) and later in the cascade than the theme's body.minimalist__sidebar rules (0,2,1). */
/* the theme's layout variables: the 64 px bar instead of its 70 / 60 px header (the page padding, the sticky tab bar and the
   cart summary follow them), and from 768 px the 260 px drawer-sidebar instead of its 90 px sidebar (the content wrapper's
   padding follows --sidebar-menu-width-*); below 768 px the drawer is a popover and the content starts at the left edge */
html:root body.coai-nav-on {
  --header-default-height: var(--coai-nav-h, 64px);
  --header-default-height-scrolled: var(--coai-nav-h, 64px);
  --sidebar-menu-width-closed: 0px;
  --sidebar-menu-width-opened: 0px;
  min-width: 0;   /* the theme's body { min-width: 330px } scrolls a 320 px phone sideways (V5) */
}
@media (min-width: 768px) {
  html:root body.coai-nav-on {
    --sidebar-menu-width-closed: var(--coai-nav-lnav-w, 260px);
    --sidebar-menu-width-opened: var(--coai-nav-lnav-w, 260px);
  }
}
/* the theme's header and sidebar are not rendered under the bar (header-default-layout.tpl); should any script of the theme
   add them, they stay hidden (the secondary-sidebar tab bar, .sidebar.nav__items__wrapper, is page content and stays) */
html:root body.coai-nav-on header.header,
html:root body.coai-nav-on .sidebar.minimal__sidebar {
  display: none !important;
}
/* the notifications of the bar's site tools: under their button, right edges aligned, like the shared menus (coai-nav.css
   anchors only help, language and account); without anchor positioning coaihost_nav.php's script places it */
@supports (anchor-name: --coai-nav-a) {
  html:root body.coai-nav-on .coai-gbar .coai-gbar__notify {
    anchor-name: --coai-nav-notify;
  }
  html:root body.coai-nav-on .coai-menu.coai-menu--notify {
    position-anchor: --coai-nav-notify;
    top: calc(anchor(bottom) + 6px);
    right: anchor(right);
  }
}
html:root body.coai-nav-on .coai-menu.coai-menu--notify {
  width: 320px;
}
html:root body.coai-nav-on .coai-menu .coai-menu__empty {
  display: block;
  padding: 10px;
  color: var(--coai-nav-muted);
  font: 400 13px/18px var(--coai-nav-font);
}
/* a WHMCS menu badge on a row of the site navigation (the parent's sidebar shows them too) */
html:root body.coai-nav-on .coai-lnav .coai-lnav__badge {
  display: block;
  flex: none;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--coai-nav-tint);
  color: var(--coai-nav-link);
  font: 700 11px/20px var(--coai-nav-font);
  text-align: center;
}
/* the footer's CoAI column (the fallback without popovers): the "opens in a new tab" note for screen readers only */
html:root body.coai-nav-on .coai-footer__nav .coai-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* the bar's words wait for their web font on a first visit (coaihost_nav.php coaihost_nav_face_script, the head script of
   unified pages; design v2 §6, V7, the gate coaiwork.com's bar-face.ts has): while <html data-coai-nav-face="loading">, the
   fallback layout of the words is never painted, so the face's arrival moves nothing on screen. The band and its border are
   there from the first frame; the skip link (placed absolutely) and the menu button and its no-popover twin (first in the
   row, icons) never move with the words and stay shown and focusable. No transition meanwhile (visibility would follow it). */
html:root[data-coai-nav-face="loading"] body.coai-nav-on .coai-gbar > :not(.coai-gbar__skip):not(.coai-gbar__menu):not(.coai-gbar__menu-fallback) {
  visibility: hidden;
}
html:root[data-coai-nav-face="loading"] body.coai-nav-on .coai-gbar * {
  transition: none;
}
/* tablet widths (V5): from 768 px the 260 px drawer-sidebar leaves the page content 448 px (768) to 960 px (1279.98)
   wide, where the theme still lays out for its own 90 px sidebar; the classic page scrolled sideways there too, on the
   same theme rules. */
@media (min-width: 768px) {
  /* the client area's lists (includes/tablelist.tpl, DataTables dom '<"listtable"fit>pl': services, invoices, quotes,
     domains, tickets, e-mails, ...): a table wider than its card scrolls inside the card, as the theme's wrapper does below
     768 px, instead of the page; the search field (absolute) and the paging row are outside the scroller and stay put */
  html:root body.coai-nav-on .dataTables_wrapper > .listtable {
    overflow-x: auto;
  }
  /* a row's action menu (clientareaproducts.tpl, clientareadomains.tpl: a .dropdown in the last cell). The theme places
     it with CSS, not Popper (app.css .dropdown .dropdown-menu: top calc(100% + 10px) !important, right 0 of its
     .dropdown), and keeps it laid out while closed (visibility). Inside the scroller that would clip the menus of the
     last rows and give the list a vertical scroll, so the menu's box is the positioned card around the scroller instead
     (.table-container): vertically at its own place under the button (top auto = the static position, the same
     .dropdown bottom + 10 px), horizontally at the card's right edge less the cell's padding, where the button of the
     last column ends once the list is scrolled to it (and always where the list fits) */
  html:root body.coai-nav-on .dataTables_wrapper > .listtable td .dropdown {
    position: static;
  }
  html:root body.coai-nav-on .dataTables_wrapper > .listtable td .dropdown > .dropdown-menu {
    top: auto !important;
    right: 25px;
    margin-top: 10px;
  }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  /* 12 px cells instead of the theme's 25 px a side, so that most lists fit without scrolling; a sortable heading keeps
     its right padding (DataTables' sort arrows) */
  html:root body.coai-nav-on table.table-list > thead > tr > th,
  html:root body.coai-nav-on table.table-list > tbody > tr > td {
    padding-left: 12px;
  }
  html:root body.coai-nav-on table.table-list > tbody > tr > td {
    padding-right: 12px;
  }
  html:root body.coai-nav-on .dataTables_wrapper > .listtable td .dropdown > .dropdown-menu {
    right: 12px;
  }
  /* the store (orderforms/shufytheme_cart products.tpl): two plans a row instead of the theme's four (app.css: 25 % from
     768 px), whose 112 - 176 px cards were narrower than their 175 px order button */
  html:root body.coai-nav-on .standard__cart__slider__layout__wrapper .standard__cart__slider__layout.all .pricing__plans__standard__item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* the cart's order steps (orderforms/shufytheme_cart: viewcart.tpl and the other steps' pages, four steps of 553 - 749
     px in one row; the theme hides them below 768 px): a second row when they do not fit */
  html:root body.coai-nav-on .standard__cart__order__steps {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  /* the invoice's payment method (viewinvoice.tpl, select2 with min-width 200 px) in its 5/12 (md) or 1/4 (lg) column */
  html:root body.coai-nav-on .view__invoice__page__sidebar .select2-container {
    min-width: 0;
  }
}
/* a plan's order button fills its card (d-block w-100) without the theme's .btn { min-width: 175px } */
html:root body.coai-nav-on .pricing__plans__standard__item .btn-order-now {
  min-width: 0;
}
/* the client area home's active services (includes/active-products-services-item.tpl): the hidden status placeholder
   that WHMCS's script measures (absolute, nowrap) stood at its static place, past the right edge of a 320 px phone in
   Russian; at the left of its row it measures the same and scrolls nothing */
html:root body.coai-nav-on .div-service-status .label-placeholder {
  left: 0;
}
