@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --navy: #061224;
  --navy-2: #0f2744;
  --navy-mid: #1a3a6b;
  --gold: #c4a035;
  --gold-soft: #faf6eb;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-soft: #ecfdf9;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-soft: #eff6ff;
  --bg: #eef2f8;
  --bg-subtle: #f8fafc;
  --card: #ffffff;
  --line: rgba(15, 39, 68, 0.08);
  --line-strong: rgba(15, 39, 68, 0.14);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(6, 18, 36, 0.04), 0 4px 12px rgba(6, 18, 36, 0.04);
  --shadow-md: 0 4px 6px rgba(6, 18, 36, 0.03), 0 12px 32px rgba(6, 18, 36, 0.08);
  --shadow-lg: 0 8px 24px rgba(6, 18, 36, 0.06), 0 24px 48px rgba(6, 18, 36, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

@media (min-width: 1500px) {
  :root { --maxw: 1280px; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ids-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Hero —— */
.ids-hero {
  position: relative;
  color: #fff;
  padding: 0 20px 48px;
  overflow: hidden;
}

.ids-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(37, 99, 235, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(196, 160, 53, 0.12), transparent 45%),
    linear-gradient(165deg, #040d1a 0%, #0a1f3d 42%, #0f2744 100%);
}

.ids-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ids-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 8px;
}

.ids-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 0 28px;
}

.ids-topbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ids-topbar__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.ids-topbar__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ids-topbar__link--pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.ids-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ids-hero__kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-bright), transparent);
}

.ids-hero__title {
  margin: 14px 0 0;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5.2vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 28ch;
  text-wrap: balance;
}

.ids-hero__lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.ids-hero__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.ids-hero__card {
  align-self: end;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ids-hero__card-eyebrow {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ids-hero__period {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.ids-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 16px 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.ids-hero__stats div {
  padding: 12px 14px;
  background: rgba(6, 18, 36, 0.55);
}

.ids-hero__stats dt {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.ids-hero__stats dd {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ids-hero__updated {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.ids-hero__updated strong { color: #fff; }

.ids-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ids-pulse 2s infinite;
}

@keyframes ids-pulse {
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* —— Section nav —— */
.ids-secnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 242, 248, 0.85);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.ids-secnav__inner {
  display: flex;
  gap: 4px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ids-secnav__inner::-webkit-scrollbar { display: none; }

.ids-secnav a {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.ids-secnav a:hover { color: var(--navy-2); background: rgba(15, 39, 68, 0.05); }

.ids-secnav a.is-active {
  color: #fff;
  background: var(--navy-2);
}

#ringkasan, #dampak, #sains, #kampus, #metodologi {
  scroll-margin-top: 72px;
}

/* —— Main layout —— */
.ids-main {
  max-width: var(--maxw);
  margin: 28px auto 56px;
  padding: 0 20px;
}

.ids-app--loading .ids-main__grid {
  opacity: 0.4;
  pointer-events: none;
  filter: blur(1px);
}

.ids-app--ready .ids-main__grid {
  animation: ids-rise 0.7s var(--ease) both;
}

@keyframes ids-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ids-app--ready .ids-main__grid { animation: none; }
  html { scroll-behavior: auto; }
}

/* —— KPI —— */
.ids-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.ids-kpi {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ids-kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid), var(--navy-2));
  opacity: 0.85;
}

.ids-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.ids-kpi--teal::before { background: linear-gradient(90deg, var(--teal), var(--teal-bright)); }
.ids-kpi--blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.ids-kpi--gold::before { background: linear-gradient(90deg, #a8841a, var(--gold)); }

.ids-kpi__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--bg-subtle);
  color: var(--navy-2);
  border: 1px solid var(--line);
}

.ids-kpi--teal .ids-kpi__icon { background: var(--teal-soft); color: var(--teal); border-color: rgba(13, 148, 136, 0.15); }
.ids-kpi--blue .ids-kpi__icon { background: var(--blue-soft); color: var(--blue); border-color: rgba(37, 99, 235, 0.15); }
.ids-kpi--gold .ids-kpi__icon { background: var(--gold-soft); color: #9a7b1a; border-color: rgba(196, 160, 53, 0.2); }

.ids-kpi__num {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

.ids-kpi--teal .ids-kpi__num { color: var(--teal); }
.ids-kpi--blue .ids-kpi__num { color: var(--blue); }
.ids-kpi--gold .ids-kpi__num { color: #9a7b1a; }

.ids-kpi__lbl {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 600;
}

.ids-kpi__sub {
  font-weight: 700;
  color: var(--navy-2);
}

/* —— Panels —— */
.ids-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.ids-panel__head {
  margin-bottom: 20px;
}

.ids-panel__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.ids-panel__eyebrow--teal { color: var(--teal); }
.ids-panel__eyebrow--blue { color: var(--blue); }

.ids-panel__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-2);
  line-height: 1.25;
}

.ids-panel__sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 62ch;
}

.ids-panel--impact {
  border-top: 3px solid rgba(13, 148, 136, 0.35);
}

.ids-panel--tech {
  border-top: 3px solid rgba(37, 99, 235, 0.35);
}

.ids-panel--chart {
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
}

/* —— Monthly chart —— */
.ids-month-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-around;
  gap: 16px 20px;
  min-height: 200px;
  padding: 8px 8px 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(15, 39, 68, 0.05) 39px 40px);
  background-size: 100% 160px;
  background-repeat: no-repeat;
  background-position: 0 30px;
}

.ids-month {
  flex: 1;
  min-width: 88px;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ids-month__val {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-2);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.ids-month__bar-wrap {
  width: 100%;
  max-width: 64px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ids-month__bar {
  width: 100%;
  min-height: 12px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #4a6bb5 0%, var(--navy-2) 100%);
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.25);
  transition: height 0.6s var(--ease);
}

.ids-month--running .ids-month__bar {
  background: repeating-linear-gradient(135deg, #4a6bb5 0 6px, #3d5ea8 6px 12px);
  opacity: 0.85;
}

.ids-month__lbl {
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.35;
}

.ids-month__note {
  flex-basis: 100%;
  text-align: center;
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* —— Split & categories —— */
.ids-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ids-split--overview {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.ids-split > .ids-panel {
  display: flex;
  flex-direction: column;
}

.ids-split--overview .ids-month-row,
.ids-split--overview .ids-compose {
  flex: 1;
}

.ids-panel--detail {
  background: var(--bg-subtle);
  border-style: dashed;
  border-color: var(--line-strong);
}

.ids-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ids-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease);
}

.ids-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.ids-detail-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.ids-detail-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-2);
  line-height: 1.35;
  flex: 1;
  min-width: 12rem;
}

.ids-detail-card__hits {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-subtle);
}

.ids-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ids-sub + .ids-sub {
  margin-top: 14px;
}

.ids-sub__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.ids-sub__name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.ids-sub__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-2);
  font-variant-numeric: tabular-nums;
}

