/* ═══════════════════════════════════════════════════════════════
   ManageHosting (demo-manager) — app-specific stylesheet
   All shared design lives in the Luveedu UI Library:
     https://files.luveedu.com/ui-library/css/v1/library.css
   This file only carries app-specific helpers / component overrides.
   ═══════════════════════════════════════════════════════════════ */

/* ── Auth pages (pixel-match with accounts.luveedu.com login) ── */
.auth-topbar { position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; z-index: 60; }
.auth-topbar-logo { height: 32px; width: auto; object-fit: contain; display: block; }
.theme-toggle-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--color-border-muted); background: var(--color-bg-surface-1); color: var(--color-text-secondary); cursor: pointer; transition: background 120ms, color 120ms; }
.theme-toggle-btn:hover { background: var(--color-bg-surface-2); color: var(--color-text-primary); }
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #e2e8ee; }
body[data-theme='dark'] .auth-body { background: var(--color-bg-canvas); }
.auth-card { width: 100%; max-width: 420px; background: var(--color-bg-surface-1); border: 1px solid var(--color-border-muted); border-radius: 6px; padding: 28px; overflow: hidden; }

/* Auth card header: icon + title + desc + full-width divider */
.auth-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -28px -28px 20px;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--color-border-muted);
}
.auth-card-head-icon {
  width: 40px; height: 40px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-500); color: #fff; flex-shrink: 0;
}
.auth-card-head-icon .lv-icon { font-size: 20px; }
.auth-card-head-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--color-text-primary); }
.auth-card-head-sub { margin: 2px 0 0; font-size: 12px; color: var(--color-text-tertiary); }

/* Auth card footer: top divider + trust/support row */
.auth-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px -28px -28px;
  padding: 12px 28px;
  border-top: 1px solid var(--color-border-muted);
  background: var(--color-bg-surface-2);
  font-size: 12px;
  color: var(--color-text-tertiary);
}
.auth-card-foot-item { display: inline-flex; align-items: center; gap: 6px; }
.auth-card-foot-item .lv-icon { font-size: 14px; }
.auth-card-foot-item a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-tertiary); text-decoration: none; }
.auth-card-foot-item a:hover { color: var(--color-accent-500); }

/* Info banner above the login card */
.auth-info-card {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border-muted);
  border-radius: 6px;
  background: var(--color-bg-surface-1);
  color: var(--color-text-secondary);
  font-size: 12px;
}
.auth-info-card .lv-icon { font-size: 15px; color: var(--color-accent-500); flex-shrink: 0; }

/* Auth channel chips — 50/50, 6px radius */
.tab-list { display: flex; gap: 8px; margin: 20px 0; }
.tab-btn {
  flex: 1 1 50%;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: 6px; border: 1px solid var(--color-border-muted);
  background: var(--color-bg-surface-2); color: var(--color-text-secondary);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.tab-btn .lv-icon { font-size: 15px; flex-shrink: 0; }
.tab-btn:hover { background: var(--color-bg-surface-3); }
.tab-btn.is-active { border-color: var(--color-accent-500); background: var(--color-accent-500); color: #fff; }
.tab-btn.is-active .lv-icon { color: #fff; }

/* Forms (match accounts/emailsend: 12px semibold label + short description) */
.field-label { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--color-text-secondary); }
.field-hint { margin: 0 0 6px; font-size: 12px; color: var(--color-text-tertiary); }
.field-error { margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--color-danger-500); }
.auth-input {
  display: block; width: 100%; height: 36px; padding: 0 12px; font-size: 13px; font-family: var(--font-ui);
  color: var(--color-text-primary); background: var(--color-bg-surface-2); border: 1px solid var(--color-border-muted);
  border-radius: 6px; transition: border-color 150ms, box-shadow 150ms;
}
.auth-input:focus { border-color: var(--color-accent-500); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); outline: none; }

/* Buttons (match accounts) */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--color-accent-500); background: var(--color-accent-500); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 120ms, border-color 120ms; }
.btn-primary:hover { background: var(--color-accent-400); border-color: var(--color-accent-400); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary .lv-icon { font-size: 14px; flex-shrink: 0; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--color-border-muted); background: var(--color-bg-surface-1); color: var(--color-text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 120ms, border-color 120ms, color 120ms; }
.btn-secondary:hover { background: var(--color-bg-surface-2); border-color: var(--color-border-strong); color: var(--color-text-primary); }
.btn-secondary .lv-icon { font-size: 14px; flex-shrink: 0; }
.btn-block { width: 100%; }
.link { color: var(--color-accent-500); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ── Login page (legacy helpers) ────────────────────────────── */
.lv-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 16px;
    background: var(--lv-bg-canvas);
    color: var(--lv-text-primary);
}
.lv-login-theme-toggle { position: fixed; top: 16px; right: 16px; z-index: 50; }
.lv-login-logo { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.lv-login-brand-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.lv-login-brand-sub { margin: 2px 0 0; font-size: 11px; color: var(--lv-text-tertiary); }
.lv-login-tabs {
    width: 100%;
    max-width: 460px;
    display: flex;
    gap: 8px;
    padding: 4px;
    margin-top: 8px;
    border-radius: var(--lv-radius-md);
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
}
.lv-login-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    border: none;
    border-radius: var(--lv-radius-sm);
    font-family: var(--lv-font-ui);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--lv-text-tertiary);
    transition: background 0.15s ease, color 0.15s ease;
}
.lv-login-tab .lv-icon { font-size: 14px; }
.lv-login-tab.is-active { background: var(--lv-accent-500); color: #ffffff; }
.lv-login-card { width: 100%; max-width: 460px; margin-bottom: 32px; }
.lv-login-sso { gap: 10px; justify-content: center; height: 42px; }
.lv-login-sso-logo { width: 18px; height: 18px; border-radius: 50%; }
.lv-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lv-text-tertiary);
}
.lv-login-divider::before,
.lv-login-divider::after { content: ""; flex: 1; height: 1px; background: var(--lv-border-muted); }
.lv-login-title { margin: 0; font-size: 22px; font-weight: 700; font-family: var(--lv-font-heading); color: var(--lv-text-primary); }
.lv-login-subtitle { margin: 6px 0 0; font-size: 13px; color: var(--lv-text-tertiary); line-height: 1.55; }
.lv-login-form { display: flex; flex-direction: column; gap: 16px; }
.lv-login-submit { height: 42px; justify-content: center; }
.lv-login-footnote { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--lv-text-tertiary); }
.lv-login-footnote.lv-flex { margin: 0; text-align: left; }
.lv-login-foot-link { font-size: 13px; color: var(--lv-text-tertiary); text-decoration: none; }
.lv-login-foot-link:hover { color: var(--lv-text-secondary); }

/* ── Shared shell helpers ──────────────────────────────────── */
.lv-page-gap { display: flex; flex-direction: column; gap: 24px; }
.lv-stat-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.lv-card-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    padding: 16px;
    text-decoration: none;
    border-style: dashed;
    color: var(--lv-text-tertiary);
}
.lv-card-link-sm { min-height: 80px; }
.lv-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-accent-600);
    color: #ffffff;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.lv-avatar-btn { border: none; background: none; padding: 0; cursor: pointer; line-height: 0; }
.lv-title { margin: 0; font-size: 20px; font-weight: 700; font-family: var(--lv-font-heading); color: var(--lv-text-primary); }
.lv-flex-shrink-0 { flex-shrink: 0; }
.lv-text-secondary { color: var(--lv-text-secondary); }
.lv-text-success { color: var(--lv-success-500); }
.lv-push-right { margin-left: auto; }
body.portal-app { font-family: 'Bricolage Grotesque', system-ui, sans-serif; }

/* ── Module sample-table card (client placeholder pages) ─── */
.lv-module-card { overflow: hidden; }
.lv-card-body-flush { padding: 0; }
.lv-module-empty { text-align: center; padding: 32px 16px; color: var(--lv-text-tertiary); }
.lv-module-foot { border-top: 0; }
.lv-module-foot p { margin: 0; }

/* ── Table cells / pagination helpers ────────────────────── */
.lv-fw-semibold { font-weight: 600; }

/* ── Page header (dashboard + shared pages) ──────────────── */
.page-header { flex-wrap: wrap; }
.page-header-title { margin: 0; font-size: 20px; font-weight: 700; }
.page-header-sub { margin: 6px 0 0; }

/* ── Dashboard stat row (emailsend style) ───────────────── */
.lv-stat-card .lv-card-head-icon { width: 40px; height: 40px; font-size: 20px; background: var(--lv-accent-500); color: #fff; }
.lv-stat-card .lv-card-head-icon.dnsm-status-ok { background: #10b981; }
.lv-stat-card .lv-card-head-icon.dnsm-status-bad { background: #f59e0b; }
.lv-stat-card .lv-card-head-icon.dnsm-status-error { background: #ef4444; }
.lv-stat-meta { flex: 1; min-width: 0; }
.lv-stat-meta .lv-text-xs { margin: 0; }
.lv-stat-meta .lv-stat-value { margin: 0; font-size: 20px; }

/* ── Dashboard sections (My Hosting / Domains / Emails) ─── */
.lv-section-head { flex-wrap: wrap; margin: 32px 0 12px; }
.lv-section-title { margin: 0; font-size: 18px; }
.lv-section-sub { margin: 4px 0 0; }
.lv-explore-head { margin: 32px 0 12px; }
/* These pages already separate their blocks with .lv-page-gap, so the
   section heads must not stack another 32px on top of it. */
body[data-page="dashboard"] .lv-page-gap .lv-section-head,
body[data-page="dashboard"] .lv-page-gap .lv-explore-head,
body[data-page="help-center"] .lv-page-gap .lv-section-head,
body[data-page="help-center"] .lv-page-gap .lv-explore-head,
body[data-page="under-attack-emergency"] .lv-page-gap .lv-section-head,
body[data-page="under-attack-emergency"] .lv-page-gap .lv-explore-head { margin-top: 0; }
.lv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lv-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lv-empty-card { padding: 16px; }
.lv-empty-card p { margin: 0; }
/* The empty-state icon sizing must not leak into action buttons */
.lv-empty .lv-btn .lv-icon { width: 14px; height: 14px; font-size: 14px; margin-bottom: 0; color: currentColor; }

/* ── Dashboard item cards ───────────────────────────────── */
.lv-item-card { display: flex; flex-direction: column; padding: 16px; text-decoration: none; color: var(--lv-text-primary); }
.lv-item-card-name { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.lv-item-card-id { margin: 0 0 12px; }
.lv-item-card-foot { margin-top: auto; margin-left: -16px; margin-right: -16px; padding: 12px 16px 0; border-top: 1px solid var(--lv-border-muted); }
.lv-item-card-foot .lv-icon { color: var(--lv-text-tertiary); }
.lv-item-card-badges { gap: 8px; }
.lv-item-foot-meta { gap: 8px; }
.lv-item-foot-meta .lv-icon { font-size: 13px; color: var(--lv-accent-500); }
.lv-item-row { display: flex; align-items: center; gap: 12px; padding: 16px; text-decoration: none; color: var(--lv-text-primary); }
.lv-item-row .lv-card-head-icon { width: 40px; height: 40px; font-size: 16px; }
.lv-item-meta { min-width: 0; flex: 1; }
.lv-item-name { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.lv-item-sub { margin: 0; }
.lv-item-actions { gap: 8px; flex-shrink: 0; }
.lv-item-actions > .lv-icon { color: var(--lv-text-tertiary); }

/* Dash card-link "+" tile */
.lv-card-link .lv-icon { font-size: 20px; }
.lv-card-link span { font-size: 13px; font-weight: 600; }

/* ── Launch deck (dashboard): search dock + numbered start paths ─ */
.lv-deck { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; }

.lv-deck-main {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid #1d3560;
    border-radius: var(--lv-radius-md);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, transparent 55%),
        linear-gradient(145deg, #060b1c 0%, #091534 55%, #0e2050 100%);
    color: #eaf2ff;
}
.lv-deck-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.7), transparent 65%);
    mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.7), transparent 65%);
    pointer-events: none;
}
.lv-deck-main > * { position: relative; z-index: 1; }

.lv-deck-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.55);
}
.lv-deck-eyebrow .lv-icon { font-size: 13px; width: 13px; height: 13px; }
.lv-deck-title { margin: 10px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: #eaf2ff; }
.lv-deck-desc { margin: 0 0 20px; max-width: 46ch; font-size: 13px; line-height: 1.6; color: rgba(234, 242, 255, 0.58); }

.lv-dock {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--lv-radius-sm);
    background: rgba(255, 255, 255, 0.06);
    transition: border-color 0.18s ease, background 0.18s ease;
}
.lv-dock:focus-within { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.10); }
.lv-dock-field { display: flex; align-items: center; gap: 10px; flex: 1 1 160px; min-width: 0; padding: 0 8px 0 14px; cursor: text; }
.lv-dock-field .lv-icon { flex-shrink: 0; color: rgba(234, 242, 255, 0.5); }
.lv-dock-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #eaf2ff;
}
.lv-dock-input::placeholder { color: rgba(234, 242, 255, 0.38); font-weight: 400; }
.lv-dock-ai { height: 38px; padding: 0 14px; flex-shrink: 0; border-radius: var(--lv-radius-sm); white-space: nowrap; }
.lv-dock-btn { height: 38px; padding: 0 22px; flex-shrink: 0; border-radius: var(--lv-radius-sm); }

.lv-dock-tlds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lv-dock-tld {
    cursor: pointer;
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--lv-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: rgba(234, 242, 255, 0.62);
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lv-dock-tld:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.12); }
.lv-dock-tld.is-on { color: #ffffff; border-color: rgba(255, 255, 255, 0.40); background: rgba(255, 255, 255, 0.18); }

.lv-path-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lv-path {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.lv-path::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--lv-accent-500);
    opacity: 0;
    transition: opacity 0.18s ease;
}
.lv-path:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--lv-accent-500) 30%, var(--lv-border-muted)); box-shadow: var(--lv-shadow-md); }
.lv-path:hover::before { opacity: 1; }
.lv-path-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent);
    color: var(--lv-accent-500);
}
.lv-path-icon .lv-icon { font-size: 18px; width: 18px; height: 18px; }
.lv-path-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lv-path-title { font-size: 14px; font-weight: 700; color: var(--lv-text-primary); }
.lv-path-desc { font-size: 12px; line-height: 1.5; color: var(--lv-text-secondary); }
.lv-path-benefits { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.lv-path-benefit { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--lv-text-secondary); }
.lv-path-benefit .lv-icon { font-size: 12px; width: 12px; height: 12px; color: var(--lv-success-500); }
.lv-path-go { flex-shrink: 0; color: var(--lv-text-tertiary); transition: transform 0.18s ease, color 0.18s ease; }
.lv-path-go .lv-icon { font-size: 15px; width: 15px; height: 15px; }
.lv-path:hover .lv-path-go { transform: translate(2px, -2px); color: var(--lv-accent-500); }

@media (max-width: 1100px) {
    .lv-deck { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .lv-deck-main { padding: 20px; }
    .lv-deck-title { font-size: 19px; }
    .lv-dock { flex-wrap: wrap; }
    .lv-dock-field { padding: 4px 8px 4px 12px; }
    .lv-dock-ai, .lv-dock-btn { flex: 1 1 140px; justify-content: center; }
}

/* ── Dashboard card skeletons (mirror the real card shapes) ── */
.dash-skel-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.dash-skel-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 150px;
    padding: 16px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
}
.dash-skel-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 16px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
}
.dash-skel-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--lv-radius-sm); }
.dash-skel-lines { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.dash-skel-line { height: 10px; border-radius: 6px; }
.dash-skel-pill { height: 20px; flex-shrink: 0; border-radius: 6px; }
.dash-skel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
/* Deck skeletons are whole-card placeholders — no inner title lines. */
.dash-skel-deck { min-height: 258px; border-radius: var(--lv-radius-md); }
.dash-skel-path { min-height: 120px; border-radius: var(--lv-radius-md); }

/* ── Explore Luveedu Cloud cards ────────────────────────── */
.lv-explore-card { display: flex; flex-direction: column; padding: 20px; }
.lv-explore-card .lv-card-head-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 16px; }
.lv-explore-title { font-size: 15px; }
.lv-explore-desc { margin: 8px 0 20px; flex: 1; line-height: 1.6; color: var(--lv-text-secondary); }

/* ── Shared shell: header + sidebar footer ──────────────── */
.lv-header-action-btn { height: 36px; padding: 0 14px; font-size: 13px; }
.lv-header-currency-btn { height: 36px; padding: 0 12px; font-size: 11px; font-weight: 700; }
.lv-notif-badge.is-cart { background: var(--lv-danger-500); }

/* Primary blue gradient for the active sidebar link. */
.lv-sidebar .lv-nav-link.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}
.lv-sidebar .lv-nav-link.active .lv-icon { color: #ffffff; }

/* ── Status filter chips (JS hook: .ajax-filter-btn) ─────────────── */
/* Active chips use the primary blue gradient across every console. */
.ajax-filter-btn.lv-chip.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}
.ajax-filter-btn.lv-chip.is-active .lv-icon { color: #ffffff; }

/* Utility: simple hide (used by cart footer / table loader) */
.hidden { display: none !important; }

/* ── Notifications (injected by assets/main.js) ────────────── */
.notice-item {
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    border-radius: var(--lv-radius-md);
    padding: 14px 16px;
    margin-bottom: 8px;
}
.notice-item:last-child { margin-bottom: 0; }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-text-tertiary); flex-shrink: 0; margin-top: 5px; }
.notice-dot.is-success { background: var(--lv-success-500); }
.notice-dot.is-warning { background: var(--lv-warning-500); }
.notice-dot.is-error { background: var(--lv-danger-500); }
.notice-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.notice-text { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--lv-text-tertiary); }
.notice-time { margin: 4px 0 0; font-size: 10px; color: var(--lv-text-disabled); }

/* ── Cart items (rendered on client/cart.php) ─────────────── */
.cart-item-card {
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    border-radius: var(--lv-radius-md);
    padding: 14px 16px;
}
.cart-group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lv-text-secondary);
}
.cart-billing-btn {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--lv-radius-sm);
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-2);
    color: var(--lv-text-tertiary);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.cart-billing-btn.is-active,
.cart-billing-btn.active {
    border-color: var(--lv-accent-500);
    background: var(--lv-accent-500);
    color: #ffffff;
}
.cart-billing-btn:hover { border-color: var(--lv-accent-500); }

