/* ═══════════════════════════════════════════
   AI Hub Framework — Front-end Styles
   Dark Neon Futuristic Theme
   ═══════════════════════════════════════════ */

:root {
  --aihub-bg: #0a0a0f;
  --aihub-card: #111118;
  --aihub-card-hover: #16161f;
  --aihub-border: #1e1e2e;
  --aihub-border-glow: #2a2a3a;
  --aihub-text: #e8e8f0;
  --aihub-text-m: #8888a8;
  --aihub-text-l: #555570;
  --aihub-neon-cyan: #00e5ff;
  --aihub-neon-magenta: #ff00e5;
  --aihub-neon-green: #39ff14;
  --aihub-primary: #00e5ff;
  --aihub-radius: 10px;
  --aihub-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --aihub-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
  --aihub-glow-sm: 0 0 6px rgba(0,229,255,.15);
  --aihub-glow-md: 0 0 15px rgba(0,229,255,.2);
  --aihub-glow-lg: 0 0 30px rgba(0,229,255,.25);
  --aihub-modal-overlay: rgba(0,0,0,.8);

  background: var(--aihub-bg);
  color: var(--aihub-text);
  font-family: var(--aihub-font);
}

.aihub-theme-light {
  --aihub-bg: #f5f5fa;
  --aihub-card: #ffffff;
  --aihub-card-hover: #f0f0f5;
  --aihub-border: #e0e0e5;
  --aihub-border-glow: #d0d0d5;
  --aihub-text: #1a1a1f;
  --aihub-text-m: #666675;
  --aihub-text-l: #9999a5;
  --aihub-neon-cyan: #008080;
  --aihub-neon-magenta: #800080;
  --aihub-neon-green: #008000;
  --aihub-primary: #008080;
  --aihub-glow-sm: 0 0 6px rgba(0,128,128,.2);
  --aihub-glow-md: 0 0 15px rgba(0,128,128,.3);
  --aihub-glow-lg: 0 0 30px rgba(0,128,128,.4);
  --aihub-modal-overlay: rgba(0,0,0,.6);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--aihub-bg) !important;
  color: var(--aihub-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── WordPress page template background override ─────────────── */
/* Only loaded on pages with the [aihub_framework] shortcode      */
#page,
.site,
#content,
#main,
main,
.site-content,
.page-content,
.content-area,
.entry-content,
.wp-block-post-content,
.wp-site-blocks,
.is-layout-flow {
  background-color: var(--aihub-bg) !important;
  transition: background-color 0.3s ease;
}

#aihub-framework {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
  background-color: var(--aihub-bg);
  transition: background-color 0.3s ease;
}

/* ── Header ──────────────────────────────── */

.aihub-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.aihub-theme-toggle {
  background: transparent;
  border: 1px solid var(--aihub-border);
  border-radius: 6px;
  color: var(--aihub-text);
  font-size: 16px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.aihub-theme-toggle:hover {
  border-color: var(--aihub-neon-cyan);
  box-shadow: 0 0 8px rgba(0,229,255,.25);
}

/* ── Header ──────────────────────────────── */

.aihub-header {
  text-align: center;
  margin-bottom: 28px;
}

.aihub-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--aihub-neon-cyan);
  margin: 0 0 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0,229,255,.4), 0 0 60px rgba(0,229,255,.15);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.aihub-subtitle {
  font-size: 14px;
  color: var(--aihub-text-m);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ── Prescreening Modal ──────────────────── */

.aihub-prescreening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--aihub-modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.aihub-prescreening__inner {
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: var(--aihub-radius);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--aihub-glow-lg);
}

.aihub-prescreening-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--aihub-border);
  text-align: center;
}

.aihub-prescreening-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--aihub-text);
  margin: 0 0 8px;
}

.aihub-prescreening-subtitle {
  font-size: 14px;
  color: var(--aihub-text-m);
  margin: 0;
  line-height: 1.5;
}

.aihub-prescreening-body {
  padding: 20px 24px;
  color: var(--aihub-text);
}

.aihub-prescreening-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--aihub-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aihub-prescreening-btn {
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  color: var(--aihub-text);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.aihub-prescreening-btn:hover {
  border-color: var(--aihub-neon-cyan);
  box-shadow: var(--aihub-glow-sm);
}

.aihub-prescreening-btn--skip {
  color: var(--aihub-text-m);
}

.aihub-prescreening-btn--skip:hover {
  color: var(--aihub-text);
}

.aihub-prescreening-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Generic Modals ──────────────────────── */

.aihub-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aihub-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--aihub-modal-overlay);
}

.aihub-modal__content {
  position: relative;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: var(--aihub-radius);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--aihub-glow-lg);
  padding: 24px;
  color: var(--aihub-text);
}

.aihub-modal__content h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--aihub-text);
}

.aihub-modal__content p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.aihub-modal__content input,
.aihub-modal__content textarea,
.aihub-modal__content select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--aihub-border);
  border-radius: 6px;
  background: var(--aihub-card);
  color: var(--aihub-text);
  font-family: var(--aihub-font);
  box-sizing: border-box;
  margin-bottom: 12px;
}

.aihub-modal__content input:focus,
.aihub-modal__content textarea:focus,
.aihub-modal__content select:focus {
  border-color: var(--aihub-neon-cyan);
  outline: none;
  box-shadow: 0 0 8px rgba(0,229,255,.25);
}

.aihub-modal__content button {
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  color: var(--aihub-text);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--aihub-font);
  transition: all 0.2s;
  margin-right: 8px;
}

.aihub-modal__content button:hover {
  border-color: var(--aihub-neon-cyan);
  box-shadow: var(--aihub-glow-sm);
}

.aihub-modal__content button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Overall Maturity ────────────────────── */

.aihub-overall-maturity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--aihub-border);
  border-bottom: 1px solid var(--aihub-border);
  margin-bottom: 20px;
}

.aihub-overall-maturity__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--aihub-text);
  white-space: nowrap;
}

.aihub-overall-maturity__bar {
  flex: 1;
  height: 8px;
  background: var(--aihub-border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.aihub-overall-maturity__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aihub-neon-green), var(--aihub-neon-cyan));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.aihub-overall-maturity__score {
  font-size: 13px;
  font-weight: 700;
  color: var(--aihub-text);
  font-family: var(--aihub-mono);
  min-width: 24px;
  text-align: center;
}

/* ── Pillar Tabs ─────────────────────────── */

.aihub-tabs {
  display: flex;
  gap: 0;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: var(--aihub-radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--aihub-glow-sm);
}

.aihub-tab {
  flex: 1;
  padding: 12px 8px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--aihub-text-l);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--aihub-font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
}

.aihub-tab:hover {
  color: var(--pillar-color, var(--aihub-neon-cyan));
  background: color-mix(in srgb, var(--pillar-color, var(--aihub-neon-cyan)) 8%, transparent);
  text-shadow: 0 0 8px currentColor;
}

.aihub-tab--active {
  color: var(--pillar-color, var(--aihub-neon-cyan));
  border-bottom-color: var(--pillar-color, var(--aihub-neon-cyan));
  background: color-mix(in srgb, var(--pillar-color, var(--aihub-neon-cyan)) 6%, transparent);
  text-shadow: 0 0 10px currentColor;
}

.aihub-tab__icon {
  font-size: 16px;
}

.aihub-tab__count {
  font-size: 10px;
  font-weight: 700;
  background: var(--aihub-border);
  color: var(--aihub-text-l);
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 18px;
}

.aihub-tab--active .aihub-tab__count {
  background: var(--pillar-color, var(--aihub-neon-cyan));
  color: #000;
  box-shadow: 0 0 8px var(--pillar-color, var(--aihub-neon-cyan));
}

/* ── Search ──────────────────────────────── */

.aihub-search-wrap {
  margin-bottom: 8px;
}

.aihub-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--aihub-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--aihub-font);
  color: var(--aihub-text);
  background: var(--aihub-card);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.aihub-search:focus {
  border-color: var(--aihub-neon-cyan);
  box-shadow: 0 0 12px rgba(0,229,255,.2), 0 0 0 2px rgba(0,229,255,.1);
}

/* ── Filter Bar ──────────────────────────── */

.aihub-filter-bar {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Pre-screening filter notice */
.aihub-filter-bar__ps-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: color-mix(in srgb, var(--aihub-neon-cyan) 6%, var(--aihub-card));
  border: 1px solid color-mix(in srgb, var(--aihub-neon-cyan) 30%, transparent);
  border-radius: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}

.aihub-filter-bar__ps-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.aihub-filter-bar__ps-text {
  color: var(--aihub-text-m);
  flex: 1;
}

.aihub-filter-bar__ps-btn {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--aihub-neon-cyan);
  border-radius: 6px;
  color: var(--aihub-neon-cyan);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
}

.aihub-filter-bar__ps-btn:hover {
  background: color-mix(in srgb, var(--aihub-neon-cyan) 12%, transparent);
  box-shadow: 0 0 8px rgba(0,229,255,.25);
}

/* Tag exclusion filter row */
.aihub-filter-bar__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: 8px;
}

.aihub-filter-bar__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--aihub-text-l);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.aihub-filter-bar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
}

/* Individual tag filter button (exclusion toggle) */
.aihub-filter-tag {
  padding: 3px 9px;
  background: transparent;
  border: 1px solid var(--aihub-border);
  border-radius: 20px;
  color: var(--aihub-text-m);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--aihub-font);
  white-space: nowrap;
}

.aihub-filter-tag:hover {
  border-color: var(--aihub-neon-magenta);
  color: var(--aihub-neon-magenta);
  background: color-mix(in srgb, var(--aihub-neon-magenta) 8%, transparent);
}

/* Active = this tag is being excluded */
.aihub-filter-tag--active {
  background: color-mix(in srgb, var(--aihub-neon-magenta) 10%, var(--aihub-card));
  border-color: var(--aihub-neon-magenta);
  color: var(--aihub-neon-magenta);
  box-shadow: 0 0 8px rgba(255,0,229,.2);
}

.aihub-filter-tag--active:hover {
  background: color-mix(in srgb, var(--aihub-neon-magenta) 18%, var(--aihub-card));
}

/* Clear all button */
.aihub-filter-bar__clear {
  padding: 3px 10px;
  background: transparent;
  border: 1px solid var(--aihub-border-glow);
  border-radius: 6px;
  color: var(--aihub-text-l);
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  font-family: var(--aihub-font);
}

.aihub-filter-bar__clear:hover {
  color: var(--aihub-text);
  border-color: var(--aihub-text-m);
}

/* ── Panels (tab content) ────────────────── */

.aihub-panel[hidden] {
  display: none !important;
}

/* ── Items ───────────────────────────────── */

.aihub-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aihub-item {
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-left: 4px solid var(--pillar-color, var(--aihub-neon-cyan));
  border-radius: var(--aihub-radius);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.aihub-item:hover {
  box-shadow: 0 0 12px rgba(0,229,255,.08);
  border-color: var(--aihub-border-glow);
}

.aihub-item--open {
  border-color: color-mix(in srgb, var(--pillar-color, var(--aihub-neon-cyan)) 40%, var(--aihub-border));
  box-shadow: 0 0 20px color-mix(in srgb, var(--pillar-color, var(--aihub-neon-cyan)) 15%, transparent);
}

.aihub-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--aihub-font);
  text-align: left;
}

.aihub-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.aihub-item__priority {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--aihub-mono);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  text-shadow: 0 0 6px currentColor;
}

.aihub-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--aihub-text);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aihub-item__maturity-badge {
  display: none;
}

.aihub-item__chevron {
  color: var(--aihub-text-l);
  font-size: 11px;
  margin-left: 10px;
  transition: transform 0.2s;
}

.aihub-item--open .aihub-item__chevron {
  transform: rotate(180deg);
}

.aihub-item__body[hidden] {
  display: none;
}

.aihub-item__summary {
  font-size: 13px;
  color: var(--aihub-text);
  line-height: 1.6;
  margin: 0;
  padding: 0 18px 14px;
}

/* ── Tags ────────────────────────────────── */

.aihub-item__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 0 18px 14px;
}

.aihub-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--aihub-neon-cyan);
  background: color-mix(in srgb, var(--aihub-neon-cyan) 6%, var(--aihub-card));
  border: 1px solid color-mix(in srgb, var(--aihub-neon-cyan) 20%, var(--aihub-card));
  border-radius: 4px;
  padding: 2px 7px;
}

/* ── Sections (expanded) ─────────────────── */

.aihub-sections {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--aihub-border);
  margin-top: 4px;
  padding-top: 18px;
}

.aihub-section {
  background: color-mix(in srgb, var(--aihub-neon-cyan) 3%, var(--aihub-card));
  border: 1px solid var(--aihub-border);
  border-radius: 8px;
  padding: 16px;
}

.aihub-section__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--aihub-text);
  margin: 0 0 10px;
}

.aihub-section__content {
  font-size: 13px;
  color: var(--aihub-text);
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

/* Callout styling */
.aihub-section--callout .aihub-section__content {
  border-left: 3px solid var(--aihub-neon-magenta);
  padding: 12px 16px;
  background: color-mix(in srgb, var(--aihub-neon-magenta) 6%, var(--aihub-card));
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--aihub-text-m);
}

blockquote.aihub-section__content {
  margin: 0;
}

/* Path styling */
.aihub-section--path .aihub-section__content {
  font-family: var(--aihub-mono);
  font-size: 12px;
  background: #050510;
  color: var(--aihub-neon-green);
  padding: 10px 14px;
  border-radius: 6px;
  display: block;
  border: 1px solid rgba(57,255,20,.15);
  text-shadow: 0 0 6px rgba(57,255,20,.3);
}

code.aihub-section__content {
  display: block;
}

/* ── Actions list ────────────────────────── */

.aihub-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aihub-action {
  font-size: 13px;
  color: var(--aihub-text);
  padding: 8px 12px;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.aihub-action:hover {
  border-color: var(--aihub-neon-cyan);
  background: rgba(0,229,255,.04);
  box-shadow: 0 0 8px rgba(0,229,255,.1);
}

.aihub-action__check {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.aihub-action--done {
  color: var(--aihub-text);
  background: rgba(0,229,255,.07);
  border-color: rgba(0,229,255,.5);
  box-shadow: inset 3px 0 0 var(--aihub-neon-cyan);
}

/* ── Custom Actions ─────────────────────── */

.aihub-action__text { flex: 1; }

.aihub-action--custom {
  border-color: rgba(255,170,0,.25);
}
.aihub-action--custom:hover {
  border-color: rgba(255,170,0,.55);
  background: rgba(255,170,0,.04);
  box-shadow: 0 0 8px rgba(255,170,0,.08);
}

.aihub-custom-action__delete {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--aihub-text-l);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0 2px;
  opacity: .45;
  transition: opacity .15s, color .15s;
}
.aihub-custom-action__delete:hover { opacity: 1; color: #ff4d4d; }

.aihub-custom-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.aihub-custom-actions__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.aihub-custom-actions__add-row {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.aihub-custom-actions__input {
  flex: 1;
  background: var(--aihub-card);
  border: 1px dashed rgba(255,170,0,.3);
  border-radius: 6px;
  color: var(--aihub-text);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  transition: border-color .15s;
}
.aihub-custom-actions__input::placeholder { color: rgba(255,170,0,.45); font-style: italic; }
.aihub-custom-actions__input:focus { border-color: rgba(255,170,0,.6); }

.aihub-custom-actions__add-btn {
  background: none;
  border: 1px solid rgba(255,170,0,.4);
  border-radius: 6px;
  color: rgba(255,170,0,.85);
  cursor: pointer;
  font-size: 13px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: all .15s;
}
.aihub-custom-actions__add-btn:hover {
  background: rgba(255,170,0,.08);
  border-color: rgba(255,170,0,.7);
  color: rgb(255,170,0);
}

/* ── Image / Figure ──────────────────────── */

.aihub-figure {
  margin: 0;
}

.aihub-figure__img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--aihub-border);
}

.aihub-figure__caption {
  font-size: 11px;
  color: var(--aihub-text-l);
  margin-top: 6px;
  text-align: center;
}

/* ── Overall Maturity Bar ────────────────── */

.aihub-overall-maturity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(255,0,229,.04));
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 10px;
  margin-bottom: 16px;
}
.aihub-overall-maturity__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--aihub-neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0,229,255,.3);
}
.aihub-overall-maturity__bar {
  flex: 1;
  height: 8px;
  background: var(--aihub-border);
  border-radius: 4px;
  overflow: hidden;
}
.aihub-overall-maturity__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aihub-neon-cyan), var(--aihub-neon-magenta), var(--aihub-neon-green));
  border-radius: 4px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(0,229,255,.4);
}
.aihub-overall-maturity__score {
  font-size: 14px;
  font-weight: 700;
  color: var(--aihub-neon-cyan);
  font-family: var(--aihub-mono);
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0,229,255,.4);
  min-width: 55px;
  text-align: right;
}

