/* ═══════════════════════════════════════════════════════
   SGT Reader Survey Dashboard — styles.css
   Light Mode · Brand CI · Multi-select · No donuts
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── Brand CI ── */
  --blue:     #2280eb;
  --blue2:    #1a6fd4;
  --blue3:    #1155b0;
  --yellow:   #ffe266;
  --yellow2:  #c9a800;
  --yellow3:  #a07800;
  --red:      #ec3e29;
  --red2:     #c03020;
  --green:    #22c55e;
  --green2:   #16a34a;
  --purple:   #8b5cf6;
  --teal:     #0891b2;
  --brand-dark: #3a3d3c;

  /* ── Light Mode Surface ── */
  --bg:       #f0f4fa;
  --surface:  #ffffff;
  --surface2: #f8fafd;
  --border:   #e2e8f2;
  --border2:  #c9d5e8;

  /* ── Text ── */
  --text:     #1e2530;
  --text2:    #5a6575;
  --text3:    #94a3b8;

  /* ── Shadow ── */
  --shadow-sm:  0 1px 3px rgba(34,128,235,0.06), 0 1px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 2px 8px rgba(34,128,235,0.08), 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:  0 8px 24px rgba(34,128,235,0.12), 0 2px 8px rgba(0,0,0,0.06);

  /* ── Bar track ── */
  --track: #edf2f8;

  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── LOADING ── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(240,244,250,0.92);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  transition: opacity 0.4s;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 13px; color: var(--text2); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--blue3) 0%, var(--blue) 55%, #3a9fef 100%);
  padding: 52px 40px 44px;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.hero-inner {
  max-width: 1260px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.hero-text {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
  font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
.hero h1 {
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 8px;
}
.hero p { font-size: 13px; color: rgba(255,255,255,0.72); max-width: 520px; }
.hero-stats {
  display: flex; gap: 0;
  margin-top: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  align-self: flex-end;
}
.hero-stat {
  padding: 14px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  min-width: 90px;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-size: 22px; font-weight: 800;
  color: var(--yellow); display: block;
}
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ══════════════════════════════════════════════════
   STICKY FILTER BAR
══════════════════════════════════════════════════ */
.filter-bar {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(34,128,235,0.08);
}
.filter-bar-inner {
  max-width: 1260px; margin: 0 auto;
  padding: 12px 24px;
}
.filter-top {
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.filter-icon { font-size: 14px; color: var(--text2); flex-shrink: 0; }
.filter-group {
  display: flex; align-items: center; gap: 5px;
  flex-wrap: wrap; flex: 0 0 auto;
}
.filter-group-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text3); white-space: nowrap;
  margin-right: 2px;
}
.filter-badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: 9px; font-weight: 700;
  margin-left: 2px; vertical-align: middle;
}
.filter-badge-count:empty { display: none; }
.filter-chip {
  padding: 4px 11px; border-radius: 16px;
  border: 1.5px solid var(--border2);
  background: var(--surface2);
  color: var(--text2);
  font-size: 12px; cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap; user-select: none;
  font-family: var(--font);
}
.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(34,128,235,0.06);
}
.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(34,128,235,0.35);
}
.filter-sep {
  width: 1px; height: 22px;
  background: var(--border); flex-shrink: 0;
  margin: 0 4px;
}
.filter-reset {
  margin-left: auto;
  padding: 4px 12px; border-radius: 16px;
  border: 1.5px solid rgba(236,62,41,0.3);
  background: rgba(236,62,41,0.06);
  color: var(--red); font-size: 11px; font-weight: 600;
  cursor: pointer; transition: all 0.18s; white-space: nowrap;
  font-family: var(--font);
}
.filter-reset:hover { background: rgba(236,62,41,0.12); border-color: var(--red); }
.filter-summary {
  font-size: 11px; color: var(--text3);
  margin-top: 7px; min-height: 16px;
  transition: all 0.2s;
}
.filter-summary strong { color: var(--blue); font-weight: 600; }

