/* Shared dark command-center skin for Adgrowth.io public app pages. */

body.command-ui {
  --cmd-bg: #111936;
  --cmd-bg-soft: #172142;
  --cmd-surface: #1b2546;
  --cmd-surface-2: #22305a;
  --cmd-surface-3: #2a3a68;
  --cmd-border: rgba(172, 188, 230, 0.24);
  --cmd-border-strong: rgba(33, 243, 230, 0.34);
  --cmd-text: #edf6ff;
  --cmd-muted: #b4c0df;
  --cmd-muted-strong: #d6e0f8;
  --cmd-cyan: #21f3e6;
  --cmd-blue: #2aa8ff;
  --cmd-logo-blue: #28c7ff;
  --cmd-purple: #6f42ff;
  --cmd-green: #56f0a7;
  --cmd-lavender: #b7a8ff;
  --cmd-red: #f87171;
  --cmd-shadow: 0 20px 54px rgba(4, 10, 24, 0.24);

  --gp-color-bg: var(--cmd-bg);
  --gp-color-surface: var(--cmd-surface);
  --gp-color-border: var(--cmd-border);
  --gp-color-text: var(--cmd-text);
  --gp-color-muted: var(--cmd-muted);
  --gp-color-accent: var(--cmd-cyan);
  --gp-color-accent-dark: var(--cmd-blue);
  --gp-color-accent-soft: rgba(33, 243, 230, 0.12);

  --bg: var(--cmd-bg);
  --surface: var(--cmd-surface);
  --border: var(--cmd-border);
  --text: var(--cmd-text);
  --muted: var(--cmd-muted);
  --accent: var(--cmd-cyan);
  --accent-dark: var(--cmd-blue);
  --accent-light: rgba(33, 243, 230, 0.12);
  --accent-soft: rgba(33, 243, 230, 0.12);
  --primary: var(--cmd-cyan);
  --primary-dark: var(--cmd-blue);
  --primary-soft: rgba(33, 243, 230, 0.12);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --bot-bubble: var(--cmd-surface-2);
  --bot-text: var(--cmd-text);
  --user-bubble: linear-gradient(135deg, #17d7d9, #347cff);
  --user-text: #06101e;
  --success: var(--cmd-green);
  --success-bg: rgba(86, 240, 167, 0.12);
  --error: var(--cmd-red);
  --error-bg: rgba(255, 100, 124, 0.12);
  --warning: var(--cmd-lavender);
  --tag-bg: rgba(111, 66, 255, 0.16);
  --tag-text: #cfc4ff;

  color: var(--cmd-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(111, 66, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(40, 199, 255, 0.18), transparent 26%),
    radial-gradient(circle at 58% 96%, rgba(42, 168, 255, 0.13), transparent 32%),
    linear-gradient(135deg, #111936 0%, #192345 48%, #121b39 100%) !important;
}

body.command-ui:not(.dashboard-page) {
  min-height: 100vh;
}

body.command-ui:not(.dashboard-page) #app,
body.command-ui:not(.dashboard-page) .auth-shell,
body.command-ui:not(.dashboard-page) .reset-shell,
body.command-ui:not(.dashboard-page) .legal-main,
body.command-ui:not(.dashboard-page) .share-main,
body.command-ui:not(.dashboard-page) .seo-page {
  background: transparent !important;
}

body.command-ui:not(.dashboard-page) .header {
  background: rgba(18, 25, 51, 0.9) !important;
  border-bottom: 1px solid var(--cmd-border) !important;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26) !important;
  backdrop-filter: blur(18px);
}

body.command-ui:not(.dashboard-page) .header-inner {
  color: var(--cmd-text);
}

body.command-ui:not(.dashboard-page) .logo-link,
body.command-ui:not(.dashboard-page) .logo,
body.command-ui:not(.dashboard-page) .brand {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .logo-image,
body.command-ui:not(.dashboard-page) .brand-image,
body.command-ui:not(.dashboard-page) .topbar-logo-image {
  filter: drop-shadow(0 10px 26px rgba(33, 243, 230, 0.14));
}

body.command-ui:not(.dashboard-page) .workspace-shell {
  background: transparent !important;
  grid-template-columns: 188px minmax(0, 1fr);
}

body.command-ui:not(.dashboard-page) .ops-sidebar {
  background: rgba(19, 29, 57, 0.76) !important;
  border-right: 1px solid var(--cmd-border) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03) !important;
}

body.command-ui:not(.dashboard-page) .ops-link {
  color: var(--cmd-muted-strong) !important;
  background: transparent !important;
  border-color: transparent !important;
}

body.command-ui:not(.dashboard-page) .ops-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.command-ui:not(.dashboard-page) .ops-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(40, 199, 255, 0.2), rgba(111, 66, 255, 0.22)) !important;
  border-color: var(--cmd-border-strong) !important;
  box-shadow: 0 14px 30px rgba(33, 243, 230, 0.09);
}

body.command-ui:not(.dashboard-page) .ops-ico {
  color: var(--cmd-cyan);
}

body.command-ui:not(.dashboard-page) .page-content,
body.command-ui:not(.dashboard-page) .settings-main,
body.command-ui:not(.dashboard-page) .chat-container,
body.command-ui:not(.dashboard-page) .legal-main,
body.command-ui:not(.dashboard-page) .share-main {
  color: var(--cmd-text);
}

