/* ============================================================
   weinnov8 Store Performance Assessment — Shared Stylesheet
   Version 1.0 | weinnov8.it
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Brand */
  --teal-900: #063D30;
  --teal-800: #0A5240;
  --teal-700: #0F6E56;
  --teal-600: #1D9E75;
  --teal-400: #5DCAA5;
  --teal-100: #E1F5EE;
  --teal-50:  #F0FAF6;

  /* Status */
  --green-bg:  #EAF3DE; --green-txt:  #27500A; --green-pip: #4CAF50;
  --amber-bg:  #FFF3CD; --amber-txt:  #7A4F00; --amber-pip: #F59E0B;
  --red-bg:    #FCEBEB; --red-txt:    #791F1F; --red-pip:   #E24B4A;
  --blue-bg:   #E6F1FB; --blue-txt:   #0C447C; --blue-border: #85B7EB;

  /* Neutral */
  --ink-900: #0F1110;
  --ink-700: #2C3130;
  --ink-500: #5A6360;
  --ink-300: #9AA8A4;
  --ink-100: #E8EDEB;
  --ink-50:  #F4F7F6;
  --white:   #FFFFFF;

  /* Typography */
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,110,86,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(15,110,86,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(15,110,86,.14), 0 4px 12px rgba(0,0,0,.08);

  /* Transitions */
  --ease: cubic-bezier(.22,.68,0,1.2);
  --fast: 140ms;
  --mid:  260ms;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ink-50);
  color: var(--ink-700);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wi8-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wi8-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.wi8-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wi8-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.wi8-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.wi8-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.wi8-logo-text em {
  font-style: normal;
  color: var(--teal-600);
}
.wi8-header-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-500);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-full);
  padding: 4px 12px;
}
.wi8-main {
  flex: 1;
  padding: 32px 16px;
}
.wi8-container {
  max-width: 680px;
  margin: 0 auto;
}
.wi8-footer {
  border-top: 1px solid var(--ink-100);
  padding: 20px 24px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.wi8-footer-left {
  font-size: 12px;
  color: var(--ink-300);
}
.wi8-footer-right {
  font-size: 12px;
  color: var(--ink-300);
}
.wi8-footer a { color: var(--teal-700); }

/* ── PROGRESS ────────────────────────────────────────────── */
.wi8-progress {
  margin-bottom: 28px;
}
.wi8-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.wi8-progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wi8-progress-count {
  font-size: 11px;
  color: var(--ink-300);
}
.wi8-progress-track {
  height: 4px;
  background: var(--ink-100);
  border-radius: var(--r-full);
  overflow: hidden;
}
.wi8-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400));
  border-radius: var(--r-full);
  transition: width var(--mid) var(--ease);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.wi8-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
}
.wi8-section-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wi8-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}
.wi8-section-sub {
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 1px;
}

/* ── STEP META ───────────────────────────────────────────── */
.wi8-step-meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-300);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── QUESTION ────────────────────────────────────────────── */
.wi8-q-text {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
  margin-bottom: 8px;
}
.wi8-q-why {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.55;
  padding: 8px 12px;
  border-left: 3px solid var(--teal-400);
  background: var(--teal-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 20px;
}

/* ── OPTIONS ─────────────────────────────────────────────── */
.wi8-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.wi8-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--fast), background var(--fast), transform var(--fast);
  user-select: none;
}
.wi8-opt:hover {
  border-color: var(--teal-400);
  background: var(--teal-50);
  transform: translateX(2px);
}
.wi8-opt.sel {
  border-color: var(--teal-600);
  background: var(--teal-100);
}
.wi8-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ink-100);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--fast), background var(--fast);
}
.wi8-opt.sel .wi8-opt-radio {
  border-color: var(--teal-700);
  background: var(--teal-700);
}
.wi8-opt-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transition: opacity var(--fast);
}
.wi8-opt.sel .wi8-opt-radio::after { opacity: 1; }
.wi8-opt-text {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.45;
}
.wi8-opt.sel .wi8-opt-text { color: var(--teal-800); font-weight: 500; }

/* ── CONTEXT BOX ─────────────────────────────────────────── */
.wi8-ctx {
  margin-top: 4px;
}
.wi8-ctx-label {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.wi8-ctx-label em { font-style: normal; color: var(--ink-300); }
.wi8-ctx-warn {
  font-size: 12px;
  color: var(--amber-txt);
  background: var(--amber-bg);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  margin-bottom: 6px;
  display: none;
}
.wi8-ctx-warn.show { display: block; }
textarea.wi8-textarea {
  width: 100%;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-700);
  background: var(--white);
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
  transition: border-color var(--fast);
}
textarea.wi8-textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}
.wi8-char-hint {
  font-size: 11px;
  color: var(--ink-300);
  text-align: right;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* ── OPEN TEXT BLOCK ─────────────────────────────────────── */
.wi8-open-block {
  background: var(--ink-50);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 8px 0;
}
.wi8-open-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-300);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wi8-open-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
  line-height: 1.4;
}
.wi8-open-hint {
  font-size: 12px;
  color: var(--ink-400, #7a8a86);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ── OOS BRANCH ──────────────────────────────────────────── */
.wi8-oos-branch {
  display: none;
  background: var(--blue-bg);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 12px;
  animation: slideDown var(--mid) var(--ease) both;
}
.wi8-oos-branch.show { display: block; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wi8-oos-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-txt);
  margin-bottom: 4px;
}
.wi8-oos-sub {
  font-size: 13px;
  color: #185FA5;
  line-height: 1.55;
  margin-bottom: 16px;
}
.wi8-oos-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
  margin-top: 14px;
}
.wi8-oos-branch textarea.wi8-textarea {
  border-color: var(--blue-border);
}
.wi8-oos-branch textarea.wi8-textarea:focus {
  border-color: #378ADD;
  box-shadow: 0 0 0 3px rgba(55,138,221,.12);
}