/* ── Choices.js theme (pixel-match to .lv-input / .lv-select) ── */
.choices {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 13px;
}
.choices:focus { outline: none; }
.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input { background-color: var(--lv-bg-surface-3); cursor: not-allowed; }
.choices .choices__inner {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    background: var(--lv-bg-surface-2);
    font-size: 13px;
    color: var(--lv-text-primary);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.choices:focus-within .choices__inner,
.choices.is-focused .choices__inner {
    border-color: var(--lv-accent-500);
    box-shadow: 0 0 0 3px var(--lv-focus-ring);
}
.choices__inner .choices__input { background: transparent; font-size: 13px; color: var(--lv-text-primary); }
.choices__inner .choices__input--cloned { background: transparent; }
.choices__list--single {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0;
}
.choices__list--single .choices__item {
    color: var(--lv-text-primary);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.choices__placeholder { color: var(--lv-text-disabled) !important; opacity: 1; }
.choices[data-type*="select-one"]::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    background-color: var(--lv-text-tertiary);
    -webkit-mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}
.choices[data-type*="select-one"].is-open::after { transform: translateY(-50%) rotate(180deg); }
.choices__list--dropdown {
    z-index: 300;
    background: var(--lv-bg-surface-1);
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
    max-height: 280px;
    overflow-y: auto;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted { background: var(--lv-bg-surface-2); }
.choices__list--dropdown .choices__item--selectable { color: var(--lv-text-secondary); }
.choices__list--dropdown .choices__item.is-selected { color: var(--lv-text-primary); font-weight: 600; }
.choices__list--multiple .choices__item {
    background: var(--lv-bg-surface-3);
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    color: var(--lv-text-primary);
    font-size: 12px;
}
.choices__list--multiple .choices__item.is-highlighted {
    background: var(--lv-bg-surface-2);
    border-color: var(--lv-accent-500);
}
.choices[data-type*="select-multiple"] .choices__button {
    border-left: 1px solid var(--lv-border-muted);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
    background-size: 10px;
    opacity: 0.7;
    margin: 0 0 0 6px;
    padding-left: 8px;
    border-radius: 0;
    line-height: 1;
}
.choices[data-type*="select-multiple"] .choices__button:hover { opacity: 1; }

/* allow card/modal dropdowns to overlay their container when open */
.lv-card:has(.choices.is-open) { overflow: visible; }
.lv-modal-body:has(.choices.is-open) { overflow: visible; }
.lv-modal:has(.choices.is-open) { overflow: visible; }

/* ═══════════════════════════════════════════════════════════════
   Page-specific conversions (Wave 1) — cart, checkout, manage-dns,
   domain search pages. Loaded after library.css so overrides win.
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared layout utilities (cart.php + checkout.php) ─────── */
.lv-space-y-1-5 > * + * { margin-top: 6px; }
.lv-space-y-2 > * + * { margin-top: 8px; }
.lv-space-y-3 > * + * { margin-top: 12px; }
.lv-space-y-4 > * + * { margin-top: 16px; }
.lv-inline-flex { display: inline-flex; align-items: center; }
.lv-flex-wrap { flex-wrap: wrap; }
.lv-self-start { align-self: flex-start; }
.lv-divide-y > * + * { border-top: 1px solid var(--lv-border-muted); }
.lv-row-end-sm { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .lv-row-end-sm { flex-direction: row; align-items: flex-end; } }
.lv-service-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .lv-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lv-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lv-plans-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .lv-plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lv-explore-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .lv-explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lv-offers-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .lv-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lv-form-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px 16px; }
@media (min-width: 640px) { .lv-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lv-form-grid-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (min-width: 640px) { .lv-form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lv-profiles-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .lv-profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .lv-profiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Shiny button sweep (cart.php + checkout.php) ──────────── */
@keyframes shiny-sweep {
    0%   { left: -60%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}
.cart-shiny-btn .shiny-overlay,
.checkout-shiny-btn .shiny-overlay {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: shiny-sweep 3s ease-in-out infinite;
    pointer-events: none;
}
.shiny-offer-card .shiny-overlay {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: shiny-sweep 3s ease-in-out infinite;
    pointer-events: none;
}

/* ══ cart.php ══ */
.cart-cols { display: flex; flex-direction: column; gap: 24px; }
.cart-col { width: 100%; }
@media (min-width: 1024px) {
    .cart-cols { flex-direction: row; }
    .cart-col-left { width: 65%; }
    .cart-col-right { width: 35%; }
}
#cart-coupon-btn:hover { text-decoration: underline; }
#cart-coupon-remove-btn:hover { color: var(--lv-danger-500); border-color: color-mix(in srgb, var(--lv-danger-500) 30%, transparent); }
.hosting-tab-btn {
    height: 28px; padding: 0 14px; font-size: 11px; border-radius: 6px;
    background: var(--lv-bg-surface-2); color: var(--lv-text-secondary); border-color: var(--lv-border-muted);
}
.hosting-tab-btn.active { background: var(--lv-accent-500); border-color: var(--lv-accent-500); color: #ffffff; }
#cart-domain-input::placeholder { color: #94a3b8; }
.cart-header { position: sticky; top: 0; z-index: 40; display: flex; height: 64px; align-items: center; justify-content: center; border-bottom: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-1); }
.cart-header-inner { max-width: 1152px; padding: 0 clamp(16px, 4vw, 32px); }
.cart-header-logo { width: 40px; height: 40px; }
.cart-header-brand { font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.cart-header-icon-btn { width: 32px; height: 32px; }
.cart-currency-btn { height: 32px; padding: 0 10px; font-size: 11px; font-weight: 700; }
.cart-user-chip { gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 4px 14px 4px 8px; }
.cart-user-avatar { width: 24px; height: 24px; border-radius: 9999px; background: var(--lv-accent-500); font-size: 10px; font-weight: 700; color: #fff; }
.cart-user-meta { line-height: 1.25; min-width: 0; }
.cart-user-name { margin: 0; font-size: 12px; font-weight: 600; color: var(--lv-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-user-email { margin: 0; font-size: 10px; color: var(--lv-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-user-logout { width: 24px; height: 24px; margin-left: 4px; font-size: 13px; flex-shrink: 0; white-space: nowrap; }
.cart-header-login { height: 32px; padding: 0 14px; font-size: 11px; }
.cart-main { width: 100%; max-width: 1152px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px); }
.cart-page-title { margin-top: 8px; margin-bottom: 24px; }
.cart-skel-card { height: 192px; width: 100%; }
.cart-skel-summary { height: 288px; width: 100%; }
.cart-skel-btn { height: 48px; width: 100%; }
.cart-domain-skel { padding: 16px; }
.cart-skel-row { gap: 12px; }
.cart-skel-dot { width: 20px; height: 20px; border-radius: 9999px; }
.cart-skel-line { height: 20px; }
.cart-offer-card.is-offer .lv-skel { background: rgba(255,255,255,0.1); }
.cart-error { padding: 64px 0; font-size: 13px; color: var(--lv-danger-500); }
.cart-error-btn { color: var(--lv-accent-500); text-decoration: underline; }
.cart-error-btn:hover { color: var(--lv-accent-500); text-decoration: underline; }
.cart-loading { padding: 16px 0; font-size: 14px; color: var(--lv-text-tertiary); }
.cart-loading .lv-icon { margin-right: 8px; animation: lv-spin .7s linear infinite; }
.cart-plans-empty { font-size: 13px; color: var(--lv-text-tertiary); }
.cart-empty { padding: 64px 0 32px; text-align: center; }
.cart-empty-icon { width: 64px; height: 64px; border-radius: 6px; border: 2px dashed var(--lv-border-muted); background: var(--lv-bg-surface-2); margin-bottom: 16px; }
.cart-empty-cart { font-size: 28px; color: var(--lv-text-tertiary); }
.cart-empty-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--lv-text-primary); }
.cart-empty-desc { margin: 6px 0 0; max-width: 448px; font-size: 14px; color: var(--lv-text-tertiary); }
.cart-browse { margin-top: 8px; }
.cart-explore-icon { width: 44px; height: 44px; border-radius: 6px; margin-bottom: 16px; }
.cart-explore-icon .lv-icon { font-size: 20px; color: #fff; }
.cart-icon-blue { background: #1d4ed8; }
.cart-icon-green { background: #059669; }
.cart-icon-violet { background: #7c3aed; }
.cart-icon-red { background: #b91c1c; }
.cart-explore-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--lv-text-primary); }
.cart-explore-desc { margin: 8px 0 20px; flex: 1; font-size: 14px; line-height: 1.625; color: var(--lv-text-secondary); }
.cart-explore-btn { height: 40px; font-size: 13px; margin-top: auto; }
/* Keep the action button pinned to the bottom of every browse card */
.cart-browse .lv-service-grid > .lv-card { display: flex; }
.cart-browse .lv-service-grid > .lv-card > .lv-card-body { flex: 1; }
.cart-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--lv-border-muted); padding: 16px 20px; }
.cart-card-head-main { gap: 12px; min-width: 0; }
.cart-icon-tile { width: 32px; height: 32px; border-radius: 6px; background: #1d4ed8; color: #fff; }
.cart-icon-tile .lv-icon { font-size: 15px; }
.cart-min-w-0 { min-width: 0; }
.cart-item-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.cart-item-sub { margin: 0; font-size: 12px; color: var(--lv-text-tertiary); }
.cart-period-label { font-size: 11px; font-weight: 600; color: var(--lv-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }
.cart-billing-row { margin-top: 8px; gap: 12px; }
.cart-gap-6 { gap: 6px; }
.cart-gap-2 { gap: 2px; }
.cart-remove-btn { width: 28px; height: 28px; }
.cart-remove-btn .lv-icon { font-size: 13px; }
.cart-billing-btn { height: 28px; font-size: 11px; padding: 0 12px; }
.cart-cycle-badge { padding: 6px 12px; font-size: 11px; border: 1px solid var(--lv-accent-500); }
.cart-cycle-static { cursor: default; pointer-events: none; }
.cart-renew-note { margin: 0; font-size: 11px; color: var(--lv-text-tertiary); }
.cart-renew-strong { font-weight: 600; color: var(--lv-text-secondary); }
.cart-price-strike { font-size: 12px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.cart-price-lg { font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.cart-badge-md { font-size: 11px; padding: 4px 10px; }
.cart-badge-sm { font-size: 10px; padding: 4px 8px; }
.cart-upsell { margin: 12px -20px -20px; overflow: hidden; border-radius: 0px; border-top: 1px solid color-mix(in srgb, var(--lv-accent-500) 20%, transparent); background: #1d4ed8; }
.cart-upsell-row { gap: 8px; padding: 10px 16px; }
.cart-upsell-main { gap: 10px; min-width: 0; }
.cart-upsell-icon { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,0.15); }
.cart-upsell-icon .lv-icon { font-size: 15px; color: #fff; }
.cart-upsell-title { margin: 0; font-size: 13px; font-weight: 700; color: #fff; }
.cart-upsell-sub { margin: 0; font-size: 11px; color: rgba(255,255,255,0.7); }
.cart-upsell-btn { height: 32px; background: #fff; border-color: #fff; color: var(--lv-accent-600); font-size: 12px; font-weight: 700; padding: 0 16px; white-space: nowrap; }
.cart-epp-row { gap: 6px; margin-top: 8px; }
.cart-epp-label { font-size: 11px; color: var(--lv-text-tertiary); }
.cart-epp-code { font-size: 11px; background: var(--lv-bg-surface-2); padding: 2px 8px; border-radius: 6px; color: var(--lv-text-secondary); }
.cart-divider { border-top: 1px solid var(--lv-border-muted); }
.cart-card-foot { padding: 16px 20px; }
.cart-check-row { gap: 8px; }
.cart-check-row .lv-icon { font-size: 13px; color: var(--lv-accent-500); }
.cart-check-text { font-size: 12px; color: var(--lv-text-primary); }
.cart-check-strong { font-weight: 600; }
.cart-col-left > .cart-section-card { margin-top: 24px; }
.cart-offer-card.is-offer { background: #1d4ed8; border-color: rgba(255,255,255,0.2); }
.cart-offer-icon { width: 32px; height: 32px; border-radius: 6px; background: var(--lv-accent-500); color: #fff; }
.cart-offer-icon .lv-icon { font-size: 15px; color: #fff; }
.is-offer .cart-offer-icon { background: rgba(255,255,255,0.15); color: #fff; }
.cart-offer-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.cart-offer-sub { margin: 0; font-size: 12px; color: var(--lv-text-tertiary); }
.is-offer .cart-offer-title { color: #fff; }
.is-offer .cart-offer-sub { color: rgba(255,255,255,0.7); }
.cart-offer-chip { gap: 4px; background: #fff; color: #1d4ed8; padding: 4px 12px; font-size: 10px; white-space: nowrap; border-radius: 6px; }
.cart-offer-chip .lv-icon { font-size: 12px; }
.cart-domain-field { position: relative; }
.cart-domain-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--lv-text-tertiary); pointer-events: none; }
.is-offer .cart-domain-icon { color: rgba(255,255,255,0.6); }
.cart-domain-input { height: 40px; padding-left: 36px; border: 1px solid var(--lv-border-muted); background: #f1f5f9; color: #1e293b; border-radius: 6px; font-size: 14px; outline: none; transition: border-color .15s ease; font-family: var(--lv-font-ui); }
.is-offer .cart-domain-input { border-color: rgba(255,255,255,0.2); background: #1e3a8a; color: #fff; }
.cart-search-btn { height: 40px; padding: 0 20px; font-size: 13px; font-weight: 600; white-space: nowrap; border-radius: 6px; border: 1px solid var(--lv-accent-500); background: var(--lv-accent-500); color: #fff; }
.is-offer .cart-search-btn { border-color: #fff; background: #fff; color: #1d4ed8; }
.cart-domain-results { margin-top: 12px; border-radius: 6px; border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); overflow: hidden; }
.cart-domain-error { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--lv-danger-500); }
.cart-tabs { gap: 8px; margin-bottom: 16px; }
.cart-plans { min-height: 100px; }
.cart-summary-body { padding: 20px; }
.cart-summary-row { gap: 8px; }
.cart-summary-name { margin: 0; font-size: 13px; font-weight: 500; color: var(--lv-text-primary); }
.cart-summary-meta { margin: 0; font-size: 11px; color: var(--lv-text-tertiary); }
.cart-summary-price { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); white-space: nowrap; }
.cart-hr { border: none; border-top: 1px solid var(--lv-border-muted); margin: 0; }
.cart-summary-details { padding: 16px 20px; font-size: 13px; }
.cart-summary-sub { color: var(--lv-text-secondary); }
.cart-summary-value { font-weight: 600; color: var(--lv-text-primary); }
.cart-summary-save { color: var(--lv-success-500); }
.cart-coupon-applied { gap: 8px; }
.cart-coupon-text { font-size: 13px; font-weight: 600; color: var(--lv-accent-500); }
.cart-coupon-upper { text-transform: uppercase; }
.cart-coupon-remove-btn { width: 20px; height: 20px; }
.cart-coupon-remove-btn .lv-icon { font-size: 11px; }
.cart-coupon-btn { margin: 0; padding: 0; background: transparent; border: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--lv-accent-500); }
.cart-tax-note { margin: 16px 0 4px; padding: 0 20px; text-align: left; font-size: 11px; color: var(--lv-text-tertiary); }
.cart-total-row { padding: 0 20px 16px; color: var(--lv-text-primary); }
.cart-total-label { font-weight: 700; }
.cart-checkout-btn { position: relative; height: 48px; font-size: 15px; font-weight: 700; overflow: hidden; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--lv-accent-500) 20%, transparent); }
.cart-explore-section { margin-top: 24px; }
.cart-explore-head { margin-bottom: 16px; }
.cart-explore-h { margin: 0; font-size: 18px; font-weight: 700; color: var(--lv-text-primary); }
.cart-domain-none { font-size: 13px; padding: 8px 0; color: var(--lv-text-tertiary); }
.is-offer .cart-domain-none { color: rgba(255,255,255,0.6); }
.cart-domain-unavail { padding: 20px; text-align: center; }
.cart-unavail-row { gap: 8px; margin-bottom: 12px; }
.cart-unavail-icon { font-size: 20px; color: #f43f5e; }
.cart-unavail-text { font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.is-offer .cart-unavail-text { color: #fff; }
.cart-see-all-btn { height: 36px; font-size: 13px; padding: 0 20px; }
.cart-see-all-btn .lv-icon { font-size: 14px; }
.cart-domain-row { gap: 16px; padding: 12px 16px; }
.cart-domain-row + .cart-domain-row { border-top: 1px solid var(--lv-border-muted); }
.is-offer .cart-domain-row + .cart-domain-row { border-top-color: rgba(255,255,255,0.15); }
.cart-domain-name { font-size: 15px; font-weight: 600; color: var(--lv-text-primary); }
.is-offer .cart-domain-name { color: #fff; }
.cart-domain-actions { gap: 12px; }
.cart-price-group { gap: 8px; white-space: nowrap; }
.cart-strike { font-size: 11px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.is-offer .cart-strike { color: rgba(255,255,255,0.4); }
.cart-domain-free { font-size: 13px; font-weight: 600; color: #6ee7b7; }
.cart-domain-price { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.is-offer .cart-domain-price { color: #fff; }
.cart-domain-add { height: 28px; font-size: 11px; padding: 0 12px; white-space: nowrap; border-radius: 6px; border: 1px solid var(--lv-accent-500); background: var(--lv-accent-500); color: #fff; }
.is-offer .cart-domain-add { border-color: #fff; background: #fff; color: #1d4ed8; }
.cart-domain-add .lv-icon { font-size: 11px; }
.cart-domain-unavail-badge { font-size: 11px; padding: 2px 10px; background: rgba(244,63,94,0.1); color: #f43f5e; }
.is-offer .cart-domain-unavail-badge { background: rgba(255,255,255,0.1); color: #fda4af; }
.cart-domain-more { gap: 8px; border-top: 1px solid var(--lv-border-muted); padding: 12px 16px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--lv-accent-500); }
.is-offer .cart-domain-more { border-top-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.cart-domain-more .lv-icon { font-size: 13px; }
.cart-go-cart-btn { height: 28px; font-size: 11px; padding: 0 12px; white-space: nowrap; border-radius: 6px; }
.cart-go-cart-btn .lv-icon { font-size: 11px; }
.cart-search-fail { font-size: 13px; color: var(--lv-danger-500); }
.cart-plan-card { padding: 20px; position: relative; background: var(--lv-bg-surface-2); overflow: visible; }
.cart-plan-card.is-popular { box-shadow: 0 0 0 2px var(--lv-accent-500); }
.cart-plan-popular { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-radius: 6px; background: var(--lv-accent-500); padding: 2px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; white-space: nowrap; }
.cart-plan-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.cart-plan-tier { margin: 2px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.cart-plan-price-row { margin-top: 4px; gap: 2px; align-items: baseline; }
.cart-plan-price { font-size: 18px; font-weight: 700; color: var(--lv-text-primary); }
.cart-plan-cycle { font-size: 11px; color: var(--lv-text-tertiary); }
.cart-plan-old { margin: 0; font-size: 10px; color: var(--lv-text-tertiary); }
.cart-line-through { text-decoration: line-through; }
.cart-plan-features { margin: 16px 0 0; padding: 0; list-style: none; gap: 6px; }
.cart-feature { gap: 8px; font-size: 12px; color: var(--lv-text-secondary); }
.cart-feature .lv-icon { font-size: 12px; color: var(--lv-success-500); }
.cart-plan-cta { margin-top: auto; padding-top: 16px; }
.cart-plan-add { height: 36px; font-size: 12px; }
.cart-plan-add .lv-icon { font-size: 13px; }
.cart-offer-item { gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 14px; }
.cart-offer-code { margin: 0; font-size: 13px; font-weight: 700; color: var(--lv-success-500); text-transform: uppercase; }
.cart-offer-cond { margin: 4px 0 0; font-size: 11px; color: var(--lv-text-secondary); }
.cart-copy-btn { width: 28px; height: 28px; }
.cart-copy-btn .lv-icon { font-size: 13px; }
.cart-copy-check { font-size: 13px; }
.cart-offers-section { margin-top: 4px; }
.cart-modal-divider { margin: 0 -24px 16px; border-top: 1px solid var(--lv-border-muted); }
.cart-offers-title { gap: 8px; margin-bottom: 12px; }
.cart-offers-title .lv-icon { font-size: 15px; color: var(--lv-text-primary); }
.cart-offers-heading { font-size: 13px; font-weight: 700; color: var(--lv-text-primary); }
.cart-footer { margin-top: 24px; border-top: 1px solid var(--lv-border-muted); background-color: #0a1628; }
.cart-footer-inner { max-width: 1280px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 32px); }
.cart-footer-row { flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.cart-footer-copy { margin: 0; font-size: 13px; color: #94a3b8; }
.cart-footer-links { flex-wrap: wrap; gap: 16px; font-size: 13px; }
.cart-footer-link { color: #94a3b8; text-decoration: none; }

/* ══ checkout.php ══ */
.checkout-shiny-btn { position: relative; margin-top: 16px; height: 48px; font-size: 15px; font-weight: 700; overflow: hidden; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--lv-accent-500) 20%, transparent); }
.chk-body { min-height: 100vh; }
.chk-header { position: sticky; top: 0; z-index: 40; display: flex; height: 64px; align-items: center; justify-content: center; border-bottom: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-1); }
.chk-header-inner { max-width: 1152px; padding: 0 clamp(16px, 4vw, 32px); }
.chk-main { width: 100%; max-width: 1152px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px); }
.chk-logo { width: 40px; height: 40px; }
.chk-brand-name { font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.chk-btn-32 { width: 32px; height: 32px; }
.chk-btn-icon-28 { width: 28px; height: 28px; }
.chk-logout-btn { width: 24px; height: 24px; margin-left: 4px; font-size: 13px; }
.chk-currency-btn { height: 32px; padding: 0 10px; font-size: 11px; font-weight: 700; }
.chk-btn-11 { height: 32px; padding: 0 14px; font-size: 11px; }
.chk-btn-28 { height: 28px; font-size: 11px; padding: 0 10px; }
.chk-user-chip { gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 4px 14px 4px 8px; }
.chk-avatar-24 { width: 24px; height: 24px; border-radius: 9999px; background: var(--lv-accent-500); font-size: 10px; font-weight: 700; color: #fff; }
.chk-chip-meta { line-height: 1.25; min-width: 0; }
.chk-chip-name { margin: 0; font-size: 12px; font-weight: 600; color: var(--lv-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chk-chip-email { margin: 0; font-size: 10px; color: var(--lv-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chk-page-title { margin-top: 8px; margin-bottom: 20px; }
.chk-section-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.chk-subtext { margin: 0; font-size: 12px; color: var(--lv-text-tertiary); }
.chk-card-head-click { gap: 12px; padding: 16px 20px; cursor: pointer; user-select: none; }
.chk-head-icon-success { background: color-mix(in srgb, var(--lv-success-500) 10%, transparent); color: var(--lv-success-500); }
.chk-icon-12 { font-size: 12px; }
.chk-icon-13 { font-size: 13px; }
.chk-icon-15 { font-size: 15px; }
.chk-icon-16 { font-size: 16px; }
.chk-h-40 { height: 40px; }
.chk-error-text { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--lv-danger-500); }
.chk-mt-16 { margin-top: 16px; }
.chk-sticky { position: sticky; top: 80px; }
.chk-skel-h48 { height: 48px; }
.chk-skel-h112 { height: 112px; }
.chk-skel-h192 { height: 192px; }
.chk-skel-h224 { height: 224px; }
.chk-gap-6 { gap: 6px; }
.chk-badge-count { min-width: 22px; height: 22px; justify-content: center; padding: 0 4px; }
.chk-border-top { border-top: 1px solid var(--lv-border-muted); }
.chk-text-primary { color: var(--lv-text-primary); }
.chk-fw-700 { font-weight: 700; }
.chk-divider { border: none; border-top: 1px solid var(--lv-border-muted); margin: 0; }
.chk-summary-total-row { padding: 16px 20px; color: var(--lv-text-primary); }
.chk-total-label { font-size: 15px; font-weight: 700; }
.chk-total-value { font-size: 17px; font-weight: 700; }
.chk-alert { margin-bottom: 16px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--lv-danger-500) 40%, transparent); background: color-mix(in srgb, var(--lv-danger-500) 10%, transparent); padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--lv-danger-500); }
.chk-secure-note { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--lv-text-tertiary); }
.chk-explore-section { width: 100%; max-width: 1152px; margin: 32px auto 24px; padding: 0 clamp(16px, 4vw, 32px); }
.chk-explore-head { margin-bottom: 24px; }
.chk-explore-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--lv-text-primary); }
.chk-explore-desc { margin: 8px 0 20px; flex: 1; font-size: 14px; line-height: 1.625; color: var(--lv-text-secondary); }
.chk-explore-icon-blue { background: #1d4ed8; }
.chk-explore-icon-green { background: #059669; }
.chk-explore-icon-red { background: #b91c1c; }
.chk-explore-icon-purple { background: #7c3aed; }
.chk-create-profile { min-height: 100px; cursor: pointer; border: 2px dashed #475569; border-radius: 6px; background: transparent; padding: 20px; text-align: center; transition: border-color 0.15s ease, background 0.15s ease; }
.chk-create-icon-box { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); }
.chk-modal-divider { margin: 0 -24px 16px; border-top: 1px solid var(--lv-border-muted); }
.chk-mb-12 { margin-bottom: 12px; }
.chk-confirm-msg { margin: 0; font-size: 13px; color: var(--lv-text-tertiary); }
.chk-footer { margin-top: auto; border-top: 1px solid var(--lv-border-muted); background-color: #0a1628; }
.chk-footer-inner { max-width: 1280px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 32px); }
.chk-footer-text { margin: 0; font-size: 13px; color: #94a3b8; }
.chk-footer-link { color: #94a3b8; text-decoration: none; }
#checkout-create-profile-btn:hover { border-color: var(--lv-accent-500); background: color-mix(in srgb, var(--lv-accent-500) 5%, transparent); }
#checkout-coupon-btn:hover { text-decoration: underline; }
#checkout-coupon-remove-btn:hover { color: var(--lv-danger-500); border-color: color-mix(in srgb, var(--lv-danger-500) 30%, transparent); }
.coupon-copy-btn:hover:not(:disabled) { border-color: var(--lv-accent-500); color: var(--lv-accent-500); }
.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 6px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.profile-card.is-selected { border: 2px solid var(--lv-accent-500); padding: 15px; }
.profile-card:hover:not(.is-selected) { border-color: var(--lv-accent-500); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.profile-check { position: absolute; top: 8px; right: 8px; }

/* ══ manage-dns.php ══ */
.field-error { display: none; margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--lv-danger-500); }
.field-error.show,
.field-error:not(:empty) { display: block; }
.lv-field-error:not(:empty) { display: block; }
#import-dropzone { cursor: pointer; }
#import-dropzone:hover { border-color: var(--lv-accent-500); background: var(--lv-bg-surface-3); }
.dnsm-table-min { table-layout: fixed; }
.dnsm-cell-editable { font-weight: 600; color: var(--lv-text-primary); cursor: text; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnsm-cell-name { max-width: 148px; }
.dnsm-cell-value { max-width: 220px; }
.dnsm-rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; flex-shrink: 0; margin-right: 6px; vertical-align: middle; }
.dnsm-cell-editable.dnsm-cell-editing { white-space: normal; overflow: visible; outline: 2px solid var(--lv-accent-500); outline-offset: -2px; border-radius: 4px; }
.dnsm-cell-editing:empty::before { content: attr(data-placeholder); color: var(--lv-text-tertiary); }
.lv-table tbody tr.dnsm-row-editing { background: var(--lv-bg-surface-2); }
.dnsm-rec-prio { color: var(--lv-text-tertiary); margin-left: 4px; }
#record-preview { font-size: 14px; }
#record-preview .dnsm-preview-em { font-weight: 600; color: var(--lv-accent-500); }
#record-preview .dnsm-preview-value { display: inline-block; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.dnsm-preview-card { border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 10px 14px; }
.dnsm-preview-text { margin: 0; min-width: 0; }
.dnsm-grid-65-35 { grid-template-columns: 65fr 35fr; }
.dnsm-tabbar { flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.dnsm-input-clear-pad { padding-right: 34px; }
.dnsm-input-clear-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--lv-text-tertiary); background: transparent; border: none; cursor: pointer; z-index: 2; }
.dnsm-banner-warning { margin-bottom: 16px; border: 1px solid var(--lv-warning-500); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; font-size: 13px; color: var(--lv-text-primary); }
.dnsm-btn-warning { flex-shrink: 0; background: var(--lv-warning-500); border-color: var(--lv-warning-500); color: #fff; }
.dnsm-icon-circle-lg { width: 64px; height: 64px; border-radius: 9999px; }
.dnsm-bg-danger-soft { background: rgba(239, 68, 68, 0.1); }
.dnsm-icon-danger-xl { font-size: 28px; color: #ef4444; }
.dnsm-icon-warning { font-size: 18px; color: var(--lv-warning-500); }
.dnsm-icon-accent-lg { font-size: 18px; color: var(--lv-accent-500); flex-shrink: 0; }
.dnsm-icon-xs { font-size: 12px; }
.dnsm-icon-white-lg { font-size: 20px; color: #fff; }
.dnsm-mt-6 { margin-top: 24px; }
.dnsm-gap-12 { gap: 12px; }
.dnsm-skel-h82 { height: 82px; }
.dnsm-skel-h320 { height: 320px; }
.dnsm-skel-h300 { height: 300px; }
.dnsm-skel-h72 { height: 72px; }
.dnsm-info-label { margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lv-text-tertiary); }
.dnsm-info-value { margin: 2px 0 0; font-size: 13px; font-weight: 500; color: var(--lv-text-primary); }
.dnsm-ns-row { border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; }
.dnsm-ns-name { font-size: 14px; font-weight: 700; color: var(--lv-text-primary); }
.dnsm-health-body { padding: 24px 20px; text-align: center; }
.dnsm-health-circle { width: 64px; height: 64px; border-radius: 9999px; color: #fff; }
.dnsm-health-circle.is-ok { background: #10b981; }
.dnsm-health-circle.is-warn { background: #f59e0b; }
.dnsm-health-title { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--lv-text-primary); }
.dnsm-health-updated { margin: 8px 0 0; font-size: 11px; color: var(--lv-text-tertiary); }
.dnsm-ns-dot { width: 20px; height: 20px; border-radius: 9999px; color: #fff; }
.dnsm-ns-dot-ok { background: #10b981; }
.dnsm-ns-dot-warn { background: #f59e0b; }
.dnsm-ns-dot-icon { width: 12px; height: 12px; }
/* Theme-aware shimmer. Dark mode uses the surface tokens (light bars on the
   dark canvas). Light mode mirrors the real layout: white skeleton blocks on
   the grey canvas, and muted grey bars inside white surfaces so they stay
   visible there. */
.dnsm-skel-white {
    background: linear-gradient(90deg, var(--lv-bg-surface-3) 25%, var(--lv-bg-surface-2) 50%, var(--lv-bg-surface-3) 75%);
    background-size: 200% 100%;
    animation: skel-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}
body[data-theme='light'] .dnsm-skel-white {
    background: linear-gradient(90deg, #ffffff 25%, #e9eef6 50%, #ffffff 75%);
    background-size: 200% 100%;
}
body[data-theme='light'] .lv-card .dnsm-skel-white,
body[data-theme='light'] .ajax-table-card .dnsm-skel-white,
body[data-theme='light'] .ajax-table-loader .dnsm-skel-white,
body[data-theme='light'] .skel-table .dnsm-skel-white,
body[data-theme='light'] .hst-usage-row .dnsm-skel-white {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
}
.dnsm-w-130 { width: 130px; }
.dnsm-textarea-lg { min-height: 100px; }
.dnsm-dropzone { border: 2px dashed var(--lv-border-muted); background: var(--lv-bg-surface-2); border-radius: 6px; padding: 40px 24px; }
.dnsm-dropzone-icon { font-size: 36px; color: var(--lv-text-tertiary); margin-bottom: 12px; }
.dnsm-dropzone-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-secondary); }
.dnsm-dropzone-sub { margin: 4px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.dnsm-file-info { margin-top: 16px; border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); border-radius: 6px; padding: 12px 16px; }
.dnsm-file-name { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.dnsm-file-meta { margin: 2px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.dnsm-progress-track { position: relative; height: 8px; width: 100%; overflow: hidden; border-radius: 6px; background: var(--lv-bg-surface-2); }
.dnsm-fs-12 { font-size: 12px; }
.dnsm-fw-600 { font-weight: 600; }
.dnsm-copy-ok { color: var(--lv-success-500); }

/* ══ domain-page-shared.php ══ */
.lv-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .lv-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lv-domain-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; transition: background var(--lv-duration-fast) var(--lv-easing-standard); }
.lv-domain-row + .lv-domain-row { border-top: 1px solid var(--lv-border-muted); }
.lv-domain-row:hover { background: color-mix(in srgb, var(--lv-bg-surface-2) 50%, transparent); }
.lv-domain-row.is-accent { background: color-mix(in srgb, var(--lv-accent-500) 5%, transparent); }
.lv-domain-row.is-accent.is-ai:hover { background: color-mix(in srgb, var(--lv-bg-surface-2) 50%, transparent); }
.lv-domain-row.is-accent:hover { background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); }
.lv-price-right { text-align: right; display: none; }
@media (min-width: 640px) { .lv-price-right { display: block; } }
.lv-btn-exact { background: #ffffff; color: var(--lv-accent-600); }
.lv-btn-exact:hover { background: #f1f5f9; }
.dps-mt-8 { margin-top: 8px; }
.dps-mt-16 { margin-top: 16px; }
.dps-mt-24 { margin-top: 24px; }
.dps-chip-lg { height: 36px; font-size: 13px; padding: 0 14px; }
.dps-search-form { flex-wrap: wrap; gap: 12px; align-items: center; }
.dps-search-input-wrap { flex: 1; min-width: 260px; }
.dps-search-input { height: 44px; }
.dps-btn-lg { height: 44px; padding: 0 24px; }
.dps-btn-md { height: 40px; padding: 0 24px; }
.dps-btn-sm { height: 36px; padding: 0 16px; font-size: 12px; flex-shrink: 0; }
.dps-btn-exact-lg { height: 40px; padding: 0 20px; font-size: 13px; font-weight: 700; }
.dps-tld-row { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dps-feature-card { padding: 16px; }
.dps-feature-icon { width: 36px; height: 36px; }
.dps-feature-title { margin: 12px 0 0; font-weight: 700; color: var(--lv-text-primary); }
.dps-feature-desc { margin: 6px 0 0; line-height: 1.7; }
.dps-label-lg { font-size: 14px; font-weight: 600; color: var(--lv-text-primary); margin-bottom: 6px; }
.dps-ai-textarea { padding: 12px; resize: none; }
.dps-ai-results-head { margin: 0 0 12px; gap: 8px; font-size: 16px; font-weight: 600; color: var(--lv-text-primary); }
.dps-ai-count-badge { border-radius: var(--lv-radius-sm); padding: 2px 10px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--lv-accent-500) 15%, transparent); color: var(--lv-accent-500); }
.dps-skel-row { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.dps-skel-row:last-child { border-bottom: 0; }
.dps-skel-avatar { width: 36px; height: 36px; flex-shrink: 0; }
.dps-skel-line { height: 16px; }
.dps-skel-line-sm { height: 12px; }
.dps-skel-w-64 { width: 64px; }
.dps-skel-w-80 { width: 80px; }
.dps-skel-w-144 { width: 144px; }
.dps-skel-w-192 { width: 192px; }
.dps-skel-btn { width: 112px; height: 36px; }
.dps-gap-14 { gap: 14px; }
.dps-min-w-0 { min-width: 0; }
.dps-price { font-size: 20px; font-weight: 700; color: var(--lv-text-primary); }
.dps-price-exact { font-size: 20px; font-weight: 700; color: #ffffff; }
.dps-price-row { gap: 8px; justify-content: flex-end; }
.dps-strike { text-decoration: line-through; }
.dps-strike-exact { text-decoration: line-through; color: rgba(255,255,255,0.5); }
.dps-icon-box { width: 36px; height: 36px; border-radius: var(--lv-radius-sm); border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); }
.dps-accent-icon-box { width: 36px; height: 36px; border-radius: var(--lv-radius-sm); border: 1px solid color-mix(in srgb, var(--lv-accent-500) 20%, transparent); background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); }
.dps-text-accent { color: var(--lv-accent-500); }
.dps-domain-name { font-size: 16px; font-weight: 700; color: var(--lv-text-primary); }
.dps-ai-desc { font-size: 11px; line-height: 1.25; color: var(--lv-text-tertiary); }
.dps-card-exact { background: var(--lv-accent-600); border-color: var(--lv-accent-600); margin-bottom: 20px; }
.dps-exact-head { gap: 16px; padding: 20px 24px; }
.dps-exact-icon { width: 48px; height: 48px; border-radius: var(--lv-radius-sm); background: rgba(255,255,255,0.15); }
.dps-icon-inverse-lg { color: #ffffff; font-size: 22px; }
.dps-exact-name { font-size: 18px; font-weight: 700; color: #ffffff; }
.dps-exact-sub { font-size: 13px; font-weight: 700; color: #ffffff; }
.dps-status-text-success { gap: 6px; font-size: 12px; font-weight: 700; color: var(--lv-success-500); }
.dps-status-text-danger { gap: 6px; font-size: 12px; font-weight: 500; color: var(--lv-danger-500); }
.dps-status-text-accent { gap: 6px; font-size: 12px; font-weight: 500; color: var(--lv-accent-500); }
.dps-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; flex-shrink: 0; }
.dps-status-dot.is-success { background: var(--lv-success-500); }
.dps-status-dot.is-danger { background: var(--lv-danger-500); }
.dps-status-dot.is-accent { background: var(--lv-accent-500); }
.dps-available-chip { gap: 6px; border-radius: var(--lv-radius-sm); background: rgba(35,179,107,0.15); padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--lv-success-500); }
.dps-empty-state { gap: 20px; padding: 64px 16px; text-align: center; }
.dps-empty-icon-80 { width: 80px; height: 80px; border-radius: var(--lv-radius-sm); background: rgba(233,77,101,0.1); }
.dps-empty-icon-64 { width: 64px; height: 64px; border-radius: var(--lv-radius-sm); border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); }
.dps-icon-danger-lg { color: var(--lv-danger-500); font-size: 32px; }
.dps-icon-muted-lg { color: var(--lv-text-tertiary); font-size: 24px; }
.dps-empty-title { font-size: 18px; font-weight: 700; color: var(--lv-text-primary); }
.dps-empty-title-lg { font-size: 22px; font-weight: 700; color: var(--lv-text-primary); }
.dps-empty-desc { margin: 6px auto 0; max-width: 28rem; font-size: 14px; line-height: 1.625; color: var(--lv-text-tertiary); }
.dps-empty-desc-sm { margin: 4px 0 0; font-size: 13px; color: var(--lv-text-tertiary); }
.dps-error-msg { padding: 40px 20px; text-align: center; font-size: 13px; color: var(--lv-text-tertiary); }
.dps-results-head-wrap { margin-bottom: 16px; }
.dps-results-head { font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.dps-spinner-sm { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════
   Wave 2a conversions — affiliate, checkout JS strings,
   manage-email, email-api.
   ═══════════════════════════════════════════════════════════════ */

/* ══ affiliate.php ══ */

/* Page header + section wrappers */
.aff-head { flex-wrap: wrap; margin-bottom: 24px; }
.aff-head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.aff-pane { min-width: 0; }
.aff-pane + .aff-pane { margin-top: 16px; }

/* Stat row (dashboard stat cards) */
.aff-stats { margin-bottom: 16px; }

/* Share (dark) + payout balance (light) — 65 / 35 */
.aff-top {
    display: grid;
    grid-template-columns: minmax(0, 1.86fr) minmax(280px, 1fr);
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}
.aff-top-tight { margin-bottom: 16px; }
.aff-share-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: visible;
    z-index: 2;
}
.aff-share-card::after { border-radius: inherit; }
.aff-share-title {
    margin: 0;
    font-family: var(--lv-font-heading);
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #f4f8ff;
}
.aff-share-accent {
    display: block;
    background: linear-gradient(92deg, #7dd3fc 0%, #38bdf8 48%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.aff-share-desc {
    margin: 12px 0 24px;
    max-width: 56ch;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(234, 242, 255, 0.7);
}
.aff-link-box {
    margin-top: auto;
    padding: 0;
}
.aff-link-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.5);
}
.aff-link-row { display: flex; gap: 8px; margin-top: 8px; }
.aff-link-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--lv-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf2ff;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
}
.aff-link-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}
.aff-link-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.aff-code-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--lv-radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #c7ddff;
}
.aff-code-chip-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.42);
}
.aff-share-card .lv-btn-icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(234, 242, 255, 0.82);
}
.aff-share-card .lv-btn-icon:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* Progress + payout meta */
.aff-progress {
    height: 6px;
    margin-top: 14px;
    border-radius: var(--lv-radius-pill);
    background: color-mix(in srgb, var(--lv-text-tertiary) 22%, var(--lv-bg-surface-2));
    overflow: hidden;
}
.aff-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lv-accent-500), #818cf8);
    transition: width 0.4s ease;
}
.aff-progress-hint { margin: 8px 0 0; font-size: 11.5px; color: var(--lv-text-tertiary); }
.aff-payout-dest {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    font-size: 11.5px;
    color: var(--lv-text-tertiary);
}
.aff-payout-dest .lv-icon { width: 13px; height: 13px; font-size: 13px; color: var(--lv-accent-500); }
.aff-payout-dest a { color: var(--lv-accent-500); text-decoration: none; }
.aff-payout-dest a:hover { text-decoration: underline; }

/* ApexCharts */
.aff-chart-card .lv-card-body { padding: 14px 14px 6px; }
.aff-apex { width: 100%; min-height: 240px; }

.payout-method { display: block; cursor: pointer; }
.payout-method input { position: absolute; opacity: 0; width: 0; height: 0; }
.payout-method .pm-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    background: var(--lv-bg-surface-1);
    padding: 12px 16px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.payout-method input:checked ~ .pm-inner {
    border-color: var(--lv-accent-500);
    background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent);
}
.payout-method .pm-check { color: var(--lv-accent-500); font-size: 15px; opacity: 0; transition: opacity 0.15s ease; }
.payout-method input:checked ~ .pm-inner .pm-check { opacity: 1; }
.aff-caption { margin: 0; font-size: 12px; color: var(--lv-text-tertiary); }
.aff-title-sm { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.aff-share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.aff-brand-icon { display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; }
.aff-brand-icon svg { display: block; width: 100%; height: 100%; stroke: none; }
.aff-menu-anchor { position: relative; }
.aff-asset-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    width: 176px;
    overflow: hidden;
    border-radius: var(--lv-radius-sm);
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    box-shadow: var(--lv-shadow-lg);
}
.aff-menu-head { border-bottom: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); padding: 8px 12px; }
.aff-menu-title { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.aff-menu-body { padding: 8px; }
.aff-menu-item {
    height: 36px;
    width: 100%;
    padding: 0 12px;
    border-radius: var(--lv-radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--lv-text-secondary);
    transition: background 0.15s ease, color 0.15s ease;
}
.aff-menu-item:hover { background: var(--lv-bg-surface-2); color: var(--lv-text-primary); }
.lv-btn.lv-btn-primary.aff-btn-disabled { opacity: 0.4; pointer-events: none; }
.aff-search { min-width: 320px; }
@media (max-width: 720px) { .aff-search { min-width: 0; width: 100%; } }
.aff-user-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aff-user-name { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.aff-user-mail { font-size: 11.5px; color: var(--lv-text-tertiary); }
.aff-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.lv-table.aff-table-referrals { min-width: 760px; }
.lv-table.aff-table-payouts { min-width: 560px; }
.lv-table td.aff-td { font-size: 13px; color: var(--lv-text-secondary); }
.lv-table td.aff-td-muted { font-size: 13px; color: var(--lv-text-tertiary); }
.lv-table td.aff-td-strong { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.aff-error-box {
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid var(--lv-danger-500);
    border-radius: var(--lv-radius-sm);
    background: rgba(220, 38, 38, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: var(--lv-danger-500);
}
.lv-input.aff-input-plain { background: var(--lv-bg-surface-1); }
.aff-error-text { margin: 6px 0 0; min-height: 16px; font-size: 12px; font-weight: 600; color: var(--lv-danger-500); }
.aff-method-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-2);
}
.aff-method-icon .lv-icon { color: var(--lv-text-tertiary); }
.aff-note-box { border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-1); padding: 12px 16px; }
.aff-note-desc { margin: 4px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }

/* Level card — blue deck surface, same treatment as the dashboard deck */
.aff-level-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid #1d3560;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, transparent 55%),
        linear-gradient(145deg, #060b1c 0%, #091534 55%, #0e2050 100%);
    color: #eaf2ff;
}
.aff-level-panel > * { position: relative; z-index: 1; }

/* Partner level panel (dashboard right column) */
.aff-level-panel {
    display: flex;
    flex-direction: column;
    padding: 22px;
}
.aff-level-panel-head { display: flex; align-items: center; gap: 12px; }
.aff-level-panel-head > div:last-child { min-width: 0; }
.aff-level-panel .aff-level-card-desc { margin-top: 2px; }
.aff-level-panel .aff-level-card-bar { margin: 18px 0 16px; }
.aff-level-panel-perks { margin: 0 0 20px; }
.aff-level-panel .lv-btn { margin-top: auto; justify-content: center; }
.aff-level-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--lv-radius-sm);
    background: rgba(59, 130, 246, 0.18);
    color: var(--lv-accent-400);
}
.aff-level-card-icon .lv-icon { width: 22px; height: 22px; font-size: 22px; }
.aff-level-card-label {
    margin: 0;
    font-family: var(--lv-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #f3f7fd;
}
.aff-level-card-desc { margin: 3px 0 0; font-size: 12.5px; color: rgba(232, 240, 252, 0.64); }
.aff-level-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(232, 240, 252, 0.55);
}
.aff-level-panel .aff-progress { background: rgba(255, 255, 255, 0.1); }
.aff-level-panel .lv-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f2f6fc;
}
.aff-level-panel .lv-btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* ── Tier ascent (rewards page) ──────────────────────────── */
.aff-tiers { margin-bottom: 16px; }
.aff-tiers-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.aff-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 22px;
    isolation: isolate;
}
.aff-tier + .aff-tier { border-left: 1px solid var(--lv-border-muted); }
.aff-tier.is-current { background: var(--lv-bg-surface-2); }
.aff-tier-index {
    position: absolute;
    top: 17px;
    right: 20px;
    font-family: var(--lv-font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--lv-accent-500);
    opacity: 0.14;
    pointer-events: none;
}
.aff-tier.is-current .aff-tier-index { opacity: 0.26; }
.aff-tier-head { position: relative; display: block; padding-right: 56px; }
.aff-tier-name {
    margin: 0;
    font-family: var(--lv-font-heading);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lv-text-primary);
}
.aff-tier-state {
    display: block;
    margin-top: 5px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--lv-accent-500);
}
.aff-tier-req { margin: 7px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.aff-tier-meter {
    height: 5px;
    margin: 18px 0 8px;
    border-radius: var(--lv-radius-pill);
    background: color-mix(in srgb, var(--lv-text-tertiary) 16%, var(--lv-bg-surface-2));
    overflow: hidden;
}
.aff-tier-meter > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lv-accent-500), #818cf8);
    transition: width 0.5s ease;
}
.aff-tier-meter.is-base {
    background: repeating-linear-gradient(90deg, var(--lv-border-muted) 0 6px, transparent 6px 12px);
}
.aff-tier-meter.is-base > span { display: none; }
.aff-tier-caption { margin: 0 0 18px; font-size: 11px; font-weight: 600; color: var(--lv-text-tertiary); }
.aff-tier-dot { margin: 0 6px; opacity: 0.55; }
.aff-tier-perks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.aff-tier-perks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--lv-text-secondary);
}
.aff-tier-perks .lv-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--lv-accent-500);
}
.aff-tiers-note { margin: 0 0 16px; max-width: 86ch; font-size: 12px; line-height: 1.6; color: var(--lv-text-tertiary); }
/* Perks list — dashboard partner panel */
.aff-level-perks { display: grid; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; }
.aff-level-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(232, 240, 252, 0.78);
}
.aff-level-perks .lv-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--lv-accent-400);
}
.aff-history { margin-top: 32px; }

/* Skeleton bars on the dark affiliate surfaces stay visible in both themes. */
body[data-theme] .aff-share-card .dnsm-skel-white,
body[data-theme] .aff-level-panel .dnsm-skel-white,
body[data-theme] .aff-code-panel .dnsm-skel-white {
    background: linear-gradient(90deg, rgba(234, 242, 255, 0.12) 25%, rgba(234, 242, 255, 0.24) 50%, rgba(234, 242, 255, 0.12) 75%);
    background-size: 200% 100%;
}

/* ── Dashboard affiliate widgets ────────────────────────────── */
.dash-aff-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 12px;
    align-items: stretch;
}

/* Monthly goal — blue-tinted mission card */
.dash-aff-goal {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    padding: 18px;
    background:
        radial-gradient(120% 120% at 100% -20%, rgba(59, 130, 246, 0.14) 0%, transparent 58%),
        var(--lv-bg-surface-1);
}
.dash-aff-goal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-aff-goal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lv-accent-500);
}
.dash-aff-goal-kicker .lv-icon { width: 13px; height: 13px; font-size: 13px; }
.dash-aff-goal-worth {
    flex-shrink: 0;
    padding: 4px 9px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-pill);
    background: var(--lv-bg-surface-2);
    font-size: 11px;
    font-weight: 700;
    color: var(--lv-text-secondary);
}
.dash-aff-goal-title {
    margin: 0;
    font-family: var(--lv-font-heading);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lv-text-primary);
}
.dash-aff-goal-sub { margin: 0; max-width: 46ch; font-size: 12px; line-height: 1.5; color: var(--lv-text-secondary); }
.dash-aff-goal-meter { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.dash-aff-goal-track {
    position: relative;
    height: 10px;
    border-radius: var(--lv-radius-pill);
    background: color-mix(in srgb, var(--lv-text-tertiary) 16%, var(--lv-bg-surface-2));
    overflow: hidden;
}
.dash-aff-goal-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lv-accent-500), #818cf8);
}
.dash-aff-goal-count {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 11.5px;
    color: var(--lv-text-tertiary);
}
.dash-aff-goal-count strong { font-size: 13px; font-weight: 800; color: var(--lv-text-primary); }
.dash-aff-goal-count > span:last-child { font-weight: 800; color: var(--lv-text-secondary); }
.dash-aff-goal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -18px;
    padding: 10px 18px 0;
    border-top: 1px solid var(--lv-border-muted);
}
.dash-aff-goal-fact { font-size: 11.5px; color: var(--lv-text-tertiary); }
.dash-aff-goal-fact strong { color: var(--lv-text-primary); }

/* Partner level — three-stop rank track */
.dash-aff-level {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
}
.dash-aff-level-head { display: flex; flex-direction: column; }
.dash-aff-level-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.dash-aff-level-name {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 5px 0 0;
    font-family: var(--lv-font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lv-text-primary);
}
.dash-aff-level-name .lv-icon { width: 18px; height: 18px; font-size: 18px; color: var(--lv-accent-500); }
.dash-aff-level-name span { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--lv-text-tertiary); }
.dash-aff-level-rail {
    position: relative;
    height: 8px;
    margin-top: auto;
    border-radius: var(--lv-radius-pill);
    background: color-mix(in srgb, var(--lv-text-tertiary) 16%, var(--lv-bg-surface-2));
}
.dash-aff-level-rail > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lv-accent-500), #818cf8);
}
.dash-aff-level-dot {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid var(--lv-accent-500);
    background: var(--lv-bg-surface-1);
    transform: translate(-50%, -50%);
}
.dash-aff-level-stops {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--lv-text-tertiary);
}
.dash-aff-level-stops .is-on { color: var(--lv-accent-500); }
.dash-aff-level-hint { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--lv-text-secondary); }
.dash-aff-level-hint strong { color: var(--lv-text-primary); }
.dash-aff-level-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 -18px;
    padding: 9px 18px 0;
    border-top: 1px solid var(--lv-border-muted);
    font-size: 11px;
    color: var(--lv-text-tertiary);
}
.dash-aff-level-foot a { font-weight: 600; color: var(--lv-accent-500); }

@media (max-width: 860px) {
    .dash-aff-grid { grid-template-columns: minmax(0, 1fr); }
    .dash-aff-goal-foot { flex-wrap: wrap; }
}

/* ── Reward celebration screens (level up / reward claimed) ── */
.aff-celebrate-overlay { z-index: 120; }
.aff-celebrate-modal { max-width: 460px; }
.aff-celebrate-modal.lv-modal-wide { max-width: 520px; }
.aff-celebrate-overlay.show .aff-celebrate-modal { animation: aff-celebrate-pop 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.aff-celebrate-body { position: relative; overflow: hidden; padding-top: 26px; text-align: center; }
.aff-celebrate-kicker {
    margin: 0 0 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.aff-celebrate-prize {
    margin: 0;
    font-family: var(--lv-font-heading);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(92deg, var(--lv-accent-500) 0%, #7c3aed 52%, #0ea5e9 100%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aff-celebrate-shine 4s ease-in-out infinite;
}
.aff-celebrate-copy {
    margin: 10px auto 0;
    max-width: 42ch;
    font-size: 13px;
    line-height: 1.6;
    color: var(--lv-text-secondary);
}
.aff-celebrate-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-2);
    text-align: left;
}
.aff-celebrate-facts dt {
    margin: 0;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.aff-celebrate-facts dd { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.aff-celebrate-perks { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.aff-celebrate-perks li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.5; color: var(--lv-text-secondary); }
.aff-celebrate-perks .lv-icon { width: 14px; height: 14px; font-size: 14px; margin-top: 2px; flex-shrink: 0; color: var(--lv-success-500); }

.aff-celebrate-burst { position: absolute; inset: 0; pointer-events: none; }
.aff-celebrate-burst span {
    position: absolute;
    top: -12px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    opacity: 0;
    background: var(--lv-accent-500);
    animation: aff-celebrate-fall 2.6s ease-in forwards;
}
.aff-celebrate-burst span:nth-child(2n) { background: #f59e0b; }
.aff-celebrate-burst span:nth-child(3n) { background: #10b981; }
.aff-celebrate-burst span:nth-child(4n) { background: #8b5cf6; }
.aff-celebrate-burst span:nth-child(1) { left: 6%; animation-delay: 0.05s; }
.aff-celebrate-burst span:nth-child(2) { left: 15%; animation-delay: 0.32s; }
.aff-celebrate-burst span:nth-child(3) { left: 24%; animation-delay: 0.14s; }
.aff-celebrate-burst span:nth-child(4) { left: 33%; animation-delay: 0.48s; }
.aff-celebrate-burst span:nth-child(5) { left: 42%; animation-delay: 0.22s; }
.aff-celebrate-burst span:nth-child(6) { left: 51%; animation-delay: 0.4s; }
.aff-celebrate-burst span:nth-child(7) { left: 60%; animation-delay: 0.1s; }
.aff-celebrate-burst span:nth-child(8) { left: 68%; animation-delay: 0.36s; }
.aff-celebrate-burst span:nth-child(9) { left: 76%; animation-delay: 0.18s; }
.aff-celebrate-burst span:nth-child(10) { left: 84%; animation-delay: 0.44s; }
.aff-celebrate-burst span:nth-child(11) { left: 91%; animation-delay: 0.28s; }
.aff-celebrate-burst span:nth-child(12) { left: 97%; animation-delay: 0.52s; }

@keyframes aff-celebrate-pop {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
@keyframes aff-celebrate-fall {
    0%   { opacity: 0; transform: translateY(-10px) rotate(0deg); }
    15%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(300px) rotate(320deg); }
}
@keyframes aff-celebrate-shine {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Free reward-domain notice on the register page */
.dps-reward-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--lv-accent-500) 34%, var(--lv-border-muted));
    border-radius: var(--lv-radius-md);
    background: color-mix(in srgb, var(--lv-accent-500) 7%, var(--lv-bg-surface-1));
}
.dps-reward-note > .lv-icon { width: 18px; height: 18px; font-size: 18px; margin-top: 1px; flex-shrink: 0; color: var(--lv-accent-500); }
.dps-reward-note-title { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--lv-text-primary); }
.dps-reward-note-sub { margin: 3px 0 0; font-size: 12px; line-height: 1.55; color: var(--lv-text-secondary); }

@media (prefers-reduced-motion: reduce) {
    .aff-celebrate-overlay.show .aff-celebrate-modal,
    .aff-celebrate-prize,
    .aff-celebrate-burst span { animation: none; }
    .aff-celebrate-burst { display: none; }
    .aff-celebrate-prize {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: var(--lv-text-primary);
    }
}

/* Shared progress heads */
.aff-lock-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--lv-text-tertiary);
}

/* Locked coupons — dialog */
.aff-lock-modal { max-width: 480px; }
/* Keep the app chrome reachable while the coupons page is locked. */
.lv-modal-overlay.aff-lock-overlay { top: 68px; z-index: 50; }
@media (min-width: 1024px) {
    .lv-modal-overlay.aff-lock-overlay { left: 268px; }
}
.aff-lock-modal .lv-modal-body { padding-top: 20px; }
.aff-lock-modal .lv-modal-foot { justify-content: space-between; }
.aff-lock-text { margin: 0; font-size: 13px; line-height: 1.65; color: var(--lv-text-secondary); }
.aff-lock-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
}
.aff-lock-path .lv-icon { width: 13px; height: 13px; font-size: 13px; color: var(--lv-text-tertiary); }
.aff-lock-step {
    padding: 5px 11px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--lv-text-secondary);
}
.aff-lock-step.is-done { background: color-mix(in srgb, var(--lv-success-500) 10%, transparent); color: var(--lv-success-500); }
.aff-lock-step.is-target { background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); color: var(--lv-accent-500); }
.aff-lock-progress { margin: 18px 0 0; }
.aff-lock-perks { display: grid; gap: 9px; margin: 18px 0 22px; padding: 0; list-style: none; }
.aff-lock-perks li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.5; color: var(--lv-text-secondary); }
.aff-lock-perks .lv-icon { width: 14px; height: 14px; font-size: 14px; margin-top: 2px; flex-shrink: 0; color: var(--lv-success-500); }

/* Ads revenue */
.aff-snippet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    background: var(--lv-bg-surface-2);
}
.aff-snippet-text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--lv-text-secondary);
    white-space: pre-wrap;
    word-break: break-all;
}