.ids-sub__desc {
  margin: 5px 0 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ids-sub__track {
  height: 6px;
  border-radius: 999px;
  background: #e8edf4;
  overflow: hidden;
}

.ids-sub__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}

.ids-sub__fill--blue {
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.ids-empty {
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
  padding: 20px 12px;
}

/* —— Geo toolbar —— */
.ids-geo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.ids-geo-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
}

.ids-geo-tabs__btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: 600 13px/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ids-geo-tabs__btn:hover {
  color: var(--navy-2);
}

.ids-geo-tabs__btn.is-active {
  background: var(--card);
  color: var(--navy-2);
  box-shadow: 0 2px 8px rgba(6, 18, 36, 0.08);
}

.ids-geo-search {
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 360px;
}

.ids-geo-search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13.5px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3Cpath d='M13 13l3 3'/%3E%3C/svg%3E") 12px center no-repeat;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ids-geo-search input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ids-geo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

.ids-geo-table-wrap:has(.ids-kampus-grid) {
  border: none;
  background: transparent;
  overflow: visible;
  padding: 0;
}

.ids-geo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--card);
}

.ids-geo-table th,
.ids-geo-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.ids-geo-table tbody tr {
  transition: background 0.15s;
}

.ids-geo-table tbody tr:hover {
  background: #f8fafc;
}

.ids-geo-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  font-weight: 800;
}

.ids-geo-table td:first-child {
  color: var(--text-soft);
  font-weight: 800;
  width: 2.5rem;
  font-variant-numeric: tabular-nums;
}

.ids-geo-table__sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-soft);
}

.ids-geo-table__bar span {
  display: block;
  height: 6px;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-2), #4a6bb5);
}

.ids-geo-foot {
  margin: 14px 4px 0;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* —— Kampus heatmap —— */
.ids-heatwrap {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
}

.ids-heatwrap__head h3,
.ids-kampus-heading {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-2);
  letter-spacing: -0.01em;
}

.ids-kampus-heading {
  margin: 0 0 14px;
}

.ids-heatwrap__head p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 72ch;
}

