:root {
  --navy: #13306b;
  --navy-dark: #0c2150;
  --red: #e5213a;
  --ink: #1d2b4a;
  --muted: #5d6b86;
  --line: #e3e9f3;
  --bg: #f3f6fb;
  --white: #fff;
  /* Gambar kampus disimpan dalam folder images */
  --hero-img: url('images/kampus.jpg');
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ---------- NAVBAR ---------- */
.nav {
  background: var(--navy);
  color: #fff;
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo {
  font-weight: 900; letter-spacing: 1px; color: var(--red);
  font-size: 18px; line-height: 1; text-align: center;
  border-top: 2px solid var(--red); border-bottom: 2px solid var(--red);
  padding: 5px 6px;
}
.logo small { display: block; font-size: 8px; letter-spacing: 3px; font-weight: 600; margin-top: 2px; }
.logo-img { height: 48px; width: auto; max-width: none; }
.foot-logo .logo-img { height: 68px; margin-bottom: 10px; }
.brand-text { border-left: 1px solid rgba(255,255,255,.35); padding-left: 14px; }
.brand-text b { display: block; font-size: 16px; }
.brand-text span { font-size: 13px; opacity: .9; }
.menu { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.menu a {
  font-size: 12.5px; padding: 8px 0; border-bottom: 3px solid transparent; white-space: nowrap;
}
.menu a:hover, .menu a.active { border-bottom-color: var(--red); font-weight: 600; }
.search { display: block; width: 22px; height: 22px; flex-shrink: 0; cursor: pointer; color: #fff; }
.search svg { width: 100%; height: 100%; }
.burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; margin-left: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #eaf2fc 0%, #dbe9f8 60%, #c9def3 100%);
  min-height: 340px;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 38%;
  background: var(--hero-img) center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
          mask-image: linear-gradient(to right, transparent 0%, #000 35%);
}
.hero::after {
  content: ""; position: absolute; right: -40px; bottom: -10px;
  width: 120px; height: 14px; background: var(--red);
  transform: rotate(-45deg) translate(30px, -30px);
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 48px 20px; position: relative; z-index: 2; }
.hero h1 { font-size: 42px; line-height: 1.12; color: var(--navy); max-width: 440px; }
.hero h2 { font-size: 26px; color: var(--navy); margin-top: 6px; }
.hero .bar { width: 52px; height: 3px; background: var(--red); margin: 14px 0; }
.hero p { max-width: 400px; color: var(--ink); font-size: 16px; }
.btns { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: 14px;
  border: 2px solid var(--navy);
}
.btn svg { width: 20px; height: 20px; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #c81930; }
.btn.outline { background: #fff; color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }

/* ---------- KAD KATEGORI ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 28px;
}
.card {
  background: #fff; border-radius: 10px; text-align: center;
  padding: 22px 18px; box-shadow: 0 2px 10px rgba(19,48,107,.08);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(19,48,107,.14); }
.icon-circle {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center;
}
.icon-circle svg { width: 36px; height: 36px; }
.c-blue { background: #dcebfb; color: var(--navy); }
.c-pink { background: #fde0e0; color: var(--red); }
.c-green { background: #d8f1ea; color: #0f6b55; }
.c-purple { background: #ebe5fb; color: #5b3fc4; }
.card h3 { color: var(--navy); font-size: 19px; }
.card p { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.card .arrow { color: var(--red); width: 22px; height: 22px; margin: 0 auto; }

/* ---------- HEBAHAN + AKSES PANTAS ---------- */
.grid2 { display: grid; grid-template-columns: 1.85fr 1fr; gap: 20px; margin-top: 26px; }
.panel { background: #fff; border-radius: 10px; padding: 20px 22px; box-shadow: 0 2px 10px rgba(19,48,107,.08); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -20px -22px 16px; padding: 13px 22px; background: var(--navy); border-bottom: 3px solid #f5b800; border-radius: 10px 10px 0 0; }
.panel-head h2 { color: #fff; font-size: 21px; line-height: 1.2; }
.panel-head a { color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.panel-head a svg { width: 14px; height: 14px; }
.news { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news:last-child { border-bottom: 0; }
.date {
  flex-shrink: 0; width: 60px; text-align: center; border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 0; background: #f7f9fd;
}
.date b { display: block; font-size: 21px; color: var(--navy); line-height: 1.1; }
.date span { display: block; font-size: 10px; color: var(--muted); line-height: 1.3; }
.news-body { flex: 1; min-width: 0; }
.news-body h4 { font-size: 14.5px; color: var(--navy); }
.news-body p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.news .go { color: var(--red); width: 20px; height: 20px; flex-shrink: 0; }
.quick a {
  display: flex; align-items: center; gap: 14px;
  background: #f4f7fc; border: 1px solid var(--line); border-radius: 6px;
  padding: 14px 16px; margin-bottom: 12px; font-weight: 600; font-size: 14px; color: var(--navy);
}
.quick a:last-child { margin-bottom: 0; }
.quick a:hover { background: #e8eff9; }
.quick a svg:first-child { width: 26px; height: 26px; flex-shrink: 0; }
.quick a svg:last-child { width: 16px; height: 16px; margin-left: auto; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy-dark); color: #fff; margin-top: 26px; }
.foot-grid {
  max-width: 1200px; margin: 0 auto; padding: 34px 20px 26px;
  display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 26px;
}
.foot-grid > div + div { border-left: 1px solid rgba(255,255,255,.15); padding-left: 26px; }
.foot-grid h5 { font-size: 15px; margin-bottom: 12px; }
.foot-grid p, .foot-grid li { font-size: 12.5px; opacity: .92; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid li a:hover { text-decoration: underline; }
.contact-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.contact-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.social { display: flex; gap: 12px; }
.social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  display: grid; place-items: center;
}
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 18px; height: 18px; }
.foot-logo .logo { display: inline-block; margin-bottom: 10px; }
.foot-logo b { display: block; font-size: 15px; }
.copy {
  border-top: 1px solid rgba(255,255,255,.15); max-width: 1200px; margin: 0 auto;
  padding: 16px 20px; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; font-size: 11px; opacity: .85;
}

/* ---------- RESPONSIF ---------- */
@media (max-width: 1000px) {
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-dark); padding: 6px 20px 14px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .burger { display: block; }
  .search { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .hero h2 { font-size: 20px; }
  .hero::before { inset: 0; opacity: .25; -webkit-mask-image: none; mask-image: none; }
  .brand-text b { font-size: 13px; }
  .brand-text span { font-size: 11px; }
  .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div + div { border-left: 0; padding-left: 0; }
  .news .go { display: none; }
}


/* ---------- HALAMAN DALAMAN ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #eaf2fc 0%, #dbe9f8 60%, #c9def3 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 0 58%;
  background: var(--hero-img) center 60%/cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
          mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  opacity: .85;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 30px 20px 34px; position: relative; z-index: 2; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--navy); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: 34px; line-height: 1.15; color: var(--navy); max-width: 560px; text-wrap: balance; }
.page-hero .bar { width: 52px; height: 3px; background: var(--red); margin: 12px 0; }
.page-hero p { max-width: 520px; font-size: 15.5px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 24px; align-items: start; }
.stack { display: grid; gap: 20px; min-width: 0; }
.side { display: grid; gap: 20px; position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); }
.panel h3 { color: var(--navy); font-size: 16px; }
.panel p { font-size: 14.5px; }
.panel p + p { margin-top: 10px; }
.panel a.inline { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.panel a.inline:hover { color: var(--red); }
.panel ul.plain { padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.panel > .panel-head + * { margin-top: 4px; }

.notice {
  background: #eef4fc; border-left: 4px solid var(--navy); border-radius: 6px;
  padding: 13px 16px; font-size: 14px; color: var(--ink);
}
.notice.warn { background: #fdecee; border-left-color: var(--red); }
.notice b { color: var(--navy); }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.mini {
  display: grid; gap: 6px; align-content: start; padding: 16px;
  background: #f4f7fc; border: 1px solid var(--line); border-radius: 8px;
  transition: transform .2s, background .2s;
}
.mini:hover { background: #e8eff9; transform: translateY(-2px); }
.mini .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #dcebfb; color: var(--navy); }
.mini .ic svg { width: 22px; height: 22px; }
.mini b { color: var(--navy); font-size: 15px; }
.mini span.t { color: var(--muted); font-size: 13px; }

.steps { list-style: none; counter-reset: langkah; display: grid; gap: 4px; margin-top: 6px; }
.steps li { counter-increment: langkah; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(langkah); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.steps b { color: var(--navy); font-size: 14.5px; display: block; }
.steps p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.doc-list { display: grid; gap: 10px; margin-top: 6px; }
.doc {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: #f4f7fc; border: 1px solid var(--line); border-radius: 6px; color: var(--navy);
}
.doc:hover { background: #e8eff9; }
.badge {
  flex-shrink: 0; min-width: 46px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: var(--red); border-radius: 4px; padding: 5px 6px;
}
.badge.blue { background: var(--navy); }
.doc-body { flex: 1; min-width: 0; }
.doc-body b { display: block; font-size: 14px; }
.doc-body small { color: var(--muted); font-size: 12px; }
.doc > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); }

.table-wrap { overflow-x: auto; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.tbl th { background: var(--navy); color: #fff; text-align: left; padding: 10px 14px; font-size: 13px; letter-spacing: .3px; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #f7f9fd; }
.tbl td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl a { color: var(--red); font-weight: 600; }
.tbl a:hover { text-decoration: underline; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.contact-side .contact-row { margin-bottom: 12px; }
.contact-side .contact-row:last-child { margin-bottom: 0; }
.contact-side .contact-row svg { color: var(--red); }
.contact-side p { font-size: 13.5px; }

.feature { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.feature .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.feature .ic svg { width: 32px; height: 32px; }
.feature h3 + p { margin-top: 6px; }

.faq-tools { display: grid; gap: 12px; margin-top: 6px; }
.faq-tools input {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1px solid #c9d5e8; border-radius: 6px;
}
.faq-tools input:focus-visible, .chip:focus-visible, .faq summary:focus-visible, a:focus-visible, .burger:focus-visible {
  outline: 3px solid rgba(229, 33, 58, .45); outline-offset: 2px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #c9d5e8; background: #fff; color: var(--navy);
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq { display: grid; gap: 10px; margin-top: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 600; font-size: 14.5px; color: var(--navy);
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--red); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { background: #f7f9fd; }
.faq .ans { padding: 0 16px 16px; font-size: 14px; color: var(--ink); }
.faq .ans a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.faq-none { margin-top: 14px; color: var(--muted); font-size: 14px; }

.news-full .news { padding: 16px 0; }

@media (min-width: 1001px) { .mini-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero::before { inset: 0 0 0 40%; opacity: .5; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: 26px; }
  .page-hero::before { inset: 0; opacity: .18; -webkit-mask-image: none; mask-image: none; }
  .feature { grid-template-columns: minmax(0, 1fr); }
}
/* Elak limpahan mendatar */
.stack > *, .side > * { min-width: 0; }
.news-body { overflow-wrap: anywhere; }
/* Navbar boleh mengecil pada skrin sempit */
.brand { flex-shrink: 1; min-width: 0; }
.brand-text { min-width: 0; }
@media (max-width: 600px) {
  .nav-inner { gap: 10px; padding: 8px 16px; }
  .brand { gap: 10px; }
  .brand-text { padding-left: 10px; }
  .brand-text b { font-size: 11.5px; line-height: 1.25; }
  .brand-text span { font-size: 11px; }
  .logo-img { height: 38px; }
  .foot-logo .logo-img { height: 56px; }
}
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; gap: 16px; align-items: flex-start; padding: 14px; background: #f4f7fc; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.person img { width: 78px; height: auto; border-radius: 6px; flex-shrink: 0; object-fit: cover; background: var(--line); }
.person > div { min-width: 0; }
.person b { display: block; font-size: 14.5px; color: var(--navy); line-height: 1.35; }
.person .role { display: block; font-size: 12.5px; color: var(--red); font-weight: 700; letter-spacing: .3px; margin: 2px 0 8px; text-transform: uppercase; }
.person .contact-row { margin-bottom: 4px; }
.person .contact-row p { font-size: 13px; overflow-wrap: anywhere; }
.unit-contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.muted-note { color: var(--muted); font-size: 12.5px; }
.doc-img { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #f4f7fc; }
.doc-img:last-child { margin-bottom: 0; }
.doc-img a { display: block; line-height: 0; background: #fff; }
.doc-img img { display: block; width: 100%; height: auto; }
.doc-img figcaption { padding: 10px 14px; line-height: 1.4; }
.doc-img figcaption b { display: block; font-size: 14px; color: var(--navy); }
.doc-img figcaption small { color: var(--muted); font-size: 12px; }
.sub-h { font-size: 15px; color: var(--navy); margin: 18px 0 8px; }
.panel .notice { margin: 14px 0; }
.plain-ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.tt { font-weight: 700; color: var(--navy); }
.tbl td .tt { font-weight: 400; color: inherit; }
.empty { color: var(--muted); font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .mini { transition: none; }
}

/* Sub-tab di bawah tab Pelajar */
.subtabs { max-width: 1200px; margin: 18px auto 0; padding: 0 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.subtabs a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; }
.subtabs a:hover { border-color: var(--navy); }
.subtabs a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Poster infografik di halaman utama */
.poster-panel { margin: 22px 0; }
.poster-panel[hidden] { display: none; }
.poster-box .doc-img { max-width: 900px; margin: 0 auto; }

/* Statistik Graduan */
@media (min-width: 1001px) { .mini-grid.g4 .mini.wide { grid-column: 1 / -1; } }
.mini.wide { background: linear-gradient(100deg, #eaf0fb, #fff 70%); border-left: 4px solid var(--red); }
.stat-hero { background: linear-gradient(135deg, #0c2150, var(--navy) 60%, #1d4a99); color: #fff; text-align: center; padding: 34px 20px; position: relative; overflow: hidden; }
.stat-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(229, 33, 58, .35); }
.stat-kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: #ffd24a; font-weight: 700; position: relative; z-index: 1; }
.stat-big { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.stat-num { font-size: clamp(56px, 12vw, 104px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-unit { font-size: clamp(20px, 4vw, 30px); font-weight: 700; color: #cfdcf5; }
.stat-sub { margin: 10px 0 0; color: #cfdcf5; font-size: 14.5px; position: relative; z-index: 1; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.stat-tile { background: #fff; border-radius: 10px; padding: 16px; border-top: 4px solid var(--red); box-shadow: 0 1px 4px rgba(19, 48, 107, .1); display: grid; gap: 2px; }
.stat-tile:nth-child(2) { border-top-color: var(--navy); }
.stat-tile:nth-child(3) { border-top-color: #f2b705; }
.stat-tile-l { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.stat-tile-v { font-size: 32px; color: var(--navy); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-tile-n { font-size: 13px; color: var(--muted); }
.stat-chart { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.stat-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.stat-lab { font-size: 14px; color: var(--navy); font-weight: 600; }
.stat-val { font-size: 14px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.stat-track { grid-column: 1 / -1; grid-row: 2; display: block; height: 12px; background: #e8eef9; border-radius: 99px; overflow: hidden; }
.stat-bar { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 99px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.stat-row.is-latest .stat-bar { background: var(--red); }
.stat-row.is-latest .stat-lab, .stat-row.is-latest .stat-val { color: var(--red); }
.stat-row.is-next .stat-track { background: transparent; border: 1.5px dashed #b9c6e2; }
.stat-row.is-next .stat-lab, .stat-row.is-next .stat-val { color: var(--muted); font-weight: 600; }
.stat-note { margin: 16px 0 0; }
@media (min-width: 720px) {
  .stat-row { grid-template-columns: 230px 1fr 90px; gap: 14px; }
  .stat-track { grid-column: 2; grid-row: 1; }
  .stat-val { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) { .stat-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .stat-bar { transition: none; } }

/* Pemindahan Kredit (carta alir langkah menegak) */
.flow-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; }
.flow-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg.jab { background: var(--navy); } .lg.pol { background: var(--red); }
.flow { list-style: none; margin: 0 0 8px; padding: 0; }
.flow li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; position: relative; }
.flow li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line); }
.flow li:last-child { padding-bottom: 0; } .flow li:last-child::before { display: none; }
.flow .n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.flow li.pol .n { background: var(--red); }
.flow li.dec .n { border-radius: 8px; transform: rotate(45deg); width: 30px; height: 30px; margin: 2px; }
.flow li.dec .n > span { transform: rotate(-45deg); }
.flow b { display: block; color: var(--navy); font-size: 15px; }
.flow p { margin: 3px 0 0; font-size: 14px; }
.flow .wk { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: #e8eef9; color: var(--navy); margin-bottom: 4px; }
.flow li.pol .wk { background: #fdecee; color: var(--red); }
.flow .stop { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--red); border: 1px solid #f5b5be; background: #fff5f6; border-radius: 6px; padding: 3px 10px; }
.ctce-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 14px; }
.ctce-chips div { background: #f4f7fc; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 8px; padding: 12px; display: grid; gap: 2px; }
.ctce-chips b { font-size: 26px; color: var(--navy); line-height: 1.1; }
.ctce-chips span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .ctce-chips { grid-template-columns: minmax(0, 1fr); } }

/* CTCE page */
.ctce-hero { padding-bottom: 28px; }
.ctce-hero .stat-num { font-size: clamp(64px, 14vw, 120px); letter-spacing: 4px; }
.ctce-when { display: inline-block; margin: 14px 0 0; padding: 7px 16px; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; font-size: 14px; position: relative; z-index: 1; }
.ctce-when b { color: #ffd24a; }
.lane { margin: 0 0 18px; }
.lane-h { margin: 0 0 12px; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.lane-h::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .18; }
.lane-h.pol { color: var(--red); }
.jr { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: none; }
.jr li { background: #f4f7fc; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; padding: 14px 14px 14px; display: grid; gap: 8px; align-content: start; }
.jr.pol li { border-top-color: var(--red); background: #fff7f8; }
.jr li.dec { border-style: dashed; border-top-style: solid; }
.jn { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.jr.pol .jn { background: var(--red); }
.jr li.dec .jn { border-radius: 7px; }
.jr li > div > b { color: var(--navy); font-size: 15px; display: block; }
.jr p b, .jr p a { display: inline; font-size: inherit; }
.jr p { margin: 3px 0 0; font-size: 13.5px; }
.jr .wk { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: #e8eef9; color: var(--navy); margin-bottom: 6px; }
.jr.pol .wk { background: #fdecee; color: var(--red); }
.jr .stop { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--red); border: 1px solid #f5b5be; background: #fff5f6; border-radius: 6px; padding: 3px 9px; }
.doc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-steps li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; align-items: center; background: #f4f7fc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.doc-steps li > span { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }

/* Tarikh-tarikh Penting */
.tp-deadlines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.tp-dl { background: linear-gradient(135deg, #0c2150, var(--navy) 65%, #1d4a99); color: #fff; border-radius: 12px; padding: 18px; display: grid; gap: 4px; position: relative; overflow: hidden; align-content: start; }
.tp-dl::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(229, 33, 58, .35); }
.tp-dl > * { position: relative; z-index: 1; }
.tp-dl-k { font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase; color: #ffd24a; font-weight: 800; }
.tp-dl-t { font-size: 15px; line-height: 1.3; }
.tp-dl-d { font-size: 28px; font-weight: 900; line-height: 1.15; margin-top: 4px; }
.tp-dl-h { font-size: 14px; color: #cfdcf5; }
.tp-dl-c { justify-self: start; margin-top: 8px; font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 99px; background: #ffd24a; color: #0c2150; }
.tp-dl-c.past { background: rgba(255,255,255,.18); color: #cfdcf5; }
.tp-dl .tp-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.tp-phase { margin: 0 0 20px; }
.tp-ph { margin: 0 0 10px; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.tp-ph::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .18; }
.tp-list { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 10px; position: relative; }
.tp-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; background: #f4f7fc; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 10px; padding: 12px 14px; align-items: start; }
.tp-date { font-weight: 800; color: var(--navy); font-size: 14px; line-height: 1.35; }
.tp-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.tp-top b { color: var(--ink); font-size: 14px; font-weight: 600; }
.tp-tg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tp-chip { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #e8eef9; border: 1px solid #d3def2; color: var(--navy); }
.tp-tag { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: #e8eef9; color: var(--navy); white-space: nowrap; }
.tp-item.is-past { opacity: .6; border-left-color: #9fb0cc; }
.tp-item.is-past .tp-tag { background: #e6efe8; color: #2a6b3c; }
.tp-item.is-next { border-left-color: var(--red); background: #fff7f8; box-shadow: 0 2px 8px rgba(229, 33, 58, .12); }
.tp-item.is-next .tp-tag, .tp-item.is-now .tp-tag { background: var(--red); color: #fff; }
.tp-item.is-now { border-left-color: #f5b800; background: #fffbea; }
.tp-abbr summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy); }
.tp-abbr p { margin-top: 8px; }
@media (max-width: 760px) {
  .tp-deadlines { grid-template-columns: minmax(0, 1fr); }
  .tp-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
.tp-intro { margin: 0 0 16px; }

/* Sesi semasa */
.sesi-strip { background: linear-gradient(90deg, #f5b800, #ffd24a); color: var(--navy-dark); text-align: center; font-size: 13px; padding: 6px 16px; font-weight: 600; letter-spacing: .2px; }
.sesi-strip b { font-weight: 900; }
.sesi-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(229,33,58,.6); animation: sesi-pulse 2s infinite; }
@keyframes sesi-pulse { 70% { box-shadow: 0 0 0 7px rgba(229,33,58,0); } 100% { box-shadow: 0 0 0 0 rgba(229,33,58,0); } }
@media (prefers-reduced-motion: reduce) { .sesi-dot { animation: none; } }
.sesi-badge { background: #f5b800; color: var(--navy-dark); font-weight: 800; font-size: 12.5px; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.sesi-badge.is-old { background: rgba(255,255,255,.2); color: #cfdcf5; border: 1px dashed rgba(255,255,255,.45); }
.panel.sesi-lepas > *:not(.panel-head) { opacity: .75; }
@media (max-width: 520px) { .panel-head { flex-wrap: wrap; } .sesi-badge { font-size: 11.5px; padding: 3px 10px; } }

.sy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 4px; }
.sy-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; background: #f4f7fc; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 10px; padding: 14px; }
.sy-card:nth-child(2) { border-top-color: var(--navy); } .sy-card:nth-child(3) { border-top-color: #f5b800; } .sy-card:nth-child(4) { border-top-color: #1d4a99; }
.sy-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.sy-card:nth-child(1) .sy-ic { background: var(--red); } .sy-card:nth-child(3) .sy-ic { background: #f5b800; color: var(--navy-dark); } .sy-card:nth-child(4) .sy-ic { background: #1d4a99; }
.sy-ic svg { width: 24px; height: 24px; }
.sy-card > div > b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.sy-card p { margin: 0; font-size: 13.5px; }
@media (max-width: 640px) { .sy-grid { grid-template-columns: minmax(0, 1fr); } }
.doc-list.no-cap .doc-img figcaption { display: none; }

/* Graduan */
.jr.gd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0; }
.jr.gd-three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0 6px; }
.jr.gd-two li, .jr.gd-three li { align-content: start; }
.gd-items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.gd-items li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; border-top: 1px solid var(--line); }
.gd-items b { font-size: 13.5px; display: block; }
.gd-items small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.gd-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dcebfb; color: var(--navy); }
.gd-ic svg { width: 18px; height: 18px; }
.jr.pol .gd-ic { background: #fdecee; color: var(--red); }
.jr .wk .tt { font-weight: 800; color: inherit; }
.fee-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 18px; }
@media (max-width: 900px) { .jr.gd-three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .jr.gd-two, .fee-tiles { grid-template-columns: minmax(0, 1fr); } }

/* Seragamkan saiz teks kad Graduan */
.jr.gd-two p, .jr.gd-three p { font-size: 14px; }
.gd-items b { font-size: 14px; }
.gd-items small { font-size: 13px; }
.gd-items a, .gd-items a.inline { font-size: 14px; font-weight: 700; }
.jr.gd-two > li > div > b, .jr.gd-three > li > div > b { font-size: 15.5px; }
.gd-items small b { display: inline; font-size: inherit; }
.gd-items small a.inline { font-size: inherit; }
.jr .gd-items li > div > b { font-size: 14px; }
.gd-items a, .gd-items a.inline { overflow-wrap: anywhere; }
#gantian .doc-steps li { font-size: 14.5px; }
.jr.gd-three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); }
.gd-items a, .gd-items a.inline { font-size: 13.5px; overflow-wrap: break-word; }
@media (max-width: 900px) { .jr.gd-three { grid-template-columns: minmax(0, 1fr); } }

/* Garis masa 3 titik + kad rayuan */
.tl3 { list-style: none; margin: 10px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.tl3::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 11px; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); border-radius: 2px; }
.tl3 li { position: relative; text-align: center; padding: 0 8px; display: grid; gap: 4px; justify-items: center; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); position: relative; z-index: 1; }
.tl3 li.end .tl-dot { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 4px rgba(229, 33, 58, .18); }
.tl-k { font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-top: 4px; }
.tl-d { font-size: 14.5px; color: var(--navy); line-height: 1.3; }
.tl-d .tt { font-weight: 800; }
.rp-fee { margin-top: 10px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.rp-fee-k { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.rp-fee .tt { font-size: 17px; font-weight: 900; color: var(--navy); }
.jr li > .jn svg { width: 16px; height: 16px; }
.rp-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .tl3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tl3::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .tl3 li { grid-template-columns: 24px minmax(0, 1fr); text-align: left; justify-items: start; column-gap: 12px; align-items: center; }
  .tl3 li .tl-k { grid-column: 2; margin: 0; } .tl3 li .tl-d { grid-column: 2; }
  .tl3 li .tl-dot { grid-row: 1 / span 2; }
}
#penilaian-khas .stat-tile-v { font-size: 24px; }

.tp-deadlines.one { grid-template-columns: minmax(0, 1fr); margin: 4px 0 0; }
#kurikulum .sy-card:nth-child(n) .sy-ic { color: #fff; }
#kurikulum .sy-card:nth-child(3) .sy-ic { color: var(--navy-dark); }

/* ARAHAN-PEPERIKSAAN */

.gf{display:inline-block;background:#e5213a;color:#fff;font-weight:800;font-size:12px;padding:1px 8px;border-radius:99px}
.out2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.out{border-radius:10px;padding:14px 16px;display:grid;gap:3px;border-left:6px solid var(--navy);background:#eef3fb}
.out.bad{border-left-color:var(--red);background:#fdecee}
.out .out-t{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.out b{color:var(--navy);font-size:16px}.out.bad b{color:var(--red)}
.out small{font-size:13px;color:var(--muted)}
.pt-time{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.pt-step{background:#f4f7fc;border:1px solid var(--line);border-top:4px solid var(--navy);border-radius:10px;padding:12px;display:grid;gap:2px;align-content:start}
.pt-step.on{border-top-color:#f5b800}.pt-step.warn{border-top-color:var(--red)}
.pt-n{font-size:24px;color:var(--navy);line-height:1.1}.pt-step.warn .pt-n{color:var(--red)}
.pt-step>span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}
.pt-step small{font-size:13px;margin-top:4px}
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}
.chk-box{border:1px solid var(--line);border-top:4px solid var(--red);border-radius:10px;padding:14px 16px;background:#fff}
.chk-box.navy{border-top-color:var(--navy)}
.chk-box h4{margin:0 0 8px;color:var(--navy);font-size:16px}
.chk-box ul{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.chk-box li{position:relative;padding-left:22px;font-size:13.5px}
.chk-box li::before{content:"";position:absolute;left:2px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--red)}
.chk-box.navy li::before{background:var(--navy)}
.chk-box li b{display:inline}
@media(max-width:760px){.out2,.two-col{grid-template-columns:minmax(0,1fr)}.pt-time{grid-template-columns:repeat(2,minmax(0,1fr))}}

.gf.navy{background:var(--navy)}
.cap-n{font-size:13px;color:var(--muted);margin:6px 0 0}
.ch-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}
.ch-nav a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;background:#f4f7fc;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:10px;padding:10px 12px;text-decoration:none;color:var(--navy)}
.ch-nav a:hover{background:#e8eef9}
.ch-nav a b{width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:16px}
.ch-nav a span{font-size:13.5px;font-weight:700;line-height:1.25}
.panel[id^="b"]{scroll-margin-top:110px}
.sy-grid.gd-s2 .sy-card:nth-child(n){border-top-color:var(--red)}
.sy-grid.gd-s2 .sy-card:nth-child(2){border-top-color:var(--navy)}
.sy-grid.gd-s2 .sy-card:nth-child(2) .sy-ic{background:var(--navy)}
.wk-wrap{margin:8px 0 14px}
.wk-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.wk-c{height:34px;border-radius:6px;background:#e8eef9;display:grid;place-items:center;font-weight:800;font-size:13px;color:var(--muted)}
.wk-c.a{background:#f5b800;color:var(--navy-dark)}
.wk-c.b{background:var(--navy);color:#fff}
.wk-c.a.b{background:linear-gradient(90deg,#f5b800 50%,var(--navy) 50%);color:#fff;text-shadow:0 0 3px rgba(0,0,0,.5)}
.wk-leg{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:13px}
.wk-leg span::before{content:"";display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.wk-leg .l1::before{background:#f5b800}.wk-leg .l2::before{background:var(--navy)}
.pl-list{list-style:none;margin:8px 0 14px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pl-list li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start;background:#f4f7fc;border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:13.5px}
.pl-list li span{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:12px;display:grid;place-items:center}
.pl-list.red li span{background:var(--red)}
.pl-list li div b{display:inline;font-size:inherit}
.act-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}
.out.warnb{border-left-color:#f5b800;background:#fff8e1}.out.warnb b{color:var(--navy)}
.out.ok{border-left-color:var(--navy)}
.out b{font-size:15px}
.fm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}
.fm{border-radius:10px;padding:14px 16px;background:#fdecee;border-top:4px solid var(--red);display:grid;gap:6px}
.fm.navy{background:#eef3fb;border-top-color:var(--navy)}
.fm-k{font-size:12px;font-weight:800;letter-spacing:.6px;color:var(--red)}.fm.navy .fm-k{color:var(--navy)}
.fm b{color:var(--navy);font-size:16px}
.fm-f{display:grid;gap:4px;text-align:center;font-size:13px;margin-top:4px}
.fm-f i{display:block;height:2px;background:var(--navy);border-radius:2px}
.ar-tbl{width:100%;border-collapse:collapse;font-size:14px}
.ar-tbl th{background:var(--navy);color:#fff;padding:9px 12px;text-align:left;font-size:13px}
.ar-tbl td{padding:8px 12px;border-top:1px solid var(--line)}
.ar-tbl.gr td:first-child,.ar-tbl.gr td:nth-child(n+2){font-variant-numeric:tabular-nums}
.ar-tbl.gr tr.s-c td{background:#e8f4ec}.ar-tbl.gr tr.s-k td{background:#eaf1fb}.ar-tbl.gr tr.s-l td{background:#fff8e1}.ar-tbl.gr tr.s-g td{background:#fdecee}
.ar-tbl.gr td:last-child{font-weight:700}
.ar-tbl.tp td:first-child{font-weight:800;color:var(--navy)}
.ar-tbl.tp td:nth-child(3),.ar-tbl.tp td:nth-child(4){text-align:center;font-weight:700}
.cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:6px 0 12px}
.cat{border-radius:10px;padding:14px;display:grid;gap:4px;align-content:start;background:#f4f7fc;border:1px solid var(--line);border-top:5px solid var(--navy)}
.cat-k{font-size:26px;font-weight:800;color:var(--navy);line-height:1}
.cat b{color:var(--navy);font-size:15px}.cat p{margin:0;font-size:13.5px}.cat p b{display:inline;font-size:inherit}
.cat.kb{border-top-color:#2e8b57}.cat.kb .cat-k{color:#2e8b57}
.cat.ks{border-top-color:#f5b800}.cat.ks .cat-k{color:#c99700}
.cat.gb{border-top-color:var(--red);background:#fff7f8}.cat.gb .cat-k{color:var(--red)}
.scale{margin:4px 0 16px}
.sc-bar{display:grid;grid-template-columns:40% 10% 50%;height:14px;border-radius:7px;overflow:hidden}
.sc-bar .g1{background:var(--red)}.sc-bar .g2{background:#f5b800}.sc-bar .g3{background:#2e8b57}
.sc-l,.sc-n{position:relative;height:18px;font-size:12.5px;color:var(--muted);margin-top:4px}
.sc-l span,.sc-n span{position:absolute;top:0;white-space:nowrap}
.sc-l span:nth-child(1),.sc-l span:nth-child(2),.sc-l span:nth-child(3){transform:none}
.sc-n{font-weight:800;color:var(--navy)}
.sc-n span{transform:translateX(-50%)}
.tl3.sm .tl-k{font-size:13px}
.jr.gd-three li p .stop{display:block;margin-top:8px}
@media(max-width:760px){.pl-list,.act-grid,.fm-grid{grid-template-columns:minmax(0,1fr)}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wk-c{height:30px}}

/* SEMAK-RAYUAN */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rs-box{background:#f4f7fc;border:1px solid var(--line);border-top:4px solid var(--navy);border-radius:10px;padding:16px;margin:8px 0 18px}
.rs-box>p{margin:0 0 10px}
.rs-form{display:flex;gap:10px;flex-wrap:wrap}
.rs-form input{flex:1 1 220px;min-width:0;font:inherit;font-size:16px;text-transform:uppercase;padding:11px 14px;border:2px solid #c9d3e6;border-radius:8px;background:#fff;color:var(--navy)}
.rs-form input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(19,48,107,.15)}
.rs-form .btn{cursor:pointer}.rs-form .btn:disabled{opacity:.6;cursor:wait}
#rs-out{margin-top:12px;display:grid;gap:10px}
.rs-res{border-radius:10px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-left:6px solid var(--navy);display:grid;gap:4px}
.rs-res p{margin:0;font-size:14px}.rs-res>b{color:var(--navy)}.rs-res small{color:var(--muted)}
.rs-res.ok{border-left-color:#1d4a99;background:#eef3fb}
.rs-res.bad{border-left-color:var(--red);background:#fdecee}
.rs-res.done{border-left-color:#2e8b57;background:#e8f4ec}
.rs-res.none,.rs-res.wait{border-left-color:#f5b800;background:#fff8e1}
.rs-top{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.rs-badge{font-weight:800;font-size:13px;padding:3px 10px;border-radius:99px;background:var(--navy);color:#fff}
.rs-res.bad .rs-badge{background:var(--red)}.rs-res.done .rs-badge{background:#2e8b57}
.rs-meta{font-size:13px;color:var(--muted)}
.rs-note{display:block;margin-top:10px;font-size:12.5px;color:var(--muted)}



/* PENGAWASAN */
.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 14px}
.chk-box.gold{border-top-color:#f5b800}.chk-box.gold li::before{background:#f5b800}
.chk-box.redb{border-top-color:var(--red)}
.three-col .chk-box:first-child{border-top-color:var(--navy)}.three-col .chk-box:first-child li::before{background:var(--navy)}
.three-col .chk-box.redb li::before{background:var(--red)}
.gm{list-style:none;margin:10px 0 16px;padding:0;display:grid;gap:10px}
.gm li{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:stretch}
.gm-t{background:var(--navy);color:#fff;font-weight:800;font-size:14px;border-radius:8px;display:grid;place-items:center;text-align:center;padding:8px 6px}
.gm li.mid .gm-t{background:#f5b800;color:var(--navy-dark)}.gm li.end .gm-t{background:var(--red)}
.gm-b{background:#f4f7fc;border:1px solid var(--line);border-radius:10px;padding:10px 14px;display:grid;gap:2px}
.gm-b b{color:var(--navy);font-size:15px;display:block}
.gm-b p{margin:0;font-size:13.5px}
.gm-w{justify-self:start;font-size:11.5px;font-weight:800;padding:2px 9px;border-radius:99px;background:#e8eef9;color:var(--navy)}
.x-list{list-style:none;margin:8px 0 4px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.x-list li{position:relative;background:#fff7f8;border:1px solid #f5c5cc;border-radius:8px;padding:9px 12px 9px 38px;font-size:13.5px}
.x-list li::before{content:"×";position:absolute;left:10px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;line-height:20px;text-align:center;font-size:14px}
.sy-grid.gd-s3{grid-template-columns:repeat(3,minmax(0,1fr))}
#tugas-ketua-pengawas .stat-tile-v,#tugas-pengawas .stat-tile-v{font-size:30px}
@media(max-width:860px){.three-col,.sy-grid.gd-s3{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.x-list{grid-template-columns:minmax(0,1fr)}.gm li{grid-template-columns:minmax(0,1fr);gap:6px}.gm-t{justify-self:start;padding:5px 14px}}
