/* أنماط صفحة الأداء البحثي + KPI */
.perf-num {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  unicode-bidi: isolate;
  direction: ltr;
  display: inline-block;
  font-family: "Segoe UI", "Helvetica Neue", Arial, Cairo, sans-serif;
}
/* لا تطبّق display:inline-block على خلايا الجدول */
.perf-pro-table td.perf-num,
.perf-pro-table th.perf-num {
  display: table-cell !important;
  direction: rtl;
}
.perf-pro-table td .perf-num {
  display: inline-block;
  min-width: 1.5rem;
  text-align: center;
}
.performance-section { position: relative; z-index: 10; margin-top: -20px; }
.performance-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem 1.1rem 0.85rem;
  border: 1px solid #d4e8f0;
  box-shadow: 0 8px 28px rgba(45, 90, 110, 0.08);
  overflow: hidden;
}
.performance-card-header {
  margin: -1.25rem -1.1rem 1rem;
  padding: 1.15rem 1rem 0.95rem;
  text-align: center;
  background: linear-gradient(180deg, #e8f2f6 0%, #fff 100%);
  border-bottom: 1px solid #e4eef3;
}
.performance-title {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 800;
  color: #2c5f70;
  line-height: 1.55;
  margin: 0 0 0.35rem;
  text-align: center;
}
.performance-desc {
  color: #7a9eab;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  font-weight: 600;
}

/* جدول احترافي بأسلوب تقييم الباحثين */
.perf-table-pad {
  margin-top: 0.35rem;
  border: 1px solid #d4e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.perf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.7rem 0.35rem;
}
.perf-pro-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0 0.42rem;
  margin: 0;
}
.perf-pro-table thead th {
  padding: 0 0.18rem;
  border: none;
  background: transparent;
  vertical-align: bottom;
}
.perf-th {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-height: 38px;
  padding: 0.48rem 0.45rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  background: linear-gradient(180deg, #7eb6d4, #6aa8c8);
}
.perf-th--name {
  background: #1e2a4a;
  justify-content: flex-start;
  padding-inline: 0.75rem;
  min-width: 210px;
}
.perf-th--year {
  min-width: 72px;
  background: linear-gradient(180deg, #5ec4d4, #00b8c4);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.perf-th--change {
  background: #00b8c4;
  min-width: 100px;
}
.perf-th--notes {
  background: #5a7a88;
  min-width: 200px;
}
.perf-th--acts {
  background: #334155;
  min-width: 88px;
}
.perf-pro-table tbody td {
  padding: 0.72rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
  vertical-align: middle;
  border: none;
  background: #fff;
  color: #334155;
  line-height: 1.4;
}
.perf-pro-table tbody tr:nth-child(even) td { background: #e8f7fb; }
.perf-pro-table tbody td:first-child { border-radius: 0 12px 12px 0; }
.perf-pro-table tbody td:last-child { border-radius: 12px 0 0 12px; }
.perf-td-name {
  text-align: right !important;
  min-width: 220px;
  max-width: 280px;
  padding-inline: 0.7rem !important;
}
.perf-row-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 0.45rem;
  border-radius: 7px;
  background: #1e2a4a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}
.perf-row-label {
  display: inline;
  font-weight: 750;
  color: #1e2a4a;
  line-height: 1.4;
}
.perf-td-year {
  min-width: 72px;
  font-weight: 750;
}
.perf-td-year.is-latest {
  background: rgba(0, 184, 196, 0.1) !important;
  color: #0f766e;
  font-weight: 800;
}
.perf-td-change { min-width: 118px; }
.perf-change {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 4.2rem;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: #94a3b8;
  white-space: nowrap;
  line-height: 1.15;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.perf-change > i { font-size: 0.95rem; line-height: 1; }
.perf-change__val { font-size: 0.82rem; letter-spacing: 0.01em; }
.perf-change__yrs {
  font-size: 0.58rem !important;
  font-weight: 700;
  opacity: 0.92;
  letter-spacing: 0;
}
.perf-change.is-up {
  background: linear-gradient(145deg, #14b8a6, #0f766e);
}
.perf-change.is-down {
  background: linear-gradient(145deg, #f87171, #b91c1c);
}
.perf-change.is-flat {
  background: linear-gradient(145deg, #94a3b8, #64748b);
}
.perf-change.is-new {
  background: linear-gradient(145deg, #38bdf8, #0369a1);
}
.perf-td-notes {
  text-align: right !important;
  font-weight: 500 !important;
  color: #64748b;
  font-size: 0.74rem !important;
  min-width: 220px;
  max-width: 320px;
  line-height: 1.55 !important;
  padding-inline: 0.65rem !important;
}
.perf-td-notes.is-empty { color: #94a3b8; font-style: italic; }
.perf-td-acts { min-width: 88px; }
.perf-row-acts {
  display: inline-flex;
  gap: 0.25rem;
  justify-content: center;
}
.perf-row-acts button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #d4e8f0;
  background: #fff;
  cursor: pointer;
  color: #5a7a88;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
}
.perf-row-acts button:hover { color: #1e2a4a; border-color: #7eb6d4; }
.perf-row-acts button.del:hover { color: #8a4a4a; border-color: #e5cfcf; }
.perf-empty {
  text-align: center !important;
  padding: 2rem 1rem !important;
  color: #7a9eab !important;
  background: #f7fbfd !important;
  border-radius: 12px !important;
}
.perf-table-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7a9eab;
  border-top: 1px solid #e4eef3;
  background: #f7fbfd;
}

/* legacy toggle cards */

.table-icon-card {
  background: #fff; border: 2px solid rgba(0, 131, 176, 0.12);
  border-radius: 20px; padding: 28px 20px; text-align: center;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 10px 30px rgba(0, 131, 176, 0.08); color: inherit;
}
.table-icon-card:hover, .table-icon-card.active {
  transform: translateY(-4px); border-color: #0083B0;
  box-shadow: 0 15px 40px rgba(0, 180, 219, 0.15);
}
.table-icon-card.active {
  background: linear-gradient(180deg, rgba(0, 131, 176, 0.06) 0%, #fff 100%);
}
.table-icon-wrapper {
  width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 20px;
  background: #EBF5FB; color: #0083B0;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
}
.table-icon-card.active .table-icon-wrapper { background: #0083B0; color: #fff; }
.table-icon-title { font-size: 1.25rem; font-weight: 800; color: #0083B0; margin-bottom: 8px; }
.table-icon-sub { color: #7F8C8D; font-size: 0.95rem; line-height: 1.6; margin-bottom: 12px; }
.table-icon-sub span { font-weight: 600; color: #2C3E50; }
.table-icon-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #5D6D7E;
  background: #EBF5FB; padding: 6px 14px; border-radius: 50px;
}
.table-icon-card.active .table-icon-badge {
  background: rgba(0, 131, 176, 0.15); color: #0083B0;
}
.table-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
  margin-bottom: 0;
}
.table-panel.show { max-height: 12000px; opacity: 1; margin-bottom: 1.5rem; }

/* KPI */
.perf-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #eef7fb 0%, #f7fbfd 100%);
  border: 1px solid #e2eaf0;
  border-radius: 16px;
}
.perf-kpi__card {
  background: #fff;
  border: 1px solid #e4eef3;
  border-radius: 14px;
  padding: 0.85rem 0.7rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 70, 100, 0.04);
}
.perf-kpi__card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: var(--k, #0083B0);
}
.perf-kpi__card:nth-child(1) { --k: #0083B0; }
.perf-kpi__card:nth-child(2) { --k: #00b8c4; }
.perf-kpi__card:nth-child(3) { --k: #22c55e; }
.perf-kpi__card:nth-child(4) { --k: #f59e0b; }
.perf-kpi__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.4rem; margin-bottom: 0.4rem;
}
.perf-kpi__ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-size: 0.95rem;
  background: var(--k, #0083B0);
}
.perf-kpi__delta {
  font-size: 0.68rem; font-weight: 800;
  padding: 0.18rem 0.4rem; border-radius: 999px;
  background: #e8f8ef; color: #15803d;
}
.perf-kpi__delta.is-warn { background: #fff7ed; color: #c2410c; }
.perf-kpi__val {
  display: block; font-size: 1.3rem; font-weight: 800; color: #1e2a4a; line-height: 1.1;
}
.perf-kpi__label {
  display: block; margin-top: 0.2rem;
  font-size: 0.72rem; font-weight: 700; color: #6b8494;
}
.perf-kpi__bar {
  margin-top: 0.5rem; height: 6px; border-radius: 99px; background: #eef2f6; overflow: hidden;
}
.perf-kpi__bar > i {
  display: block; height: 100%; border-radius: 99px;
  background: var(--k, #0083B0); width: var(--w, 60%);
}

.perf-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin: 0 0 1.35rem;
}
.perf-charts__card {
  background: #fff;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  padding: 0.9rem 1rem 0.75rem;
  box-shadow: 0 6px 18px rgba(15, 55, 90, 0.04);
}
.perf-charts__title {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f3a52;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.perf-charts__title i { color: #0083B0; }
.perf-charts__canvas-wrap {
  position: relative;
  height: 240px;
}
.perf-charts__canvas-wrap--pie {
  height: 240px;
  max-width: 320px;
  margin-inline: auto;
}

@media (max-width: 991.98px) {
  .perf-kpi { grid-template-columns: 1fr 1fr; }
  .perf-charts { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .perf-kpi { grid-template-columns: 1fr; }
  .performance-card { padding: 0.9rem 0.65rem 0.55rem; }
  .performance-card-header { margin: -0.9rem -0.65rem 0.85rem; padding: 1rem 0.75rem 0.8rem; }
  .performance-title { font-size: 1.02rem; }
  .perf-charts__canvas-wrap,
  .perf-charts__canvas-wrap--pie { height: 220px; }
  .perf-pro-table { min-width: 860px; }
  .perf-th { font-size: 0.68rem; min-height: 34px; }
  .perf-td-notes { min-width: 180px; }
}

/* ═══ الأداء البحثي المباشر 2025-2026 ═══ */
.perf-live-page { font-family: "Tajawal", "Cairo", sans-serif; }
.perf-year-badge {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.15rem;
  margin: 0 auto 0.75rem; padding: 0.55rem 1rem;
  border-radius: 999px; background: linear-gradient(135deg, #1e2a4a, #0f766e);
  color: #fff; font-weight: 800; font-size: 0.92rem;
}
.perf-year-badge span { font-size: 0.68rem; font-weight: 600; opacity: 0.9; }
.perf-live-status {
  margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: #fff7ed; color: #9a3412; font-size: 0.74rem; font-weight: 700;
}
.perf-live-status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.25);
}
.perf-live-status.is-live { background: #ecfdf5; color: #047857; }
.perf-live-status.is-live .dot {
  background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: perfPulse 1.6s ease infinite;
}
@keyframes perfPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}

.perf-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.1rem;
}
.perf-kpi-card {
  display: flex; gap: 0.65rem; align-items: flex-start;
  padding: 0.85rem 0.8rem;
  border-radius: 16px; border: 1px solid #d4e8f0;
  background: #fff; min-height: 96px;
  box-shadow: 0 4px 14px rgba(30,42,74,0.04);
}
.perf-kpi-card__ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
}
.perf-kpi-card__body { min-width: 0; flex: 1; }
.perf-kpi-card__label {
  display: block; font-size: 0.72rem; font-weight: 700; color: #64748b; line-height: 1.3;
}
.perf-kpi-card__val {
  display: block; margin-top: 0.2rem;
  font-size: 1.35rem; font-weight: 800; color: #1e2a4a; line-height: 1.1;
}
.perf-kpi-card small {
  display: block; margin-top: 0.25rem;
  font-size: 0.65rem; font-weight: 600; color: #7a9eab; line-height: 1.35;
}
.perf-kpi-card.mod-navy .perf-kpi-card__ico { background: linear-gradient(145deg,#1e2a4a,#334155); }
.perf-kpi-card.mod-teal .perf-kpi-card__ico { background: linear-gradient(145deg,#0f766e,#14b8a6); }
.perf-kpi-card.mod-blue .perf-kpi-card__ico { background: linear-gradient(145deg,#1d4ed8,#3b82f6); }
.perf-kpi-card.mod-cyan .perf-kpi-card__ico { background: linear-gradient(145deg,#0891b2,#22d3ee); }
.perf-kpi-card.mod-green .perf-kpi-card__ico { background: linear-gradient(145deg,#15803d,#22c55e); }
.perf-kpi-card.mod-indigo .perf-kpi-card__ico { background: linear-gradient(145deg,#5b21b6,#8b5cf6); }
.perf-kpi-card.mod-amber .perf-kpi-card__ico { background: linear-gradient(145deg,#b45309,#f59e0b); }
.perf-kpi-card.mod-mint .perf-kpi-card__ico { background: linear-gradient(145deg,#0f766e,#2dd4bf); }
.perf-kpi-card.mod-slate .perf-kpi-card__ico { background: linear-gradient(145deg,#475569,#94a3b8); }
.perf-kpi-card.mod-ocean .perf-kpi-card__ico { background: linear-gradient(145deg,#0369a1,#38bdf8); }
.perf-kpi-card.mod-violet .perf-kpi-card__ico { background: linear-gradient(145deg,#6d28d9,#a78bfa); }
.perf-kpi-card.mod-rose .perf-kpi-card__ico { background: linear-gradient(145deg,#be123c,#fb7185); }

.perf-section-head {
  margin: 1.1rem 0 0.65rem;
  padding: 0 0.15rem;
}
.perf-section-head h3 {
  margin: 0; font-size: 1rem; font-weight: 800; color: #1e2a4a;
  display: flex; align-items: center; gap: 0.4rem;
}
.perf-section-head i { color: #00b8c4; }

.perf-unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.perf-unit-card {
  border: 1px solid #d4e8f0; border-radius: 16px; padding: 0.85rem;
  background: linear-gradient(180deg,#f8fcfd,#fff);
}
.perf-unit-card.is-branch { border-color: #99e6ec; background: linear-gradient(180deg,#eefbfb,#fff); }
.perf-unit-card__head { margin-bottom: 0.55rem; }
.perf-unit-card__head .tag {
  display: inline-block; font-size: 0.62rem; font-weight: 800;
  padding: 0.12rem 0.45rem; border-radius: 999px;
  background: #e2e8f0; color: #334155; margin-bottom: 0.3rem;
}
.perf-unit-card.is-branch .tag { background: #ccfbf1; color: #0f766e; }
.perf-unit-card__head h4 {
  margin: 0; font-size: 0.92rem; font-weight: 800; color: #1e2a4a; line-height: 1.35;
}
.perf-unit-card__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
}
.perf-unit-card__grid div {
  background: #fff; border: 1px solid #e4eef3; border-radius: 10px;
  padding: 0.4rem 0.45rem; text-align: center;
}
.perf-unit-card__grid span {
  display: block; font-size: 0.62rem; font-weight: 700; color: #7a9eab;
}
.perf-unit-card__grid strong {
  display: block; margin-top: 0.1rem; font-size: 0.95rem; font-weight: 800; color: #1e2a4a;
}
.perf-score-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.25rem 0.55rem; border-radius: 8px;
  background: linear-gradient(145deg,#14b8a6,#0f766e); color: #fff;
  font-weight: 800; font-size: 0.78rem;
}
.perf-pro-table tbody td { text-align: center; }
.perf-pro-table tbody td.text-end { text-align: right !important; }

@media (max-width: 1100px) {
  .perf-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .perf-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perf-kpi-card__val { font-size: 1.2rem; }
}
@media (max-width: 576px) {
  .perf-kpi-grid { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .perf-kpi-card { padding: 0.7rem 0.55rem; min-height: 88px; flex-direction: column; gap: 0.4rem; }
  .perf-kpi-card__ico { width: 36px; height: 36px; font-size: 1rem; }
  .perf-year-badge { font-size: 0.82rem; border-radius: 16px; }
}

/* ملخص أكاديمي + إصلاح جدول الأقسام */
.perf-narrative {
  margin: 0 0 1.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d4e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4fbfd 0%, #fff 55%);
}
.perf-narrative__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.45rem; margin-bottom: 0.75rem;
}
.perf-narrative__head h3 {
  margin: 0; font-size: 1.02rem; font-weight: 800; color: #1e2a4a;
  display: flex; align-items: center; gap: 0.4rem;
}
.perf-narrative__head i { color: #0f766e; }
.perf-narrative__live {
  font-size: 0.7rem; font-weight: 700; color: #0f766e;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 999px; padding: 0.22rem 0.65rem;
}
.perf-narrative__badge {
  display: inline-flex; align-items: center; margin-bottom: 0.65rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800;
}
.perf-narrative__badge.tone-high { background: #ecfdf5; color: #047857; }
.perf-narrative__badge.tone-mid { background: #ecfeff; color: #0e7490; }
.perf-narrative__badge.tone-fair { background: #fffbeb; color: #b45309; }
.perf-narrative__badge.tone-low { background: #fff1f2; color: #be123c; }
.perf-narrative__lead {
  margin: 0 0 0.85rem; font-size: 0.88rem; font-weight: 650;
  color: #334155; line-height: 1.75; text-align: justify;
}
.perf-narrative__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
}
.perf-narrative__grid article {
  background: #fff; border: 1px solid #e4eef3; border-radius: 14px; padding: 0.75rem 0.85rem;
}
.perf-narrative__grid h4 {
  margin: 0 0 0.45rem; font-size: 0.88rem; font-weight: 800; color: #1e2a4a;
  display: flex; align-items: center; gap: 0.35rem;
}
.perf-narrative__grid h4 i { color: #00b8c4; }
.perf-narrative__grid p, .perf-narrative__grid li {
  margin: 0; font-size: 0.8rem; font-weight: 600; color: #475569; line-height: 1.7;
}
.perf-narrative__grid ul { margin: 0.35rem 0 0; padding-inline-start: 1.1rem; }
.perf-narrative__grid li + li { margin-top: 0.25rem; }
.perf-narrative__note {
  margin: 0.85rem 0 0; font-size: 0.72rem; font-weight: 650; color: #7a9eab;
  display: flex; align-items: flex-start; gap: 0.35rem;
}
.perf-dept-table { min-width: 780px; table-layout: fixed; }
.perf-dept-table tbody td {
  display: table-cell !important;
  white-space: nowrap;
}
.perf-td-dept, .perf-td-college {
  text-align: right !important;
  white-space: normal !important;
  font-weight: 800;
  color: #1e2a4a;
}
.perf-td-college { font-weight: 650; color: #5a7a88; font-size: 0.74rem !important; }
.perf-score-pill {
  unicode-bidi: plaintext;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .perf-narrative__grid { grid-template-columns: 1fr; }
}

/* ملخص أكاديمي + إصلاح جدول الأقسام */
.perf-narrative {
  margin: 0 0 1.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d4e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4fbfd 0%, #fff 55%);
}
.perf-narrative__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.45rem; margin-bottom: 0.75rem;
}
.perf-narrative__head h3 {
  margin: 0; font-size: 1.02rem; font-weight: 800; color: #1e2a4a;
  display: flex; align-items: center; gap: 0.4rem;
}
.perf-narrative__head i { color: #00b8c4; }
.perf-narrative__live {
  font-size: 0.7rem; font-weight: 700; color: #0f766e;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  padding: 0.2rem 0.55rem; border-radius: 999px;
}
.perf-narrative__badge {
  display: inline-flex; margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800;
}
.perf-narrative__badge.tone-high { background: #ccfbf1; color: #0f766e; }
.perf-narrative__badge.tone-mid { background: #e0f2fe; color: #0369a1; }
.perf-narrative__badge.tone-fair { background: #ffedd5; color: #c2410c; }
.perf-narrative__badge.tone-low { background: #ffe4e6; color: #be123c; }
.perf-narrative__lead {
  margin: 0 0 0.85rem; font-size: 0.88rem; font-weight: 650;
  color: #334155; line-height: 1.7; text-align: justify;
}
.perf-narrative__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
}
.perf-narrative__grid article {
  background: #fff; border: 1px solid #e4eef3; border-radius: 14px;
  padding: 0.75rem 0.85rem;
}
.perf-narrative__grid h4 {
  margin: 0 0 0.45rem; font-size: 0.88rem; font-weight: 800; color: #1e2a4a;
  display: flex; align-items: center; gap: 0.35rem;
}
.perf-narrative__grid h4 i { color: #00b8c4; }
.perf-narrative__grid p,
.perf-narrative__grid li {
  margin: 0; font-size: 0.8rem; font-weight: 600; color: #475569; line-height: 1.65;
  text-align: justify;
}
.perf-narrative__grid ul { margin: 0.35rem 0 0; padding-inline-start: 1.1rem; }
.perf-narrative__grid li + li { margin-top: 0.25rem; }
.perf-narrative__note {
  margin: 0.85rem 0 0; font-size: 0.72rem; font-weight: 600; color: #7a9eab;
  display: flex; align-items: flex-start; gap: 0.35rem;
}
.perf-dept-table { min-width: 760px; table-layout: fixed; }
.perf-dept-table tbody td {
  display: table-cell !important;
  white-space: nowrap;
}
.perf-td-dept, .perf-td-college {
  text-align: right !important;
  white-space: normal !important;
  font-weight: 800;
  color: #1e2a4a;
}
.perf-td-college { font-weight: 650; color: #475569; }
.perf-score-pill {
  unicode-bidi: plaintext;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .perf-narrative__grid { grid-template-columns: 1fr; }
}