/* ── Pillar Maturity Bar ─────────────────── */

.aihub-pillar-maturity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 12px;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: var(--aihub-radius);
  box-shadow: var(--aihub-glow-sm);
}
.aihub-pillar-maturity__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--aihub-text-m);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.aihub-pillar-maturity__bar {
  flex: 1;
  height: 6px;
  background: var(--aihub-border);
  border-radius: 3px;
  overflow: hidden;
}
.aihub-pillar-maturity__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aihub-neon-cyan), var(--aihub-neon-green));
  border-radius: 3px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(0,229,255,.3);
}
.aihub-pillar-maturity__score {
  font-size: 12px;
  font-weight: 700;
  color: var(--aihub-neon-cyan);
  font-family: var(--aihub-mono);
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0,229,255,.3);
}

/* ── Item Maturity Widget ────────────────── */

.aihub-maturity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 12px;
}

/* Header-compact variant — stacked column layout */
.aihub-maturity--header {
  padding: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 4px;
}
.aihub-maturity--header .aihub-maturity__levels {
  gap: 2px;
}
/* Desktop: pill buttons showing label text */
.aihub-maturity--header .aihub-maturity__dot {
  width: auto;
  height: 26px;
  padding: 0 9px;
  border-radius: 13px;
  font-size: 9px;
  font-family: var(--aihub-font);
  border-width: 1.5px;
  white-space: nowrap;
}
.aihub-maturity__dot-num { display: none; }
.aihub-maturity__dot-lbl { display: inline; font-weight: 700; letter-spacing: 0.2px; }
.aihub-maturity__prompt {
  font-size: 9px;
  font-style: italic;
  color: rgba(0,229,255,.4);
  font-family: var(--aihub-mono);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.aihub-maturity--header .aihub-maturity__text {
  font-size: 9px;
  text-align: right;
}
.aihub-maturity__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--aihub-text-m);
  white-space: nowrap;
}
.aihub-maturity__levels {
  display: flex;
  gap: 4px;
}
.aihub-maturity__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--aihub-border);
  background: transparent;
  color: var(--aihub-text-l);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--aihub-mono);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.aihub-maturity__dot:hover {
  border-color: var(--aihub-neon-cyan);
  color: var(--aihub-neon-cyan);
  box-shadow: 0 0 10px rgba(0,229,255,.25);
}
.aihub-maturity__dot--active {
  background: rgba(0,229,255,.15);
  border-color: var(--aihub-neon-cyan);
  color: var(--aihub-neon-cyan);
}
.aihub-maturity__dot--current {
  background: var(--aihub-neon-cyan);
  border-color: var(--aihub-neon-cyan);
  color: #000;
  box-shadow: 0 0 12px rgba(0,229,255,.4);
}
/* Default pre-fill style — dimmer, dashed border */
.aihub-maturity__dot--default {
  background: rgba(0,229,255,.05);
  border-color: rgba(0,229,255,.35);
  border-style: dashed;
  color: rgba(0,229,255,.6);
  box-shadow: none;
}
.aihub-maturity__dot--default.aihub-maturity__dot--current {
  background: rgba(0,229,255,.12);
  color: rgba(0,229,255,.75);
}
.aihub-maturity__text {
  font-size: 11px;
  font-weight: 600;
  color: var(--aihub-neon-cyan);
  font-family: var(--aihub-mono);
  text-shadow: 0 0 6px rgba(0,229,255,.3);
}
.aihub-maturity__text--default {
  color: rgba(0,229,255,.55);
  text-shadow: none;
  font-style: italic;
}
.aihub-maturity__text--prompt {
  color: rgba(0,229,255,.38);
  text-shadow: none;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* ── Maturity nudge banner ───────────────── */
.aihub-maturity-nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: color-mix(in srgb, var(--aihub-neon-cyan) 5%, var(--aihub-card));
  border: 1px dashed rgba(0,229,255,.35);
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}
.aihub-maturity-nudge--visible {
  opacity: 1;
  transform: translateY(0);
}
.aihub-maturity-nudge__icon {
  font-size: 16px;
  flex-shrink: 0;
}
.aihub-maturity-nudge__text {
  flex: 1;
  color: var(--aihub-text-m);
  line-height: 1.4;
}
.aihub-maturity-nudge__close {
  background: none;
  border: none;
  color: var(--aihub-text-l);
  font-size: 16px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.aihub-maturity-nudge__close:hover {
  color: var(--aihub-text);
}

/* ── Empty state ─────────────────────────── */

.aihub-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--aihub-text-l);
  font-size: 14px;
  background: var(--aihub-card);
  border: 1px solid var(--aihub-border);
  border-radius: var(--aihub-radius);
}

/* ── Add-to-plan button ──────────────────── */

.aihub-basket-add {
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 8px;
}
.aihub-basket-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--aihub-neon-cyan);
  background: transparent;
  color: var(--aihub-neon-cyan);
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  text-shadow: 0 0 6px rgba(0,229,255,.3);
}
.aihub-basket-add:hover {
  background: var(--aihub-neon-cyan);
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 14px rgba(0,229,255,.4);
}
.aihub-basket-add--active {
  background: var(--aihub-neon-cyan);
  color: #000;
  border-color: var(--aihub-neon-cyan);
  text-shadow: none;
  box-shadow: 0 0 10px rgba(0,229,255,.3);
}
.aihub-basket-add--active:hover {
  background: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 14px rgba(255,0,60,.4);
}
.aihub-basket-add--active:hover .aihub-basket-add__label::after {
  content: " — click to remove";
  font-weight: 400;
  font-size: 11px;
  opacity: .85;
}
.aihub-basket-add__icon { font-weight: 800; font-size: 14px; }

/* ── FAB — hidden (replaced by bottom bar) ── */

.aihub-basket-fab { display: none !important; }

/* ── Basket overlay — hidden (no longer used) ── */

.aihub-basket-overlay { display: none !important; }

/* ── Basket slide-out panel — hidden (replaced by bottom bar) ── */

.aihub-basket-panel { display: none !important; }

/* ═══════════════════════════════════════════
   Bottom Plan Bar
   ═══════════════════════════════════════════ */

.aihub-planbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none; /* children re-enable */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Gradient fade so content scrolls under smoothly */
.aihub-planbar__fade {
  height: 48px;
  background: linear-gradient(to bottom, transparent, #0a0e17);
  pointer-events: none;
}

/* The card itself */
.aihub-planbar__card {
  max-width: 900px;
  margin: 0 auto 12px;
  padding: 0 16px;
  pointer-events: all;
}

/* Inner card surface */
.aihub-planbar__card > .aihub-planbar__expanded,
.aihub-planbar__bar {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
}

.aihub-planbar__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5), 0 -1px 0 rgba(0,229,204,0.08);
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.2s;
}

.aihub-planbar__bar:hover {
  box-shadow: 0 -4px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,204,0.15);
}

/* When expanded, bar gets top border only (no bottom radius) */
.aihub-planbar--open .aihub-planbar__bar {
  border-radius: 0 0 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}

/* Count badge */
.aihub-planbar__count-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,229,204,0.12);
  border: 1px solid rgba(0,229,204,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aihub-planbar__count {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #00e5cc;
  line-height: 1;
}

/* Info: title + chips */
.aihub-planbar__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aihub-planbar__title {
  font-size: 13px;
  font-weight: 600;
  color: #e8edf5;
  line-height: 1.2;
}

.aihub-planbar__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 16px;
}

.aihub-planbar__cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #556677;
}

.aihub-planbar__cat-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Actions */
.aihub-planbar__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aihub-planbar__finish {
  background: #00e5cc;
  color: #0a0e17;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.15s;
}

.aihub-planbar__finish:hover {
  box-shadow: 0 0 16px rgba(0,229,204,0.35);
  transform: translateY(-1px);
}

/* ── Expanded content ───────────────────────── */