/* ══════════════════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════════════════ */
main {
  max-width: 1260px; margin: 0 auto;
  padding: 28px 24px 64px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-1-2 { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; margin-bottom: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-1-2, .grid-2-1 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 32px 20px 28px; }
  main { padding: 18px 14px 48px; }
}

/* ══════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════ */
.section-header {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0 18px;
}
.section-header:first-child { margin-top: 8px; }
.section-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  font-size: 13px; font-weight: 700;
  border: 1.5px solid;
}
.section-pill.blue   { background: rgba(34,128,235,0.08);  border-color: rgba(34,128,235,0.25);  color: var(--blue2); }
.section-pill.yellow { background: rgba(201,168,0,0.08);   border-color: rgba(201,168,0,0.25);   color: var(--yellow3); }
.section-pill.green  { background: rgba(34,197,94,0.08);   border-color: rgba(34,197,94,0.25);   color: var(--green2); }
.section-pill.red    { background: rgba(236,62,41,0.08);   border-color: rgba(236,62,41,0.25);   color: var(--red2); }
.section-pill.purple { background: rgba(139,92,246,0.08);  border-color: rgba(139,92,246,0.25);  color: var(--purple); }

/* ══════════════════════════════════════════════════
   KPI ROW
══════════════════════════════════════════════════ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 24px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.kpi-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 14px 14px 0 0;
  background: var(--kpi-color, var(--blue));
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi-card.c-yellow { --kpi-color: var(--yellow2); }
.kpi-card.c-red    { --kpi-color: var(--red); }
.kpi-card.c-green  { --kpi-color: var(--green); }
.kpi-card.c-purple { --kpi-color: var(--purple); }
.kpi-card.c-teal   { --kpi-color: var(--teal); }
.kpi-emoji { font-size: 22px; margin-bottom: 8px; display: block; }
.kpi-label { font-size: 11px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.kpi-value {
  font-size: 30px; font-weight: 800;
  color: var(--text); line-height: 1;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.kpi-sub { font-size: 11px; color: var(--text3); }

/* ══════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header { margin-bottom: 16px; }
.card-title {
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
  display: flex; align-items: center; gap: 7px;
}
.card-title .ctag {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; display: inline-block;
}
.card-desc { font-size: 12px; color: var(--text2); line-height: 1.55; }
.card-meta {
  font-size: 11px; color: var(--text3);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   SEGMENT BAR  (replaces donut charts)
══════════════════════════════════════════════════ */
.seg-bar {
  display: flex; height: 36px;
  border-radius: 10px; overflow: hidden;
  gap: 2px; margin-bottom: 14px;
}
.seg-seg {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
  transition: width 0.65s cubic-bezier(0.4,0,0.2,1);
  min-width: 0;
  position: relative; overflow: hidden;
}
.seg-seg::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.seg-seg.seg-light { color: var(--brand-dark); }
.seg-seg .seg-txt { position: relative; z-index: 1; white-space: nowrap; }
.seg-legend {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
}
.seg-leg-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text2);
}
.seg-dot {
  width: 10px; height: 10px; border-radius: 3px;
  flex-shrink: 0; display: inline-block;
}
.seg-leg-label { flex: 1; }
.seg-leg-val { font-weight: 700; color: var(--text); }
.seg-leg-pct { color: var(--text3); font-size: 11px; }

/* ══════════════════════════════════════════════════
   HORIZONTAL BAR LIST
══════════════════════════════════════════════════ */
.hbar-list { display: flex; flex-direction: column; gap: 9px; }
.hbar-item { display: flex; align-items: center; gap: 10px; }
.hbar-label {
  width: 180px; flex-shrink: 0;
  font-size: 12px; color: var(--text2);
  text-align: right; line-height: 1.3;
}
.hbar-track {
  flex: 1; height: 28px; border-radius: 8px;
  background: var(--track); overflow: hidden;
  position: relative;
}
.hbar-fill {
  height: 100%; border-radius: 8px;
  display: flex; align-items: center;
  justify-content: flex-end; padding-right: 10px;
  font-size: 11px; font-weight: 700; color: white;
  transition: width 0.65s cubic-bezier(0.4,0,0.2,1);
  min-width: 4px;
  position: relative; overflow: hidden;
}
.hbar-fill::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: rgba(255,255,255,0.2);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}
.hbar-fill .hbar-pct-txt { position: relative; z-index: 1; }
.hbar-num {
  width: 50px; flex-shrink: 0;
  font-size: 12px; color: var(--text2);
  text-align: left;
}