/* ── NAV BUTTONS ─────────────────────────────────────────── */
.wi8-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}
.wi8-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--ink-100);
  background: var(--white);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--fast), border-color var(--fast), transform var(--fast);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.wi8-btn:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
  transform: translateY(-1px);
}
.wi8-btn:active { transform: translateY(0); }
.wi8-btn.primary {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.wi8-btn.primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  box-shadow: var(--shadow-md);
}
.wi8-btn:disabled,
.wi8-btn[disabled] {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── PROFILE CARDS ───────────────────────────────────────── */
.wi8-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.wi8-pcard {
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 12px 14px;
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--fast), background var(--fast), transform var(--fast);
}
.wi8-pcard:hover {
  border-color: var(--teal-400);
  background: var(--teal-50);
  transform: translateY(-1px);
}
.wi8-pcard.sel {
  border-color: var(--teal-600);
  background: var(--teal-100);
}
.wi8-pcard-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.wi8-pcard.sel .wi8-pcard-name { color: var(--teal-800); }
.wi8-pcard-detail {
  font-size: 12px;
  color: var(--ink-300);
}

/* ── ISSUE GRID ──────────────────────────────────────────── */
.wi8-issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.wi8-icard {
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 10px 12px;
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--fast), background var(--fast), transform var(--fast);
}
.wi8-icard:hover {
  border-color: var(--teal-400);
  transform: translateY(-1px);
}
.wi8-icard.sel {
  border-color: var(--teal-600);
  background: var(--teal-100);
}
.wi8-icard.oos.sel {
  border-color: #378ADD;
  background: var(--blue-bg);
}
.wi8-icard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.wi8-icard.sel .wi8-icard-name { color: var(--teal-800); }
.wi8-icard.oos.sel .wi8-icard-name { color: var(--blue-txt); }
.wi8-icard-tag {
  font-size: 11px;
  color: var(--ink-300);
}

/* ── FIELD LABEL ─────────────────────────────────────────── */
.wi8-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  display: block;
}
.wi8-input {
  width: 100%;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-700);
  background: var(--white);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.wi8-input:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}

/* ── RESULTS ─────────────────────────────────────────────── */
.wi8-score-hero {
  text-align: center;
  padding: 24px 0 32px;
}
.wi8-score-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-300);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.wi8-score-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 12px;
}
.wi8-score-ring-wrap canvas {
  width: 130px !important;
  height: 130px !important;
}
.wi8-score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wi8-score-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.wi8-score-denom {
  font-size: 11px;
  color: var(--ink-300);
  margin-top: 2px;
}
.wi8-score-verdict {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* ── AI SUMMARY ──────────────────────────────────────────── */
.wi8-ai-box {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 28px;
}
.wi8-ai-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-300);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wi8-ai-dots {
  display: flex;
  gap: 4px;
}
.wi8-ai-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-600);
  animation: wi8pulse 1.2s ease-in-out infinite;
}
.wi8-ai-dot:nth-child(2) { animation-delay: .2s; }
.wi8-ai-dot:nth-child(3) { animation-delay: .4s; }
@keyframes wi8pulse {
  0%, 80%, 100% { opacity: .2; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}
.wi8-ai-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-300);
}
.wi8-ai-text {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.75;
  display: none;
}

/* ── GROUPS ──────────────────────────────────────────────── */
.wi8-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.wi8-gcard {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.wi8-gcard-label {
  font-size: 10px;
  color: var(--ink-300);
  margin-bottom: 4px;
}
.wi8-gcard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.wi8-gbar-track {
  height: 5px;
  background: var(--ink-100);
  border-radius: var(--r-full);
  margin-bottom: 6px;
  overflow: hidden;
}
.wi8-gbar-fill {
  height: 100%;
  border-radius: var(--r-full);
  transition: width .6s var(--ease);
}
.wi8-gcard-pct {
  font-size: 12px;
  color: var(--ink-300);
}

/* ── ROI LIST ────────────────────────────────────────────── */
.wi8-roi-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.wi8-roi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.wi8-roi-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.wi8-roi-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-full);
  flex-shrink: 0;
  margin-top: 1px;
  white-space: nowrap;
}
.wi8-roi-badge.r { background: var(--red-bg); color: var(--red-txt); }
.wi8-roi-badge.y { background: var(--amber-bg); color: var(--amber-txt); }
.wi8-roi-svc { font-size: 14px; color: var(--ink-700); line-height: 1.45; }

