
:root {
  --hijau: #0f6b45;
  --hijau-muda: #7dcea0;
  --kuning: #f4c430;
  --kuning-lembut: #fff4cc;
  --putih: #fffef8;
  --tinta: #1c3328;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  color: var(--tinta);
  background: linear-gradient(160deg, #e8f7ee 0%, var(--putih) 42%, #fff8dc 100%);
  min-height: 100vh;
}
a { color: var(--hijau); }
body.aplikasi { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
body.polos { display: block; }
header.puncak {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.8rem 6vw; background: #fff; border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--hijau), var(--kuning)) 1;
}
header.puncak .logo { height: 52px; }
header.puncak form { display: inline; }
body.polos main { padding: 1.2rem 6vw 3rem; }
.saklar-menu {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap;
}
@media (min-width: 961px) {
  .saklar-menu { display: none; }
}
.pembuka-menu, .layar-menu { display: none; margin: 0; }
.ikon-menu { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.bingkai {
  align-self: start; position: sticky; top: 0; width: 100%; min-width: 0;
  height: 100vh; height: 100dvh;
}
.samping {
  width: 100%; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0e5a39 0%, #083726 100%);
  color: #f7fff9; padding: 0.85rem 0.7rem 0.7rem;
  box-shadow: 8px 0 28px rgba(8, 40, 24, 0.16);
}
.samping .kepala-menu {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0.15rem 0.25rem 0.75rem; padding: 0 0.15rem 0.85rem;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.samping .logo {
  height: 46px; width: 46px; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 4px;
}
.samping .nama-aplikasi { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.samping .nama-aplikasi strong { font-size: 1.08rem; }
.samping .nama-aplikasi span { font-size: 0.75rem; color: #d5f3e3; }
.samping nav { flex: 1; min-height: 0; overflow: auto; padding-right: 0.1rem; }
.samping .kelompok {
  margin: 0.95rem 0.7rem 0.28rem; font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #b7e4cc; font-weight: 700;
}
.samping nav > .kelompok:first-child { margin-top: 0.15rem; }
.samping a.butir, .samping button.butir-menu {
  display: flex; align-items: center; gap: 0.65rem; width: 100%;
  margin: 0.1rem 0; padding: 0.52rem 0.7rem; border: 0; border-radius: 12px;
  background: transparent; color: #f7fff9; text-align: left;
  text-decoration: none; font: inherit; cursor: pointer;
}
.samping a.butir:hover { background: rgba(255, 255, 255, 0.1); }
.samping a.butir.aktif { background: var(--kuning); color: #3d3410; font-weight: 700; }
.samping button.butir-menu:hover { background: rgba(244, 196, 48, 0.2); color: #ffe9a0; }
.samping form { margin: 0; }
.kaki-menu { flex-shrink: 0; margin-top: 0.45rem; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.siapa { margin: 0 0.35rem 0.4rem; }
.siapa strong, .siapa span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.siapa strong { font-size: 0.92rem; }
.siapa span { margin-top: 0.1rem; font-size: 0.75rem; color: #c8ead8; }
.tombol {
  display: inline-block; margin-left: 0.4rem; text-decoration: none;
  background: linear-gradient(180deg, #1e8f5a, var(--hijau));
  color: white; border: 0; border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer;
}
.tombol.kedua { background: linear-gradient(180deg, #ffe27a, var(--kuning)); color: #3d3410; }
main { padding: 1.2rem 4vw 3rem; min-width: 0; }
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, #0d5c3d 0%, #3aaa72 48%, #ffe58a 100%);
  color: white; border-radius: 28px; padding: 1.4rem; overflow: hidden;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.2rem 0; }
.hero p { font-size: 1.05rem; }
.hero > * { min-width: 0; }
.hero img { width: 100%; max-width: 100%; border-radius: 20px; object-fit: cover; max-height: 420px; }
.kartu-grid, .ikon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; margin-top: 1rem; }
.kartu-grid.lebar { grid-template-columns: repeat(auto-fit, minmax(min(640px, 100%), 1fr)); }
.kartu, .panel {
  background: white; border-radius: 18px; padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 107, 69, 0.08);
}
.kartu img.ikon { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.kartu .tombol { margin: 0.85rem 0 0.15rem; }
.pita { display: inline-block; background: linear-gradient(90deg, var(--kuning-lembut), #fff); border-radius: 999px; padding: 0.2rem 0.7rem; }
.hero .pita { background: none; color: #fff; text-shadow: none; padding-left: 0; }
.pesan { padding: 0.7rem 1rem; border-radius: 12px; background: #fff4cc; }
.galat { background: #ffe1e1; }
h1, h2, h3 { overflow-wrap: break-word; }
label { display: block; margin: 0.7rem 0 0.2rem; font-weight: 600; }
form, .panel, fieldset { min-width: 0; max-width: 100%; }
fieldset { box-sizing: border-box; }
input, select, textarea {
  width: 100%; max-width: 100%; padding: 0.7rem; border-radius: 12px; border: 1px solid #cfe8d8; background: #fff;
}
input[type="checkbox"], input[type="radio"] { width: auto; max-width: none; padding: 0; }
.likert { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
.likert label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.05rem;
  margin: 0; font-weight: 500; cursor: pointer;
  background: linear-gradient(180deg, #fff, var(--kuning-lembut));
  border-radius: 12px; padding: 0.5rem 0.65rem;
}
.likert input { width: auto; margin: 0 0 0.15rem; }
.likert .kode { font-weight: 800; color: var(--hijau); }
.likert .arti { font-size: 0.78rem; line-height: 1.25; color: #3d5c4c; }
.likert label:has(input:checked) {
  background: linear-gradient(180deg, #e7f8ee, #fff4cc);
  box-shadow: inset 0 0 0 2px var(--hijau);
}
.likert label:has(input:focus-visible) { outline: 2px solid var(--kuning); outline-offset: 2px; }
.petunjuk {
  background: white; border-radius: 18px; padding: 1rem 1.1rem; margin: 0.8rem 0 1rem;
  box-shadow: 0 10px 30px rgba(15, 107, 69, 0.08);
}
.petunjuk h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.petunjuk p { margin: 0.35rem 0; }
.arti-skala {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem;
  list-style: none; padding: 0; margin: 0.85rem 0 0;
}
.arti-skala li {
  background: linear-gradient(180deg, #fff, var(--kuning-lembut));
  border-radius: 14px; padding: 0.7rem 0.75rem;
}
.arti-skala strong { display: block; color: var(--hijau); font-size: 1.15rem; }
.arti-skala span, .arti-skala small { display: block; }
.arti-skala span { margin-top: 0.15rem; font-weight: 600; }
.arti-skala small { margin-top: 0.2rem; color: #3d5c4c; }
.maju {
  position: sticky; top: 0.6rem; z-index: 1;
  background: #fff; border-radius: 16px; padding: 0.75rem 0.9rem; margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(15, 107, 69, 0.12);
}
.maju-kepala { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; margin-bottom: 0.45rem; }
.maju-kepala span { color: #3d5c4c; font-weight: 600; }
.maju .batang { height: 16px; background: #c5ddd0; box-shadow: inset 0 1px 2px rgba(15, 107, 69, 0.12); }
.maju .batang span { height: 16px; width: 0; transition: width 0.25s ease; }
.maju.lengkap { box-shadow: 0 10px 24px rgba(15, 107, 69, 0.18); }
.maju.lengkap .maju-kepala span { color: var(--hijau); }
.rayakan {
  position: relative; overflow: hidden; min-height: 72vh; border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #0b4e34 0%, #14915a 46%, #f4c430 145%);
  color: white; box-shadow: 0 16px 40px rgba(15, 107, 69, 0.22);
}
#konfeti { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.kembang { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.kembang span {
  position: absolute; width: 14px; height: 14px; border-radius: 3px;
  background: var(--kuning); opacity: 0.9;
  animation: layang 7s ease-in-out infinite;
}
.kembang span:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; }
.kembang span:nth-child(2) { left: 18%; top: 72%; width: 10px; height: 18px; background: #fff; animation-delay: 0.8s; }
.kembang span:nth-child(3) { right: 12%; top: 16%; background: #fff4cc; animation-delay: 0.3s; }
.kembang span:nth-child(4) { right: 22%; top: 68%; width: 18px; height: 8px; animation-delay: 1.1s; }
.kembang span:nth-child(5) { left: 46%; top: 10%; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation-delay: 0.5s; }
.kembang span:nth-child(6) { right: 40%; bottom: 12%; width: 12px; height: 12px; border-radius: 50%; animation-delay: 1.4s; }
.rayakan-isi {
  position: relative; z-index: 2; text-align: center;
  width: min(40rem, calc(100% - 2rem)); margin: 1.4rem auto;
  padding: 2.4rem 1.4rem 2.2rem; border-radius: 28px;
  background: rgba(7, 46, 31, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  animation: muncul 0.7s ease both;
}
.rayakan h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin: 0.35rem 0 0.2rem; }
.rayakan .sub { margin: 0 0 0.8rem; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff4cc; }
.rayakan p { margin: 0.4rem auto; max-width: 38rem; font-size: 1.05rem; }
.lencana {
  display: inline-grid; place-items: center; width: 4.6rem; height: 4.6rem; margin: 0;
  border-radius: 50%; background: var(--kuning); color: #3d3410;
  font-size: 2.2rem; font-weight: 800; animation: denyut 1.35s ease-in-out infinite;
}
.rayakan .tombol { margin-top: 1.3rem; }
@keyframes muncul {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes denyut {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes layang {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(12deg); }
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.45rem; border-bottom: 1px solid #e5f4ea; vertical-align: top; }
.gulir { overflow-x: auto; container-type: inline-size; }
.gulir.gulir-form { container-type: normal; }
.angka-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.angka { background: white; border-radius: 16px; padding: 0.9rem 1rem; box-shadow: 0 10px 30px rgba(15, 107, 69, 0.08); }
.angka strong { display: block; font-size: 1.35rem; color: var(--hijau); }
.angka span { color: #3d5c4c; font-size: 0.92rem; }
.skala { margin: 0.4rem 0 1rem; padding-left: 0; list-style: none; }
.skala li { margin: 0.35rem 0; }
.pernyataan { min-width: 16rem; }
.pernyataan .redaksi { margin: 0; }
.opsi-instrumen {
  margin: 0.4rem 0 0; padding: 0.35rem 0.55rem; border-radius: 8px;
  background: #f3faf6; color: #1c3328; font-size: 0.84rem; line-height: 1.45;
}
.opsi-instrumen strong { color: var(--hijau); }
.opsi-instrumen.terbalik { background: #fff8e8; }
.opsi-instrumen.terbalik strong { color: #6b5420; }
.batang { background: #eef8f1; border-radius: 999px; height: 14px; }
.batang span { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--hijau), var(--kuning)); }
.prolog { background: linear-gradient(90deg, #e8f7ee, #fff8dc); padding: 0.8rem 1rem; border-radius: 12px; }
.grafik { overflow-x: auto; margin: 0.6rem 0 1rem; }
.grafik-svg { width: 100%; height: auto; max-width: 720px; display: block; }
.grafik.radar .grafik-svg { max-width: 520px; }
.dua-kolom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; align-items: start; }
.dua-kolom > * { min-width: 0; }
.dua-kolom .lembar { table-layout: fixed; }
.dua-kolom .chip { max-width: 100%; }
.dua-kolom thead .kanan { white-space: normal; }
.saringan { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: end; }
.saringan > div { flex: 1 1 220px; min-width: 0; max-width: 360px; }
.saringan .tombol { margin: 0 0 0.1rem; }
.kepala-analisis {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin: 0.2rem 0 1rem;
}
.kepala-analisis > div:first-child { flex: 1 1 auto; min-width: 0; }
.kepala-analisis h1 { margin-top: 0; }
.kepala-analisis .panel { flex: 0 0 22rem; margin: 0; }
.kepala-analisis .panel h2 { margin-top: 0; }
.aksi-ekspor { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.55rem 0; }
.aksi-ekspor .tombol { margin: 0; }
.saringan-analisis { margin: 0; }
.saringan-analisis > div.lebar-pilihan { flex: 2 1 280px; max-width: 520px; }
.titik { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-right: 0.35rem; }
.papan {
  background: linear-gradient(160deg, #ffffff 0%, #e8f7ee 46%, #fff8dc 100%);
  border-radius: 28px; padding: 1.3rem 1.4rem 1.6rem; margin-top: 1rem;
  box-shadow: 0 12px 32px rgba(15, 107, 69, 0.1);
  min-width: 0; overflow: hidden;
}
.zona { margin-top: 1.15rem; }
.zona h3, .zona h4 { margin: 0.85rem 0 0.5rem; }
.zona > h3:first-child, .kepala-papan h2 { margin-top: 0; }
.kepala-papan h2 { margin-bottom: 0.25rem; }
.nama-instrumen { margin: 0 0 0.45rem; font-size: 1.15rem; font-weight: 700; }
.kepala-papan .prolog { margin-top: 0.7rem; }
.parameter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
.parameter-grid .angka { margin: 0; }
.parameter-grid .angka strong { font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.nilai-baris { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: 0.8rem; align-items: stretch; }
.nilai-baris .parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.angka-utama {
  margin: 0; background: #fff; border-radius: 16px; padding: 0.9rem 1rem;
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.angka-utama strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--hijau); overflow-wrap: anywhere; }
.angka-utama span { font-size: 1rem; color: #3d5c4c; }
.label-batang { margin: 0.85rem 0 0.35rem; font-weight: 600; color: #3d5c4c; }
.tafsir { margin: 0.3rem 0 0.8rem; }
.layar-masuk {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 1.25rem; align-items: start; max-width: 1040px; margin: 0.4rem auto 0;
}
.pengantar-masuk {
  background: linear-gradient(165deg, #0d5c3d 0%, #178a52 72%, #2f9d62 100%);
  color: white; border-radius: 28px; padding: 1.7rem 1.5rem 1.9rem;
  border-bottom: 6px solid var(--kuning);
}
.pengantar-masuk h1 { margin: 0.7rem 0 0.45rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.pengantar-masuk p { margin: 0; font-size: 1.05rem; }
.pengantar-masuk ul { margin: 1.1rem 0 0; padding-left: 1.15rem; }
.pengantar-masuk li { margin: 0.55rem 0; }
.penanda {
  display: inline-block; margin: 0; background: var(--kuning); color: #3d3410;
  border-radius: 999px; padding: 0.25rem 0.75rem; font-weight: 700;
}
.kolom-masuk { display: grid; gap: 1rem; align-content: start; }
.kolom-masuk h2 { margin: 0; }
.bantu { margin: 0.35rem 0 0; color: #3d5c4c; }
.kolom-masuk .tombol { margin: 1rem 0 0; }
.tautan-daftar { margin: 0.15rem 0 0; text-align: center; font-weight: 700; }
.panel-daftar { display: none; }
.panel-daftar:target, .panel-daftar.terbuka { display: block; }
.aksi { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.aksi form { margin: 0; }
.aksi .tombol { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .rayakan-isi, .lencana, .kembang span, .maju .batang span { animation: none; transition: none; }
  #konfeti { display: none; }
}
@media (max-width: 960px) {
  .likert, .arti-skala { grid-template-columns: 1fr 1fr; }
  .maju-kepala { flex-direction: column; gap: 0.15rem; }
  .hero, .layar-masuk, .nilai-baris { grid-template-columns: 1fr; }
  .kepala-analisis { flex-direction: column; }
  .kepala-analisis .panel { flex-basis: auto; width: 100%; }
  .parameter-grid, .nilai-baris .parameter-grid { grid-template-columns: 1fr 1fr; }
  body.aplikasi { display: block; }
  body.polos .puncak { flex-wrap: wrap; padding: 0.8rem 1rem; }
  .bingkai {
    position: sticky; top: 0; z-index: 36; height: auto;
    padding: 0.65rem 1rem; background: #e8f7ee;
  }
  .pembuka-menu {
    display: inline-flex; align-items: center; gap: 0.45rem; margin: 0;
    background: linear-gradient(180deg, #1e8f5a, var(--hijau));
    color: white; border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer;
  }
  body:has(.saklar-menu:checked) { overflow: hidden; }
  .maju { top: 4.5rem; }
  .samping {
    display: none; position: fixed; z-index: 3; top: 0; left: 0;
    width: min(292px, 86vw); height: 100vh; height: 100dvh;
  }
  .saklar-menu:checked ~ .layar-menu {
    display: block; position: fixed; inset: 0; margin: 0; z-index: 40; background: rgba(8, 40, 24, 0.45);
  }
  .saklar-menu:checked ~ .samping { display: flex; z-index: 41; }
  main { padding: 1rem; }
}
.jejak {
  position: sticky; top: 0; z-index: 4;
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin: 0.4rem 0 1rem; padding: 0.55rem 0;
  background: #f3faf6;
}
@media (max-width: 960px) {
  .jejak { top: 3.55rem; margin-top: 0; background: #e8f7ee; }
}
.jejak a {
  text-decoration: none; background: #fff; color: var(--hijau); border-radius: 999px;
  padding: 0.38rem 0.8rem; font-size: 0.88rem; font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 107, 69, 0.08);
}
.jejak a:hover { background: var(--kuning-lembut); }
.rangkaian { counter-reset: bagian; display: grid; gap: 1rem; }
.rangkaian > .panel { scroll-margin-top: 3.4rem; }
@media (max-width: 960px) {
  .rangkaian > .panel { scroll-margin-top: 9.5rem; }
}
.kepala-urut { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; }
.kepala-urut h2 { margin: 0; }
.nomor-bagian {
  counter-increment: bagian; flex: 0 0 auto; width: 2rem; height: 2rem;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--hijau); color: #fff; font-weight: 800;
}
.nomor-bagian::before { content: counter(bagian); }
.pengantar { margin: 0.35rem 0 0; color: #3d5c4c; }
.temuan { margin: 0 0 0.85rem; font-size: 1.05rem; font-weight: 700; }
.lembar {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid #d7eee1; border-radius: 14px; font-size: 0.95rem;
}
.lembar thead th:first-child { border-top-left-radius: 13px; }
.lembar thead th:last-child { border-top-right-radius: 13px; }
.lembar caption {
  caption-side: bottom; text-align: left; padding: 0.6rem 0.15rem 0.05rem;
  color: #3d5c4c; font-size: 0.86rem;
}
.lembar thead th {
  background: #0f6b45; color: #fffef8; font-weight: 700;
  padding: 0.65rem 0.75rem; border-bottom: 0;
}
.lembar tbody th, .lembar tbody td, .lembar tfoot th, .lembar tfoot td {
  padding: 0.62rem 0.75rem; border-bottom: 1px solid #e5f4ea; vertical-align: top;
}
.lembar tbody tr:hover td, .lembar tbody tr:hover th { background: #fff8dc; }
.lembar tfoot th, .lembar tfoot td { background: #f4fbf7; font-weight: 700; border-bottom: 0; }
.lembar .kanan { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lembar .pusat { text-align: center; white-space: nowrap; width: 2.6rem; }
.lembar .butir { width: 32%; }
.lembar-butir { table-layout: fixed; min-width: 40rem; }
.lembar-butir thead th { white-space: normal; line-height: 1.2; }
.lembar-butir .col-no { width: 7%; }
.lembar-butir .col-butir { width: 32%; }
.lembar-butir .col-mean { width: 13%; }
.lembar-butir .col-kategori { width: 20%; }
.lembar-butir .col-korelasi { width: 14%; }
.lembar-butir .col-kuadran { width: 14%; }
.lembar-butir .butir { width: auto; }
.lembar-butir th, .lembar-butir td { padding-left: 0.45rem; padding-right: 0.45rem; }
.lembar-butir .redaksi { margin-bottom: 0.35rem; }
.lembar-butir .chip { max-width: 100%; }
.lembar tr.grup th {
  background: #e8f7ee; color: #0f6b45; text-align: left; border-bottom: 1px solid #cfe8d8;
}
.lembar tr.grup:hover th, .lembar tr.subgrup:hover th { background: #e8f7ee; }
.lembar tr.subgrup th {
  background: #f7fbf8; color: #1c3328; font-weight: 600; font-size: 0.9rem;
  border-bottom: 1px solid #e5f4ea;
}
.judul-grup {
  position: sticky; left: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.65rem;
  align-items: baseline; box-sizing: border-box; white-space: normal;
  width: calc(100cqi - 1.1rem); max-width: 100%;
}
.nama-grup { display: inline; font-weight: 800; }
.meta-grup { display: inline; margin-left: 0; color: #1c3328; font-weight: 600; }
.chip {
  display: inline-block; max-width: 12.5rem; border-radius: 0.55rem; padding: 0.16rem 0.55rem;
  font-size: 0.8rem; font-weight: 700; line-height: 1.35; background: #e5f6ec; color: #0f6b45;
  white-space: normal;
}
.chip-kosong, .chip-nf { background: #f3f5f4; color: #3d5c4c; }
.chip-arah { background: #e8f7ee; color: #0f6b45; }
.chip-kurang-baik-tidak-memuaskan, .chip-belum-tercapai,
.chip-cukup, .chip-tercapai-sebagian, .chip-prioritas-rendah, .chip-mungkin-berlebih {
  background: #fff4cc; color: #6b5420;
}
.chip-baik-memuaskan, .chip-tercapai, .chip-pertahankan { background: #e5f6ec; color: #0f6b45; }
.chip-sangat-baik-sangat-memuaskan, .chip-sangat-tercapai, .chip-prioritas {
  background: #0f6b45; color: #fff;
}
.baris-mini { width: 100%; min-width: 0; max-width: 100%; }
.grafik-susulan { margin-top: 1rem; }
.grafik-susulan h3, .rangkaian h3 { margin: 1rem 0 0.45rem; font-size: 1.02rem; }
.catatan-sel { color: #3d5c4c; min-width: 0; }
@media (max-width: 960px) {
  .gulir { overflow-x: visible; }
  .lembar, .lembar-butir { min-width: 0; table-layout: auto; }
  .judul-grup { position: static; width: auto; max-width: 100%; }
  .gulir table { display: block; min-width: 0; border: 0; background: transparent; }
  .gulir tbody, .gulir tfoot, .gulir tr { display: block; }
  .gulir tr.baris-kepala { display: none; }
  .gulir tr {
    background: #fff; border: 1px solid #d7eee1; border-radius: 14px;
    padding: 0.7rem 0.85rem; margin: 0 0 0.7rem;
  }
  .gulir tr.grup, .gulir tr.subgrup {
    background: transparent; border: 0; border-radius: 0;
    padding: 0.15rem 0 0; margin: 0.85rem 0 0.15rem;
  }
  .gulir caption { display: block; padding: 0.15rem 0.1rem 0.75rem; }
  .gulir td, .gulir tbody th, .gulir tfoot th, .gulir tfoot td,
  .gulir td.pusat, .gulir td.kanan, .gulir td.butir, .gulir th.pusat {
    display: block; width: auto; max-width: 100%; border: 0; padding: 0.45rem 0;
    text-align: left; white-space: normal;
  }
  .gulir td[data-label]::before, .gulir th[data-label]::before {
    content: attr(data-label);
    display: block; margin-bottom: 0.12rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: #3d5c4c;
  }
  .gulir tr.grup th, .gulir tr.subgrup th { padding: 0.35rem 0; }
  .gulir .chip { max-width: 100%; }
  .grafik-svg { max-width: 100%; }
}
.tte { margin: 1rem 0; padding: 0.2rem 0 0.4rem; border: 0; }
.tte legend { font-weight: 700; }
.tte-kanvas {
  display: block; width: 100%; max-width: 640px; height: auto; touch-action: none;
  background: #fff; border: 1px dashed #0f6b45; border-radius: 12px; cursor: crosshair;
}
.tte-pratinjau {
  display: block; width: 100%; max-width: 640px; height: auto; margin-top: 0.6rem;
  background: #fff; border: 1px solid #cfe8d8; border-radius: 12px;
}
.tte-aksi { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.identitas-validator p { margin: 0.35rem 0; }
.bantu { color: #3d5c4c; margin: 0.35rem 0 0.8rem; }
.tanda-panel, .bukti-tanda { max-width: 40rem; }
.bukti-tanda { margin: 0 auto; }
.lencana { display: inline-block; border-radius: 999px; padding: 0.35rem 0.85rem; font-weight: 800; }
.lencana.sah { background: #e5f6ec; color: #0f6b45; }
.lencana.batal { background: #ffe1e1; color: #8a1f1f; }
.identitas-tanda { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.35rem 0.8rem; margin: 1rem 0 0; }
.identitas-tanda dt, .identitas-tanda dd { margin: 0; }
.identitas-tanda dt { font-weight: 700; }
.qr-tanda { display: block; width: 220px; height: 220px; background: #fff; border-radius: 12px; }
@media (max-width: 640px) {
  .identitas-tanda { grid-template-columns: 1fr; }
  .identitas-tanda dd { margin-bottom: 0.45rem; }
}