/* Payout summary bar (withdrawals) */
.aff-payout-bar {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(260px, 1.4fr) auto;
    align-items: center;
    gap: 28px;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.aff-payout-bar-label {
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.aff-payout-bar-value {
    margin: 4px 0 0;
    font-family: var(--lv-font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lv-text-primary);
}
.aff-payout-bar-value span { margin-right: 3px; font-size: 18px; color: var(--lv-text-tertiary); }
.aff-payout-bar .aff-payout-dest { margin-top: 8px; }
.aff-payout-bar-mid .aff-progress { margin-top: 0; }
.aff-payout-bar-mid .aff-progress-hint { margin-top: 6px; }
.aff-payout-bar-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--lv-text-tertiary);
}
.aff-payout-bar-side { display: flex; flex-direction: column; gap: 12px; min-width: 190px; }
.aff-payout-bar-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aff-payout-bar-split span {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.aff-payout-bar-split strong { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.aff-payout-bar-side .lv-btn { justify-content: center; }

/* Ads revenue page */
.content-wrap > .aff-chart-card { margin-bottom: 16px; }
.aff-traffic-card .lv-card-body { padding: 6px 4px 0; }
.aff-traffic-card .aff-apex-tall { min-height: 340px; }
.aff-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 20px 0;
}
.aff-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--lv-text-secondary);
    cursor: pointer;
    transition: color 0.15s ease, opacity 0.15s ease;
}
.aff-chart-legend-item:hover { color: var(--lv-text-primary); }
.aff-chart-legend-item.is-off { opacity: 0.38; }
.aff-chart-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Embed code panel (ads page) */
.aff-code-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid #1d2536;
    border-radius: var(--lv-radius-md);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 58%),
        linear-gradient(158deg, #0c111c 0%, #0a0f19 100%);
    color: #eaf2ff;
    overflow: hidden;
}
.aff-code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aff-code-head-copy { min-width: 0; }
.aff-code-head .lv-btn { flex-shrink: 0; }
.aff-code-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.45);
}
.aff-code-note { margin: 4px 0 0; font-size: 11.5px; line-height: 1.4; color: rgba(234, 242, 255, 0.46); }
.aff-code-body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.aff-code-line { display: flex; align-items: flex-start; gap: 14px; }
.aff-code-n {
    flex-shrink: 0;
    width: 14px;
    padding-top: 1px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
    color: rgba(234, 242, 255, 0.26);
    user-select: none;
}
.aff-code-txt {
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: #cfe0ff;
    white-space: pre-wrap;
    word-break: break-all;
}
.aff-code-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.42);
}
.aff-code-foot span { display: inline-flex; align-items: center; gap: 8px; }
.aff-code-foot span + span::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(234, 242, 255, 0.28);
}

