/* ============================================================
   QUALITY ASSESSMENT PAGE — ALL STYLES SCOPED TO #ki-qa-page
   This prevents any bleed into header, footer, or other pages
   ============================================================ */

#ki-qa-page *,
#ki-qa-page *::before,
#ki-qa-page *::after {
  box-sizing: border-box;
}

#ki-qa-page {
  --ki-primary: #0A5A94;
  --ki-primary-light: #1a7ac4;
  --ki-primary-pale: #EBF4FF;
  --ki-primary-mid: #C8E0F4;
  --ki-accent: #FFC107;
  --ki-dark: #111827;
  --ki-mid: #374151;
  --ki-muted: #6B7280;
  --ki-border: #E5EAF2;
  --ki-white: #ffffff;
  --ki-light-bg: #F3F9FF;
  --ki-green: #10B981;
  --ki-red: #EF4444;
  --ki-orange: #F59E0B;
  --ki-section-pad: 90px 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ki-dark);
  background: var(--ki-white);
  overflow-x: hidden;
}

/* ── CONTAINER ── */
#ki-qa-page .ki-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── BREADCRUMB ── */
#ki-qa-page .ki-breadcrumb {
  padding: 20px 0 0;
}
#ki-qa-page .ki-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ki-muted);
}
#ki-qa-page .ki-breadcrumb-inner a {
  color: var(--ki-primary);
  text-decoration: none;
  font-weight: 500;
}
#ki-qa-page .ki-breadcrumb-inner a:hover { text-decoration: underline; }
#ki-qa-page .ki-breadcrumb-inner span { color: var(--ki-border); }

/* ── EYEBROW BADGE ── */
#ki-qa-page .ki-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ki-border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ki-dark);
  margin-bottom: 24px;
}
#ki-qa-page .ki-eyebrow-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--ki-primary);
  border-radius: 50%;
}

/* ── HERO ── */
#ki-qa-page .ki-hero {
  padding: 40px 0 0;
}
#ki-qa-page .ki-hero-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  padding: 20px 0px;
  align-items: center;
}
#ki-qa-page .ki-hero-headline {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ki-dark);
  margin-bottom: 22px;
}
#ki-qa-page .ki-hero-headline .ki-blue { color: var(--ki-primary); }
#ki-qa-page .ki-hero-desc {
  font-size: 17px;
  color: var(--ki-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 480px;
}
#ki-qa-page .ki-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
#ki-qa-page .ki-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ki-primary);
  color: white;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
#ki-qa-page .ki-btn-primary:hover {
  background: var(--ki-primary-light);
  transform: translateY(-2px);
}
#ki-qa-page .ki-btn-primary svg { transition: transform 0.2s; }
#ki-qa-page .ki-btn-primary:hover svg { transform: translateX(3px); }
#ki-qa-page .ki-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ki-dark);
  border: 1.5px solid var(--ki-border);
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
#ki-qa-page .ki-btn-outline:hover {
  border-color: var(--ki-primary);
  color: var(--ki-primary);
}

/* ── HERO STATS ── */
#ki-qa-page .ki-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ki-border);
}
#ki-qa-page .ki-hero-stat-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--ki-dark);
  line-height: 1;
  margin-bottom: 4px;
}
#ki-qa-page .ki-hero-stat-label {
  font-size: 13px;
  color: var(--ki-muted);
  font-weight: 400;
}

/* ── HERO VISUAL ── */
#ki-qa-page .ki-hero-visual {
  position: relative;
  margin-right: -48px;
  margin-bottom: 0;
}
#ki-qa-page .ki-hero-visual-inner {
  position: relative;
}
#ki-qa-page .ki-hero-float-card {
  position: absolute;
  z-index: 10;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 12px 16px;
}
#ki-qa-page .ki-hero-float-card.ki-top-left {
  top: 28px;
  left: -36px;
  min-width: 160px;
}
#ki-qa-page .ki-hero-float-card.ki-bottom-left {
  bottom: 48px;
  left: -28px;
  min-width: 150px;
}
#ki-qa-page .ki-hfc-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ki-muted);
  margin-bottom: 4px;
}
#ki-qa-page .ki-hfc-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--ki-dark);
  line-height: 1;
  margin-bottom: 2px;
}
#ki-qa-page .ki-hfc-sub { font-size: 11px; color: var(--ki-muted); }
#ki-qa-page .ki-hfc-delta { font-size: 11px; font-weight: 700; }
#ki-qa-page .ki-hfc-delta.ki-up { color: var(--ki-green); }
#ki-qa-page .ki-hfc-delta.ki-dn { color: var(--ki-red); }

