/* Built by scripts/deploy-whmcs.sh from css/parts/*.css. Do not edit on the server. */

/* === 05-tokens-warm.css === */
/* ============================================================
   WebClub v7 "Warm" tokens (client area). Spec: _qa/audit-2026-12/DESIGN-WARM.md
   Same palette as wp-theme/webclub-v5/assets/css/parts/05-tokens-warm.css.
   This part is concatenated FIRST into css/wc-portal.css, which loads after
   aurora.css, so this :root re-points every --wc-* variable aurora.css and the
   other parts use. Hard-coded slate colours in the parts still need the sweep
   listed in the spec (section 12). Owner: PORTAL builder.
   ============================================================ */
:root {
    /* ---- Raw palette (identical values to the website file) ---- */
    --wc7-blue-50: #eef4ff;  --wc7-blue-100: #dbe7fe; --wc7-blue-200: #bfd4fd;
    --wc7-blue-400: #5b93f7; --wc7-blue-500: #3b82f6;
    --wc7-blue-600: #2563eb; /* action: white text 5.17 */
    --wc7-blue-700: #1d4ed8; /* hover, links on sand */
    --wc7-blue-800: #1e40af; --wc7-blue-900: #1a2f6b;
    --wc7-cyan-500: #06b6d4;

    --wc7-night-900: #0f1d3d; --wc7-night-800: #14254f; --wc7-night-700: #1c3166;
    --wc7-night-muted: #c9d2e6; --wc7-night-faint: #a9b4cc;

    --wc7-cream: #fffaf3; --wc7-cream-2: #fdf5ea; --wc7-sand: #f8eddd; --wc7-sand-2: #f1e2cc;
    --wc7-white: #ffffff;

    --wc7-maple-50: #fff1ea; --wc7-maple-100: #ffdfd1; --wc7-maple-300: #ffb08f;
    --wc7-maple-400: #ff8a5c; --wc7-maple-500: #f26a3d;
    --wc7-maple-600: #c43d1c; /* white text 5.21 */
    --wc7-maple-700: #a8340f; /* text on light 6.0 */

    --wc7-sun-50: #fff8e6; --wc7-sun-100: #ffefc2; --wc7-sun-300: #fcd27a;
    --wc7-sun-400: #f6b23e; --wc7-sun-500: #e89a1c; --wc7-sun-700: #8c5a00;

    --wc7-ink: #1f1b16; --wc7-ink-2: #2f2a24; --wc7-body: #433d36;
    --wc7-muted: #5a5249; --wc7-faint: #6b6259;
    --wc7-line: #ece3d6; --wc7-line-2: #f5efe6; --wc7-line-strong: #e0d3c0; --wc7-field: #8a7e70;

    --wc7-ok: #047857;  --wc7-ok-bg: #ecf8f1;  --wc7-ok-line: #b5e6cc;
    --wc7-warn: #8c5a00; --wc7-warn-bg: #fff6e0; --wc7-warn-line: #f8dc9a;
    --wc7-err: #b42318; --wc7-err-bg: #fdeeeb; --wc7-err-line: #f7c6bd;

    /* ---- Shared component tokens ---- */
    --wc7-r-sm: 12px; --wc7-r-btn: 14px; --wc7-r-md: 16px; --wc7-r-lg: 22px; --wc7-r-xl: 28px;
    --wc7-sh-xs: 0 1px 2px rgba(68, 45, 20, .06);
    --wc7-sh-sm: 0 1px 2px rgba(68, 45, 20, .05), 0 4px 12px -4px rgba(68, 45, 20, .10);
    --wc7-sh-md: 0 2px 4px rgba(68, 45, 20, .04), 0 16px 36px -18px rgba(68, 45, 20, .24);
    --wc7-sh-lg: 0 4px 8px rgba(68, 45, 20, .04), 0 30px 64px -30px rgba(68, 45, 20, .34);
    --wc7-sh-blue: 0 10px 22px -12px rgba(37, 99, 235, .55);
    --wc7-grad-night: radial-gradient(640px 360px at 90% 0%, rgba(246, 178, 62, .16), rgba(246, 178, 62, 0) 60%),
                      radial-gradient(560px 360px at 0% 100%, rgba(59, 130, 246, .35), rgba(59, 130, 246, 0) 62%),
                      linear-gradient(160deg, #14254f 0%, #0f1d3d 100%);
    --wc7-grad-warm-band: radial-gradient(560px 300px at 92% 0%, rgba(246, 178, 62, .20), rgba(246, 178, 62, 0) 62%),
                          linear-gradient(180deg, #fbf1e3 0%, #fffaf3 100%);

    /* ---- Legacy --wc-* aliases (old value in the comment) ---- */
    --wc-brand: var(--wc7-blue-600);       /* #2563eb */
    --wc-brand-2: var(--wc7-blue-700);     /* #1d4ed8 */
    --wc-brand-deep: var(--wc7-night-800); /* #1e3a8a */
    --wc-violet: var(--wc7-blue-700);
    --wc-cyan: var(--wc7-blue-700);        /* #0e7490: used as text in places, keep it AA */
    --wc-pink: var(--wc7-maple-600);       /* was mapped to blue; now the warm accent */
    --wc-emerald: var(--wc7-ok);
    --wc-amber: var(--wc7-sun-700);        /* #b45309 */

    --wc-ink: var(--wc7-ink);              /* #0f172a */
    --wc-ink-2: var(--wc7-ink-2);          /* #1e293b */
    --wc-body: var(--wc7-body);            /* #334155 */
    --wc-muted: var(--wc7-muted);          /* #475569 */
    --wc-faint: var(--wc7-faint);          /* #5b6b80 */

    --wc-bg-soft: var(--wc7-cream);        /* #f7f9fc: page background */
    --wc-bg-tint: var(--wc7-sand);         /* #eff5ff */
    --wc-line: var(--wc7-line);            /* #e2e8f0 */
    --wc-field: var(--wc7-field);          /* #8493a8 */
    --wc-footer: var(--wc7-night-900);     /* #0f172a */

    --wc-ok: var(--wc7-ok);     --wc-ok-bg: var(--wc7-ok-bg);     --wc-ok-line: var(--wc7-ok-line);
    --wc-warn: var(--wc7-warn); --wc-warn-bg: var(--wc7-warn-bg); --wc-warn-line: var(--wc7-warn-line);
    --wc-bad: var(--wc7-err);   --wc-bad-bg: var(--wc7-err-bg);   --wc-bad-line: var(--wc7-err-line);

    --wc-grad: linear-gradient(120deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
    --wc-grad-soft: linear-gradient(#2563eb, #2563eb); /* stays an <image>: used as a border-box layer */

    --wc-radius: var(--wc7-r-lg);          /* 16 -> 22 (cards) */
    --wc-radius-sm: var(--wc7-r-sm);       /* 12 (inputs) */
    --wc-radius-lg: var(--wc7-r-xl);       /* 20 -> 28 (bands) */
    --wc-pill: 999px;

    --wc-shadow-sm: var(--wc7-sh-sm);
    --wc-shadow: var(--wc7-sh-md);
    --wc-shadow-lg: var(--wc7-sh-lg);
    --wc-shadow-brand: 0 1px 2px rgba(68, 45, 20, .08), var(--wc7-sh-blue);
}

/* ============================================================
   v8 "Hearth" tokens (2026-12-05, _qa/redesign-v8/DESIGN-V8.md section 3 = v8.css section 0).
   Short names for new code (96-v8.css); the --wc7-* palette and --wc-* aliases above stay for old CSS.
   Plus Jakarta Sans is declared by the hook (wc-fonts), so it is not declared again here.
   ============================================================ */
@font-face{font-family:'Fraunces';src:url('../fonts/fraunces-display.woff2') format('woff2');font-weight:500 700;font-style:normal;font-display:swap}
/* metric-matched fallback so the swap to Fraunces causes no layout shift (measured vs Georgia Bold) */
@font-face{font-family:'Fraunces Fallback';src:local('Georgia Bold'),local('Georgia-Bold'),local('Georgia');font-weight:500 700;size-adjust:86.6%;ascent-override:113%;descent-override:29.5%;line-gap-override:0%}

:root{
  /* families */
  --ff-sans:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ff-display:'Fraunces','Fraunces Fallback',Georgia,serif;

  /* palette additions on top of --wc7-* (values kept from v7 unless noted) */
  --night-950:#0a1430;              /* NEW: deepest band edge */
  --night-900:var(--wc7-night-900,#0f1d3d);
  --night-800:var(--wc7-night-800,#14254f);
  --night-700:var(--wc7-night-700,#1c3166);
  --night-card:rgba(255,255,255,.06);
  --night-card-line:rgba(255,255,255,.12);
  --night-text:#fff;
  --night-muted:#c9d2e6;            /* 11.2 on night-900 */
  --night-faint:#a9b4cc;            /* 7.98 on night-900 */
  --cream:#fffaf3; --cream-2:#fdf5ea; --sand:#f8eddd; --sand-2:#f1e2cc; --white:#fff;
  --ink:#1f1b16; --ink-2:#2f2a24; --body:#433d36; --muted:#5a5249; --faint:#6b6259;
  --line:#ece3d6; --line-2:#f5efe6; --line-strong:#e0d3c0; --field:#8a7e70;
  --blue-50:#eef4ff; --blue-100:#dbe7fe; --blue-500:#3b82f6; --blue-600:#2563eb; --blue-700:#1d4ed8; --cyan-500:#06b6d4;
  --maple-50:#fff1ea; --maple-100:#ffdfd1; --maple-400:#ff8a5c; --maple-500:#f26a3d; --maple-600:#c43d1c; --maple-700:#a8340f;
  --sun-50:#fff8e6; --sun-100:#ffefc2; --sun-300:#fcd27a; --sun-400:#f6b23e; --sun-500:#e89a1c; --sun-700:#8c5a00;
  --sage-50:#ecf8f1; --sage-100:#d3f0e0; --sage-500:#22a06b; --ok:#047857;
  --err:#b42318; --err-bg:#fdeeeb;

  /* surfaces */
  --grad-hero:
    radial-gradient(60% 55% at 88% 12%,rgba(246,178,62,.30),rgba(246,178,62,0) 70%),
    radial-gradient(50% 50% at 72% 96%,rgba(91,147,247,.20),rgba(91,147,247,0) 70%),
    radial-gradient(45% 45% at 0% 0%,rgba(255,176,143,.26),rgba(255,176,143,0) 70%),
    linear-gradient(180deg,#fff4e6 0%,#fffaf3 78%);
  --grad-night:
    radial-gradient(55% 70% at 92% 0%,rgba(246,178,62,.20),rgba(246,178,62,0) 70%),
    radial-gradient(50% 70% at 0% 100%,rgba(59,130,246,.38),rgba(59,130,246,0) 70%),
    linear-gradient(165deg,#14254f 0%,#0f1d3d 55%,#0a1430 100%);
  --grad-ink-text:linear-gradient(180deg,#1f1b16,#3b2f22);
  --swash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C50 3.5 120 2 197 6.5' fill='none' stroke='%23f6b23e' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tick:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d3f0e0'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23047857' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tick-night:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f6b23e' fill-opacity='.18'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fcd27a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* type scale (fluid 360 -> 1440) */
  --fs-display:clamp(2.625rem,1.65rem + 3.9vw,4.625rem);  /* 42 -> 74  home H1 (Fraunces 600) */
  --fs-h1:clamp(2.375rem,1.7rem + 2.8vw,3.875rem);       /* 38 -> 62  page H1 (Fraunces 600) */
  --fs-h2:clamp(2rem,1.5rem + 2vw,3.25rem);              /* 32 -> 52  section H2 (Fraunces 600) */
  --fs-h3-lg:clamp(1.375rem,1.2rem + .7vw,1.75rem);      /* 22 -> 28  bento big tile, CTA sub-heads (Jakarta 700) */
  --fs-h3:1.3125rem;                                     /* 21        card titles (Jakarta 700) */
  --fs-h4:1.125rem;                                      /* 18 */
  --fs-lead:clamp(1.125rem,1.06rem + .3vw,1.3125rem);    /* 18 -> 21 */
  --fs-base:1.0625rem;                                   /* 17 body (portal 16) */
  --fs-sm:.9375rem;                                      /* 15 floor for sentences */
  --fs-xs:.875rem;                                       /* 14 labels/badges only */
  --fs-price:clamp(2.75rem,2.2rem + 1.6vw,3.5rem);       /* 44 -> 56 */
  --lh-display:1.04; --lh-head:1.1; --lh-body:1.65;
  --ls-display:-.022em; --ls-head:-.015em;

  /* layout */
  --container:1240px;
  --container-narrow:860px;
  --gutter:clamp(18px,4vw,32px);
  --section-y:clamp(72px,9vw,136px);
  --section-y-tight:clamp(56px,6.5vw,96px);
  --head-gap:clamp(36px,4vw,56px);   /* section head -> content */
  --grid-gap:clamp(16px,2vw,24px);

  /* radius */
  --r-xs:8px; --r-sm:12px; --r-btn:14px; --r-md:18px; --r-card:24px; --r-xl:32px; --r-pill:999px;

  /* shadows: warm, layered, with a hairline ring */
  --ring:0 0 0 1px rgba(68,45,20,.07);
  --sh-xs:0 1px 2px rgba(68,45,20,.07);
  --sh-card:0 0 0 1px rgba(68,45,20,.06),0 1px 2px rgba(68,45,20,.05),0 10px 28px -14px rgba(68,45,20,.20);
  --sh-lift:0 0 0 1px rgba(68,45,20,.07),0 2px 4px rgba(68,45,20,.05),0 26px 48px -22px rgba(68,45,20,.34);
  --sh-float:0 0 0 1px rgba(68,45,20,.06),0 30px 70px -28px rgba(68,45,20,.42),0 10px 24px -14px rgba(68,45,20,.22);
  --sh-blue:0 12px 26px -12px rgba(37,99,235,.6);
  --sh-sun:0 12px 26px -12px rgba(232,154,28,.65);
  --sh-night-card:0 0 0 1px rgba(255,255,255,.10),0 30px 60px -30px rgba(0,0,0,.55);

  /* motion */
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --ease-pop:cubic-bezier(.34,1.56,.64,1);   /* small chips only */
  --d-1:120ms; --d-2:200ms; --d-3:280ms;      /* colour / hover+lift / reveal */
}
/* portal: body 16 px (site 17) */
:root{--fs-base:1rem}

/* === 10-shell.css === */
/* Batch 2 Shell: title band, guest home, footer additions, calm motion. Tokens from aurora.css. */

/* Skip link: visible only when focused by keyboard. */
.wc-skip { position: absolute; left: 12px; top: -120px; z-index: 2000; padding: 10px 16px; border-radius: var(--wc-radius-sm); background: #fff; color: var(--wc-brand); font-weight: 700; box-shadow: var(--wc-shadow); }
.wc-skip:focus { top: 12px; color: var(--wc-brand); }
#main-body:focus { outline: 0; }

/* Calm motion: replaces the slow staggered reveal from aurora.css. */
.wc-reveal { transition: opacity .2s var(--wc-ease), transform .2s var(--wc-ease) !important; transform: translateY(6px); }
.wc-reveal.wc-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .wc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Title band: the last breadcrumb item is the page H1. */
.master-breadcrumb.wc-band { background: #fff; border-bottom: 1px solid var(--wc-line); padding: 14px 0; }
/* Plain text trail in the band: aurora.css draws the old floating pill (border, shadow, 18px padding),
   which squeezed the text against its border here. */
.master-breadcrumb.wc-band .breadcrumb {
    display: flex; flex-wrap: wrap; margin: 0 0 4px; padding: 0; font-size: .85rem;
    background: none; border: 0; border-radius: 0; box-shadow: none;
}
/* The H1 right below already names the page, so the trail stops at the parent ("‹ Dashboard"). */
.master-breadcrumb.wc-band--title .breadcrumb-item.active { display: none; }
.master-breadcrumb.wc-band--title .breadcrumb-item:first-child:nth-last-child(2) a::before {
    content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .45em .1em 0;
    border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.master-breadcrumb.wc-band .breadcrumb-item a { color: var(--wc-muted); font-weight: 600; text-decoration: none; }
.master-breadcrumb.wc-band .breadcrumb-item a:hover, .master-breadcrumb.wc-band .breadcrumb-item a:focus-visible { color: var(--wc-brand); }
.wc-band-title { margin: 0; color: var(--wc-ink); font-size: 1.55rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .master-breadcrumb.wc-band { padding: 12px 0; }
    .wc-band-title { font-size: 1.25rem; }
}

/* Empty sidebar and panel footers print nothing rather than a blank bar. */
#main-body .card-footer:empty { display: none; }
.wc-help-text { font-size: .92rem; color: var(--wc-body); line-height: 1.6; margin-bottom: 12px; }

/* Guest home. */
.wc-tpl-homepage #main-body { padding: 0; }
.wc-home-hero { background: radial-gradient(900px 420px at 88% -12%, var(--wc-bg-tint), transparent 70%), #fff; padding: 64px 0 56px; border-bottom: 1px solid var(--wc-line); }
.wc-home-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.wc-home-eyebrow { margin: 0 0 12px; color: var(--wc-brand); font-weight: 700; font-size: .88rem; letter-spacing: .02em; }
.wc-home-title { margin: 0 0 16px; color: var(--wc-ink); font-size: 2.75rem; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.wc-home-lead { margin: 0 0 18px; color: var(--wc-body); font-size: 1.12rem; line-height: 1.6; max-width: 34em; }
.wc-home-price { margin: 0 0 22px; color: var(--wc-ink-2); font-size: 1rem; }
.wc-home-price strong { color: var(--wc-ink); font-weight: 800; }
.wc-home-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.wc-home-support { margin: 0; color: var(--wc-muted); font-size: .9rem; }

.wc-home-browser { background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-lg); box-shadow: var(--wc-shadow-lg); padding: 18px; }
.wc-home-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--wc-line); }
.wc-home-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--wc-line); }
.wc-home-url { flex: 1; margin-left: 8px; padding: 6px 12px; border-radius: var(--wc-pill); background: var(--wc-bg-soft); color: var(--wc-ink-2); font-size: .9rem; font-weight: 600; }
.wc-home-url i { color: var(--wc-emerald); font-size: .8em; margin-right: 6px; }
.wc-home-checks { list-style: none; margin: 16px 0 2px; padding: 0; display: grid; gap: 10px; }
.wc-home-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--wc-radius-sm); background: var(--wc-bg-soft); color: var(--wc-ink-2); font-weight: 600; font-size: .95rem; }
.wc-home-checks i { color: var(--wc-emerald); }

.wc-tpl-homepage .home-domain-search.bg-white { margin-top: 0; }
.wc-home-section { padding: 56px 0 24px; }
.wc-home-h2 { margin: 0 0 8px; color: var(--wc-ink); font-size: 1.55rem; font-weight: 800; }
.wc-home-section .wc-home-h2 { margin-bottom: 24px; text-align: center; }
.wc-home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wc-home-card { display: block; background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius); box-shadow: var(--wc-shadow-sm); padding: 26px; color: var(--wc-body); transition: transform .15s var(--wc-ease), box-shadow .15s var(--wc-ease); }
.wc-home-card:hover { color: var(--wc-body); transform: translateY(-3px); box-shadow: var(--wc-shadow); }
.wc-home-card:focus-visible { outline: 2px solid var(--wc-brand); outline-offset: 2px; }
.wc-home-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--wc-bg-tint); color: var(--wc-brand); margin-bottom: 14px; }
.wc-home-card h3 { color: var(--wc-ink); font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
.wc-home-card p { font-size: .95rem; line-height: 1.6; margin: 0 0 12px; }
.wc-home-link { color: var(--wc-brand); font-weight: 700; font-size: .92rem; }

.wc-home-band { padding: 24px 0 64px; }
.wc-home-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius); padding: 26px 30px; }
.wc-home-band-in p { margin: 0; color: var(--wc-body); line-height: 1.6; max-width: 46em; }
.wc-home-band-in .btn { flex: none; }

@media (max-width: 991.98px) {
    .wc-home-hero { padding: 44px 0 40px; }
    .wc-home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .wc-home-title { font-size: 2.2rem; }
    .wc-home-cards { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .wc-home-title { font-size: 1.85rem; }
    .wc-home-lead { font-size: 1rem; }
    .wc-home-cta .btn { flex: 1 1 100%; text-align: center; }
    .wc-home-band-in { flex-direction: column; align-items: flex-start; padding: 22px; }
    .wc-home-band-in .btn { align-self: stretch; text-align: center; }
    .wc-home-section { padding-top: 40px; }
}

/* Footer additions. */
.wc-footer-support { margin: 10px 0 0; color: rgba(255, 255, 255, .55); font-size: .85rem; line-height: 1.55; }

/* Mobile menu: full-width items stay readable at 375 px. */
@media (max-width: 1199.98px) {
    #header .main-navbar-wrapper .navbar-nav > li > a { display: block; margin: 4px 0; }
}

/* === 20-lists.css === */
/* Batch 3 Dashboard and lists. Tokens from aurora.css. Rows become cards on phones. */

/* Safety net: a list shows as soon as DataTables has initialised it, even if the page's own jQuery(...).show()
   never ran (an earlier ready-handler error stops later handlers on jQuery 1.12). Keep verbatim. */
table.table-list.dataTable.w-hidden{display:table !important}

/* Dashboard */
.wc-dash-title { margin: 6px 0 14px; color: var(--wc-ink); font-size: 1.7rem; font-weight: 800; }
.wc-state { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px; background: #fff; border: 1px solid var(--wc-line); border-left: 4px solid var(--wc-brand); border-radius: var(--wc-radius-sm); }
.wc-state.is-due { border-left-color: var(--wc-amber); }
.wc-state.is-late { border-left-color: #dc2626; }
.wc-state-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wc-bg-tint); color: var(--wc-brand); }
.wc-state.is-due .wc-state-ico { background: #fef3c7; color: #b45309; }
.wc-state.is-late .wc-state-ico { background: #fee2e2; color: #dc2626; }
.wc-state-main { flex: 1; min-width: 0; }
.wc-state-t { color: var(--wc-ink); font-weight: 800; font-size: 1.05rem; line-height: 1.35; }
.wc-state-s { color: var(--wc-muted); font-size: .9rem; margin-top: 2px; overflow-wrap: anywhere; }
.wc-state-s b { color: var(--wc-ink-2); }
.wc-state-btn { flex: none; }
.tiles .tile.wc-tile-warn .stat { color: #b45309; }
.tiles .tile.wc-tile-warn i { color: var(--wc-amber); }

.wc-svc-card { margin-bottom: 16px; }
.wc-svc-list { list-style: none; margin: 0; padding: 0; }
.wc-svc-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--wc-line); }
.wc-svc-item:first-child { border-top: 0; }
.wc-svc-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wc-svc-name strong { display: block; color: var(--wc-ink); font-weight: 700; }
.wc-svc-name small { color: var(--wc-muted); }
.wc-svc-act { flex: none; display: flex; gap: 6px; }

/* Small row buttons */
.wc-sbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; margin: 2px; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); background: #fff; color: var(--wc-ink-2) !important; font-size: .82rem; font-weight: 700; line-height: 1.5; text-decoration: none !important; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.wc-sbtn i { font-size: .72rem; }
.wc-sbtn:hover { border-color: var(--wc-brand); color: var(--wc-brand) !important; }
.wc-sbtn:focus-visible { outline: 2px solid var(--wc-brand); outline-offset: 2px; }
.wc-sbtn--sso { background: var(--wc-bg-tint); border-color: var(--wc-bg-tint); color: var(--wc-brand) !important; }
.wc-sbtn--pay { background: var(--wc-grad-soft); border-color: transparent; color: #fff !important; }
.wc-sbtn--pay:hover { border-color: transparent; color: #fff !important; }
.wc-sbtn--renew { background: #fff7e8; border-color: #fde3b0; color: #92590a !important; }

/* Date chips */
.wc-due { display: block; width: max-content; margin: 5px auto 0; padding: 1px 10px; border-radius: var(--wc-pill); font-size: .74rem; font-weight: 700; line-height: 1.8; }
.wc-due--ok { background: var(--wc-bg-tint); color: var(--wc-brand); }
.wc-due--soon { background: #fef3c7; color: #92590a; }
.wc-due--late { background: #fee2e2; color: #b91c1c; }
.wc-due--free { background: #d1fae5; color: #047857; }

/* DataTables chrome: nothing to search or page through on an empty list; no pager on one page */
.dataTables_wrapper.wc-dt-empty .dataTables_filter,
.dataTables_wrapper.wc-dt-empty .dataTables_info,
.dataTables_wrapper.wc-dt-empty .dataTables_paginate,
.dataTables_wrapper.wc-dt-empty .dataTables_length,
.dataTables_wrapper.wc-dt-onepage .dataTables_paginate,
.dataTables_wrapper.wc-dt-few .dataTables_length { display: none !important; }
.dataTables_wrapper.w-hidden { display: none !important; }

/* Empty state, shown instead of an empty table */
.wc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 38px 20px; margin: 6px 0 18px; text-align: center; background: #fff; border: 1px dashed var(--wc-line); border-radius: var(--wc-radius); }
.wc-empty.w-hidden { display: none !important; }
.wc-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 6px; border-radius: var(--wc-radius); background: var(--wc-bg-tint); color: var(--wc-brand); font-size: 1.4rem; }
.wc-empty-t { color: var(--wc-ink); font-size: 1.1rem; font-weight: 800; }
.wc-empty-s { max-width: 420px; color: var(--wc-muted); font-size: .9rem; line-height: 1.6; }
.wc-empty-cta { margin-top: 10px; }

/* Rows */
table.wc-cards td { vertical-align: middle !important; }
table.wc-cards tbody tr.is-late > td:first-child { box-shadow: inset 4px 0 0 #dc2626; }
table.wc-cards tbody tr.is-soon > td:first-child { box-shadow: inset 4px 0 0 var(--wc-amber); }
table.wc-cards tbody tr:hover > td { background: #fdf5ea !important; }
.wc-c-act { white-space: nowrap; text-align: right !important; }
.wc-nowrap { white-space: nowrap; }
.wc-name-link { color: var(--wc-ink) !important; font-weight: 700; overflow-wrap: anywhere; }
.wc-name-link:hover { color: var(--wc-brand) !important; }

/* Soft status chips */
#main-body table.wc-cards .label.status,
.wc-svc-item .label.status { display: inline-block; padding: 3px 12px !important; border-radius: var(--wc-pill) !important; font-size: .75rem !important; font-weight: 700 !important; }
#main-body table.wc-cards .label.status span { color: inherit !important; }
#main-body .label.status.status-active, #main-body .label.status.status-open, #main-body .label.status.status-paid, #main-body .label.status.status-completed, #main-body .label.status.status-accepted { background: #d1fae5; color: #047857; }
#main-body .label.status.status-answered, #main-body .label.status.status-delivered, #main-body .label.status.status-in-progress, #main-body .label.status.status-inprogress { background: var(--wc-bg-tint); color: var(--wc-brand); }
#main-body .label.status.status-customer-reply, #main-body .label.status.status-pending, #main-body .label.status.status-pending-registration, #main-body .label.status.status-pending-transfer, #main-body .label.status.status-grace, #main-body .label.status.status-redemption, #main-body .label.status.status-on-hold, #main-body .label.status.status-onhold, #main-body .label.status.status-payment-pending, #main-body .label.status.status-suspended { background: #fef3c7; color: #92590a; }
#main-body .label.status.status-unpaid, #main-body .label.status.status-overdue, #main-body .label.status.status-expired, #main-body .label.status.status-fraud, #main-body .label.status.status-collections, #main-body .label.status.status-lost, #main-body .label.status.status-dead { background: #fee2e2; color: #b91c1c; }
#main-body .label.status.status-closed, #main-body .label.status.status-cancelled, #main-body .label.status.status-terminated, #main-body .label.status.status-transferred-away, #main-body .label.status.status-refunded, #main-body .label.status.status-draft { background: #f5efe6; color: var(--wc-muted); }

/* Domains */
.wc-autorenew { display: block; margin-top: 3px; color: var(--wc-muted); font-size: .76rem; }
.wc-autorenew.is-on { color: #047857; }
#domainForm:not(.wc-bulk-on) .wc-col-chk { display: none !important; }
.wc-bulk { margin: 0 0 12px; background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); }
.wc-bulk > summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--wc-ink-2); font-size: .85rem; font-weight: 700; list-style: none; cursor: pointer; }
.wc-bulk > summary::-webkit-details-marker { display: none; }
.wc-bulk > summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-right: 2px solid var(--wc-muted); border-bottom: 2px solid var(--wc-muted); transform: rotate(45deg); }
.wc-bulk[open] > summary::after { transform: rotate(-135deg); }
.wc-bulk > summary:focus-visible { outline: 2px solid var(--wc-brand); outline-offset: 2px; border-radius: var(--wc-radius-sm); }
.wc-bulk > summary i { color: var(--wc-brand); }
.wc-bulk-body { padding: 0 14px 12px; }
.wc-bulk-hint { margin: 0 0 8px; color: var(--wc-muted); font-size: .82rem; }
.wc-bulk-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.wc-bulk-btns .wc-sbtn { margin: 0; }

/* Tickets */
#tableTicketsList .wc-tk-link { display: inline; }
#tableTicketsList .ticket-number { margin-right: 6px; color: var(--wc-muted); font-weight: 700; }
#tableTicketsList .ticket-subject { color: var(--wc-ink); font-weight: 700; }
#tableTicketsList .ticket-subject.unread { color: var(--wc-brand); font-weight: 800; }

/* Quotes */
table.wc-cards td.wc-c-act form { display: inline; margin: 0; }

/* Invoices sidebar summary */
.wc-invsum { text-align: center; }
.wc-invsum.is-ok { color: #047857; font-weight: 700; }
.wc-invsum-amt { color: var(--wc-ink); font-family: var(--wc-font-display); font-size: 1.5rem; font-weight: 800; }
.wc-invsum-sub { color: var(--wc-muted); font-size: .85rem; }

/* Below lg the main content comes before the sidebar on the dashboard and lists */
@media (max-width: 991.98px) {
    .wc-tpl-clientareahome #main-body .row > .primary-content,
    .wc-tpl-clientareaproducts #main-body .row > .primary-content,
    .wc-tpl-clientareadomains #main-body .row > .primary-content,
    .wc-tpl-clientareainvoices #main-body .row > .primary-content,
    .wc-tpl-clientareaemails #main-body .row > .primary-content,
    .wc-tpl-clientareaquotes #main-body .row > .primary-content,
    .wc-tpl-supportticketslist #main-body .row > .primary-content { order: 1; }
    .wc-tpl-clientareahome #main-body .row > .col-lg-4,
    .wc-tpl-clientareaproducts #main-body .row > .col-lg-4,
    .wc-tpl-clientareadomains #main-body .row > .col-lg-4,
    .wc-tpl-clientareainvoices #main-body .row > .col-lg-4,
    .wc-tpl-clientareaemails #main-body .row > .col-lg-4,
    .wc-tpl-clientareaquotes #main-body .row > .col-lg-4,
    .wc-tpl-supportticketslist #main-body .row > .col-lg-4 { order: 2; }
}

/* Phones: every list row becomes a card, nothing wider than the screen */
@media (max-width: 767.98px) { /* 2026-12-05: was 575.98; tables of 5-6 columns did not fit 576-767 (audit PL-05) */
    .wc-dash-title { font-size: 1.4rem; }
    .wc-state { flex-wrap: wrap; }
    .wc-state-main { flex: 1 1 60%; }
    .wc-state-btn { flex: 1 1 100%; text-align: center; }
    .wc-svc-item { flex-wrap: wrap; }
    .wc-svc-act { flex: 1 1 100%; flex-wrap: wrap; }

    table.table-list.wc-cards { margin: 6px 0 !important; background: transparent; border: 0 !important; }
    /* .dataTable = initialised (before that the table is still .w-hidden); !important beats jQuery .show()'s inline display:table */
    table.wc-cards.dataTable, table.wc-cards.dataTable tbody { display: block !important; width: 100% !important; }
    table.table-list.wc-cards.dataTable.w-hidden { display: block !important; }
    table.wc-cards thead { display: none; }
    table.wc-cards tbody tr { display: block; position: relative; margin: 0 0 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); box-shadow: var(--wc-shadow-sm); }
    table.wc-cards tbody tr.is-late { border-left: 4px solid #dc2626; }
    table.wc-cards tbody tr.is-soon { border-left: 4px solid var(--wc-amber); }
    table.wc-cards tbody tr.is-late > td:first-child, table.wc-cards tbody tr.is-soon > td:first-child { box-shadow: none; }
    table.wc-cards tbody tr:hover, table.wc-cards tbody tr:hover > td { background: #fff !important; }
    table.wc-cards tbody td { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; padding: 5px 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; font-size: .85rem; }
    table.wc-cards tbody td[data-label]::before { content: attr(data-label); flex: 1 0 auto; color: var(--wc-muted); font-size: .78rem; font-weight: 600; }
    table.wc-cards tbody td .wc-due { margin: 0; }
    table.wc-cards tbody td.wc-c-title { display: block; margin-bottom: 4px; padding: 0 0 8px !important; border-bottom: 1px solid var(--wc-line) !important; font-size: 1rem; font-weight: 800; word-break: break-word; }
    table.wc-cards tbody td.wc-c-act { justify-content: flex-start; gap: 6px; margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--wc-line) !important; white-space: normal; }
    table.wc-cards tbody td.wc-c-act .wc-sbtn { margin: 0; }
    table.wc-cards tbody td.wc-c-hide-sm { display: none !important; }
    table.wc-cards tbody td.dataTables_empty { display: block; text-align: center !important; }
    #domainForm.wc-bulk-on table.wc-cards tbody td.wc-col-chk { position: absolute; top: 12px; right: 12px; padding: 0 !important; }
    #domainForm.wc-bulk-on table.wc-cards tbody td.wc-c-title { padding-right: 28px !important; }
    .wc-empty { padding: 28px 16px; }
    .dataTables_wrapper .dataTables_paginate { display: flex; justify-content: center; float: none !important; }
    .dataTables_wrapper .dataTables_paginate .pagination { flex-wrap: wrap; justify-content: center; margin: 6px 0; }
    .dataTables_wrapper .dataTables_length { text-align: center; }
}

/* === 30-account.css === */
/* ============================================================
   30-account.css  Batch 4: account details, security, profile, password, contacts, users
   The .wc-a-* kit below is also used by the billing, domain and support pages (parts 40, 50, 60).
   ============================================================ */

/* -- Kit: card, head, text -- */
.wc-a-card {
    background: #fff;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-sm);
    padding: 22px 24px;
    margin-bottom: 1.25rem;
}
.wc-a-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.wc-a-ico {
    flex: 0 0 42px; width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--wc-radius-sm);
    background: var(--wc-bg-tint); color: var(--wc-brand); font-size: 17px;
}
.wc-a-h { font-family: var(--wc-font-display); font-size: 1.08rem; font-weight: 750; color: var(--wc-ink); margin: 0 0 2px; }
.wc-a-sub { margin: 0; font-size: .875rem; color: var(--wc-muted); line-height: 1.55; }
.wc-a-lead { font-size: .94rem; color: var(--wc-body); line-height: 1.65; margin: 0 0 16px; }
.wc-a-opt { font-weight: 500; color: var(--wc-muted); font-size: .82rem; }
.wc-a-hint { display: block; margin-top: 6px; font-size: .82rem; color: var(--wc-muted); line-height: 1.5; }
.wc-a-break { word-break: break-word; }

/* -- Kit: pills -- */
.wc-a-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 10px; border-radius: var(--wc-pill);
    font-size: .76rem; font-weight: 650; line-height: 1.5;
    background: #f5efe6; color: var(--wc-ink-2);
}
.wc-a-pill.is-ok { background: #e3f8ef; color: #06754f; }
.wc-a-pill.is-warn { background: #fff3da; color: #8a5a00; }
.wc-a-pill.is-bad { background: #fde8e8; color: #b42318; }
.wc-a-pill.is-info { background: var(--wc-bg-tint); color: var(--wc-brand); }
.wc-a-pill.w-hidden { display: none !important; }

/* -- Kit: note, actions, empty -- */
.wc-a-note {
    margin-top: 16px; padding: 12px 16px;
    border-radius: var(--wc-radius-sm);
    background: var(--wc-bg-soft); border: 1px solid var(--wc-line);
    font-size: .875rem; line-height: 1.6; color: var(--wc-body);
}
.wc-a-note strong { color: var(--wc-ink); }
.wc-a-note-top { margin: 0 0 1.25rem; }
.wc-a-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 24px; }
.wc-a-empty {
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-sm); padding: 32px 24px; margin-bottom: 1.25rem; text-align: center;
}
.wc-a-empty .wc-a-ico { margin-bottom: 12px; }
.wc-a-empty .wc-a-sub { max-width: 520px; margin: 0 auto; }

/* -- Kit: action tiles -- */
.wc-a-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 1.25rem; }
.wc-a-tile {
    display: flex; flex-direction: column; gap: 3px;
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm);
    padding: 16px; color: var(--wc-ink); box-shadow: var(--wc-shadow-sm);
    transition: border-color .15s, box-shadow .15s;
}
.wc-a-tile:hover, .wc-a-tile:focus { border-color: var(--wc-brand); box-shadow: var(--wc-shadow); color: var(--wc-ink); }
.wc-a-tile .wc-a-ico { flex: 0 0 auto; width: 36px; height: 36px; font-size: 15px; margin-bottom: 8px; }
.wc-a-tile-t { font-weight: 700; font-size: .94rem; }
.wc-a-tile-s { font-size: .82rem; color: var(--wc-muted); line-height: 1.45; }
.wc-a-tile-s.is-on { color: #06754f; font-weight: 600; }
.wc-a-tile-s.is-off { color: #8a5a00; font-weight: 600; }

/* -- Account tabs -- */
.wc-a-tabs { display: flex; gap: 6px; margin-bottom: 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wc-a-tab {
    flex: 0 0 auto; padding: 8px 16px; border-radius: var(--wc-pill);
    font-weight: 600; font-size: .9rem; color: var(--wc-ink-2);
    background: #fff; border: 1px solid var(--wc-line);
}
.wc-a-tab:hover, .wc-a-tab:focus { color: var(--wc-brand); border-color: var(--wc-brand); }
.wc-a-tab.is-on { background: var(--wc-bg-tint); color: var(--wc-brand); border-color: transparent; }

/* -- Forms on these pages -- */
.wc-acc .form-group, .wc-a-card .form-group { margin-bottom: 14px; }
.wc-a-card .col-form-label { font-weight: 600; color: var(--wc-ink-2); font-size: .9rem; padding-top: 0; }
.wc-a-checks label { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; font-size: .92rem; cursor: pointer; }
.wc-a-checks .form-check-input { position: static; margin: 0; width: 17px; height: 17px; flex: 0 0 17px; }
.wc-a-checks { padding-left: 0; }
.wc-a-radios .form-check { margin-right: 18px; font-size: .92rem; }
.wc-a-picker { padding: 14px 20px; }
.wc-a-picker .col-form-label { padding-bottom: 0; margin: 0; }

/* -- Security overview -- */
.wc-sec-list { list-style: none; margin: 0; padding: 0; }
.wc-sec-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--wc-line); }
.wc-sec-list li:last-child { border-bottom: 0; }
.wc-sec-ico {
    flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px; background: var(--wc-bg-soft); color: var(--wc-muted); font-size: 15px;
}
.wc-sec-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wc-sec-main b { font-size: .95rem; font-weight: 700; color: var(--wc-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wc-sec-main > span { font-size: .85rem; color: var(--wc-muted); line-height: 1.5; }
.wc-sec-list .btn { flex: 0 0 auto; }

/* -- One-click login switch -- */
.wc-sso { padding: 14px 16px; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); }
.wc-sso.is-off { background: #fffaf0; border-color: #f6e1b3; }
.wc-sso-row { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.wc-sso-state b { font-weight: 650; color: var(--wc-ink); font-size: .94rem; }
.wc-sso-msg { font-size: .85rem; margin-top: 6px; color: var(--wc-muted); }
.wc-sso-msg:empty { display: none; }
.wc-sso-msg.is-ok { color: #06754f; }
.wc-sso-msg.is-err { color: #b42318; }
.wc-switch { position: relative; flex: 0 0 44px; width: 44px; height: 24px; }
.wc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.wc-switch-track { position: absolute; inset: 0; border-radius: var(--wc-pill); background: #8a7e70; transition: background .15s; }
.wc-switch-track::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; box-shadow: var(--wc-shadow-sm); transition: transform .15s;
}
.wc-switch input:checked + .wc-switch-track { background: var(--wc-brand); }
.wc-switch input:checked + .wc-switch-track::after { transform: translateX(20px); }
.wc-switch input:focus-visible + .wc-switch-track { box-shadow: 0 0 0 3px rgba(37, 99, 235, .3); }

/* -- People with access -- */
.wc-users { list-style: none; margin: 0; padding: 0; }
.wc-user { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--wc-line); }
.wc-user:last-child { border-bottom: 0; }
.wc-user-av {
    flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--wc-bg-soft); color: var(--wc-muted);
}
.wc-user-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wc-user-mail { font-weight: 650; color: var(--wc-ink); word-break: break-word; }
.wc-user-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--wc-muted); }
.wc-user-act { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; }
.wc-user-act form { display: flex; gap: 6px; margin: 0; }
.wc-user-full { font-size: .82rem; color: var(--wc-muted); }
.wc-user-remove { color: #b42318; background: transparent; border: 1px solid transparent; }
.wc-user-remove:hover, .wc-user-remove:focus { color: #b42318; background: #fde8e8; }
.wc-users-h { font-size: .92rem; font-weight: 700; color: var(--wc-ink-2); margin: 18px 0 4px; }

.wc-perms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.wc-perm {
    display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px;
    border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); cursor: pointer;
}
.wc-perm .form-check-input { position: static; margin: 3px 0 0; flex: 0 0 auto; }
.wc-perm b { display: block; font-size: .9rem; color: var(--wc-ink); font-weight: 650; }
.wc-perm small { display: block; font-size: .8rem; color: var(--wc-muted); line-height: 1.4; }

@media (max-width: 575.98px) {
    .wc-a-card { padding: 16px; }
    .wc-a-head { gap: 10px; }
    .wc-a-ico { flex-basis: 38px; width: 38px; height: 38px; font-size: 15px; }
    .wc-a-actions .btn { flex: 1 1 auto; }
    .wc-sec-list li { flex-wrap: wrap; }
    .wc-sec-main { flex-basis: calc(100% - 52px); }
    .wc-sec-list .btn { margin-left: 52px; }
    .wc-user { flex-wrap: wrap; }
    .wc-user-main { flex-basis: calc(100% - 50px); }
    .wc-user-act { flex-basis: 100%; padding-left: 50px; flex-wrap: wrap; }
    .wc-user-act form { flex-wrap: wrap; }
    /* iOS zooms the page on focus when an input is under 16px */
    .wc-a-card .form-control, .wc-a-card .custom-select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .wc-a-tile, .wc-switch-track, .wc-switch-track::after { transition: none; }
}

/* === 40-billing.css === */
/* ============================================================
   40-billing.css  Batch 5: invoice, mass pay, invoice payment, unpaid-invoice banner
   ============================================================ */

/* -- Invoice page (standalone, loads aurora.css + this file through hook webclub_invoices.php) -- */
.invoice-container { max-width: 900px; }
.invoice-container .invoice-header h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.invoice-container .invoice-status { margin: 0; }
.invoice-container .invoice-status span {
    display: inline-block; padding: 5px 16px; border-radius: var(--wc-pill);
    font-size: .95rem; font-weight: 700; line-height: 1.5; text-transform: none;
    border: 0;
}
.invoice-container .invoice-status .paid { background: #e3f8ef; color: #06754f; }
.invoice-container .invoice-status .unpaid { background: #fff3da; color: #8a5a00; }
.invoice-container .invoice-status .cancelled,
.invoice-container .invoice-status .refunded,
.invoice-container .invoice-status .draft { background: #f5efe6; color: var(--wc-ink-2); }
.invoice-container .invoice-status .collections { background: #fde8e8; color: #b42318; }

.wc-inv-strip {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    margin: 18px 0 0; padding: 16px 20px; border-radius: var(--wc-radius-sm);
    border: 1px solid var(--wc-line); background: var(--wc-bg-soft);
}
.wc-inv-strip.is-due { background: #fffaf0; border-color: #f6e1b3; }
.wc-inv-strip.is-bad { background: #fff5f5; border-color: #f8cfcf; }
.wc-inv-strip.is-ok { background: #effbf6; border-color: #bfeeda; }
.wc-inv-strip.is-info { background: var(--wc-bg-tint); border-color: transparent; }
.wc-inv-strip-t { font-family: var(--wc-font-display); font-size: 1.3rem; font-weight: 800; color: var(--wc-ink); line-height: 1.3; }
.wc-inv-strip.is-ok .wc-inv-strip-t .fas { color: var(--wc-emerald); }
.wc-inv-strip.is-off .wc-inv-strip-t { font-size: 1.1rem; }
.wc-inv-strip-s { font-size: .9rem; color: var(--wc-body); margin-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* The gateway prints its own button or form here; only its size is changed. */
.wc-inv-pay form { margin: 0; }
.wc-inv-pay .btn,
.wc-inv-pay input[type="submit"],
.wc-inv-pay button[type="submit"] {
    min-width: 200px; padding: .7rem 1.8rem; font-size: 1.05rem; font-weight: 700;
    border-radius: var(--wc-pill);
}
.invoice-container address { line-height: 1.6; }
.invoice-container .table td { vertical-align: middle; }
.invoice-container .table td:last-child { white-space: nowrap; }
.wc-inv-foot { margin: 18px 16px 32px; font-size: .9rem; color: var(--wc-muted); line-height: 1.7; }

@media (max-width: 575.98px) {
    .invoice-container { padding: 1rem !important; margin: 0; border-radius: 0; border-width: 0 0 1px; }
    .wc-inv-strip { padding: 14px; }
    .wc-inv-pay { width: 100%; }
    .wc-inv-pay .btn, .wc-inv-pay input[type="submit"], .wc-inv-pay button[type="submit"] { width: 100%; min-width: 0; }
    .invoice-container .table td { font-size: .86rem; }
}
@media print {
    .wc-inv-foot { display: none; }
}

/* -- Pay all invoices -- */
.wc-mp-inv { padding: 12px 0; border-top: 1px solid var(--wc-line); }
.wc-mp-inv-h { font-weight: 700; color: var(--wc-ink); font-size: .94rem; margin-bottom: 6px; }
.wc-mp-items { list-style: none; margin: 0; padding: 0; }
.wc-mp-items li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: .9rem; }
.wc-mp-amt { flex: 0 0 auto; font-weight: 600; color: var(--wc-ink); white-space: nowrap; }
.wc-mp-totals { border-top: 2px solid var(--wc-line); margin-top: 8px; padding-top: 10px; }
.wc-mp-totals .masspay-total { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: .92rem; }
.wc-mp-grand { font-size: 1.15rem !important; font-weight: 800; color: var(--wc-ink); padding-top: 8px !important; }
.wc-mp-empty { margin: 0; padding: 12px 0; color: #06754f; font-weight: 600; }
.wc-mp-pay { max-width: 460px; margin-left: auto; margin-right: auto; }

/* -- Invoice payment -- */
.wc-inv-payform .cc-payment-form .control-label { font-weight: 600; color: var(--wc-ink-2); }
.wc-inv-payform #btnSubmit { min-width: 200px; }
.wc-inv-secure { text-align: center; font-size: .85rem; color: var(--wc-muted); margin: 0 0 1.25rem; }
@media (max-width: 575.98px) {
    .wc-inv-payform #btnSubmit { width: 100%; }
}

/* -- Unpaid-invoice banner (service and domain pages) -- */
.wc-ialert {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 20px; margin-bottom: 1.25rem;
    border: 1px solid #f6e1b3; border-radius: var(--wc-radius); background: #fffaf0;
}
.wc-ialert.is-open { border-color: var(--wc-line); background: #fff; }
.wc-ialert.is-overdue { border-color: #f8cfcf; background: #fff5f5; }
.wc-ialert-ico {
    flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--wc-radius-sm); background: #fff3da; color: #8a5a00;
}
.wc-ialert.is-open .wc-ialert-ico { background: var(--wc-bg-tint); color: var(--wc-brand); }
.wc-ialert.is-overdue .wc-ialert-ico { background: #fde8e8; color: #b42318; }
.wc-ialert-main { flex: 1 1 auto; min-width: 0; }
.wc-ialert-t { font-weight: 700; color: var(--wc-ink); font-size: 1rem; }
.wc-ialert-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .86rem; color: var(--wc-body); margin-top: 4px; }
.wc-ialert-meta b { color: var(--wc-ink); }
.wc-ialert-pill { padding: 1px 9px; border-radius: var(--wc-pill); background: rgba(68, 45, 20, .07); font-weight: 650; font-size: .78rem; }
.wc-ialert-s { font-size: .86rem; color: var(--wc-body); margin-top: 6px; line-height: 1.55; }
.wc-ialert-act { flex: 0 0 auto; align-self: center; }

@media (max-width: 575.98px) {
    .wc-ialert { flex-wrap: wrap; padding: 14px; }
    .wc-ialert-main { flex-basis: calc(100% - 54px); }
    .wc-ialert-act { flex-basis: 100%; }
    .wc-ialert-act .btn { width: 100%; }
}

/* === 50-domains.css === */
/* ============================================================
   50-domains.css  Batch 6: domain overview, DNS, contacts, private nameservers
   ============================================================ */

/* -- Hero -- */
.wc-dom-hero {
    display: flex; align-items: center; gap: 20px;
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-sm); padding: 22px 24px; margin-bottom: 1rem;
}
.wc-dom-ring { position: relative; flex: 0 0 92px; width: 92px; height: 92px; }
.wc-dom-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wc-dom-ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.wc-dom-ring-bg { stroke: var(--wc-line); }
.wc-dom-ring-fg { stroke: var(--wc-emerald); }
.is-soon .wc-dom-ring-fg { stroke: var(--wc-amber); }
.is-expired .wc-dom-ring-fg { stroke: #dc2626; }
.wc-dom-ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.wc-dom-ring-txt b { font-family: var(--wc-font-display); font-size: 1.25rem; font-weight: 800; color: var(--wc-ink); }
.wc-dom-ring-txt span { font-size: .68rem; color: var(--wc-muted); margin-top: 2px; }
.wc-dom-main { flex: 1 1 auto; min-width: 0; }
.wc-dom-name { font-family: var(--wc-font-display); font-size: 1.4rem; font-weight: 800; color: var(--wc-ink); word-break: break-word; line-height: 1.25; }
.wc-dom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: .88rem; color: var(--wc-body); }
.wc-dom-meta b { color: var(--wc-ink); font-weight: 650; }
.wc-dom-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* -- Auto-renew switch -- */
.wc-dom-renewsw { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 0; padding-left: 20px; border-left: 1px solid var(--wc-line); }
.wc-dom-renewsw-l { font-size: .8rem; font-weight: 650; color: var(--wc-ink-2); }
.wc-dom-renewsw-s { font-size: .76rem; color: var(--wc-muted); }
.wc-dom-tgl { position: relative; width: 44px; height: 24px; padding: 0; border: 0; border-radius: var(--wc-pill); background: #8a7e70; cursor: pointer; transition: background .15s; }
.wc-dom-tgl.is-on { background: var(--wc-brand); }
.wc-dom-tgl-k { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--wc-shadow-sm); transition: transform .15s; }
.wc-dom-tgl.is-on .wc-dom-tgl-k { transform: translateX(20px); }
.wc-dom-tgl:focus-visible { outline: 3px solid var(--wc-brand); outline-offset: 2px; }

/* -- Connection line -- */
.wc-dom-conn {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px; margin-bottom: 1rem;
    border-radius: var(--wc-radius-sm); border: 1px solid var(--wc-line); background: var(--wc-bg-soft);
    font-size: .92rem; color: var(--wc-ink-2);
}
.wc-dom-conn.is-ok { background: #effbf6; border-color: #bfeeda; }
.wc-dom-conn.is-bad { background: #fff5f5; border-color: #f8cfcf; }
.wc-dom-conn .btn { flex: 0 0 auto; }

/* -- Details list -- */
.wc-dom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 24px; margin: 0; }
.wc-dom-grid dt { font-size: .8rem; font-weight: 500; color: var(--wc-muted); margin: 0 0 2px; }
.wc-dom-grid dd { font-size: .94rem; color: var(--wc-ink); font-weight: 600; margin: 0; word-break: break-word; }
.wc-dom-grid dd img { vertical-align: -2px; }

/* -- DNS -- */
.wc-dns-table { min-width: 620px; }
.wc-dns-table select.form-control { min-width: 150px; }

/* -- Contacts -- */
.wc-ct-copybar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.wc-ct-copied { font-size: .85rem; color: #06754f; }
.wc-ct-extra { display: none; }
.wc-ct-showall .wc-ct-extra { display: block; }
.wc-ct-more { background: none; border: 0; padding: 0; color: var(--wc-brand); font-size: .88rem; font-weight: 600; cursor: pointer; }
.wc-ct-more-on { display: none; }
.wc-ct-showall .wc-ct-more-on { display: inline; }
.wc-ct-showall .wc-ct-more-off { display: none; }

@media (max-width: 767.98px) {
    .wc-dom-hero { flex-wrap: wrap; padding: 18px; gap: 14px; }
    .wc-dom-ring { flex-basis: 76px; width: 76px; height: 76px; }
    .wc-dom-ring-txt b { font-size: 1.05rem; }
    .wc-dom-main { flex-basis: calc(100% - 92px); }
    .wc-dom-name { font-size: 1.15rem; }
    .wc-dom-renewsw { flex-basis: 100%; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--wc-line); }
    .wc-dom-btns .btn { flex: 1 1 auto; }
    .wc-dom-conn { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .wc-dom-tgl, .wc-dom-tgl-k { transition: none; }
}

/* === 60-support.css === */
/* ============================================================
   60-support.css  Batch 7: tickets, contact, error pages, login, register, password reset
   ============================================================ */

/* -- Login, register, reset: one card, one heading -- */
.wc-auth { max-width: 440px; margin: 28px auto 40px; }
.wc-auth-lg { max-width: 640px; }
.wc-auth-card {
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-lg);
    box-shadow: var(--wc-shadow); padding: 32px;
}
.wc-auth-h {
    font-family: var(--wc-font-display); font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em;
    color: var(--wc-ink); margin: 0 0 6px; line-height: 1.25;
}
.wc-auth-sub { color: var(--wc-muted); font-size: .95rem; line-height: 1.55; margin: 0 0 22px; }
.wc-auth-card label { font-weight: 600; color: var(--wc-ink-2); font-size: .9rem; margin-bottom: 6px; }
.wc-auth-card input.form-control, .wc-auth-card select.form-control { height: 46px; font-size: 16px; } /* 16px stops iOS zooming on focus */
.wc-auth-card .form-group { margin-bottom: 16px; }
.wc-auth-card .input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.wc-auth-card .btn-reveal-pw {
    height: 46px; border-radius: 0 var(--wc-radius-sm) var(--wc-radius-sm) 0;
    border: 1px solid #8a7e70; border-left: 0; background: #fff; color: var(--wc-muted);
    padding-left: 14px !important; padding-right: 14px !important;
}
.wc-auth-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wc-auth-labelrow a { font-size: .85rem; font-weight: 600; }
.wc-auth-check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500 !important; font-size: .92rem !important; margin: 0 0 16px; cursor: pointer; }
.wc-auth-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wc-brand); }
.wc-auth-sec {
    margin: 22px 0 12px; padding-top: 16px; border-top: 1px solid var(--wc-line);
    font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: var(--wc-muted);
}
#containerNewUserSignup > .wc-auth-sec:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.wc-auth-foot { margin: 20px 0 0; text-align: center; font-size: .92rem; color: var(--wc-muted); }
.wc-auth-foot a { font-weight: 650; }
.wc-auth-foot-2 { margin-top: 6px; font-size: .86rem; }
.wc-auth-card .iti, .wc-auth-card .intl-tel-input { width: 100%; }
.wc-auth-card .password-strength-meter .progress { height: 6px; margin-top: 8px; }
.wc-auth-card .recaptcha-container { margin-bottom: 14px; }

@media (max-width: 575.98px) {
    .wc-auth { margin: 12px auto 24px; }
    .wc-auth-card { padding: 22px 18px; border-radius: var(--wc-radius); }
    .wc-auth-h { font-size: 1.4rem; }
}

/* -- Ticket step 1 and shared buttons -- */
.wc-sup-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wc-dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wc-dept {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); color: var(--wc-ink);
    transition: border-color .15s, box-shadow .15s;
}
.wc-dept:hover, .wc-dept:focus { border-color: var(--wc-brand); box-shadow: var(--wc-shadow); color: var(--wc-ink); }
.wc-dept-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wc-dept-name { font-weight: 700; }
.wc-dept-desc { font-size: .85rem; color: var(--wc-muted); line-height: 1.45; }
.wc-dept-arrow { color: var(--wc-muted); font-size: .8rem; }
.wc-sup-hint { margin: -2px 0 8px; }

/* -- Ticket conversation -- */
.card.wc-ticket > .card-body:not(.p-3) { padding: 10px 16px !important; background: var(--wc-bg-soft); }
.card.wc-ticket > .card-body:not(.p-3):last-child { padding-bottom: 18px !important; }
.wc-ticket .wc-msg {
    max-width: 90%; background: #fff; border: 1px solid var(--wc-line);
    border-radius: 16px; overflow: hidden; box-shadow: var(--wc-shadow-sm);
}
.wc-ticket .wc-msg.is-client { margin-right: auto; border-top-left-radius: 4px; }
.wc-ticket .wc-msg.is-staff { margin-left: auto; background: #fdf5ea; border-color: #dbe7fe; border-top-right-radius: 4px; }
.wc-ticket .wc-msg .posted-by { padding: 9px 16px; font-size: .85rem; color: var(--wc-muted); border-bottom: 1px solid var(--wc-line); background: transparent; }
.wc-ticket .wc-msg.is-staff .posted-by { border-bottom-color: #dbe7fe; }
.wc-ticket .wc-msg .posted-by-name { font-weight: 700; color: var(--wc-ink); }
.wc-ticket .wc-msg .message { padding: 14px 16px !important; word-break: break-word; }
.wc-ticket .wc-msg .attachments { border-top: 1px solid var(--wc-line); padding: 10px 16px !important; }
.wc-ticket .wc-msg .attachment-list { margin: 6px 0 0; padding: 0; list-style: none; }

@media (max-width: 575.98px) {
    .card.wc-ticket > .card-body:not(.p-3) { padding: 8px 10px !important; }
    .wc-ticket .wc-msg { max-width: 100%; }
    .wc-ticket .ticket-actions { display: flex; gap: 8px; }
    .wc-ticket .ticket-actions .btn { flex: 1 1 auto; }
    #frmReply .form-control { font-size: 16px; }
}

/* -- Error pages -- */
.wc-err { max-width: 560px; margin: 40px auto 56px; text-align: center; }
.wc-err-code {
    display: block; font-family: var(--wc-font-display); font-size: 4.5rem; font-weight: 800; line-height: 1;
    letter-spacing: -.03em; color: var(--wc-line); margin-bottom: 14px;
}
.wc-err-h { font-family: var(--wc-font-display); font-size: 1.75rem; font-weight: 800; color: var(--wc-ink); margin: 0 0 8px; }
.wc-err-p { color: var(--wc-muted); margin: 0 0 22px; }

@media (prefers-reduced-motion: reduce) {
    .wc-dept { transition: none; }
}

/* === 70-cart.css === */
/* Batch 8 Cart: intentionally empty. The order form is not gated by the preview theme, so its CSS lives in
   templates/orderforms/aurora_cart/css/wc-cart.css (loaded by common.tpl under both client themes). */

/* === 75-extras.css === */
/* ============================================================
   75-extras.css  Eramhost ports (2026-11-10): hosting change-password form,
   SSL lock in the domains list, email-history cap note
   ============================================================ */

/* -- Change-password pane (clientareaproductdetails.tpl #tabChangepw, WC-PW-V1) -- */
#tabChangepw .card { border: 1px solid var(--wc-line); border-radius: var(--wc-radius); box-shadow: var(--wc-shadow-sm); }
#tabChangepw .card-body { padding: 24px 26px; }
#tabChangepw .card-title { font-family: var(--wc-font-display); font-size: 1.25rem; font-weight: 800; color: var(--wc-ink); margin-bottom: 6px; }
.wc-pw { max-width: 560px; }
.wc-pw-lead { font-size: .88rem; color: var(--wc-muted); line-height: 1.6; margin: 0 0 18px; }
.wc-pw-field { margin-bottom: 18px; }
.wc-pw-field > label { display: block; font-size: .88rem; font-weight: 700; color: var(--wc-ink-2); margin-bottom: 8px; }
.wc-pw-box { position: relative; }
.wc-pw-box .form-control {
    height: 48px; border: 1.5px solid var(--wc-line); border-radius: var(--wc-radius-sm); background: var(--wc-bg-soft);
    font-size: 15px; letter-spacing: .5px; padding: 0 84px 0 14px; box-shadow: none;
}
.wc-pw-box .form-control:focus { border-color: var(--wc-brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); background: #fff; }
.wc-pw-box .form-control:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--wc-bg-soft) inset; }
.wc-pw-eye {
    position: absolute; top: 6px; bottom: 6px; right: 6px; border: 0; border-radius: 9px;
    background: var(--wc-bg-tint); color: var(--wc-brand); font-size: .8rem; font-weight: 700; padding: 0 14px; cursor: pointer;
}
.wc-pw-eye:hover { filter: brightness(.97); }
.wc-pw-eye:focus-visible, .wc-pw-mini:focus-visible { outline: 2px solid var(--wc-brand); outline-offset: 2px; }
.wc-pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 6px; }
.wc-pw-meter i { height: 6px; border-radius: 4px; background: var(--wc-line); transition: background .15s; }
.wc-pw-meter[data-score="1"] i:nth-child(-n+1) { background: #dc2626; }
.wc-pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--wc-amber); }
.wc-pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--wc-emerald); }
.wc-pw-meter[data-score="4"] i { background: #047857; }
.wc-pw-level { font-size: .8rem; font-weight: 700; color: var(--wc-muted); margin-bottom: 10px; }
.wc-pw-rules {
    list-style: none; margin: 0 0 12px; padding: 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px; background: var(--wc-bg-soft); border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm);
}
.wc-pw-rules li { font-size: .8rem; color: var(--wc-muted); display: flex; align-items: center; gap: 8px; }
.wc-pw-rules li::before { content: ""; flex: 0 0 16px; height: 16px; border-radius: 50%; border: 2px solid #e0d3c0; box-sizing: border-box; }
.wc-pw-rules li.ok { color: #047857; font-weight: 700; }
.wc-pw-rules li.ok::before { border-color: #047857; background: #047857; box-shadow: inset 0 0 0 3px #fff; }
.wc-pw-genmsg { font-size: .8rem; color: var(--wc-brand); }
.wc-pw-match { font-size: .8rem; margin-top: 8px; min-height: 18px; }
.wc-pw-match.ok { color: #047857; font-weight: 700; }
.wc-pw-match.bad { color: #b42318; font-weight: 700; }
.wc-pw-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.wc-pw .btn { padding: 10px 20px; font-size: .88rem; font-weight: 700; box-shadow: none; }
.wc-pw-btn-primary { background: var(--wc-grad-soft); color: #fff !important; border: 0; }
.wc-pw-btn-primary:hover { filter: brightness(1.05); }
.wc-pw-btn-primary:disabled { background: #e0d3c0; color: #fff !important; cursor: not-allowed; opacity: 1; filter: none; }
.wc-pw-btn-ghost { background: #fff; color: var(--wc-ink-2); border: 1.5px solid var(--wc-line); }
.wc-pw-btn-ghost:hover { border-color: var(--wc-brand); color: var(--wc-brand); }
.wc-pw-btn-soft { background: var(--wc-bg-tint); color: var(--wc-brand); border: 0; }
.wc-pw-btn-soft:hover { filter: brightness(.97); color: var(--wc-brand); }

/* Generator panel */
.wc-pw-genbox { border: 1px solid var(--wc-line); background: var(--wc-bg-soft); border-radius: 14px; padding: 14px 16px; }
.wc-pw-genbox-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.wc-pw-genbox-h strong { font-size: .9rem; color: var(--wc-ink); font-weight: 800; }
.wc-pw-genbox-h span { font-size: .8rem; color: var(--wc-muted); }
.wc-pw-genout {
    display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--wc-line);
    border-radius: var(--wc-radius-sm); padding: 6px 6px 6px 12px; margin-bottom: 10px;
}
.wc-pw-genout code {
    flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; color: var(--wc-ink); letter-spacing: .6px;
    background: none; padding: 6px 4px; word-break: break-all; user-select: all;
}
.wc-pw-mini { flex: 0 0 auto; border: 0; border-radius: 9px; background: var(--wc-bg-tint); color: var(--wc-brand); font-size: .8rem; font-weight: 700; padding: 8px 12px; cursor: pointer; }
.wc-pw-mini:hover { filter: brightness(.97); }
.wc-pw-genopts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 10px; font-size: .84rem; color: var(--wc-ink-2); }
.wc-pw-genopts label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; cursor: pointer; }
.wc-pw-genopts input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--wc-brand); }
.wc-pw-len { border: 1.5px solid var(--wc-line); border-radius: 9px; padding: 4px 8px; background: #fff; font-weight: 700; color: var(--wc-ink); }
.wc-pw-genact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 575.98px) {
    #tabChangepw .card-body { padding: 18px; }
    .wc-pw-rules { grid-template-columns: 1fr; }
    .wc-pw-actions .btn { flex: 1 1 auto; }
    .wc-pw-genout { flex-wrap: wrap; }
    .wc-pw-genout code { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .wc-pw-meter i { transition: none; }
}

/* -- Domains list: SSL lock beside the name (clientareadomains.tpl) -- */
.wc-dom-ssl { display: inline-block; vertical-align: -4px; margin-right: 6px; line-height: 0; }
.wc-dom-ssl img { width: 20px; height: auto; }

/* -- Email history: "newest 200" note (clientareaemails.tpl) -- */
.wc-list-note { font-size: .86rem; color: var(--wc-muted); margin: 0 0 12px; }
.wc-list-note a { font-weight: 650; }

/* === 80-design.css === */
/* ============================================================
   80-design.css  Design pass 2026-11-10 (portal-wide polish, loads last)
   Flat nav, lighter sidebars, dashboard "Needs your attention" + quick actions, page action bars,
   help-centre empty state, friendlier alerts, focus rings, 44 px tap targets on phones, login side panel.
   Tokens from aurora.css only. No new fonts or libraries. Motion: 150 ms colour/shadow fades only.
   ============================================================ */

/* -- 1. Type rhythm -- */
#main-body { padding-top: 26px; padding-bottom: 48px; }
#main-body p { line-height: 1.6; }
#main-body h2, #main-body .h2 { font-size: 1.35rem; }
#main-body h3, #main-body .h3 { font-size: 1.12rem; }
.wc-band-title { letter-spacing: -.02em; }
@media (max-width: 575.98px) {
    #main-body { padding-top: 16px; padding-bottom: 32px; }
}

/* -- 2. Flat navigation -- */
#header .main-navbar-wrapper .navbar-nav > li.wc-nav-on > a {
    color: var(--wc-brand) !important;
    background: var(--wc-bg-tint);
}
#header .main-navbar-wrapper .navbar-nav > li.wc-nav-cta > a {
    background: var(--wc-grad-soft);
    color: #fff !important;
    border-radius: var(--wc-radius-sm);
    box-shadow: var(--wc-shadow-brand);
}
#header .main-navbar-wrapper .navbar-nav > li.wc-nav-cta > a:hover,
#header .main-navbar-wrapper .navbar-nav > li.wc-nav-cta.wc-nav-on > a {
    background: var(--wc-brand-2);
    color: #fff !important;
}
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="wc-logout"] > a,
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="wc-main-site"] > a,
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="main-site"] > a { color: var(--wc-muted) !important; font-weight: 550; }
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="wc-logout"] > a:hover,
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="wc-main-site"] > a:hover,
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="main-site"] > a:hover { color: var(--wc-brand) !important; }
/* Stock arrow icon on "Main site" is a leftover from the old dropdown look */
#header .main-navbar-wrapper .navbar-nav > li[menuitemname="main-site"] > a > i { font-size: .8em; opacity: .7; }
@media (max-width: 1199.98px) {
    /* Phones and tablets: every menu row is a 44 px+ target; the CTA keeps its pill but fills the row */
    #header .main-navbar-wrapper .navbar-nav > li > a { min-height: 46px; display: flex !important; align-items: center; }
    #header .main-navbar-wrapper .navbar-nav > li.wc-nav-cta > a { justify-content: center; margin: 8px 4px; }
    #header .main-navbar-wrapper .navbar-nav.ml-auto { border-top: 1px solid var(--wc-line); margin-top: 6px; padding-top: 6px; }
}

/* -- 3. Sidebars: white headers instead of gradient bands (calmer, matches the cards) -- */
body .sidebar .card { box-shadow: var(--wc-shadow-sm); }
body .sidebar .card .card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--wc-line) !important;
    padding: .85rem 1.1rem;
}
body .sidebar .card .card-header,
body .sidebar .card .card-header .card-title,
body .sidebar .card .card-header h3,
body .sidebar .card .card-header a,
body .sidebar .card .card-header .btn,
body .sidebar .card .card-header [data-toggle="collapse"] {
    color: var(--wc-ink) !important;
}
body .sidebar .card .card-header .card-title { font-size: .95rem; font-weight: 750; }
body .sidebar .card .card-header i { color: var(--wc-brand) !important; }
body .sidebar .card .card-header .card-minimise { color: var(--wc-muted) !important; }
.sidebar .wc-help-link { margin-top: 6px; font-size: .9rem; }

/* -- 4. Cards: one radius, one border, one header style everywhere -- */
#main-body .card > .card-header { background: #fff; }
#main-body .card > .card-header h2.card-title,
#main-body .card > .card-header h3.card-title { font-size: 1.02rem; font-weight: 750; letter-spacing: -.01em; }

/* -- 5. Dashboard -- */
.wc-dash-head { margin: 2px 0 18px; }
.wc-dash-head .wc-dash-title { margin: 0 0 4px; }
.wc-dash-sub { margin: 0; color: var(--wc-muted); font-size: .95rem; }

.wc-attn { margin-bottom: 16px; overflow: hidden; }
.wc-attn-list { list-style: none; margin: 0; padding: 0; }
.wc-attn-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--wc-line); }
.wc-attn-item:first-child { border-top: 0; }
.wc-attn-ico {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--wc-bg-tint); color: var(--wc-brand);
}
.wc-attn-item.is-due .wc-attn-ico { background: #fef3c7; color: #92590a; }
.wc-attn-item.is-late .wc-attn-ico { background: #fee2e2; color: #b91c1c; }
.wc-attn-main { flex: 1; min-width: 0; }
.wc-attn-t { color: var(--wc-ink); font-weight: 750; line-height: 1.35; }
.wc-attn-item.is-late .wc-attn-t { color: #b91c1c; }
.wc-attn-name { color: var(--wc-ink-2); font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.wc-attn-s { color: var(--wc-muted); font-size: .86rem; line-height: 1.5; margin-top: 2px; }
.wc-attn-btn { flex: none; margin: 0; }

.wc-allgood {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; margin-bottom: 16px;
    background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--wc-radius-sm);
    color: #065f46; font-size: .95rem;
}
.wc-allgood strong { color: #064e3b; }
.wc-allgood-ico {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: #059669; color: #fff; font-size: .8rem;
}

.wc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -8px 6px 22px; }
.wc-quick-a {
    display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px;
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm);
    color: var(--wc-ink-2); font-weight: 650; font-size: .92rem; line-height: 1.3;
    transition: border-color .15s, box-shadow .15s, color .15s;
}
.wc-quick-a:hover, .wc-quick-a:focus { color: var(--wc-brand); border-color: var(--wc-brand); box-shadow: var(--wc-shadow-sm); text-decoration: none; }
.wc-quick-ico {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; background: var(--wc-bg-tint); color: var(--wc-brand); font-size: .9rem;
}
.wc-svc-card .card-header .card-title { margin: 0; }
@media (max-width: 991.98px) {
    .wc-quick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .wc-attn-item { flex-wrap: wrap; padding: 14px 16px; }
    .wc-attn-main { flex: 1 1 60%; }
    .wc-attn-btn { flex: 1 1 100%; justify-content: center; }
    .wc-quick { margin: -6px 4px 18px; gap: 8px; }
    .wc-quick-a { font-size: .86rem; padding: 10px; }
}

/* -- 6. Page action bars (lists) -- */
.wc-pagebar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.wc-pb-a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
    border: 1px solid var(--wc-line); border-radius: var(--wc-radius-sm); background: #fff;
    color: var(--wc-ink-2); font-weight: 650; font-size: .88rem; line-height: 1.3;
    transition: border-color .15s, color .15s, box-shadow .15s;
}
.wc-pb-a i { color: var(--wc-brand); font-size: .8rem; }
.wc-pb-a:hover, .wc-pb-a:focus { color: var(--wc-brand); border-color: var(--wc-brand); text-decoration: none; }
.wc-pb-a.is-main { background: var(--wc-brand); border-color: var(--wc-brand); color: #fff; box-shadow: var(--wc-shadow-brand); }
.wc-pb-a.is-main i { color: #fff; }
.wc-pb-a.is-main:hover, .wc-pb-a.is-main:focus { color: #fff; border-color: transparent; background: var(--wc-brand-2); }
@media (max-width: 575.98px) {
    .wc-pb-a { flex: 1 1 auto; justify-content: center; min-height: 44px; }
}

/* -- 7. Help centre empty state (knowledgebase) -- */
.wc-kb-empty {
    max-width: 640px; margin: 0 auto 24px; padding: 40px 28px; text-align: center;
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius); box-shadow: var(--wc-shadow-sm);
}
.wc-kb-empty .wc-empty-ico { display: inline-flex; margin: 0 auto 14px; }
#main-body .wc-kb-empty-h { margin: 0 0 8px; font-size: 1.35rem; }
.wc-kb-empty-p { max-width: 30em; margin: 0 auto 20px; color: var(--wc-body); }
.wc-kb-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wc-kb-empty-note { margin: 18px 0 0; color: var(--wc-muted); font-size: .86rem; }
@media (max-width: 575.98px) {
    .wc-kb-empty { padding: 28px 18px; }
    .wc-kb-empty-btns .btn { flex: 1 1 100%; }
}

/* -- 8. Alerts: soft colour, left accent, icon, AA text -- */
.alert { border-width: 1px; border-left-width: 4px; padding: 14px 16px; line-height: 1.55; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; border-left-color: #047857; color: #065f46; }
.alert-info { background: #eef4ff; border-color: #bfd4fd; border-left-color: var(--wc-brand); color: #14254f; }
.alert-warning { background: #fffbeb; border-color: #fde68a; border-left-color: #f59e0b; color: #7c4a03; }
.alert-danger { background: #fef2f2; border-color: #fecaca; border-left-color: #dc2626; color: #991b1b; }
.alert a:not(.btn) { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.alert.wc-alert { display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.alert.wc-alert.w-hidden { display: none !important; }
.alert.wc-alert.text-center { justify-content: center; }
.alert.wc-alert.text-center .wc-alert-body { flex: 0 1 auto; text-align: left; }
.wc-alert-ico { flex: none; margin-top: 3px; font-size: 1.05rem; }
.wc-alert-body { display: block; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wc-alert-body > :last-child { margin-bottom: 0; }
.wc-alert-body > strong:first-child { display: block; margin-bottom: 4px; }
.wc-alert-body h2 { font-size: 1.05rem; color: inherit; margin: 0 0 4px; }
.wc-alert-body ul li { padding-left: 18px; }
.wc-alert-body ul li::before { left: 2px; }

/* -- 9. Focus: visible for keyboard users everywhere (3:1 against white) -- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid var(--wc-brand) !important; /* 5.2:1 on white */
    outline-offset: 2px;
}
#header .main-navbar-wrapper .navbar-nav > li > a:focus-visible { outline-offset: 0; }
.form-control:focus, .custom-select:focus {
    border-color: var(--wc-brand);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}
.wc-skip:focus-visible { outline-offset: 0; }

/* -- 10. Account tabs: comfortable and scrollable on phones -- */
.wc-a-tab { white-space: nowrap; display: inline-flex; align-items: center; }
.wc-a-tabs { scrollbar-width: thin; padding-bottom: 2px; }

/* -- 11. Login: form plus a quiet side panel on wide screens -- */
.wc-auth--split { max-width: 440px; }
.wc-auth-aside { display: none; }
@media (min-width: 992px) {
    .wc-auth--split { max-width: 900px; }
    .wc-auth-grid { display: grid; grid-template-columns: 440px 1fr; gap: 28px; align-items: center; }
    .wc-auth-aside {
        display: block; padding: 32px; border-radius: var(--wc-radius-lg);
        background: radial-gradient(520px 260px at 100% 0, var(--wc-bg-tint), transparent 70%), #fff;
        border: 1px solid var(--wc-line);
    }
}
.wc-auth-aside-h { margin: 0 0 18px; color: var(--wc-ink); font-family: var(--wc-font-display); font-size: 1.2rem; font-weight: 800; }
.wc-auth-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.wc-auth-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--wc-muted); font-size: .9rem; line-height: 1.5; }
.wc-auth-list strong { display: block; color: var(--wc-ink); font-size: .95rem; }
.wc-auth-li-ico {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; background: var(--wc-bg-tint); color: var(--wc-brand); font-size: .9rem;
}

/* -- 12. Tables on desktop: calmer header, roomier rows -- */
#main-body .table-list thead th { padding-top: 12px; padding-bottom: 12px; }
#main-body .table-list tbody td { padding-top: 14px; padding-bottom: 14px; }

/* -- 13. Phones: 44 px tap targets and 16 px inputs (no iOS zoom) -- */
@media (max-width: 575.98px) {
    /* Padding, not display changes: .w-hidden (display:none, no !important) must keep hiding buttons */
    #main-body .btn:not(.btn-link):not(.close) { padding-top: .62rem; padding-bottom: .62rem; }
    #main-body .btn.btn-sm:not(.btn-link) { padding-top: .72rem; padding-bottom: .72rem; }
    #main-body .wc-sbtn,
    #main-body .wc-pb-a { min-height: 44px; }
    #main-body .wc-sbtn { padding: 10px 14px; font-size: .86rem; }
    #main-body .form-control, #main-body .custom-select { min-height: 44px; font-size: 16px; }
    #main-body textarea.form-control { min-height: 96px; }
    .sidebar .list-group-item { padding-top: 12px; padding-bottom: 12px; }
    .wc-a-tab { min-height: 44px; }
    .dataTables_wrapper .dataTables_paginate .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
    #header .topbar .btn { min-height: 40px; }
    .wc-footer-col a { padding: 12px 0; }
    .wc-footer-meta a { display: inline-block; padding: 10px 4px; }
    .alert { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .wc-quick-a, .wc-pb-a { transition: none; }
}

/* Dashboard stat tiles: every tile in a row is the same height, even when one label wraps
   ("Open tickets" on mid-width screens). The column stretches and the tile fills it. */
.tiles .row > [class*="col-"] { display: flex; }
.tiles .row > [class*="col-"] > .tile { flex: 1 1 auto; width: 100%; height: auto; }
.tiles .tile .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1399.98px) {
    .tiles .tile .title { white-space: normal; }
}

/* === 90-brand.css === */
/* ============================================================
   90-brand.css  Brand pass 2026-12-05 (loads last)
   The portal follows webclub.ca: one blue accent, slate ink, flat 12 px buttons, 46 px fields,
   a compact one-row header and readable type (body 16 px, small text 13 px or more).
   Tokens come from aurora.css (:root, re-skinned the same day). Motion: 150 ms colour/shadow only.
   Source: _qa/audit-2026-12/portal-design.md (PD-xx / PL-xx ids in the comments).
   ============================================================ */

/* ---------- 1. Base type (PD upgrade 9) ---------- */
body { font-size: 1rem; line-height: 1.6; color: var(--wc-body); }
#main-body small, #main-body .small { font-size: .875rem; }
#footer, footer.footer { font-size: .95rem; }
.text-muted { color: var(--wc-muted) !important; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; }

/* ---------- 2. Header: one compact row (PD-02, PD-03) ---------- */
#header { box-shadow: none; border-bottom: 1px solid var(--wc-line); position: sticky; top: 0; z-index: 1030; }
/* Signed-in pages carry the account bar too; on phones that would pin ~110 px, so only the guest header sticks there. */
@media (max-width: 767.98px) {
    body:has(#header .topbar) #header { position: static; }
}
#header .wc-headbar {
    background: rgba(255, 255, 255, .96) !important;
    border: 0 !important;
    padding: 12px 0 !important;
    transition: box-shadow .15s var(--wc-ease);
}
@supports (backdrop-filter: blur(8px)) {
    #header .wc-headbar { background: rgba(255, 255, 255, .88) !important; backdrop-filter: saturate(1.4) blur(10px); }
}
#header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(68, 45, 20, .35); }
#header .wc-headbar .container { flex-wrap: wrap; }
#header .wc-headbar .navbar-brand { padding: 0; margin-right: 18px; }
#header .wc-headbar .navbar-brand .logo-img { max-height: 40px; width: auto; height: auto; display: block; }

/* nav links: ink text, blue on hover, underline for the current page (like the site) */
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a {
    color: var(--wc-ink-2) !important;
    font-size: .95rem;
    font-weight: 600;
    padding: 9px 12px !important;
    margin: 0 1px;
    border-radius: 10px;
    background: transparent;
    line-height: 1.3;
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a:hover,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a:focus-visible {
    color: var(--wc-brand) !important; background: var(--wc-bg-tint);
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-on > a {
    color: var(--wc-brand) !important; background: var(--wc-bg-tint);
}
/* one ink colour: "Main site" and "Log out" are no longer greyed out (PD-23) */
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="wc-logout"] > a,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="wc-main-site"] > a,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="main-site"] > a { color: var(--wc-ink-2) !important; opacity: 1; }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a {
    background: var(--wc-brand); color: #fff !important; border-radius: var(--wc-radius-sm);
    padding: 9px 16px !important; margin-left: 6px; box-shadow: var(--wc-shadow-brand);
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a:hover,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta.wc-nav-on > a { background: var(--wc-brand-2); color: #fff !important; }

/* cart and Menu: 44 px, visible ink on white (the stock hamburger was #e5e5e5 on white) */
#header .wc-headbar .toolbar { flex-direction: row; align-items: center; }
#header .wc-headbar .toolbar > li > a.cart-btn,
#header .wc-headbar .toolbar > li > .wc-menu-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; min-width: 44px; margin: 0 !important; padding: 8px 12px !important;
    border-radius: var(--wc-radius-sm) !important; border: 1px solid #e0d3c0 !important;
    background: #fff !important; color: var(--wc-ink) !important; box-shadow: none !important;
    font-size: 1rem; line-height: 1;
}
#header .wc-headbar .toolbar > li > a.cart-btn:hover,
#header .wc-headbar .toolbar > li > .wc-menu-btn:hover,
#header .wc-headbar .toolbar > li > .wc-menu-btn[aria-expanded="true"] {
    border-color: var(--wc-brand) !important; color: var(--wc-brand) !important; background: var(--wc-bg-tint) !important;
}
#header .wc-headbar .cart-btn .badge { position: static; margin: 0; font-size: .8125rem; min-width: 20px; padding: 3px 6px; border-radius: 999px; }
.wc-menu-txt { font-size: .95rem; font-weight: 650; }

@media (min-width: 1200px) {
    #header .wc-headbar .container { flex-wrap: nowrap; }
    #header .wc-headbar .navbar-collapse { flex-wrap: nowrap; }
    #header .wc-headbar .navbar-nav { align-items: center; }
}
/* 1200-1399: ten signed-in links + logo must stay on one line */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    #header .wc-headbar .navbar-brand .logo-img { max-height: 34px; }
    #header .wc-headbar .navbar-brand { margin-right: 10px; }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { padding: 8px 8px !important; font-size: .9rem; }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a { padding: 8px 12px !important; }
}

/* phones and tablets: the menu opens as a clear panel under the bar */
@media (max-width: 1199.98px) {
    #header .wc-headbar .navbar-brand .logo-img { max-height: 36px; }
    #header .wc-headbar #mainNavbar { flex-basis: 100%; order: 3; }
    #header .wc-headbar #mainNavbar.show,
    #header .wc-headbar #mainNavbar.collapsing {
        margin-top: 12px; padding: 8px 0 6px !important; border-top: 1px solid var(--wc-line);
    }
    #header .wc-headbar #mainNavbar.show { max-height: calc(100vh - 80px); overflow-y: auto; }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a {
        display: flex !important; align-items: center; min-height: 48px;
        padding: 12px 14px !important; margin: 2px 0; font-size: 1.05rem;
    }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a { justify-content: center; margin: 8px 0 4px; }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav.ml-auto { border-top: 1px solid var(--wc-line); margin-top: 6px; padding-top: 6px; }
}
@media (max-width: 374.98px) {
    .wc-menu-txt { display: none; }
}

/* signed-in account bar: quiet slate strip */
#header .topbar { background: #fdf5ea; border-bottom: 1px solid var(--wc-line); padding-top: 6px; padding-bottom: 6px; }
#header .topbar .btn { font-size: .875rem; color: var(--wc-ink-2); }
#header .topbar .input-group-text { font-size: .875rem; }

/* ---------- 3. Title band: the site's soft hero wash (upgrade 3) ---------- */
.master-breadcrumb.wc-band { background: radial-gradient(860px 300px at 92% -40%, #dbe7fe 0%, rgba(248, 237, 221, 0) 64%), #fff; padding: 22px 0 18px; }
.wc-band-title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -.025em; }
.master-breadcrumb.wc-band .breadcrumb { font-size: .875rem; }

/* ---------- 4. Buttons: one system (PD-17) ---------- */
.btn { font-size: 1rem; line-height: 1.3; }
.btn:not(.btn-sm):not(.btn-xs):not(.btn-link):not(.close):not(.toggle):not(.multiselect) { min-height: 46px; padding-top: 11px; padding-bottom: 11px; }
.btn-lg { min-height: 52px; font-size: 1.0625rem; }
.btn-sm { min-height: 38px; font-size: .9rem; border-radius: 10px; }
.btn-primary, a.btn.btn-primary, .btn-success, .btn-default, .btn-secondary { transform: none !important; }
.btn-default, .btn-secondary { border-color: #e0d3c0; }
.btn-link { font-weight: 600; }
.btn-danger { background: var(--wc-bad); border-color: var(--wc-bad); color: #fff; }
.btn-danger:hover, .btn-danger:focus { background: #991b1b; border-color: #991b1b; color: #fff; }
.btn-warning { background: var(--wc-brand); border-color: var(--wc-brand); color: #fff; }
.btn-warning:hover, .btn-warning:focus { background: var(--wc-brand-2); border-color: var(--wc-brand-2); color: #fff; }
/* the old login/contact rules made primary text 20 px; buttons read at 16-17 px like the site */
.wc-auth-card .btn, .wc-auth-card .btn-lg, #login .btn { font-size: 1.0625rem !important; }

/* ---------- 5. Forms: 46 px, 3.3:1 borders, blue halo (PD-04/05/06/17/18, upgrade 6) ---------- */
.form-control, .custom-select {
    min-height: 46px; border: 1px solid var(--wc-field); border-radius: var(--wc-radius-sm);
    font-size: 16px; color: var(--wc-ink); background-color: #fff;
}
textarea.form-control { min-height: 110px; }
.form-control-sm, .input-sm { min-height: 38px; font-size: .9rem; }
.form-control:hover:not(:focus):not(:disabled) { border-color: #6b6259; }
.form-control:focus, .custom-select:focus { border-color: var(--wc-brand) !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .18) !important; }
.form-control.is-invalid, .has-error .form-control { border-color: var(--wc-bad) !important; box-shadow: 0 0 0 4px rgba(185, 28, 28, .12) !important; }
.form-control::placeholder { color: #6b6259; opacity: 1; }
label, .col-form-label { font-size: .95rem; font-weight: 600; color: var(--wc-ink-2); }
.form-text, .help-block, .field-help-text { font-size: .9rem; color: var(--wc-muted); }
/* one select look with a visible arrow (stock #registration .field{background:#fff} wiped the caret) */
select.form-control, .custom-select, #registration select.field {
    -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 2.5rem;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3e%3c/svg%3e") no-repeat right .95rem center / 12px 8px !important;
}
select.form-control[multiple], select.form-control[size]:not([size="1"]) { background-image: none !important; padding-right: .75rem; }
/* register page: the stock ID rule (36 px, 13 px text, 3 px radius) beat the card rules */
#registration .field, #registration .form-control {
    height: 46px; font-size: 16px; border-radius: var(--wc-radius-sm); border-color: var(--wc-field); color: var(--wc-ink);
}
#registration textarea.form-control { height: auto; }
#registration .input-group { flex-wrap: nowrap; }
#registration .input-group > .form-control { width: 1%; flex: 1 1 auto; border-top-right-radius: 0; border-bottom-right-radius: 0; }
#registration .btn-reveal-pw { height: 46px; min-height: 46px; border-color: var(--wc-field); border-top-left-radius: 0; border-bottom-left-radius: 0; }
#registration .generate-password { min-height: 44px; font-size: .95rem; }
.input-group > .input-group-append > .btn, .input-group > .input-group-prepend > .btn { min-height: 46px; }
.input-group-text { min-height: 46px; }

/* ---------- 6. Status chips: one palette + a dot (PL-01, upgrade 5) ---------- */
.wcsvc, .wc-up {
    --s-ok: var(--wc-ok); --s-ok-bg: var(--wc-ok-bg); --s-bad: var(--wc-bad); --s-bad-bg: var(--wc-bad-bg);
    --s-warn: var(--wc-warn); --s-warn-bg: var(--wc-warn-bg); --s-brand: var(--wc-brand);
}
.wc-a-pill.is-ok, .invoice-container .invoice-status .paid,
#main-body .label.status.status-active, #main-body .label.status.status-paid,
#main-body .label.status.status-open, #main-body .label.status.status-completed { background: var(--wc-ok-bg) !important; color: var(--wc-ok) !important; }
.wc-a-pill.is-bad, .invoice-container .invoice-status .collections,
#main-body .label.status.status-unpaid, #main-body .label.status.status-overdue,
#main-body .label.status.status-expired, #main-body .label.status.status-terminated { background: var(--wc-bad-bg) !important; color: var(--wc-bad) !important; }
.wc-a-pill.is-warn, .invoice-container .invoice-status .unpaid,
#main-body .label.status.status-pending, #main-body .label.status.status-suspended,
#main-body .label.status.status-customer-reply { background: var(--wc-warn-bg) !important; color: var(--wc-warn) !important; }
#main-body .label.status, .wc-a-pill { display: inline-flex !important; align-items: center; gap: 6px; }
#main-body .label.status::before, .wc-a-pill::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- 7. Dashboard tiles: calm, one colour (PL-04) ---------- */
.tiles .tile { border: 1px solid var(--wc-line); box-shadow: var(--wc-shadow-sm); transition: border-color .15s, box-shadow .15s; }
.tiles .row > div .tile i { color: var(--wc-brand) !important; background: var(--wc-bg-tint) !important; }
.tiles .tile:hover { transform: none !important; background: #fff !important; border-color: var(--wc-brand) !important; box-shadow: var(--wc-shadow) !important; }
.tiles .tile.wc-tile-warn { border-color: var(--wc-warn-line); }

/* ---------- 8. 13 px floor for small text (PL-06) ---------- */
.table thead th { font-size: .8rem; letter-spacing: .04em; color: var(--wc-muted); }
.wc-due, #main-body .label.status, .wc-a-pill, .wc-autorenew { font-size: .8125rem !important; }
.wc-dom-ring-txt span { font-size: .8125rem; }
@media (max-width: 767.98px) {
    table.wc-cards tbody td { font-size: .95rem; }
    table.wc-cards tbody td[data-label]::before { font-size: .85rem; }
}
.wc-footer-col a, .wc-footer-meta a, .wc-footer-meta .btn { font-size: .95rem; }
.wc-footer-support, .wc-footer-brand p { font-size: .9rem; }
#footer .copyright { font-size: .875rem; color: rgba(255, 255, 255, .62); }

/* ---------- 9. Phones: forms first, not sidebars (PD-19) ---------- */
@media (max-width: 991.98px) {
    .wc-tpl-clientregister .sidebar, .wc-tpl-announcements .sidebar { display: none; }
}

/* ---------- 10. Prices that line up (upgrade 7) ---------- */
.price, .amt, .wc-summary-price, .wc-mp-amt, .wc-invsum-amt, #main-body td[data-order],
.invoice-container .table td:last-child, .tld-row, #subtotal, #totalDueToday { font-variant-numeric: tabular-nums; }

/* ---------- 11. Logged-in details (PL-08, PL-09, PL-10) ---------- */
.invoice-container .invoice-header img, .invoice-container img.logo-img { max-height: 48px; width: auto; }
.wc-ticket .wc-msg .message img { max-width: 100%; height: auto; border-radius: 8px; }
.wc-ticket .wc-msg .message pre { white-space: pre-wrap; overflow-x: auto; max-width: 100%; }
.wc-ticket .wc-msg .message table { display: block; overflow-x: auto; }
.sidebar .list-group-item:hover { padding-left: 1.25rem; }

/* ---------- 12. Motion guard (upgrade 10) ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important;
    }
}

/* account bar buttons stay compact (the 46 px button floor is for page content) */
#header .topbar .btn { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Lists 768-991 px: the price column makes room for the rest (audit PL-05) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    table.wc-cards .wc-c-hide-md { display: none !important; }
}

/* ---------- Register: readable labels (stock #registration label is 13 px / weight 300 / #5a5249) ---------- */
#registration label { font-size: .95rem; font-weight: 600; color: var(--wc-ink-2); }
#registration label.form-check-label, #registration .form-check label { font-weight: 500; }
/* The form already says "Already have one? Log in", so the sidebar card only pushed the form off-centre. */
.wc-tpl-clientregister #main-body .row > .col-lg-4.col-xl-3 { display: none; }
.wc-tpl-clientregister #main-body .row > .primary-content { flex: 0 0 100%; max-width: 860px; margin: 0 auto; }
.wc-auth-sec, .wc-footer-maple, #header .badge { font-size: .8125rem; }

/* ---------- Phones: the bar keeps 16 px side padding (Bootstrap zeroes it inside .navbar) ---------- */
@media (max-width: 1199.98px) {
    #header .wc-headbar > .container { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 420px) {
    #header .wc-headbar .navbar-brand { margin-right: 8px; }
    #header .wc-headbar .navbar-brand .logo-img { max-height: 30px; }
    #header .wc-headbar .toolbar { gap: 6px; }
    #header .wc-headbar .toolbar > li > a.cart-btn, #header .wc-headbar .toolbar > li > .wc-menu-btn { padding: 8px 10px !important; }
}

/* === 95-warm.css === */
/* ============================================================
   95-warm.css  v7 "Warm" component layer (2026-12-05). Loads LAST.
   Spec: _qa/audit-2026-12/DESIGN-WARM.md sections 3-8, 10, 12, 14. Tokens: 05-tokens-warm.css (--wc7-*).
   Cream pages, white cards with brown-tinted shadows, blue stays the only action colour, maple and sun are
   accents, night footer like webclub.ca. Body 16 px, nothing under 13 px, inputs 48 px (52 on auth cards),
   AA contrast, visible focus. Nav stays flat (owner rule). Motion: colour/shadow only, 150 ms.
   Cart pages: contested rules live in aurora_cart/css/wc-cart.css (it loads after the stock all.min.css).
   ============================================================ */

/* ---------- 1. Base ---------- */
/* short pages: the main area grows so the night footer always reaches the bottom of the window
   (no night showing on top overscroll, no cream strip under the footer) */
html { background: var(--wc7-cream); }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > #main-body { flex: 1 0 auto; }
body > #header, body > #footer { flex-shrink: 0; }
body, body.primary-bg-color, #main-body {
    background: var(--wc7-cream) !important;
    color: var(--wc7-body);
}
body { font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 { color: var(--wc7-ink); text-wrap: balance; }
h1, .h1 { letter-spacing: -.028em; }
h2, .h2 { letter-spacing: -.02em; }
a { color: var(--wc7-blue-600); }
a:hover { color: var(--wc7-blue-700); }
::selection { background: var(--wc7-sun-100); color: var(--wc7-ink); }
:focus-visible { outline: 3px solid var(--wc7-blue-600); outline-offset: 3px; }
.text-muted { color: var(--wc7-muted) !important; }
hr { border-top-color: var(--wc7-line); }
#main-body { padding-bottom: 56px; }

/* shared warm pieces */
.wc7-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 14px 5px 12px;
    border-radius: 999px; background: var(--wc7-maple-50); border: 1px solid var(--wc7-maple-100);
    color: var(--wc7-maple-700); font-size: .875rem; font-weight: 700; line-height: 1.3;
}
.wc7-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wc7-maple-500); }
.wc7-chip {
    flex: none; display: inline-grid !important; place-items: center; width: 48px; height: 48px;
    border-radius: var(--wc7-r-md) !important; font-size: 1.15rem;
    background: var(--wc7-blue-50) !important; color: var(--wc7-blue-700) !important; box-shadow: inset 0 0 0 1px var(--wc7-blue-100);
}
.wc7-chip.is-maple { background: var(--wc7-maple-50) !important; color: var(--wc7-maple-600) !important; box-shadow: inset 0 0 0 1px var(--wc7-maple-100); }
.wc7-chip.is-sun { background: var(--wc7-sun-50) !important; color: var(--wc7-sun-700) !important; box-shadow: inset 0 0 0 1px var(--wc7-sun-100); }
.wc7-chip.is-sage { background: var(--wc7-ok-bg) !important; color: var(--wc7-ok) !important; box-shadow: inset 0 0 0 1px var(--wc7-ok-line); }
.wc-illo { display: block; width: 100%; height: auto; }

/* ---------- 2. Header: cream glass bar, flat nav, sand hover pill ---------- */
#header { border-bottom: 1px solid var(--wc7-line); background: transparent; }
#header .wc-headbar { background: rgba(255, 250, 243, .96) !important; padding: 14px 0 !important; }
@supports (backdrop-filter: blur(8px)) {
    #header .wc-headbar { background: rgba(255, 250, 243, .88) !important; backdrop-filter: saturate(1.3) blur(10px); }
}
#header.is-scrolled { box-shadow: 0 10px 28px -20px rgba(68, 45, 20, .45); }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { color: var(--wc7-ink) !important; border-radius: 12px; }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a:hover,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a:focus-visible { color: var(--wc7-ink) !important; background: var(--wc7-sand); }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-on > a {
    color: var(--wc7-ink) !important; background: #fff; box-shadow: inset 0 0 0 1px var(--wc7-line-strong);
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="wc-logout"] > a,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="wc-main-site"] > a,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li[menuitemname="main-site"] > a { color: var(--wc7-ink) !important; }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a {
    background: var(--wc7-blue-600); color: #fff !important; border-radius: var(--wc7-r-btn);
    box-shadow: var(--wc7-sh-xs), inset 0 1px 0 rgba(255, 255, 255, .16);
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a:hover,
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta.wc-nav-on > a { background: var(--wc7-blue-700); color: #fff !important; box-shadow: var(--wc7-sh-blue); }
#header .wc-headbar .toolbar > li > a.cart-btn,
#header .wc-headbar .toolbar > li > .wc-menu-btn {
    border: 1.5px solid var(--wc7-line-strong) !important; border-radius: var(--wc7-r-btn) !important;
    color: var(--wc7-ink) !important; background: #fff !important; box-shadow: var(--wc7-sh-xs) !important;
}
#header .wc-headbar .toolbar > li > a.cart-btn:hover,
#header .wc-headbar .toolbar > li > .wc-menu-btn:hover,
#header .wc-headbar .toolbar > li > .wc-menu-btn[aria-expanded="true"] {
    border-color: var(--wc7-blue-600) !important; color: var(--wc7-blue-700) !important; background: var(--wc7-blue-50) !important;
}
/* cart count: a maple badge (white text 5.2:1) */
#header .wc-headbar .cart-btn .badge, #header .wc-headbar .cart-btn #cartItemCount {
    background: var(--wc7-maple-600) !important; color: #fff !important; font-weight: 700; font-size: .8125rem;
}
@media (max-width: 1199.98px) {
    #header .wc-headbar #mainNavbar.show, #header .wc-headbar #mainNavbar.collapsing { border-top-color: var(--wc7-line); }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav.ml-auto { border-top-color: var(--wc7-line); }
}
/* signed-in account bar: cream-2, 15 px */
#header .topbar { background: var(--wc7-cream-2) !important; border-bottom: 1px solid var(--wc7-line); }
#header .topbar .btn, #header .topbar .input-group-text { font-size: .9375rem; color: var(--wc7-ink-2); background: transparent; border-color: transparent; }
#header .topbar .btn-active-client { font-weight: 700; color: var(--wc7-ink) !important; }
#header .topbar .btn:hover { background: var(--wc7-sand); color: var(--wc7-ink); }
.popover { border-color: var(--wc7-line); border-radius: var(--wc7-r-md); box-shadow: var(--wc7-sh-md); }
.client-alerts li a { color: var(--wc7-ink-2) !important; }

/* ---------- 3. Page title band: warm wash ---------- */
.master-breadcrumb.wc-band {
    background: var(--wc7-grad-warm-band) !important;
    border-bottom: 1px solid var(--wc7-line);
    padding: 30px 0 26px;
}
.wc-band-title { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; letter-spacing: -.028em; color: var(--wc7-ink); margin: 0; }
.master-breadcrumb .breadcrumb { background: transparent; font-size: .9375rem; color: var(--wc7-faint); margin-bottom: 6px; }
.master-breadcrumb .breadcrumb a { color: var(--wc7-blue-700); }
.master-breadcrumb .breadcrumb-item.active { color: var(--wc7-muted); }
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--wc7-faint); }
#main-body { padding-top: 32px; }

/* ---------- 4. Cards and sidebars: white, 22 px radius, brown shadows ---------- */
#main-body .card, .wc-a-card, .wc-svc-card, .wc-attn {
    background: #fff; border: 1px solid var(--wc7-line) !important; border-radius: var(--wc7-r-lg) !important;
    box-shadow: var(--wc7-sh-sm) !important;
}
#main-body .card > .card-header:first-child { border-radius: calc(var(--wc7-r-lg) - 1px) calc(var(--wc7-r-lg) - 1px) 0 0; }
#main-body .card > .card-footer:last-child { border-radius: 0 0 calc(var(--wc7-r-lg) - 1px) calc(var(--wc7-r-lg) - 1px); }
#main-body .card > .card-header {
    background: #fff; border-bottom: 1px solid var(--wc7-line-2); padding: 18px 22px;
}
#main-body .card > .card-header .card-title, #main-body .card-title { color: var(--wc7-ink); font-weight: 800; font-size: 1.125rem; }
#main-body .card > .card-footer { background: var(--wc7-cream-2); border-top: 1px solid var(--wc7-line-2); padding: 14px 22px; }
.sidebar .card-sidebar .card-header { background: var(--wc7-cream-2) !important; }
.sidebar .card-sidebar .card-title { font-size: 1rem !important; }
.sidebar .card-sidebar .card-title i { color: var(--wc7-maple-600); }
.sidebar .list-group-item { color: var(--wc7-ink-2); border-color: var(--wc7-line-2); font-size: .9375rem; }
.sidebar .list-group-item:hover { background: var(--wc7-cream-2); color: var(--wc7-ink); }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover {
    background: var(--wc7-blue-50) !important; color: var(--wc7-blue-800) !important; border-color: var(--wc7-line-2) !important;
    box-shadow: inset 3px 0 0 var(--wc7-blue-600); font-weight: 700;
}
.sidebar .list-group-item .badge { background: var(--wc7-sand); color: var(--wc7-ink-2); }