.lv-table.aff-table-ads { min-width: 480px; }

/* Monthly goal — prize showcase */
.aff-prize {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    margin-top: 32px;
    padding: 26px 28px;
}
.aff-prize-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}
.aff-prize-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.aff-prize-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lv-accent-500);
}
.aff-prize-kicker .lv-icon { width: 13px; height: 13px; font-size: 13px; color: var(--lv-accent-500); }
.aff-prize-title {
    margin: 8px 0 0;
    font-family: var(--lv-font-heading);
    font-size: 27px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lv-text-primary);
}
.aff-prize-sub { margin: 8px 0 0; max-width: 54ch; font-size: 13px; line-height: 1.55; color: var(--lv-text-secondary); }
.aff-prize-worth {
    flex-shrink: 0;
    padding-left: 24px;
    border-left: 1px solid var(--lv-border-muted);
    text-align: right;
}
.aff-prize-worth-label {
    margin: 0;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lv-text-tertiary);
}
.aff-prize-worth-value {
    margin: 6px 0 0;
    font-family: var(--lv-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--lv-text-primary);
}
.aff-prize-progress { position: relative; }
.aff-prize-progress-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--lv-text-tertiary);
}
.aff-prize-progress-meta strong { font-size: 14px; font-weight: 800; color: var(--lv-text-primary); }
.aff-prize-progress-pct { font-weight: 800; color: var(--lv-accent-500); }
.aff-prize-bar {
    position: relative;
    height: 10px;
    border-radius: var(--lv-radius-pill);
    background: color-mix(in srgb, var(--lv-text-tertiary) 16%, var(--lv-bg-surface-2));
    overflow: hidden;
}
.aff-prize-bar-fill {
    position: relative;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lv-accent-500), #818cf8);
    transform-origin: left center;
    animation: aff-prize-grow 0.9s cubic-bezier(0.22, 0.8, 0.28, 1) both;
    transition: filter 0.18s ease;
}
.aff-prize-bar-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv-accent-500) 30%, transparent);
    transform: translateY(-50%);
    transition: transform 0.18s ease;
}
.aff-prize-bar:hover .aff-prize-bar-fill { filter: brightness(1.08); }
.aff-prize-bar:hover .aff-prize-bar-fill::after { transform: translateY(-50%) scale(1.25); }
.aff-prize-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 -28px;
    padding: 18px 28px 0;
    border-top: 1px solid var(--lv-border-muted);
}
.aff-prize-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    color: var(--lv-text-tertiary);
}
.aff-prize-facts strong { font-weight: 700; color: var(--lv-text-primary); }
.aff-prize-sep { width: 1px; height: 12px; background: var(--lv-border-muted); }
.aff-prize-foot > .lv-btn,
.aff-prize-action .lv-btn { flex-shrink: 0; }
.aff-prize-locked { opacity: 0.72; }

@keyframes aff-prize-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .aff-prize-bar-fill { animation: none; }
}

@media (max-width: 900px) {
    .aff-prize { padding: 22px 20px; gap: 18px; }
    .aff-prize-top { flex-direction: column; gap: 14px; }
    .aff-prize-worth {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 0;
        border-left: 0;
        text-align: left;
    }
    .aff-prize-worth-value { margin: 0; font-size: 22px; }
    .aff-prize-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .aff-prize-foot > .lv-btn,
    .aff-prize-action .lv-btn { width: 100%; justify-content: center; }
}
/* Coupons */
.aff-coupon-code { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--lv-text-primary); }
.aff-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.aff-scope-inner { padding: 10px 12px; }
.lv-table.aff-table-coupons { min-width: 780px; }
.lv-table.aff-table-rewards { min-width: 820px; }

/* Inline flash */
.aff-flash { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--lv-radius-sm); font-size: 13px; font-weight: 600; }
.aff-flash-error { border: 1px solid var(--lv-danger-500); background: rgba(220, 38, 38, 0.1); color: var(--lv-danger-500); }