.ids-heat + .ids-heat,
.ids-heatwrap__head + .ids-heat {
  margin-top: 18px;
}

.ids-heat__caption {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ids-heat__caption--teal { color: var(--teal); }
.ids-heat__caption--blue { color: var(--blue); }

.ids-heat__scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

.ids-heat__table {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.ids-heat__table thead th:first-child {
  width: 250px;
}

.ids-heat__table thead th {
  padding: 8px 4px 6px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-muted);
  text-align: center;
  vertical-align: bottom;
  min-width: 64px;
}

.ids-heat__table thead th:first-child,
.ids-heat__table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
  text-align: left;
}

.ids-heat__table tbody th {
  padding: 0 10px 0 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-2);
}

.ids-heat__abbr { display: none; }

.ids-heat__cell {
  height: 34px;
  border-radius: 7px;
  text-align: center;
  font-weight: 700;
  color: var(--navy-2);
  cursor: default;
}

.ids-heat__cell--teal { background: rgba(13, 148, 136, var(--a)); }
.ids-heat__cell--blue { background: rgba(37, 99, 235, var(--a)); }
.ids-heat__cell.is-dark { color: #fff; }
.ids-heat__cell.is-top { box-shadow: inset 0 0 0 2px var(--navy); }

/* —— Kampus focus cards —— */
.ids-kampus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ids-kampus-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ids-kampus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ids-kampus-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
}

.ids-kampus-card__avatar {
  grid-row: span 2;
  min-width: 52px;
  height: 52px;
  padding: 0 8px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--navy-2);
  background: linear-gradient(135deg, var(--teal-soft), var(--blue-soft));
  border: 1px solid var(--line);
}

.ids-kampus-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-2);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ids-kampus-card__pills {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.ids-kampus-card__pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.ids-kampus-card__pill--teal {
  background: var(--teal-soft);
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.2);
}

.ids-kampus-card__pill--blue {
  background: var(--blue-soft);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.2);
}

.ids-kampus-card__tagline {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-2);
  background: linear-gradient(135deg, #f0fdf9 0%, #eff6ff 100%);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.ids-kampus-card__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ids-kampus-card__cols h4 {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ids-kampus-card {
  display: flex;
  flex-direction: column;
}

.ids-kampus-card__more {
  margin-top: auto;
  border-top: 1px dashed var(--line-strong);
}

.ids-kampus-card__more summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  user-select: none;
}

.ids-kampus-card__more summary::-webkit-details-marker { display: none; }

.ids-kampus-card__more summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.ids-kampus-card__more[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.ids-kampus-card__more .ids-kampus-card__cols {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}

.ids-kampus-card__more .ids-kampus-card__subh { margin-top: 8px; }

.ids-kampus-card__subh {
  margin: 12px 0 8px;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ids-focus-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 10px;
  margin-bottom: 10px;
}

.ids-focus-row__name {
  grid-column: 1;
  font-size: 11.5px;
  line-height: 1.35;
  color: #334155;
  font-weight: 600;
}

.ids-focus-row__n {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy-2);
  align-self: center;
  font-variant-numeric: tabular-nums;
}

.ids-focus-row__track {
  grid-column: 1;
  height: 5px;
  border-radius: 999px;
  background: #e8edf4;
  overflow: hidden;
}

.ids-focus-row__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}

.ids-focus-row__fill--blue {
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.ids-focus-empty {
  margin: 0;
  font-size: 11px;
  color: var(--text-soft);
}

/* —— Category bars —— */
.ids-cat + .ids-cat { margin-top: 12px; }

.ids-cat__head {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.ids-cat__rank {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f1f5f9, #e8edf4);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  color: var(--navy-2);
  border: 1px solid var(--line);
}

.ids-cat__name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
}

.ids-cat__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-2);
  font-variant-numeric: tabular-nums;
}

.ids-cat__track {
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.ids-cat__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}

.ids-cat__fill--blue {
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

/* —— Donut —— */
.ids-compose {
  display: grid;
  grid-template-columns: minmax(140px, 170px) 1fr;
  gap: 24px;
  align-items: center;
}

#idsDonut {
  width: 100%;
  max-width: 170px;
  height: auto;
  display: block;
}

.ids-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.ids-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: #334155;
}

.ids-legend li:last-child { border-bottom: none; }

.ids-legend__lbl { grid-column: 2; line-height: 1.3; }

.ids-legend__val {
  grid-column: 3;
  grid-row: 1;
  font-weight: 800;
  color: var(--navy-2);
  font-variant-numeric: tabular-nums;
}