/* ---------- 5. Buttons: 14 px radius, blue primary, white secondary ---------- */
.btn { border-radius: var(--wc7-r-btn); font-weight: 700; transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn:not(.btn-sm):not(.btn-xs):not(.btn-link):not(.close):not(.toggle):not(.multiselect) { min-height: 48px; }
.btn-lg { min-height: 54px !important; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; border-radius: 12px; }
.btn-primary, a.btn-primary, .btn-primary:not(:disabled):not(.disabled) {
    background: var(--wc7-blue-600) !important; border-color: var(--wc7-blue-600) !important; color: #fff !important;
    box-shadow: var(--wc7-sh-xs), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--wc7-blue-700) !important; border-color: var(--wc7-blue-700) !important; color: #fff !important; box-shadow: var(--wc7-sh-blue);
}
.btn-default, .btn-secondary, .btn-outline-secondary, .btn-light {
    background: #fff !important; color: var(--wc7-ink) !important; border: 1.5px solid var(--wc7-line-strong) !important; box-shadow: var(--wc7-sh-xs);
}
.btn-default:hover, .btn-secondary:hover, .btn-outline-secondary:hover, .btn-light:hover,
.btn-default:focus, .btn-secondary:focus {
    background: var(--wc7-blue-50) !important; border-color: var(--wc7-blue-600) !important; color: var(--wc7-blue-700) !important;
}
.btn-success { background: var(--wc7-ok) !important; border-color: var(--wc7-ok) !important; color: #fff !important; }
.btn-success:hover { background: #065f46 !important; border-color: #065f46 !important; }
.btn-danger { background: var(--wc7-err) !important; border-color: var(--wc7-err) !important; color: #fff !important; }
.btn-danger:hover { background: #912018 !important; border-color: #912018 !important; }
.btn-link { color: var(--wc7-blue-700); font-weight: 700; }
.btn:focus-visible, .btn.focus { outline: 3px solid var(--wc7-blue-600); outline-offset: 3px; box-shadow: none; }
.wc-sbtn { border-radius: 12px !important; border-color: var(--wc7-line-strong) !important; color: var(--wc7-ink) !important; background: #fff !important; min-height: 44px; font-weight: 700; }
.wc-sbtn:hover, .wc-sbtn:focus { border-color: var(--wc7-blue-600) !important; color: var(--wc7-blue-700) !important; background: var(--wc7-blue-50) !important; }
.wc-sbtn--sso, .wc-sbtn--pay { background: var(--wc7-blue-600) !important; border-color: var(--wc7-blue-600) !important; color: #fff !important; }
.wc-sbtn--sso:hover, .wc-sbtn--pay:hover { background: var(--wc7-blue-700) !important; color: #fff !important; }

/* ---------- 6. Forms: 48 px fields, 1.5 px warm border, blue halo ---------- */
.form-control, .custom-select, #registration .field, #registration .form-control {
    min-height: 48px; border: 1.5px solid var(--wc7-field) !important; border-radius: var(--wc7-r-sm);
    color: var(--wc7-ink); font-size: 1rem; background-color: #fff;
}
#registration .field, #registration .form-control:not(textarea) { height: 48px; }
.form-control:hover:not(:focus):not(:disabled) { border-color: var(--wc7-muted) !important; }
.form-control:focus, .custom-select:focus, #registration .field:focus {
    border-color: var(--wc7-blue-600) !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .18) !important; outline: 0;
}
.form-control::placeholder { color: var(--wc7-field); }
.form-control:disabled, .form-control[readonly] { background: var(--wc7-cream-2); }
label, .col-form-label, #registration label { color: var(--wc7-ink); font-weight: 700; font-size: 1rem; }
.form-text, .help-block, .field-help-text, .wc-a-hint { color: var(--wc7-faint) !important; font-size: .9375rem; }
.input-group-text { background: var(--wc7-cream-2); border: 1.5px solid var(--wc7-field); color: var(--wc7-muted); min-height: 48px; }
.input-group > .input-group-append > .btn, .input-group > .input-group-prepend > .btn, #registration .btn-reveal-pw { min-height: 48px; height: auto; }
.btn-reveal-pw { border: 1.5px solid var(--wc7-field) !important; border-left: 0 !important; box-shadow: none !important; }
select.form-control, .custom-select, #registration select.field {
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%235a5249' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3e%3c/svg%3e") no-repeat right .95rem center / 12px 8px !important;
}
input[type=checkbox], input[type=radio] { accent-color: var(--wc7-blue-600); }
.password-strength-meter .progress { background: var(--wc7-sand); border-radius: 999px; }
.password-strength-meter .progress-bar.bg-success { background: var(--wc7-ok) !important; }
.password-strength-meter .progress-bar.bg-warning { background: var(--wc7-sun-500) !important; }
.password-strength-meter .progress-bar.bg-danger { background: var(--wc7-err) !important; }

/* ---------- 7. Alerts: warm, words not colour alone ---------- */
.alert { border-radius: var(--wc7-r-md); border-width: 1px; font-size: 1rem; }
.alert-info { background: var(--wc7-blue-50); border-color: var(--wc7-blue-100); color: var(--wc7-blue-900); }
.alert-success { background: var(--wc7-ok-bg); border-color: var(--wc7-ok-line); color: #065f46; }
.alert-warning { background: var(--wc7-warn-bg); border-color: var(--wc7-warn-line); color: var(--wc7-warn); }
.alert-danger { background: var(--wc7-err-bg); border-color: var(--wc7-err-line); color: var(--wc7-err); }

/* ---------- 8. Lists: white card, sand header row, 56 px rows ---------- */
#main-body .table-container, #main-body .dataTables_wrapper {
    background: #fff; border: 1px solid var(--wc7-line); border-radius: var(--wc7-r-lg); box-shadow: var(--wc7-sh-sm);
}
#main-body .dataTables_wrapper { padding: 14px 16px 10px; }
#main-body .table-container .dataTables_wrapper { border: 0; box-shadow: none; padding: 14px 16px 10px; }
#main-body .table-list { border-collapse: separate; border-spacing: 0; }
#main-body .table-list thead th, #main-body .table thead th {
    background: var(--wc7-sand) !important; color: var(--wc7-ink-2) !important; font-size: .875rem !important; font-weight: 700;
    letter-spacing: 0 !important; text-transform: none !important; border: 0 !important;
}
#main-body .table-list thead th:first-child { border-radius: 12px 0 0 12px; }
#main-body .table-list thead th:last-child { border-radius: 0 12px 12px 0; }
#main-body .table-list tbody td { border-top: 1px solid var(--wc7-line-2) !important; color: var(--wc7-body); vertical-align: middle; }
#main-body .table-list tbody tr:first-child td { border-top: 0 !important; }
#main-body .table-list tbody tr:hover td { background: var(--wc7-cream-2) !important; }
#main-body .table-list tbody td strong, #main-body .wc-c-title { color: var(--wc7-ink); }
#main-body .dataTables_wrapper .dataTables_filter input { min-height: 44px; border-radius: 12px; }
#main-body .dataTables_wrapper .dataTables_info, #main-body .dataTables_wrapper .dataTables_length { color: var(--wc7-faint); font-size: .9375rem; }
#main-body .dataTables_wrapper .pagination .page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px !important; margin: 0 2px; color: var(--wc7-ink-2); border-color: var(--wc7-line); }
#main-body .dataTables_wrapper .pagination .page-item.active .page-link { background: var(--wc7-ink); border-color: var(--wc7-ink); color: #fff; }
@media (max-width: 767.98px) {
    #main-body table.wc-cards tbody tr { border: 1px solid var(--wc7-line) !important; border-radius: var(--wc7-r-md) !important; background: #fff; box-shadow: var(--wc7-sh-xs); }
    #main-body table.wc-cards tbody td[data-label]::before { color: var(--wc7-faint); }
}

/* status badges: the .badge family (word + colour + dot) */
#main-body .label.status, .wc-a-pill, .wc-s-pill {
    border-radius: 999px !important; font-weight: 700 !important; padding: 4px 12px !important; font-size: .875rem !important;
}
#main-body .label.status-active, #main-body .label.status-paid, #main-body .label.status-completed, #main-body .label.status-open, .wc-a-pill.is-ok {
    background: var(--wc7-ok-bg) !important; color: var(--wc7-ok) !important;
}
#main-body .label.status-pending, #main-body .label.status-customer-reply, #main-body .label.status-in-progress,
#main-body .label.status-answered, #main-body .label.status-pending-transfer, #main-body .label.status-pending-registration {
    background: var(--wc7-blue-50) !important; color: var(--wc7-blue-700) !important;
}
#main-body .label.status-unpaid, #main-body .label.status-payment-pending, .wc-a-pill.is-warn {
    background: var(--wc7-sun-100) !important; color: var(--wc7-sun-700) !important;
}
#main-body .label.status-overdue, #main-body .label.status-suspended, #main-body .label.status-cancelled,
#main-body .label.status-terminated, #main-body .label.status-expired, #main-body .label.status-fraud,
#main-body .label.status-collections, .wc-a-pill.is-bad {
    background: var(--wc7-err-bg) !important; color: var(--wc7-err) !important;
}
#main-body .label.status-closed, #main-body .label.status-refunded, #main-body .label.status-transferred-away {
    background: var(--wc7-line-2) !important; color: var(--wc7-faint) !important;
}