.aihub-planbar__expanded {
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.aihub-planbar--open .aihub-planbar__expanded {
  max-height: 400px;
}

/* Progress segments */
.aihub-planbar__progress {
  display: flex;
  gap: 4px;
  padding: 12px 18px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aihub-planbar__seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #1a2332;
  transition: background 0.3s;
}

.aihub-planbar__seg--full    { background: #00e5cc; }
.aihub-planbar__seg--partial { background: #f59e0b; }

/* Scrollable item list */
.aihub-planbar__list {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.aihub-planbar__list::-webkit-scrollbar { width: 4px; }
.aihub-planbar__list::-webkit-scrollbar-track { background: transparent; }
.aihub-planbar__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

/* Group headers */
.aihub-basket-group {
  margin-top: 10px;
  margin-bottom: 4px;
  padding-left: 10px;
}

/* ── Basket entries ──────────────────────── */

.aihub-basket-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.aihub-basket-entry:last-child { border-bottom: none; }

.aihub-basket-entry__title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #e8edf5;
  line-height: 1.4;
  word-break: break-word;
}

.aihub-basket-entry__prio {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.aihub-basket-entry__prio--critical { color: #ef4444; background: rgba(239,68,68,0.12); }
.aihub-basket-entry__prio--high     { color: #f59e0b; background: rgba(245,158,11,0.12); }
.aihub-basket-entry__prio--medium   { color: #00e5cc; background: rgba(0,229,204,0.1); }

.aihub-basket-entry__remove {
  background: none;
  border: none;
  color: #556677;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.aihub-basket-entry__remove:hover { color: #ef4444; }

.aihub-basket-entry__maturity {
  font-size: 8px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer inside expanded area */
.aihub-planbar__footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── PDF download button ─────────────────── */

.aihub-basket-pdf-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #00e5cc, #00b8aa);
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.5px;
  font-family: 'Outfit', -apple-system, sans-serif;
}
.aihub-basket-pdf-btn:hover {
  box-shadow: 0 0 20px rgba(0,229,204,0.4);
  transform: translateY(-1px);
}
.aihub-basket-pdf-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Email form ──────────────────────────── */

.aihub-lead-form__intro {
  font-size: 12px;
  color: #8899b0;
  margin: 0 0 12px;
  line-height: 1.4;
}
.aihub-lead-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.aihub-lead-form__input {
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  outline: none;
  background: #1a2332;
  color: #e8edf5;
  font-family: inherit;
}
.aihub-lead-form__input--full { grid-column: 1 / -1; }
.aihub-lead-form__input:focus {
  border-color: #00e5cc;
  box-shadow: 0 0 10px rgba(0,229,204,0.2);
}
.aihub-lead-form__input::placeholder { color: #556677; }
.aihub-lead-form__status {
  margin-top: 8px;
  font-size: 12px;
  min-height: 18px;
  color: #ef4444;
}

/* ── Slide-up entrance animation ───────────── */

@keyframes aihub-planbar-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.aihub-planbar.aihub-planbar--visible {
  animation: aihub-planbar-in 0.3s ease-out both;
}

/* ── Responsive label utilities ─────────── */
/* Default: show full label, hide short */
.aihub-label--short { display: none; }
.aihub-label--full  { display: inline; }

/* ── Mobile bottom bar redesign ─────────── */

@media (max-width: 600px) {
  /* Stack: row 1 = count + info, row 2 = actions full-width */
  .aihub-planbar__card    { margin-bottom: 8px; }
  .aihub-planbar__bar     { padding: 10px 14px; gap: 8px; flex-wrap: wrap; align-items: center; }
  .aihub-planbar__count-box { width: 36px; height: 36px; border-radius: 9px; }
  .aihub-planbar__count   { font-size: 16px; }
  .aihub-planbar__info    { flex: 1; min-width: 0; }
  .aihub-planbar__title   { font-size: 12px; }
  .aihub-planbar__cats    { display: none; }

  /* Actions: own full-width second row */
  .aihub-planbar__actions {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    gap: 6px;
  }

  /* Equal-width, compact buttons with short labels */
  .aihub-planbar__save,
  .aihub-planbar__share,
  .aihub-planbar__finish {
    flex: 1;
    min-width: 0;
    padding: 9px 6px;
    font-size: 11px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Switch to short labels inside buttons */
  .aihub-planbar__actions .aihub-label--full  { display: none; }
  .aihub-planbar__actions .aihub-label--short { display: inline; }

  /* Expanded panel adjustments */
  .aihub-planbar__list     { max-height: 220px; padding: 8px 14px; }
  .aihub-planbar__progress { padding: 10px 14px 6px; }
  .aihub-planbar__footer   { padding: 12px 14px; }
  .aihub-lead-form__fields { grid-template-columns: 1fr; }

  /* Raise help bubble above the bar */
  #aihub-help-bubble { bottom: 98px; right: 12px; }
  #aihub-help-panel  { bottom: 156px; right: 8px; width: auto; }
}

@media (max-width: 420px) {
  /* Icon-only help bubble on very small screens */
  #aihub-help-bubble {
    padding: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    bottom: 100px;
  }
  .aihub-help-bubble__label { display: none; }
  .aihub-help-bubble__icon  { font-size: 20px; line-height: 1; }
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 640px) {
  .aihub-tabs {
    flex-wrap: wrap;
  }
  .aihub-tab {
    flex: 0 0 auto;
    min-width: 45%;
    padding: 8px 10px;
    font-size: 12px;
    gap: 4px;
    justify-content: center;
  }
  .aihub-tab__icon { font-size: 14px; }
  .aihub-tab__name { font-size: 11px; }
  .aihub-tab__count { font-size: 9px; padding: 0 5px; }

  /* ── Stacked item header ────────────────── */
  .aihub-item__header {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 8px;
  }

  /* Top row: priority + title fill full width */
  .aihub-item__left {
    flex: 1 1 100%;
    min-width: 0;
    order: 1;
  }
  .aihub-item__title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 14px;
    line-height: 1.4;
  }

  /* Bottom row: maturity (pill + dots), add-to-plan, chevron */
  .aihub-maturity--header {
    order: 2;
    margin-left: 0;
    flex: 1 1 auto;
    gap: 8px;
  }
  /* Compact dots on mobile */
  .aihub-maturity--header .aihub-maturity__levels {
    display: flex;
    gap: 3px;
  }
  .aihub-maturity--header .aihub-maturity__dot {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  /* Show maturity as a pill with number + text */
  .aihub-maturity--header .aihub-maturity__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    min-width: auto;
    text-align: left;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.06);
    white-space: nowrap;
  }

  .aihub-basket-add {
    order: 3;
    margin-left: auto;
    margin-right: 0;
  }
  .aihub-basket-add__label { display: none; }
  .aihub-basket-add { padding: 5px 8px; }

  .aihub-item__chevron {
    order: 4;
    margin-left: 4px;
  }

  .aihub-item__summary { padding: 0 14px 12px; }
  .aihub-item__tags { padding: 0 14px 12px; }
  .aihub-sections { padding: 0 14px 14px; padding-top: 14px; }
  .aihub-title { font-size: 22px; }
  .aihub-basket-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .aihub-basket-fab__icon { font-size: 20px; }
  .aihub-basket-panel { width: 100vw; }
  .aihub-maturity { padding: 6px 14px 10px; gap: 6px; flex-wrap: wrap; }
  /* Mobile: revert to numbered circles */
  .aihub-maturity--header .aihub-maturity__dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    font-family: var(--aihub-mono);
  }
  .aihub-maturity__dot-num { display: inline; }
  .aihub-maturity__dot-lbl { display: none; }
  .aihub-maturity__dot { width: 24px; height: 24px; font-size: 10px; }
  .aihub-pillar-maturity { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .aihub-overall-maturity { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .aihub-overall-maturity__score { min-width: auto; }
}

/* ═══════════════════════════════════════════
   Your Thoughts (per-item notes)
   ═══════════════════════════════════════════ */

.aihub-thoughts {
  border-top: 1px solid var(--aihub-border) !important;
  margin: 14px 0 0 0 !important;
  padding: 18px 0 0 0 !important;
  position: relative;
  box-sizing: border-box;
}

.aihub-thoughts__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--aihub-neon-cyan);
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.aihub-thoughts__input {
  display: block;
  width: 100% !important;
  min-height: 80px;
  padding: 14px 16px !important;
  font-size: 13px;
  font-family: var(--aihub-font);
  line-height: 1.6;
  color: var(--aihub-text);
  background: var(--aihub-bg);
  border: 1px solid var(--aihub-border);
  border-left: 3px solid rgba(0, 229, 255, 0.25);
  border-radius: 0 8px 8px 0;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  box-sizing: border-box;
  margin: 0 !important;
  max-width: 100%;
}

.aihub-thoughts__input::placeholder {
  color: var(--aihub-text-l);
  font-style: italic;
}

.aihub-thoughts__input:focus {
  border-color: var(--aihub-neon-cyan);
  border-left-color: var(--aihub-neon-cyan);
  background: rgba(0, 229, 255, 0.02);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.12), 0 0 0 1px rgba(0, 229, 255, 0.08), inset 0 0 30px rgba(0, 229, 255, 0.02);
}

.aihub-thoughts__input:not(:placeholder-shown) {
  border-left-color: var(--aihub-neon-cyan);
}

@media (max-width: 640px) {
  .aihub-thoughts { padding: 0 14px 14px; padding-top: 12px; }
  .aihub-thoughts__input { min-height: 60px; font-size: 12px; padding: 12px 14px; }
}

/* Next item / Next pillar button */
.aihub-item__next-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 4px 20px 20px;
}

.aihub-item__next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--aihub-neon-cyan);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.aihub-item__next:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--aihub-neon-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* ═══════════════════════════════════════════
   Pre-Screening Survey
   ═══════════════════════════════════════════ */

.aihub-prescreening-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.03) 0%, rgba(5, 5, 10, 0.98) 70%);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
  font-family: var(--aihub-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.aihub-prescreening-overlay[hidden] {
  display: none !important;
}

.aihub-prescreening-card {
  width: 100%;
  max-width: 580px;
  background: #0c0c14;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 16px;
  box-shadow:
    0 0 60px rgba(0, 229, 255, 0.08),
    0 0 120px rgba(0, 229, 255, 0.04),
    inset 0 1px 0 rgba(0, 229, 255, 0.08);
  overflow: hidden;
  animation: aihub-ps-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Subtle scan-line overlay */
.aihub-prescreening-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.008) 2px,
    rgba(0, 229, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 16px;
}

@keyframes aihub-ps-card-in {
  from { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.aihub-prescreening-header {
  padding: 32px 32px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  position: relative;
  z-index: 2;
}

.aihub-prescreening-title {
  font-size: 24px;
  font-weight: 800;
  color: #00e5ff;
  margin: 0 0 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.2);
}

.aihub-prescreening-subtitle {
  font-size: 13px;
  color: #8888a8;
  margin: 0;
  line-height: 1.5;
}

/* ── Progress Bar ──────────────────────── */

.aihub-prescreening-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  background: rgba(0, 229, 255, 0.02);
  position: relative;
  z-index: 2;
}

.aihub-prescreening-progress__bar {
  flex: 1;
  height: 6px;
  background: #1a1a28;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.aihub-prescreening-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #00b8d4, #39ff14);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.2);
  position: relative;
}

.aihub-prescreening-progress__fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff, 0 0 16px rgba(0, 229, 255, 0.4);
}

.aihub-prescreening-progress__text {
  font-size: 11px;
  font-weight: 700;
  color: #00e5ff;
  white-space: nowrap;
  font-family: 'SF Mono', 'Consolas', monospace;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
  letter-spacing: 0.3px;
}

/* ── Question Body ─────────────────────── */

.aihub-prescreening-body {
  padding: 28px 32px;
  min-height: 220px;
  position: relative;
  z-index: 2;
}

.aihub-ps-question-active {
  animation: aihub-ps-q-in 0.35s ease;
}

@keyframes aihub-ps-q-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.aihub-ps-question-text {
  font-size: 18px;
  font-weight: 700;
  color: #e8e8f0;
  margin: 0 0 24px;
  line-height: 1.4;
}

.aihub-ps-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aihub-ps-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: rgba(10, 10, 15, 0.8);
  border: 1.5px solid #1e1e2e;
  border-left: 3px solid #1e1e2e;
  border-radius: 0 10px 10px 0;
  color: #e8e8f0;
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.aihub-ps-option-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.04) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.aihub-ps-option-btn:hover {
  border-color: rgba(0, 229, 255, 0.3);
  border-left-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.08), inset 0 0 30px rgba(0, 229, 255, 0.02);
  transform: translateX(2px);
}

.aihub-ps-option-btn:hover::before {
  opacity: 1;
}

.aihub-ps-option-btn--selected {
  border-color: rgba(0, 229, 255, 0.4);
  border-left-color: #00e5ff;
  background: rgba(0, 229, 255, 0.06);
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.1),
    0 0 40px rgba(0, 229, 255, 0.04),
    inset 0 0 40px rgba(0, 229, 255, 0.03);
}

.aihub-ps-option-btn--selected::before {
  opacity: 1;
}

.aihub-ps-option-btn--selected:hover {
  border-color: rgba(0, 229, 255, 0.5);
  border-left-color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
}

.aihub-ps-option-indicator {
  font-size: 18px;
  color: #3a3a50;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: all 0.2s;
}

.aihub-ps-option-btn--selected .aihub-ps-option-indicator {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
}

.aihub-ps-option-label {
  flex: 1;
  line-height: 1.4;
}

/* ── Footer Buttons ────────────────────── */

.aihub-prescreening-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px 22px;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  background: rgba(0, 229, 255, 0.01);
  position: relative;
  z-index: 2;
}

.aihub-prescreening-footer > div {
  display: flex;
  gap: 10px;
}

.aihub-prescreening-btn {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 11px;
}

.aihub-prescreening-btn--skip {
  background: transparent;
  color: #555570;
  border-color: transparent;
  text-transform: none;
  font-size: 12px;
  font-weight: 500;
}

.aihub-prescreening-btn--skip:hover {
  color: #8888a8;
  text-shadow: 0 0 6px rgba(136, 136, 168, 0.3);
}

.aihub-prescreening-btn--back {
  background: transparent;
  color: #8888a8;
  border-color: #1e1e2e;
}

.aihub-prescreening-btn--back:hover:not(:disabled) {
  border-color: rgba(0, 229, 255, 0.3);
  color: #00e5ff;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

.aihub-prescreening-btn--back:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.aihub-prescreening-btn--next {
  background: linear-gradient(135deg, #00e5ff, #00b8d4);
  color: #000;
  border-color: transparent;
  min-width: 110px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.aihub-prescreening-btn--next:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.5), 0 0 48px rgba(0, 229, 255, 0.15);
  transform: translateY(-1px);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.aihub-prescreening-btn--next:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  background: #1e1e2e;
  color: #555570;
}

/* ── Toast notification ────────────────── */

.aihub-ps-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00e5ff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15), 0 0 60px rgba(0, 229, 255, 0.05), inset 0 0 40px rgba(0, 229, 255, 0.03);
  pointer-events: none;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
}

.aihub-ps-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Reset survey button ───────────────── */

.aihub-basket-reset-survey {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  color: #555570;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.aihub-basket-reset-survey:hover {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.1);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

/* ── Pre-screening responsive ──────────── */

@media (max-width: 640px) {
  .aihub-prescreening-card {
    max-width: 100%;
    border-radius: 12px;
  }
  .aihub-prescreening-card::before {
    border-radius: 12px;
  }
  .aihub-prescreening-header {
    padding: 24px 20px 18px;
  }
  .aihub-prescreening-title {
    font-size: 18px;
    letter-spacing: 1px;
  }
  .aihub-prescreening-body {
    padding: 20px;
    min-height: 160px;
  }
  .aihub-ps-question-text {
    font-size: 15px;
  }
  .aihub-ps-option-btn {
    padding: 12px 14px;
    font-size: 13px;
  }
  .aihub-prescreening-footer {
    padding: 14px 20px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .aihub-prescreening-progress {
    padding: 12px 20px;
  }
}

/* ═══════════════════════════════════════════
   AI Hub — Hero Landing Section
   ═══════════════════════════════════════════ */

.aihub-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0e17;
  overflow: hidden;
  padding: 60px 24px;
  box-sizing: border-box;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Grid pattern */
.aihub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,204,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,204,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

/* Radial glow orb */
.aihub-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,204,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.aihub-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  text-align: center;
}

/* Eyebrow */
.aihub-hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.aihub-hero__eyebrow-text {
  font-size: 11px;
  font-variant: small-caps;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #00e5cc;
  text-transform: uppercase;
  white-space: nowrap;
}

.aihub-hero__eyebrow-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,204,0.4), transparent);
}

/* Headline */
.aihub-hero__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #e8edf5;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-style: normal;
}

.aihub-hero__accent {
  color: #00e5cc;
  font-style: normal;
}

/* Subtitle */
.aihub-hero__subtitle {
  font-size: 17px;
  color: #8899b0;
  line-height: 1.65;
  margin: 0 auto 40px;
  max-width: 600px;
}

/* Value props */
.aihub-hero__props {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.aihub-hero__prop {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 18px;
}

.aihub-hero__prop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0,229,204,0.1);
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

.aihub-hero__prop-label {
  font-size: 13px;
  font-weight: 600;
  color: #e8edf5;
  white-space: nowrap;
}

/* CTA */
.aihub-hero__cta-group {
  margin-bottom: 48px;
}

.aihub-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00e5cc;
  color: #0a0e17;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(0,229,204,0.2), 0 4px 16px rgba(0,0,0,0.3);
  transition: box-shadow 0.25s, transform 0.2s;
}

.aihub-hero__cta:hover {
  box-shadow: 0 0 40px rgba(0,229,204,0.35), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
  color: #0a0e17;
  text-decoration: none;
}

.aihub-hero__cta-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.aihub-hero__cta:hover .aihub-hero__cta-arrow {
  transform: translateX(4px);
}

.aihub-hero__resume {
  margin: 16px 0 0;
  font-size: 13px;
  color: #556677;
}

.aihub-hero__resume-link {
  color: #00e5cc;
  text-decoration: none;
  font-weight: 500;
}

.aihub-hero__resume-link:hover {
  text-decoration: underline;
}