.ids-legend__n {
  grid-column: 2 / 4;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.ids-legend__sw {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* —— Methodology —— */
.ids-method {
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-left: 4px solid var(--navy-mid);
}

.ids-method p + p {
  margin-top: 10px;
}

.ids-method code {
  font-size: 12px;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
}

/* —— Footer —— */
.ids-footer {
  max-width: var(--maxw);
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
}

.ids-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.5;
}

.ids-error {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .ids-split--overview { grid-template-columns: 1fr; }
  .ids-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .ids-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .ids-hero__card { align-self: stretch; }
  .ids-hero__stats { grid-template-columns: repeat(4, 1fr); }
  .ids-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ids-split { grid-template-columns: 1fr; }
  .ids-kampus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ids-hero { padding: 0 16px 32px; }
  .ids-topbar { padding: 12px 0 18px; }
  .ids-topbar__link { padding: 6px 8px; font-size: 12.5px; }
  .ids-hero__title { font-size: 28px; max-width: none; }
  .ids-hero__lead { font-size: 14.5px; margin-top: 12px; }
  .ids-hero__kicker { font-size: 10px; letter-spacing: 0.1em; }
  .ids-hero__card { padding: 16px; }
  .ids-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .ids-hero__stats dd { font-size: 20px; }

  .ids-secnav__inner { padding: 8px 12px; }
  .ids-secnav a { padding: 7px 12px; font-size: 12.5px; }

  .ids-main { margin-top: 18px; padding: 0 12px; }

  .ids-kpi-row { gap: 10px; margin-bottom: 16px; }
  .ids-kpi { padding: 14px 14px 14px; border-radius: 14px; }
  .ids-kpi__icon { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 10px; }
  .ids-kpi__icon svg { width: 16px; height: 16px; }
  .ids-kpi__num { font-size: 24px; }
  .ids-kpi__lbl { font-size: 11.5px; }

  .ids-panel { padding: 18px 16px 20px; border-radius: 18px; margin-bottom: 14px; }
  .ids-panel__head { margin-bottom: 16px; }
  .ids-panel__title { font-size: 18px; }
  .ids-panel__sub { font-size: 12.5px; }
  .ids-split { gap: 0; }

  .ids-month-row { min-height: 170px; gap: 10px; }
  .ids-month { min-width: 0; }
  .ids-month__bar-wrap { height: 100px; max-width: 48px; }
  .ids-month__val { font-size: 13px; }
  .ids-month__lbl { font-size: 10.5px; }

  .ids-compose { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  #idsDonut { max-width: 160px; }
  .ids-legend { width: 100%; }

  .ids-panel--detail { padding: 16px 12px; }
  .ids-detail-card { padding: 14px 12px 12px; }

  .ids-geo-toolbar { flex-direction: column; align-items: stretch; }
  .ids-geo-tabs { display: flex; }
  .ids-geo-tabs__btn { flex: 1; padding: 9px 8px; font-size: 12.5px; }
  .ids-geo-search { max-width: none; }

  .ids-heatwrap { padding: 14px 12px; margin-bottom: 20px; }
  .ids-heat__abbr { display: inline; }
  .ids-heat__full { display: none; }
  .ids-heat__table { min-width: 0; width: auto; table-layout: auto; }
  .ids-heat__table thead th { min-width: 52px; font-size: 10px; }
  .ids-heat__table thead th:first-child { width: auto; }
  .ids-heat__cell { height: 30px; font-size: 11.5px; }

  .ids-kampus-card { padding: 14px 12px; }
  .ids-kampus-card__cols { grid-template-columns: 1fr; }
  .ids-kampus-card__avatar { min-width: 44px; height: 44px; font-size: 11px; }
  .ids-kampus-card__title { font-size: 14px; }

  .ids-geo-table th, .ids-geo-table td { padding: 10px 8px; }
  .ids-geo-table { font-size: 12px; }
}

@media (max-width: 380px) {
  .ids-kpi__num { font-size: 21px; }
  .ids-hero__title { font-size: 25px; }
}

@media print {
  body { background: #fff; }
  .ids-topbar, .ids-footer, .ids-secnav { display: none; }
  .ids-hero { padding: 24px; break-after: avoid; }
  .ids-hero__bg { display: none; }
  .ids-hero { background: #0f2744; }
  .ids-main { margin-top: 16px; }
  .ids-kpi, .ids-panel, .ids-kampus-card { box-shadow: none; break-inside: avoid; }
}