/* ── QA MOCK ── */
#ki-qa-page .ki-qa-mock {
  background: var(--ki-dark);
  border-radius: 16px 0 0 0;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.1);
}
#ki-qa-page .ki-qa-mock-bar {
  background: #1a2535;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#ki-qa-page .ki-qa-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
#ki-qa-page .ki-qa-mock-title {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-left: 8px;
  font-weight: 500;
}
#ki-qa-page .ki-qa-mock-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--ki-green);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
#ki-qa-page .ki-qa-mock-live-dot {
  width: 6px;
  height: 6px;
  background: var(--ki-green);
  border-radius: 50%;
  animation: ki-livepulse 1.5s ease-in-out infinite;
}
@keyframes ki-livepulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
#ki-qa-page .ki-qa-mock-body { padding: 20px; }

/* ── AI SCORE BANNER ── */
#ki-qa-page .ki-ai-score-banner {
  background: rgba(10,90,148,0.15);
  border: 1px solid rgba(10,90,148,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
#ki-qa-page .ki-ai-score-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ki-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#ki-qa-page .ki-ai-score-num {
  font-size: 18px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
#ki-qa-page .ki-ai-score-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}
#ki-qa-page .ki-ai-score-name {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 1px;
}
#ki-qa-page .ki-ai-score-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
#ki-qa-page .ki-ai-badge {
  margin-left: auto;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--ki-green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── CRITERIA ── */
#ki-qa-page .ki-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
#ki-qa-page .ki-criteria-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#ki-qa-page .ki-criteria-name {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  min-width: 110px;
  font-weight: 500;
}
#ki-qa-page .ki-criteria-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
#ki-qa-page .ki-criteria-bar-fill {
  height: 100%;
  border-radius: 3px;
}
#ki-qa-page .ki-criteria-score {
  font-size: 11px;
  font-weight: 700;
  min-width: 28px;
  text-align: right;
}

/* ── COACHING NOTE ── */
#ki-qa-page .ki-coaching-note {
  background: rgba(255,193,7,0.08);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
#ki-qa-page .ki-coaching-note-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
#ki-qa-page .ki-coaching-note-text {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
#ki-qa-page .ki-coaching-note-text strong {
  color: rgba(255,193,7,0.9);
  font-weight: 700;
}

/* ── SECTION HEADERS ── */
#ki-qa-page .ki-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ki-primary);
  margin-bottom: 14px;
}
#ki-qa-page .ki-section-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--ki-primary);
  border-radius: 2px;
}
#ki-qa-page .ki-section-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ki-dark);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
#ki-qa-page .ki-section-title .ki-blue { color: var(--ki-primary); }
#ki-qa-page .ki-section-desc {
  font-size: 17px;
  color: var(--ki-muted);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 400;
}
#ki-qa-page .ki-text-center { text-align: center; }
#ki-qa-page .ki-text-center .ki-section-eyebrow { justify-content: center; }
#ki-qa-page .ki-text-center .ki-section-eyebrow::before { display: none; }
#ki-qa-page .ki-text-center .ki-section-desc { margin: 0 auto; }

/* ── PAIN STRIP ── */
#ki-qa-page .ki-pain-strip {
  background: var(--ki-dark);
  padding: 64px 0;
}
#ki-qa-page .ki-pain-strip-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}
#ki-qa-page .ki-pain-item {
  background: var(--ki-dark);
  padding: 36px 32px;
}
#ki-qa-page .ki-pain-num {
  font-size: 44px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -2px;
}
#ki-qa-page .ki-pain-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}
#ki-qa-page .ki-pain-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
}
#ki-qa-page .ki-pain-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}
#ki-qa-page .ki-pain-desc strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ── ROLES SECTION ── */
#ki-qa-page .ki-roles-section {
  padding: var(--ki-section-pad);
  background: var(--ki-white);
}
#ki-qa-page .ki-roles-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--ki-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}
#ki-qa-page .ki-role-tab {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border-right: 1px solid var(--ki-border);
  background: var(--ki-white);
}
#ki-qa-page .ki-role-tab:last-child { border-right: none; }
#ki-qa-page .ki-role-tab.ki-active {
  background: var(--ki-primary);
  color: white;
}
#ki-qa-page .ki-role-tab-icon {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}
#ki-qa-page .ki-role-tab-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ki-dark);
  display: block;
}
#ki-qa-page .ki-role-tab.ki-active .ki-role-tab-label { color: white; }
#ki-qa-page .ki-role-tab-sub {
  font-size: 11px;
  color: var(--ki-muted);
  display: block;
  margin-top: 2px;
}
#ki-qa-page .ki-role-tab.ki-active .ki-role-tab-sub { color: rgba(255,255,255,0.7); }