/* ---------- 9. Empty states with an illustration ---------- */
.wc-empty {
    background: #fff; border: 1px solid var(--wc7-line); border-radius: var(--wc7-r-lg); box-shadow: var(--wc7-sh-sm);
    padding: 28px 24px 32px; gap: 10px;
}
.wc-empty-art { width: min(260px, 70%); margin: 0 auto 4px; }
.wc-empty-t { color: var(--wc7-ink); font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; }
.wc-empty-s { color: var(--wc7-muted); font-size: 1rem; max-width: 46ch; }
.wc-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.wc-empty--hero { flex-direction: row; text-align: left; align-items: center; gap: 28px; padding: 28px 32px; margin-bottom: 22px; background: var(--wc7-grad-warm-band); border-color: var(--wc7-line-strong); }
.wc-empty--hero .wc-empty-art { flex: 0 0 240px; width: 240px; margin: 0; }
.wc-empty--hero .wc-empty-cta { margin-top: 0; }
@media (max-width: 767.98px) {
    .wc-empty--hero { flex-direction: column; text-align: center; padding: 22px 18px; }
    .wc-empty--hero .wc-empty-art { flex-basis: auto; width: min(220px, 80%); }
    .wc-empty--hero .wc-empty-btns { justify-content: center; }
    .wc-empty-btns .btn { flex: 1 1 100%; }
}