@media (max-width: 1023px) {
    .aff-top { grid-template-columns: minmax(0, 1fr); }
    .aff-share-title { font-size: 26px; }
}
@media (max-width: 900px) {
    .aff-tiers-body { grid-template-columns: minmax(0, 1fr); }
    .aff-tier { padding: 20px 18px 18px; }
    .aff-tier + .aff-tier { border-left: 0; border-top: 1px solid var(--lv-border-muted); }
    .aff-payout-bar { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .aff-payout-bar-side { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .aff-share-card { padding: 20px; }
    .aff-share-title { font-size: 22px; }
    .aff-link-row { flex-direction: column; }
    .aff-link-row .lv-btn { width: 100%; justify-content: center; }
    .aff-chart-card .lv-card-body { padding: 10px 6px 2px; }
    .aff-snippet { flex-direction: column; }
    .aff-snippet .lv-btn { width: 100%; justify-content: center; }
    .aff-code-head { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
    .aff-code-body { padding: 16px; }
    .aff-code-foot { padding: 12px 16px; }
}

/* ══ checkout.php — JS-string classes ══ */
.chk-icon-11 { font-size: 11px; }
.chk-icon-14 { font-size: 14px; }
.chk-avatar-40 { width: 40px; height: 40px; border-radius: 9999px; background: var(--lv-accent-500); font-size: 14px; font-weight: 700; color: #fff; }
.chk-connected-name { margin: 0; font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.chk-connected-email { margin: 2px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.chk-cart-empty { padding: 32px 0; font-size: 14px; color: var(--lv-text-tertiary); }
.chk-cart-empty-icon { font-size: 24px; margin-bottom: 8px; opacity: 0.5; }
.chk-cart-row { gap: 12px; padding: 10px 20px; }
.chk-cart-item-icon { width: 32px; height: 32px; border-radius: 6px; background: #1d4ed8; color: #fff; }
.chk-cart-item-name { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.chk-cart-item-cycle { margin: 4px 0 0; font-size: 11px; color: var(--lv-text-tertiary); }
.chk-gap-2px { gap: 2px; }
.chk-price-strike { font-size: 11px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.chk-price-sale { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); white-space: nowrap; }
.chk-badge-xs { font-size: 10px; padding: 2px 8px; }
.chk-badge-blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.chk-badge-violet { background: rgba(139,92,246,0.1); color: #7c3aed; }
.chk-badge-cyan { background: rgba(6,182,212,0.1); color: #0891b2; }
.chk-badge-amber { background: rgba(245,158,11,0.1); color: #d97706; }
.chk-badge-green { background: rgba(16,185,129,0.1); color: #059669; }
.chk-profile-name { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); padding-right: 20px; }
.chk-profile-address { margin: 0; font-size: 12px; color: var(--lv-text-tertiary); line-height: 1.375; }
.chk-check-icon { font-size: 11px; stroke-width: 3; }
.chk-coupon-card { gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 14px; }
.chk-min-w-0 { min-width: 0; }
.chk-coupon-code { margin: 0; font-size: 13px; font-weight: 700; color: var(--lv-success-500); text-transform: uppercase; }
.chk-coupon-condition { margin: 4px 0 0; font-size: 11px; color: var(--lv-text-secondary); }
.chk-coupon-applied { font-size: 13px; font-weight: 600; color: var(--lv-accent-500); }
.chk-text-uppercase { text-transform: uppercase; }
.chk-btn-icon-20 { width: 20px; height: 20px; }
.chk-coupon-btn { margin: 0; padding: 0; background: transparent; border: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--lv-accent-500); }

/* ══ manage-email.php ══ */
#activation-content { margin-top: 24px; transition: opacity 0.15s ease-in-out; }
.step-dot { display: block; height: 8px; width: 32px; border-radius: 9999px; background: var(--lv-bg-surface-3); }
.step-dot.active { background: var(--lv-accent-500); }
.step-label { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--lv-accent-500); }
.step-title { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.step-hint { margin: 0 0 16px; font-size: 14px; color: var(--lv-text-tertiary); }
.terms-check { cursor: pointer; }
.terms-check:has(:checked) { border-color: var(--lv-accent-500); }
.mea-step-card { max-width: 560px; margin: 0 auto; }
.mea-steps-row { margin-bottom: 24px; }
.mea-input-step { height: 43px; }
.mea-step-title-lg { margin-bottom: 16px; }
.mea-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.mea-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.mea-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.mea-link-accent { color: var(--lv-accent-500); }
.mea-flash-success { margin-bottom: 16px; border: 1px solid var(--lv-success-500); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; font-size: 13px; color: var(--lv-text-primary); }
.mea-flash-icon { font-size: 16px; color: var(--lv-success-500); flex-shrink: 0; }
.mea-activation-card { width: 100%; max-width: 560px; text-align: center; }
.mea-activation-body { padding: 20px; }
.mea-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.mea-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.mea-text-primary { color: var(--lv-text-primary); }
.mea-activation-note { margin: 6px 0 0; }
.mea-activation-cta { margin-top: 24px; }
.mea-page-head { flex-wrap: wrap; margin-bottom: 20px; }
.mea-kpi-grid { gap: 12px; }
.mea-kpi-card { padding: 16px; }
.mea-kpi-head { margin-bottom: 8px; }
.mea-kpi-label { margin: 0; font-size: 12px; font-weight: 600; color: var(--lv-text-secondary); }
.mea-kpi-icon { width: 28px; height: 28px; font-size: 14px; }
.mea-kpi-value { font-size: 22px; line-height: 1.3; }
.mea-kpi-value-break { word-break: break-all; }
.mea-kpi-meta { margin: 4px 0 0; font-size: 12px; color: var(--lv-text-tertiary); }
.mea-section-gap { margin-top: 24px; }
.mea-table-flush { border: 0; border-radius: 0; }
.mea-col-w-80 { width: 80px; }
.mea-col-w-120 { width: 120px; }
.mea-col-w-140 { width: 140px; }
.mea-col-w-160 { width: 160px; }
.mea-col-actions { width: 100px; text-align: right; }
.mea-badge-tight { font-size: 10px; letter-spacing: 0.08em; }
.mea-badge-neutral { background: var(--lv-text-tertiary); }
.mea-cell-mono-strong { font-family: var(--lv-font-mono); font-size: 13px; color: var(--lv-text-primary); font-weight: 600; }
.mea-cell-mono-value { font-family: var(--lv-font-mono); font-size: 13px; color: var(--lv-text-secondary); word-break: break-all; }
.mea-table-empty { text-align: center; padding: 40px 16px; color: var(--lv-text-tertiary); }
.mea-table-empty-icon { display: block; margin: 0 auto 10px; opacity: 0.4; font-size: 28px; }
.mea-input-modal { height: 42px; background: var(--lv-bg-surface-1); }
.mea-input-domain { padding-right: 120px; }
.mea-input-suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--lv-text-tertiary); white-space: nowrap; pointer-events: none; z-index: 2; }
.mea-card-560 { width: 100%; max-width: 560px; }
.mea-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.mea-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.mea-min-w-0 { min-width: 0; }
.mea-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.mea-skel-sub { height: 12px; width: 224px; }
.mea-skel-steps { margin-bottom: 24px; }
.mea-skel-dot { height: 8px; width: 32px; }
.mea-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.mea-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.mea-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.mea-skel-input { height: 43px; width: 100%; }
.mea-skel-btn { height: 40px; width: 80px; }
.mea-skel-btn-lg { height: 40px; width: 112px; }
.mea-preview-value { font-weight: 500; color: var(--lv-text-primary); }
.mea-delete-progress { font-size: 11px; }

/* ══ email-api.php ══ */
.eapi-min-w-0 { min-width: 0; }
.plan-option { display: flex; align-items: center; gap: 10px; cursor: pointer; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-1); padding: 12px 16px; transition: border-color 0.15s ease, background 0.15s ease; }
.plan-option:has(input:checked) { border-color: var(--lv-accent-500); background: color-mix(in srgb, var(--lv-accent-500) 8%, transparent); }
.eapi-plan-name { display: block; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.eapi-plan-desc { display: block; margin-top: 2px; font-size: 12px; color: var(--lv-text-tertiary); }
.eapi-plan-price { font-size: 13px; font-weight: 600; color: var(--lv-text-secondary); }
.eapi-record-row { gap: 12px; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-1); padding: 10px 16px; }
.eapi-record-label { margin: 0; font-size: 12px; font-weight: 600; color: var(--lv-text-secondary); }
.eapi-record-value { margin: 2px 0 0; font-size: 12px; color: var(--lv-text-primary); word-break: break-all; }
.eapi-key-input { font-family: var(--lv-font-mono); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   Wave 2b conversions — transfer/manage-domain, manage-ssl/storage,
   manage-vps/hosting, success, create-ticket.
   ═══════════════════════════════════════════════════════════════ */

/* ── Skeleton shimmer (wizard loaders + table skeleton, emailsend-exact) ── */
.skel { background: linear-gradient(90deg, var(--lv-bg-surface-3) 25%, var(--lv-bg-surface-2) 50%, var(--lv-bg-surface-3) 75%); background-size: 200% 100%; animation: skel-shimmer 1.5s ease-in-out infinite; border-radius: 6px; }
body[data-theme='light'] .skel { background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%); background-size: 200% 100%; }
@keyframes skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Choice cards + stock badges (wizard steps, shared) ─────── */
.choice-card { cursor: pointer; border-width: 2px; border-style: solid; border-color: var(--lv-border-muted); }
.choice-card:hover { border-color: var(--lv-border-strong); }
.choice-card:has(:checked) { border-color: var(--lv-accent-500) !important; background-color: var(--lv-accent-500) !important; }
.choice-card:has(:checked) .choice-card-title,
.choice-card:has(:checked) .choice-card-sub { color: #fff !important; }
.choice-card:has(:checked) .fi { box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
.choice-card:has(:checked) .stock-dot { background-color: #fff !important; }
.choice-card:has(:checked) .stock-badge { background-color: rgba(255,255,255,0.2) !important; color: #fff !important; border-color: rgba(255,255,255,0.3) !important; }
.choice-card-title { font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.choice-card-sub { font-size: 13px; color: var(--lv-text-tertiary); }
.stock-dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; background: var(--lv-success-500); flex-shrink: 0; }
.stock-dot.out { background: var(--lv-danger-500); }
.stock-badge { flex-shrink: 0; border-radius: 6px; padding: 2px 10px; font-size: 11px; font-weight: 600; border: 1px solid; }
.stock-badge.in { background: rgba(35,179,107,0.15); color: var(--lv-success-500); border-color: rgba(35,179,107,0.3); }
.stock-badge.out { background: rgba(220,38,38,0.15); color: var(--lv-danger-500); border-color: rgba(220,38,38,0.3); }

/* ══ transfer-domain.php ══ */
.td-flex-wrap        { flex-wrap: wrap; }
.td-min-220          { min-width: 220px; }
.td-label-mb         { margin-bottom: 6px; }
.td-error-text       { font-size: 12px; font-weight: 600; }
.td-card-pad         { padding: 20px; }
.td-gap-10           { gap: 10px; }
.td-box-36           { width: 36px; height: 36px; border-radius: 6px; }
.td-skel-line        { width: 176px; height: 16px; }
.td-skel-sub         { width: 256px; height: 12px; }
.td-bg-success-soft  { background: rgba(35, 179, 107, 0.12); }
.td-bg-danger-soft   { background: rgba(220, 38, 38, 0.12); }
.td-avail-border     { border-color: rgba(35, 179, 107, 0.3); }
.td-unavail-border   { border-color: rgba(220, 38, 38, 0.3); }
.td-card-mt          { margin-top: 12px; }
.td-result-title     { margin: 0; font-size: 15px; font-weight: 600; color: var(--lv-text-primary); }
.td-result-sub       { margin: 2px 0 0; font-size: 12px; }
.td-card-divider     { margin: 16px -20px; border: none; border-top: 1px solid var(--lv-border-muted); }
.td-mt-16            { margin-top: 16px; }
.td-price-title      { margin: 0; font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.td-discount-badge   { display: inline-flex; align-items: center; border-radius: 6px; background: rgba(35, 179, 107, 0.15); padding: 2px 8px; font-size: 10px; font-weight: 700; line-height: 1; margin-left: 8px; vertical-align: middle; }
.td-result-price-line{ margin: 2px 0 0; font-size: 14px; }
.td-price-strong     { font-weight: 700; color: var(--lv-text-primary); }
.td-bonus-line       { margin: 6px 0 0; font-size: 11px; }
.td-tile-muted       { border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); }
.td-icon-15          { font-size: 15px; }
.td-feature-title    { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--lv-text-primary); }
.td-feature-desc     { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
.td-features-grid    { gap: 24px; }

/* ══ manage-domain.php ══ */
.md-card-center      { max-width: 560px; margin: 0 auto; }
.md-card-full        { width: 100%; max-width: 560px; text-align: center; }
.md-card-title-lg    { font-size: 20px; font-weight: 700; }
.md-mb-24            { margin-bottom: 24px; }
.md-required         { color: var(--lv-danger-500); }
.md-confirm-preview  { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.md-terms-box        { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.md-terms-text       { font-size: 13px; line-height: 1.6; }
.md-link-accent      { color: var(--lv-accent-500); }
.md-flash            { margin-bottom: 16px; border: 1px solid var(--lv-success-500); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; color: var(--lv-text-primary); }
.md-icon-16          { font-size: 16px; }
.md-hero-icon        { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.md-hero-desc        { margin: 10px auto 0; max-width: 400px; line-height: 1.6; }
.md-text-primary     { color: var(--lv-text-primary); }
.md-mt-6             { margin-top: 6px; }
.md-mt-24            { margin-top: 24px; }
.md-card-body-lg     { padding: 20px; }
.md-min-w-0 { min-width: 0; }
.md-preview-label { color: var(--lv-text-tertiary); }
.md-preview-value { font-weight: 500; color: var(--lv-text-primary); }
.md-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.md-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.md-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.md-skel-sub { height: 12px; width: 224px; }
.md-skel-steps { margin-bottom: 24px; }
.md-skel-dot { height: 8px; width: 32px; }
.md-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.md-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.md-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.md-skel-input { height: 36px; width: 100%; }
.md-skel-btn { height: 36px; width: 80px; }
.md-skel-btn-lg { height: 36px; width: 112px; }

/* ══ manage-ssl.php ══ */
.ssl-step-card { max-width: 560px; margin: 0 auto; }
.ssl-card-title-lg { font-size: 20px; font-weight: 700; }
.ssl-steps-row { margin-bottom: 24px; }
.ssl-kbd { border: 1px solid var(--lv-border-muted); border-radius: 4px; background: var(--lv-bg-surface-2); padding: 1px 6px; font-size: 11px; font-weight: 600; color: var(--lv-text-secondary); }
.ssl-step-title-lg { margin-bottom: 16px; }
.ssl-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.ssl-preview-label { color: var(--lv-text-tertiary); }
.ssl-preview-value { font-weight: 500; color: var(--lv-text-primary); }
.ssl-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.ssl-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.ssl-link-accent { color: var(--lv-accent-500); }
.ssl-activation-card { width: 100%; max-width: 560px; text-align: center; }
.ssl-activation-body { padding: 20px; }
.ssl-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.ssl-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.ssl-text-primary { color: var(--lv-text-primary); }
.ssl-activation-note { margin: 6px 0 0; }
.ssl-activation-cta { margin-top: 24px; }
.ssl-card-560 { width: 100%; max-width: 560px; }
.ssl-card-title-md { font-size: 18px; font-weight: 700; }
.ssl-status-active { color: var(--lv-accent-500); font-weight: 600; }
.ssl-detail-label { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lv-text-tertiary); }
.ssl-detail-value { margin: 4px 0 0; font-size: 14px; color: var(--lv-text-primary); }
.ssl-status-desc { margin: 10px 0 0; color: var(--lv-text-secondary); }
.ssl-status-uppercase { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ssl-cta-mt-20 { margin-top: 20px; }
.ssl-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.ssl-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.ssl-min-w-0 { min-width: 0; }
.ssl-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.ssl-skel-sub { height: 12px; width: 224px; }
.ssl-skel-steps { margin-bottom: 24px; }
.ssl-skel-dot { height: 8px; width: 32px; }
.ssl-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.ssl-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.ssl-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.ssl-skel-input { height: 36px; width: 100%; }
.ssl-skel-btn { height: 36px; width: 80px; }
.ssl-skel-btn-lg { height: 36px; width: 112px; }

/* ══ manage-storage.php ══ */
.sto-step-card { max-width: 560px; margin: 0 auto; }
.sto-card-title-lg { font-size: 20px; font-weight: 700; }
.sto-steps-row { margin-bottom: 24px; }
.sto-step-title-lg { margin-bottom: 16px; }
.sto-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.sto-preview-label { color: var(--lv-text-tertiary); }
.sto-preview-value { font-weight: 500; color: var(--lv-text-primary); }
.sto-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.sto-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.sto-link-accent { color: var(--lv-accent-500); }
.sto-activation-card { width: 100%; max-width: 560px; text-align: center; }
.sto-activation-body { padding: 20px; }
.sto-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.sto-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.sto-text-primary { color: var(--lv-text-primary); }
.sto-activation-note { margin: 6px 0 0; }
.sto-activation-cta { margin-top: 24px; }
.sto-active-note { margin: 0 0 16px; color: var(--lv-text-secondary); }
.sto-card-560 { width: 100%; max-width: 560px; }
.sto-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.sto-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.sto-min-w-0 { min-width: 0; }
.sto-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.sto-skel-sub { height: 12px; width: 224px; }
.sto-skel-steps { margin-bottom: 24px; }
.sto-skel-dot { height: 8px; width: 32px; }
.sto-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.sto-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.sto-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.sto-skel-input { height: 36px; width: 100%; }
.sto-skel-btn { height: 36px; width: 80px; }
.sto-skel-btn-lg { height: 36px; width: 112px; }

/* ══ manage-vps.php ══ */
.vps-step-card { width: 100%; max-width: 560px; margin: 0 auto; }
.vps-steps-row { margin-bottom: 24px; }
.vps-required { color: var(--lv-danger-500); }
.vps-choice-grid { gap: 10px; }
.vps-choice-card { gap: 12px; border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 14px; transition: all 0.15s ease; }
.vps-choice-card.out { opacity: 0.7; }
.vps-flag { font-size: 20px; border-radius: 6px; box-shadow: var(--lv-shadow-sm); }
.vps-choice-sub { display: block; }
.vps-os-icon { height: 32px; width: 32px; object-fit: contain; flex-shrink: 0; }
.vps-step-title-lg { margin-bottom: 16px; }
.vps-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.vps-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.vps-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.vps-link-accent { color: var(--lv-accent-500); }
.vps-activation-card { width: 100%; max-width: 560px; text-align: center; }
.vps-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.vps-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.vps-text-primary { color: var(--lv-text-primary); }
.vps-activation-note { margin: 6px 0 0; }
.vps-activation-cta { margin-top: 24px; }
.vps-active-note { margin: 0 0 16px; color: var(--lv-text-secondary); }
.vps-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.vps-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.vps-min-w-0 { min-width: 0; }
.vps-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.vps-skel-sub { height: 12px; width: 224px; }
.vps-skel-dot { height: 8px; width: 32px; }
.vps-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.vps-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.vps-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.vps-skel-input { height: 36px; width: 100%; }
.vps-skel-btn { height: 36px; width: 80px; }
.vps-skel-btn-lg { height: 36px; width: 112px; }
.vps-preview-label { color: var(--lv-text-tertiary); }
.vps-preview-value { font-weight: 500; color: var(--lv-text-primary); }

/* ══ manage-hosting.php ══ */
.hst-steps-row { margin-bottom: 24px; }
.hst-required { color: var(--lv-danger-500); }
.hst-choice-grid { gap: 10px; }
.hst-choice-card { gap: 12px; border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 14px; transition: all 0.15s ease; min-width: 0; }
.hst-choice-card.out { opacity: 0.7; }
/* Lets long city names shrink instead of pushing the card past its fixed width */
.hst-choice-text { min-width: 0; overflow: hidden; }
.hst-choice-text .choice-card-title,
.hst-choice-text .choice-card-sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hst-flag { font-size: 20px; border-radius: 6px; box-shadow: var(--lv-shadow-sm); }
.hst-choice-sub { display: block; }

/* Install-modal platform picker: six compact brand tiles on one row. */
.hst-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 12px 6px;
    text-align: center;
}
.hst-pick .hst-cms-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    box-shadow: none;
}
.hst-pick .hst-cms-icon .lv-icon { font-size: 14px; }
.hst-pick-logo {
    width: 26px;
    height: 26px;
    flex: none;
    padding: 3px;
    object-fit: contain;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.hst-pick .choice-card-title {
    max-width: 100%;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hst-step-title-lg { margin-bottom: 16px; }
/* Install wizard progress bar — the library default is 4px, too thin for a
   multi-minute install. */
#hst-cms-modal .progress-bar { height: 8px; border-radius: var(--lv-radius-pill); }
#hst-cms-modal .progress-fill { border-radius: var(--lv-radius-pill); }
/* WordPress console: empty-state onboarding (plain section, no card). */
.hst-wp-empty { padding: 48px 0 24px; border-top: 1px solid var(--lv-border-muted); text-align: center; }
.hst-wp-empty-logo { display: block; width: 48px; height: 48px; margin: 0 auto 16px; object-fit: contain; }
.hst-wp-empty-heading { margin: 0; font-size: 22px; font-weight: 700; color: var(--lv-text-primary); }
.hst-wp-empty-sub { margin: 8px auto 0; max-width: 560px; font-size: 13px; line-height: 1.6; color: var(--lv-text-tertiary); }
.hst-wp-steps { display: flex; flex-wrap: wrap; justify-content: center; margin: 36px 0 32px; padding: 0; list-style: none; }
.hst-wp-step { flex: 1 1 220px; max-width: 280px; min-width: 0; padding: 0 24px; border-left: 1px solid var(--lv-border-muted); }
.hst-wp-step:first-child { padding-left: 0; border-left: 0; }
.hst-wp-step:last-child { padding-right: 0; }
.hst-wp-step-index { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--lv-accent-500); }
.hst-wp-step-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--lv-text-primary); }
.hst-wp-step-text { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--lv-text-tertiary); }
.hst-wp-empty-actions { display: flex; justify-content: center; }
@media (max-width: 768px) {
    .hst-wp-step {
        flex-basis: 100%;
        max-width: 420px;
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid var(--lv-border-muted);
    }
    .hst-wp-step:first-child { padding-top: 0; border-top: 0; }
}
/* Non-WordPress domain body inside the accordion. */
.hst-wp-empty-title { margin: 0; font-weight: 600; color: var(--lv-text-primary); }

/* ── WordPress console: site accordion ── */
.hst-wp-acc { display: flex; flex-direction: column; gap: 10px; }
.hst-wp-acc-item {
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.hst-wp-acc-item.is-open { border-color: var(--lv-accent-500); }
.hst-wp-acc-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    transition: background 0.15s ease;
}
.hst-wp-acc-head:hover { background: var(--lv-bg-surface-2); }
.hst-wp-acc-logo { width: 28px; height: 28px; object-fit: contain; flex: none; }
.hst-wp-acc-logo-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lv-radius-sm);
    background: var(--lv-bg-surface-3);
    color: var(--lv-text-tertiary);
}
.hst-wp-acc-empty { padding: 20px; }
.hst-wp-acc-main {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hst-wp-acc-text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.hst-wp-acc-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hst-wp-acc-domain {
    font-size: 14px;
    font-weight: 600;
    color: var(--lv-text-primary);
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hst-wp-acc-domain:hover { color: var(--lv-accent-600); text-decoration: underline; }
.hst-wp-acc-sub {
    margin-top: 2px;
    font-size: 12px;
    color: var(--lv-text-tertiary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hst-wp-acc-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hst-wp-acc-chevron-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border: 0;
    background: transparent;
    border-radius: var(--lv-radius-sm);
    color: var(--lv-text-tertiary);
    cursor: pointer;
}
.hst-wp-acc-chevron-btn:hover { background: var(--lv-bg-surface-3); }
.hst-wp-acc-chevron { flex: none; transition: transform 0.15s ease; }
.hst-wp-acc-item.is-open .hst-wp-acc-chevron { transform: rotate(180deg); }
.hst-wp-acc-body { border-top: 1px solid var(--lv-border-muted); }
.hst-wp-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 20px; }
.hst-wp-divider { height: 1px; background: var(--lv-border-muted); }
.hst-wp-acc-body [data-wp-pane-body] { padding: 20px; }
.hst-wp-chips .lv-chip { cursor: pointer; }
.hst-wp-chips .lv-chip.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}
.hst-wp-chips .lv-chip.is-active .lv-icon { color: #ffffff; }
/* Pane toolbars: search inputs sit on the same baseline as the small buttons. */
.hst-wp-toolbar .lv-input,
.hst-wp-toolbar .lv-select { height: 32px; font-size: 13px; }

/* ── WordPress console: pane header ── */
.hst-wp-pane-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hst-wp-pane-head-main { min-width: 0; }
.hst-wp-pane-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); letter-spacing: -0.01em; }
.hst-wp-pane-desc { margin: 3px 0 0; font-size: 12.5px; color: var(--lv-text-tertiary); }
.hst-wp-pane-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Cards inside the accordion: body only, no head. */
.hst-wp-card-title { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; color: var(--lv-text-primary); }
.hst-wp-card-title.is-flush { margin: 0; padding: 16px 20px 12px; }
.hst-wp-card-title.has-divider { border-bottom: 1px solid var(--lv-border-muted); }
.hst-wp-card-pad { padding: 16px 20px 20px; }
.hst-wp-card .hst-wp-action-row { padding: 16px 20px; }
.hst-wp-card .hst-wp-finding { padding: 14px 20px; }

/* ── WordPress console: overview ── */
.hst-wp-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    margin-top: 16px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-border-muted);
    overflow: hidden;
}
.hst-wp-metric { background: var(--lv-bg-surface-1); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hst-wp-metric span { font-size: 11px; color: var(--lv-text-tertiary); }
.hst-wp-metric strong { font-size: 18px; font-weight: 800; color: var(--lv-text-primary); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hst-wp-split { display: flex; gap: 24px; align-items: stretch; margin-top: 20px; }
.hst-wp-split > * { min-width: 0; flex: 1 1 0; }
.hst-wp-panel { border-top: 2px solid var(--lv-border-muted); padding-top: 14px; }

/* ── WordPress console: overview dashboard ── */
.hst-wp-ov-hero { display: flex; align-items: flex-start; gap: 32px; }
.hst-wp-ov-side { flex: none; width: 300px; min-width: 0; }
.hst-wp-shot {
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-2);
    overflow: hidden;
}
.hst-wp-shot-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-1); }
.hst-wp-shot-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--lv-border-strong); }
.hst-wp-shot-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--lv-bg-surface-2); }
.hst-wp-shot-img.is-failed { display: none; }
.hst-wp-ov-main { flex: 1; min-width: 0; }
.hst-wp-ov-title { margin: 0 0 20px; font-size: 20px; font-weight: 700; color: var(--lv-text-primary); letter-spacing: -0.02em; }

.hst-wp-ov-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-border-muted);
    overflow: hidden;
}
.hst-wp-ov-fact { background: var(--lv-bg-surface-1); padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hst-wp-ov-fact span { font-size: 11px; color: var(--lv-text-tertiary); }
.hst-wp-ov-fact strong { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hst-wp-gauge {
    width: 132px;
    height: 132px;
    flex: none;
    border-radius: 50%;
    background: conic-gradient(#2563eb calc(var(--pct) * 1%), var(--lv-bg-surface-3) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hst-wp-gauge::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--lv-bg-surface-1);
}
.hst-wp-gauge-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hst-wp-gauge-inner strong { font-size: 28px; font-weight: 800; color: var(--lv-text-primary); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.hst-wp-gauge-inner span { margin-top: 5px; font-size: 11px; color: var(--lv-text-tertiary); }

.hst-wp-ov-panel { margin-top: 28px; }
.hst-wp-ov-panel-title { margin: 0 0 14px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lv-text-tertiary); }

/* ── WordPress console: tools action list ── */
.hst-wp-action-list { display: flex; flex-direction: column; }
.hst-wp-action-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--lv-border-muted); }
.hst-wp-action-row:last-child { border-bottom: 0; }
.hst-wp-action-icon { flex: none; color: var(--lv-accent-500); }
.hst-wp-action-main { flex: 1; min-width: 0; }
.hst-wp-action-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.hst-wp-action-desc { margin: 2px 0 0; font-size: 11.5px; color: var(--lv-text-tertiary); }
.hst-wp-action-ctl { flex: none; display: flex; align-items: center; gap: 8px; }

/* ── WordPress console: security score band ── */
.hst-wp-sec-band {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    overflow: hidden;
}
.hst-wp-sec-band-gauge {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 26px;
    border-right: 1px solid var(--lv-border-muted);
}
.hst-wp-sec-band-gauge .hst-wp-gauge { width: 104px; height: 104px; }
.hst-wp-sec-band-gauge .hst-wp-gauge::before { inset: 10px; }
.hst-wp-sec-band-gauge .hst-wp-gauge-inner strong { font-size: 26px; }
.hst-wp-sec-band-caption { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lv-text-tertiary); }
.hst-wp-sec-band-stats { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--lv-border-muted); }
.hst-wp-sec-stat { background: var(--lv-bg-surface-1); padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.hst-wp-sec-stat span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lv-text-tertiary); }
.hst-wp-sec-stat strong { font-size: 20px; font-weight: 800; color: var(--lv-text-primary); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hst-wp-sec-stat strong.is-date { font-size: 14px; font-weight: 600; letter-spacing: 0; }

/* ── WordPress console: security findings ── */
.hst-wp-findings { display: flex; flex-direction: column; }
.hst-wp-finding { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lv-border-muted); }
.hst-wp-finding:last-child { border-bottom: 0; }
.hst-wp-finding-main { flex: 1; min-width: 0; }
.hst-wp-finding-title { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--lv-text-primary); }
.hst-wp-finding-meta { margin: 3px 0 0; font-size: 11.5px; color: var(--lv-text-tertiary); word-break: break-all; }

@media (max-width: 900px) {
    .hst-wp-metrics { grid-template-columns: repeat(3, 1fr); }
    .hst-wp-split { flex-direction: column; gap: 20px; }
    .hst-wp-ov-hero { flex-direction: column; gap: 24px; }
    .hst-wp-ov-side { width: 100%; max-width: 420px; }
}
@media (max-width: 560px) {
    .hst-wp-metrics { grid-template-columns: repeat(2, 1fr); }
    .hst-wp-pane-actions { width: 100%; }
    .hst-wp-pane-actions .lv-btn { flex: 1; justify-content: center; }
    .hst-wp-action-row { flex-wrap: wrap; }
    .hst-wp-action-ctl { width: 100%; justify-content: flex-end; }
    .hst-wp-ov-facts { grid-template-columns: 1fr; }
    .hst-wp-sec-band { flex-direction: column; }
    .hst-wp-sec-band-gauge { border-right: 0; border-bottom: 1px solid var(--lv-border-muted); }
}
@media (max-width: 767px) {
    .hst-wp-acc-sub { white-space: normal; }
    .hst-wp-acc-head { flex-wrap: wrap; }
    .hst-wp-acc-main { flex-basis: 100%; }
    .hst-wp-acc-actions { flex-basis: 100%; justify-content: flex-end; }
}
.hst-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.hst-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.hst-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.hst-link-accent { color: var(--lv-accent-500); }
.hst-flash-success { margin-bottom: 16px; border: 1px solid var(--lv-success-500); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; font-size: 13px; color: var(--lv-text-primary); }
.hst-flash-icon { font-size: 16px; color: var(--lv-success-500); flex-shrink: 0; }
.hst-activation-card { width: 100%; max-width: 560px; text-align: center; }
.hst-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.hst-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.hst-text-primary { color: var(--lv-text-primary); }
.hst-activation-note { margin: 6px 0 0; }
.hst-activation-cta { margin-top: 24px; }
.hst-active-note { margin: 0 0 16px; color: var(--lv-text-secondary); }
.hst-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.hst-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.hst-min-w-0 { min-width: 0; }
.hst-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.hst-skel-sub { height: 12px; width: 224px; }
.hst-skel-dot { height: 8px; width: 32px; }
.hst-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.hst-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.hst-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.hst-skel-input { height: 44px; width: 100%; }
.hst-skel-btn { height: 40px; width: 80px; }
.hst-skel-btn-lg { height: 40px; width: 112px; }
.hst-preview-label { color: var(--lv-text-tertiary); }
.hst-preview-value { font-weight: 500; color: var(--lv-text-primary); }