#ki-qa-page .ki-role-panels { position: relative; }
#ki-qa-page .ki-role-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
#ki-qa-page .ki-role-panel.ki-active { display: grid; }
#ki-qa-page .ki-role-panel-features { list-style: none; margin-top: 28px; }
#ki-qa-page .ki-role-panel-feature {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ki-border);
}
#ki-qa-page .ki-role-panel-feature:last-child { border-bottom: none; }
#ki-qa-page .ki-feature-icon-box {
  width: 40px;
  height: 40px;
  background: var(--ki-primary-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
#ki-qa-page .ki-feature-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ki-dark);
  margin-bottom: 4px;
}
#ki-qa-page .ki-feature-text p {
  font-size: 13px;
  color: var(--ki-muted);
  line-height: 1.6;
}

/* ── ROLE VISUALS ── */
#ki-qa-page .ki-role-visual {
  background: var(--ki-light-bg);
  border: 1.5px solid var(--ki-border);
  border-radius: 16px;
  overflow: hidden;
}
#ki-qa-page .ki-role-visual-header {
  background: var(--ki-primary-pale);
  border-bottom: 1px solid var(--ki-primary-mid);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#ki-qa-page .ki-role-visual-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ki-primary);
}
#ki-qa-page .ki-role-visual-body { padding: 18px; }

/* ── TICKET ROWS ── */
#ki-qa-page .ki-ticket-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--ki-border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
#ki-qa-page .ki-ticket-row.ki-selected {
  border-color: var(--ki-primary);
  background: var(--ki-primary-pale);
}
#ki-qa-page .ki-ticket-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ki-primary-pale);
  color: var(--ki-primary);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#ki-qa-page .ki-ticket-info { flex: 1; }
#ki-qa-page .ki-ticket-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ki-dark);
}
#ki-qa-page .ki-ticket-preview {
  font-size: 11px;
  color: var(--ki-muted);
}
#ki-qa-page .ki-ticket-score {
  font-size: 13px;
  font-weight: 800;
}
#ki-qa-page .ki-ticket-score.ki-high { color: var(--ki-green); }
#ki-qa-page .ki-ticket-score.ki-mid { color: var(--ki-orange); }
#ki-qa-page .ki-ticket-score.ki-low { color: var(--ki-red); }
#ki-qa-page .ki-ai-auto-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(10,90,148,0.1);
  color: var(--ki-primary);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── AGENT FEEDBACK CARD ── */
#ki-qa-page .ki-agent-feedback-card {
  background: white;
  border: 1.5px solid var(--ki-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
#ki-qa-page .ki-afc-header {
  padding: 10px 14px;
  background: var(--ki-light-bg);
  border-bottom: 1px solid var(--ki-border);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
#ki-qa-page .ki-afc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ki-dark);
}
#ki-qa-page .ki-afc-date { font-size: 10px; color: var(--ki-muted); }
#ki-qa-page .ki-afc-body { padding: 12px 14px; }
#ki-qa-page .ki-afc-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
#ki-qa-page .ki-afc-score-big {
  font-size: 32px;
  font-weight: 900;
  color: var(--ki-orange);
  line-height: 1;
}
#ki-qa-page .ki-afc-score-label {
  font-size: 12px;
  color: var(--ki-muted);
}
#ki-qa-page .ki-afc-bar-track {
  flex: 1;
  height: 6px;
  background: var(--ki-border);
  border-radius: 3px;
}
#ki-qa-page .ki-afc-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--ki-orange);
}
#ki-qa-page .ki-afc-note {
  font-size: 12px;
  color: var(--ki-mid);
  line-height: 1.5;
  padding: 10px;
  background: rgba(245,158,11,0.06);
  border-radius: 7px;
  border-left: 3px solid var(--ki-orange);
  margin-top: 8px;
}
#ki-qa-page .ki-afc-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
#ki-qa-page .ki-afc-btn {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid;
  transition: all 0.15s;
}
#ki-qa-page .ki-afc-btn.ki-accept {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.3);
  color: #059669;
}
#ki-qa-page .ki-afc-btn.ki-reject {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.2);
  color: #dc2626;
}