/* ---------- 10. Dashboard: moved to 96-v8.css (v8 "Hearth", 2026-12-05) ---------- */
/* home panels from WHMCS (support, invoices etc.) */
.client-home-cards .card .card-header .card-title i { color: var(--wc7-maple-600); }
.client-home-cards .list-group-item { border-color: var(--wc7-line-2); color: var(--wc7-ink-2); }
.client-home-cards .list-group-item:hover { background: var(--wc7-cream-2); }

/* ---------- 11. Login, register, password reset: split card with a night panel ---------- */
.wc-auth--split, .wc-auth--reg { max-width: 1040px; margin: 20px auto 48px; }
.wc-auth--illo { max-width: 520px; }
.wc-auth-card {
    background: #fff; border: 1px solid var(--wc7-line) !important; border-radius: var(--wc7-r-xl) !important;
    box-shadow: var(--wc7-sh-md) !important; padding: 36px !important;
}
.wc-auth-h { font-size: clamp(1.75rem, 3vw, 2.25rem) !important; font-weight: 800; letter-spacing: -.028em; color: var(--wc7-ink); }
.wc-auth-sub { font-size: 1.0625rem; color: var(--wc7-muted); }
.wc-auth-card label { font-size: 1rem; color: var(--wc7-ink); font-weight: 700; }
.wc-auth-card input.form-control, .wc-auth-card select.form-control, .wc-auth-card .btn-reveal-pw { min-height: 52px; height: 52px; font-size: 1.0625rem; }
.wc-auth-card .btn-lg, .wc-auth-card .btn-block.btn-primary { min-height: 56px !important; font-size: 1.125rem !important; }
.wc-auth-labelrow a { font-size: .9375rem; }
.wc-auth-check { font-size: 1rem !important; }
.wc-auth-check input { width: 20px; height: 20px; }
.wc-auth-foot { font-size: 1rem; color: var(--wc7-muted); }
.wc-auth-foot-2 { font-size: .9375rem; }
.wc-auth-illo { width: min(240px, 70%); margin: -6px auto 14px; }
.wc-auth--illo .wc-auth-card { text-align: center; }