/* ── Hosting manager: dashboard pieces ── */
.hst-mt-4 { margin-top: 16px; }
.hst-text-strong { color: var(--lv-text-primary); font-weight: 600; }
.hst-code {
    font-family: var(--lv-font-mono); font-size: 12px; font-weight: 700;
    border-radius: 4px; background: var(--lv-bg-surface-3);
    padding: 1px 6px; color: var(--lv-text-primary);
}

/* Log / PEM viewer */
.hst-log {
    margin: 0;
    font-family: var(--lv-font-mono);
    font-size: 11.5px;
    line-height: 1.6;
    white-space: pre;
    overflow: auto;
    max-height: 380px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--lv-bg-surface-3);
    color: var(--lv-text-secondary);
}
textarea.hst-log { white-space: pre-wrap; max-height: none; width: 100%; }

/* PHP extension grid (5 columns, checkbox + name) */
.hst-ext-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.hst-ext-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--lv-border-muted);
    border-radius: 6px;
    cursor: pointer;
    min-width: 0;
}
.hst-ext-item span {
    font-size: 12.5px; color: var(--lv-text-secondary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hst-ext-item.is-locked { cursor: default; opacity: 0.65; }
.hst-ext-item.is-busy { opacity: 0.55; }
@media (max-width: 1200px) { .hst-ext-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .hst-ext-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Inline warning banner (panel unreachable / account suspended) */
.hst-banner-warning {
    margin-bottom: 16px; padding: 12px 16px;
    border: 1px solid rgba(244, 163, 28, 0.45);
    border-left: 3px solid var(--lv-warning-500);
    border-radius: 6px; background: rgba(244, 163, 28, 0.08);
    font-size: 13px; color: var(--lv-text-secondary);
}
.hst-banner-icon { font-size: 16px; color: var(--lv-warning-500); flex-shrink: 0; }

/* Warning-tinted icon button (SSL not installed) + clickable SSL status badge */
.hst-btn-icon-warning {
    border: 1px solid rgba(244, 163, 28, 0.45);
    background: rgba(244, 163, 28, 0.15);
    color: var(--lv-warning-500);
}
.hst-btn-icon-warning:hover:not(:disabled) {
    background: rgba(244, 163, 28, 0.25);
    color: var(--lv-warning-500);
}
.hst-ssl-issue {
    display: inline-flex;
    border: 0; padding: 0;
    background: none; cursor: pointer;
}

/* PHP version cell: value + pen, opens the version modal */
.hst-php-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0; padding: 0;
    background: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.hst-php-edit .lv-icon { font-size: 13px; }
.hst-php-edit:hover { color: var(--lv-text-primary); }
.hst-php-edit:hover .lv-icon { color: var(--lv-accent-500); }

/* Domain cell: the name opens the site in a new tab, next to a copy icon */
.hst-dom-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}
.hst-dom-name {
    font-weight: 700;
    color: var(--lv-text-primary);
    text-decoration: none;
}
.hst-dom-name:hover { color: var(--lv-text-primary); text-decoration: underline; }
.hst-dom-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0; padding: 0;
    background: none;
    cursor: pointer;
    color: var(--lv-text-tertiary);
    text-decoration: none;
    flex-shrink: 0;
}
.hst-dom-link .lv-icon { font-size: 13px; width: 13px; height: 13px; }
.hst-dom-link:hover { color: var(--lv-accent-500); }

/* Usage meters */
.hst-meter {
    height: 8px; width: 100%;
    border-radius: 9999px; overflow: hidden;
    background: var(--lv-bg-surface-3);
}
.hst-meter-fill {
    height: 100%; width: 0;
    border-radius: 9999px;
    background: var(--lv-accent-500);
    transition: width 0.35s ease;
}
.hst-meter-fill.warn   { background: var(--lv-warning-500); }
.hst-meter-fill.danger { background: var(--lv-danger-500); }

/* cPanel access card (gradient, matches the webmail card on the email page) */
.hst-access-card {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 28px 20px; text-align: center;
    border: none !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.hst-access-icon {
    display: inline-flex; width: 44px; height: 44px; flex-shrink: 0;
    align-items: center; justify-content: center;
    border-radius: 9999px; background: rgba(255, 255, 255, 0.2); color: #fff;
}
.hst-access-icon .lv-icon { font-size: 22px; }
.hst-access-title { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.hst-access-desc  { margin: 0; max-width: 260px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.hst-access-btn {
    margin-top: 4px;
    border-color: #fff !important;
    background: #fff !important;
    color: #1d4ed8 !important;
    font-weight: 600;
}
.hst-access-btn:hover:not(:disabled) { background: #eff6ff !important; color: #1d4ed8 !important; }
.hst-access-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hst-access-foot { margin: 6px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }

/* Stat cards with an inline usage bar (Overview) */
.hst-stat-of { font-size: 14px; font-weight: 500; color: var(--lv-text-tertiary); }
.hst-stat-sub { margin: 2px 0 0; font-size: 11.5px; line-height: 1.35; color: var(--lv-text-tertiary); }
.hst-stat-bar { height: 6px; margin-top: 8px; }

/* Resource usage rows (Overview card) */
.hst-usage-row { display: flex; flex-direction: column; gap: 6px; }
.hst-usage-row + .hst-usage-row { margin-top: 12px; }
.hst-usage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hst-usage-head .dnsm-info-label { margin: 0; }
.hst-usage-val { font-size: 12px; white-space: nowrap; color: var(--lv-text-secondary); }

/* Resource cards (Resources tab) */
.hst-res-card { display: flex; flex-direction: column; }
.hst-res-value { margin: 0; font-size: 20px; font-weight: 700; color: var(--lv-text-primary); }
.hst-res-meter { margin: 10px 0 6px; }

@media (max-width: 767px) {
    .hst-access-card { padding: 22px 16px; }
}

/* ══ success.php ══ */
@keyframes pop-in { 0% { transform: scale(0) rotate(-15deg); opacity: 0; } 70% { transform: scale(1.1) rotate(0deg); } 100% { transform: scale(1) rotate(0deg); opacity: 1; } }
.pop-in { animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes ring-pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); } 70% { box-shadow: 0 0 0 20px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.ring-pulse { animation: ring-pulse 2s ease-out 0.4s; }
@keyframes rise-up { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.rise-1 { animation: rise-up 0.5s 0.15s both ease-out; }
.rise-2 { animation: rise-up 0.5s 0.3s both ease-out; }
.rise-3 { animation: rise-up 0.5s 0.5s both ease-out; }
.rise-4 { animation: rise-up 0.5s 0.7s both ease-out; }
.rise-5 { animation: rise-up 0.5s 0.9s both ease-out; }
/* ── Order success page ─────────────────────────────────── */
.suc-hero { padding: 40px 0 8px; }
.suc-center { text-align: center; }
.suc-check-ring { position: relative; width: 80px; height: 80px; border-radius: 9999px; background: color-mix(in srgb, var(--lv-success-500) 12%, transparent); border: 1px solid color-mix(in srgb, var(--lv-success-500) 20%, transparent); margin-bottom: 20px; }
.suc-check-ring::after { content: ''; position: absolute; inset: 0; border-radius: 9999px; border: 2px solid var(--lv-success-500); opacity: 0; animation: suc-ring-pulse 2.4s ease-out 0.8s infinite; }
.suc-check-core { width: 56px; height: 56px; border-radius: 9999px; background: var(--lv-success-500); }
.suc-icon-check { font-size: 28px; color: #fff; }
.suc-eyebrow { font-size: 13px; font-weight: 700; color: var(--lv-accent-500); text-transform: uppercase; letter-spacing: 0.1em; }
.suc-hero-title { margin: 4px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.025em; color: var(--lv-text-primary); }
.suc-hero-desc { margin: 12px 0 0; font-size: 16px; color: var(--lv-text-tertiary); max-width: 512px; line-height: 1.625; }
.suc-hero-cta { margin-top: 24px; }
.suc-cta-btn { height: 40px; padding: 0 20px; font-size: 13px; font-weight: 600; }
.suc-error-badge { width: 80px; height: 80px; border-radius: 9999px; background: color-mix(in srgb, var(--lv-danger-500) 12%, transparent); margin-bottom: 24px; }
.suc-icon-danger-xl { font-size: 36px; color: var(--lv-danger-500); }
.suc-title-lg { margin: 0; font-size: 24px; font-weight: 700; color: var(--lv-text-primary); }
.suc-error-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.625; color: var(--lv-text-tertiary); }
.suc-empty-desc { margin: 8px 0 0; font-size: 14px; color: var(--lv-text-tertiary); }
.suc-btn-row { margin-top: 24px; }
.suc-section-head { gap: 10px; margin-bottom: 20px; }
.suc-section-icon { width: 32px; height: 32px; border-radius: 6px; background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); }
.suc-icon-accent { color: var(--lv-accent-500); }
.suc-section-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.suc-count-pill { font-size: 12px; color: var(--lv-text-tertiary); background: var(--lv-bg-surface-2); padding: 2px 8px; border-radius: 6px; }
.suc-item-body { padding: 16px; }
.suc-item-head { gap: 10px; margin-bottom: 12px; }
.suc-item-icon { width: 36px; height: 36px; border-radius: 6px; color: #fff; }
.suc-icon-16 { font-size: 16px; }
.suc-min-w-0 { min-width: 0; }
.suc-item-tags { gap: 6px; flex-wrap: wrap; }
.suc-item-type { font-size: 11px; font-weight: 700; color: var(--lv-accent-600); text-transform: uppercase; letter-spacing: 0.05em; }
.suc-qty { font-size: 11px; color: var(--lv-text-tertiary); }
.suc-item-name { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.suc-price-strike { font-size: 12px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.suc-price-lg { font-size: 17px; font-weight: 700; color: var(--lv-text-primary); }
.suc-item-btn { margin-top: 12px; font-size: 12px; font-weight: 700; }
.suc-empty-icon { width: 80px; height: 80px; border-radius: 9999px; background: var(--lv-bg-surface-2); margin-bottom: 24px; }
.suc-icon-muted-xl { font-size: 36px; color: var(--lv-text-tertiary); }

/* Celebration — falling flowers, flakes and sparkles */
.suc-celebration { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; animation: suc-hue 9s linear infinite; }
.suc-fall { position: absolute; top: -40px; will-change: transform, opacity; animation-name: suc-fall; animation-timing-function: linear; animation-fill-mode: forwards; }
.suc-fall-inner { display: block; animation-name: suc-sway; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
.suc-petal { border-radius: 50% 0 50% 0; }
.suc-flake { border-radius: 2px; }
.suc-spark { border-radius: 9999px; }
@keyframes suc-fall {
    0% { transform: translate3d(0, -12vh, 0); opacity: 0; }
    10% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translate3d(var(--drift, 0px), 112vh, 0); opacity: 0; }
}
@keyframes suc-sway {
    from { transform: translateX(calc(var(--sway, 20px) * -1)) rotate(calc(var(--rot, 360deg) * -1)); }
    to { transform: translateX(var(--sway, 20px)) rotate(var(--rot, 360deg)); }
}
@keyframes suc-hue {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}
@keyframes suc-ring-pulse {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.65); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .suc-celebration { display: none; }
    .suc-check-ring::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Wave 3 conversions — manage-ultrasecurity, settings,
   new-ssl/storage/ultrasecurity, setup-email/storage/security.
   ═══════════════════════════════════════════════════════════════ */

/* ── Buy-page plan grid (shared by new-ssl/storage/ultrasecurity) ── */
.lv-plan-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 16px; }
@media (min-width: 768px) {
    .lv-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ══ manage-ultrasecurity.php ══ */
.use-step-card { max-width: 560px; margin: 0 auto; }
.use-steps-row { margin-bottom: 24px; }
.use-step-title-lg { margin-bottom: 16px; }
.use-preview-box { margin-bottom: 16px; gap: 8px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 16px; font-size: 14px; }
.use-terms-box { gap: 10px; border: 1px solid var(--lv-border-muted); border-radius: 6px; background: var(--lv-bg-surface-2); padding: 12px 16px; }
.use-terms-text { font-size: 13px; line-height: 1.6; color: var(--lv-text-secondary); }
.use-link-accent { color: var(--lv-accent-500); }
.use-activation-card { width: 100%; max-width: 560px; text-align: center; }
.use-activation-body { padding: 20px; }
.use-activation-icon { width: 48px; height: 48px; font-size: 24px; margin: 0 auto 20px; }
.use-activation-desc { margin: 10px auto 0; max-width: 400px; line-height: 1.6; color: var(--lv-text-secondary); }
.use-text-primary { color: var(--lv-text-primary); }
.use-activation-note { margin: 6px 0 0; }
.use-activation-cta { margin-top: 24px; }
.use-card-560 { width: 100%; max-width: 560px; }
.use-skel-head { padding: 16px 20px; border-bottom: 1px solid var(--lv-border-muted); }
.use-skel-avatar { height: 44px; width: 44px; flex-shrink: 0; }
.use-min-w-0 { min-width: 0; }
.use-skel-title { height: 20px; width: 144px; margin-bottom: 8px; }
.use-skel-sub { height: 12px; width: 224px; }
.use-skel-steps { margin-bottom: 24px; }
.use-skel-dot { height: 8px; width: 32px; }
.use-skel-label { height: 12px; width: 80px; margin-bottom: 8px; }
.use-skel-title-lg { height: 20px; width: 160px; margin-bottom: 8px; }
.use-skel-hint { height: 12px; width: 256px; margin-bottom: 16px; }
.use-skel-input { height: 36px; width: 100%; }
.use-skel-btn { height: 36px; width: 80px; }
.use-skel-btn-lg { height: 36px; width: 112px; }
.use-preview-value { font-weight: 500; color: var(--lv-text-primary); }

/* ══ settings.php ══ */
.set-flash-box { margin-bottom: 24px; padding: 12px 16px; border-radius: var(--lv-radius-sm); font-size: 13px; font-weight: 600; }
.set-flash-error { border: 1px solid var(--lv-danger-500); background: rgba(220, 38, 38, 0.12); color: var(--lv-danger-500); }
.set-tabs-label { margin: 0 10px 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 10px; }
.set-tabs-list { display: flex; flex-direction: column; gap: 2px; }
.set-title { margin: 0; font-weight: 600; color: var(--lv-text-primary); }
.set-form-error { margin-bottom: 16px; padding: 12px 16px; border: 1px solid var(--lv-danger-500); border-radius: var(--lv-radius-sm); background: rgba(220, 38, 38, 0.12); }
.set-flex-1 { flex: 1; }
.set-pin-input { font-weight: 600; letter-spacing: 0.2em; padding-right: 40px; }
.set-tip-box { border: 1px solid var(--lv-border-muted); background: var(--lv-bg-surface-2); border-radius: var(--lv-radius-sm); padding: 12px 16px; }
.set-method-pill { height: 32px; }
.set-save-icon { width: 36px; height: 36px; }

/* ══ new-ssl.php ══ */
.ns-card-flex     { display: flex; flex-direction: column; height: 100%; }
.ns-card-popular  { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px rgba(8,171,245,.10); overflow: visible; }
.ns-ribbon-wrap   { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.ns-ribbon        { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.ns-ribbon .lv-icon { font-size: 11px; fill: currentColor; }
.ns-card-head     { border-bottom: none; padding: 20px 20px 0; }
.ns-card-tag      { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lv-text-tertiary); }
.ns-card-title    { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.ns-card-subtitle { margin: 4px 0 0; font-size: 14px; }
.ns-card-body     { flex: 1; padding: 0 20px 20px; }
.ns-price-block   { margin: 20px 0; }
.ns-price-row     { align-items: baseline; gap: 2px; }
.ns-price-lg      { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.ns-price-period  { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.ns-price-strike  { font-size: 11px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.ns-divider       { height: 1px; background: var(--lv-border-muted); margin: 0 -20px 20px; }
.ns-feature-list  { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.ns-feature-item  { align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lv-text-primary); }
.ns-feature-item.is-off { color: var(--lv-text-tertiary); }
.ns-feature-icon  { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; background: rgba(35,179,107,0.15); color: var(--lv-success-500); }
.ns-feature-icon.is-off { background: rgba(148,163,184,0.15); color: var(--lv-text-disabled); }
.ns-feature-icon .lv-icon { font-size: 10px; }
.ns-btn-ghost     { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.ns-footnote      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.ns-filter-bar    { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ns-chip-lg       { height: 36px; font-size: 13px; padding: 0 14px; }
.ns-w-auto        { width: auto; }
.ns-label-inline  { margin-bottom: 0; }

/* ══ new-storage.php ══ */
.nst-card-flex     { display: flex; flex-direction: column; height: 100%; }
.nst-card-popular  { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px rgba(8,171,245,.10); overflow: visible; }
.nst-ribbon-wrap   { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.nst-ribbon        { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.nst-ribbon .lv-icon { font-size: 11px; fill: currentColor; }
.nst-card-head     { border-bottom: none; padding: 24px 24px 0; }
.nst-card-title    { margin: 0; font-size: 18px; font-weight: 700; }
.nst-card-subtitle { margin: 0; font-size: 14px; }
.nst-card-body     { flex: 1; padding: 0 24px 24px; }
.nst-price-block   { margin: 20px 0; }
.nst-price-row     { align-items: baseline; gap: 2px; }
.nst-price-lg      { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.nst-price-period  { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.nst-price-strike  { font-size: 14px; font-weight: 600; color: var(--lv-text-secondary); text-decoration: line-through; }
.nst-divider       { height: 1px; background: var(--lv-border-muted); margin: 0 -24px 20px; }
.nst-feature-list  { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.nst-feature-item  { align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lv-text-primary); }
.nst-feature-item.is-off { color: var(--lv-text-tertiary); }
.nst-feature-icon  { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; background: rgba(35,179,107,0.15); color: var(--lv-success-500); }
.nst-feature-icon.is-off { background: rgba(148,163,184,0.15); color: var(--lv-text-disabled); }
.nst-feature-icon .lv-icon { font-size: 10px; }
.nst-btn-ghost     { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.nst-footnote      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.nst-filter-bar    { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.nst-chip-lg       { height: 36px; font-size: 13px; padding: 0 14px; }
.nst-w-auto        { width: auto; }

/* ══ new-ultrasecurity.php ══ */
.nu-card-flex     { display: flex; flex-direction: column; height: 100%; }
.nu-card-popular  { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px rgba(8,171,245,.10); overflow: visible; }
.nu-ribbon-wrap   { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.nu-ribbon        { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.nu-ribbon .lv-icon { font-size: 11px; fill: currentColor; }
.nu-card-head     { border-bottom: none; padding: 20px 20px 0; }
.nu-card-tag      { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lv-text-tertiary); }
.nu-card-title    { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.nu-card-subtitle { margin: 4px 0 0; font-size: 14px; }
.nu-card-body     { flex: 1; padding: 0 20px 20px; }
.nu-price-block   { margin: 20px 0; }
.nu-price-row     { align-items: baseline; gap: 2px; }
.nu-price-lg      { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.nu-price-period  { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.nu-price-strike  { font-size: 11px; color: var(--lv-text-tertiary); text-decoration: line-through; }
.nu-divider       { height: 1px; background: var(--lv-border-muted); margin: 0 -20px 20px; }
.nu-feature-list  { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.nu-feature-item  { align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lv-text-primary); }
.nu-feature-item.is-off { color: var(--lv-text-tertiary); }
.nu-feature-icon  { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; background: rgba(35,179,107,0.15); color: var(--lv-success-500); }
.nu-feature-icon.is-off { background: rgba(148,163,184,0.15); color: var(--lv-text-disabled); }
.nu-feature-icon .lv-icon { font-size: 10px; }
.nu-btn-ghost     { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.nu-footnote      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.nu-filter-bar    { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.nu-chip-lg       { height: 36px; font-size: 13px; padding: 0 14px; }
.nu-w-auto        { width: auto; }

/* ══ setup-email.php ══ */
.se-cards-grid      { margin-top: 16px; gap: 24px; }
.se-plan-card       { position: relative; display: flex; flex-direction: column; height: 100%; overflow: visible; }
.se-plan-card-pop   { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px color-mix(in srgb, var(--lv-accent-500) 12%, transparent); }
.se-badge-pop       { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.se-badge-pop-inner { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.se-badge-pop-star  { font-size: 11px; fill: currentColor; }
.se-card-head       { border-bottom: none; padding: 24px 24px 0; }
.se-card-name       { margin: 0; font-size: 18px; font-weight: 700; }
.se-card-desc       { margin: 0; font-size: 14px; }
.se-card-body       { flex: 1; padding: 0 24px 24px; }
.se-price-block     { margin: 20px 0; }
.se-price-row       { align-items: baseline; gap: 2px; }
.se-price-amount    { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.se-price-cycle     { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.se-price-strike    { font-size: 14px; font-weight: 600; color: var(--lv-text-secondary); text-decoration: line-through; }
.se-card-divider    { height: 1px; background: var(--lv-border-muted); margin: 0 -24px 20px; }
.se-features        { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.se-feature         { align-items: flex-start; gap: 10px; font-size: 14px; }
.se-feature-on      { color: var(--lv-text-primary); }
.se-feature-off     { color: var(--lv-text-tertiary); }
.se-feature-dot     { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; }
.se-feature-dot-on  { background: rgba(35, 179, 107, 0.15); color: var(--lv-success-500); }
.se-feature-dot-off { background: rgba(148, 163, 184, 0.15); color: var(--lv-text-disabled); }
.se-feature-icon    { font-size: 10px; }
.se-btn-ghost       { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.se-trial-note      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.se-filters-bar     { margin-top: 16px; }
.se-label-inline    { margin-bottom: 0; }
.se-select-auto     { width: auto; }

/* ══ storage.php ══ */
.sto-includes-box   { margin-top: 12px; }
.sto-includes-title { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--lv-text-secondary); }
.sto-feature-list   { flex-wrap: wrap; gap: 8px 16px; }
.sto-feature        { gap: 6px; font-size: 12px; color: var(--lv-text-tertiary); }
.sto-feature-icon   { font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════
   Wave 3b conversions — new-hosting.php, new-vps.php.
   ═══════════════════════════════════════════════════════════════ */

/* ══ new-hosting.php ══ */
.nh-card-flex     { display: flex; flex-direction: column; height: 100%; }
.nh-card-popular  { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px rgba(8,171,245,.10); overflow: visible; }
.nh-ribbon-wrap   { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.nh-ribbon        { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.nh-ribbon .lv-icon { font-size: 11px; fill: currentColor; }
.nh-card-head     { border-bottom: none; padding: 24px 24px 0; }
.nh-card-title    { margin: 0; font-size: 18px; font-weight: 700; }
.nh-card-subtitle { margin: 0; font-size: 14px; }
.nh-card-body     { flex: 1; padding: 0 24px 24px; }
.nh-price-block   { margin: 20px 0; }
.nh-price-row     { align-items: baseline; gap: 2px; }
.nh-price-lg      { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.nh-price-period  { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.nh-price-off-row { gap: 8px; margin-top: 8px; }
.nh-price-strike  { font-size: 14px; font-weight: 600; color: var(--lv-text-secondary); text-decoration: line-through; }
.nh-divider       { height: 1px; background: var(--lv-border-muted); margin: 0 -24px 20px; }
.nh-feature-list  { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.nh-feature-item  { align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lv-text-primary); }
.nh-feature-item.is-off { color: var(--lv-text-tertiary); }
.nh-feature-icon  { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; background: rgba(35,179,107,0.15); color: var(--lv-success-500); }
.nh-feature-icon.is-off { background: rgba(148,163,184,0.15); color: var(--lv-text-disabled); }
.nh-feature-icon .lv-icon { font-size: 10px; }
.nh-btn-ghost     { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.nh-footnote      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.nh-page-head     { flex-wrap: wrap; }
.nh-filter-bar    { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.nh-filter-chips  { flex-wrap: wrap; gap: 8px; }
.nh-filter-form   { gap: 8px; }
.nh-chip-lg       { height: 36px; font-size: 13px; padding: 0 14px; }
.nh-label-inline  { margin-bottom: 0; }
.nh-w-auto        { width: auto; }

/* ══ new-vps.php ══ */
.nv-card-flex     { display: flex; flex-direction: column; height: 100%; }
.nv-card-popular  { border-color: var(--lv-accent-500); box-shadow: 0 0 0 1px rgba(8,171,245,.10); overflow: visible; }
.nv-ribbon-wrap   { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 10; }
.nv-ribbon        { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; background: var(--lv-accent-500); padding: 4px 12px; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.nv-ribbon .lv-icon { font-size: 11px; fill: currentColor; }
.nv-card-head     { border-bottom: none; padding: 24px 24px 0; }
.nv-card-title    { margin: 0; font-size: 18px; font-weight: 700; }
.nv-card-subtitle { margin: 0; font-size: 14px; }
.nv-card-body     { flex: 1; padding: 0 24px 24px; }
.nv-price-block   { margin: 20px 0; }
.nv-price-row     { align-items: baseline; gap: 2px; }
.nv-price-lg      { font-family: var(--lv-font-heading); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.nv-price-period  { margin-left: 4px; font-size: 14px; color: var(--lv-text-tertiary); }
.nv-price-off-row { gap: 8px; margin-top: 8px; }
.nv-price-strike  { font-size: 14px; font-weight: 600; color: var(--lv-text-secondary); text-decoration: line-through; }
.nv-divider       { height: 1px; background: var(--lv-border-muted); margin: 0 -24px 20px; }
.nv-feature-list  { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex: 1; flex-direction: column; gap: 12px; }
.nv-feature-item  { align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lv-text-primary); }
.nv-feature-item.is-off { color: var(--lv-text-tertiary); }
.nv-feature-icon  { margin-top: 2px; width: 16px; height: 16px; border-radius: 9999px; background: rgba(35,179,107,0.15); color: var(--lv-success-500); }
.nv-feature-icon.is-off { background: rgba(148,163,184,0.15); color: var(--lv-text-disabled); }
.nv-feature-icon .lv-icon { font-size: 10px; }
.nv-btn-ghost     { background: transparent; border-color: var(--lv-border-strong); color: var(--lv-text-primary); }
.nv-footnote      { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }
.nv-page-head     { flex-wrap: wrap; }
.nv-filter-bar    { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.nv-filter-chips  { flex-wrap: wrap; gap: 8px; }
.nv-filter-form   { gap: 8px; }
.nv-chip-lg       { height: 36px; font-size: 13px; padding: 0 14px; }
.nv-label-inline  { margin-bottom: 0; }
.nv-w-auto        { width: auto; }

/* Buy-page filter fields (billing-period selects) — inline label+hint+icon row */
.nh-filter-field, .nv-filter-field, .ns-filter-field,
.nst-filter-field, .nu-filter-field, .se-filter-field {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.nh-filter-field .lv-hint, .nv-filter-field .lv-hint, .ns-filter-field .lv-hint,
.nst-filter-field .lv-hint, .nu-filter-field .lv-hint, .se-filter-field .lv-hint {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Wave 4 conversions — dns.php, cdn.php, transfer-to-us.php,
   under-attack-emergency.php, my-hosting.php.
   ═══════════════════════════════════════════════════════════════ */

/* Generic helpers (shared across pages) */
.lv-text-primary { color: var(--lv-text-primary); }

/* ══ dns.php ══ */
.dns-ns-row { border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-1); padding: 8px 12px; }
.dns-ns-name { font-size: 13px; color: var(--lv-text-primary); }

/* ══ cdn.php ══ */
.cdn-plan-option { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; min-width: 160px; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-1); padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--lv-text-secondary); }
.cdn-plan-option .lv-icon { font-size: 14px; }

/* ══ transfer-to-us.php ══ */
.ttu-page-head { flex-wrap: wrap; }
.ttu-section { margin-top: 24px; }
.ttu-cards { gap: 16px; }
.ttu-card-head { padding: 12px 20px; background: var(--lv-bg-surface-2); }
.ttu-step-label { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lv-text-tertiary); }
.ttu-step-desc { margin: 0; font-size: 13px; color: var(--lv-text-secondary); }
.ttu-form { gap: 12px; margin-top: 16px; }

/* ══ under-attack-emergency.php ══ */
.uae-banner { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--lv-radius-sm); border: 1px solid transparent; font-size: 13px; }
.uae-banner p { margin: 0; }
.uae-banner .lv-icon { flex-shrink: 0; margin-top: 1px; }
.uae-banner-error { border-color: color-mix(in srgb, var(--lv-danger-500) 35%, transparent); background: color-mix(in srgb, var(--lv-danger-500) 10%, transparent); color: var(--lv-text-primary); }
.uae-banner-error .lv-icon { color: var(--lv-danger-500); }

.uae-created { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--lv-success-500) 35%, transparent); border-radius: var(--lv-radius-md); background: color-mix(in srgb, var(--lv-success-500) 10%, transparent); }
.uae-created-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--lv-success-500); color: #ffffff; }
.uae-created-icon .lv-icon { width: 20px; height: 20px; font-size: 20px; }
.uae-created-copy { flex: 1; min-width: 220px; }
.uae-created-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--lv-text-primary); }
.uae-created-text { margin: 3px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--lv-text-secondary); }

.uae-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr); gap: 28px; align-items: center; }
.uae-hero-copy { min-width: 0; }
.uae-hero-title { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; }
.uae-hero-desc { margin: 10px 0 0; max-width: 56ch; font-size: 13.5px; }
.uae-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.uae-hero-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.uae-hero-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: inherit; }
.uae-hero-step strong { font-weight: 600; }
.uae-hero-step-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); color: inherit; font-size: 10.5px; font-weight: 700; }

.uae-radar { position: relative; width: 240px; height: 240px; margin-left: auto; flex-shrink: 0; }
.uae-radar-ring { position: absolute; inset: 16px; border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 50%; }
.uae-radar-ring.is-inner { inset: 62px; border-style: solid; border-color: rgba(255, 255, 255, 0.12); }
.uae-radar-core { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 1px solid rgba(8, 171, 245, 0.38); background: rgba(8, 171, 245, 0.16); color: #eaf2ff; box-shadow: 0 0 42px rgba(8, 171, 245, 0.28); }
.uae-radar-core .lv-icon { width: 30px; height: 30px; font-size: 30px; }
.uae-radar-node { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: rgba(234, 242, 255, 0.76); }
.uae-radar-node .lv-icon { width: 15px; height: 15px; font-size: 15px; }
.uae-radar-node.is-server { top: 10px; left: 50%; transform: translateX(-50%); }
.uae-radar-node.is-activity { bottom: 20px; left: 12px; }
.uae-radar-node.is-shield { right: 12px; bottom: 20px; }

.uae-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.uae-info-grid > .lv-card { display: flex; flex-direction: column; }
.uae-info-grid > .lv-card > .lv-card-body { flex: 1; }
.uae-info-grid .lv-btn-full { margin-top: auto; }
.uae-links { padding: 0; }
.uae-link { display: flex; align-items: center; gap: 12px; padding: 14px 20px; text-decoration: none; color: var(--lv-text-primary); }
.uae-link + .uae-link { border-top: 1px solid var(--lv-border-muted); }
.uae-link:hover { background: var(--lv-bg-surface-2); }
.uae-link-icon { width: 18px; height: 18px; font-size: 18px; flex-shrink: 0; color: var(--lv-accent-500); }
.uae-link-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uae-link-title { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.uae-link-desc { font-size: 11.5px; color: var(--lv-text-tertiary); }
.uae-link-go { width: 14px; height: 14px; font-size: 14px; flex-shrink: 0; color: var(--lv-text-tertiary); }
.uae-link:hover .uae-link-go { color: var(--lv-accent-500); }

.uae-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.uae-form-alert { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--lv-danger-500) 35%, transparent); border-radius: var(--lv-radius-sm); background: color-mix(in srgb, var(--lv-danger-500) 8%, transparent); color: var(--lv-danger-500); font-size: 12.5px; font-weight: 600; }
.uae-form-alert .lv-icon { width: 15px; height: 15px; flex-shrink: 0; }

.uae-step-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--lv-border-muted); }
.uae-step-tab { height: 30px; padding: 0 12px; gap: 8px; }
.uae-step-tab-num { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--lv-border-muted); font-size: 10.5px; font-weight: 700; }
.uae-step-tab.is-active { border-color: var(--lv-accent-500); background: var(--lv-accent-500); color: #ffffff; }
.uae-step-tab.is-active .uae-step-tab-num { border-color: transparent; background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.uae-step-tab.is-done { border-color: color-mix(in srgb, var(--lv-accent-500) 45%, transparent); color: var(--lv-accent-500); }
.uae-step-tab.is-done .uae-step-tab-num { border-color: transparent; background: color-mix(in srgb, var(--lv-accent-500) 14%, transparent); color: var(--lv-accent-500); }

.uae-review { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-2); }
.uae-review-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; font-size: 12.5px; line-height: 1.5; }
.uae-review-label { color: var(--lv-text-tertiary); }
.uae-review-value { color: var(--lv-text-primary); font-weight: 600; overflow-wrap: anywhere; }
.uae-review-row.is-stacked { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.uae-review-row.is-stacked .uae-review-value { font-weight: 500; white-space: pre-wrap; color: var(--lv-text-secondary); }

.uae-severity-field { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.uae-severity { display: flex; flex-wrap: wrap; gap: 8px; }
.uae-severity-option { position: relative; }
.uae-severity-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.uae-severity-option .lv-chip { height: 32px; padding: 0 14px; cursor: pointer; }
.uae-severity-option input:checked + .lv-chip { border-color: var(--lv-accent-500); background: var(--lv-accent-500); color: #ffffff; }
.uae-severity-option.is-critical input:checked + .lv-chip { border-color: var(--lv-danger-500); background: var(--lv-danger-500); color: #ffffff; }
.uae-severity-option.is-high input:checked + .lv-chip { border-color: var(--lv-warning-500); background: var(--lv-warning-500); color: #1a1200; }
.uae-severity-option input:focus-visible + .lv-chip { outline: 2px solid var(--lv-focus-ring); outline-offset: 2px; }

.uae-situation-hint { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-2); color: var(--lv-text-secondary); font-size: 12px; line-height: 1.55; }
.uae-situation-hint .lv-icon { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; color: var(--lv-accent-500); }

.uae-terms { margin-top: 4px; padding: 16px; border: 1px solid var(--lv-border-muted); border-radius: var(--lv-radius-sm); background: var(--lv-bg-surface-2); }
.uae-terms-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; color: var(--lv-text-primary); }
.uae-terms-title .lv-icon { width: 15px; height: 15px; color: var(--lv-accent-500); }
.uae-terms-text { margin: 8px 0 12px; font-size: 12px; line-height: 1.65; color: var(--lv-text-tertiary); }
.uae-terms-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12.5px; line-height: 1.5; color: var(--lv-text-secondary); }
.uae-terms-check .lv-checkbox { margin-top: 2px; flex-shrink: 0; }

.uae-steps { display: flex; flex-direction: column; gap: 14px; }
.uae-step { display: flex; align-items: flex-start; gap: 12px; }
.uae-step-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: color-mix(in srgb, var(--lv-accent-500) 12%, transparent); color: var(--lv-accent-500); font-size: 11.5px; font-weight: 700; }
.uae-check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: color-mix(in srgb, var(--lv-success-500) 12%, transparent); color: var(--lv-success-500); }
.uae-check .lv-icon { width: 14px; height: 14px; font-size: 14px; }
.uae-step-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--lv-text-primary); }
.uae-step-text { margin: 2px 0 0; font-size: 12px; line-height: 1.55; color: var(--lv-text-tertiary); }

.uae-history-head { align-items: flex-end; }
.uae-history-chips { flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.uae-history-tools { flex-wrap: wrap; }
.uae-history-search { min-width: 280px; }
.uae-history-search .lv-input-wrap { margin: 0; }
.uae-history-search .lv-input { height: 36px; }
.uae-table-min-w { min-width: 820px; }
.uae-col-ticket { width: 160px; }
.uae-col-service { width: 170px; }
.uae-col-priority { width: 100px; }
.uae-col-status { width: 120px; }
.uae-col-opened { width: 120px; }
.uae-col-actions { width: 90px; text-align: right; }
.uae-ticket-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uae-ticket-link { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); text-decoration: none; }
a.uae-ticket-link:hover { color: var(--lv-accent-500); }
.uae-ticket-link.is-static { color: var(--lv-text-secondary); }
.uae-req-number { font-size: 10.5px; color: var(--lv-text-tertiary); font-variant-numeric: tabular-nums; }
.uae-history-service { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uae-history-summary { min-width: 220px; white-space: normal; }
.uae-history-empty { padding: 48px 16px; }
.uae-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 50%; background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); color: var(--lv-accent-500); }
.uae-empty-icon .lv-icon { width: 22px; height: 22px; margin: 0; color: inherit; }
.uae-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

@media (max-width: 1100px) {
    .uae-hero { grid-template-columns: minmax(0, 1fr); }
    .uae-radar { display: none; }
    .uae-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .uae-info-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .uae-hero-title { font-size: 24px; }
    .uae-form-grid { grid-template-columns: minmax(0, 1fr); }
    .uae-history-search { min-width: 0; width: 100%; }
    .uae-created .lv-btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   Activation wizard — constant-width cards (50%), horizontally AND
   vertically centered. Applies to the step cards, the loading
   skeleton card, and the pending/active cards on all manage-* pages.
   ═══════════════════════════════════════════════════════════════ */
.md-card-center, .md-card-560, .md-card-full,
.mea-step-card, .mea-card-560, .mea-activation-card,
.hst-step-card, .hst-activation-card,
.ssl-step-card, .ssl-card-560, .ssl-activation-card,
.sto-step-card, .sto-card-560, .sto-activation-card,
.use-step-card, .use-card-560, .use-activation-card,
.vps-step-card, .vps-activation-card {
    width: 50%;
    min-width: 50%;
    max-width: none;
    margin: 0 auto;
}
#activation-content {
    min-height: calc(100vh - 140px);
    align-items: center;
}
#activation-step-1 { width: 100%; }
.act-hero { text-align: center; }

/* Hosting wizard — one hard width for every step.
   The shared rule above sizes these cards at 50% of the viewport, which let the
   width drift with the content (a wide location grid vs. a short confirm list).
   A fixed width plus `flex: 0 0 auto` keeps the card identical on every step. */
.hst-step-card {
    width: 720px;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    flex: 0 0 auto;
}
@media (max-width: 767px) {
    .hst-step-card { width: 100%; }
}

/* Choices.js inside an lv-input-wrap with a left icon — clear the icon */
.lv-input-wrap .choices__inner { padding-left: 2.6em; }

/* ── Hosting: modals whose <form> is a direct child of .lv-modal ──
   Without this the form grows past the modal and .lv-modal-body never
   scrolls, so long forms get clipped. */
.lv-modal > form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Add New WordPress: a little wider than the default 448px modal. */
.hst-domain-modal { max-width: 520px; }

/* ── Hosting: tab toolbars ──
   Chips, selects and search inputs sit on one baseline. */
.hst-toolbar .lv-chip,
.hst-toolbar .lv-input,
.hst-toolbar .lv-select { height: 32px; font-size: 13px; }

/* ── Hosting: fixed-prefix inputs (database / FTP names) ── */
.hst-prefixed {
    display: flex;
    align-items: stretch;
    height: 40px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-sm);
    background: var(--lv-bg-surface-2);
    overflow: hidden;
    transition: border-color var(--lv-duration-fast) var(--lv-easing-standard);
}
.hst-prefixed-label {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--lv-font-ui);
    color: var(--lv-text-secondary);
    background: var(--lv-bg-surface-3);
    border-right: 1px solid var(--lv-border-muted);
    border-radius: 0;
    white-space: nowrap;
}
.hst-prefixed .lv-input,
.hst-prefixed .lv-select {
    flex: 1;
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.hst-prefixed:focus-within { border-color: var(--lv-accent-500); }
.hst-prefixed:focus-within .hst-prefixed-label { border-right-color: var(--lv-accent-500); }

/* ── Hosting: busy overlay for the extensions grid ── */
.hst-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--lv-radius-sm);
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
    backdrop-filter: blur(2px);
}

/* ── Hosting: one-click installer tiles ──
   Product-style tiles, three per row, each tinted with its platform colour. */
.hst-cms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hst-cms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .hst-cms-grid { grid-template-columns: minmax(0, 1fr); } }

.hst-launch {
    --cms: var(--lv-accent-500);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s var(--lv-easing-standard),
                box-shadow 0.2s var(--lv-easing-standard);
}
/* Platform wash dropping from the top edge. */
.hst-launch::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% -20%, var(--cms) 0%, transparent 62%),
        linear-gradient(180deg, transparent 52%, rgba(15, 23, 42, 0.06) 100%);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.2s var(--lv-easing-standard);
}
.hst-launch:hover,
.hst-launch:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 42px -30px var(--cms), 0 2px 10px -6px rgba(15, 23, 42, 0.35);
}
.hst-launch:hover::before,
.hst-launch:focus-within::before { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) {
    .hst-launch, .hst-launch:hover, .hst-launch:focus-within,
    .hst-launch-logo, .hst-launch:hover .hst-launch-logo { transition: none; transform: none; }
}

.hst-launch-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
    padding: 20px;
}
/* Logo and title share the first row, so the blurb gets the full width. */
.hst-launch-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.hst-launch-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.hst-launch-logo {
    width: 48px;
    height: 48px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    box-shadow: 0 12px 26px -14px var(--cms);
    transition: transform 0.2s var(--lv-easing-standard);
}
.hst-launch:hover .hst-launch-logo { transform: scale(1.08); }
.hst-launch-logo img { width: 26px; height: 26px; object-fit: contain; }
.hst-launch-logo-icon { background: var(--cms); border-color: transparent; color: #ffffff; }
.hst-launch-logo-icon .lv-icon { font-size: 22px; width: 22px; height: 22px; }
.hst-launch-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--lv-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Runtime / PHP requirement shown under the name. */
.hst-launch-req {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 11.5px;
    line-height: 1;
    color: var(--lv-text-tertiary);
}
.hst-launch-req .lv-icon { width: 13px; height: 13px; flex: none; }
/* Short catalogue blurb, clamped so every tile stays the same height. */
.hst-launch-desc {
    margin: 0;
    min-height: 38px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--lv-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Capability check list under the blurb. */
.hst-launch-feats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 63px;
}
.hst-launch-feats li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--lv-text-secondary);
}
.hst-launch-feats .lv-icon {
    width: 14px;
    height: 14px;
    flex: none;
    margin-top: 1px;
    color: var(--cms);
}
.hst-launch-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Node / Python service cards. */
.hst-runtime-card {
    transition: transform 0.2s var(--lv-easing-standard),
                box-shadow 0.2s var(--lv-easing-standard);
}
.hst-runtime-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -32px rgba(37, 99, 235, 0.6);
}
@media (prefers-reduced-motion: reduce) {
    .hst-runtime-card, .hst-runtime-card:hover { transition: none; transform: none; }
}

/* Centred confirmation shown right after an application is installed. */
.hst-app-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 8px 0;
    text-align: center;
}
.hst-app-success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--lv-success-500);
}
.hst-app-success-mark .lv-icon { font-size: 28px; width: 28px; height: 28px; }

/* PHP tab: account default (60%) beside the Redis addon (40%). */
.hst-php-cards { grid-template-columns: 3fr 2fr; }
@media (max-width: 1100px) { .hst-php-cards { grid-template-columns: minmax(0, 1fr); } }

/* Access tab: SSH/SFTP (55%) beside the account password (45%). */
.hst-ssh-cards { grid-template-columns: 55fr 45fr; }
@media (max-width: 1100px) { .hst-ssh-cards { grid-template-columns: minmax(0, 1fr); } }

/* Smaller mark used by the installed-applications table. */
.hst-cms-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--cms);
    color: #ffffff;
    box-shadow: 0 12px 24px -12px var(--cms);
}
.hst-cms-icon .lv-icon { font-size: 24px; }
.hst-cms-icon-sm { width: 32px; height: 32px; border-radius: 9px; box-shadow: none; }
.hst-cms-icon-sm .lv-icon { font-size: 16px; }

/* ── Hosting: table footers + pagination ── */
.hst-table-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-top: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-2);
}
.hst-table-count { font-size: 12px; color: var(--lv-text-tertiary); }
.lv-page-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.lv-page-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.lv-page-btn .lv-icon { font-size: 14px; }

/* ── Hosting: firewall status ── */
.hst-fw-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 9999px;
    color: #ffffff;
}
.hst-fw-badge .lv-icon { font-size: 22px; }
.hst-fw-badge.is-ok { background: #23b36b; box-shadow: 0 10px 22px -12px #23b36b; }
.hst-fw-badge.is-off { background: #e94d65; box-shadow: 0 10px 22px -12px #e94d65; }
.hst-fw-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--lv-text-primary); }

/* ── Hosting: elegant security status cards ── */
.hst-status-card { display: flex; flex-direction: column; overflow: hidden; }
.hst-status-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 20px;
    text-align: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--lv-bg-surface-1) 55%, transparent) 0%, transparent 34%);
}
.hst-status-glyph {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hst-status-glyph::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 9999px;
    border: 1px solid var(--lv-border-muted);
    opacity: .65;
}
.hst-status-glyph .lv-icon { font-size: 28px; }
.hst-status-glyph.is-ok {
    background: radial-gradient(circle at 30% 25%, #34d399, #10b981 62%, #059669);
    box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .55);
}
.hst-status-glyph.is-down {
    background: radial-gradient(circle at 30% 25%, #fbbf24, #f59e0b 62%, #d97706);
    box-shadow: 0 14px 30px -12px rgba(245, 158, 11, .5);
}
.hst-status-title { margin: 18px 0 0; font-size: 15px; font-weight: 700; color: var(--lv-text-primary); }
.hst-status-desc {
    margin: 6px 0 0;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lv-text-tertiary);
}
.hst-status-stats {
    margin-top: 20px;
    width: 100%;
    display: flex;
    border: 1px solid var(--lv-border-muted);
    border-radius: 12px;
    overflow: hidden;
    background: var(--lv-bg-surface-2);
}
.hst-status-stat {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hst-status-stat + .hst-status-stat { border-left: 1px solid var(--lv-border-muted); }
.hst-status-stat span { font-size: 11px; color: var(--lv-text-tertiary); }
.hst-status-stat strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--lv-text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* ── Hosting: overview 65/35 chart split ── */
.hst-ov-split { display: flex; gap: 16px; align-items: stretch; }
.hst-ov-split > * { min-width: 0; }
.hst-ov-split > :first-child { flex: 65 1 0; }
.hst-ov-split > :last-child  { flex: 35 1 0; }
@media (max-width: 900px) {
    .hst-ov-split { flex-direction: column; }
    .hst-ov-split > :first-child,
    .hst-ov-split > :last-child { flex: 1 1 auto; }
}

/* ── Hosting: check-IP result ── */
.hst-checkip-box {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--lv-bg-surface-2);
    border: 1px solid var(--lv-border-muted);
}