/* ── TEAM TABLE ── */
#ki-qa-page .ki-team-table {
  width: 100%;
  border-collapse: collapse;
}
#ki-qa-page .ki-team-table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ki-muted);
  padding: 0 8px 8px;
  text-align: left;
  border-bottom: 1px solid var(--ki-border);
}
#ki-qa-page .ki-team-table td {
  padding: 10px 8px;
  font-size: 12px;
  border-bottom: 1px solid var(--ki-border);
  vertical-align: middle;
}
#ki-qa-page .ki-team-table tr:last-child td { border-bottom: none; }
#ki-qa-page .ki-team-table td:first-child {
  font-weight: 600;
  color: var(--ki-dark);
}
#ki-qa-page .ki-trend-up { color: var(--ki-green); font-weight: 700; }
#ki-qa-page .ki-trend-dn { color: var(--ki-red); font-weight: 700; }
#ki-qa-page .ki-flag-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#ki-qa-page .ki-flag-pill.ki-ok {
  background: rgba(16,185,129,0.1);
  color: #059669;
}
#ki-qa-page .ki-flag-pill.ki-warn {
  background: rgba(245,158,11,0.1);
  color: #b45309;
}
#ki-qa-page .ki-flag-pill.ki-alert {
  background: rgba(239,68,68,0.08);
  color: #dc2626;
}

/* ── AI DARK SECTION ── */
#ki-qa-page .ki-ai-section {
  background: linear-gradient(135deg, #0a0f1c 0%, #0d1e38 55%, #080f1c 100%);
  padding: var(--ki-section-pad);
  position: relative;
  overflow: hidden;
}
#ki-qa-page .ki-ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 50%, rgba(10,90,148,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 10% 80%, rgba(10,90,148,0.08) 0%, transparent 60%);
}
#ki-qa-page .ki-ai-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
#ki-qa-page .ki-ai-inner {
  position: relative;
  z-index: 2;
}
#ki-qa-page .ki-ai-header {
  text-align: center;
  margin-bottom: 60px;
}
#ki-qa-page .ki-ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
#ki-qa-page .ki-ai-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--ki-primary-light);
  border-radius: 50%;
}
#ki-qa-page .ki-ai-title {
  font-size: 44px;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
#ki-qa-page .ki-ai-title .ki-blue { color: #60b4f6; }
#ki-qa-page .ki-ai-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
#ki-qa-page .ki-ai-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 48px;
}
#ki-qa-page .ki-ai-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s;
}
#ki-qa-page .ki-ai-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(10,90,148,0.5);
  transform: translateY(-4px);
}
#ki-qa-page .ki-ai-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(10,90,148,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
#ki-qa-page .ki-ai-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
#ki-qa-page .ki-ai-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ── KRC BRIDGE ── */
#ki-qa-page .ki-krc-bridge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
#ki-qa-page .ki-krc-bridge-diamond {
  width: 48px;
  height: 48px;
  background: rgba(10,90,148,0.3);
  border-radius: 12px;
  transform: rotate(45deg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ki-qa-page .ki-krc-bridge-diamond-inner {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 4px;
  transform: rotate(0deg);
}
#ki-qa-page .ki-krc-bridge-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
#ki-qa-page .ki-krc-bridge-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
#ki-qa-page .ki-krc-bridge-text p strong {
  color: #60b4f6;
  font-weight: 600;
}
#ki-qa-page .ki-krc-link {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10,90,148,0.4);
  border: 1px solid rgba(10,90,148,0.6);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
#ki-qa-page .ki-krc-link:hover { background: rgba(10,90,148,0.6); }

/* ── HOW IT WORKS ── */
#ki-qa-page .ki-how-section {
  padding: var(--ki-section-pad);
  background: var(--ki-light-bg);
}
#ki-qa-page .ki-steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
#ki-qa-page .ki-steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--ki-primary-mid), var(--ki-primary), var(--ki-primary-mid));
  border-radius: 2px;
}
#ki-qa-page .ki-step-card {
  background: white;
  border: 1.5px solid var(--ki-border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: box-shadow 0.3s;
}
#ki-qa-page .ki-step-card:hover {
  box-shadow: 0 8px 32px rgba(10,90,148,0.1);
}
#ki-qa-page .ki-step-num {
  width: 52px;
  height: 52px;
  background: var(--ki-primary);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