.wc-auth-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .wc-auth--split .wc-auth-card { display: flex; flex-direction: column; justify-content: center; } }
.wc-auth-aside.wc7-night {
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    background: var(--wc7-grad-night); color: var(--wc7-night-muted); border: 0;
    border-radius: var(--wc7-r-xl); padding: 34px 32px 0; box-shadow: var(--wc7-sh-lg);
}
.wc-auth-aside.wc7-night a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.wc-auth-aside.wc7-night a:focus-visible { outline-color: var(--wc7-sun-300); }
.wc-auth-aside-logo { width: 140px; height: auto; margin: 0 0 22px; }
.wc-auth-aside.wc7-night .wc-auth-aside-h { color: #fff; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.wc-auth-aside-p { color: var(--wc7-night-muted); font-size: 1.0625rem; margin: 0 0 22px; }
.wc-auth-aside.wc7-night .wc-auth-list { gap: 16px; padding: 0; margin: 0; list-style: none; }
.wc-auth-aside.wc7-night .wc-auth-list li { color: var(--wc7-night-muted); font-size: .9375rem; line-height: 1.5; display: flex; gap: 12px; }
.wc-auth-aside.wc7-night .wc-auth-list strong { color: #fff; font-size: 1rem; display: block; }
.wc-auth-aside.wc7-night .wc-auth-li-ico {
    flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%;
    background: var(--wc7-ok-bg); color: var(--wc7-ok); font-size: .9375rem; font-weight: 800;
}
.wc-auth-aside.wc7-night .wc-auth-steps .wc-auth-li-ico { background: #fff; color: var(--wc7-ink); box-shadow: 0 0 0 2px var(--wc7-sun-400); }
.wc-auth-aside-foot { margin: 18px 0 0; font-size: 1rem; color: var(--wc7-night-muted); }
.wc-auth-art { width: 78%; max-width: 300px; margin: 22px auto -8px; opacity: .98; }
@media (min-width: 992px) {
    .wc-auth--split .wc-auth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: stretch; }
    .wc-auth-grid--reg { grid-template-columns: minmax(0, 1fr) 360px !important; gap: 28px; align-items: start; }
    .wc-auth-grid--reg .wc-auth-aside { position: sticky; top: 110px; }
}
@media (max-width: 991.98px) {
    /* phones: the panel follows the form, collapsed to the list */
    .wc-auth-aside.wc7-night { padding: 24px 20px; }
    .wc-auth-aside-logo, .wc-auth-art, .wc-auth-aside-p { display: none; }
    .wc-auth-aside.wc7-night .wc-auth-aside-h { font-size: 1.375rem; margin-bottom: 14px; }
}
@media (max-width: 575.98px) {
    .wc-auth-card { padding: 24px 18px !important; border-radius: var(--wc7-r-lg) !important; }
    .wc-auth--split, .wc-auth--reg { margin-top: 4px; }
}
/* register: wide form, section heads instead of small caps labels */
.wc-tpl-clientregister #main-body .row > .primary-content { max-width: 1100px; }
.wc-auth--reg .wc-auth-sec {
    display: flex; align-items: center; gap: 10px; margin: 28px 0 14px; padding-top: 22px; border-top: 1px dashed var(--wc7-line-strong);
    font-size: 1.25rem !important; font-weight: 800; color: var(--wc7-ink); text-transform: none; letter-spacing: -.01em;
}
.wc-auth--reg .wc-auth-sec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wc7-sun-400); box-shadow: 0 0 0 4px var(--wc7-sun-50); }