/* ── Hosting: security section chips ── */
.hst-sec-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
    margin-bottom: 16px;
}
.hst-waf-periods {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* ── Hosting: empty-state action buttons ── */
.hst-empty-buttons { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hst-empty-buttons .lv-btn { min-width: 160px; justify-content: center; }
@media (max-width: 480px) {
    .hst-empty-buttons .lv-btn { width: 100%; min-width: 0; }
}

/* ── Hosting: resource usage tiles ── */
.hst-usage-grid .hst-usage-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    border: 1px solid var(--lv-border-muted);
}
.hst-usage-grid .hst-usage-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}
.hst-usage-grid .hst-usage-row + .hst-usage-row { margin-top: 0; }
.hst-usage-grid .hst-meter { width: 100%; background: var(--lv-border-muted); }

/* ── Manage pages: vertical section rail (16% / rest) ── */
.manage-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.manage-nav {
    flex: 0 0 16%;
    min-width: 160px;
    max-width: 280px;
    position: sticky;
    top: calc(68px + 16px);
}
.manage-nav-list { display: flex; flex-direction: column; gap: 2px; }
.manage-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: var(--lv-radius-md);
    background: transparent;
    color: var(--lv-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background var(--lv-duration-fast) var(--lv-easing-standard),
                color var(--lv-duration-fast) var(--lv-easing-standard);
}
.manage-nav-item:hover {
    background: var(--lv-bg-surface-2);
    color: var(--lv-text-primary);
}
.manage-nav-item.is-active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 600;
}
.manage-nav-item.is-active:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}
.manage-nav-item .lv-icon { width: 14px; height: 14px; flex-shrink: 0; }
.manage-nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manage-main { flex: 1 1 auto; min-width: 0; }
@media (max-width: 900px) {
    .manage-layout { flex-direction: column; align-items: stretch; }
    .manage-nav { position: static; flex: 1 1 auto; min-width: 0; max-width: none; }
    .manage-nav-list { flex-direction: row; flex-wrap: wrap; }
    .manage-nav-item { width: auto; }
}

