
/* ── STUDENT DOC HEADER ── */
.student-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.student-doc-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-doc-bar {
  width: 3px;
  height: 40px;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
}

.student-doc-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 3px;
}

.student-doc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.student-doc-date {
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   CCA PORTAL — REPORT STYLES
   ══════════════════════════════════════════════ */

/* ── LOCATION BARS ── */
.loc-list { margin: 20px 0; }

.loc-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.loc-item:last-child { border-bottom: none; }

.loc-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.loc-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.loc-question {
  font-size: 11px;
  color: var(--text-light);
  font-style: italic;
}

.loc-score-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-bar-bg {
  flex: 1;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.loc-bar-fill {
  height: 100%;
  border-radius: 2px;
}

.loc-score {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  min-width: 36px;
  text-align: right;
}

.loc-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.badge-low      { background: #e8f5e9; color: #2e7d32; }
.badge-mid      { background: #fff9c4; color: #827717; }
.badge-high     { background: #ffebee; color: #c62828; }
.badge-primary  { color: #fff; }
.badge-secondary { background: transparent; border: 1.5px solid currentColor; }

/* ── SCORE KEY ── */
.score-key {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.score-key-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.score-key-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.score-key-item:last-child { margin-bottom: 0; }

.score-key-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.score-key-text {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-mid);
}

/* ── LOCATION CARDS ── */
.loc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 16px 0;
  overflow: hidden;
}

.loc-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.loc-color-bar {
  width: 4px;
  height: 40px;
  border-radius: 2px;
  flex-shrink: 0;
}

.loc-card-eyebrow {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.loc-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 2px;
}

.loc-card-question {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

.loc-card-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  margin-left: auto;
  text-align: right;
}

.loc-card-body {
  padding: 20px 22px;
}

.loc-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ── GOVERNING CENTER ── */
.center-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  background: #FAFAF8;
}

.center-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.center-metric {
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.center-metric:last-child { border-right: none; }

.metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-mid);
}

.hinge-read {
  padding: 16px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--text-mid);
  text-align: center;
  background: var(--bg-warm);
}

/* ── SIGNAL ── */
.signal-block {
  border-left: 3px solid var(--coral);
  padding: 14px 18px;
  margin: 24px 0;
  background: rgba(244, 132, 95, 0.04);
}

.signal-eyebrow {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 6px;
}

.signal-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}

/* ── FOUR LENSES ── */
.lens-list { margin: 16px 0; }

.lens-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.lens-header {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  user-select: none;
  gap: 9px;
}

.lens-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lens-name { font-weight: 600; font-size: 13px; flex-shrink: 0; }
.lens-tagline { font-size: 12px; color: var(--text-light); flex: 1; }

.lens-yours {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--coral);
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lens-toggle { font-size: 18px; color: var(--text-light); line-height: 1; }

.lens-experience {
  padding: 0 14px 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text-mid);
}

.lens-body { display: none; padding: 0 14px 14px; }
.lens-body.open { display: block; }

.lens-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.lens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.lens-grid-item {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px;
}

.lens-grid-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 5px;
}

.lens-grid-text { font-size: 12px; line-height: 1.6; color: var(--text-mid); }

.lens-governing {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

.lens-governing strong { color: var(--text-mid); }

/* ── TRUTH / ASSUMPTION ── */
.assumption-block {
  border-left: 3px solid var(--coral);
  padding: 18px 22px;
  margin: 16px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.assumption-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 10px;
}

.assumption-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}

.truth-block {
  border: 1px solid rgba(65, 124, 139, 0.3);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 16px 0;
  background: rgba(43, 191, 176, 0.06);
}

.truth-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}

.truth-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.callout {
  border-left: 3px solid var(--teal);
  padding: 13px 17px;
  margin: 16px 0;
  background: rgba(43, 191, 176, 0.06);
}

.callout-eyebrow {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 6px;
}

.callout-text { font-size: 13px; line-height: 1.65; color: var(--text-mid); }

/* ── GATEWAY ── */
.gateway-block {
  border: 1px solid rgba(244, 132, 95, 0.25);
  border-radius: var(--radius);
  padding: 36px;
  margin: 28px 0;
  background: rgba(244, 132, 95, 0.05);
}

.gateway-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 8px;
}

.gateway-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1;
}

.trinity-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trinity-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.trinity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.trinity-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px;
  background: var(--bg);
}

.trinity-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.trinity-text { font-size: 12px; line-height: 1.6; color: var(--text-mid); }

.what-changes-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.what-changes-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.what-changes-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

/* ── RECENTERING ── */
.recentering-opening {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 28px;
}

.map-step {
  border-left: 3px solid var(--border);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.map-step.m { border-left-color: var(--coral); }
.map-step.a { border-left-color: var(--teal); }
.map-step.p { border-left-color: var(--coral); }

.map-step-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.map-step.m .map-step-label { color: var(--coral); }
.map-step.a .map-step-label { color: var(--teal); }
.map-step.p .map-step-label { color: var(--coral); }

.map-step-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.map-step-truth {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  margin: 10px 0;
  padding: 12px 14px;
  background: var(--bg-warm);
  border-radius: var(--radius);
}

.map-step-text { font-size: 13px; line-height: 1.7; color: var(--text-mid); }

/* ── RESPONSIVE ── */
@media (max-width: 500px) {
  .trinity-grid     { grid-template-columns: 1fr; }
  .center-metrics   { grid-template-columns: 1fr; }
  .lens-grid        { grid-template-columns: 1fr; }
  .center-metric    { border-right: none; border-bottom: 1px solid var(--border); }
  .center-metric:last-child { border-bottom: none; }
}