/* guest support, contact, knowledgebase */
.wc-guest-card { text-align: center; padding: 32px; max-width: 720px; margin: 0 auto; }
.wc-guest-card .wc-a-h { font-size: 1.625rem; margin-bottom: 8px; }
.wc-guest-card .wc-a-sub { max-width: 52ch; margin-left: auto; margin-right: auto; }
.wc-guest-card .wc-sup-btns { justify-content: center; }
.wc-dept { border: 1px solid var(--wc7-line) !important; border-radius: var(--wc7-r-lg) !important; background: #fff; box-shadow: var(--wc7-sh-xs); padding: 18px 20px !important; min-height: 72px; }
.wc-dept:hover, .wc-dept:focus { border-color: var(--wc7-line-strong) !important; box-shadow: var(--wc7-sh-md) !important; }
.wc-dept-name { font-size: 1.0625rem; color: var(--wc7-ink); }
.wc-dept-desc { font-size: .9375rem; color: var(--wc7-muted); }
.wc-kb-empty { max-width: none; margin: 0; background: var(--wc7-grad-warm-band); border: 1px solid var(--wc7-line-strong); border-radius: var(--wc7-r-xl); padding: 32px 24px; text-align: center; box-shadow: var(--wc7-sh-sm); }
.wc-kb-empty-art { width: min(260px, 70%); margin: 0 auto 10px; }
#main-body .wc-kb-empty-h { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.wc-kb-empty-p { font-size: 1.0625rem; color: var(--wc7-body); max-width: 52ch; margin: 0 auto 18px; }
.wc-kb-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wc-kb-empty-note { text-align: center; color: var(--wc7-muted); font-size: 1rem; margin: 22px 0 0; }
.wc-topics { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wc-topic {
    display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px 20px; background: #fff;
    border: 1px solid var(--wc7-line); border-radius: var(--wc7-r-lg); box-shadow: var(--wc7-sh-xs);
    color: var(--wc7-muted) !important; text-decoration: none !important; font-size: .9375rem; line-height: 1.45;
}
.wc-topic strong { display: block; color: var(--wc7-ink); font-size: 1.0625rem; margin-bottom: 2px; }
.wc-topic:hover, .wc-topic:focus-visible { border-color: var(--wc7-line-strong); box-shadow: var(--wc7-sh-md); }
@media (max-width: 991.98px) { .wc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .wc-topics { grid-template-columns: 1fr; } }
.kb-category { border-radius: var(--wc7-r-lg) !important; }

/* ---------- 12. Account pages ---------- */
.wc-a-card { padding: 26px 28px; }
.wc-a-h { color: var(--wc7-ink); font-weight: 800; }
.wc-a-sub { color: var(--wc7-muted); font-size: 1rem; }
.wc-a-ico { background: var(--wc7-blue-50) !important; color: var(--wc7-blue-700) !important; border-radius: 14px !important; }
.wc-a-tab { border-radius: 12px !important; font-weight: 700; color: var(--wc7-ink-2) !important; }
.wc-a-tab:hover { background: var(--wc7-sand) !important; }
.wc-a-tab.active, .wc-a-tab.is-on, .wc-a-tab[aria-current] { background: #fff !important; color: var(--wc7-ink) !important; box-shadow: inset 0 0 0 1px var(--wc7-line-strong); }
.wc-a-tile { border-radius: var(--wc7-r-lg) !important; border-color: var(--wc7-line) !important; }
.wc-a-tile-t { font-size: 1rem; }
.wc-a-tile-s { font-size: .9375rem; }

/* ---------- 13. Billing ---------- */
.wc-inv-strip { border-radius: var(--wc7-r-lg); }
.wc-inv-strip-t { font-weight: 800; }

/* ---------- 14. Support tickets ---------- */
.wc-msg.is-client { background: #fff; border: 1px solid var(--wc7-line) !important; border-radius: var(--wc7-r-lg) !important; box-shadow: var(--wc7-sh-xs); }
.wc-msg.is-staff { background: var(--wc7-blue-50) !important; border: 1px solid var(--wc7-blue-100) !important; border-radius: var(--wc7-r-lg) !important; }
.wc-ticket textarea.form-control { min-height: 160px; }

/* ---------- 15. Footer: deep warm night, faint wordmark ---------- */
#footer.wc7-footer {
    position: relative; overflow: hidden; background: var(--wc7-grad-night) !important; background-color: var(--wc7-night-900) !important; color: var(--wc7-night-faint);
    padding: 64px 0 28px; margin-top: 24px; border-top: 0;
}
#footer.wc7-footer::after {
    content: "webclub"; position: absolute; left: 50%; bottom: -.3em; transform: translateX(-50%);
    font-weight: 800; font-size: clamp(5rem, 16vw, 13rem); letter-spacing: -.05em; line-height: 1;
    color: rgba(255, 255, 255, .035); pointer-events: none; white-space: nowrap;
}
#footer.wc7-footer .container { position: relative; z-index: 1; }
#footer.wc7-footer .wc-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
#footer.wc7-footer .wc-footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
#footer.wc7-footer .wc-footer-brand p { color: var(--wc7-night-muted); font-size: 1rem; line-height: 1.6; max-width: 34ch; }
#footer.wc7-footer .wc-footer-support { color: var(--wc7-night-faint); font-size: .9375rem; }
#footer.wc7-footer .wc-footer-h { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 0 0 14px; }
#footer.wc7-footer .wc-footer-col a { display: block; color: var(--wc7-night-muted); font-size: 1rem; padding: 5px 0; transform: none; }
#footer.wc7-footer .wc-footer-col a:hover, #footer.wc7-footer .wc-footer-col a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; transform: none; }
#footer.wc7-footer a:focus-visible { outline-color: var(--wc7-sun-300); }
#footer.wc7-footer .wc-footer-bar { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
#footer.wc7-footer .copyright { color: var(--wc7-night-faint); font-size: .9375rem; margin: 0 !important; padding: 0; }
#footer.wc7-footer .wc-footer-meta { flex-wrap: wrap; gap: 6px 14px; }
#footer.wc7-footer .wc-footer-meta a, #footer.wc7-footer .wc-footer-meta .btn { color: var(--wc7-night-muted); font-size: .9375rem; }
#footer.wc7-footer .wc-footer-meta a:hover { color: #fff; }
.wc-footer-proud {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); color: #fff; font-weight: 700; font-size: .875rem;
}
.wc-footer-proud svg { color: var(--wc7-maple-400); }
@media (max-width: 991.98px) { #footer.wc7-footer .wc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
    #footer.wc7-footer { padding-top: 48px; }
    #footer.wc7-footer .wc-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
    #footer.wc7-footer .wc-footer-brand { grid-column: 1 / -1; }
    #footer.wc7-footer .wc-footer-col a { padding: 10px 0; }
    #footer.wc7-footer .wc-footer-bar { justify-content: flex-start; text-align: left; }
}

/* ---------- 16. Modals, misc ---------- */
.modal-content { border: 0; border-radius: var(--wc7-r-xl); box-shadow: var(--wc7-sh-lg); }
.modal-header { border-bottom-color: var(--wc7-line-2); }
.modal-footer { border-top-color: var(--wc7-line-2); background: var(--wc7-cream-2); border-radius: 0 0 var(--wc7-r-xl) var(--wc7-r-xl); }
.nav-tabs .nav-link.active { color: var(--wc7-ink); border-color: var(--wc7-line) var(--wc7-line) #fff; }
.badge-info { background: var(--wc7-blue-50); color: var(--wc7-blue-700); }
.wc-skip:focus { background: var(--wc7-ink) !important; color: #fff !important; }

/* ---------- 17. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .wc-stat, .wc-quick-a, .wc-topic, .wc-dept, .btn { transition: none !important; }
}

/* deploy 3: the toolbar (cart + Menu) is not the collapsed right-hand list; no divider above it */
@media (max-width: 1199.98px) {
    #header .main-navbar-wrapper .navbar-nav.toolbar { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
}

/* === 96-v8.css === */
/* ============================================================
   96-v8.css  v8 "Hearth" client-area layer (2026-12-05). Loads after 95-warm.css; 97-qa.css and 98-fit.css stay last.
   Spec: _qa/redesign-v8/DESIGN-V8.md section 8 (+ v8.css sections 3, 4, 8, 9, 12, 15 and v8-portal.css).
   Tokens: the v8 block at the end of 05-tokens-warm.css (--ink, --sand, --sh-card, --ff-display ...).
   Same product as webclub.ca: Fraunces for page-level titles only (never body, buttons, labels, prices, forms or
   anything under 22 px), cream glass header with a pill nav (flat, owner rule), 24 px cards with a hairline ring and a
   warm long shadow, 52 px fields and buttons, grain on the warm and night surfaces, night footer with the Fraunces
   watermark. Motion: hover lifts and colour only, all off under prefers-reduced-motion.
   Cart and checkout: aurora_cart/css/wc-cart.css (v8 layer at its end). Service page: wc-service/wc-service.css.
   ============================================================ */

/* ---------- 1. Base ---------- */
body { font-family: var(--ff-sans); font-size: var(--fs-base); }
.wc-ico { display: block; width: 22px; height: 22px; flex: none; }
.has-grain { position: relative; isolation: isolate; }
.has-grain::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    background: var(--grain); opacity: .07; mix-blend-mode: multiply;
}
.wc7-night.has-grain::before { mix-blend-mode: overlay; opacity: .16; }

/* Display face: page-level titles only (all 22 px and up) */
.wc-band-title, .wc-auth-h, .wc-hello .wc-dash-title, .wc-auth-aside.wc7-night .wc-auth-aside-h,
#main-body .wc-kb-empty-h, .wc-svc-big, .wc-guest-card .wc-a-h {
    font-family: var(--ff-display) !important; font-weight: 600 !important; font-variation-settings: "wght" 600;
    letter-spacing: var(--ls-display) !important; line-height: var(--lh-head);
}

/* Icon chips (v8.css section 4), tone by meaning */
.chip-ic {
    width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
    background: var(--blue-50); color: var(--blue-700);
}
.chip-ic .wc-ico, .chip-ic svg { width: 24px; height: 24px; }
.chip-ic.is-blue { background: var(--blue-50); color: var(--blue-700); }
.chip-ic.is-maple { background: var(--maple-50); color: var(--maple-700); }
.chip-ic.is-sun { background: var(--sun-50); color: var(--sun-700); }
.chip-ic.is-sage { background: var(--sage-50); color: var(--ok); }
.chip-ic.is-err { background: var(--err-bg); color: var(--err); }

/* ---------- 2. Header: cream glass, pill nav (flat), compacts on scroll ---------- */
#header { border-bottom: 1px solid transparent; transition: box-shadow var(--d-2), border-color var(--d-2); }
#header .wc-headbar {
    background: rgba(255, 250, 243, .9) !important; padding: 14px 0 !important;
    transition: padding var(--d-3) var(--ease-out), background var(--d-2);
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    #header .wc-headbar { background: rgba(255, 250, 243, .74) !important; -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
}
#header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(68, 45, 20, .35); }
#header .wc-headbar .logo-img { height: 38px; width: auto; transition: height var(--d-3) var(--ease-out); }
@media (min-width: 1200px) {
    #header.is-scrolled .wc-headbar { padding: 8px 0 !important; }
    #header.is-scrolled .wc-headbar .logo-img { height: 32px; }
    /* the primary links sit in one white-glass pill, like the site */
    #header .wc-headbar #nav {
        gap: 2px; padding: 4px; margin-left: 8px; border-radius: var(--r-pill);
        background: rgba(255, 255, 255, .55); box-shadow: var(--ring);
    }
    #header .main-navbar-wrapper.wc-headbar #nav > li > a { border-radius: var(--r-pill) !important; font-weight: 600; }
    #header .main-navbar-wrapper.wc-headbar #nav > li > a:hover { background: var(--sand); }
    #header .main-navbar-wrapper.wc-headbar #nav > li.wc-nav-on > a {
        background: var(--white); box-shadow: var(--sh-xs), inset 0 0 0 1px var(--line-strong);
    }
    #header .main-navbar-wrapper.wc-headbar .navbar-nav.ml-auto > li > a { border-radius: var(--r-btn) !important; font-weight: 600; }
}
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a { font-weight: 700; }
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a:hover { transform: translateY(-1px); }
@media (max-width: 1199.98px) {
    #header .wc-headbar .logo-img { height: 32px; }
    #header .wc-headbar #mainNavbar .navbar-nav > li > a { padding: 14px 14px !important; font-size: 1.0625rem; border-radius: var(--r-sm) !important; }
    #header .wc-headbar #mainNavbar .navbar-nav > li + li > a { box-shadow: 0 -1px 0 var(--line-2); }
    #header .wc-headbar #mainNavbar .navbar-nav > li.wc-nav-cta > a { box-shadow: none; margin-top: 8px; justify-content: center; }
}
@media (max-width: 400px) { #header .wc-headbar .logo-img { height: 28px; } }

/* Signed-in account bar: cream-2, avatar chip with the maple initial */
#header .topbar { background: var(--cream-2) !important; }
#header .topbar .btn-active-client { display: inline-flex !important; align-items: center; gap: 10px; padding-top: 4px; padding-bottom: 4px; }
.wc-avatar {
    width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
    background: var(--maple-50); color: var(--maple-700); font-weight: 800; font-size: .9375rem; line-height: 1;
    box-shadow: inset 0 0 0 1px var(--maple-100);
}
@media (max-width: 767.98px) { #header .topbar { position: static; } }

/* ---------- 3. Page title band: the site's hero wash + grain, Fraunces title ---------- */
.master-breadcrumb.wc-band { position: relative; isolation: isolate; background: var(--grad-hero) !important; border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.master-breadcrumb.wc-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: .07; mix-blend-mode: multiply;
}
.wc-band-title { font-size: clamp(2rem, 1.55rem + 1.6vw, 3rem) !important; color: var(--ink); }
.master-breadcrumb .breadcrumb { font-size: var(--fs-sm); }

/* ---------- 4. Cards: 24 px, hairline ring + warm long shadow (no grey borders) ---------- */
#main-body .card, .wc-a-card, .wc-attn, #main-body .table-container, #main-body > .container .dataTables_wrapper, .wc-empty, .wc-dept, .wc-topic {
    border-color: transparent !important; border-radius: var(--r-card) !important; box-shadow: var(--sh-card) !important;
}
#main-body .card > .card-header:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
#main-body .card > .card-footer:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
#main-body .card > .card-header .card-title, #main-body .card-title { font-weight: 700; letter-spacing: -.01em; }
.sidebar .card-sidebar { border-radius: var(--r-md) !important; }

/* ---------- 5. Buttons (v8.css section 3): 52 / 44 / 58 px, blue primary lifts 1 px ---------- */
.btn:not(.btn-sm):not(.btn-xs):not(.btn-link):not(.close):not(.toggle):not(.multiselect) { min-height: 52px; padding-left: 22px; padding-right: 22px; }
.btn-lg, .btn.btn-lg { min-height: 58px !important; padding-left: 28px !important; padding-right: 28px !important; font-size: 1.125rem; }
.btn-sm { min-height: 44px; border-radius: 12px; padding-left: 16px; padding-right: 16px; font-size: .9375rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--r-btn); line-height: 1.2; transition: background-color var(--d-1), color var(--d-1), border-color var(--d-1), box-shadow var(--d-2) var(--ease-out), transform var(--d-2) var(--ease-out); }
.btn.btn-block { display: flex; }
.btn .wc-ico { width: 18px; height: 18px; transition: transform var(--d-2) var(--ease-out); }
.btn:hover .wc-ico.arr, .btn-link:hover .wc-ico, .wc-quick-a:hover .wc-ico.arr { transform: translateX(3px); }
.btn-primary, a.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(30, 64, 175, .3) !important; }
.btn-primary:hover, a.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--sh-blue) !important; transform: translateY(-1px); }
.btn-default, .btn-secondary, .btn-outline-secondary, .btn-light { box-shadow: var(--sh-xs) !important; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); text-decoration: none; }
.btn-link .wc-ico { width: 16px; height: 16px; transition: transform var(--d-2) var(--ease-out); }
/* table and toolbar buttons stay compact */
#main-body .table .btn:not(.btn-lg), #main-body .dataTables_wrapper .btn:not(.btn-lg), .input-group-sm .btn { min-height: 44px; }