/* ── Manage pages: compact stat cards ── */
.manage-main .lv-stat-card,
#email-stats-wrap .lv-stat-card { padding: 14px; gap: 10px; }
.manage-main .lv-stat-card .lv-card-head-icon,
#email-stats-wrap .lv-stat-card .lv-card-head-icon { width: 34px; height: 34px; font-size: 17px; }
.manage-main .lv-stat-meta .lv-text-xs,
#email-stats-wrap .lv-stat-meta .lv-text-xs { font-size: 11px; }
.manage-main .lv-stat-meta .lv-stat-value,
#email-stats-wrap .lv-stat-meta .lv-stat-value { font-size: 15px; line-height: 1.35; }
.manage-main .hst-stat-of { font-size: 12px; }

/* ── Manage pages: pin every card footer to the bottom of its card ── */
.manage-main .lv-card:not(.lv-stat-card) { display: flex; flex-direction: column; }
.manage-main .lv-card:not(.lv-stat-card) > form { display: flex; flex-direction: column; flex: 1 1 auto; }
.manage-main .lv-card .lv-card-foot { margin-top: auto; }

/* ── Manage pages: keep card titles/subtitles on one line ── */
.manage-main .lv-card-head > div { min-width: 0; }
.manage-main .lv-card-title,
.manage-main .lv-card-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Long unbroken values wrap instead of forcing horizontal overflow; column
   widths and action buttons are left to the table's own layout. */
.manage-main .lv-table td { overflow-wrap: anywhere; }

/* ── Table rows: single kebab action menu ──
   The panel is fixed-positioned by main.js so it is never clipped by the
   table's horizontal scroll container. z-index sits above the sticky header
   (30) and drawers (55) but stays below modals (200). */
.row-actions { display: inline-flex; justify-content: flex-end; }
.row-actions-menu {
    position: fixed;
    z-index: 150;
    min-width: 200px;
    max-width: 260px;
    max-height: min(320px, calc(100vh - 24px));
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    box-shadow: var(--lv-shadow-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.row-actions-menu[hidden] { display: none; }
.row-actions-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: var(--lv-radius-sm);
    background: transparent;
    color: var(--lv-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--lv-duration-fast) var(--lv-easing-standard),
                color var(--lv-duration-fast) var(--lv-easing-standard);
}
.row-actions-item .lv-icon { width: 14px; height: 14px; flex-shrink: 0; }
.row-actions-item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.row-actions-item:hover { background: var(--lv-bg-surface-2); color: var(--lv-text-primary); }
.row-actions-item:focus-visible { outline: 2px solid var(--lv-accent-500); outline-offset: -2px; }
.row-actions-item.is-danger { color: var(--lv-danger-500); }
.row-actions-item.is-danger:hover { background: rgba(220, 38, 38, 0.10); color: var(--lv-danger-500); }
.row-actions-item:disabled { opacity: 0.45; cursor: not-allowed; }
.row-actions-item:disabled:hover { background: transparent; color: var(--lv-text-secondary); }
.row-actions-item.is-switch { justify-content: space-between; gap: 12px; cursor: default; }
.row-actions-item.is-switch:hover { background: transparent; color: var(--lv-text-secondary); }
.row-actions-item.is-switch .lv-toggle { flex: none; }

/* ── IP hover card ──
   Country and ISP are shown on hover instead of occupying two table columns.
   Same treatment as .row-actions-menu: one shared fixed-position element, so
   the table's horizontal scroll container can never clip it. */
.hst-ip-cell { cursor: help; }
.hst-ip-tip {
    position: fixed;
    z-index: 150;
    box-sizing: border-box;
    width: 180px;
    padding: 9px 12px;
    border: 1px solid var(--lv-border-muted);
    border-radius: var(--lv-radius-md);
    background: var(--lv-bg-surface-1);
    box-shadow: var(--lv-shadow-md);
    pointer-events: none;
}
.hst-ip-tip[hidden] { display: none; }
.hst-ip-tip-row {
    font-size: 12px;
    line-height: 1.6;
    color: var(--lv-text-primary);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hst-ip-tip-row + .hst-ip-tip-row { margin-top: 1px; }
.hst-ip-tip-label { color: var(--lv-text-muted); font-weight: 500; }
.hst-ip-tip-value { font-weight: 600; }

/* ══ invoice-detail.php ══ */
.inv-sheet {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 52px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.05);
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.inv-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid #eef2f7;
}
.inv-brand { display: flex; align-items: center; gap: 14px; }
.inv-logo { width: 46px; height: 46px; object-fit: contain; }
.inv-brand-name { margin: 0; font-size: 17px; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
.inv-brand-tag { margin: 2px 0 0; font-size: 11.5px; letter-spacing: 0.02em; color: #64748b; }
.inv-title { text-align: right; }
.inv-title h2 { margin: 0; font-size: 30px; letter-spacing: 0.18em; font-weight: 800; color: #0f172a; }
.inv-number { margin: 4px 0 10px; font-size: 13px; color: #475569; font-weight: 600; letter-spacing: 0.02em; }
.inv-meta {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 28px 0;
    border-bottom: 1px solid #eef2f7;
}
.inv-parties { display: flex; flex-direction: column; gap: 22px; }
.inv-label { margin: 0 0 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #94a3b8; font-weight: 700; }
.inv-from p, .inv-billto p { margin: 0 0 4px; font-size: 12.5px; line-height: 1.6; color: #475569; }
.inv-strong { font-size: 14px !important; font-weight: 700; color: #0f172a !important; }
.inv-from a, .inv-billto a { color: #2563eb; text-decoration: none; }
.inv-facts { display: flex; flex-direction: column; gap: 9px; border-left: 1px solid #eef2f7; padding-left: 28px; }
.inv-facts .inv-label { margin-bottom: 2px; }
.inv-facts .inv-facts-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}
.inv-facts div { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.inv-facts > div:not(.inv-facts-actions) span { color: #64748b; }
.inv-facts b { color: #0f172a; font-weight: 600; text-align: right; }
.inv-items { width: 100%; border-collapse: collapse; margin-top: 26px; }
.inv-items th {
    padding: 11px 12px;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.inv-items td { padding: 14px 12px; font-size: 13px; color: #334155; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.inv-item-index { color: #94a3b8; font-size: 12px; }
.inv-item-name { display: block; font-weight: 600; color: #0f172a; }
.inv-item-group { display: block; margin-top: 2px; font-size: 11.5px; color: #64748b; }
.inv-totals { margin: 20px 0 0 auto; width: 320px; max-width: 100%; }
.inv-total-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 13px; color: #475569; }
.inv-total-discount { color: #15803d; }
.inv-grand { margin-top: 8px; padding-top: 14px; border-top: 2px solid #0f172a; font-size: 16px; font-weight: 800; color: #0f172a; }
.inv-note { margin-top: 30px; padding: 14px 16px; border-radius: 4px; background: #f8fafc; border: 1px solid #e5e7eb; }
.inv-note p { margin: 0 0 4px; font-size: 12px; color: #475569; line-height: 1.6; }
.inv-note p:last-child { margin-bottom: 0; }
.inv-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
}
.inv-actions-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* The invoice sheet is always white — keep the library status badges readable in dark theme. */
body[data-theme='dark'] .inv-sheet .lv-badge-status-success,
body[data-theme='dark'] .pdf-sheet .lv-badge-status-success { --lv-badge-bg: #ecfdf5; --lv-badge-fg: #047857; --lv-badge-dot: #059669; }
body[data-theme='dark'] .inv-sheet .lv-badge-status-error,
body[data-theme='dark'] .pdf-sheet .lv-badge-status-error { --lv-badge-bg: #fef2f2; --lv-badge-fg: #b91c1c; --lv-badge-dot: #dc2626; }
body[data-theme='dark'] .inv-sheet .lv-badge-status-warning,
body[data-theme='dark'] .pdf-sheet .lv-badge-status-warning { --lv-badge-bg: #fffbeb; --lv-badge-fg: #b45309; --lv-badge-dot: #d97706; }
body[data-theme='dark'] .inv-sheet .lv-badge-status-info,
body[data-theme='dark'] .pdf-sheet .lv-badge-status-info { --lv-badge-bg: #eff6ff; --lv-badge-fg: #1d4ed8; --lv-badge-dot: #2563eb; }
body[data-theme='dark'] .inv-sheet .lv-badge-status-neutral,
body[data-theme='dark'] .pdf-sheet .lv-badge-status-neutral { --lv-badge-bg: #f4f4f5; --lv-badge-fg: #3f3f46; --lv-badge-dot: #71717a; }
.inv-foot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    color: #94a3b8;
}
.inv-flash {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
    font-size: 13px;
}
/* ── Dedicated compact A4 sheet used for PDF + print ── */
.pdf-sheet {
    position: absolute;
    left: -10000px;
    top: 0;
    width: 794px;
    padding: 36px 40px;
    background: #ffffff;
    color: #111827;
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    box-sizing: border-box;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.pdf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pdf-brand { display: flex; align-items: center; gap: 12px; }
.pdf-logo { width: 40px; height: 40px; object-fit: contain; }
.pdf-brand-name { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; }
.pdf-brand-tag { margin: 2px 0 0; font-size: 9.5px; color: #64748b; }
.pdf-title { text-align: right; }
.pdf-title h2 { margin: 0; font-size: 24px; letter-spacing: 0.16em; font-weight: 800; color: #0f172a; }
.pdf-number { margin: 3px 0 6px; font-size: 11px; font-weight: 600; color: #475569; }
.pdf-rule { height: 1px; background: #e5e7eb; margin: 18px 0; }
.pdf-meta { display: grid; grid-template-columns: 1fr 250px; gap: 28px; padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; }
.pdf-label { margin: 0 0 6px; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #94a3b8; font-weight: 700; }
.pdf-meta p { margin: 0 0 2px; font-size: 10.5px; line-height: 1.5; color: #475569; }
.pdf-strong { font-size: 11.5px !important; font-weight: 700; color: #0f172a !important; }
.pdf-label-gap { margin-top: 14px !important; }
.pdf-facts { border-left: 1px solid #e5e7eb; padding-left: 22px; }
.pdf-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 10.5px; }
.pdf-facts span { color: #64748b; }
.pdf-facts b { color: #0f172a; font-weight: 600; text-align: right; }
.pdf-items { width: 100%; border-collapse: collapse; margin-top: 14px; }
.pdf-items th {
    padding: 7px 8px;
    text-align: left;
    font-size: 8.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    background: #f4f6f8;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.pdf-items td { padding: 9px 8px; font-size: 10.5px; color: #334155; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.pdf-item-index { color: #94a3b8; font-size: 9.5px; }
.pdf-item-name { display: block; font-weight: 600; color: #0f172a; }
.pdf-item-group { display: block; font-size: 9px; color: #64748b; }
.pdf-totals { width: 260px; margin: 12px 0 0 auto; }
.pdf-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 10.5px; color: #475569; }
.pdf-total-discount { color: #15803d; }
.pdf-grand { margin-top: 4px; padding-top: 8px; border-top: 1.5px solid #0f172a; font-size: 13px; font-weight: 800; color: #0f172a; }
.pdf-note { margin-top: 18px; padding-top: 12px; border-top: 1px solid #e5e7eb; }
.pdf-note p { margin: 0 0 3px; font-size: 9.5px; line-height: 1.55; color: #64748b; }
.pdf-note p:last-child { margin-bottom: 0; }
.pdf-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 8.5px;
    letter-spacing: 0.02em;
    color: #94a3b8;
}
@media (max-width: 900px) {
    .inv-meta { grid-template-columns: 1fr; gap: 22px; }
    .inv-facts { border-left: none; padding-left: 0; }
    .inv-title { text-align: left; }
    .inv-sheet { padding: 26px 22px; }
    .inv-totals { width: 100%; }
}
@media print {
    @page { size: A4; margin: 12mm; }
    .lv-sidebar, .lv-header, .lv-sidebar-overlay, .inv-toolbar, .inv-payments, .inv-flash, .no-print { display: none !important; }
    .lv-app-main { margin-left: 0 !important; }
    .lv-main { padding: 0 !important; }
    .cart-main { display: none !important; }
    body { background: #ffffff !important; }
    .content-wrap { padding: 0 !important; max-width: none !important; }
    .pdf-sheet {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        padding: 0 !important;
        display: block !important;
    }
}

/* ══ Header global search ══ */
.hdr-search-wrap { position: relative; flex: 0 1 360px; min-width: 240px; }
.hdr-search-wrap .lv-header-search { width: 360px; max-width: 100%; min-width: 0; }
.hdr-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 70;
    max-height: 430px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid var(--lv-border-muted);
    background: var(--lv-bg-surface-1);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
}
.hdr-search-group { padding: 8px 10px 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lv-text-tertiary); }
.hdr-search-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; text-decoration: none; color: var(--lv-text-primary); }
.hdr-search-item:hover { background: var(--lv-bg-surface-2); }
.hdr-search-item .lv-icon { flex-shrink: 0; color: var(--lv-text-tertiary); }
.hdr-search-text { display: flex; flex-direction: column; min-width: 0; }
.hdr-search-title { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-search-meta { font-size: 10.5px; color: var(--lv-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-search-empty { padding: 16px 10px; text-align: center; font-size: 12px; color: var(--lv-text-tertiary); }

/* ══ Dashboard stat card links ══ */
a.lv-stat-card { color: inherit; text-decoration: none; transition: transform 0.15s ease; }
a.lv-stat-card:hover { transform: translateY(-1px); }

/* ══ Help Center ══ */
.hc-hero { position: relative; justify-content: center; }
.hc-hero-title { margin: 10px 0 8px; font-size: 28px; line-height: 1.2; }
.hc-hero .lv-deck-desc { max-width: 58ch; margin-bottom: 18px; }
.hc-hero-dock { max-width: 560px; }
.hc-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hc-hero-chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hc-hero-chip .lv-icon { width: 12px; height: 12px; font-size: 12px; }

.hc-hero-art { display: none; }
@media (min-width: 1280px) {
    .hc-hero .hc-hero-art {
        display: block;
        position: absolute;
        top: 50%;
        right: 36px;
        width: 240px;
        height: 240px;
        margin-top: -120px;
        z-index: 0;
        pointer-events: none;
    }
    .hc-hero-art-orbit { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 50%; }
    .hc-hero-art-orbit.is-inner { inset: 52px; border-style: dashed; opacity: 0.75; }
    .hc-hero-art-core {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 72px;
        height: 72px;
        margin: -36px 0 0 -36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 0 44px rgba(8, 171, 245, 0.30);
        color: #eaf2ff;
    }
    .hc-hero-art-core .lv-icon { width: 30px; height: 30px; font-size: 30px; }
    .hc-hero-art-node {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(234, 242, 255, 0.78);
    }
    .hc-hero-art-node .lv-icon { width: 16px; height: 16px; font-size: 16px; }
    .hc-hero-art-node.is-chat { top: 4px; left: 50%; margin-left: -19px; }
    .hc-hero-art-node.is-guides { bottom: 16px; left: 6px; }
    .hc-hero-art-node.is-shield { bottom: 16px; right: 6px; }
}

.hc-ticket-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hc-filter-chips { flex-wrap: wrap; gap: 6px; }
.hc-result-count { margin: 0; overflow-wrap: anywhere; }
.hc-ticket-cell { display: flex; flex-direction: column; gap: 2px; max-width: 520px; min-width: 0; }
.hc-ticket-subject-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hc-ticket-subject { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--lv-text-primary); text-decoration: none; }
.hc-ticket-subject:hover { color: var(--lv-accent-500); }
.hc-ticket-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: transparent; }
.hc-ticket-dot.is-on { background: var(--lv-accent-500); }
.hc-ticket-meta { display: flex; align-items: center; gap: 6px; padding-left: 14px; font-size: 11px; color: var(--lv-text-tertiary); }
.hc-ticket-sep { color: var(--lv-border-strong); }
.hc-ticket-number { font-variant-numeric: tabular-nums; }

.hc-empty { padding: 52px 16px; }
.hc-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 50%; background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); color: var(--lv-accent-500); }
.hc-empty-icon .lv-icon { width: 22px; height: 22px; font-size: 22px; margin: 0; color: inherit; }
.hc-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

.hc-support-cards > .lv-card { display: flex; }
.hc-support-cards > .lv-card > .lv-explore-card { flex: 1 1 auto; }
.hc-support-cards .lv-explore-desc { font-size: 12.5px; }
a.lv-chip { text-decoration: none; }

/* ── Help center: guides instant search ── */
.hc-guides-card { padding: 18px; }
.hc-guides-dock { max-width: 100%; margin-bottom: 14px; }
.hc-guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hc-guide-item { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--lv-border-muted); border-radius: 10px; text-decoration: none; transition: border-color .15s, background .15s; }
.hc-guide-item:hover { border-color: var(--lv-accent-500); background: color-mix(in srgb, var(--lv-accent-500) 4%, transparent); }
.hc-guide-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; background: color-mix(in srgb, var(--lv-accent-500) 10%, transparent); color: var(--lv-accent-500); }
.hc-guide-icon .lv-icon { width: 16px; height: 16px; font-size: 16px; margin: 0; color: inherit; }
.hc-guide-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hc-guide-title { font-size: 13px; font-weight: 600; color: var(--lv-text-primary); line-height: 1.35; }
.hc-guide-meta { font-size: 11px; color: var(--lv-text-tertiary); }
.hc-guides-empty { padding: 8px 2px; }
.hc-guides-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 720px) { .hc-guides-grid { grid-template-columns: 1fr; } }


/* ══ Coming soon pages ══ */
.cs-page { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 1120px; min-height: calc(100vh - 132px); margin: 0 auto; }

.cs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 40px;
    padding: 16px 0 8px;
}
.cs-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lv-accent-500);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lv-accent-500) 14%, transparent);
}
.cs-title { margin: 18px 0 0; font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; color: var(--lv-text-primary); }
.cs-sub { margin: 14px 0 0; max-width: 54ch; font-size: 15px; line-height: 1.7; color: var(--lv-text-secondary); }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.cs-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 320px; }
.cs-visual::before {
    content: '';
    position: absolute;
    inset: 6%;
    background-image: radial-gradient(var(--lv-border-muted) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle, #000 0%, transparent 72%);
}
.cs-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--lv-accent-500) 20%, transparent) 0%, transparent 68%);
}
.cs-ring { position: absolute; border-radius: 50%; border: 1px solid var(--lv-border-muted); }
.cs-ring-outer { width: 276px; height: 276px; }
.cs-ring-inner { width: 176px; height: 176px; border-style: dashed; opacity: 0.8; }
.cs-core {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--lv-accent-400), var(--lv-accent-600));
    color: #ffffff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--lv-accent-500) 32%, transparent);
}
.cs-core .lv-icon { width: 44px; height: 44px; font-size: 44px; color: #ffffff; }
.cs-actions .lv-btn .lv-icon { width: 15px; height: 15px; font-size: 15px; color: inherit; }
.cs-float { position: absolute; z-index: 2; box-shadow: var(--lv-shadow-sm); cursor: default; }
.cs-float:hover { color: var(--lv-text-secondary); }
.cs-float .lv-icon { width: 13px; height: 13px; font-size: 13px; color: var(--lv-accent-500); }
.cs-float-1 { top: 20px; left: 0; }
.cs-float-2 { top: 44%; right: 0; }
.cs-float-3 { bottom: 24px; left: 10%; }

@media (max-width: 900px) {
    .cs-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .cs-visual { height: 260px; }
    .cs-glow { width: 260px; height: 260px; }
    .cs-ring-outer { width: 230px; height: 230px; }
    .cs-ring-inner { width: 150px; height: 150px; }
    .cs-core { width: 88px; height: 88px; border-radius: 20px; }
    .cs-core .lv-icon { width: 38px; height: 38px; font-size: 38px; }
    .cs-float-1 { left: 8px; }
    .cs-float-3 { left: 4px; }
}

@media (max-width: 640px) {
    .hdr-search-wrap { flex-basis: 100%; }
    .hc-hero-title { font-size: 22px; }
    .hc-ticket-cell { max-width: none; }
    .cs-title { font-size: 34px; }
    .cs-visual { height: 230px; }
    .cs-float { display: none; }
}

/* ─── No monospace fonts in the interface (CLAUDE.md rule 9) ───
   Codes, keys and references use the normal UI font, distinguished by weight,
   size, letter-spacing or colour instead. */
.lv-font-mono,
.lv-mono,
.hst-code,
.hst-log,
.mea-cell-mono-strong,
.mea-cell-mono-value,
.eapi-key-input,
code,
pre,
kbd,
samp,
[style*="--lv-font-mono"] {
    font-family: var(--lv-font-ui) !important;
}