#ki-qa-page .ki-step-icon {
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}
#ki-qa-page .ki-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ki-dark);
  margin-bottom: 10px;
}
#ki-qa-page .ki-step-desc {
  font-size: 13.5px;
  color: var(--ki-muted);
  line-height: 1.65;
}
#ki-qa-page .ki-step-sub-items {
  list-style: none;
  margin-top: 14px;
  text-align: left;
}
#ki-qa-page .ki-step-sub-items li {
  font-size: 12px;
  color: var(--ki-mid);
  padding: 4px 0 4px 14px;
  position: relative;
}
#ki-qa-page .ki-step-sub-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ki-primary);
  font-size: 10px;
}

/* ── FEATURE TABLE ── */
#ki-qa-page .ki-table-section {
  padding: var(--ki-section-pad);
  background: var(--ki-white);
}
#ki-qa-page .ki-feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
#ki-qa-page .ki-feature-table thead tr {
  background: var(--ki-dark);
}
#ki-qa-page .ki-feature-table th {
  padding: 16px 22px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
#ki-qa-page .ki-feature-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--ki-border);
  font-size: 13.5px;
  vertical-align: middle;
  background: white;
}
#ki-qa-page .ki-feature-table tr:last-child td { border-bottom: none; }
#ki-qa-page .ki-feature-table tr:hover td { background: var(--ki-light-bg); }
#ki-qa-page .ki-feature-table td:first-child {
  font-weight: 700;
  color: var(--ki-dark);
}
#ki-qa-page .ki-feature-table td:nth-child(3) {
  color: var(--ki-primary);
  font-weight: 600;
  font-size: 13px;
}
#ki-qa-page .ki-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
#ki-qa-page .ki-role-tag.ki-qa { background: var(--ki-primary-pale); color: var(--ki-primary); }
#ki-qa-page .ki-role-tag.ki-agent { background: rgba(16,185,129,0.1); color: #059669; }
#ki-qa-page .ki-role-tag.ki-sup { background: rgba(245,158,11,0.1); color: #b45309; }
#ki-qa-page .ki-role-tag.ki-all { background: rgba(10,90,148,0.08); color: var(--ki-primary); }

/* ── USE CASES ── */
#ki-qa-page .ki-usecases-section {
  padding: var(--ki-section-pad);
  background: var(--ki-light-bg);
}
#ki-qa-page .ki-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
#ki-qa-page .ki-usecase-card {
  background: white;
  border: 1.5px solid var(--ki-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
#ki-qa-page .ki-usecase-card:hover {
  box-shadow: 0 8px 32px rgba(10,90,148,0.1);
  border-color: rgba(10,90,148,0.2);
  transform: translateY(-4px);
}
#ki-qa-page .ki-usecase-top {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--ki-border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#ki-qa-page .ki-usecase-icon {
  width: 42px;
  height: 42px;
  background: var(--ki-light-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
#ki-qa-page .ki-usecase-industry {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ki-primary);
  margin-bottom: 4px;
}
#ki-qa-page .ki-usecase-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ki-dark);
  line-height: 1.3;
}
#ki-qa-page .ki-usecase-body { padding: 18px 22px; }
#ki-qa-page .ki-usecase-problem {
  font-size: 13px;
  color: var(--ki-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
#ki-qa-page .ki-usecase-outcome {
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 10px 14px;
}
#ki-qa-page .ki-usecase-outcome-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ki-green);
  margin-bottom: 4px;
}
#ki-qa-page .ki-usecase-outcome p {
  font-size: 13px;
  font-weight: 700;
  color: var(--ki-dark);
  line-height: 1.4;
}

/* ── STAT STRIP ── */
#ki-qa-page .ki-stat-strip {
  background: var(--ki-primary);
  padding: 56px 0;
}
#ki-qa-page .ki-stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
#ki-qa-page .ki-stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
#ki-qa-page .ki-stat-item:last-child { border-right: none; }
#ki-qa-page .ki-stat-val {
  font-size: 44px;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
#ki-qa-page .ki-stat-val span { color: var(--ki-accent); }
#ki-qa-page .ki-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ── CTA ── */
#ki-qa-page .ki-cta-section {
  padding: 100px 0;
  text-align: center;
  background: var(--ki-white);
  border-top: 1px solid var(--ki-border);
}
#ki-qa-page .ki-cta-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--ki-dark);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 18px;
}
#ki-qa-page .ki-cta-title .ki-blue { color: var(--ki-primary); }
#ki-qa-page .ki-cta-desc {
  font-size: 17px;
  color: var(--ki-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
#ki-qa-page .ki-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ALSO CHECK OUT ── */
#ki-qa-page .ki-also-section {
  padding: 72px 0;
  background: var(--ki-light-bg);
}
#ki-qa-page .ki-also-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 36px;
}
#ki-qa-page .ki-also-card {
  background: white;
  border: 1.5px solid var(--ki-border);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}