/* color themes for bars */
.hbar-blue   { background: linear-gradient(90deg, var(--blue3), var(--blue)); }
.hbar-yellow { background: linear-gradient(90deg, var(--yellow3), var(--yellow2)); }
.hbar-red    { background: linear-gradient(90deg, var(--red2), var(--red)); }
.hbar-green  { background: linear-gradient(90deg, var(--green2), var(--green)); }
.hbar-purple { background: linear-gradient(90deg, #5b21b6, var(--purple)); }
.hbar-teal   { background: linear-gradient(90deg, #0e7490, var(--teal)); }

/* ══════════════════════════════════════════════════
   STAT CARD (big single-number)
══════════════════════════════════════════════════ */
.big-stat-row {
  display: flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  margin-bottom: 4px;
}
.big-stat-item {
  flex: 1; padding: 16px 18px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.big-stat-item:last-child { border-right: none; }
.big-stat-item:hover { background: var(--surface2); }
.big-stat-num {
  font-size: 28px; font-weight: 800;
  line-height: 1; margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.big-stat-label { font-size: 12px; color: var(--text2); }
.big-stat-sub   { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ══════════════════════════════════════════════════
   EXPANDABLE DRILL-DOWN
══════════════════════════════════════════════════ */
.drill-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--blue); cursor: pointer;
  padding: 6px 0;
  border: none; background: none;
  font-family: var(--font);
  transition: opacity 0.18s;
  margin-top: 10px;
}
.drill-toggle:hover { opacity: 0.75; }
.drill-toggle .chevron {
  display: inline-block;
  transition: transform 0.22s;
  font-style: normal; font-size: 11px;
}
.drill-toggle.open .chevron { transform: rotate(180deg); }
.drill-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.drill-content.open {
  max-height: 1000px; opacity: 1;
}
.drill-inner {
  border-top: 1px dashed var(--border);
  padding-top: 14px; margin-top: 4px;
}
.drill-subtitle {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text3); margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════
   INSIGHT CARDS
══════════════════════════════════════════════════ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 13px; margin-bottom: 24px;
}
.insight-card {
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; gap: 13px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.insight-card.ic-blue   { background: rgba(34,128,235,0.07);  border-color: rgba(34,128,235,0.2); }
.insight-card.ic-yellow { background: rgba(201,168,0,0.07);   border-color: rgba(201,168,0,0.2); }
.insight-card.ic-green  { background: rgba(34,197,94,0.07);   border-color: rgba(34,197,94,0.2); }
.insight-card.ic-red    { background: rgba(236,62,41,0.07);   border-color: rgba(236,62,41,0.2); }
.insight-card.ic-purple { background: rgba(139,92,246,0.07);  border-color: rgba(139,92,246,0.2); }
.insight-card.ic-teal   { background: rgba(8,145,178,0.07);   border-color: rgba(8,145,178,0.2); }
.insight-icon { font-size: 24px; flex-shrink: 0; }
.insight-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.insight-body  { font-size: 12px; color: var(--text2); line-height: 1.6; }

/* ══════════════════════════════════════════════════
   WARNING / CONCERN BOX
══════════════════════════════════════════════════ */
.warning-card {
  background: #fff8f3;
  border: 1px solid rgba(249,115,22,0.3);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.warning-title { font-size: 14px; font-weight: 700; color: #c2410c; margin-bottom: 8px; }
.warning-body  { font-size: 12px; color: var(--text2); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   NEXT STEPS
══════════════════════════════════════════════════ */
.ns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 13px; margin-bottom: 24px;
}
.ns-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--ns-color, var(--blue));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ns-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ns-card.p-red    { --ns-color: var(--red); }
.ns-card.p-blue   { --ns-color: var(--blue); }
.ns-card.p-green  { --ns-color: var(--green2); }
.ns-card.p-purple { --ns-color: var(--purple); }
.ns-card.p-yellow { --ns-color: var(--yellow2); }
.ns-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.t-red    { background: rgba(236,62,41,0.12);  color: var(--red2); }
.t-blue   { background: rgba(34,128,235,0.1);  color: var(--blue2); }
.t-green  { background: rgba(34,197,94,0.1);   color: var(--green2); }
.t-purple { background: rgba(139,92,246,0.1);  color: var(--purple); }
.t-yellow { background: rgba(201,168,0,0.1);   color: var(--yellow3); }
.ns-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.ns-body  { font-size: 12px; color: var(--text2); line-height: 1.7; }
.ns-body li { margin-left: 14px; margin-bottom: 3px; }

/* ══════════════════════════════════════════════════
   DIVIDER & FOOTER
══════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0 0;
}
footer {
  text-align: center; font-size: 11px;
  color: var(--text3); padding: 20px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 12px; letter-spacing: 0.4px;
}

/* ══════════════════════════════════════════════════
   SUGGESTION CARDS
══════════════════════════════════════════════════ */
.sug-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}
.sug-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sug-card-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.sug-card-icon { font-size: 22px; flex-shrink: 0; line-height: 1.2; }
.sug-card-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.sug-card-subtitle { font-size: 11px; color: var(--text3); }
.sug-card-body { padding: 6px 0; }
.sug-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.sug-item:last-child { border-bottom: none; }
.sug-item:hover { background: var(--surface2); }
.sug-item-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}
.sug-item-content { flex: 1; }
.sug-item-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.sug-item-desc  { font-size: 12px; color: var(--text2); line-height: 1.6; }
.sug-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 1px 7px; border-radius: 8px; margin-left: 5px;
  vertical-align: middle; text-transform: uppercase; letter-spacing: 0.4px;
}
.sug-badge-blue   { background: rgba(34,128,235,0.1);  color: var(--blue2); }
.sug-badge-yellow { background: rgba(201,168,0,0.12);  color: var(--yellow3); }
.sug-badge-red    { background: rgba(236,62,41,0.1);   color: var(--red2); }
.sug-badge-green  { background: rgba(34,197,94,0.1);   color: var(--green2); }

/* ── VOICE QUOTE ── */
.voice-grid {
  display: flex; flex-direction: column; gap: 12px;
}
.voice-quote {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  position: relative;
  transition: box-shadow 0.2s;
}
.voice-quote:hover { box-shadow: var(--shadow-md); }
.voice-quote.vq-yellow { border-left-color: var(--yellow2); }
.voice-quote.vq-red    { border-left-color: var(--red); }
.voice-quote.vq-green  { border-left-color: var(--green2); }
.voice-quote.vq-teal   { border-left-color: var(--teal); }
.voice-quote .vq-mark {
  font-size: 36px; color: var(--blue); opacity: 0.15;
  line-height: 1; position: absolute; top: 8px; left: 12px;
  font-family: Georgia, serif; pointer-events: none;
}
.voice-quote.vq-yellow .vq-mark { color: var(--yellow2); }
.voice-quote.vq-red    .vq-mark { color: var(--red); }
.voice-quote .vq-text {
  font-size: 12px; color: var(--text); line-height: 1.7;
  font-style: italic;
}
.voice-quote .vq-meta {
  font-size: 11px; color: var(--text3); margin-top: 8px;
  font-style: normal; display: flex; align-items: center; gap: 6px;
}

/* ══════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════
   COUNTER ANIMATION
══════════════════════════════════════════════════ */
.counter { font-variant-numeric: tabular-nums; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .filter-top { gap: 6px; }
  .filter-chip { font-size: 11px; padding: 3px 9px; }
  .hbar-label { width: 110px; font-size: 11px; }
}