/* ---------- 6. Fields (v8.css section 15): 52 px, 14 px radius, 1.5 px warm border, blue halo ---------- */
.form-control:not(textarea):not(.form-control-sm):not(.input-sm), .custom-select, #registration .field, .input-group-text,
.input-group > .input-group-append > .btn, .input-group > .input-group-prepend > .btn, .btn-reveal-pw {
    min-height: 52px;
}
.form-control, .custom-select { border-radius: var(--r-btn); font-size: 1.0625rem; }
#registration .field, #registration .form-control:not(textarea) { height: 52px; }
.input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; border-top-right-radius: var(--r-btn) !important; border-bottom-right-radius: var(--r-btn) !important; }
.input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-prepend > .btn { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; border-top-left-radius: var(--r-btn) !important; border-bottom-left-radius: var(--r-btn) !important; }
.form-control:focus, .custom-select:focus { border-color: var(--blue-600) !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .18) !important; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue-600); }

/* ---------- 7. Lists: white card, sand head row, 56 px rows, hover cream-2 ---------- */
#main-body .table-list tbody td { padding-top: 16px; padding-bottom: 16px; }
#main-body .table-list tbody tr { transition: background var(--d-1); }

/* ---------- 8. Dashboard (v8-portal.css mock) ---------- */
.wc-tpl-clientareahome .wc-hello {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
    margin: 0 0 22px; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 38px); border: 0; border-radius: var(--r-card);
    background: var(--grad-hero); box-shadow: var(--ring), var(--sh-card); overflow: hidden;
}
.wc-tpl-clientareahome .wc-hello .wc-dash-title { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); color: var(--ink); }
.wc-tpl-clientareahome .wc-hello .wc-dash-sub { margin: 8px 0 0; color: var(--muted); font-size: 1.0625rem; }
.wc-tpl-clientareahome .wc-hello-act { flex: none; }

/* one state banner: white card, coloured inset bar + chip + words (never colour alone) */
.wc-tpl-clientareahome .wc-state {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; padding: 16px 18px;
    border: 0; border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-card);
}
.wc-tpl-clientareahome .wc-state.is-due { background: var(--white); box-shadow: inset 4px 0 0 var(--sun-400), var(--sh-card); }
.wc-tpl-clientareahome .wc-state.is-late { background: var(--white); box-shadow: inset 4px 0 0 var(--err), var(--sh-card); }
.wc-tpl-clientareahome .wc-state.is-info { background: var(--white); box-shadow: inset 4px 0 0 var(--blue-600), var(--sh-card); }
.wc-tpl-clientareahome .wc-state-ico { width: 48px; height: 48px; border-radius: 14px; box-shadow: none !important; }
.wc-tpl-clientareahome .wc-state-main { flex: 1 1 240px; min-width: 0; }
.wc-tpl-clientareahome .wc-state-t { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.wc-tpl-clientareahome .wc-state.is-late .wc-state-t { color: var(--err); }
.wc-tpl-clientareahome .wc-state-s { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.wc-tpl-clientareahome .wc-state-btn { flex: none; }

/* "Needs your attention" */
.wc-tpl-clientareahome .wc-attn { margin: 0 0 22px; overflow: hidden; }
.wc-tpl-clientareahome .wc-attn .card-header { background: var(--white) !important; border-bottom: 1px solid var(--line-2); }
.wc-tpl-clientareahome .wc-attn-item { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.wc-tpl-clientareahome .wc-attn-item:first-child { border-top: 0; }
.wc-tpl-clientareahome .wc-attn-ico {
    width: 44px !important; height: 44px !important; flex: none; display: inline-grid !important; place-items: center; border-radius: 12px !important;
    background: var(--blue-50) !important; color: var(--blue-700) !important; box-shadow: none !important;
}
.wc-tpl-clientareahome .wc-attn-ico .wc-ico { width: 22px; height: 22px; }
.wc-tpl-clientareahome .wc-attn-item.is-due .wc-attn-ico { background: var(--sun-50) !important; color: var(--sun-700) !important; }
.wc-tpl-clientareahome .wc-attn-item.is-late .wc-attn-ico { background: var(--err-bg) !important; color: var(--err) !important; }
.wc-tpl-clientareahome .wc-attn-t { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.wc-tpl-clientareahome .wc-attn-item.is-late .wc-attn-t { color: var(--err); }
.wc-tpl-clientareahome .wc-attn-name { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.wc-tpl-clientareahome .wc-attn-s { font-size: var(--fs-sm); color: var(--muted); }
.wc-tpl-clientareahome .wc-attn-btn { flex: none; margin: 0; }
.wc-tpl-clientareahome .wc-allgood {
    display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 14px 18px; border: 0; border-radius: var(--r-md);
    background: var(--sage-50); box-shadow: inset 0 0 0 1px var(--sage-100); color: var(--ink-2); font-size: 1rem;
}
.wc-tpl-clientareahome .wc-allgood strong { color: var(--ok); }
.wc-tpl-clientareahome .wc-allgood-ico { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ok); }
.wc-tpl-clientareahome .wc-allgood-ico .wc-ico { width: 18px; height: 18px; }

/* stat tiles */
.wc-tpl-clientareahome .wc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; }
.wc-tpl-clientareahome .wc-stat {
    display: grid; gap: 10px; align-content: start; padding: 20px; border: 0; border-radius: var(--r-md); background: var(--white);
    box-shadow: var(--sh-card); color: var(--ink) !important; text-decoration: none !important;
    transition: transform var(--d-2) var(--ease-out), box-shadow var(--d-2) var(--ease-out);
}
.wc-tpl-clientareahome .wc-stat:hover, .wc-tpl-clientareahome .wc-stat:focus-visible { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.wc-tpl-clientareahome .wc-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wc-tpl-clientareahome .wc-stat-n { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wc-tpl-clientareahome .wc-stat-l { margin: 0; font-weight: 600; color: var(--muted); font-size: .9375rem; }
.wc-tpl-clientareahome .wc-stat-t { font-size: .875rem; font-weight: 700; color: var(--blue-700); }
.wc-tpl-clientareahome .wc-stat-t::after { content: " \2192"; }
.wc-tpl-clientareahome .wc-stat-l::after { content: none; }
.wc-tpl-clientareahome .wc-stat.is-warn { box-shadow: inset 0 0 0 1.5px var(--maple-100), var(--sh-card); }
.wc-tpl-clientareahome .wc-stat.is-warn .wc-stat-n { color: var(--maple-700); }

/* split: your hosting + quick actions */
.wc-tpl-clientareahome .wc-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; margin: 0 0 24px; }
.wc-tpl-clientareahome .wc-split--solo { grid-template-columns: minmax(0, 1fr); }
.wc-tpl-clientareahome .wc-card { padding: 24px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-card); min-width: 0; }
.wc-tpl-clientareahome .wc-dash-head2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.wc-tpl-clientareahome .wc-dash-h { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.wc-tpl-clientareahome .wc-quick-card .wc-dash-h { margin-bottom: 16px; }
.wc-tpl-clientareahome .wc-dash-more { font-size: .9375rem; min-height: 44px; }
.wc-tpl-clientareahome .wc-svc-card { margin: 0; border: 0 !important; }
.wc-tpl-clientareahome .wc-svc-main { display: grid; gap: 14px; }
.wc-tpl-clientareahome .wc-svc-head { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; }
.wc-tpl-clientareahome .wc-svc-big { font-size: 1.625rem; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.wc-tpl-clientareahome .wc-svc-plan { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-top: -6px; }
.wc-tpl-clientareahome .wc-health { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; }
.wc-tpl-clientareahome .wc-health > div { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.wc-tpl-clientareahome .wc-health dt { margin: 0; font-size: .8125rem; color: var(--faint); font-weight: 600; }
.wc-tpl-clientareahome .wc-health dd { margin: 0; font-size: .9688rem; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.wc-tpl-clientareahome .wc-meter { display: block; height: 6px; border-radius: 9px; background: var(--sand); overflow: hidden; margin-top: 4px; }
.wc-tpl-clientareahome .wc-meter i { display: block; height: 100%; border-radius: 9px; background: var(--sun-400); }
.wc-tpl-clientareahome .wc-svc-main .wc-svc-act { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.wc-tpl-clientareahome .wc-svc-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1.5px dashed var(--line-strong); }
.wc-tpl-clientareahome .wc-svc-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.wc-tpl-clientareahome .wc-svc-item:first-child { border-top: 0; }
.wc-tpl-clientareahome .wc-svc-name { flex: 1; min-width: 0; }
.wc-tpl-clientareahome .wc-svc-name strong { display: block; color: var(--ink); font-size: 1rem; overflow-wrap: anywhere; }
.wc-tpl-clientareahome .wc-svc-name small { font-size: .875rem; color: var(--faint); }
.wc-tpl-clientareahome .wc-svc-item .wc-svc-act { display: flex; gap: 8px; flex: none; }
.wc-tpl-clientareahome .wc-svc-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 700; }

/* quick actions: one column inside the card (98-fit.css' 2-column rule is for the old full-width row) */
.wc-tpl-clientareahome .wc-quick-card .wc-quick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
.wc-tpl-clientareahome .wc-quick-a {
    display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border: 0 !important; border-radius: 14px !important;
    background: var(--white); box-shadow: inset 0 0 0 1px var(--line) !important; color: var(--ink) !important; font-weight: 700; font-size: 1rem;
    text-decoration: none !important; transition: background var(--d-1), box-shadow var(--d-1);
}
.wc-tpl-clientareahome .wc-quick-a:hover, .wc-tpl-clientareahome .wc-quick-a:focus-visible { background: var(--cream-2); box-shadow: inset 0 0 0 1.5px var(--blue-600) !important; color: var(--ink) !important; }
.wc-tpl-clientareahome .wc-quick-a .chip-ic { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.wc-tpl-clientareahome .wc-quick-a .chip-ic .wc-ico { width: 21px; height: 21px; }
.wc-tpl-clientareahome .wc-quick-txt { min-width: 0; line-height: 1.3; }
.wc-tpl-clientareahome .wc-quick-a small { display: block; margin-top: 2px; font-weight: 500; color: var(--faint); font-size: .875rem; }
.wc-tpl-clientareahome .wc-quick-a .wc-ico.arr { margin-left: auto; width: 18px; height: 18px; color: var(--faint); transition: transform var(--d-2) var(--ease-out); }

/* stock home panels keep the card look */
.wc-tpl-clientareahome .client-home-cards .card { margin-bottom: 22px; }

@media (max-width: 1199.98px) {
    .wc-tpl-clientareahome .wc-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .wc-tpl-clientareahome .wc-split { grid-template-columns: minmax(0, 1fr); }
    .wc-tpl-clientareahome .wc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wc-tpl-clientareahome .wc-quick-card .wc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .wc-tpl-clientareahome .wc-quick-card .wc-quick { grid-template-columns: minmax(0, 1fr); }
    .wc-tpl-clientareahome .wc-attn-item { flex-wrap: wrap; padding: 14px 16px; }
    .wc-tpl-clientareahome .wc-attn-main { flex: 1 1 60%; }
    .wc-tpl-clientareahome .wc-attn-btn { flex: 1 1 100%; }
    .wc-tpl-clientareahome .wc-state-btn { flex: 1 1 100%; }
    .wc-tpl-clientareahome .wc-hello-act, .wc-tpl-clientareahome .wc-hello-act .btn { width: 100%; }
    .wc-tpl-clientareahome .wc-svc-item { flex-wrap: wrap; }
    .wc-tpl-clientareahome .wc-svc-item .wc-svc-act { flex: 1 1 100%; }
}
@media (max-width: 559.98px) {
    .wc-tpl-clientareahome .wc-card { padding: 20px 16px; }
    .wc-tpl-clientareahome .wc-svc-main .wc-svc-act .btn { flex: 1 1 100%; }
}
@media (max-width: 379.98px) {
    .wc-tpl-clientareahome .wc-stats { gap: 10px; }
    .wc-tpl-clientareahome .wc-stat { padding: 16px; }
    .wc-tpl-clientareahome .wc-stat-n { font-size: 1.625rem; }
    .wc-tpl-clientareahome .wc-health { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 9. Login, register, password reset: split card + night panel with grain and a static scene ---------- */
.wc-auth-card { border: 0 !important; border-radius: var(--r-xl) !important; box-shadow: var(--sh-float) !important; }
.wc-auth-h { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem) !important; color: var(--ink); margin-bottom: 6px; }
.wc-auth-sub { color: var(--muted); }
.wc-auth-card .btn-lg, .wc-auth-card .btn-block.btn-primary { min-height: 58px !important; font-size: 1.125rem !important; }
.wc-auth-aside.wc7-night { background: var(--grad-night); border-radius: var(--r-xl); box-shadow: var(--sh-float); }
.wc-auth-aside.wc7-night .wc-auth-aside-h { font-size: clamp(1.75rem, 1.5rem + .9vw, 2.25rem); margin-bottom: 8px; }
.wc-auth-aside.wc7-night .wc-auth-list:not(.wc-auth-steps) .wc-auth-li-ico { background: var(--tick-night) center / contain no-repeat; color: transparent; }
.wc-auth-aside.wc7-night .wc-auth-list:not(.wc-auth-steps) .wc-auth-li-ico svg { display: none; }
.wc-auth-aside.wc7-night .wc-auth-steps .wc-auth-li-ico { background: rgba(246, 178, 62, .18); color: var(--sun-300); box-shadow: inset 0 0 0 1.5px var(--sun-400); }
.wc-auth-aside.wc7-night a:focus-visible { outline: 3px solid var(--sun-300); outline-offset: 3px; }
.wc-auth-art--scene { width: 100%; max-width: 380px; margin: 26px auto 22px; opacity: 1; }
@media (max-width: 991.98px) { .wc-auth-art--scene { display: none; } }

/* ---------- 10. Static scene (v8.css section 5, no animation; aria-hidden) ---------- */
.wc-scene { position: relative; aspect-ratio: 560 / 440; width: 100%; container-type: inline-size; }
.wc-scene * { box-sizing: border-box; }
.wc-scene .sc-glow { position: absolute; inset: 4% 2% 0 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 178, 62, .32), rgba(246, 178, 62, 0)); filter: blur(8px); }
.wc-scene .sc-ground { position: absolute; left: 10%; right: 4%; bottom: 0; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(68, 45, 20, .22), rgba(68, 45, 20, 0)); }
.wc7-night .wc-scene .sc-ground { background: radial-gradient(closest-side, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); }
.wc7-night .wc-scene .sc-browser { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.wc7-night .wc-scene .sc-float { box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55); }
.wc-scene .sc-browser { position: absolute; left: 2%; top: 4%; width: 88%; height: 80%; background: var(--white); border-radius: 3cqw; box-shadow: var(--sh-float); overflow: hidden; display: flex; flex-direction: column; }
.wc-scene .sc-bar { display: flex; align-items: center; gap: 1.6cqw; height: 10cqw; padding: 0 2.6cqw; background: var(--cream-2); border-bottom: 1px solid var(--line); flex: none; }
.wc-scene .sc-dots { display: flex; gap: 1.1cqw; }
.wc-scene .sc-dots i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--line-strong); }
.wc-scene .sc-dots i:nth-child(1) { background: #f3a08a; } .wc-scene .sc-dots i:nth-child(2) { background: var(--sun-300); } .wc-scene .sc-dots i:nth-child(3) { background: #9fdcb9; }
.wc-scene .sc-url { flex: 1; display: flex; align-items: center; gap: 1.2cqw; height: 6.4cqw; padding: 0 2.2cqw; margin-right: 4cqw; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 600 2.6cqw/1 var(--ff-sans); color: var(--ink); white-space: nowrap; overflow: hidden; }
.wc-scene .sc-lock { width: 2.9cqw; height: 2.9cqw; color: var(--ok); }
.wc-scene .sc-secure { margin-left: auto; padding: .5cqw 1.4cqw; border-radius: 999px; background: var(--sage-50); color: var(--ok); font-size: 2cqw; font-weight: 700; }
.wc-scene .sc-page { flex: 1; padding: 2.6cqw 3.2cqw; display: grid; grid-template-rows: auto 1fr auto; gap: 2.4cqw; background: linear-gradient(180deg, #fff, #fffaf3); }
.wc-scene .sc-nav { display: flex; align-items: center; gap: 1.6cqw; }
.wc-scene .sc-brand { display: flex; align-items: center; gap: 1cqw; font: 700 2.4cqw/1 var(--ff-display); color: var(--ink); }
.wc-scene .sc-brand i { width: 3.2cqw; height: 3.2cqw; border-radius: 1cqw; background: linear-gradient(135deg, var(--maple-500), var(--sun-400)); }
.wc-scene .sc-nav s { margin-left: auto; }
.wc-scene .sc-nav b { height: 1.3cqw; width: 6cqw; border-radius: 2cqw; background: var(--line); }
.wc-scene .sc-nav em { height: 4cqw; width: 10cqw; border-radius: 1cqw; background: var(--blue-600); }
.wc-scene .sc-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.6cqw; align-items: center; }
.wc-scene .sc-h { font: 600 4.4cqw/1.05 var(--ff-display); color: var(--ink); letter-spacing: -.02em; }
.wc-scene .sc-lines { display: grid; gap: 1.1cqw; margin-top: 1.8cqw; }
.wc-scene .sc-lines i { height: 1.3cqw; border-radius: 2cqw; background: var(--line); }
.wc-scene .sc-lines i:nth-child(2) { width: 80%; }
.wc-scene .sc-btns { display: flex; gap: 1.2cqw; margin-top: 2.2cqw; }
.wc-scene .sc-btns i { height: 4.4cqw; width: 12cqw; border-radius: 1.2cqw; background: var(--blue-600); }
.wc-scene .sc-btns i + i { background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); width: 10cqw; }
.wc-scene .sc-photo { aspect-ratio: 1 / 1; border-radius: 2.2cqw; overflow: hidden; position: relative; background: linear-gradient(180deg, #ffe2c4 0%, #ffd0a8 55%, #f3b78a 100%); }
.wc-scene .sc-photo::before { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--sun-400); right: 16%; top: 16%; }
.wc-scene .sc-photo::after { content: ""; position: absolute; inset: auto -10% -18% -10%; height: 58%; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, #c9603a, #a8340f); }
.wc-scene .sc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.wc-scene .sc-cards i { height: 8cqw; border-radius: 1.6cqw; background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--line); }
.wc-scene .sc-float { position: absolute; display: flex; align-items: center; gap: 1.8cqw; padding: 1.8cqw 2.6cqw 1.8cqw 1.8cqw; border-radius: 2.6cqw; background: var(--white); box-shadow: var(--sh-float); font: 600 max(11px, 2.9cqw)/1.25 var(--ff-sans); color: var(--ink); white-space: nowrap; }
.wc-scene .sc-float small { display: block; font-size: max(10px, 2.4cqw); font-weight: 500; color: var(--faint); }
.wc-scene .sc-float .chip-ic { width: 7.6cqw; height: 7.6cqw; border-radius: 2cqw; }
.wc-scene .sc-float .chip-ic .wc-ico { width: 4cqw; height: 4cqw; }
.wc-scene .sc-mail { right: 0; top: 34%; }
.wc-scene .sc-backup { right: 6%; bottom: 3%; }
.wc-scene .sc-spark { position: absolute; width: 3.4cqw; height: 3.4cqw; color: var(--sun-400); }
.wc-scene .sc-spark.s1 { right: 8%; top: 0; }
.wc-scene .sc-spark.s3 { left: 0; bottom: 14%; color: var(--maple-400); width: 2.6cqw; height: 2.6cqw; }

/* ---------- 11. Guest support, contact, knowledgebase: tiles lift like the site ---------- */
.wc-dept, .wc-topic { transition: transform var(--d-2) var(--ease-out), box-shadow var(--d-2) var(--ease-out); }
.wc-dept:hover, .wc-dept:focus-visible, .wc-topic:hover, .wc-topic:focus-visible { transform: translateY(-3px); box-shadow: var(--sh-lift) !important; }
.wc-kb-empty { position: relative; isolation: isolate; background: var(--grad-hero) !important; border: 0 !important; border-radius: var(--r-xl) !important; box-shadow: var(--ring), var(--sh-card) !important; }
#main-body .wc-kb-empty-h { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem) !important; }
.wc-guest-card .wc-a-h { font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem) !important; }

/* ---------- 12. Footer: night, Fraunces watermark, grain ---------- */
#footer.wc7-footer { background: var(--grad-night) !important; background-color: var(--night-900) !important; margin-top: clamp(40px, 6vw, 72px); }
#footer.wc7-footer::after {
    font-family: var(--ff-display); font-weight: 700; font-variation-settings: "wght" 700; letter-spacing: -.04em;
    font-size: clamp(120px, 22vw, 320px); bottom: -.24em; color: rgba(255, 255, 255, .035);
}
#footer.wc7-footer .wc-footer-proud { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* ---------- 13. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    #header, #header .wc-headbar, #header .wc-headbar .logo-img, .btn, .btn .wc-ico, .btn-link .wc-ico,
    .wc-stat, .wc-quick-a, .wc-quick-a .wc-ico, .wc-dept, .wc-topic, #main-body .table-list tbody tr { transition: none !important; }
    .btn:hover, .wc-stat:hover, .wc-dept:hover, .wc-topic:hover, .wc-tpl-clientareahome .wc-stat:hover,
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li.wc-nav-cta > a:hover { transform: none !important; }
    .btn:hover .wc-ico.arr, .btn-link:hover .wc-ico, .wc-quick-a:hover .wc-ico.arr { transform: none !important; }
}

/* ---------- 14. Auth panel details (found in the preview) ---------- */
.wc-auth-aside.wc7-night { padding-bottom: 8px; }
.wc-auth-aside--reset.wc7-night { padding-bottom: 30px; }
/* register: the sticky panel must fit short screens, so the scene shows only when there is room */
@media (max-height: 899.98px) { .wc-auth-aside--register .wc-auth-art--scene { display: none; } .wc-auth-aside--register.wc7-night { padding-bottom: 30px; } }
@media (max-width: 991.98px) { .wc-auth-aside.wc7-night { padding-bottom: 24px; } }

/* ---------- 15. Guest portal home (homepage.tpl): the site's hero wash, Fraunces H1, static scene, night CTA card ---------- */
.wc-home-hero { background: var(--grad-hero) !important; border-bottom: 0 !important; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px) !important; overflow: clip; }
.wc-home-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr) !important; gap: clamp(32px, 5vw, 72px) !important; }
.wc-v8-eyebrow {
    display: inline-flex !important; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: var(--r-pill);
    background: var(--white); box-shadow: var(--ring), var(--sh-xs); color: var(--maple-700) !important; font-size: var(--fs-xs) !important; font-weight: 700; letter-spacing: .01em !important;
}
.wc-v8-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--maple-500); box-shadow: 0 0 0 4px var(--maple-100); }
.wc-home-title {
    font-family: var(--ff-display) !important; font-weight: 600 !important; font-variation-settings: "wght" 600;
    font-size: var(--fs-h1) !important; line-height: var(--lh-head) !important; letter-spacing: var(--ls-display) !important; max-width: 15ch; margin: 18px 0 18px !important;
}
.wc-home-lead { font-size: var(--fs-lead) !important; color: var(--body) !important; max-width: 40ch !important; }
.wc-home-price { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--ring), var(--sh-xs); color: var(--muted) !important; font-weight: 600; }
.wc-home-price strong { font-size: 1.25rem; }
.wc-home-visual .wc-scene { max-width: 560px; margin-inline: auto; }
.wc-home-section .wc-home-h2, .wc-home-band .wc-home-h2 {
    font-family: var(--ff-display); font-weight: 600; font-variation-settings: "wght" 600; letter-spacing: var(--ls-head);
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.625rem) !important; line-height: var(--lh-head);
}
.wc-home-card { border: 0 !important; border-radius: var(--r-card) !important; box-shadow: var(--sh-card) !important; padding: 28px !important; transition: transform var(--d-2) var(--ease-out), box-shadow var(--d-2) var(--ease-out) !important; }
.wc-home-card:hover { box-shadow: var(--sh-lift) !important; }
.wc-home-card .chip-ic { margin-bottom: 16px; }
.wc-home-card h3 { font-size: 1.3125rem !important; font-weight: 700 !important; }
.wc-home-card p { font-size: 1rem !important; }
.wc-home-link { color: var(--blue-700) !important; }
.wc-home-band-in.wc7-night {
    background: var(--grad-night) !important; border: 0 !important; border-radius: var(--r-xl) !important; box-shadow: var(--sh-float) !important;
    padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px) !important; color: var(--night-muted); overflow: hidden;
}
.wc-home-band-in.wc7-night .wc-home-h2 { color: #fff !important; }
.wc-home-band-in.wc7-night p { color: var(--night-muted) !important; font-size: var(--fs-lead); max-width: 52ch; }
.wc-btn-sun { background: var(--sun-400) !important; color: var(--ink) !important; border: 0 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35) !important; }
.wc-btn-sun:hover, .wc-btn-sun:focus { background: var(--sun-300) !important; color: var(--ink) !important; box-shadow: var(--sh-sun) !important; transform: translateY(-1px); }
.wc7-night .btn:focus-visible, .wc-btn-sun:focus-visible { outline: 3px solid var(--sun-300) !important; outline-offset: 3px; }
@media (max-width: 991.98px) {
    .wc-home-hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .wc-home-visual { display: block !important; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 575.98px) { .wc-home-cta .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .wc-home-card, .wc-btn-sun { transition: none !important; } .wc-home-card:hover, .wc-btn-sun:hover { transform: none !important; } }

/* ---------- 16. Guest home domain search (includes/domain-search.tpl): the site's .domain-search card on cream ---------- */
.home-domain-search.wc-v8-ds { background: var(--cream-2) !important; padding: clamp(24px, 4vw, 56px) 0; }
.home-domain-search.wc-v8-ds::before { display: none; }
.home-domain-search.wc-v8-ds > .container > .p-5 {
    max-width: 980px; margin: 0 auto; padding: clamp(26px, 4vw, 48px) clamp(18px, 4vw, 48px) !important; border-radius: var(--r-xl);
    background: var(--white); box-shadow: var(--sh-lift); text-align: center;
}
.home-domain-search.wc-v8-ds .wc-eyebrow { margin: 0 auto 14px; }
.home-domain-search.wc-v8-ds h2 {
    color: var(--ink) !important; font-family: var(--ff-display); font-weight: 600; font-variation-settings: "wght" 600;
    font-size: var(--fs-h2) !important; letter-spacing: var(--ls-head) !important; line-height: var(--lh-head); margin-bottom: 10px;
}
.home-domain-search.wc-v8-ds .wc-hero-lead { color: var(--muted) !important; font-size: 1.0625rem; max-width: 56ch; margin: 0 auto 22px; }
.home-domain-search.wc-v8-ds .input-group-wrapper { background: var(--cream-2); box-shadow: inset 0 0 0 1.5px var(--line-strong) !important; border-radius: 20px !important; padding: 10px; text-align: left; }
.home-domain-search.wc-v8-ds .input-group-wrapper:focus-within { box-shadow: inset 0 0 0 2px var(--blue-600), 0 0 0 4px rgba(37, 99, 235, .16) !important; }
.home-domain-search.wc-v8-ds .input-group.advanced-input, .home-domain-search.wc-v8-ds .input-group { background: transparent; }
.home-domain-search.wc-v8-ds textarea#message, .home-domain-search.wc-v8-ds input[name=query].form-control { background: transparent; font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
.home-domain-search.wc-v8-ds .multiselect.btn, .home-domain-search.wc-v8-ds .btn-group .multiselect {
    background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; font-size: .9375rem; min-height: 44px;
}
.home-domain-search.wc-v8-ds label { color: var(--ink-2); font-size: .9375rem; }
.home-domain-search.wc-v8-ds .input-group-wrapper .btn:not(.multiselect) { min-height: 52px; border-radius: var(--r-btn) !important; }
.home-domain-search.wc-v8-ds .input-group-wrapper .btn-success { background: var(--white) !important; color: var(--ink) !important; border: 1.5px solid var(--line-strong) !important; box-shadow: var(--sh-xs) !important; }
.home-domain-search.wc-v8-ds .input-group-wrapper .btn-success:hover { background: var(--blue-50) !important; border-color: var(--blue-600) !important; color: var(--blue-700) !important; }
.home-domain-search.wc-v8-ds .wc-hero-trust { justify-content: center; }
.home-domain-search.wc-v8-ds .wc-hero-trust span { color: var(--ink-2) !important; font-weight: 600; font-size: .9375rem; }
.home-domain-search.wc-v8-ds .wc-hero-trust i { color: var(--ok) !important; }
.home-domain-search.wc-v8-ds .tld-logos { filter: none; opacity: 1; }
.home-domain-search.wc-v8-ds .tld-logos li { color: var(--ink-2); }
.home-domain-search.wc-v8-ds .btn-link { color: var(--blue-700) !important; float: none !important; }
.home-domain-search.wc-v8-ds .captcha-description { color: var(--muted); }
.home-domain-search.wc-v8-ds .wc-eyebrow { text-transform: none !important; }
.home-domain-search.wc-v8-ds .input-group-wrapper label, .home-domain-search.wc-v8-ds .multiselect-container label { font-size: .9375rem !important; }
.home-domain-search.wc-v8-ds .input-group-wrapper .multiselect.btn { font-size: .9375rem !important; }
#main-body .home-domain-search.wc-v8-ds .input-group-wrapper .btn-success {
    background: var(--white) !important; color: var(--ink) !important; border: 1.5px solid var(--line-strong) !important; box-shadow: var(--sh-xs) !important;
}
#main-body .home-domain-search.wc-v8-ds .input-group-wrapper .btn-success:hover, #main-body .home-domain-search.wc-v8-ds .input-group-wrapper .btn-success:focus {
    background: var(--blue-50) !important; border-color: var(--blue-600) !important; color: var(--blue-700) !important;
}