body.command-ui:not(.dashboard-page) .page-title,
body.command-ui:not(.dashboard-page) .settings-title,
body.command-ui:not(.dashboard-page) .dashboard-title,
body.command-ui:not(.dashboard-page) .section-title,
body.command-ui:not(.dashboard-page) .legal-hero h1,
body.command-ui:not(.dashboard-page) .legal-card h2,
body.command-ui:not(.dashboard-page) .auth-title,
body.command-ui:not(.dashboard-page) .reset-title,
body.command-ui:not(.dashboard-page) .biz-title,
body.command-ui:not(.dashboard-page) h1,
body.command-ui:not(.dashboard-page) h2,
body.command-ui:not(.dashboard-page) h3 {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .page-subtitle,
body.command-ui:not(.dashboard-page) .section-desc,
body.command-ui:not(.dashboard-page) .legal-hero p,
body.command-ui:not(.dashboard-page) .legal-card p,
body.command-ui:not(.dashboard-page) .legal-card li,
body.command-ui:not(.dashboard-page) .auth-copy,
body.command-ui:not(.dashboard-page) .mode-copy,
body.command-ui:not(.dashboard-page) .reset-subtitle,
body.command-ui:not(.dashboard-page) .biz-subtitle,
body.command-ui:not(.dashboard-page) .overview-text,
body.command-ui:not(.dashboard-page) .dashboard-copy,
body.command-ui:not(.dashboard-page) .card-owner,
body.command-ui:not(.dashboard-page) .card-services,
body.command-ui:not(.dashboard-page) .card-date,
body.command-ui:not(.dashboard-page) .account-helper,
body.command-ui:not(.dashboard-page) .account-id,
body.command-ui:not(.dashboard-page) .linked-at,
body.command-ui:not(.dashboard-page) .section-split p,
body.command-ui:not(.dashboard-page) .audit-hero p,
body.command-ui:not(.dashboard-page) .audit-reports-head p,
body.command-ui:not(.dashboard-page) .audit-score-note,
body.command-ui:not(.dashboard-page) .seo-theme-label,
body.command-ui:not(.dashboard-page) .sev-card .k,
body.command-ui:not(.dashboard-page) .fix-dialog p,
body.command-ui:not(.dashboard-page) .fix-dialog ol,
body.command-ui:not(.dashboard-page) .fix-dialog-meta,
body.command-ui:not(.dashboard-page) .history-row-meta,
body.command-ui:not(.dashboard-page) .issue-meta,
body.command-ui:not(.dashboard-page) .health-ring-sub,
body.command-ui:not(.dashboard-page) .metric-chip .sub,
body.command-ui:not(.dashboard-page) .metric-chip .label {
  color: var(--cmd-muted) !important;
}

body.command-ui:not(.dashboard-page) a {
  color: var(--cmd-cyan);
}

body.command-ui:not(.dashboard-page) .panel,
body.command-ui:not(.dashboard-page) .form-card,
body.command-ui:not(.dashboard-page) .settings-section,
body.command-ui:not(.dashboard-page) .integration-card,
body.command-ui:not(.dashboard-page) .account-card,
body.command-ui:not(.dashboard-page) .account-detail,
body.command-ui:not(.dashboard-page) .campaign-card,
body.command-ui:not(.dashboard-page) .empty-state,
body.command-ui:not(.dashboard-page) .share-card,
body.command-ui:not(.dashboard-page) .rec-variant,
body.command-ui:not(.dashboard-page) .platform-field,
body.command-ui:not(.dashboard-page) .benchmark-chip,
body.command-ui:not(.dashboard-page) .readonly-notice,
body.command-ui:not(.dashboard-page) .legal-hero,
body.command-ui:not(.dashboard-page) .legal-card,
body.command-ui:not(.dashboard-page) .auth-layout,
body.command-ui:not(.dashboard-page) .auth-card,
body.command-ui:not(.dashboard-page) .reset-card,
body.command-ui:not(.dashboard-page) .visual-card,
body.command-ui:not(.dashboard-page) .chat-container,
body.command-ui:not(.dashboard-page) .chat-stage,
body.command-ui:not(.dashboard-page) .onboarding-flow,
body.command-ui:not(.dashboard-page) .section-split,
body.command-ui:not(.dashboard-page) .input-area,
body.command-ui:not(.dashboard-page) .research-panel,
body.command-ui:not(.dashboard-page) .research-panel-inner,
body.command-ui:not(.dashboard-page) .mode-intro,
body.command-ui:not(.dashboard-page) .ad-mode-tab,
body.command-ui:not(.dashboard-page) .angle-panel,
body.command-ui:not(.dashboard-page) .angle-list li,
body.command-ui:not(.dashboard-page) .angle-cta,
body.command-ui:not(.dashboard-page) .manual-preview-card,
body.command-ui:not(.dashboard-page) .manual-counter,
body.command-ui:not(.dashboard-page) .spy-card,
body.command-ui:not(.dashboard-page) .spy-ad-item,
body.command-ui:not(.dashboard-page) .spy-inspired-card,
body.command-ui:not(.dashboard-page) .platform-settings-disclosure,
body.command-ui:not(.dashboard-page) .platform-settings-block,
body.command-ui:not(.dashboard-page) .setup-hint,
body.command-ui:not(.dashboard-page) .notifications-popover,
body.command-ui:not(.dashboard-page) .audit-hero,
body.command-ui:not(.dashboard-page) .audit-dashboard,
body.command-ui:not(.dashboard-page) .audit-scoreboard,
body.command-ui:not(.dashboard-page) .audit-reports,
body.command-ui:not(.dashboard-page) .seo-theme-card,
body.command-ui:not(.dashboard-page) .list-item,
body.command-ui:not(.dashboard-page) .metric-chip,
body.command-ui:not(.dashboard-page) .sev-card,
body.command-ui:not(.dashboard-page) .modal-card,
body.command-ui:not(.dashboard-page) dialog {
  background:
    linear-gradient(180deg, rgba(34, 45, 82, 0.94), rgba(25, 34, 65, 0.94)) !important;
  border-color: var(--cmd-border) !important;
  color: var(--cmd-text) !important;
  box-shadow: var(--cmd-shadow) !important;
}

body.command-ui:not(.dashboard-page) .settings-section {
  padding: 18px;
  border: 1px solid var(--cmd-border);
  border-radius: 14px;
}

body.command-ui:not(.dashboard-page) .integration-card,
body.command-ui:not(.dashboard-page) .campaign-card,
body.command-ui:not(.dashboard-page) .share-card,
body.command-ui:not(.dashboard-page) .legal-card,
body.command-ui:not(.dashboard-page) .auth-card,
body.command-ui:not(.dashboard-page) .reset-card,
body.command-ui:not(.dashboard-page) .list-item {
  position: relative;
}

body.command-ui:not(.dashboard-page) .integration-card::before,
body.command-ui:not(.dashboard-page) .campaign-card::before,
body.command-ui:not(.dashboard-page) .share-card::before,
body.command-ui:not(.dashboard-page) .legal-card::before,
body.command-ui:not(.dashboard-page) .auth-card::before,
body.command-ui:not(.dashboard-page) .reset-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

body.command-ui:not(.dashboard-page) .seo-side-submenu-link {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .seo-side-submenu-link:hover,
body.command-ui:not(.dashboard-page) .seo-side-submenu-link.active {
  color: var(--cmd-cyan) !important;
  border-left-color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .chat-container {
  border-radius: 0 !important;
}

body.command-ui:not(.dashboard-page) .chat-stage {
  background:
    radial-gradient(circle at 18% 0%, rgba(33, 243, 230, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(27, 37, 70, 0.95), rgba(18, 27, 55, 0.95)) !important;
}

body.command-ui:not(.dashboard-page) .chat-main {
  background: transparent !important;
}

body.command-ui:not(.dashboard-page) .onboarding-visual,
body.command-ui:not(.dashboard-page) .visual-blob {
  background:
    radial-gradient(circle at 50% 35%, rgba(33, 243, 230, 0.12), transparent 34%),
    rgba(19, 29, 57, 0.58) !important;
  border-color: var(--cmd-border) !important;
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .visual-blob p,
body.command-ui:not(.dashboard-page) .onboarding-title,
body.command-ui:not(.dashboard-page) .onboarding-step,
body.command-ui:not(.dashboard-page) .summary-chip {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .summary-chip {
  background: rgba(33, 243, 230, 0.1) !important;
  border-color: rgba(33, 243, 230, 0.22) !important;
}

body.command-ui:not(.dashboard-page) .summary-chip strong {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .messages {
  background: transparent !important;
}

body.command-ui:not(.dashboard-page) .msg-bubble,
body.command-ui:not(.dashboard-page) .message-bubble {
  border: 1px solid var(--cmd-border);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

body.command-ui:not(.dashboard-page) .msg-bubble h2,
body.command-ui:not(.dashboard-page) .msg-bubble p,
body.command-ui:not(.dashboard-page) .msg-bubble li,
body.command-ui:not(.dashboard-page) .msg-bubble strong,
body.command-ui:not(.dashboard-page) .msg-bubble em {
  color: inherit !important;
}

body.command-ui:not(.dashboard-page) .msg-row.bot .msg-bubble,
body.command-ui:not(.dashboard-page) .message-bubble.bot {
  background: rgba(34, 45, 82, 0.94) !important;
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .msg-row.user .msg-bubble,
body.command-ui:not(.dashboard-page) .message-bubble.user {
  background: linear-gradient(135deg, #17d7d9, #347cff) !important;
  color: #06101e !important;
  border-color: rgba(33, 243, 230, 0.42) !important;
}

body.command-ui:not(.dashboard-page) input,
body.command-ui:not(.dashboard-page) select,
body.command-ui:not(.dashboard-page) textarea,
body.command-ui:not(.dashboard-page) .input-box,
body.command-ui:not(.dashboard-page) .password-input-wrap,
body.command-ui:not(.dashboard-page) .field-value,
body.command-ui:not(.dashboard-page) .platform-output,
body.command-ui:not(.dashboard-page) .legal-table,
body.command-ui:not(.dashboard-page) .image-item {
  background: rgba(18, 27, 55, 0.78) !important;
  border-color: var(--cmd-border) !important;
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .platform-output {
  border-radius: 12px;
  padding: 10px 12px;
}

body.command-ui:not(.dashboard-page) .meta-push-panel,
body.command-ui:not(.dashboard-page) .meta-approval-preview div,
body.command-ui:not(.dashboard-page) .meta-asset-box {
  background: rgba(18, 27, 55, 0.78) !important;
  border-color: var(--cmd-border) !important;
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .meta-push-head,
body.command-ui:not(.dashboard-page) .meta-push-head strong,
body.command-ui:not(.dashboard-page) .meta-approval-preview strong,
body.command-ui:not(.dashboard-page) .meta-history-title,
body.command-ui:not(.dashboard-page) .meta-history-row strong {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .meta-push-head span,
body.command-ui:not(.dashboard-page) .meta-approval-preview span,
body.command-ui:not(.dashboard-page) .meta-asset-box p,
body.command-ui:not(.dashboard-page) .meta-history-empty,
body.command-ui:not(.dashboard-page) .meta-history-row,
body.command-ui:not(.dashboard-page) .meta-history-row span {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .meta-push-row {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .meta-push-row span:first-child,
body.command-ui:not(.dashboard-page) .meta-approval-grid label,
body.command-ui:not(.dashboard-page) .meta-asset-box label,
body.command-ui:not(.dashboard-page) .meta-approval-check {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .meta-history,
body.command-ui:not(.dashboard-page) .meta-history-row,
body.command-ui:not(.dashboard-page) .platform-settings-content,
body.command-ui:not(.dashboard-page) .spy-insights-panel,
body.command-ui:not(.dashboard-page) .spy-inspired-rationale,
body.command-ui:not(.dashboard-page) .angle-panel,
body.command-ui:not(.dashboard-page) .angle-list li,
body.command-ui:not(.dashboard-page) .angle-cta {
  border-color: rgba(146, 161, 204, 0.18) !important;
}

body.command-ui:not(.dashboard-page) .meta-review-warning {
  background: rgba(251, 146, 60, 0.12) !important;
  border-color: rgba(251, 146, 60, 0.32) !important;
  color: #fed7aa !important;
}

body.command-ui:not(.dashboard-page) .meta-review-ready {
  background: rgba(86, 240, 167, 0.12) !important;
  border-color: rgba(86, 240, 167, 0.28) !important;
  color: var(--cmd-green) !important;
}

body.command-ui:not(.dashboard-page) .pf-row {
  border-bottom-color: rgba(146, 161, 204, 0.18) !important;
}

body.command-ui:not(.dashboard-page) .pf-label,
body.command-ui:not(.dashboard-page) .pf-chars,
body.command-ui:not(.dashboard-page) .spy-ins-label,
body.command-ui:not(.dashboard-page) .spy-status-note,
body.command-ui:not(.dashboard-page) .spy-loading,
body.command-ui:not(.dashboard-page) .spy-threat,
body.command-ui:not(.dashboard-page) .spy-inspired-desc,
body.command-ui:not(.dashboard-page) .spy-inspired-cta,
body.command-ui:not(.dashboard-page) .spy-inspired-rationale,
body.command-ui:not(.dashboard-page) .platform-settings-empty,
body.command-ui:not(.dashboard-page) .platform-settings-summary small,
body.command-ui:not(.dashboard-page) .mode-intro,
body.command-ui:not(.dashboard-page) .mode-sublabel,
body.command-ui:not(.dashboard-page) .angle-desc,
body.command-ui:not(.dashboard-page) .angle-section-label,
body.command-ui:not(.dashboard-page) .section-hint,
body.command-ui:not(.dashboard-page) .angle-char,
body.command-ui:not(.dashboard-page) .manual-hint,
body.command-ui:not(.dashboard-page) .manual-preview-label,
body.command-ui:not(.dashboard-page) .preview-desc-text,
body.command-ui:not(.dashboard-page) .platform-field label,
body.command-ui:not(.dashboard-page) .char-count {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .pf-val,
body.command-ui:not(.dashboard-page) .mode-label,
body.command-ui:not(.dashboard-page) .manual-label,
body.command-ui:not(.dashboard-page) .angle-list li,
body.command-ui:not(.dashboard-page) .angle-cta,
body.command-ui:not(.dashboard-page) .angle-cta strong,
body.command-ui:not(.dashboard-page) .spy-name,
body.command-ui:not(.dashboard-page) .spy-inspired-headline,
body.command-ui:not(.dashboard-page) .platform-settings-summary {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .mode-intro {
  border-left-color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .ad-mode-tab:hover,
body.command-ui:not(.dashboard-page) .ad-mode-tab.active,
body.command-ui:not(.dashboard-page) .angle-tab:hover,
body.command-ui:not(.dashboard-page) .angle-tab.active {
  background: linear-gradient(135deg, rgba(33, 243, 230, 0.18), rgba(111, 66, 255, 0.2)) !important;
  border-color: var(--cmd-border-strong) !important;
  color: #ffffff !important;
}

body.command-ui:not(.dashboard-page) .ad-mode-tab.active .mode-label,
body.command-ui:not(.dashboard-page) .angle-tab.active {
  color: #ffffff !important;
}

body.command-ui:not(.dashboard-page) .mode-emoji,
body.command-ui:not(.dashboard-page) .manual-counter {
  background: rgba(33, 243, 230, 0.12) !important;
  border-color: rgba(33, 243, 230, 0.26) !important;
  color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .preview-ad-badge {
  background: rgba(86, 240, 167, 0.12) !important;
  border-color: rgba(86, 240, 167, 0.28) !important;
  color: var(--cmd-green) !important;
}

body.command-ui:not(.dashboard-page) .preview-url {
  color: #8ff7c3 !important;
}

body.command-ui:not(.dashboard-page) .preview-headline-text {
  color: #9fd8ff !important;
}

body.command-ui:not(.dashboard-page) .spy-counter,
body.command-ui:not(.dashboard-page) .spy-inspired-body {
  background: rgba(33, 243, 230, 0.08) !important;
  border-color: rgba(33, 243, 230, 0.22) !important;
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .spy-chip {
  background: rgba(33, 243, 230, 0.12) !important;
  border-color: rgba(33, 243, 230, 0.22) !important;
  color: #bffdf8 !important;
}

body.command-ui:not(.dashboard-page) .spy-chip.theme {
  background: rgba(86, 240, 167, 0.12) !important;
  border-color: rgba(86, 240, 167, 0.24) !important;
  color: var(--cmd-green) !important;
}

body.command-ui:not(.dashboard-page) .spy-chip.offer,
body.command-ui:not(.dashboard-page) .setup-hint,
body.command-ui:not(.dashboard-page) .setup-hint code {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.28) !important;
  color: #fde68a !important;
}

body.command-ui:not(.dashboard-page) .spy-link-btn {
  background: rgba(33, 243, 230, 0.1) !important;
  border-color: rgba(33, 243, 230, 0.24) !important;
  color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .spy-link-btn:hover {
  background: rgba(33, 243, 230, 0.2) !important;
  border-color: rgba(33, 243, 230, 0.5) !important;
  color: #ffffff !important;
}

body.command-ui:not(.dashboard-page) .platform-settings-summary::after {
  background: rgba(33, 243, 230, 0.12) !important;
  border: 1px solid rgba(33, 243, 230, 0.28) !important;
  color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .platform-settings-disclosure {
  border-color: rgba(33, 243, 230, 0.34) !important;
  box-shadow:
    0 0 0 1px rgba(33, 243, 230, 0.08),
    0 18px 42px rgba(33, 243, 230, 0.08) !important;
}

body.command-ui:not(.dashboard-page) .platform-settings-summary {
  background:
    linear-gradient(90deg, rgba(33, 243, 230, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035) !important;
  outline: none;
}

body.command-ui:not(.dashboard-page) .platform-settings-summary:hover,
body.command-ui:not(.dashboard-page) .platform-settings-summary:focus-visible {
  background:
    linear-gradient(90deg, rgba(33, 243, 230, 0.22), rgba(111, 66, 255, 0.12) 60%, transparent),
    rgba(255, 255, 255, 0.055) !important;
}

body.command-ui:not(.dashboard-page) .platform-settings-title::before {
  background: var(--cmd-cyan) !important;
  box-shadow:
    0 0 0 4px rgba(33, 243, 230, 0.14),
    0 0 18px rgba(33, 243, 230, 0.5) !important;
}

body.command-ui:not(.dashboard-page) .platform-settings-pill {
  background: rgba(33, 243, 230, 0.14) !important;
  border-color: rgba(33, 243, 230, 0.34) !important;
  color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .pf-val.over-limit,
body.command-ui:not(.dashboard-page) .pf-chars.over {
  color: var(--cmd-red) !important;
}

body.command-ui:not(.dashboard-page) input::placeholder,
body.command-ui:not(.dashboard-page) textarea::placeholder {
  color: rgba(200, 213, 242, 0.62) !important;
}

body.command-ui:not(.dashboard-page) input:focus,
body.command-ui:not(.dashboard-page) select:focus,
body.command-ui:not(.dashboard-page) textarea:focus,
body.command-ui:not(.dashboard-page) .input-box:focus {
  border-color: rgba(33, 243, 230, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(33, 243, 230, 0.12) !important;
  outline: none;
}

body.command-ui:not(.dashboard-page) label,
body.command-ui:not(.dashboard-page) .account-label,
body.command-ui:not(.dashboard-page) .field-label,
body.command-ui:not(.dashboard-page) .card-biz-name,
body.command-ui:not(.dashboard-page) .issue-title,
body.command-ui:not(.dashboard-page) .issue-title-line strong,
body.command-ui:not(.dashboard-page) .health-ring-value,
body.command-ui:not(.dashboard-page) .metric-chip .value,
body.command-ui:not(.dashboard-page) .sev-card .v,
body.command-ui:not(.dashboard-page) .seo-theme-score,
body.command-ui:not(.dashboard-page) .bm-value,
body.command-ui:not(.dashboard-page) .account-value {
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .primary-btn,
body.command-ui:not(.dashboard-page) .auth-submit,
body.command-ui:not(.dashboard-page) .new-campaign-btn,
body.command-ui:not(.dashboard-page) .try-btn,
body.command-ui:not(.dashboard-page) .send-btn,
body.command-ui:not(.dashboard-page) .card-action-btn.primary,
body.command-ui:not(.dashboard-page) .btn-connect,
body.command-ui:not(.dashboard-page) .btn-meta,
body.command-ui:not(.dashboard-page) .button-primary,
body.command-ui:not(.dashboard-page) #seo-analyze-btn,
body.command-ui:not(.dashboard-page) #seo-export-btn,
body.command-ui:not(.dashboard-page) #copy-blog-btn {
  background: linear-gradient(135deg, #17d7d9, #347cff) !important;
  border-color: rgba(33, 243, 230, 0.5) !important;
  color: #06101e !important;
  box-shadow: 0 14px 32px rgba(33, 243, 230, 0.16) !important;
}

body.command-ui:not(.dashboard-page) .logout-btn,
body.command-ui:not(.dashboard-page) .secondary-action,
body.command-ui:not(.dashboard-page) .bulk-delete-btn,
body.command-ui:not(.dashboard-page) .card-action-btn,
body.command-ui:not(.dashboard-page) .card-open-btn,
body.command-ui:not(.dashboard-page) .card-delete-btn,
body.command-ui:not(.dashboard-page) .mode-btn,
body.command-ui:not(.dashboard-page) .provider-btn,
body.command-ui:not(.dashboard-page) .platform-tab,
body.command-ui:not(.dashboard-page) .quick-reply-btn,
body.command-ui:not(.dashboard-page) .notifications-btn,
body.command-ui:not(.dashboard-page) .panel-close,
body.command-ui:not(.dashboard-page) .fix-issue-link,
body.command-ui:not(.dashboard-page) .seo-tab,
body.command-ui:not(.dashboard-page) .btn,
body.command-ui:not(.dashboard-page) .inline-text-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--cmd-border) !important;
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .mode-btn.active,
body.command-ui:not(.dashboard-page) .platform-tab.active,
body.command-ui:not(.dashboard-page) .quick-reply-btn.selected,
body.command-ui:not(.dashboard-page) .quick-reply-btn:hover,
body.command-ui:not(.dashboard-page) .seo-tab.active {
  background: linear-gradient(135deg, rgba(40, 199, 255, 0.2), rgba(111, 66, 255, 0.22)) !important;
  border-color: var(--cmd-border-strong) !important;
  color: #ffffff !important;
}

body.command-ui:not(.dashboard-page) button:disabled,
body.command-ui:not(.dashboard-page) .disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.command-ui:not(.dashboard-page) .chip,
body.command-ui:not(.dashboard-page) .status-badge,
body.command-ui:not(.dashboard-page) .card-meta-chip,
body.command-ui:not(.dashboard-page) .card-step-badge,
body.command-ui:not(.dashboard-page) .keyword-chip,
body.command-ui:not(.dashboard-page) .issue-category-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(33, 243, 230, 0.12) !important;
  color: #bffdf8 !important;
}

body.command-ui:not(.dashboard-page) .chip.ok,
body.command-ui:not(.dashboard-page) .status-connected,
body.command-ui:not(.dashboard-page) .step-done {
  background: rgba(86, 240, 167, 0.12) !important;
  color: var(--cmd-green) !important;
}

body.command-ui:not(.dashboard-page) .chip.warn,
body.command-ui:not(.dashboard-page) .status-loading,
body.command-ui:not(.dashboard-page) .step-research {
  background: rgba(111, 66, 255, 0.15) !important;
  color: var(--cmd-lavender) !important;
}

body.command-ui:not(.dashboard-page) .chip.err,
body.command-ui:not(.dashboard-page) .status-error,
body.command-ui:not(.dashboard-page) .status-disconnected,
body.command-ui:not(.dashboard-page) .step-intake {
  background: rgba(255, 100, 124, 0.13) !important;
  color: var(--cmd-red) !important;
}

body.command-ui:not(.dashboard-page) .legal-table th,
body.command-ui:not(.dashboard-page) .legal-table td {
  border-color: var(--cmd-border) !important;
  color: var(--cmd-muted-strong);
}

body.command-ui:not(.dashboard-page) .legal-table th {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--cmd-text);
}

body.command-ui:not(.dashboard-page) .site-footer {
  background: rgba(18, 25, 51, 0.95) !important;
  border-top: 1px solid var(--cmd-border) !important;
  color: var(--cmd-muted) !important;
}

body.command-ui:not(.dashboard-page) .site-footer a,
body.command-ui:not(.dashboard-page) .site-footer-brand {
  color: var(--cmd-muted-strong) !important;
}

body.command-ui:not(.dashboard-page) .health-ring {
  background: conic-gradient(var(--cmd-cyan) calc(var(--ring-value) * 1%), rgba(255, 255, 255, 0.08) 0) !important;
}

body.command-ui:not(.dashboard-page) .health-ring::before {
  background: var(--cmd-surface) !important;
}

body.command-ui:not(.dashboard-page) .audit-form,
body.command-ui:not(.dashboard-page) .health-shell,
body.command-ui:not(.dashboard-page) .health-metrics,
body.command-ui:not(.dashboard-page) .audit-severity,
body.command-ui:not(.dashboard-page) .market-insights,
body.command-ui:not(.dashboard-page) .competitor-links,
body.command-ui:not(.dashboard-page) .keyword-chip-wrap,
body.command-ui:not(.dashboard-page) .card-actions,
body.command-ui:not(.dashboard-page) .card-footer,
body.command-ui:not(.dashboard-page) .account-grid,
body.command-ui:not(.dashboard-page) .benchmarks-grid {
  min-width: 0;
}

body.command-ui:not(.dashboard-page) .competitor-links a {
  background: rgba(33, 243, 230, 0.1) !important;
  border-color: rgba(33, 243, 230, 0.24) !important;
  color: var(--cmd-cyan) !important;
}

body.command-ui:not(.dashboard-page) .auth-visual-side {
  background:
    radial-gradient(circle at 20% 18%, rgba(40, 199, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(111, 66, 255, 0.22), transparent 30%),
    linear-gradient(150deg, rgba(25, 34, 65, 0.94), rgba(18, 27, 55, 0.94)) !important;
}

body.command-ui:not(.dashboard-page) .visual-orb {
  display: none !important;
}

body.command-ui:not(.dashboard-page) .visual-grid {
  opacity: 0.2;
}

body.command-ui:not(.dashboard-page) .toast {
  background: rgba(25, 34, 65, 0.96) !important;
  border: 1px solid var(--cmd-border) !important;
  color: var(--cmd-text) !important;
}

body.command-ui:not(.dashboard-page) .research-panel.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  body.command-ui .workspace-shell {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.command-ui .ops-sidebar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 10px 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    border-right: 0 !important;
    border-bottom: 1px solid var(--cmd-border) !important;
    background: rgba(19, 29, 57, 0.86) !important;
  }

  body.command-ui .ops-sidebar::-webkit-scrollbar {
    display: none;
  }

  body.command-ui .ops-nav,
  body.command-ui .ops-nav-secondary {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.command-ui .ops-link {
    flex: 0 0 auto !important;
    min-height: 40px !important;
    padding: 8px 11px !important;
    border-radius: 999px !important;
    gap: 7px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.command-ui .ops-ico {
    width: 16px !important;
    font-size: 13px !important;
  }

  body.command-ui .seo-side-submenu {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  body.command-ui .seo-side-submenu-link {
    border-left: 0 !important;
    border-radius: 999px !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.04);
  }
}

@media (max-width: 640px) {
  body.command-ui .header-inner,
  body.command-ui.dashboard-page .header-inner,
  body.command-ui:not(.dashboard-page) .header-inner {
    padding-inline: 14px !important;
    min-height: 58px !important;
    height: auto !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  body.command-ui .logo,
  body.command-ui .logo-link,
  body.command-ui .brand,
  body.command-ui .topbar-left {
    flex: 0 1 auto !important;
    margin-right: auto !important;
    min-width: 0 !important;
  }

  body.command-ui .logo-image,
  body.command-ui .brand-image,
  body.command-ui .topbar-logo-image {
    width: min(142px, 44vw) !important;
    height: 44px !important;
  }

  body.command-ui .header-nav,
  body.command-ui .header-actions {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    margin-left: auto !important;
    min-width: 0 !important;
  }

  body.command-ui .logout-btn,
  body.command-ui .new-campaign-btn,
  body.command-ui .try-btn,
  body.command-ui .primary-action,
  body.command-ui .secondary-action {
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  body.command-ui .notifications-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 12px !important;
  }

  body.command-ui .workspace-shell,
  body.command-ui .page-content,
  body.command-ui .settings-main,
  body.command-ui .chat-container,
  body.command-ui .legal-main,
  body.command-ui .share-main,
  body.command-ui .auth-shell,
  body.command-ui .reset-shell {
    min-width: 0;
  }

  body.command-ui .page-content,
  body.command-ui .settings-main,
  body.command-ui .dashboard-page .page-content,
  body.command-ui.dashboard-page .page-content {
    padding: 20px 16px 32px !important;
  }

  body.command-ui .legal-main,
  body.command-ui .share-main,
  body.command-ui .auth-shell,
  body.command-ui .reset-shell {
    padding: 24px 16px 36px !important;
  }

  body.command-ui .page-title,
  body.command-ui .settings-title,
  body.command-ui .dashboard-title,
  body.command-ui .seo-page .page-title,
  body.command-ui .legal-hero h1,
  body.command-ui .auth-title,
  body.command-ui .reset-title {
    font-size: 32px !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  body.command-ui .page-subtitle,
  body.command-ui .section-desc,
  body.command-ui .legal-hero p,
  body.command-ui .legal-card p,
  body.command-ui .legal-card li,
  body.command-ui .integration-desc,
  body.command-ui .card-owner,
  body.command-ui .card-services {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body.command-ui .panel,
  body.command-ui .form-card,
  body.command-ui .settings-section,
  body.command-ui .integration-card,
  body.command-ui .account-card,
  body.command-ui .campaign-card,
  body.command-ui .share-card,
  body.command-ui .legal-hero,
  body.command-ui .legal-card,
  body.command-ui .auth-layout,
  body.command-ui .auth-card,
  body.command-ui .reset-card,
  body.command-ui .audit-hero,
  body.command-ui .audit-dashboard,
  body.command-ui .audit-scoreboard,
  body.command-ui .audit-reports,
  body.command-ui .list-item,
  body.command-ui .chat-stage {
    border-radius: 16px !important;
    padding: 16px !important;
  }

  body.command-ui .dashboard-grid,
  body.command-ui .analytics-layout,
  body.command-ui .analytics-bottom-grid,
  body.command-ui .insights-column,
  body.command-ui .split-list,
  body.command-ui .panel-grid,
  body.command-ui .form-grid,
  body.command-ui .account-grid,
  body.command-ui .campaigns-grid,
  body.command-ui .audit-grid,
  body.command-ui .audit-form,
  body.command-ui .market-insights,
  body.command-ui .seo-thematic-grid,
  body.command-ui .benchmarks-grid {
    grid-template-columns: 1fr !important;
  }

  body.command-ui .dashboard-hero,
  body.command-ui .section-header,
  body.command-ui .integration-header,
  body.command-ui .card-header,
  body.command-ui .card-footer,
  body.command-ui .integration-body,
  body.command-ui .campaign-bulk-actions,
  body.command-ui .issues-list-head,
  body.command-ui .health-shell,
  body.command-ui .status-content,
  body.command-ui .automation-summary {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.command-ui .integration-status-wrap,
  body.command-ui .status-badge,
  body.command-ui .card-step-badge {
    align-self: flex-start !important;
  }

  body.command-ui .card-actions,
  body.command-ui .hero-actions,
  body.command-ui .audit-input-row,
  body.command-ui .audit-controls,
  body.command-ui .audit-quick-actions,
  body.command-ui .connected-info {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.command-ui .audit-input-row,
  body.command-ui .audit-quick-actions {
    flex-direction: column !important;
  }

  body.command-ui .card-action-btn,
  body.command-ui .card-open-btn,
  body.command-ui .card-delete-btn,
  body.command-ui .bulk-delete-btn,
  body.command-ui .btn,
  body.command-ui .primary-btn,
  body.command-ui .provider-btn,
  body.command-ui .audit-input-row .primary-btn,
  body.command-ui .audit-quick-actions .primary-btn {
    justify-content: center !important;
    min-height: 42px !important;
  }

  body.command-ui .card-action-btn,
  body.command-ui .hero-actions a,
  body.command-ui .hero-actions button {
    flex: 1 1 140px !important;
  }

  body.command-ui .input-area {
    padding: 10px !important;
    gap: 8px !important;
  }

  body.command-ui .input-box {
    min-height: 46px !important;
    padding: 12px 14px !important;
  }

  body.command-ui .send-btn {
    width: 46px !important;
    height: 46px !important;
  }

  body.command-ui .site-footer-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 16px !important;
  }

  body.command-ui .site-footer-links {
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
  }
}

@media (max-width: 900px) {
  body.command-ui.chat-page,
  body.command-ui.chat-page #app {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
  }

  body.command-ui.chat-page .workspace-shell {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.command-ui.chat-page .ops-sidebar {
    flex: 0 0 auto !important;
  }

  body.command-ui.chat-page .chat-container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.command-ui.chat-page .chat-stage {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.command-ui.chat-page .chat-main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.command-ui.chat-page .messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.command-ui.chat-page .input-area {
    flex: 0 0 auto !important;
  }
}

@media (max-width: 420px) {
  body.command-ui .header-inner,
  body.command-ui.dashboard-page .header-inner,
  body.command-ui:not(.dashboard-page) .header-inner {
    padding-inline: 12px !important;
  }

  body.command-ui .logo-image,
  body.command-ui .brand-image,
  body.command-ui .topbar-logo-image {
    width: min(132px, 42vw) !important;
    height: 40px !important;
  }

  body.command-ui .page-content,
  body.command-ui .settings-main,
  body.command-ui.dashboard-page .page-content,
  body.command-ui .legal-main,
  body.command-ui .share-main,
  body.command-ui .auth-shell,
  body.command-ui .reset-shell {
    padding-inline: 12px !important;
  }

  body.command-ui .page-title,
  body.command-ui .settings-title,
  body.command-ui .dashboard-title,
  body.command-ui .seo-page .page-title,
  body.command-ui .legal-hero h1,
  body.command-ui .auth-title,
  body.command-ui .reset-title {
    font-size: 28px !important;
  }
}

/* Ada onboarding, tooltip, help mode, and checklist layer. */
body.command-ui .ada-help-dock,
body.command-ui .ada-checklist,
body.command-ui .ada-tooltip,
body.command-ui .ada-tour-popover,
body.command-ui .ada-spotlight,
body.command-ui .ada-hotspot {
  box-sizing: border-box;
  font-family: inherit;
}

body.command-ui .ada-help-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

body.command-ui .ada-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(33, 243, 230, 0.36);
  border-radius: 999px;
  padding: 9px 14px 9px 10px;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-blue));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

body.command-ui .ada-help-button:hover,
body.command-ui .ada-help-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(33, 243, 230, 0.2);
}

body.command-ui .ada-help-mark,
body.command-ui .ada-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-weight: 900;
}

body.command-ui .ada-help-mark {
  width: 24px;
  height: 24px;
  color: var(--cmd-text);
  background: rgba(18, 27, 55, 0.86);
}

body.command-ui .ada-avatar {
  width: 32px;
  height: 32px;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-lavender));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

body.command-ui .ada-help-panel {
  width: min(320px, calc(100vw - 28px));
  border: 1px solid rgba(172, 188, 230, 0.26);
  border-radius: 14px;
  padding: 14px;
  color: var(--cmd-text);
  background: rgba(25, 34, 65, 0.96);
  box-shadow: 0 22px 58px rgba(4, 10, 24, 0.36);
  backdrop-filter: blur(18px);
}

body.command-ui .ada-help-panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.command-ui .ada-help-panel strong,
body.command-ui .ada-checklist strong,
body.command-ui .ada-tour-popover h2,
body.command-ui .ada-tooltip strong {
  color: var(--cmd-text);
  letter-spacing: 0;
}

body.command-ui .ada-help-panel p,
body.command-ui .ada-checklist p,
body.command-ui .ada-tour-popover p,
body.command-ui .ada-tooltip span {
  margin: 4px 0 0;
  color: var(--cmd-muted-strong);
  font-size: 12px;
  line-height: 1.45;
}

body.command-ui .ada-help-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

body.command-ui .ada-help-actions button,
body.command-ui .ada-tour-actions button,
body.command-ui .ada-checklist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(172, 188, 230, 0.26);
  border-radius: 9px;
  padding: 7px 10px;
  color: var(--cmd-text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

body.command-ui .ada-help-actions button:hover,
body.command-ui .ada-tour-actions button:hover,
body.command-ui .ada-checklist a:hover {
  border-color: rgba(33, 243, 230, 0.42);
  background: rgba(33, 243, 230, 0.12);
}

body.command-ui .ada-help-chat {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border-top: 1px solid rgba(172, 188, 230, 0.18);
  padding-top: 12px;
}

body.command-ui .ada-help-chat[hidden] {
  display: none !important;
}

body.command-ui .ada-help-chat-log {
  display: grid;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
  border: 1px solid rgba(172, 188, 230, 0.18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(8, 16, 34, 0.42);
}

body.command-ui .ada-help-chat-msg {
  max-width: 92%;
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--cmd-text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.command-ui .ada-help-chat-msg.user {
  justify-self: end;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-blue));
  font-weight: 750;
}

body.command-ui .ada-help-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.command-ui .ada-help-chat-suggestions button {
  min-height: 28px;
  border: 1px solid rgba(33, 243, 230, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--cmd-cyan);
  background: rgba(33, 243, 230, 0.08);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

body.command-ui .ada-help-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

body.command-ui .ada-help-chat-input {
  min-width: 0;
  border: 1px solid rgba(172, 188, 230, 0.24);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--cmd-text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 12px;
  outline: none;
}

body.command-ui .ada-help-chat-input::placeholder {
  color: var(--cmd-muted);
}

body.command-ui .ada-help-chat-input:focus {
  border-color: rgba(33, 243, 230, 0.55);
  box-shadow: 0 0 0 3px rgba(33, 243, 230, 0.12);
}

body.command-ui .ada-help-chat-form button {
  min-height: 36px;
  border: 1px solid rgba(33, 243, 230, 0.38);
  border-radius: 10px;
  padding: 8px 11px;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-blue));
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

body.command-ui .ada-tooltip {
  position: fixed;
  z-index: 1420;
  display: grid;
  gap: 3px;
  width: min(292px, calc(100vw - 24px));
  border: 1px solid rgba(33, 243, 230, 0.32);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--cmd-text);
  background: rgba(25, 34, 65, 0.97);
  box-shadow: 0 18px 48px rgba(4, 10, 24, 0.36);
  pointer-events: none;
  backdrop-filter: blur(14px);
}

body.command-ui .ada-tooltip strong {
  font-size: 12px;
  font-weight: 900;
}

body.command-ui .ada-tooltip span {
  display: block;
}

body.command-ui .ada-hotspot {
  position: absolute;
  z-index: 1390;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-blue));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  cursor: help;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

body.command-ui .ada-hotspot:hover,
body.command-ui .ada-hotspot:focus-visible {
  transform: scale(1.08);
  outline: 2px solid rgba(33, 243, 230, 0.36);
  outline-offset: 2px;
}

body.command-ui.ada-tour-active {
  scroll-behavior: smooth;
}

body.command-ui .ada-spotlight {
  position: fixed;
  z-index: 1410;
  border: 2px solid var(--cmd-cyan);
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(8, 14, 32, 0.36), 0 0 34px rgba(33, 243, 230, 0.3);
  transition: left 160ms ease, top 160ms ease, width 160ms ease, height 160ms ease;
}

body.command-ui .ada-tour-popover {
  position: fixed;
  z-index: 1430;
  width: min(336px, calc(100vw - 24px));
  border: 1px solid rgba(33, 243, 230, 0.34);
  border-radius: 15px;
  padding: 14px;
  color: var(--cmd-text);
  background: rgba(25, 34, 65, 0.98);
  box-shadow: 0 24px 62px rgba(4, 10, 24, 0.4);
  backdrop-filter: blur(18px);
}

body.command-ui .ada-tour-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.command-ui .ada-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--cmd-cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.command-ui .ada-tour-popover h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

body.command-ui .ada-tour-popover > p {
  margin-top: 10px;
  font-size: 13px;
}

body.command-ui .ada-tour-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

body.command-ui .ada-tour-actions button {
  min-height: 32px;
}

body.command-ui .ada-tour-actions button.primary {
  border-color: transparent;
  color: #06101e;
  background: linear-gradient(135deg, var(--cmd-cyan), var(--cmd-blue));
}

body.command-ui .ada-tour-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

body.command-ui .ada-checklist {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 1380;
  width: min(380px, calc(100vw - 28px));
  max-height: min(640px, calc(100dvh - 112px));
  overflow: auto;
  border: 1px solid rgba(172, 188, 230, 0.26);
  border-radius: 16px;
  padding: 14px;
  color: var(--cmd-text);
  background: rgba(25, 34, 65, 0.97);
  box-shadow: 0 24px 62px rgba(4, 10, 24, 0.38);
  backdrop-filter: blur(18px);
}

body.command-ui .ada-checklist-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

body.command-ui .ada-checklist-head strong {
  display: block;
  font-size: 17px;
}

body.command-ui .ada-checklist-head button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(172, 188, 230, 0.26);
  border-radius: 8px;
  color: var(--cmd-muted-strong);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

body.command-ui .ada-checklist-copy {
  margin: 9px 0 12px;
}

body.command-ui .ada-checklist ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.command-ui .ada-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(172, 188, 230, 0.22);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.045);
}

body.command-ui .ada-checklist li.is-done {
  border-color: rgba(86, 240, 167, 0.3);
  background: rgba(86, 240, 167, 0.08);
}

body.command-ui .ada-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(172, 188, 230, 0.36);
  border-radius: 7px;
  color: #06101e;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

body.command-ui .ada-check[aria-pressed="true"] {
  border-color: transparent;
  background: var(--cmd-green);
}

body.command-ui .ada-checklist li strong {
  display: block;
  font-size: 13px;
}

body.command-ui .ada-checklist li p {
  margin: 3px 0 8px;
}

body.command-ui .ada-checklist a {
  justify-content: flex-start;
  width: fit-content;
  min-height: 30px;
  color: var(--cmd-cyan);
}

@media (max-width: 640px) {
  body.command-ui .ada-help-dock {
    right: 12px;
    bottom: 12px;
  }

  body.command-ui .ada-help-button {
    min-height: 40px;
    padding: 8px 12px 8px 9px;
  }

  body.command-ui .ada-help-panel {
    max-height: calc(100dvh - 82px);
    overflow: auto;
  }

  body.command-ui .ada-help-chat-log {
    max-height: 150px;
  }

  body.command-ui .ada-checklist {
    right: 12px;
    bottom: 68px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 96px);
  }

  body.command-ui .ada-tour-popover {
    max-height: calc(100dvh - 32px);
    overflow: auto;
  }

  body.command-ui .ada-tour-actions {
    grid-template-columns: 1fr 1fr;
  }

  body.command-ui .ada-tour-actions span {
    display: none;
  }

  body.command-ui .ada-tour-actions button {
    width: 100%;
  }
}