#ki-qa-page .ki-also-card:hover {
  border-color: var(--ki-primary);
  box-shadow: 0 4px 20px rgba(10,90,148,0.1);
  transform: translateY(-3px);
}
#ki-qa-page .ki-also-icon {
  width: 38px;
  height: 38px;
  background: var(--ki-light-bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
#ki-qa-page .ki-also-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ki-dark);
  margin-bottom: 5px;
}
#ki-qa-page .ki-also-card p {
  font-size: 12px;
  color: var(--ki-muted);
  line-height: 1.5;
}
#ki-qa-page .ki-also-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ki-primary);
  margin-top: 12px;
}

/* ── DASHBOARD SECTION ── */
#ki-qa-page .ki-dashboard-section {
  padding: 80px 0;
  background: var(--ki-light-bg);
  overflow: hidden;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1024px) {
  #ki-qa-page .ki-ai-cards { grid-template-columns: repeat(2,1fr); }
  #ki-qa-page .ki-also-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  #ki-qa-page .ki-hero-grid { grid-template-columns: 1fr; }
  #ki-qa-page .ki-hero-visual { margin-right: 0; }
  #ki-qa-page .ki-qa-mock { border-radius: 16px; }
  #ki-qa-page .ki-hero-float-card { display: none; }
  #ki-qa-page .ki-hero-headline { font-size: 36px; letter-spacing: -1px; }
  #ki-qa-page .ki-section-title { font-size: 30px; letter-spacing: -0.5px; }
  #ki-qa-page .ki-pain-strip-inner { grid-template-columns: 1fr; }
  #ki-qa-page .ki-role-panel.ki-active { grid-template-columns: 1fr; }
  #ki-qa-page .ki-ai-cards { grid-template-columns: 1fr; }
  #ki-qa-page .ki-steps-grid { grid-template-columns: 1fr; }
  #ki-qa-page .ki-steps-grid::before { display: none; }
  #ki-qa-page .ki-usecases-grid { grid-template-columns: 1fr; }
  #ki-qa-page .ki-stats-row { grid-template-columns: repeat(2,1fr); gap: 24px; }
  #ki-qa-page .ki-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 24px;
  }
  #ki-qa-page .ki-stat-item:last-child { border-bottom: none; }
  #ki-qa-page .ki-also-grid { grid-template-columns: repeat(2,1fr); }
  #ki-qa-page .ki-krc-bridge { flex-direction: column; }
  #ki-qa-page .ki-krc-link { margin-left: 0; }
  #ki-qa-page .ki-container { padding: 0 24px; }
  #ki-qa-page .ki-hero-stats { gap: 24px; flex-wrap: wrap; }
  #ki-qa-page .ki-roles-tabs { flex-direction: column; }
  #ki-qa-page .ki-role-tab {
    border-right: none;
    border-bottom: 1px solid var(--ki-border);
  }
  #ki-qa-page .ki-ai-title { font-size: 32px; }
  #ki-qa-page .ki-cta-title { font-size: 36px; }
  #ki-qa-page .ki-stat-val { font-size: 36px; }
  #ki-qa-page .ki-feature-table { font-size: 12px; }
  #ki-qa-page .ki-feature-table th,
  #ki-qa-page .ki-feature-table td { padding: 10px 12px; }
}

@media (max-width: 600px) {
  #ki-qa-page .ki-hero-headline { font-size: 28px; }
  #ki-qa-page .ki-section-title { font-size: 24px; }
  #ki-qa-page .ki-ai-title { font-size: 26px; }
  #ki-qa-page .ki-cta-title { font-size: 28px; }
  #ki-qa-page .ki-hero-stats { flex-direction: column; gap: 16px; }
  #ki-qa-page .ki-also-grid { grid-template-columns: 1fr; }
  #ki-qa-page .ki-stats-row { grid-template-columns: 1fr; }
  #ki-qa-page .ki-hero-ctas { flex-direction: column; }
  #ki-qa-page .ki-btn-primary,
  #ki-qa-page .ki-btn-outline { justify-content: center; }
  #ki-qa-page .ki-pain-item { padding: 24px 20px; }
  #ki-qa-page .ki-krc-bridge { padding: 20px; }
  /* Dashboard scroll on mobile */
  #ki-qa-page .ki-dashboard-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