/* === 97-qa.css === */
/* ============================================================
   97-qa.css  qa-portal final review fixes (2026-12-05). Loads after 95-warm.css.
   Found on the live warm portal at 1440/1024/768/375/360 and in the logged-in mocks; see
   _qa/audit-2026-12/qa-portal.md. Cart-only fixes live in aurora_cart/css/wc-cart.css.
   ============================================================ */

/* Cart count: hidden while 0 (footer.tpl keeps the class in step when WHMCS rewrites the number) */
#header .wc-headbar .cart-btn #cartItemCount.wc-cart-zero { display: none !important; }

/* Header links: the site uses 16 px / 44 px tall nav links; the portal had 15.2 px / 38 px.
   Signed in, the row holds ten links: at 1400-1599 "Main site", "Help centre" and "Log out" broke onto two lines
   (58 px tall items). Never wrap; signed-in rows (the header has the .topbar) stay compact at every desktop width,
   measured to fit at 1200 and 1440. Guests have eight links, so they get the site's 16 px. */
#header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { white-space: nowrap; }
@media (min-width: 1200px) {
    #header .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { min-height: 44px; display: flex; align-items: center; }
}
@media (min-width: 1400px) {
    #header:not(:has(.topbar)) .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { font-size: 1rem; padding: 10px 13px !important; }
    #header:has(.topbar) .main-navbar-wrapper.wc-headbar .navbar-nav > li > a { padding: 8px 9px !important; }
}

/* Footer links: 36 px rows on tablets (768-1199) were under the 44 px touch target */
@media (max-width: 1199.98px) {
    #footer.wc7-footer .wc-footer-col a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
    #footer.wc7-footer .wc-footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Small text links that act as buttons: give them a full touch target without changing the look */
.wc-tpl-login a[href*="password/reset"], .wc-tpl-login a[href*="pwreset"] {
    display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0;
}
@media (max-width: 991.98px) {
    .btn-sm { min-height: 44px; }
}

/* Green action buttons are stock leftovers: blue is the only action colour (DESIGN-WARM 3.2).
   Domain "Save" / "Manage" buttons, invoice "Apply credit", 2FA "Enable", product "Upgrade".
   The cart keeps its own button rules (wc-cart.css), so it is left out here. */
#main-body .btn-success:not(#order-aurora_cart *), .modal .btn-success, .invoice-container .btn-success {
    background: var(--wc7-blue-600) !important; border-color: var(--wc7-blue-600) !important; color: var(--wc7-white) !important;
}
#main-body .btn-success:not(#order-aurora_cart *):hover, #main-body .btn-success:not(#order-aurora_cart *):focus, .modal .btn-success:hover, .invoice-container .btn-success:hover {
    background: var(--wc7-blue-700) !important; border-color: var(--wc7-blue-700) !important; color: var(--wc7-white) !important;
}

/* Dashboard home panels (stock WHMCS panels such as "Recent support tickets"): the floated header button squeezed
   the title onto two lines in the half-width column. Title and button now sit on one row, button on the right. */
.client-home-cards .card > .card-header .card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.client-home-cards .card > .card-header .card-title > .float-right { float: none !important; order: 2; margin-left: auto; }
.client-home-cards .card > .card-header .card-title > .float-right .btn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; white-space: nowrap;
    background: var(--wc7-white) !important; color: var(--wc7-blue-700) !important; border: 1px solid var(--wc7-line-strong) !important;
    border-radius: 999px; font-size: .875rem; font-weight: 700;
}
.client-home-cards .card > .card-header .card-title > .float-right .btn:hover { border-color: var(--wc7-blue-600) !important; }
/* Panel rows (recent tickets etc.) were 4px 10px: give them the card's own inset and a full touch target */
.client-home-cards .card > .list-group > .list-group-item { padding: 12px 20px; min-height: 44px; }

/* Table search fields (services, domains, invoices, tickets): the stock grey search.png sat at 8px 5px, so in the
   44 px phone field it floated at the top-left corner. Warm SVG magnifier, centred vertically at every height. */
.dataTables_wrapper .dataTables_filter input[type="search"] {
    background: var(--wc7-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6259' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 18px 18px !important;
    padding-left: 42px !important;
}

/* Invoice page: "Invoice items" ran at 24-28 px and the payments bar was stock teal; both card heads now match */
.invoice-container .card > .card-header { background: var(--wc7-cream-2); border-bottom: 1px solid var(--wc7-line); padding: 12px 16px; }
.invoice-container .card > .card-header .card-title, .invoice-container .card > .card-header .card-subtitle {
    font-size: 1.125rem; font-weight: 800; color: var(--wc7-ink); margin: 0;
}
.invoice-container .transactions-container thead td { color: var(--wc7-ink-2); }

/* Stock coloured headers left in rarely seen templates: user-management and IRTP modals (bg-primary), the upgrade
   card (bg-success), the billing-note ledger bar (bg-info). Warm cream head, ink text, like every other card. */
.modal-header.card-header.bg-primary, #main-body .card-header.bg-success, #main-body .card-header.bg-info,
#main-body .card > .card-title.bg-info {
    background: var(--wc7-cream-2) !important; color: var(--wc7-ink) !important; border-bottom: 1px solid var(--wc7-line);
}
#main-body .card > .card-title.bg-info { padding: 12px 16px !important; font-size: 1.125rem; font-weight: 800; }
.modal-header.card-header.bg-primary .modal-title, .modal-header.card-header.bg-primary .close { color: var(--wc7-ink) !important; }
#main-body .card.border-success { border-color: var(--wc7-line) !important; }

/* ============================================================
   qa-portal v8 "Hearth" pass (2026-12-05, _qa/redesign-v8/qa-portal.md). Preview-checked at 1440/1100/1024/768/390/360.
   ============================================================ */

/* Dashboard "Your hosting" health row: four tiles in the 1.6fr column (sidebar on, 1200 px and up) left ~120 px each,
   so every label and value broke onto two lines. Two by two by default; four across only when the card is wide. */
.wc-tpl-clientareahome .wc-svc-card { container-type: inline-size; container-name: wcsvc; }
.wc-tpl-clientareahome .wc-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container wcsvc (min-width: 720px) { .wc-tpl-clientareahome .wc-health { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 379.98px) { .wc-tpl-clientareahome .wc-health { grid-template-columns: minmax(0, 1fr); } }

/* Dashboard home panel header buttons: 40 px -> the 44 px touch floor */
.client-home-cards .card > .card-header .card-title > .float-right .btn { min-height: 44px; }

/* Guest home domain search: "Transfer" was a second solid blue button (97-qa's blue .btn-success rule above won on
   specificity), so two equal primaries sat side by side. It is the quiet secondary, as on webclub.ca. */
#main-body #frmDomainHomepage .input-group-wrapper .btn-success, #main-body #frmDomainHomepage .row .btn-success {
    background: var(--white) !important; color: var(--ink) !important; border: 1.5px solid var(--line-strong) !important; box-shadow: var(--sh-xs) !important;
}
#main-body #frmDomainHomepage .input-group-wrapper .btn-success:hover, #main-body #frmDomainHomepage .input-group-wrapper .btn-success:focus,
#main-body #frmDomainHomepage .row .btn-success:hover, #main-body #frmDomainHomepage .row .btn-success:focus {
    background: var(--blue-50) !important; border-color: var(--blue-600) !important; color: var(--blue-700) !important;
}
/* Stock "Hide adult words" switch (WHMCS AI search): one control fewer for everyday buyers. It stays ticked and is
   still submitted, so results are the same. */
#frmDomainHomepage .input-group.advanced-input > label { display: none !important; }

/* Static scene floats: the same sizes as the webclub.ca hero (the mail card covered the scene's headline: "Come o...") */
.wc-scene .sc-float { gap: 1.8cqw; padding: 1.8cqw 2.4cqw 1.8cqw 1.8cqw; border-radius: 2.4cqw; font-size: max(10px, 2.3cqw); }
.wc-scene .sc-float small { font-size: max(9px, 1.95cqw); }
.wc-scene .sc-float .chip-ic { width: 6.4cqw; height: 6.4cqw; border-radius: 1.8cqw; }
.wc-scene .sc-float .chip-ic .wc-ico { width: 3.4cqw; height: 3.4cqw; }
/* the mail card sits over the text lines, not the headline; the headline wraps like the site's */
.wc-scene .sc-mail { top: 52%; right: -2%; }
.wc-scene .sc-h { max-width: 6.2em; }

/* Touch targets found by the sweep: auth-page footer links (20 px), the header logo on phones (30 px),
   sidebar rows (39 px), inline checkboxes and radios (17 px). */
.wc-auth-foot a, .wc-auth-aside-foot a { display: inline-flex; align-items: center; min-height: 44px; }
#header .navbar-brand { display: inline-flex; align-items: center; min-height: 44px; }
.sidebar .list-group-item, .sidebar .list-group-item-action { min-height: 44px; display: flex; align-items: center; }
#main-body label > input[type=checkbox], #main-body label > input[type=radio], #main-body .form-check-input { width: 20px; height: 20px; }

/* Guest sidebar on help/news pages: "My support tickets" only leads to the login wall for a visitor */
body:not(.wc-in) .sidebar [menuItemName="Support Tickets"] { display: none !important; }

/* Table toolbars: v8's 52 px .custom-select also caught DataTables' small "Show N entries" select (custom-select-sm),
   next to the 44 px search field. Both 44 px. */
#main-body .dataTables_wrapper .dataTables_length select, #main-body .dataTables_wrapper .custom-select-sm { min-height: 44px; height: 44px; font-size: 1rem; }

/* === 98-fit.css === */
/* 2026-12-05 signed-in review (seen as a real client at ~1100 px).
   Below 1200 px the left sidebar squeezed the main column: the services table overflowed its card,
   invoice dates wrapped and the account tabs scrolled. Give the content the full width and put the
   sidebar after it; on phones that also puts the page content first. */
@media (max-width: 1199.98px) {
    #main-body .row > .primary-content { flex: 0 0 100%; max-width: 100%; order: 1; }
    /* The sidebar column is the plain col-lg-4 col-xl-3 wrapper from header.tpl (the .sidebar class is inside it). */
    #main-body .row > .col-lg-4.col-xl-3 { flex: 0 0 100%; max-width: 100%; order: 2; margin-top: 8px; }
    #main-body .row > .col-lg-4.col-xl-3 .sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 16px; align-items: start; }
    .wc-quick { grid-template-columns: repeat(2, 1fr); }
}
/* A wide table scrolls inside its own card instead of spilling past it. */
#main-body .listtable, #main-body .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#main-body .listtable > table { margin-bottom: 0; }
/* Quick actions keep the label on one or two lines. */
.wc-quick-a { min-width: 0; line-height: 1.25; }

/* 2026-12-06 owner screenshots.
   Account tabs: the six tabs ran past the card and showed a scrollbar. They wrap now; on phones they are a 2-column grid. */
.wc-a-tabs { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
@media (max-width: 575.98px) {
    .wc-a-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .wc-a-tab { justify-content: center; text-align: center; white-space: normal; line-height: 1.25; padding-left: 10px; padding-right: 10px; }
}
/* Sidebar counts ("Paid 1") sat against the label: the row became flex (44 px touch target), so the old
   float-right no longer applied. The label takes the space and the count goes to the right edge. */
.sidebar .list-group-item > .sidebar-menu-item-wrapper { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; }
.sidebar .sidebar-menu-item-wrapper .sidebar-menu-item-label { flex: 1 1 auto; min-width: 0; }
.sidebar .sidebar-menu-item-wrapper .sidebar-menu-item-badge { margin-left: auto; flex: none; }
.sidebar .list-group-item > .badge.float-right { order: 2; margin-left: auto; float: none !important; }
.sidebar .list-group-item .badge { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }

/* Invoice page: status on the right, amounts in a right-aligned column, a clear total, plainer payments table. */
.invoice-container .invoice-header { align-items: center; }
.wc-inv-due { margin-top: 8px; font-size: .9375rem; color: var(--wc7-ink-2); }
.invoice-container .card .table { margin-bottom: 0; }
.invoice-container .wc-inv-items td, .invoice-container .wc-inv-pays td { padding: 12px 16px; border-color: var(--wc7-line-2); }
.invoice-container .wc-inv-items thead td, .invoice-container .wc-inv-pays thead td {
    font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--wc7-ink-2); background: #fff;
}
.invoice-container .wc-inv-items thead td strong { font-weight: 700; }
.invoice-container .total-row { background: #fff !important; color: var(--wc7-ink-2); }
.invoice-container .wc-inv-items .wc-inv-total td { font-size: 1.125rem; color: var(--wc7-ink); border-top: 2px solid var(--wc7-ink); background: var(--wc7-cream-2) !important; }
.invoice-container .wc-inv-pays .total-row { color: var(--wc7-ink); }
.invoice-container .wc-inv-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; color: var(--wc7-ink-2); }
.wc-inv-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.wc-inv-actions .btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border-radius: var(--wc7-r-btn, 12px); font-weight: 700; }
@media (max-width: 575.98px) {
    .invoice-container .wc-inv-items td, .invoice-container .wc-inv-pays td { padding: 10px; }
    .wc-inv-actions .btn { flex: 1 1 0; justify-content: center; }
}
/* Print: a clean A4 page that keeps the brand tints even when "Background graphics" is off. */
@media print {
    @page { margin: 14mm; }
    html, body { background: #fff !important; }
    .invoice-container, .invoice-container * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .invoice-container { max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
    .invoice-container .card { box-shadow: none !important; break-inside: avoid; }
    .invoice-container a { color: inherit !important; text-decoration: none !important; }
    .wc-inv-printnote { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #e7e2d9; font-size: 9pt; color: #555; text-align: center; }
}

/* === 99-art.css === */
/* 99-art.css: IMG-ART v8 illustration set (2026-12-05). includes/illo/*.tpl are built by
   _qa/redesign-v8/build-illos.py from the same sources as the site's assets/illustrations (viewBox 560x440,
   decorative, aria-hidden). Static here: no entrance motion in the client area. */
.wc-illo.wa-set { aspect-ratio: 560 / 440; overflow: visible; filter: none; }
.wc-auth-illo:has(.wa-set) { width: min(300px, 80%); margin: -10px auto 10px; }
.wc-empty-art:has(.wa-set), .wc-kb-empty-art:has(.wa-set) { width: min(300px, 78%); }
.wc-empty--hero .wc-empty-art:has(.wa-set) { flex-basis: 280px; width: 280px; }
.wc-auth-art--lock { width: 100%; max-width: 320px; margin: 26px auto 0; }
@media (max-width: 991.98px) { .wc-auth-art--lock { display: none; } }
@media (max-width: 767.98px) { .wc-empty--hero .wc-empty-art:has(.wa-set) { flex-basis: auto; width: min(260px, 80%); } }