/* ── SERVICE LIST ────────────────────────────────────────── */
.wi8-sec-divider {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-300);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-100);
  margin: 28px 0 14px;
}
.wi8-svc-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 28px;
}
.wi8-svc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--ink-50);
  border-radius: var(--r-sm);
}
.wi8-svc-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wi8-svc-name {
  font-size: 13px;
  color: var(--ink-700);
  flex: 1;
  font-weight: 500;
}
.wi8-svc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-full);
}
.wi8-svc-badge.g { background: var(--green-bg); color: var(--green-txt); }
.wi8-svc-badge.y { background: var(--amber-bg); color: var(--amber-txt); }
.wi8-svc-badge.r { background: var(--red-bg); color: var(--red-txt); }

/* ── OOS RESULTS ─────────────────────────────────────────── */
.wi8-oos-result {
  background: var(--blue-bg);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 28px;
  display: none;
}
.wi8-oos-result.show { display: block; }
.wi8-oos-result-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-txt);
  margin-bottom: 6px;
}
.wi8-oos-result-sub {
  font-size: 13px;
  color: #185FA5;
  line-height: 1.6;
  margin-bottom: 12px;
}
.wi8-oos-result-note {
  font-size: 13px;
  color: #185FA5;
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.wi8-oos-result-footer {
  font-size: 12px;
  color: #378ADD;
}

/* ── POC CARDS ───────────────────────────────────────────── */
.wi8-poc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.wi8-poc-sub {
  font-size: 13px;
  color: var(--ink-300);
  margin-bottom: 16px;
}
.wi8-poc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.wi8-poc-card {
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 14px;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--fast), background var(--fast), transform var(--fast), box-shadow var(--fast);
}
.wi8-poc-card:hover {
  border-color: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.wi8-poc-card.picked {
  border-color: var(--teal-600);
  background: var(--teal-100);
  box-shadow: var(--shadow-md);
}
.wi8-poc-card.picked .wi8-poc-name { color: var(--teal-800); }
.wi8-poc-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 8px;
}
.wi8-poc-tag.r { background: var(--red-bg); color: var(--red-txt); }
.wi8-poc-tag.y { background: var(--amber-bg); color: var(--amber-txt); }
.wi8-poc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.wi8-poc-time { font-size: 11px; color: var(--ink-300); }
.wi8-poc-gain { font-size: 12px; color: var(--teal-700); margin-top: 6px; font-weight: 600; }
.wi8-poc-detail {
  display: none;
  padding: 14px 16px;
  background: var(--teal-100);
  border: 1.5px solid var(--teal-400);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  animation: fadeIn var(--mid) both;
}
.wi8-poc-detail.show { display: block; }
.wi8-poc-detail strong { color: var(--teal-800); }
.wi8-poc-detail p { font-size: 13px; color: var(--teal-800); line-height: 1.7; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CTA BOX ─────────────────────────────────────────────── */
.wi8-cta-box {
  background: var(--white);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-top: 28px;
}
.wi8-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.wi8-cta-sub {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 20px;
}
.wi8-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wi8-cta-full { grid-column: 1 / -1; }
.wi8-cta-confirm {
  display: none;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-700);
  padding: 12px;
  background: var(--teal-50);
  border-radius: var(--r-md);
}
.wi8-cta-confirm.show { display: block; }

/* ── INTRO HERO ──────────────────────────────────────────── */
.wi8-intro-hero {
  text-align: center;
  padding: 40px 0 28px;
}
.wi8-intro-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.wi8-intro-title {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.wi8-intro-sub {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 28px;
}
.wi8-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.wi8-stat {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
}
.wi8-stat-n {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -.02em;
}
.wi8-stat-l {
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 2px;
}
.wi8-intro-disclaimer {
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 14px;
}

/* ── PROFILE SCREEN ──────────────────────────────────────── */
.wi8-profile-section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 10px;
  display: block;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.wi8-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.wi8-mt-sm { margin-top: 12px; }
.wi8-mt-md { margin-top: 20px; }
.wi8-mt-lg { margin-top: 28px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .wi8-header { padding: 0 16px; }
  .wi8-main { padding: 20px 12px; }
  .wi8-profile-grid,
  .wi8-issue-grid,
  .wi8-poc-grid,
  .wi8-cta-grid { grid-template-columns: 1fr; }
  .wi8-groups { grid-template-columns: 1fr; }
  .wi8-stats-row { grid-template-columns: repeat(3, 1fr); }
  .wi8-intro-title { font-size: 22px; }
  .wi8-cta-full { grid-column: 1; }
  .wi8-footer { flex-direction: column; text-align: center; }
}
@media (min-width: 900px) {
  .wi8-main { padding: 40px 24px; }
  .wi8-intro-title { font-size: 32px; }
}
