/* ============================================================
   styles.css — BNZBA Digital Pulse Check
   Common styles → ../../../../Head-and-Foot/common.css
   Header styles → ../../../../Head-and-Foot/header.css
   Footer styles → ../../../../Head-and-Foot/footer.css
   ============================================================ */

/* ── APP-SPECIFIC TOKENS ── */
:root {
  /* Category colours for the three priority dimensions */
  --data-1: #E07B39;   /* People   — warm orange  */
  --data-2: #7B5EA7;   /* Experts  — muted purple */
  --data-3: #2E8B57;   /* Info     — forest green */

  /* Tier ramp */
  --tier-1:      #2C4A6E;
  --tier-1-text: #ffffff;
  --tier-2:      #6B8DB0;
  --tier-2-text: #ffffff;
  --tier-3:      #e8e8e8;
  --tier-3-text: #555555;
}

/* ── PRIORITIES SCREEN ── */
.priority-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.priority-card { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px 24px; }
.priority-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--colour-primary); }
.priority-card p { font-size: 14px; color: var(--colour-text-light); line-height: 1.6; margin-bottom: 12px; }
.priority-card textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 14px; resize: vertical; min-height: 60px; margin-bottom: 12px; }

.priority-allocator { display: flex; align-items: center; gap: 16px; }
.priority-allocator .label { font-size: 12px; color: var(--colour-text-light); flex-shrink: 0; }
.priority-stepper { display: flex; align-items: center; gap: 12px; }
.priority-value { font-size: 22px; font-weight: 700; color: var(--colour-primary); min-width: 28px; text-align: center; }

.priority-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 16px; }
.priority-count { font-size: 12px; color: var(--colour-text-light); font-family: 'IBM Plex Mono', monospace; }
.priority-count.ok   { color: var(--colour-accent); font-weight: 600; }
.priority-count.over { color: #c00; font-weight: 600; }

/* ── TIER BORDERS ── */
.tier-strong { border-left: 4px solid var(--tier-1); }
.tier-some   { border-left: 4px solid var(--tier-2); }
.tier-lower  { border-left: 4px solid #ccc; }

/* ── ITEM ROW INTERACTIVITY ── */
.item-row { cursor: pointer; transition: background 150ms; }
.item-row:hover { background: rgba(0,168,204,0.05); border-radius: 4px; padding-left: 6px; }
.item-row.active-row { background: rgba(44,74,110,0.06); padding-left: 8px; border-radius: 4px; }

/* ── DETAIL PANEL ── */
.detail-panel { background: #fff; border: 2px solid var(--colour-primary); border-radius: 8px; padding: 24px; margin-top: 8px; margin-bottom: 32px; }
.dp-subrow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.dp-eyebrow { font-size: 11px; color: var(--colour-accent); letter-spacing: 0.06em; text-transform: uppercase; }
.dp-score { font-size: 11px; padding: 4px 10px; border-radius: 10px; font-family: 'IBM Plex Mono', monospace; }

/* ── MID-FLOW INSIGHT PANEL ── */
.insight-panel { margin-top: 32px; padding: 24px; background: #f0f7fa; border-radius: 8px; border: 1px solid #c0dcea; }
.insight-eyebrow { font-size: 10px; color: var(--colour-accent); display: block; margin-bottom: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.insight-text { font-size: 18px; line-height: 1.5; color: var(--colour-primary); margin-bottom: 20px; font-family: 'Space Grotesk', sans-serif; }
.insight-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.insight-refine { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.insight-refine-label { font-size: 13px; color: var(--colour-text-light); }
.nudge-comment-input { padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: 'Inter', sans-serif; }

/* ── CONFIRM SCREEN ── */
.field-hint { font-size: 13px; color: var(--colour-text-light); margin-top: 8px; line-height: 1.5; }
.identify-form { margin-top: 8px; }
.member-block { margin-top: 12px; padding: 16px; background: #f9f9f9; border-radius: 6px; border: 1px solid #e8e8e8; }
.non-member-panel p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; color: var(--colour-text-body); }
.non-member-panel a { color: var(--colour-accent); }