/* Preview card */
.aihub-hero__preview {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.aihub-hero__preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.aihub-hero__preview-label {
  font-size: 12px;
  font-weight: 600;
  color: #8899b0;
  letter-spacing: 0.04em;
}

.aihub-hero__preview-badge {
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 3px 10px;
}

.aihub-hero__preview-bars {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aihub-hero__bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aihub-hero__bar-label {
  font-size: 12px;
  color: #8899b0;
  width: 100px;
  min-width: 100px;
  text-align: right;
  white-space: nowrap;
}

.aihub-hero__bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.aihub-hero__bar-fill {
  height: 100%;
  border-radius: 4px;
}

.aihub-hero__bar-fill--green  { background: #22c55e; }
.aihub-hero__bar-fill--cyan   { background: #00e5cc; }
.aihub-hero__bar-fill--amber  { background: #f59e0b; }
.aihub-hero__bar-fill--red    { background: #ef4444; }

.aihub-hero__bar-score {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #e8edf5;
  min-width: 36px;
  text-align: right;
}

/* ── Hero responsive ─────────────────────── */
@media (max-width: 600px) {
  .aihub-hero {
    padding: 48px 16px;
    min-height: 100svh;
  }

  .aihub-hero__props {
    flex-direction: column;
    align-items: center;
  }

  .aihub-hero__prop {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }

  .aihub-hero__preview {
    max-width: 100%;
  }

  .aihub-hero__bar-label {
    width: 80px;
    min-width: 80px;
    font-size: 10px;
  }

  .aihub-hero__subtitle {
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════
   AI Hub — Completion Summary Screen
   ═══════════════════════════════════════════ */

@keyframes aihub-sum-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aihub-summary {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0a0e17;
  overflow-y: auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-overflow-scrolling: touch;
}

.aihub-summary__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Animated section base */
.aihub-summary__anim {
  opacity: 0;
  animation: aihub-sum-fadein 0.4s ease both;
  animation-delay: var(--anim-delay, 0s);
}

/* ── Shared card ─────────────────────────── */
.aihub-summary__section { }

.aihub-summary__card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 22px 24px;
}

.aihub-summary__card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #556677;
  margin: 0 0 18px;
  text-align: center;
}

.aihub-summary__card-title--amber { color: #f59e0b; }

/* ── Hero section ────────────────────────── */
.aihub-summary__hero {
  text-align: center;
  padding: 32px 24px 20px;
  position: relative;
}

.aihub-summary__hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,204,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.aihub-summary__hero > * { position: relative; z-index: 1; }

.aihub-summary__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.3);
  color: #22c55e;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.aihub-summary__headline {
  font-size: 26px;
  font-weight: 700;
  color: #e8edf5;
  margin: 0 0 10px;
  line-height: 1.2;
}

.aihub-summary__headline .aihub-sum-cyan { color: #00e5cc; }

.aihub-summary__subline {
  font-size: 14px;
  color: #8899b0;
  margin: 0 0 10px;
  line-height: 1.55;
}

.aihub-summary__tagline {
  font-size: 13px;
  color: #556677;
  margin: 0;
}

/* ── Stats row ───────────────────────────── */
.aihub-summary__stats {
  display: flex;
  gap: 16px;
}

.aihub-summary__stat-card {
  flex: 1;
  min-width: 100px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
}

.aihub-summary__stat-num {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.aihub-summary__stat-num--cyan  { color: #00e5cc; }
.aihub-summary__stat-num--amber { color: #f59e0b; }
.aihub-summary__stat-num--green { color: #22c55e; }

.aihub-summary__stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #556677;
}

/* ── Radar chart ─────────────────────────── */
.aihub-summary__radar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.aihub-summary__radar {
  overflow: visible;
}

.aihub-summary__radar-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aihub-sum-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aihub-sum-bar-label {
  font-size: 12px;
  color: #8899b0;
  width: 130px;
  min-width: 130px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aihub-sum-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.aihub-sum-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.aihub-sum-bar-fill--green { background: #22c55e; }
.aihub-sum-bar-fill--amber { background: #f59e0b; }
.aihub-sum-bar-fill--red   { background: #ef4444; }

.aihub-sum-bar-score {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 12px;
  color: #e8edf5;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Benchmark Comparison ────────────────── */

.aihub-sum-benchmark__intro {
  font-size: 12px;
  color: #8899b0;
  margin: 0 0 14px;
  line-height: 1.6;
}

.aihub-sum-benchmark__legend {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
}

.aihub-sum-benchmark__legend-you  { color: #00e5cc; }
.aihub-sum-benchmark__legend-avg  { color: rgba(255,255,255,0.25); }

.aihub-sum-benchmark__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aihub-sum-benchmark__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aihub-sum-benchmark__name {
  font-size: 12px;
  color: #8899b0;
  width: 130px;
  min-width: 130px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aihub-sum-benchmark__bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aihub-sum-benchmark__bar-wrap {
  height: 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.aihub-sum-benchmark__bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.7s ease;
}

.aihub-sum-benchmark__bar--avg {
  background: rgba(255,255,255,0.22);
}

.aihub-sum-benchmark__scores {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 72px;
}

.aihub-sum-benchmark__score-you {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #e8edf5;
}

.aihub-sum-benchmark__delta {
  font-size: 10px;
  color: #8899b0;
}

.aihub-sum-benchmark__delta--up   { color: #22c55e; }
.aihub-sum-benchmark__delta--down { color: #f59e0b; }

.aihub-sum-benchmark__note {
  font-size: 11px;
  color: rgba(136,153,176,0.6);
  margin: 14px 0 0;
  font-style: italic;
  line-height: 1.5;
}

.aihub-sum-benchmark__overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 9px 18px;
  background: none;
  border: 1px solid rgba(0,229,255,.35);
  border-radius: 8px;
  color: var(--aihub-neon-cyan);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.aihub-sum-benchmark__overlay-btn:hover {
  background: rgba(0,229,255,.07);
  border-color: rgba(0,229,255,.7);
  box-shadow: 0 0 12px rgba(0,229,255,.15);
}

/* ── Benchmarking Overlay ────────────────── */

.aihub-bench-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}

.aihub-bench-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}

.aihub-bench-overlay__panel {
  position: relative;
  z-index: 1;
  background: #0d0d1a;
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 14px;
  width: 100%;
  max-width: 780px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  overflow: hidden;
}

.aihub-bench-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.aihub-bench-overlay__title {
  font-size: 16px;
  font-weight: 700;
  color: #e8edf5;
  margin: 0;
}

.aihub-bench-overlay__close {
  background: none;
  border: none;
  color: #8899b0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  transition: color .15s;
}
.aihub-bench-overlay__close:hover { color: #fff; }

.aihub-bench-overlay__filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
}

.aihub-bench-overlay__filter-label {
  font-size: 12px;
  color: #8899b0;
  white-space: nowrap;
}

.aihub-bench-overlay__select-wrap { position: relative; }
.aihub-bench-overlay__select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: #e8edf5;
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
}

.aihub-bench-overlay__count {
  font-size: 11px;
  color: #8899b0;
  margin-left: auto;
}

.aihub-bench-overlay__body {
  padding: 20px 22px 22px;
  max-height: calc(90vh - 130px);
  overflow-y: auto;
}

.aihub-bench-overlay__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0;
  color: #8899b0;
  font-size: 13px;
}

.aihub-bench-overlay__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,229,255,.2);
  border-top-color: #00e5ff;
  border-radius: 50%;
  animation: aihub-spin .8s linear infinite;
}

.aihub-bench-overlay__toofew {
  padding: 30px 0;
  text-align: center;
  color: #8899b0;
  font-size: 13px;
}

.aihub-bench-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.aihub-bench-kpi {
  flex: 1;
  min-width: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
}

.aihub-bench-kpi__val {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #e8edf5;
  margin-bottom: 4px;
}
.aihub-bench-kpi__val--cyan  { color: #00e5cc; }
.aihub-bench-kpi__val--green { color: #22c55e; }
.aihub-bench-kpi__val--amber { color: #f59e0b; }

.aihub-bench-kpi__label {
  font-size: 11px;
  color: #8899b0;
  line-height: 1.3;
}

.aihub-bench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.aihub-bench-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 14px 16px;
}

.aihub-bench-card--full { grid-column: 1 / -1; }

.aihub-bench-card__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
  color: #8899b0;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.aihub-bench-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.aihub-bench-bar-label {
  font-size: 11px;
  color: #8899b0;
  width: 110px;
  min-width: 110px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aihub-bench-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
}

.aihub-bench-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .5s ease;
}

.aihub-bench-bar-val {
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 11px;
  color: #e8edf5;
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .aihub-bench-grid { grid-template-columns: 1fr; }
  .aihub-bench-bar-label { width: 80px; min-width: 80px; }
}

/* ── Gap analysis ────────────────────────── */
.aihub-sum-gap-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  min-height: 44px;
}

.aihub-sum-gap-row:last-child { border-bottom: none; }

.aihub-sum-gap-prio {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.aihub-sum-gap-prio--critical { color: #ef4444; background: rgba(239,68,68,0.12); }
.aihub-sum-gap-prio--high     { color: #f59e0b; background: rgba(245,158,11,0.12); }

.aihub-sum-gap-title {
  flex: 1;
  font-size: 13px;
  color: #e8edf5;
  line-height: 1.35;
}

.aihub-sum-gap-add {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(0,229,204,0.35);
  color: #00e5cc;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.aihub-sum-gap-add:hover {
  background: rgba(0,229,204,0.1);
  border-color: #00e5cc;
}

.aihub-sum-gap-more {
  font-size: 12px;
  color: #556677;
  padding: 10px 0 2px;
  font-style: italic;
}

.aihub-sum-no-gaps {
  font-size: 13px;
  color: #22c55e;
  padding: 8px 0;
  text-align: center;
}

/* ── Export section ──────────────────────── */
.aihub-summary__export {
  background: linear-gradient(135deg, rgba(0,229,204,0.07) 0%, rgba(0,229,204,0.02) 100%);
  border: 1px solid rgba(0,229,204,0.2);
  border-radius: 16px;
  padding: 28px 24px;
}

.aihub-summary__export-title {
  font-size: 18px;
  font-weight: 700;
  color: #e8edf5;
  margin: 0 0 10px;
}

.aihub-summary__export-sub {
  font-size: 14px;
  color: #8899b0;
  line-height: 1.6;
  margin: 0 0 22px;
}

.aihub-summary__export-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.aihub-summary__btn-primary {
  flex: 1;
  min-width: 140px;
  padding: 13px 20px;
  background: #00e5cc;
  color: #0a0e17;
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.aihub-summary__btn-primary:hover {
  box-shadow: 0 0 20px rgba(0,229,204,0.35);
  transform: translateY(-1px);
}

.aihub-summary__btn-secondary {
  flex: 1;
  min-width: 140px;
  padding: 13px 20px;
  background: #1a2332;
  color: #8899b0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.aihub-summary__btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: #e8edf5;
}

.aihub-summary__email-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.aihub-summary__email-input {
  flex: 1;
  padding: 11px 14px;
  background: #0a0e17;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e8edf5;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.aihub-summary__email-input:focus {
  border-color: #00e5cc;
  box-shadow: 0 0 12px rgba(0,229,204,0.15);
}

.aihub-summary__export-note {
  font-size: 11px;
  color: #556677;
  margin: 0;
}

/* ── Benchmark consent ───────────────────── */
.aihub-summary__benchmark-consent {
  margin: 16px 0 4px;
}
.aihub-summary__benchmark-label {
  font-size: 13px;
  color: #8899b0;
  margin: 0 0 10px;
  line-height: 1.5;
}
.aihub-summary__benchmark-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.aihub-summary__bench-opt {
  flex: 1;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #8899b0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.aihub-summary__bench-opt:hover {
  border-color: rgba(0,229,255,0.35);
  color: #ccd;
}
.aihub-summary__bench-opt--active.aihub-summary__bench-opt--yes {
  border-color: #00e5ff;
  background: rgba(0,229,255,0.1);
  color: #00e5ff;
}
.aihub-summary__bench-opt--active.aihub-summary__bench-opt--no {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
  color: #ccd;
}
.aihub-summary__benchmark-industry {
  margin-top: 4px;
}
.aihub-summary__industry-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px !important;
}

/* ── Reference code reveal ───────────────── */
.aihub-summary__refcode-reveal {
  margin-top: 18px;
  padding: 16px;
  background: rgba(0,229,255,0.07);
  border: 1.5px solid rgba(0,229,255,0.3);
  border-radius: 12px;
  text-align: center;
}
.aihub-summary__refcode-msg {
  font-size: 13px;
  color: #00e5ff;
  margin: 0 0 10px;
}
.aihub-summary__refcode-value {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.aihub-summary__refcode-copy {
  padding: 7px 18px;
  border-radius: 7px;
  border: 1.5px solid rgba(0,229,255,0.4);
  background: transparent;
  color: #00e5ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.aihub-summary__refcode-copy:hover {
  background: rgba(0,229,255,0.12);
}

/* ── Shareable URL ───────────────────────── */
.aihub-summary__url-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a2332;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.aihub-summary__url-text {
  flex: 1;
  font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  font-size: 13px;
  color: #00e5cc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aihub-summary__url-copy {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(0,229,204,0.3);
  color: #00e5cc;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.aihub-summary__url-copy:hover { background: rgba(0,229,204,0.1); }
.aihub-summary__url-copy.aihub-summary__url-copy--copied { color: #22c55e; border-color: #22c55e; }

.aihub-summary__url-desc {
  font-size: 13px;
  color: #556677;
  margin: 0;
  line-height: 1.55;
}

/* ── 90-day reminder ─────────────────────── */
.aihub-summary__reminder {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.aihub-summary__reminder-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.aihub-summary__reminder-text strong {
  display: block;
  font-size: 14px;
  color: #e8edf5;
  margin-bottom: 6px;
}

.aihub-summary__reminder-text p {
  font-size: 13px;
  color: #8899b0;
  margin: 0;
  line-height: 1.55;
}

/* ── Back button ─────────────────────────── */
.aihub-summary__back { text-align: center; }

.aihub-summary__back-btn {
  background: #1a2332;
  color: #8899b0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.aihub-summary__back-btn:hover {
  color: #e8edf5;
  border-color: rgba(255,255,255,0.2);
}

/* ── Lead capture form ───────────────────── */
.aihub-summary__lead-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.aihub-summary__email-input--full {
  grid-column: 1 / -1;
}

.aihub-summary__btn-primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════
   Progressive Disclosure — Journey System
   ═══════════════════════════════════════════ */

@keyframes aihub-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}
@keyframes aihub-bounce-badge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}
@keyframes aihub-nudge-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes aihub-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Tab base needs position:relative for the "Start here" badge */
.aihub-tab { position: relative; }

/* ── Pulse dot (active tab) ──────────────── */
.aihub-tab__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5cc;
  flex-shrink: 0;
  animation: aihub-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0,229,204,0.7);
}

/* ── Checkmark (completed tab) ───────────── */
.aihub-tab__check {
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  flex-shrink: 0;
  text-shadow: 0 0 6px rgba(34,197,94,0.5);
}

/* ── Completed tab state ─────────────────── */
.aihub-tab--completed {
  color: #22c55e !important;
  background: rgba(34,197,94,0.07) !important;
  border-bottom-color: rgba(34,197,94,0.55) !important;
  text-shadow: 0 0 8px rgba(34,197,94,0.25) !important;
}
.aihub-tab--completed:hover {
  color: #22c55e !important;
  background: rgba(34,197,94,0.1) !important;
}
.aihub-tab--completed .aihub-tab__count {
  background: rgba(34,197,94,0.18) !important;
  color: #22c55e !important;
  box-shadow: none !important;
}

/* ── Locked tab state ────────────────────── */
.aihub-tab--locked {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  user-select: none;
}
.aihub-tab--locked:hover {
  background: transparent !important;
  color: var(--aihub-text-l) !important;
  text-shadow: none !important;
}

/* ── Skipped tab indicator ───────────────── */
.aihub-tab--skipped {
  border-bottom-style: dashed !important;
}

/* ── "Start here" badge ──────────────────── */
.aihub-tab__start-here {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #00e5cc;
  color: #0a0e17;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.3px;
  animation: aihub-bounce-badge 1.5s ease infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
  box-shadow: 0 0 10px rgba(0,229,204,0.5);
}

/* ── Journey progress bar (3px strip below tabs) ── */
.aihub-journey-bar {
  display: flex;
  gap: 3px;
  margin-top: -14px;
  margin-bottom: 14px;
}
.aihub-journey-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.5s ease;
}
.aihub-journey-seg--completed { background: #22c55e; }
.aihub-journey-seg--active {
  background: linear-gradient(90deg, #00e5cc 0%, #00ffe6 50%, #00e5cc 100%);
  background-size: 200% auto;
  animation: aihub-shimmer 2s linear infinite;
}
.aihub-journey-seg--unlocked { background: #1a2332; }

/* ── Welcome banner ──────────────────────── */
.aihub-welcome-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0,229,204,0.07), rgba(0,229,204,0.02));
  border: 1px solid rgba(0,229,204,0.18);
  border-left: 3px solid #00e5cc;
  border-radius: 10px;
  transition: opacity 0.35s ease, transform 0.35s ease;
  animation: aihub-nudge-in 0.4s ease both;
}
.aihub-welcome-banner__icon {
  font-size: 20px;
  line-height: 1.4;
  flex-shrink: 0;
}
.aihub-welcome-banner__msg {
  flex: 1;
  font-size: 13px;
  color: #9bb8b4;
  line-height: 1.65;
}
.aihub-welcome-banner__close {
  background: none;
  border: none;
  color: #445566;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
}
.aihub-welcome-banner__close:hover { color: #8899b0; }

/* ── Tab transition nudge ────────────────── */
.aihub-nudge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(34,197,94,0.09), rgba(0,229,204,0.05));
  border: 1px solid rgba(34,197,94,0.22);
  border-left: 3px solid #22c55e;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s, background 0.2s;
}
.aihub-nudge--visible {
  opacity: 1;
  transform: translateY(0);
}
.aihub-nudge:hover {
  border-color: rgba(0,229,204,0.35);
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(0,229,204,0.07));
}
.aihub-nudge--complete {
  cursor: default;
  border-left-color: #f59e0b;
  border-color: rgba(245,158,11,0.25);
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(0,229,204,0.03));
}
.aihub-nudge--complete:hover {
  border-color: rgba(245,158,11,0.35);
  background: linear-gradient(135deg, rgba(245,158,11,0.09), rgba(0,229,204,0.04));
}
.aihub-nudge--complete .aihub-nudge__check {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.45);
  color: #f59e0b;
}
.aihub-nudge--complete .aihub-nudge__title {
  color: #f59e0b;
}
.aihub-nudge__check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.aihub-nudge__body { flex: 1; min-width: 0; }
.aihub-nudge__title {
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 3px;
}
.aihub-nudge__sub { font-size: 12px; color: #7a8ea0; }
.aihub-nudge__next {
  color: #00e5cc;
  font-weight: 600;
  cursor: pointer;
}
.aihub-nudge__next:hover { text-decoration: underline; }
.aihub-nudge__arrow {
  font-size: 20px;
  color: #00e5cc;
  font-weight: 300;
  flex-shrink: 0;
}

/* ── Lock toast ──────────────────────────── */
.aihub-lock-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 16px;
  margin-bottom: 12px;
  background: #111827;
  border: 1px solid rgba(245,158,11,0.25);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  font-size: 12px;
  color: #b89050;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.aihub-lock-toast--visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.aihub-lock-toast__skip {
  background: none;
  border: none;
  color: #445566;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s;
  white-space: nowrap;
}
.aihub-lock-toast__skip:hover { color: #00e5cc; }

/* ══════════════════════════════════════════
   Maturity Warning Modal
   ══════════════════════════════════════════ */
.aihub-maturity-warn-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.aihub-maturity-warn-modal--visible {
  opacity: 1;
  pointer-events: all;
}
.aihub-maturity-warn-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,7,0,0.88);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.aihub-maturity-warn-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: #120d00;
  border: 1px solid rgba(251,191,36,0.35);
  border-top: 3px solid #fbbf24;
  border-radius: 16px;
  padding: 40px 36px 32px;
  box-shadow:
    0 0 0 1px rgba(251,191,36,0.06),
    0 0 60px rgba(251,191,36,0.2),
    0 0 120px rgba(251,191,36,0.08),
    0 24px 64px rgba(0,0,0,0.7);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  text-align: center;
}
.aihub-maturity-warn-modal--visible .aihub-maturity-warn-modal__card {
  transform: translateY(0) scale(1);
}
.aihub-maturity-warn-modal__icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 14px rgba(251,191,36,0.55));
}
.aihub-maturity-warn-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #fcd34d;
  margin: 0 0 14px;
  font-family: var(--aihub-font);
  text-shadow: 0 0 24px rgba(251,191,36,0.3);
}
.aihub-maturity-warn-modal__body {
  font-size: 15px;
  color: #fde68a;
  line-height: 1.65;
  margin: 0 0 10px;
  font-family: var(--aihub-font);
}
.aihub-maturity-warn-modal__body strong { color: #fcd34d; }
.aihub-maturity-warn-modal__hint {
  font-size: 13px;
  color: rgba(253,230,138,0.55);
  font-style: italic;
  margin: 0 0 28px;
  font-family: var(--aihub-font);
}
.aihub-maturity-warn-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aihub-maturity-warn-modal__btn-primary {
  background: #fbbf24;
  color: #0a0700;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--aihub-font);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 20px rgba(251,191,36,0.3);
}
.aihub-maturity-warn-modal__btn-primary:hover {
  background: #fcd34d;
  box-shadow: 0 0 32px rgba(251,191,36,0.5);
}
.aihub-maturity-warn-modal__btn-secondary {
  background: transparent;
  color: rgba(253,230,138,0.45);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-family: var(--aihub-font);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.aihub-maturity-warn-modal__btn-secondary:hover {
  color: #fde68a;
  border-color: rgba(251,191,36,0.4);
}
@media (max-width: 640px) {
  .aihub-maturity-warn-modal__card { padding: 32px 20px 24px; }
  .aihub-maturity-warn-modal__title { font-size: 19px; }
  .aihub-maturity-warn-modal__body { font-size: 14px; }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 640px) {
  .aihub-lock-toast {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 9999;
    margin-bottom: 0;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  }
  .aihub-nudge { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .aihub-nudge__arrow { display: none; }
  .aihub-welcome-banner { flex-wrap: wrap; gap: 8px; }
  .aihub-journey-bar { gap: 2px; }
  .aihub-tab__start-here { font-size: 8px; padding: 2px 6px; }
}

/* ── Summary responsive ──────────────────── */
@media (max-width: 600px) {
  .aihub-summary__inner {
    padding: 32px 16px 100px;
    gap: 16px;
  }

  .aihub-summary__headline { font-size: 22px; }

  .aihub-summary__stats { flex-direction: column; gap: 10px; }
  .aihub-summary__stat-card { padding: 14px 12px; }
  .aihub-summary__stat-num { font-size: 24px; }

  .aihub-summary__radar { width: 200px; height: 200px; }

  .aihub-sum-bar-label { width: 90px; min-width: 90px; font-size: 11px; }

  .aihub-summary__export-btns { flex-direction: column; }
  .aihub-summary__btn-primary,
  .aihub-summary__btn-secondary { flex: none; width: 100%; }

  .aihub-summary__email-form { flex-direction: column; }
  .aihub-summary__card { padding: 18px 16px; }
  .aihub-summary__export { padding: 20px 16px; }
}

/* ================================================================
   Plan Save & Retrieve Modals
   ================================================================ */

@keyframes aihub-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.aihub-pmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: aihub-modal-in 0.18s ease both;
}
/* Ensure the HTML [hidden] attribute hides the overlay even though display:flex is set above */
.aihub-pmodal-overlay[hidden] { display: none !important; }

.aihub-pmodal {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.aihub-pmodal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  color: #7a8ea0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  font-family: system-ui, sans-serif;
}
.aihub-pmodal__close:hover { background: rgba(255,255,255,0.1); color: #e8edf5; }

.aihub-pmodal__title {
  font-size: 20px;
  font-weight: 700;
  color: #e8edf5;
  margin: 0 0 6px;
  font-family: 'Outfit', sans-serif;
  padding-right: 36px;
}

.aihub-pmodal__sub {
  font-size: 13px;
  color: #7a8ea0;
  margin: 0 0 22px;
  line-height: 1.55;
  transition: color 0.2s;
}

.aihub-pmodal__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.aihub-pmodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aihub-pmodal__field {
  width: 100%;
  background: #0d1420;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #e8edf5;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.aihub-pmodal__field:focus {
  border-color: rgba(0,229,204,0.35);
  box-shadow: 0 0 0 3px rgba(0,229,204,0.06);
}
.aihub-pmodal__field::placeholder { color: #3a4a5c; }

/* Select dropdown — matches .aihub-pmodal__field but with a caret */
.aihub-pmodal__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8ea0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.aihub-pmodal__select option { background: #0d1420; color: #e8edf5; }
/* Style the "select an industry" placeholder option */
.aihub-pmodal__select:invalid,
.aihub-pmodal__select option[value=""] { color: #3a4a5c; }

.aihub-pmodal__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #7a8ea0;
  line-height: 1.5;
  margin-bottom: 16px;
  cursor: pointer;
}
.aihub-pmodal__consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  accent-color: #00e5cc;
  cursor: pointer;
}
.aihub-pmodal__consent a { color: #00e5cc; }

.aihub-pmodal__error {
  background: rgba(239,68,68,0.09);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #f87171;
  margin-bottom: 12px;
  line-height: 1.45;
}

.aihub-pmodal__submit {
  width: 100%;
  background: #00e5cc;
  color: #0a0e17;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.12s;
  position: relative;
}
.aihub-pmodal__submit:disabled { opacity: 0.38; cursor: not-allowed; }
.aihub-pmodal__submit:not(:disabled):hover { opacity: 0.88; }
.aihub-pmodal__submit:not(:disabled):active { transform: scale(0.98); }

.aihub-pmodal__submit--loading {
  color: transparent;
  pointer-events: none;
}
.aihub-pmodal__submit--loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border: 2px solid rgba(10,14,23,0.25);
  border-top-color: #0a0e17;
  border-radius: 50%;
  animation: aihub-spin 0.65s linear infinite;
}

/* ── Success state ───────────────────────── */

.aihub-pmodal__refcode {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: #00e5cc;
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 0 0 24px rgba(0,229,204,0.35), 0 0 48px rgba(0,229,204,0.12);
  margin: 12px 0 6px;
  user-select: all;
}

.aihub-pmodal__refcode-label {
  text-align: center;
  font-size: 13px;
  color: #7a8ea0;
  margin-bottom: 14px;
}

.aihub-pmodal__copy-btn {
  display: block;
  margin: 0 auto 18px;
  background: rgba(0,229,204,0.07);
  border: 1px solid rgba(0,229,204,0.2);
  color: #00e5cc;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}
.aihub-pmodal__copy-btn:hover { background: rgba(0,229,204,0.13); }

.aihub-pmodal__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 14px 0;
}

.aihub-pmodal__summary {
  font-size: 13px;
  color: #7a8ea0;
  text-align: center;
  margin-bottom: 14px;
}

.aihub-pmodal__reminder {
  background: rgba(245,158,11,0.07);
  border-left: 3px solid rgba(245,158,11,0.45);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 12px;
  color: #b8922e;
  line-height: 1.6;
  margin-bottom: 20px;
}
.aihub-pmodal__reminder strong { color: #f59e0b; display: block; margin-bottom: 4px; }
.aihub-pmodal__reminder a { color: #00e5cc; word-break: break-all; font-size: 11px; }

.aihub-pmodal__btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aihub-pmodal__btn-secondary {
  background: rgba(26,35,50,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  color: #7a8ea0;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.aihub-pmodal__btn-secondary:hover { background: rgba(255,255,255,0.05); color: #e8edf5; }

.aihub-pmodal__btn-primary {
  background: #00e5cc;
  color: #0a0e17;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: opacity 0.15s;
}
.aihub-pmodal__btn-primary:hover { opacity: 0.88; }
.aihub-pmodal__btn-primary--danger { background: #ef4444; color: #fff; }
.aihub-pmodal__btn-primary--danger:hover { opacity: 0.88; }

.aihub-pmodal__delete-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  color: #3a4a5c;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
}
.aihub-pmodal__delete-link:hover { color: #ef4444; }

/* ── Auto-save indicator ─────────────────── */

.aihub-autosave {
  position: fixed;
  bottom: 110px;
  right: 20px;
  background: rgba(13,20,32,0.95);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  color: #7a8ea0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s, transform 0.28s;
  pointer-events: none;
  z-index: 9000;
  white-space: nowrap;
}
.aihub-autosave--visible   { opacity: 1; transform: translateY(0); }
.aihub-autosave--saved     { color: #22c55e; border-color: rgba(34,197,94,0.2); }

/* ── Plan toast notification ─────────────── */

.aihub-plan-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #22c55e;
  color: #0a0e17;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.28s, transform 0.28s;
  z-index: 10000;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  pointer-events: none;
}
.aihub-plan-toast--visible { opacity: 1; transform: translateY(0); }

/* ── Save Plan button in plan bar ─────────── */

.aihub-planbar__save {
  background: rgba(0,229,204,0.08);
  border: 1px solid rgba(0,229,204,0.22);
  color: #00e5cc;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.aihub-planbar__save:hover { background: rgba(0,229,204,0.14); }

.aihub-planbar__share {
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.28);
  color: #a5b4fc;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.aihub-planbar__share:hover { background: rgba(99,102,241,0.18); }

/* Share link input */
.aihub-pmodal__share-link-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.aihub-pmodal__share-link {
  flex: 1;
  font-size: 12px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.2px;
  cursor: text;
  user-select: all;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 640px) {
  .aihub-pmodal { padding: 20px 16px; border-radius: 12px; }
  .aihub-pmodal__row { grid-template-columns: 1fr; }
  .aihub-pmodal__btn-row { grid-template-columns: 1fr; }
  .aihub-pmodal__refcode { font-size: 28px; letter-spacing: 2px; }
  .aihub-plan-toast { top: 12px; right: 12px; left: 12px; max-width: none; font-size: 13px; }
  .aihub-autosave { bottom: 80px; right: 12px; }
  /* Note: .aihub-planbar__save sizing handled in the ≤600px mobile bar block above */
}

/* ================================================================
   Anonymised Dashboard  [aihub_dashboard]
   ================================================================ */

.aihub-dash {
  font-family: 'Outfit', -apple-system, sans-serif;
  color: #e8edf5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* Filter bar */
.aihub-dash__filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.aihub-dash__filter-label {
  font-size: 14px;
  color: #7a8ea0;
  white-space: nowrap;
}
.aihub-dash__select-wrap {
  position: relative;
}
.aihub-dash__select {
  appearance: none;
  -webkit-appearance: none;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #e8edf5;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  padding: 9px 36px 9px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8ea0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.aihub-dash__select:focus { border-color: rgba(0,229,204,0.4); }
.aihub-dash__select option { background: #111827; }
.aihub-dash__count {
  font-size: 13px;
  color: #4b6178;
  margin-left: auto;
}

/* Loading */
.aihub-dash__loading {
  text-align: center;
  padding: 60px 20px;
  color: #7a8ea0;
}
.aihub-dash__spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(0,229,204,0.15);
  border-top-color: #00e5cc;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: aihub-spin 0.8s linear infinite;
}
@keyframes aihub-spin { to { transform: rotate(360deg); } }
.aihub-dash__toofew {
  text-align: center;
  padding: 40px 20px;
  color: #7a8ea0;
  font-size: 15px;
}
.aihub-dash__toofew a { color: #00e5cc; }

/* KPI row */
.aihub-dash__kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.aihub-dash__kpi {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 18px 18px;
  text-align: center;
  position: relative;
}
.aihub-dash__kpi--green { border-color: rgba(34,197,94,0.25); }
.aihub-dash__kpi--amber { border-color: rgba(245,158,11,0.25); }
.aihub-dash__kpi-icon {
  font-size: 12px;
  margin-bottom: 4px;
  opacity: 0.6;
}
.aihub-dash__kpi--green .aihub-dash__kpi-icon { color: #22c55e; }
.aihub-dash__kpi--amber .aihub-dash__kpi-icon { color: #f59e0b; }
.aihub-dash__kpi-val {
  font-size: 28px;
  font-weight: 700;
  color: #00e5cc;
  line-height: 1.1;
  margin-bottom: 6px;
  word-break: break-word;
}
.aihub-dash__kpi--green .aihub-dash__kpi-val { color: #22c55e; }
.aihub-dash__kpi--amber .aihub-dash__kpi-val { color: #f59e0b; }
.aihub-dash__kpi-label {
  font-size: 12px;
  color: #7a8ea0;
  line-height: 1.3;
}
.aihub-dash__kpi-sub {
  font-size: 11px;
  color: #4b6178;
  margin-top: 2px;
}

/* Grid */
.aihub-dash__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.aihub-dash__grid--halves {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* Card */
.aihub-dash__card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
}
.aihub-dash__card-title {
  font-size: 15px;
  font-weight: 600;
  color: #e8edf5;
  margin: 0 0 4px;
}
.aihub-dash__card-sub {
  font-size: 12px;
  color: #7a8ea0;
  margin: 0 0 20px;
  line-height: 1.4;
}

/* Bar rows */
.aihub-dash__bars { display: flex; flex-direction: column; gap: 10px; }
.aihub-dash__bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 52px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.aihub-dash__bar-label {
  color: #b0c0d0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.aihub-dash__bar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.aihub-dash__bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.aihub-dash__bar-val {
  font-size: 12px;
  font-weight: 600;
  color: #e8edf5;
  text-align: right;
  white-space: nowrap;
}
.aihub-dash__bar-sub { font-weight: 400; color: #4b6178; }

/* Popular/skipped list */
.aihub-dash__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  counter-reset: dash-list;
}
.aihub-dash__list-item {
  counter-increment: dash-list;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.aihub-dash__list-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aihub-dash__list-main::before {
  content: counter(dash-list);
  font-size: 11px;
  font-weight: 700;
  color: #4b6178;
  min-width: 16px;
}
.aihub-dash__list-title {
  font-size: 13px;
  color: #e8edf5;
  line-height: 1.3;
}
.aihub-dash__list-pill {
  font-size: 10px;
  color: #7a8ea0;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}
.aihub-dash__list-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aihub-dash__list-bar {
  height: 4px;
  background: #00e5cc;
  border-radius: 2px;
  transition: width 0.5s ease;
  max-width: 100%;
}
.aihub-dash__list-pct {
  font-size: 11px;
  color: #7a8ea0;
  white-space: nowrap;
}

/* CTA */
.aihub-dash__cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #0a1628 0%, #0e1f3a 60%, #091620 100%);
  border: 1px solid rgba(0,229,204,0.18);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}
.aihub-dash__cta-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00e5cc;
  margin: 0 0 12px;
}
.aihub-dash__cta-headline {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #e8edf5;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.3;
}
.aihub-dash__cta-btn {
  display: inline-block;
  background: #00e5cc;
  color: #0a1628;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.aihub-dash__cta-btn:hover { background: #00c9b3; transform: translateY(-1px); }

/* Mobile */
@media (max-width: 700px) {
  .aihub-dash__kpi-row { grid-template-columns: 1fr 1fr; }
  .aihub-dash__grid { grid-template-columns: 1fr; }
  .aihub-dash__grid--halves { grid-template-columns: 1fr; }
  .aihub-dash__bar-row { grid-template-columns: 120px 1fr 44px; }
  .aihub-dash__cta { padding: 32px 20px; }
  .aihub-dash__cta-headline { font-size: 18px; }
}

/* ================================================================
   Benchmark "See How Others Compare" button (hero)
   + fullscreen Dashboard modal
   ================================================================ */

/* Hero button */
.aihub-hero__bench-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0,229,204,0.35);
  color: #00e5cc;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  margin-top: 4px;
}
.aihub-hero__bench-btn:hover {
  background: rgba(0,229,204,0.08);
  border-color: rgba(0,229,204,0.6);
  transform: translateY(-1px);
}

/* Modal overlay */
.aihub-bench-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 99990;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.aihub-bench-overlay[hidden] { display: none !important; }

/* Modal panel */
.aihub-bench-modal {
  position: relative;
  background: #0a1220;
  width: 100%;
  max-width: 1100px;
  min-height: 100vh;
  padding: 48px 40px 80px;
  box-sizing: border-box;
  animation: aihub-bench-in 0.22s ease both;
}
@keyframes aihub-bench-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Close button */
.aihub-bench-close {
  position: sticky;
  top: 16px;
  float: right;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #e8edf5;
  font-size: 20px;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  margin-bottom: -36px;
}
.aihub-bench-close:hover { background: rgba(255,255,255,0.12); }

/* Modal header */
.aihub-bench-header {
  text-align: center;
  margin-bottom: 36px;
  clear: both;
}
.aihub-bench-header__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00e5cc;
  margin-bottom: 8px;
}
.aihub-bench-header__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #e8edf5;
  margin: 0 0 6px;
}
.aihub-bench-header__sub {
  font-size: 14px;
  color: #7a8ea0;
  margin: 0;
}

/* Reuse .aihub-dash__* classes inside the modal */
/* Filter bar override for dark modal */
.aihub-bench-modal .aihub-dash__filter-bar { margin-bottom: 28px; }
.aihub-bench-modal .aihub-dash__select {
  background: #111827;
  border-color: rgba(255,255,255,0.12);
  color: #e8edf5;
}
.aihub-bench-modal .aihub-dash__select option { background: #111827; }
.aihub-bench-modal .aihub-dash__count { color: #4b6178; margin-left: auto; }

/* Final CTA inside modal */
.aihub-bench-modal .aihub-dash__cta {
  margin-top: 40px;
}

@media (max-width: 700px) {
  .aihub-bench-modal { padding: 28px 16px 60px; }
  .aihub-bench-close { top: 12px; }
}

/* ================================================================
   Help Bubble & Panel
   ================================================================ */

/* ── Floating bubble ─────────────────────────────────────────── */

#aihub-help-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 20px 12px 14px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,0.45);
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

#aihub-help-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.55);
}

#aihub-help-bubble:active { transform: translateY(0); }

.aihub-help-bubble__icon {
  font-size: 18px;
  line-height: 1;
}

.aihub-help-bubble__label {
  line-height: 1;
}

#aihub-help-bubble.aihub-help-bubble--open {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* ── Panel ───────────────────────────────────────────────────── */

#aihub-help-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9991;
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #0d1117;
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.12);
  font-family: 'Outfit', -apple-system, sans-serif;
  color: #e8edf5;
  animation: aihubHpSlideIn 0.22s ease;
}

@keyframes aihubHpSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aihub-hp__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.aihub-hp__title {
  font-size: 15px;
  font-weight: 700;
  color: #e8edf5;
  line-height: 1.3;
}

.aihub-hp__sub {
  font-size: 12px;
  color: #6b7a99;
  margin-top: 3px;
}

.aihub-hp__close {
  background: none;
  border: none;
  color: #6b7a99;
  font-size: 18px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.aihub-hp__close:hover { color: #e8edf5; }

.aihub-hp__body:not([hidden]),
.aihub-hp__success:not([hidden]) {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aihub-hp__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.aihub-hp__field {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  color: #e8edf5;
  font-size: 13px;
  font-family: 'Outfit', -apple-system, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.15s;
  outline: none;
}
.aihub-hp__field::placeholder { color: #4b5a70; }
.aihub-hp__field:focus { border-color: rgba(99,102,241,0.55); }

.aihub-hp__textarea {
  resize: vertical;
  min-height: 80px;
}

.aihub-hp__ref {
  color: #a5b4fc;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  cursor: default;
  background: rgba(99,102,241,0.06);
  border-color: rgba(99,102,241,0.2);
}

.aihub-hp__ref-hint {
  font-size: 11px;
  color: #6b7a99;
  margin-top: -4px;
  line-height: 1.4;
}

.aihub-hp__ref-hint--ok {
  color: #22c55e;
}

.aihub-hp__save-now {
  background: none;
  border: none;
  color: #60a5fa;
  font-size: 11px;
  font-family: 'Outfit', -apple-system, sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.aihub-hp__save-now:hover { color: #93c5fd; }

.aihub-hp__char {
  font-size: 11px;
  color: #4b5a70;
  text-align: right;
  margin-top: -6px;
}

.aihub-hp__err {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #fca5a5;
}

.aihub-hp__submit {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', -apple-system, sans-serif;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.aihub-hp__submit:disabled { opacity: 0.45; cursor: not-allowed; }
.aihub-hp__submit:not(:disabled):hover { transform: translateY(-1px); }

/* ── Success state ────────────────────────────────────────────── */

.aihub-hp__success {
  text-align: center;
  padding: 28px 18px 24px;
}

.aihub-hp__success-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.aihub-hp__success-msg {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── Mobile ───────────────────────────────────────────────────── */

@media (max-width: 480px) {
  /* Bubble raised above the planbar (bar ~72px tall on mobile) */
  #aihub-help-bubble { bottom: 98px; right: 12px; padding: 11px 16px 11px 12px; font-size: 13px; }
  #aihub-help-panel  { bottom: 156px; right: 8px; width: auto; }
  .aihub-hp__row     { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME — Comprehensive Overrides
   Toggled via .aihub-theme-light on <html>
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero section ────────────────────────── */
.aihub-theme-light .aihub-hero {
  background: linear-gradient(180deg, #f0f2f8 0%, #e8eaf2 100%);
}
.aihub-theme-light .aihub-hero::before {
  background-image:
    linear-gradient(rgba(0,128,128,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,128,128,0.05) 1px, transparent 1px) !important;
}
.aihub-theme-light .aihub-hero::after {
  background: radial-gradient(circle, rgba(0,128,128,0.06) 0%, transparent 70%) !important;
}
.aihub-theme-light .aihub-hero__headline { color: #1a1a2e; }
.aihub-theme-light .aihub-hero__accent { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-hero__subtitle { color: #555570; }
.aihub-theme-light .aihub-hero__eyebrow-text { color: #008080; }
.aihub-theme-light .aihub-hero__eyebrow-line {
  background: linear-gradient(90deg, transparent, rgba(0,128,128,0.4), transparent);
}
.aihub-theme-light .aihub-hero__prop {
  background: rgba(0,0,0,0.02);
  border-color: #dde0e8;
}
.aihub-theme-light .aihub-hero__prop-icon { background: rgba(0,128,128,0.08); }
.aihub-theme-light .aihub-hero__prop-label { color: #1a1a2e; }
.aihub-theme-light .aihub-hero__cta {
  background: #008080;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,128,128,0.25);
  text-shadow: none;
}
.aihub-theme-light .aihub-hero__cta:hover {
  box-shadow: 0 4px 24px rgba(0,128,128,0.35);
  color: #fff;
}
.aihub-theme-light .aihub-hero__resume { color: #9999a5; }
.aihub-theme-light .aihub-hero__resume-link { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-hero__preview {
  background: #fff;
  border-color: #dde0e8;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.aihub-theme-light .aihub-hero__preview-header { border-bottom-color: #eee; }
.aihub-theme-light .aihub-hero__preview-label { color: #666675; }
.aihub-theme-light .aihub-hero__bar-label { color: #666675; }
.aihub-theme-light .aihub-hero__bar-track { background: #e8e8ef; }
.aihub-theme-light .aihub-hero__bar-score { color: #1a1a2e; }
.aihub-theme-light .aihub-hero__bench-btn {
  border-color: rgba(0,128,128,0.35);
  color: #008080;
}
.aihub-theme-light .aihub-hero__bench-btn:hover {
  background: rgba(0,128,128,0.06);
  border-color: rgba(0,128,128,0.6);
}

/* ── Header / tabs ───────────────────────── */
.aihub-theme-light .aihub-header__title {
  color: #008080;
  text-shadow: none;
}
.aihub-theme-light .aihub-header__sub { color: #666675; }
.aihub-theme-light .aihub-tabs {
  border-bottom-color: #dde0e8;
}
.aihub-theme-light .aihub-tab {
  color: #9999a5;
}
.aihub-theme-light .aihub-tab:hover {
  color: #1a1a2e;
  background: rgba(0,0,0,0.02);
}
.aihub-theme-light .aihub-tab--active {
  color: #008080;
  border-bottom-color: #008080;
  text-shadow: none;
}
.aihub-theme-light .aihub-tab__count {
  background: rgba(0,128,128,0.08);
  color: #008080;
}

/* ── Section / items / cards ─────────────── */
.aihub-theme-light .aihub-section {
  background: #fff;
  border-color: #dde0e8;
}
.aihub-theme-light .aihub-section__title { color: #1a1a2e; }
.aihub-theme-light .aihub-section__desc { color: #666675; }
.aihub-theme-light .aihub-item {
  background: #f8f8fc;
  border-color: #e8e8ef;
}
.aihub-theme-light .aihub-item:hover {
  border-color: rgba(0,128,128,0.3);
  background: #fff;
}
.aihub-theme-light .aihub-item__title { color: #1a1a2e; }
.aihub-theme-light .aihub-item__desc { color: #666675; }
.aihub-theme-light .aihub-item__tag {
  background: rgba(0,128,128,0.06);
  color: #008080;
  border-color: rgba(0,128,128,0.15);
}

/* ── Overall maturity ────────────────────── */
.aihub-theme-light .aihub-overall-maturity {
  background: linear-gradient(135deg, rgba(0,128,128,0.04), rgba(128,0,128,0.02));
  border-color: rgba(0,128,128,0.12);
}
.aihub-theme-light .aihub-overall-maturity__label { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-overall-maturity__score { color: #008080; text-shadow: none; }

/* ── Maturity dots ───────────────────────── */
.aihub-theme-light .aihub-maturity__prompt { color: rgba(0,128,128,0.4); }
.aihub-theme-light .aihub-maturity__dot--active {
  background: rgba(0,128,128,0.08);
  border-color: #008080;
  color: #008080;
}
.aihub-theme-light .aihub-maturity__dot--current {
  background: #008080;
  border-color: #008080;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,128,128,0.25);
}
.aihub-theme-light .aihub-maturity__dot--default {
  background: rgba(0,128,128,0.03);
  border-color: rgba(0,128,128,0.2);
  color: rgba(0,128,128,0.45);
}
.aihub-theme-light .aihub-maturity__text { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-maturity__text--default { color: rgba(0,128,128,0.45); }
.aihub-theme-light .aihub-maturity__text--prompt { color: rgba(0,128,128,0.3); }

/* ── Basket add ──────────────────────────── */
.aihub-theme-light .aihub-basket-add {
  border-color: #008080; color: #008080; text-shadow: none;
}
.aihub-theme-light .aihub-basket-add:hover {
  background: #008080; color: #fff;
  box-shadow: 0 0 12px rgba(0,128,128,0.2);
}
.aihub-theme-light .aihub-basket-add--active {
  background: #008080; color: #fff; border-color: #008080;
}

/* ── Thoughts / notes ────────────────────── */
.aihub-theme-light .aihub-thoughts__label { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-thoughts__input {
  background: #f8f8fc;
  border-color: #dde0e8;
  border-left-color: rgba(0,128,128,0.2);
  color: #1a1a2e;
}
.aihub-theme-light .aihub-thoughts__input:focus {
  border-color: #008080;
  border-left-color: #008080;
  background: rgba(0,128,128,0.02);
  box-shadow: 0 0 10px rgba(0,128,128,0.08);
}

/* ── Next item button ────────────────────── */
.aihub-theme-light .aihub-item__next {
  border-color: rgba(0,128,128,0.3); color: #008080;
}
.aihub-theme-light .aihub-item__next:hover {
  background: rgba(0,128,128,0.04);
  border-color: #008080;
}

/* ── Path code block ─────────────────────── */
.aihub-theme-light .aihub-section--path .aihub-section__content {
  background: #f0f0f5;
  color: #006600;
  border-color: rgba(0,102,0,0.12);
  text-shadow: none;
}

/* ── Custom actions ──────────────────────── */
.aihub-theme-light .aihub-action:hover {
  border-color: #008080;
  background: rgba(0,128,128,0.02);
}
.aihub-theme-light .aihub-action--done {
  background: rgba(0,128,128,0.04);
  border-color: rgba(0,128,128,0.3);
  box-shadow: inset 3px 0 0 #008080;
}
.aihub-theme-light .aihub-custom-action__delete:hover { color: #ef4444; }
.aihub-theme-light .aihub-custom-actions__input {
  background: #f8f8fc;
  border-color: rgba(180,120,0,0.18);
  color: #1a1a2e;
}
.aihub-theme-light .aihub-custom-actions__input::placeholder { color: rgba(180,120,0,0.35); }
.aihub-theme-light .aihub-custom-actions__add-btn {
  border-color: rgba(180,120,0,0.25);
  color: #b87800;
}
.aihub-theme-light .aihub-custom-actions__add-btn:hover {
  background: rgba(180,120,0,0.04);
  border-color: rgba(180,120,0,0.45);
}

/* ── Planbar ─────────────────────────────── */
.aihub-theme-light .aihub-planbar__fade {
  background: linear-gradient(to bottom, transparent, #f0f2f8);
}
.aihub-theme-light .aihub-planbar__bar {
  background: #fff;
  border-color: #dde0e8;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.aihub-theme-light .aihub-planbar__bar:hover {
  box-shadow: 0 -4px 28px rgba(0,0,0,0.1);
}
.aihub-theme-light .aihub-planbar__expanded {
  background: #fff;
  border-color: #dde0e8;
}
.aihub-theme-light .aihub-planbar--open .aihub-planbar__bar {
  border-top-color: #eee;
}
.aihub-theme-light .aihub-planbar__count-box {
  background: rgba(0,128,128,0.06);
  border-color: rgba(0,128,128,0.18);
}
.aihub-theme-light .aihub-planbar__count { color: #008080; }
.aihub-theme-light .aihub-planbar__title { color: #1a1a2e; }
.aihub-theme-light .aihub-planbar__cat-chip { color: #9999a5; }
.aihub-theme-light .aihub-planbar__finish {
  background: #008080; color: #fff;
}
.aihub-theme-light .aihub-planbar__finish:hover {
  box-shadow: 0 0 14px rgba(0,128,128,0.25);
}
.aihub-theme-light .aihub-planbar__progress { border-bottom-color: #eee; }
.aihub-theme-light .aihub-planbar__seg { background: #e8e8ef; }
.aihub-theme-light .aihub-planbar__seg--full { background: #008080; }
.aihub-theme-light .aihub-planbar__list {
  scrollbar-color: rgba(0,0,0,0.08) transparent;
}
.aihub-theme-light .aihub-basket-entry { border-bottom-color: #eee; }
.aihub-theme-light .aihub-basket-entry__title { color: #1a1a2e; }
.aihub-theme-light .aihub-basket-entry__remove { color: #9999a5; }
.aihub-theme-light .aihub-basket-entry__prio--medium {
  color: #008080; background: rgba(0,128,128,0.06);
}
.aihub-theme-light .aihub-planbar__footer { border-top-color: #eee; }
.aihub-theme-light .aihub-planbar__save {
  background: rgba(0,128,128,0.06);
  border-color: rgba(0,128,128,0.2);
  color: #008080;
}
.aihub-theme-light .aihub-planbar__share {
  background: rgba(99,102,241,0.04);
  border-color: rgba(99,102,241,0.18);
  color: #6366f1;
}

/* ── Pre-screening overlay ───────────────── */
.aihub-theme-light .aihub-prescreening-overlay {
  background: radial-gradient(ellipse at center, rgba(0,128,128,0.03) 0%, rgba(240,242,248,0.97) 70%);
}
.aihub-theme-light .aihub-prescreening-card {
  background: #fff;
  border-color: #dde0e8;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
}
.aihub-theme-light .aihub-prescreening-card::before { display: none; }
.aihub-theme-light .aihub-prescreening-header {
  background: linear-gradient(180deg, rgba(0,128,128,0.03) 0%, transparent 100%);
  border-bottom-color: #eee;
}
.aihub-theme-light .aihub-prescreening-title { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-prescreening-subtitle { color: #666675; }
.aihub-theme-light .aihub-prescreening-progress {
  border-bottom-color: #eee;
  background: rgba(0,128,128,0.01);
}
.aihub-theme-light .aihub-prescreening-progress__bar { background: #e8e8ef; }
.aihub-theme-light .aihub-prescreening-progress__fill {
  background: linear-gradient(90deg, #008080, #00a0a0);
  box-shadow: none;
}
.aihub-theme-light .aihub-prescreening-progress__fill::after {
  background: #008080;
  box-shadow: 0 0 6px rgba(0,128,128,0.35);
}
.aihub-theme-light .aihub-prescreening-progress__text { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-prescreening-body { color: #1a1a2e; }
.aihub-theme-light .aihub-ps-question-text { color: #1a1a2e; }
.aihub-theme-light .aihub-ps-option-btn {
  background: #f8f8fc;
  border-color: #dde0e8;
  border-left-color: #dde0e8;
  color: #1a1a2e;
}
.aihub-theme-light .aihub-ps-option-btn:hover {
  border-color: rgba(0,128,128,0.3);
  border-left-color: rgba(0,128,128,0.45);
  background: rgba(0,128,128,0.02);
  box-shadow: 0 0 10px rgba(0,128,128,0.04);
}
.aihub-theme-light .aihub-ps-option-btn--selected {
  border-color: rgba(0,128,128,0.35);
  border-left-color: #008080;
  background: rgba(0,128,128,0.04);
}
.aihub-theme-light .aihub-ps-option-indicator { color: #ccc; }
.aihub-theme-light .aihub-ps-option-btn--selected .aihub-ps-option-indicator {
  color: #008080; text-shadow: none; filter: none;
}
.aihub-theme-light .aihub-prescreening-footer {
  border-top-color: #eee;
  background: rgba(0,128,128,0.01);
}
.aihub-theme-light .aihub-prescreening-btn--skip { color: #9999a5; }
.aihub-theme-light .aihub-prescreening-btn--skip:hover { color: #666675; text-shadow: none; }
.aihub-theme-light .aihub-prescreening-btn--back { color: #666675; border-color: #dde0e8; }
.aihub-theme-light .aihub-prescreening-btn--back:hover:not(:disabled) {
  border-color: rgba(0,128,128,0.25); color: #008080; text-shadow: none;
}
.aihub-theme-light .aihub-prescreening-btn--next {
  background: linear-gradient(135deg, #008080, #00a0a0);
  color: #fff;
  box-shadow: 0 0 8px rgba(0,128,128,0.12);
}
.aihub-theme-light .aihub-prescreening-btn--next:hover:not(:disabled) {
  box-shadow: 0 0 20px rgba(0,128,128,0.25); text-shadow: none;
}
.aihub-theme-light .aihub-prescreening-btn--next:disabled {
  background: #e8e8ef; color: #9999a5;
}

/* ── Pre-screening toast ─────────────────── */
.aihub-theme-light .aihub-ps-toast {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,128,128,0.3);
  color: #008080;
  text-shadow: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Progressive disclosure ──────────────── */
.aihub-theme-light .aihub-tab__pulse {
  background: #008080;
  box-shadow: 0 0 6px rgba(0,128,128,0.4);
}
.aihub-theme-light .aihub-tab__check { color: #16a349; text-shadow: none; }
.aihub-theme-light .aihub-tab--completed {
  color: #16a349 !important;
  background: rgba(34,197,94,0.04) !important;
  border-bottom-color: rgba(34,197,94,0.35) !important;
  text-shadow: none !important;
}
.aihub-theme-light .aihub-tab--completed:hover {
  background: rgba(34,197,94,0.06) !important;
}
.aihub-theme-light .aihub-tab--completed .aihub-tab__count {
  background: rgba(34,197,94,0.08) !important;
  color: #16a349 !important;
}
.aihub-theme-light .aihub-tab__start-here {
  background: #008080; color: #fff;
  box-shadow: 0 0 8px rgba(0,128,128,0.3);
}
.aihub-theme-light .aihub-journey-seg--completed { background: #16a349; }
.aihub-theme-light .aihub-journey-seg--active {
  background: linear-gradient(90deg, #008080 0%, #00a0a0 50%, #008080 100%);
  background-size: 200% auto;
}
.aihub-theme-light .aihub-journey-seg--unlocked { background: #e8e8ef; }

/* ── Welcome banner ──────────────────────── */
.aihub-theme-light .aihub-welcome-banner {
  background: linear-gradient(135deg, rgba(0,128,128,0.03), rgba(0,128,128,0.01));
  border-color: rgba(0,128,128,0.12);
  border-left-color: #008080;
}
.aihub-theme-light .aihub-welcome-banner__msg { color: #555570; }
.aihub-theme-light .aihub-welcome-banner__close { color: #ccc; }
.aihub-theme-light .aihub-welcome-banner__close:hover { color: #666675; }

/* ── Nudges ──────────────────────────────── */
.aihub-theme-light .aihub-nudge {
  background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(0,128,128,0.02));
  border-color: rgba(34,197,94,0.12);
  border-left-color: #16a349;
}
.aihub-theme-light .aihub-nudge:hover {
  border-color: rgba(0,128,128,0.2);
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(0,128,128,0.03));
}
.aihub-theme-light .aihub-nudge--complete {
  border-left-color: #b87800;
  border-color: rgba(180,120,0,0.15);
  background: linear-gradient(135deg, rgba(180,120,0,0.03), rgba(0,128,128,0.01));
}
.aihub-theme-light .aihub-nudge--complete:hover {
  border-color: rgba(180,120,0,0.25);
  background: linear-gradient(135deg, rgba(180,120,0,0.05), rgba(0,128,128,0.02));
}
.aihub-theme-light .aihub-nudge--complete .aihub-nudge__check {
  background: rgba(180,120,0,0.08) !important;
  border-color: rgba(180,120,0,0.3) !important;
  color: #b87800 !important;
}
.aihub-theme-light .aihub-nudge--complete .aihub-nudge__title {
  color: #b87800 !important;
}
.aihub-theme-light .aihub-nudge__check {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.25);
  color: #16a349;
}
.aihub-theme-light .aihub-nudge__title { color: #16a349; }
.aihub-theme-light .aihub-nudge__sub { color: #666675; }
.aihub-theme-light .aihub-nudge__next { color: #008080; }
.aihub-theme-light .aihub-nudge__arrow { color: #008080; }

/* ── Lock toast ──────────────────────────── */
.aihub-theme-light .aihub-lock-toast {
  background: #fffaf0;
  border-color: rgba(180,120,0,0.18);
  border-left-color: #d4a000;
  color: #8a6500;
}
.aihub-theme-light .aihub-lock-toast__skip { color: #9999a5; }
.aihub-theme-light .aihub-lock-toast__skip:hover { color: #008080; }

/* ── Summary screen ──────────────────────── */
.aihub-theme-light .aihub-summary {
  background: linear-gradient(180deg, #f0f2f8 0%, #e8eaf2 100%);
}
.aihub-theme-light .aihub-summary__card {
  background: #fff;
  border-color: #dde0e8;
}
.aihub-theme-light .aihub-summary__card-title { color: #9999a5; }
.aihub-theme-light .aihub-summary__card-title--amber { color: #b87800; }
.aihub-theme-light .aihub-summary__hero::before {
  background: radial-gradient(circle, rgba(0,128,128,0.05) 0%, transparent 70%);
}
.aihub-theme-light .aihub-summary__headline { color: #1a1a2e; }
.aihub-theme-light .aihub-summary__headline .aihub-sum-cyan { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-summary__subline { color: #666675; }
.aihub-theme-light .aihub-summary__tagline { color: #9999a5; }
.aihub-theme-light .aihub-summary__stat-card {
  background: #fff;
  border-color: #dde0e8;
}
.aihub-theme-light .aihub-summary__stat-num--cyan { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-summary__stat-label { color: #9999a5; }
.aihub-theme-light .aihub-sum-bar-label { color: #666675; }
.aihub-theme-light .aihub-sum-bar-track { background: #e8e8ef; }
.aihub-theme-light .aihub-sum-bar-score { color: #1a1a2e; }
.aihub-theme-light .aihub-sum-gap-title { color: #1a1a2e; }
.aihub-theme-light .aihub-sum-gap-row { border-bottom-color: #eee; }
.aihub-theme-light .aihub-sum-gap-add {
  border-color: rgba(0,128,128,0.3); color: #008080;
}
.aihub-theme-light .aihub-sum-gap-add:hover {
  background: rgba(0,128,128,0.04); border-color: #008080;
}
.aihub-theme-light .aihub-sum-gap-more { color: #9999a5; }
.aihub-theme-light .aihub-summary__export {
  background: linear-gradient(135deg, rgba(0,128,128,0.04), rgba(0,128,128,0.01));
  border-color: rgba(0,128,128,0.15);
}
.aihub-theme-light .aihub-summary__export-title { color: #1a1a2e; }
.aihub-theme-light .aihub-summary__export-sub { color: #666675; }
.aihub-theme-light .aihub-summary__btn-primary {
  background: #008080; color: #fff;
}
.aihub-theme-light .aihub-summary__btn-primary:hover {
  box-shadow: 0 0 18px rgba(0,128,128,0.2);
}
.aihub-theme-light .aihub-summary__btn-secondary {
  background: #f0f2f8; color: #666675; border-color: #dde0e8;
}
.aihub-theme-light .aihub-summary__btn-secondary:hover {
  border-color: #ccc; color: #1a1a2e;
}
.aihub-theme-light .aihub-summary__email-input {
  background: #f8f8fc; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-summary__email-input:focus {
  border-color: #008080; box-shadow: 0 0 10px rgba(0,128,128,0.1);
}
.aihub-theme-light .aihub-summary__export-note { color: #9999a5; }
.aihub-theme-light .aihub-summary__url-bar {
  background: #f0f2f8; border-color: #dde0e8;
}
.aihub-theme-light .aihub-summary__url-text { color: #008080; }
.aihub-theme-light .aihub-summary__url-copy { border-color: rgba(0,128,128,0.25); color: #008080; }
.aihub-theme-light .aihub-summary__url-desc { color: #9999a5; }
.aihub-theme-light .aihub-summary__reminder-icon {
  background: rgba(180,120,0,0.06); border-color: rgba(180,120,0,0.15);
}
.aihub-theme-light .aihub-summary__reminder-text strong { color: #1a1a2e; }
.aihub-theme-light .aihub-summary__reminder-text p { color: #666675; }
.aihub-theme-light .aihub-summary__back-btn {
  background: #f0f2f8; color: #666675; border-color: #dde0e8;
}
.aihub-theme-light .aihub-summary__back-btn:hover { color: #1a1a2e; border-color: #ccc; }
.aihub-theme-light .aihub-summary__check {
  background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.2);
}
.aihub-theme-light .aihub-summary__bench-opt {
  border-color: #dde0e8; background: #f8f8fc; color: #666675;
}
.aihub-theme-light .aihub-summary__bench-opt:hover {
  border-color: rgba(0,128,128,0.3); color: #1a1a2e;
}
.aihub-theme-light .aihub-summary__bench-opt--active.aihub-summary__bench-opt--yes {
  border-color: #008080; background: rgba(0,128,128,0.04); color: #008080;
}
.aihub-theme-light .aihub-summary__benchmark-label { color: #666675; }
.aihub-theme-light .aihub-summary__refcode-reveal {
  background: rgba(0,128,128,0.03); border-color: rgba(0,128,128,0.2);
}
.aihub-theme-light .aihub-summary__refcode-msg { color: #008080; }
.aihub-theme-light .aihub-summary__refcode-value { color: #1a1a2e; }
.aihub-theme-light .aihub-summary__refcode-copy { border-color: rgba(0,128,128,0.25); color: #008080; }
.aihub-theme-light .aihub-summary__industry-select {
  background-color: #f8f8fc; color: #1a1a2e; border-color: #dde0e8;
}

/* ── Summary benchmark bars ──────────────── */
.aihub-theme-light .aihub-sum-benchmark__intro { color: #666675; }
.aihub-theme-light .aihub-sum-benchmark__legend-you { color: #008080; }
.aihub-theme-light .aihub-sum-benchmark__legend-avg { color: #bbb; }
.aihub-theme-light .aihub-sum-benchmark__name { color: #666675; }
.aihub-theme-light .aihub-sum-benchmark__bar-wrap { background: #e8e8ef; }
.aihub-theme-light .aihub-sum-benchmark__bar--avg { background: #ccc; }
.aihub-theme-light .aihub-sum-benchmark__score-you { color: #1a1a2e; }
.aihub-theme-light .aihub-sum-benchmark__delta { color: #666675; }
.aihub-theme-light .aihub-sum-benchmark__note { color: #9999a5; }
.aihub-theme-light .aihub-sum-benchmark__overlay-btn {
  border-color: rgba(0,128,128,0.3); color: #008080;
}

/* ── Email form ──────────────────────────── */
.aihub-theme-light .aihub-lead-form__intro { color: #666675; }
.aihub-theme-light .aihub-lead-form__input {
  background: #f8f8fc; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-lead-form__input::placeholder { color: #bbb; }
.aihub-theme-light .aihub-lead-form__input:focus {
  border-color: #008080; box-shadow: 0 0 8px rgba(0,128,128,0.1);
}
.aihub-theme-light .aihub-lead-form__status { color: #ef4444; }

/* ── Reset survey / PDF buttons ──────────── */
.aihub-theme-light .aihub-basket-reset-survey {
  color: #9999a5; border-color: #dde0e8;
}
.aihub-theme-light .aihub-basket-reset-survey:hover {
  color: #008080; border-color: rgba(0,128,128,0.25);
  background: rgba(0,128,128,0.02); box-shadow: none; text-shadow: none;
}
.aihub-theme-light .aihub-basket-pdf-btn {
  background: linear-gradient(135deg, #008080, #00a0a0); color: #fff;
}
.aihub-theme-light .aihub-basket-pdf-btn:hover {
  box-shadow: 0 0 18px rgba(0,128,128,0.2);
}

/* ── Auto-save indicator ─────────────────── */
.aihub-theme-light .aihub-autosave {
  background: rgba(255,255,255,0.95);
  border-color: #dde0e8;
  color: #666675;
}
.aihub-theme-light .aihub-autosave--saved {
  color: #16a349;
  border-color: rgba(34,197,94,0.18);
}

/* ── Plan toast ──────────────────────────── */
.aihub-theme-light .aihub-plan-toast {
  background: #16a349; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ── Maturity nudge banner ───────────────── */
.aihub-theme-light .aihub-maturity-nudge {
  border-color: rgba(0,128,128,0.2);
}

/* ── Plan modals ─────────────────────────── */
.aihub-theme-light .aihub-pmodal-overlay { background: rgba(0,0,0,0.35); }
.aihub-theme-light .aihub-pmodal {
  background: #fff;
  border-color: #dde0e8;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.aihub-theme-light .aihub-pmodal__close {
  background: #f0f2f8; border-color: #dde0e8; color: #9999a5;
}
.aihub-theme-light .aihub-pmodal__close:hover { background: #e8e8ef; color: #1a1a2e; }
.aihub-theme-light .aihub-pmodal__title { color: #1a1a2e; }
.aihub-theme-light .aihub-pmodal__sub { color: #666675; }
.aihub-theme-light .aihub-pmodal__field {
  background: #f8f8fc; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-pmodal__field:focus {
  border-color: rgba(0,128,128,0.35);
  box-shadow: 0 0 0 3px rgba(0,128,128,0.05);
}
.aihub-theme-light .aihub-pmodal__field::placeholder { color: #bbb; }
.aihub-theme-light .aihub-pmodal__select option { background: #fff; color: #1a1a2e; }
.aihub-theme-light .aihub-pmodal__consent { color: #666675; }
.aihub-theme-light .aihub-pmodal__consent a { color: #008080; }
.aihub-theme-light .aihub-pmodal__error {
  background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.18);
}
.aihub-theme-light .aihub-pmodal__submit { background: #008080; color: #fff; }
.aihub-theme-light .aihub-pmodal__refcode { color: #008080; text-shadow: none; }
.aihub-theme-light .aihub-pmodal__refcode-label { color: #666675; }
.aihub-theme-light .aihub-pmodal__copy-btn {
  background: rgba(0,128,128,0.04); border-color: rgba(0,128,128,0.18); color: #008080;
}
.aihub-theme-light .aihub-pmodal__divider { border-top-color: #eee; }
.aihub-theme-light .aihub-pmodal__summary { color: #666675; }
.aihub-theme-light .aihub-pmodal__reminder {
  background: rgba(180,120,0,0.04); border-left-color: rgba(180,120,0,0.35); color: #8a6500;
}
.aihub-theme-light .aihub-pmodal__reminder strong { color: #b87800; }
.aihub-theme-light .aihub-pmodal__reminder a { color: #008080; }
.aihub-theme-light .aihub-pmodal__btn-secondary {
  background: #f0f2f8; border-color: #dde0e8; color: #666675;
}
.aihub-theme-light .aihub-pmodal__btn-secondary:hover { background: #e8e8ef; color: #1a1a2e; }
.aihub-theme-light .aihub-pmodal__btn-primary { background: #008080; color: #fff; }
.aihub-theme-light .aihub-pmodal__delete-link { color: #bbb; }
.aihub-theme-light .aihub-pmodal__delete-link:hover { color: #ef4444; }
.aihub-theme-light .aihub-pmodal__share-link { color: #008080; }

/* ── Maturity warning modal ──────────────── */
.aihub-theme-light .aihub-maturity-warn-modal__backdrop { background: rgba(0,0,0,0.4); }
.aihub-theme-light .aihub-maturity-warn-modal__card {
  background: #fffaf0;
  border-color: rgba(180,120,0,0.2);
  border-top-color: #d4a000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.aihub-theme-light .aihub-maturity-warn-modal__title { color: #b87800; text-shadow: none; }
.aihub-theme-light .aihub-maturity-warn-modal__body { color: #6b4500; }
.aihub-theme-light .aihub-maturity-warn-modal__body strong { color: #b87800; }
.aihub-theme-light .aihub-maturity-warn-modal__hint { color: #9a7000; }
.aihub-theme-light .aihub-maturity-warn-modal__btn-primary {
  background: #d4a000; color: #fff; box-shadow: none;
}
.aihub-theme-light .aihub-maturity-warn-modal__btn-primary:hover {
  background: #e0ad00; box-shadow: 0 0 14px rgba(200,150,0,0.18);
}
.aihub-theme-light .aihub-maturity-warn-modal__btn-secondary {
  color: #9a7000; border-color: rgba(180,120,0,0.2);
}
.aihub-theme-light .aihub-maturity-warn-modal__btn-secondary:hover {
  color: #6b4500; border-color: rgba(180,120,0,0.35);
}

/* ── Benchmark overlay (fullscreen) ──────── */
.aihub-theme-light .aihub-bench-overlay {
  background: rgba(0,0,0,0.35);
}
.aihub-theme-light .aihub-bench-modal {
  background: #f5f5fa;
}
.aihub-theme-light .aihub-bench-close {
  background: rgba(0,0,0,0.04);
  border-color: #dde0e8;
  color: #9999a5;
}
.aihub-theme-light .aihub-bench-close:hover { background: rgba(0,0,0,0.08); color: #1a1a2e; }
.aihub-theme-light .aihub-bench-header__eyebrow { color: #008080; }
.aihub-theme-light .aihub-bench-header__title { color: #1a1a2e; }
.aihub-theme-light .aihub-bench-header__sub { color: #666675; }
.aihub-theme-light .aihub-bench-modal .aihub-dash__select {
  background: #fff; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-bench-modal .aihub-dash__select option { background: #fff; }
.aihub-theme-light .aihub-bench-modal .aihub-dash__count { color: #9999a5; }

/* ── Dashboard ───────────────────────────── */
.aihub-theme-light .aihub-dash { color: #1a1a2e; }
.aihub-theme-light .aihub-dash__filter-label { color: #666675; }
.aihub-theme-light .aihub-dash__select {
  background: #fff; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-dash__select option { background: #fff; }
.aihub-theme-light .aihub-dash__count { color: #9999a5; }
.aihub-theme-light .aihub-dash__loading { color: #666675; }
.aihub-theme-light .aihub-dash__spinner {
  border-color: rgba(0,128,128,0.12); border-top-color: #008080;
}
.aihub-theme-light .aihub-dash__toofew { color: #666675; }
.aihub-theme-light .aihub-dash__toofew a { color: #008080; }
.aihub-theme-light .aihub-dash__kpi {
  background: #fff; border-color: #dde0e8;
}
.aihub-theme-light .aihub-dash__kpi-val { color: #008080; }
.aihub-theme-light .aihub-dash__kpi--green .aihub-dash__kpi-val { color: #16a349; }
.aihub-theme-light .aihub-dash__kpi--amber .aihub-dash__kpi-val { color: #d97706; }
.aihub-theme-light .aihub-dash__kpi-label { color: #666675; }
.aihub-theme-light .aihub-dash__kpi-sub { color: #9999a5; }
.aihub-theme-light .aihub-dash__card {
  background: #fff; border-color: #dde0e8;
}
.aihub-theme-light .aihub-dash__card-title { color: #1a1a2e; }
.aihub-theme-light .aihub-dash__card-sub { color: #666675; }
.aihub-theme-light .aihub-dash__bar-label { color: #666675; }
.aihub-theme-light .aihub-dash__bar-track { background: rgba(0,0,0,0.04); }
.aihub-theme-light .aihub-dash__bar-val { color: #1a1a2e; }
.aihub-theme-light .aihub-dash__bar-sub { color: #9999a5; }
.aihub-theme-light .aihub-dash__list-title { color: #1a1a2e; }
.aihub-theme-light .aihub-dash__list-main::before { color: #9999a5; }
.aihub-theme-light .aihub-dash__list-pill {
  color: #666675; background: rgba(0,0,0,0.03);
}
.aihub-theme-light .aihub-dash__list-pct { color: #666675; }
.aihub-theme-light .aihub-dash__cta {
  background: linear-gradient(135deg, #f0f2f8 0%, #e8eaf2 60%, #f0f2f8 100%);
  border-color: rgba(0,128,128,0.15);
}
.aihub-theme-light .aihub-dash__cta-eyebrow { color: #008080; }
.aihub-theme-light .aihub-dash__cta-headline { color: #1a1a2e; }
.aihub-theme-light .aihub-dash__cta-btn { background: #008080; color: #fff; }
.aihub-theme-light .aihub-dash__cta-btn:hover { background: #006d6d; }

/* ── Help bubble + panel ─────────────────── */
.aihub-theme-light #aihub-help-bubble {
  background: linear-gradient(135deg, #4f7df5 0%, #8066e8 100%);
  box-shadow: 0 4px 18px rgba(99,102,241,0.3);
}
.aihub-theme-light #aihub-help-bubble:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.4);
}
.aihub-theme-light #aihub-help-panel {
  background: #fff;
  border-color: rgba(99,102,241,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  color: #1a1a2e;
}
.aihub-theme-light .aihub-hp__header { border-bottom-color: #eee; }
.aihub-theme-light .aihub-hp__title { color: #1a1a2e; }
.aihub-theme-light .aihub-hp__sub { color: #666675; }
.aihub-theme-light .aihub-hp__close { color: #9999a5; }
.aihub-theme-light .aihub-hp__close:hover { color: #1a1a2e; }
.aihub-theme-light .aihub-hp__field {
  background: #f8f8fc; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-hp__field::placeholder { color: #bbb; }
.aihub-theme-light .aihub-hp__field:focus { border-color: rgba(99,102,241,0.4); }
.aihub-theme-light .aihub-hp__ref {
  color: #6366f1; background: rgba(99,102,241,0.04); border-color: rgba(99,102,241,0.15);
}
.aihub-theme-light .aihub-hp__ref-hint { color: #9999a5; }
.aihub-theme-light .aihub-hp__ref-hint--ok { color: #16a349; }
.aihub-theme-light .aihub-hp__save-now { color: #4f7df5; }
.aihub-theme-light .aihub-hp__save-now:hover { color: #3b6de0; }
.aihub-theme-light .aihub-hp__char { color: #bbb; }
.aihub-theme-light .aihub-hp__err {
  background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.18); color: #ef4444;
}
.aihub-theme-light .aihub-hp__success-msg { color: #666675; }

/* ── Benchmark overlay (compact) ─────────── */
.aihub-theme-light .aihub-bench-overlay__backdrop {
  background: rgba(0,0,0,0.35);
}
.aihub-theme-light .aihub-bench-overlay__panel {
  background: #fff; border-color: #dde0e8;
  box-shadow: 0 20px 56px rgba(0,0,0,0.12);
}
.aihub-theme-light .aihub-bench-overlay__header { border-bottom-color: #eee; }
.aihub-theme-light .aihub-bench-overlay__title { color: #1a1a2e; }
.aihub-theme-light .aihub-bench-overlay__close { color: #9999a5; }
.aihub-theme-light .aihub-bench-overlay__close:hover { color: #1a1a2e; }
.aihub-theme-light .aihub-bench-overlay__filter-bar { border-bottom-color: #eee; }
.aihub-theme-light .aihub-bench-overlay__filter-label { color: #666675; }
.aihub-theme-light .aihub-bench-overlay__select {
  background: #f8f8fc; border-color: #dde0e8; color: #1a1a2e;
}
.aihub-theme-light .aihub-bench-overlay__count { color: #9999a5; }
.aihub-theme-light .aihub-bench-overlay__loading { color: #666675; }
.aihub-theme-light .aihub-bench-overlay__spinner {
  border-color: rgba(0,128,128,0.15); border-top-color: #008080;
}
.aihub-theme-light .aihub-bench-overlay__toofew { color: #666675; }
.aihub-theme-light .aihub-bench-kpi {
  background: #f8f8fc; border-color: #dde0e8;
}
.aihub-theme-light .aihub-bench-kpi__val { color: #1a1a2e; }
.aihub-theme-light .aihub-bench-kpi__val--cyan { color: #008080; }
.aihub-theme-light .aihub-bench-kpi__label { color: #666675; }
.aihub-theme-light .aihub-bench-card {
  background: #f8f8fc; border-color: #dde0e8;
}
.aihub-theme-light .aihub-bench-card__title { color: #666675; }
.aihub-theme-light .aihub-bench-bar-label { color: #666675; }
.aihub-theme-light .aihub-bench-bar-track { background: #e8e8ef; }
.aihub-theme-light .aihub-bench-bar-val { color: #1a1a2e; }

/* ── Header title light override (hardcoded text-shadow) ─────── */
.aihub-theme-light .aihub-title {
  color: #008080;
  text-shadow: none;
}
.aihub-theme-light .aihub-subtitle {
  color: #666675;
}
