/* =========================================================================
   TOGOGBALI.ID - VISUAL DESIGN SYSTEM
   Diselaraskan dengan togog-dataset.vercel.app:
   Inter + Google Material grays + aksen merah bata Bali (#a62c21)
   Clean White (#FFFFFF), Google Gray (#f1f3f4), Ink (#202124), Bata (#a62c21)
   ========================================================================= */

:root {
  /* Aksen merah bata (ciri khas, dari referensi #a62c21) */
  --nh-red: #a62c21;
  --nh-red-dark: #8a231a;
  --nh-red-soft: #f9ebe9;
  --nh-red-border: #e7c6c2;
  /* Netral Google Material */
  --nh-dark: #202124;
  --nh-heading: #202124;
  --nh-text: #3c4043;
  --nh-muted: #5f6368;
  --nh-bg: #FFFFFF;
  --nh-bg-gray: #f1f3f4;
  --nh-bg-subtle: #f8f9fa;
  --nh-border: #dadce0;
  /* Status */
  --nh-green: #047857;
  --nh-green-soft: #d0fae5;
  --nh-teal: #1E6B7B;
  --noise: #dadce0;

  /* Tipografi - Inter untuk semua (menyamai referensi; tanpa serif) */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --shadow-card: 0 1px 3px rgba(60, 64, 67, 0.08), 0 4px 16px rgba(60, 64, 67, 0.06);
  --shadow-hover: 0 2px 6px rgba(60, 64, 67, 0.12), 0 8px 24px rgba(60, 64, 67, 0.10);
  --radius-card: 12px;

  /* --- KOMPONEN STANDAR "PERUSAHAAN" (disinkronkan dgn togog-dataset.vercel.app + nusaheritage.id) --- */
  /* Kartu: putih, radius 12px, border tipis, shadow sangat halus, hover = angkat + shadow lebih kuat */
  --card-border: #e8eaed;
  --card-radius: 12px;
  --card-radius-lg: 16px;
  --card-pad: 24px;
  --card-shadow: 0 1px 3px rgba(33, 37, 41, 0.04), 0 4px 16px rgba(33, 37, 41, 0.06);
  --card-shadow-hover: 0 8px 28px rgba(33, 37, 41, 0.12), 0 2px 6px rgba(166, 44, 33, 0.08);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  /* Callout aksen (dari pola bg-accent/5 + border-accent/20 di situs vercel) */
  --accent-tint-bg: rgba(166, 44, 33, 0.05);
  --accent-tint-border: rgba(166, 44, 33, 0.2);
  /* Tombol */
  --btn-radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--nh-bg);
  color: var(--nh-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--nh-red);
  text-decoration: none;
  transition: color 0.18s ease;
}

button, input, select {
  font-family: inherit;
}

.nh-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   1. NUSAHERITAGE CLEAN WHITE NAVBAR
   ========================================================================= */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.site-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-stamp {
  width: 38px;
  height: 38px;
  background: #202124;
  color: #FFFFFF;
  border-radius: 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  border: 2px solid #202124;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}

.brand-stamp small {
  font-size: 7.5px;
  color: #e0877f;
  letter-spacing: 0.12em;
}

.brand-stamp-lg {
  width: 48px;
  height: 48px;
  font-size: 10.5px;
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #202124;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: var(--nh-red);
  font-weight: 800;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--nh-heading);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  padding: 6px 2px;
  position: relative;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--nh-red);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--nh-red);
  border-radius: 2px;
}

.nav-link.nav-cta {
  background: var(--nh-red);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(166, 44, 33, 0.28);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background: var(--nh-red-dark);
  color: #FFFFFF;
  font-weight: 700;
}

.nav-link.nav-cta.active::after {
  display: none;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nh-red);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  transition: background 0.18s ease, transform 0.15s ease;
}

.nav-action-btn:hover {
  background: var(--nh-red-dark);
  transform: translateY(-1px);
}

/* =========================================================================
   2. MULTI-VIEW STAGE & NUSAHERITAGE SECTION HEADERS
   ========================================================================= */
/* Reserve tinggi viewport sebelum konten (async) termuat → cegah footer melompat (CLS) */
.view-stage {
  min-height: 100vh;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
  /* fill-mode 'backwards' (bukan 'both'): transform tidak disisakan setelah animasi,
     supaya position:sticky pada sidebar docs tetap bekerja (transform di ancestor
     akan mematahkan sticky). */
  animation: nhPageFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes nhPageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nh-section {
  padding: 64px 0;
  background: #FFFFFF;
}

.nh-section-gray {
  background: var(--nh-bg-gray);
}

.nh-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.nh-title-line-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Garis merah kiri-kanan dihilangkan (dekorasi simetris = template chrome) */
.nh-red-line { display: none; }

.nh-section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nh-heading);
  margin: 0;
  line-height: 1.18;
}

.nh-section-subtitle {
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nh-muted);
  max-width: 640px;
}

/* =========================================================================
   3. NUSAHERITAGE INNER PAGE BANNER + BREADCRUMB BAR
   ========================================================================= */
.nh-page-banner-wrap {
  background: #FFFFFF;
}

.nh-page-top-title {
  text-align: center;
  padding: 46px 24px 36px;
  max-width: 920px;
  margin: 0 auto;
}

.nh-page-main-heading {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0;
}

.nh-page-main-sub {
  margin: 10px auto 0;
  font-size: 14.5px;
  color: var(--nh-muted);
  max-width: 720px;
}

.nh-breadcrumb-bar {
  background: var(--nh-bg-gray);
  padding: 14px 0;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
}

.nh-breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nh-breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.nh-bc-root {
  color: var(--nh-red);
  font-weight: 700;
}

.nh-bc-sep {
  color: #9CA3AF;
}

.nh-bc-current {
  color: var(--nh-heading);
  font-weight: 600;
}

/* =========================================================================
   4. BERANDA: CINEMATIC HERO + SEARCH + OVERLAPPING ABOUT + COUNTER BANNER
   ========================================================================= */
.nh-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-image: url("../img/pura_mist_banner.jpg");
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 80px 0;
}

.nh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 21, 26, 0.84) 0%,
    rgba(24, 28, 34, 0.72) 55%,
    rgba(24, 28, 34, 0.58) 100%
  );
}

.nh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto 0 max(24px, calc((100vw - 1240px) / 2));
}

.nh-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.nh-hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  max-width: 720px;
}

.nh-hero-search-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  padding: 7px 7px 7px 18px;
  border-radius: 8px;
  max-width: 560px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 22px;
}

.nh-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--nh-dark);
  background: transparent;
}

.nh-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--nh-red);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.nh-btn-red:hover {
  background: var(--nh-red-dark);
  transform: translateY(-1px);
}

.nh-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--nh-heading);
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.nh-btn-outline:hover {
  border-color: var(--nh-red);
  color: var(--nh-red);
}

.nh-hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nh-hero-pill-btn {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nh-hero-pill-btn.primary {
  background: var(--nh-red);
  border-color: var(--nh-red);
}

.nh-hero-pill-btn.lab {
  background: #FFFFFF;
  color: var(--nh-red);
  border-color: #FFFFFF;
  font-weight: 700;
}

.nh-hero-pill-btn.lab:hover {
  background: rgba(255, 255, 255, 0.88);
}

.nh-hero-pill-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* ABOUT SECTION WITH OVERLAPPING FRAMES */
.nh-about-section {
  background: var(--nh-bg-gray);
  padding: 72px 0;
}

.nh-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.nh-soft-red-tag {
  display: inline-block;
  background: transparent;
  color: var(--nh-red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  margin-bottom: 10px;
}

.nh-about-heading {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0 0 14px;
  line-height: 1.25;
}

.nh-about-para {
  color: var(--nh-text);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.nh-about-para b { color: var(--nh-heading); font-weight: 600; }

.nh-about-interactive-box {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
  box-shadow: var(--shadow-card);
}

.nh-about-interactive-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.nh-inline-link {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--nh-red);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.nh-angle-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nh-angle-btn {
  flex: 1;
  min-width: 100px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--nh-border);
  background: var(--nh-bg-subtle);
  color: var(--nh-heading);
  cursor: pointer;
  transition: all 0.16s ease;
}

.nh-angle-btn.active,
.nh-angle-btn:hover {
  background: var(--nh-red);
  color: #FFFFFF;
  border-color: var(--nh-red);
}

/* OVERLAPPING PHOTO COLLAGE */
.nh-overlap-collage {
  position: relative;
  min-height: 390px;
}

.nh-collage-back-frame {
  width: 78%;
  margin-left: auto;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.nh-collage-back-frame img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 6px;
}

.nh-collage-caption {
  display: block;
  font-size: 11.5px;
  color: var(--nh-muted);
  text-align: right;
  margin-top: 6px;
}

.nh-collage-front-frame {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  background: #FFFFFF;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-collage-front-frame:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.nh-overlap-statue-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #FAFAFA;
  border-radius: 6px;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.nh-overlap-statue-img.animating {
  opacity: 0.2;
  transform: scale(0.95);
}

.nh-collage-front-badge {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nh-red);
}

/* DARK PARALLAX COUNTER BANNER */
.nh-counter-banner {
  position: relative;
  background-image: url("../img/bottom_poleng_banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 64px 0;
  color: #FFFFFF;
}

.nh-counter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 24, 0.86);
}

.nh-counter-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}

.nh-counter-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.nh-counter-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================================
   5. NUSAHERITAGE CATEGORY & OBJECT CARDS
   ========================================================================= */
.nh-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.nh-cards-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.nh-category-card,
.nh-object-card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std), border-color 0.3s var(--ease-std);
  will-change: transform, box-shadow;
}

.nh-category-card:hover,
.nh-object-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(166, 44, 33, 0.45);
}

.nh-category-card .nh-category-visual img,
.nh-object-card .nh-object-img-wrap img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.nh-category-card:hover .nh-category-visual img,
.nh-object-card:hover .nh-object-img-wrap img {
  transform: scale(1.05);
}

.nh-category-visual {
  height: 215px;
  background: #F8F9FA;
  border-bottom: 1px solid #F0F0F0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-split-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.nh-split-half {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.nh-split-half.good {
  background: #FFFFFF;
  border-right: 1px dashed #E5E7EB;
}

.nh-split-half.bad {
  background: #FEF2F2;
}

.nh-split-half.pura-bg-demo {
  background-image: url("../img/pura_mist_banner.jpg");
  background-size: cover;
  background-position: center;
}

.nh-split-half img {
  max-height: 155px;
  width: auto;
  object-fit: contain;
}

.nh-thumb-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
}

.nh-thumb-tag.ok {
  background: rgba(4, 120, 87, 0.95);
  color: #FFFFFF;
}

.nh-thumb-tag.err {
  background: rgba(166, 44, 33, 0.92);
  color: #FFFFFF;
}

.nh-category-body,
.nh-object-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nh-red-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--nh-red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* Kicker babak di kartu beranda - bersih (tanpa pill / titik-tengah),
   nomor babak tegas + nama babak tenang. */
.nh-babak-kicker {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--nh-muted);
}
.nh-babak-kicker b {
  color: var(--nh-red);
  font-weight: 700;
  margin-right: 8px;
}

.nh-card-title,
.nh-object-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0 0 8px;
  line-height: 1.3;
}

.nh-object-loc {
  font-size: 12px;
  font-weight: 600;
  color: var(--nh-muted);
  margin: 0 0 8px;
}

.nh-card-desc,
.nh-object-desc {
  font-size: 13.5px;
  color: var(--nh-text);
  margin: 0 0 16px;
  flex: 1;
}

/* CTA kartu dibuat seperti tombol agar jelas bisa dipencet:
   latar stone lembut + border + radius ~30% tinggi, tinggi minimal 44px (WCAG),
   mengisi merah saat kartu di-hover. Tanda panah dihilangkan total. */
/* CTA kartu: gaya editorial (kotak tipis ber-outline, huruf kapital ber-spasi,
   sudut tajam) agar jelas sebuah tombol tanpa kesan "pill" generik. Mengisi
   merah saat kartu di-hover. Tanda panah dihilangkan total. */
.nh-card-arrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nh-heading);
  background: transparent;
  border: 1px solid var(--nh-border);
  border-radius: var(--btn-radius);
  transition: background 0.2s var(--ease-std), color 0.2s var(--ease-std), border-color 0.2s var(--ease-std);
}

.nh-arrow-circle {
  display: none;
}

.nh-category-card:hover .nh-card-arrow-row,
.nh-object-card:hover .nh-card-arrow-row {
  background: var(--nh-red);
  border-color: var(--nh-red);
  color: #FFFFFF;
}

/* Judul tokoh di-center; badge diubah jadi label editorial (bukan tombol) */
.nh-object-body > .nh-red-pill {
  align-self: center;
  background: transparent;
  color: var(--nh-red);
  padding: 0;
  margin-bottom: 9px;
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nh-object-title {
  text-align: center;
}
.nh-object-loc {
  text-align: center;
}
.nh-object-desc {
  text-align: center;
}

.nh-object-img-wrap {
  height: 240px;
  background: radial-gradient(circle at 50% 40%, #f1f3f4 0%, #e3e6e8 100%);
  border-bottom: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nh-object-img-wrap img {
  max-height: 208px;
  width: auto;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.nh-object-card:hover .nh-object-img-wrap img {
  transform: scale(1.04);
}

/* LAB PROMO CARD ON BERANDA */
.nh-lab-promo-card {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.nh-lab-promo-left h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 6px 0 12px;
  color: var(--nh-heading);
}

.nh-lab-promo-left p {
  color: var(--nh-text);
  margin: 0 0 20px;
}

.nh-lab-promo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nh-lab-promo-steps {
  display: grid;
  gap: 12px;
}

.nh-step-mini-card {
  background: var(--nh-bg-subtle);
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  align-items: center;
}

.nh-step-num {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--nh-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-step-mini-card strong {
  font-size: 14px;
  color: var(--nh-heading);
}

.nh-step-mini-card span:last-child {
  font-size: 12.5px;
  color: var(--nh-muted);
}

/* =========================================================================
   6. FASE 1, 2, 3 & LAB UJI CITRA VISUAL COMPONENTS
   ========================================================================= */
.nh-white-card {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

/* ===== FASE 1 - PERBANDINGAN VISUAL (gaya editorial, selaras katalog) ===== */
.nh-visual-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.nh-vs-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 26px 26px 24px;
  box-shadow: var(--card-shadow);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Aksen atas tipis + wash warna lembut (ganti border tebal) */
.nh-vs-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}
.nh-vs-card.good::before { background: var(--nh-green); }
.nh-vs-card.bad::before { background: var(--nh-red); }
.nh-vs-card.good {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.04), rgba(46, 125, 50, 0) 140px);
}
.nh-vs-card.bad {
  background: linear-gradient(180deg, rgba(166, 44, 33, 0.04), rgba(166, 44, 33, 0) 140px);
}

.nh-vs-card-head h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 13px 0 14px;
  line-height: 1.25;
}

.nh-vs-card-head p {
  font-size: 13.5px;
  color: var(--nh-text);
  margin: 0 0 16px;
}

.nh-status-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nh-status-badge.ok {
  background: var(--nh-green-soft);
  color: var(--nh-green);
  border: 1px solid #BBE7C6;
}

.nh-status-badge.err {
  background: var(--nh-red-soft);
  color: var(--nh-red);
  border: 1px solid var(--nh-red-border);
}

.nh-vs-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nh-vs-photo-item {
  margin: 0;
  background: radial-gradient(circle at 50% 42%, #f1f3f4 0%, #dadce0 100%);
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 10px 10px 9px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nh-vs-photo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px -10px rgba(0, 0, 0, 0.28);
}

.nh-vs-photo-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
}

.nh-vs-photo-item figcaption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nh-muted);
  margin-top: 9px;
}

/* ===== IMPACT PROGRESS BARS (FASE 1) ===== */
.nh-impact-banner {
  margin-top: 26px;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.nh-impact-head h3 {
  font-family: var(--font-heading);
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 700;
  color: var(--nh-heading);
}

.nh-impact-head p {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--nh-muted);
}

.nh-impact-bars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.nh-impact-metric-box {
  background: var(--nh-bg-subtle);
  border: 1px solid var(--nh-border);
  border-radius: 12px;
  padding: 18px 18px 20px;
}

.nh-impact-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.nh-impact-metric-top strong {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nh-heading);
}

.nh-delta-pill {
  background: var(--nh-green-soft);
  color: var(--nh-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #C8EBD4;
  white-space: nowrap;
}

.nh-bar-compare-row {
  display: grid;
  grid-template-columns: 96px 1fr 60px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
}

.nh-bar-tag {
  color: var(--nh-muted);
  font-size: 11.5px;
}

.nh-bar-tag.strong,
.nh-bar-val.strong {
  font-weight: 700;
  color: var(--nh-dark);
}

.nh-bar-val {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--nh-muted);
}

.nh-bar-val.strong {
  color: var(--nh-red);
  font-size: 14px;
}

.nh-bar-track {
  width: 100%;
  height: 13px;
  background: #ECE8E1;
  border-radius: 999px;
  overflow: hidden;
}

.nh-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-bar-fill.muted {
  background: #B9B2A4;
}

.nh-bar-fill.red {
  background: linear-gradient(90deg, var(--nh-red), var(--nh-red-dark));
}

/* SEGMENTED TABS & CLUSTER PILLS */
.nh-inspector-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--nh-border);
}

.nh-toolbar-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--nh-heading);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nh-segmented-tabs {
  display: inline-flex;
  background: #F1F3F5;
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
  flex-wrap: wrap;
}

.nh-seg-tab {
  border: none;
  background: transparent;
  color: var(--nh-text);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nh-seg-tab.active {
  background: var(--nh-red);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(166, 44, 33, 0.25);
}

.nh-seg-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nh-cluster-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nh-cluster-pill-btn {
  border: 1px solid var(--nh-border);
  background: #FFFFFF;
  color: var(--nh-heading);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nh-cluster-pill-btn.warning {
  border-color: var(--nh-red);
  color: var(--nh-red);
  background: var(--nh-red-soft);
}

.nh-cluster-pill-btn.active {
  background: var(--nh-dark);
  color: #FFFFFF;
  border-color: var(--nh-dark);
}

.nh-cluster-explain-banner {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nh-cluster-explain-banner p {
  margin: 0;
  font-size: 13.5px;
}

/* =========================================================================
   7. FASE 2: MANIFOLD MAP & 10 VISUAL CLUSTER CARDS
   ========================================================================= */
.nh-manifold-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nh-border);
}

.nh-manifold-quick-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nh-mini-stat {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: right;
}

.nh-mini-stat span {
  display: block;
  font-size: 11px;
  color: var(--nh-muted);
}

.nh-mini-stat strong {
  font-size: 14.5px;
  color: var(--nh-red);
}

.manifold-container {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.manifold-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inspect-card {
  background: #F8F9FA;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 16px;
}

.nh-point-inspector {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.nh-point-img-box {
  width: 112px;
  height: 112px;
  background: radial-gradient(circle at 50% 42%, #f1f3f4 0%, #dadce0 100%);
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-point-img-box img {
  max-height: 98px;
  object-fit: contain;
}

.nh-point-filename {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nh-dark);
  word-break: break-all;
  margin-bottom: 6px;
}

.nh-point-kv {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 3px 0;
  border-top: 1px dashed #E5E7EB;
}

/* 10 VISUAL CLUSTER CARDS GRID */
.nh-cluster-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.nh-cluster-visual-card {
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nh-cluster-visual-card:hover,
.nh-cluster-visual-card.active {
  transform: translateY(-3px);
  border-color: var(--nh-red);
  box-shadow: var(--shadow-hover);
}

.nh-cluster-card-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  background: #F3EFE8;
  border-bottom: 1px solid #e8eaed;
}

.nh-cluster-card-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid #e8eaed;
  border-radius: 6px;
}

.nh-cluster-card-body {
  padding: 12px;
}

.nh-cluster-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}

.nh-cluster-badge {
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.nh-cluster-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--nh-muted);
}

.nh-cluster-dom-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--nh-text);
}

.nh-cluster-card-hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--nh-red);
}

/* =========================================================================
   8. SAMPLE PICKER, SIMULATOR & LAB UJI CITRA (SIDE-BY-SIDE COMPARATOR)
   ========================================================================= */
.nh-sample-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.nh-sample-pick-card {
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nh-sample-pick-card:hover,
.nh-sample-pick-card.active {
  border-color: var(--nh-red);
  background: var(--nh-red-soft);
  transform: translateY(-2px);
}

.nh-sample-pick-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  background: #F8F9FA;
  border-radius: 6px;
  margin-bottom: 6px;
}

.nh-sample-pick-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nh-heading);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nh-sample-pick-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--nh-red);
  margin-top: 3px;
}

.nh-selected-statue-banner {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 10px;
}

.nh-selected-statue-banner img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #F8F9FA;
  border-radius: 6px;
}

.nh-slider-badge {
  background: var(--nh-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 74px;
  text-align: center;
}

.nh-preset-chip {
  border: 1px solid var(--nh-border);
  background: #FFFFFF;
  color: var(--nh-heading);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.nh-preset-chip:hover {
  border-color: var(--nh-red);
  color: var(--nh-red);
}

/* SIMULATOR RESULTS */
.nh-sim-result-stage {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--nh-border);
}

.nh-sim-summary-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 16px;
}

.nh-sim-summary-stat span {
  display: block;
  font-size: 12px;
  color: var(--nh-muted);
}

.nh-sim-summary-stat strong {
  font-size: 17px;
  color: var(--nh-heading);
}

.nh-sim-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.nh-sim-photo-card {
  margin: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.nh-sim-photo-card.baseline {
  border-color: var(--nh-green);
  background: var(--nh-green-soft);
}

.nh-sim-photo-card.shifted {
  border-color: #FECACA;
  background: #FFFBFB;
}

.nh-sim-photo-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.nh-sim-photo-badge.ok {
  background: var(--nh-green);
  color: #FFFFFF;
}

.nh-sim-photo-badge.err {
  background: var(--nh-red);
  color: #FFFFFF;
}

.nh-sim-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #F4F4F4;
}

.nh-sim-photo-card figcaption {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
}

.nh-sim-photo-card figcaption span {
  font-size: 10.5px;
  color: var(--nh-muted);
}

/* LAB UJI CITRA DROPZONE & PIPELINE */
.nh-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  background: #F8FAFC;
  padding: 32px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.nh-dropzone:hover,
.nh-dropzone.aktif {
  border-color: var(--nh-red);
  background: var(--nh-red-soft);
}

.nh-dropzone input[type="file"] {
  display: none;
}

.nh-dropzone-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.nh-dropzone-title {
  font-size: 16px;
  color: var(--nh-heading);
  margin-bottom: 4px;
}

.nh-dropzone-sub {
  font-size: 12.5px;
  color: var(--nh-muted);
}

.nh-uji-pipeline-stage {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--nh-border);
}

.nh-diagnosis-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.nh-diag-card {
  background: #F8F9FA;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 18px;
}

.nh-diag-step {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--nh-muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.nh-diag-card h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0 0 8px;
}

.nh-diag-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
  font-size: 11.5px;
  color: var(--nh-text);
}

/* SIDE-BY-SIDE VISUAL COMPARATOR */
.nh-sbs-comparator-box {
  background: #F8FAFC;
  border: 1.5px solid var(--nh-border);
  border-radius: 12px;
  padding: 22px;
}

.nh-sbs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.nh-sim-score-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--nh-red);
  border-radius: 8px;
  padding: 8px 16px;
  text-align: right;
}

.nh-sim-score-pill span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--nh-muted);
}

.nh-sim-score-pill strong {
  font-size: 22px;
  color: var(--nh-red);
}

.nh-sbs-stage {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 20px;
  align-items: center;
}

.nh-sbs-pane {
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.nh-sbs-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  background: #F1F5F9;
  color: var(--nh-heading);
  margin-bottom: 10px;
}

.nh-sbs-tag.match {
  background: var(--nh-green-soft);
  color: var(--nh-green);
}

.nh-sbs-img-frame {
  height: 220px;
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 10px;
}

.nh-sbs-img-frame img {
  max-height: 196px;
  width: auto;
  object-fit: contain;
}

.nh-sbs-caption strong {
  display: block;
  font-size: 13.5px;
  color: var(--nh-heading);
  word-break: break-all;
}

.nh-sbs-caption span {
  font-size: 12px;
  color: var(--nh-muted);
}

.nh-sbs-vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nh-sbs-vs-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--nh-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(166, 44, 33, 0.28);
  margin-bottom: 8px;
}

.nh-sbs-vs-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--nh-heading);
}

.nh-sbs-vs-sub {
  font-size: 11px;
  color: var(--nh-muted);
  margin-top: 4px;
}

/* 5 NEIGHBORS CARDS */
.nh-neighbors-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.nh-neighbor-card {
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nh-neighbor-card:hover,
.nh-neighbor-card.active {
  border-color: var(--nh-red);
  background: var(--nh-red-soft);
  transform: translateY(-3px);
}

.nh-neighbor-rank {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.nh-rank-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--nh-heading);
}

.nh-rank-klaster {
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.nh-neighbor-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--nh-muted);
  margin-bottom: 6px;
}
.nh-neighbor-pct {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--nh-heading);
}

.nh-neighbor-img {
  height: 130px;
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 8px;
}

.nh-neighbor-img img {
  max-height: 112px;
  object-fit: contain;
}

.nh-neighbor-sim-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.nh-neighbor-class {
  font-size: 11.5px;
  color: var(--nh-text);
  font-weight: 600;
}

.nh-neighbor-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--nh-red);
}

/* =========================================================================
   9. SHARED MAP, GALLERY, TABLES, DRAWERS, CATALOG & FOOTER
   ========================================================================= */
.dua-kolom {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.peta-wrap {
  position: relative;
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  overflow: hidden;
}

.peta-wrap canvas {
  display: block;
  width: 100%;
  cursor: grab;
}

.peta-wrap canvas:active {
  cursor: grabbing;
}

.peta-wrap .tip {
  position: absolute;
  pointer-events: none;
  background: rgba(33, 37, 41, 0.94);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}

.peta-wrap .alat {
  position: absolute;
  top: 10px;
  right: 10px;
}

.peta-btn-reset,
.peta-wrap .alat button {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  color: var(--nh-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.legenda button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nh-heading);
  cursor: pointer;
}

.legenda button[aria-pressed="true"] {
  border-color: var(--nh-red);
  background: var(--nh-red-soft);
  color: var(--nh-red);
}

.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.galeri {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 12px;
}

.galeri figure {
  margin: 0;
  background: radial-gradient(circle at 50% 42%, #f1f3f4 0%, #dadce0 100%);
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 9px 9px 8px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galeri figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px -10px rgba(0, 0, 0, 0.28);
}

.galeri img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.galeri figure:hover img {
  transform: scale(1.05);
}

.galeri figcaption {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--nh-muted);
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  padding: 4px;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
}

.latar-grid button {
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

.latar-grid button[aria-pressed="true"] {
  border-color: var(--nh-red);
}

.latar-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.grafik {
  width: 100%;
  height: auto;
  display: block;
}

/* CATALOG FILTER BAR & PUSTAKA CARDS */
.nh-catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  padding: 14px 18px;
  border-radius: 10px;
}

.nh-search-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 8px 14px;
  flex: 1;
  max-width: 520px;
}

.nh-catalog-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.nh-catalog-count {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-pub-card {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.nh-pub-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.nh-pub-year {
  font-weight: 800;
  color: var(--nh-red);
  font-size: 14px;
}

.nh-pub-title {
  font-family: var(--font-heading);
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--nh-heading);
}

.nh-pub-authors {
  font-size: 13.5px;
  color: var(--nh-muted);
  margin: 0 0 16px;
}

.nh-pub-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.nh-pub-box {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 12px 14px;
}

.nh-pub-box.highlight {
  background: var(--nh-red-soft);
  border-color: var(--nh-red-border);
}

.nh-pub-box strong {
  display: block;
  font-size: 12px;
  color: var(--nh-heading);
  margin-bottom: 4px;
}

.nh-pub-box p {
  margin: 0;
  font-size: 13px;
  color: var(--nh-text);
}

/* TABLES & ARCHIVE DRAWERS */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--nh-border);
  text-align: left;
}

th {
  background: #F8F9FA;
  font-weight: 700;
  color: var(--nh-heading);
}

th.n, td.n {
  text-align: right;
}

tr.sorot {
  background: var(--nh-red-soft);
}

.archive-drawers-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawers-stack-header {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nh-muted);
  margin-bottom: 4px;
}

.archive-drawer {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  overflow: hidden;
}

.archive-drawer-summary {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  background: #F8F9FA;
}

.archive-drawer-summary::-webkit-details-marker {
  display: none;
}

.archive-drawer-summary strong {
  display: block;
  font-size: 15px;
  color: var(--nh-heading);
}

.drawer-sub {
  font-size: 12.5px;
  color: var(--nh-muted);
}

.drawer-toggle-label {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--nh-red);
  white-space: nowrap;
}

.archive-drawer-body {
  padding: 20px;
  border-top: 1px solid var(--nh-border);
}

/* ===== Panel lampiran terbuka langsung (bukan drawer), gaya editorial ===== */
.archive-panel {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.archive-panel-head {
  padding: 18px 24px;
  background: var(--nh-bg-subtle);
  border-bottom: 1px solid var(--nh-border);
  border-left: 3px solid var(--nh-red);
}

.archive-panel-head strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--nh-heading);
  margin-bottom: 3px;
  line-height: 1.3;
}

.archive-panel-body {
  padding: 24px;
}

.archive-panel-body .drawer-section-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0 0 12px;
}

.archive-panel-body table {
  width: fit-content;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 4px auto 0;
  text-align: center;
  border: 1px solid #dadce0;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08), 0 4px 16px rgba(60, 64, 67, 0.06);
  overflow: hidden;
}

.archive-panel-body thead th:not(:last-child),
.archive-panel-body tbody td:not(:last-child) {
  border-right: 1px solid #e8eaed;
}

.archive-panel-body thead th {
  background: #f1f3f4;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--nh-heading);
  text-align: center;
  padding: 12px 12px;
  border-bottom: 2px solid #dadce0;
}

.archive-panel-body thead th.n,
.archive-panel-body tbody td.n {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.archive-panel-body tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid #e8eaed;
  color: var(--nh-dark);
  text-align: center;
}

.archive-panel-body tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.archive-panel-body tbody tr:last-child td {
  border-bottom: none;
}

.archive-panel-body tbody tr.sorot {
  background: var(--nh-red-soft);
}

.archive-panel-body tbody tr.sorot td {
  color: var(--nh-heading);
  font-weight: 600;
}

.archive-panel-body img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  background: #FFFFFF;
}

.drawer-note {
  background: var(--nh-red-soft);
  border-left: 4px solid var(--nh-red);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 14px;
}

.sumber, .kecil {
  font-size: 12.5px;
  color: var(--nh-muted);
}

.muat {
  padding: 28px;
  text-align: center;
  background: #F8F9FA;
  border: 1px dashed var(--nh-border);
  border-radius: 10px;
  font-weight: 600;
  color: var(--nh-heading);
  margin-top: 16px;
}

.galat {
  padding: 20px;
  background: var(--nh-red-soft);
  border: 1px solid var(--nh-red-border);
  color: var(--nh-red);
  border-radius: 10px;
  font-weight: 600;
  margin-top: 16px;
}

/* SUBPAGE STEP NAVIGATION FOOTER */
.subpage-step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0 56px;
  border-top: 1px solid var(--nh-border);
  margin-top: 16px;
}

.step-nav-link {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-card);
  transition: all 0.16s ease;
}

.step-nav-link:hover {
  border-color: var(--nh-red);
  transform: translateY(-2px);
}

.step-nav-link.next {
  text-align: right;
}

.step-dir {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nh-red);
}

.step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nh-heading);
}

/* =========================================================================
   10. NUSAHERITAGE INSTITUTIONAL FOOTER & DETAIL MODAL
   ========================================================================= */
.nh-site-footer {
  background: #EDEDED;
  color: #3c4043;
  border-top: 1px solid #DCDCDC;
}

.nh-footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 42px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.nh-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.nh-footer-brand-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--nh-dark);
}

.nh-footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #5C646D;
  margin: 0 0 18px;
}

.nh-supported-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nh-dark);
  margin-bottom: 8px;
}

.nh-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nh-inst-badge {
  background: #FFFFFF;
  border: 1px solid #D5D9DF;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nh-dark);
}

.nh-footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--nh-dark);
  margin: 0 0 14px;
}

.nh-footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nh-footer-links-col a {
  color: #3c4043;
  font-size: 13.5px;
}

.nh-footer-links-col a:hover {
  color: var(--nh-red);
}

.nh-footer-meta {
  font-size: 13px;
  color: #5C646D;
  margin: 0;
}

.nh-footer-bottom {
  background: #E2E2E2;
  text-align: center;
  padding: 16px 24px;
  font-size: 12.5px;
  color: #5C646D;
}

/* MODAL 4 SUDUT PATUNG */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-backdrop.open {
  display: flex;
  animation: nhFadeBackdrop 0.22s ease both;
}

.modal-backdrop.open .modal-box {
  animation: nhModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nhFadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nhModalPop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-box {
  background: #FFFFFF;
  border-radius: 14px;
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--nh-border);
  background: #F8F9FA;
  font-size: 22px;
  cursor: pointer;
}

.modal-visual-main {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 12px;
}

.modal-visual-main img {
  max-height: 285px;
  object-fit: contain;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.modal-thumb-btn {
  background: #F8F9FA;
  border: 2px solid var(--nh-border);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
}

.modal-thumb-btn.active {
  border-color: var(--nh-red);
}

.modal-thumb-btn img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.modal-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--nh-red);
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 4px 0 14px;
  color: var(--nh-heading);
}

.desc-card {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.desc-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--nh-red);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.desc-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--nh-text);
}

.modal-nav-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.btn-secondary {
  background: #F8F9FA;
  border: 1px solid var(--nh-border);
  color: var(--nh-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .nh-about-grid,
  .nh-lab-promo-card,
  .nh-visual-vs-grid,
  .manifold-container,
  .dua-kolom,
  .nh-sbs-stage,
  .modal-box {
    grid-template-columns: 1fr;
  }
  .nh-cards-grid-3,
  .nh-impact-bars-grid,
  .nh-diagnosis-grid-3,
  .nh-pub-details-grid {
    grid-template-columns: 1fr;
  }
  .nh-counter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nh-cluster-cards-grid,
  .nh-neighbors-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nh-sample-picker-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nh-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================================
   11. VISUAL TYPOGRAPHY HIGHLIGHTS & SCANNABLE CHIPS
   ========================================================================= */
.nh-hl {
  background: #FFF1F1;
  color: var(--nh-red);
  border: 1px solid #FFD4D4;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline;
  white-space: normal;
  word-break: break-word;
}

.nh-hl-green {
  background: var(--nh-green-soft);
  color: var(--nh-green);
  border: 1px solid #BBF7D0;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline;
  white-space: normal;
  word-break: break-word;
}

.nh-hl-dark {
  background: var(--nh-dark);
  color: #FFFFFF;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  display: inline;
  white-space: normal;
  word-break: break-word;
}

.nh-feature-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
}

.nh-feature-point-card {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-left: 4px solid var(--nh-red);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.nh-feature-point-card strong {
  display: block;
  font-size: 13px;
  color: var(--nh-heading);
  margin-bottom: 2px;
}

.nh-feature-point-card span {
  display: block;
  font-size: 11.5px;
  color: var(--nh-muted);
  line-height: 1.35;
}

.nh-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.nh-check-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
  box-sizing: border-box;
}

.nh-check-pill.ok {
  background: var(--nh-green-soft);
  color: var(--nh-green);
  border: 1px solid #BBF7D0;
}

.nh-check-pill.err {
  background: var(--nh-red-soft);
  color: var(--nh-red);
  border: 1px solid var(--nh-red-border);
}

.nh-card-stat-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 12px;
}

.nh-card-stat-callout span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-card-stat-callout strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--nh-red);
}

.nh-card-stat-callout.ok strong {
  color: var(--nh-green);
}

.nh-big-vs-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.nh-big-vs-stat {
  background: #FAF8F4;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 12px 14px;
}

.nh-big-vs-stat.ok {
  background: rgba(46, 125, 50, 0.045);
  border-color: #CDE6D2;
}

.nh-big-vs-stat.err {
  background: var(--nh-red-soft);
  border-color: var(--nh-red-border);
}

.nh-big-vs-stat span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--nh-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.nh-big-vs-stat strong {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--nh-heading);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.nh-big-vs-stat.ok strong {
  color: var(--nh-green);
}

.nh-big-vs-stat.err strong {
  color: var(--nh-red);
}

@media (max-width: 900px) {
  .nh-feature-points-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   12. DETAIL KLASTER & GALERI 100+ PREVIEW CITRA (PANEL & MODAL)
   ========================================================================= */
.nh-cluster-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed var(--nh-border);
}

.nh-cluster-card-actions .nh-cluster-card-hint {
  margin-top: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--nh-red);
}

.nh-cluster-map-mini-btn {
  border: 1px solid var(--nh-border);
  background: #F8F9FA;
  color: var(--nh-heading);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nh-cluster-map-mini-btn:hover {
  border-color: var(--nh-red);
  color: var(--nh-red);
  background: var(--nh-red-soft);
}

/* In-Page Detail Panel below the 10 Cluster Cards */
.nh-cluster-detail-panel {
  margin-top: 26px;
  background: #FFFFFF;
  border: 2px solid var(--nh-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.nh-cluster-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nh-border);
  margin-bottom: 16px;
}

.nh-cluster-detail-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.nh-cluster-detail-badge-lg {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.nh-cluster-detail-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--nh-heading);
  margin: 0;
}

.nh-cluster-detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Filter & Control Toolbar for 100+ Previews */
.nh-cluster-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.nh-cluster-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nh-cluster-chip-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nh-cluster-chip-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--nh-muted);
  text-transform: uppercase;
  margin-right: 4px;
}

.nh-cluster-chip {
  border: 1px solid var(--nh-border);
  background: #FFFFFF;
  color: var(--nh-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nh-cluster-chip:hover {
  border-color: var(--nh-red);
  color: var(--nh-red);
}

.nh-cluster-chip.active {
  background: var(--nh-red);
  border-color: var(--nh-red);
  color: #FFFFFF;
}

.nh-cluster-search-input {
  border: 1px solid var(--nh-border);
  background: #FFFFFF;
  color: var(--nh-dark);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  min-width: 220px;
  outline: none;
}

.nh-cluster-search-input:focus {
  border-color: var(--nh-red);
}

/* Selected Photo Quick Inspector inside Cluster Detail */
.nh-cluster-zoom-bar {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #FFF8F8;
  border: 1.5px solid var(--nh-red-border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.nh-cluster-zoom-bar img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 4px;
}

/* 100+ Photo Preview Grid */
.nh-cluster-100-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 14px;
}

.nh-cluster-thumb-card {
  margin: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--nh-border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.nh-cluster-thumb-card:hover {
  transform: translateY(-3px);
  border-color: var(--nh-red);
  box-shadow: var(--shadow-hover);
}

.nh-cluster-thumb-clean-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.nh-cluster-thumb-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--nh-muted);
}

.nh-cluster-thumb-class {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #F1F5F9;
  color: var(--nh-heading);
}

.nh-cluster-thumb-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: #F3EFE8;
  border: 1px solid #e8eaed;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}

.nh-cluster-thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.nh-cluster-thumb-card:hover .nh-cluster-thumb-img-wrap img {
  transform: scale(1.06);
}

.nh-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nh-modal-clean-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--nh-heading);
  margin: 0 0 2px;
}

.nh-modal-sub-pill {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-modal-clean-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nh-border);
}

.nh-cluster-loadmore-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--nh-border);
}

/* Fullscreen / Wide Modal for Cluster 100+ Previews */
.nh-cluster-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px 24px;
  overflow-y: auto;
  box-sizing: border-box;
}

.nh-cluster-modal-backdrop.open {
  display: flex;
  animation: nhFadeBackdrop 0.22s ease both;
}

.nh-cluster-modal-backdrop.open .nh-cluster-modal-box {
  animation: nhModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nh-cluster-modal-box {
  background: #FFFFFF;
  border-radius: 14px;
  max-width: 1220px;
  width: 100%;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin: 0 auto;
}

.nh-cluster-modal-header {
  padding: 18px 24px;
  background: #F8F9FA;
  border-bottom: 1px solid var(--nh-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nh-cluster-modal-body {
  padding: 20px 24px 26px;
  overflow-y: auto;
  flex: 1;
}

@media (max-width: 768px) {
  .nh-cluster-zoom-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nh-cluster-zoom-bar img {
    margin: 0 auto;
  }
  .nh-cluster-100-grid {
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  }
}

/* 5-Photo Preview Strip inside "Mengapa 8 Kelas Pakem Menjadi 10 Klaster AI?" */
.nh-why10-preview-block {
  margin-top: 14px;
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.nh-why10-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
  width: 100%;
  min-width: 0;
}

.nh-why10-preview-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 700;
  color: var(--nh-heading);
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
}

.nh-why10-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.nh-why10-thumb {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nh-why10-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--nh-red);
  box-shadow: var(--shadow-hover);
}

.nh-why10-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #F8F9FA;
  border-radius: 5px;
  margin-bottom: 4px;
  display: block;
}

.nh-why10-thumb figcaption {
  font-size: 10px;
  font-weight: 700;
  color: var(--nh-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.nh-why10-thumb span {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--nh-muted);
}

@media (max-width: 768px) {
  .nh-vs-card {
    padding: 16px 12px;
  }
  .nh-why10-preview-block {
    padding: 10px 8px;
  }
  .nh-why10-grid-5 {
    gap: 4px;
  }
  .nh-why10-thumb {
    padding: 3px;
  }
  .nh-why10-thumb figcaption {
    font-size: 8px;
  }
  .nh-why10-preview-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .nh-cluster-map-mini-btn {
    align-self: flex-start;
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* Multi-Select Statue Picker in Babak III Simulator */
.nh-sample-pick-card {
  position: relative;
}

.nh-sample-pick-check {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--nh-red);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(166, 44, 33, 0.3);
}

.nh-multi-selected-box {
  background: #FFFFFF;
  border: 1px solid var(--nh-border);
  border-radius: 10px;
  padding: 12px;
}

.nh-multi-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nh-multi-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--nh-border);
  border-radius: 8px;
  padding: 5px 8px;
}

.nh-multi-selected-chip img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 5px;
  border: 1px solid var(--nh-border);
}

.nh-multi-selected-meta {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  line-height: 1.25;
}

.nh-multi-remove-btn {
  border: none;
  background: #FEE2E2;
  color: var(--nh-red);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-multi-remove-btn:hover {
  background: var(--nh-red);
  color: #FFFFFF;
}

.nh-label-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nh-border);
}

.nh-label-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--nh-border);
  background: #F8FAFC;
  color: var(--nh-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nh-label-tab:hover {
  border-color: var(--nh-red);
  color: var(--nh-red);
  background: #FFFFFF;
}

.nh-label-tab.active {
  background: var(--nh-red);
  border-color: var(--nh-red);
  color: #FFFFFF;
}

.nh-label-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(166, 44, 33, 0.12);
  color: var(--nh-red);
}

.nh-label-tab.active .nh-label-tab-count {
  background: #FFFFFF;
  color: var(--nh-red);
}

/* =========================================================================
   POLISHED MICRO-INTERACTIONS & TACTILE ANIMATIONS
   ========================================================================= */
button:active:not(:disabled),
.nh-btn-red:active,
.nh-btn-primary:active,
.nh-hero-pill-btn:active,
.nav-action-btn:active,
.nh-cluster-chip:active,
.nh-angle-btn:active,
.nh-preset-chip:active {
  transform: scale(0.96);
  transition: transform 0.08s ease;
}

.nh-hero-pill-btn {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease;
}

.nh-hero-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.nav-action-btn {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease;
  box-shadow: 0 4px 14px rgba(166, 44, 33, 0.28);
}

.nav-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 44, 33, 0.45);
  background: #A80E0E;
}

.nh-counter-item {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.nh-counter-item:hover {
  transform: translateY(-4px);
}

.nh-counter-num {
  transition: color 0.22s ease, text-shadow 0.25s ease;
}

.nh-counter-item:hover .nh-counter-num {
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
}

.nh-why10-thumb {
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.nh-why10-thumb:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: var(--nh-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* =========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE SYSTEM (MOBILE, TABLET, DESKTOP)
   ========================================================================= */

html, body {
  max-width: 100vw;
  /* 'clip' (bukan 'hidden'): mencegah scroll horizontal TANPA menjadikan body
     sebuah scroll-container, supaya position:sticky (sidebar docs) tetap bekerja. */
  overflow-x: clip;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* TABLET & SMALL LAPTOPS (<= 1024px) */
@media (max-width: 1024px) {
  .site-navbar-inner {
    padding: 0 16px;
  }

  .site-nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 13.5px;
  }

  .nh-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nh-cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .nh-counter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .nh-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* SMART APP-STYLE NAVBAR FOR TABLET & MOBILE (<= 992px) */
@media (max-width: 992px) {
  .site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-navbar-inner {
    position: relative;
    height: 60px;
    padding: 0 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-brand {
    align-self: center;
  }

  .nav-burger {
    display: flex;
  }

  .brand-stamp {
    width: 32px;
    height: 32px;
    font-size: 7.5px;
  }

  .brand-stamp small {
    font-size: 6.5px;
  }

  .brand-wordmark {
    font-size: 19px;
  }

  .site-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.1);
    padding: 10px 14px 16px;
    margin: 0;
  }

  .site-nav-links.open {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    background: #F8F9FA;
    color: #374151;
    text-decoration: none;
    transition: all 0.16s ease;
  }

  .nav-link:hover {
    background: #E5E7EB;
    color: #111827;
  }

  .nav-link.active {
    background: var(--nh-red);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(166, 44, 33, 0.32);
  }

  .nav-link.active::after {
    display: none;
  }

  .nh-catalog-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nh-search-field-wrap {
    max-width: 100%;
  }

  .nh-breadcrumb-inner {
    padding: 0 16px;
    gap: 10px;
  }
}

/* MOBILE DEVICES & SMALL TABLETS (<= 768px) */
@media (max-width: 768px) {
  .nh-container {
    padding: 0 16px;
  }

  .nh-section {
    padding: 44px 0;
  }

  .nh-section-header {
    margin-bottom: 28px;
  }

  .nh-section-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .nh-red-line {
    width: 20px;
  }

  .nh-section-subtitle {
    font-size: 13.5px;
    margin-top: 8px;
  }

  .nh-page-top-title {
    padding: 26px 16px 20px;
  }

  .nh-page-main-heading {
    font-size: 22px;
    line-height: 1.25;
  }

  .nh-page-main-sub {
    font-size: 13.5px;
  }

  .nh-hero {
    min-height: auto;
    padding: 42px 16px 48px;
  }

  .nh-hero-content {
    margin: 0;
    max-width: 100%;
  }

  .nh-hero-title {
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .nh-hero-subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .nh-hero-search-box {
    max-width: 100%;
    padding: 6px 6px 6px 14px;
    margin-bottom: 16px;
  }

  .nh-hero-search-input {
    font-size: 13.5px;
  }

  .nh-hero-quick-links {
    gap: 8px;
  }

  .nh-hero-pill-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .nh-cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nh-overlap-collage {
    min-height: 320px;
  }

  .nh-collage-back-frame {
    width: 85%;
  }

  .nh-collage-back-frame img {
    height: 200px;
  }

  .nh-collage-front-frame {
    width: 65%;
  }

  .nh-overlap-statue-img {
    height: 180px;
  }

  .nh-counter-banner {
    padding: 44px 0;
  }

  .nh-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .nh-counter-num {
    font-size: 26px;
  }

  .nh-counter-label {
    font-size: 12px;
  }

  /* MODAL 4 SUDUT PATUNG */
  .modal-backdrop {
    padding: 12px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 16px 22px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 12px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .modal-visual-main {
    height: 230px;
    padding: 8px;
    margin-bottom: 8px;
  }

  .modal-visual-main img {
    max-height: 210px;
  }

  .modal-thumbs {
    gap: 6px;
  }

  .modal-thumb-btn {
    padding: 4px;
  }

  .modal-thumb-btn img {
    height: 48px;
  }

  .modal-title {
    font-size: 20px;
    margin: 4px 0 10px;
  }

  .desc-card {
    padding: 10px 12px;
    margin-bottom: 10px;
  }

  .desc-card .desc-tag {
    font-size: 10.5px;
  }

  .desc-card .desc-text {
    font-size: 13px;
    line-height: 1.45;
  }

  .modal-nav-row {
    flex-direction: column;
    gap: 8px;
  }

  .modal-nav-row button {
    width: 100%;
    justify-content: center;
  }

  /* MODAL 100+ PREVIEWS */
  .nh-cluster-modal-backdrop {
    padding: 10px;
    align-items: flex-start;
  }

  .nh-cluster-modal-box {
    max-height: calc(100vh - 20px);
    border-radius: 12px;
  }

  .nh-cluster-modal-header {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nh-cluster-modal-body {
    padding: 12px 14px 18px;
  }

  .nh-cluster-100-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
  }

  .nh-cluster-100-item img {
    height: 72px;
  }

  /* DRAWERS & FOOTER */
  .archive-drawer-summary {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .drawer-toggle-label {
    align-self: flex-start;
  }

  .archive-drawer-body {
    padding: 14px;
  }

  .nh-footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 16px 28px;
  }
}

/* SMALL PHONES (<= 480px, e.g. iPhone SE, iPhone Mini, Samsung Galaxy) */
@media (max-width: 480px) {
  .nh-title-line-wrap {
    gap: 0;
  }

  .nh-red-line {
    display: none;
  }

  .nh-hero-search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
  }

  .nh-hero-search-input {
    padding: 6px 8px;
    font-size: 14px;
  }

  .nh-hero-search-box .nh-btn-red {
    width: 100%;
    justify-content: center;
  }

  .nh-big-vs-stat-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nh-angle-tabs {
    flex-wrap: wrap;
  }

  .nh-angle-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    justify-content: center;
  }

  .nh-counter-grid {
    gap: 12px;
  }

  .nh-counter-num {
    font-size: 24px;
  }

  .nh-counter-label {
    font-size: 11px;
  }
}

/* =========================================================================
   VONIS "GARIS SALAH-TEBAK" (Lab Uji) - tebakan klaster vs pakem asli
   ========================================================================= */
.nh-vonis-box {
  border: 1px solid #e8eaed;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0 4px;
  background: #fff;
}
.nh-vonis-box.salah {
  border-color: rgba(166, 44, 33, 0.38);
  background: rgba(166, 44, 33, 0.035);
}
.nh-vonis-box.benar {
  border-color: rgba(46, 125, 50, 0.38);
  background: rgba(46, 125, 50, 0.035);
}
.nh-vonis-box.netral {
  border-style: dashed;
  border-color: #c7cacd;
}
.nh-vonis-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.nh-vonis-line-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nh-vonis-end {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #f8f9fa;
  border: 1px solid var(--nh-border);
  text-align: center;
  justify-content: center;
}
.nh-vonis-end small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nh-muted);
}
.nh-vonis-end strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.12;
}
.nh-vonis-end.tebak strong { color: #374151; }
.nh-vonis-box.salah .nh-vonis-end.asli strong { color: #2E7D32; }
.nh-vonis-connect {
  flex: 0 0 clamp(72px, 16%, 168px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nh-vonis-rule {
  height: 3px;
  width: 100%;
  border-radius: 3px;
}
.nh-vonis-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.nh-vonis-caption {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #4a443b;
}
.nh-vonis-caption b { color: inherit; }
@media (max-width: 640px) {
  .nh-vonis-line-row { flex-direction: column; }
  .nh-vonis-connect {
    flex-basis: auto;
    width: 100%;
    padding: 10px 0;
  }
  .nh-vonis-rule {
    width: 3px;
    height: 30px;
    margin: 0 auto;
  }
  .nh-vonis-end strong { font-size: 18px; }
}

/* =========================================================================
   LAB UJI - HASIL CLUSTERING (satu hasil unsupervised, tanpa vonis)
   ========================================================================= */
.nh-hasil-box {
  border: 1px solid var(--nh-border);
  border-left: 4px solid var(--nh-red);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 22px 0 6px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(20, 20, 20, 0.05);
}
.nh-hasil-box.outlier { border-left-color: #9ca3af; }
.nh-hasil-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}
.nh-hasil-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nh-muted);
}
.nh-hasil-val {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  color: var(--nh-heading);
}
.nh-hasil-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: #4b5563;
}
.nh-hasil-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #3f3f46;
  margin: 12px 0 0;
}
.nh-hasil-info {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid var(--nh-border);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--nh-muted);
}
.nh-hasil-info-ico {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--nh-muted);
  margin-top: 1px;
}
.nh-hasil-info-ico svg { width: 100%; height: 100%; }
.nh-hasil-info b { color: #3f3f46; }
@media (max-width: 640px) {
  .nh-hasil-box { padding: 16px; }
  .nh-hasil-val { font-size: 25px; }
}

/* =========================================================================
   LAB UJI - hasil utama polos + detail teknis (progressive disclosure)
   ========================================================================= */
.nh-uji-result-head {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 4px 0 14px;
}

.nh-uji-proof {
  margin-top: 24px;
}

.nh-uji-subhead {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0 0 4px;
}

.nh-uji-subnote {
  font-size: 13px;
  color: var(--nh-muted);
  margin: 0 0 16px;
  max-width: 760px;
}

/* Detail teknis: panel yang bisa dibuka-tutup */
.nh-uji-tech {
  margin-top: 26px;
  border: 1px solid var(--nh-border);
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
}

.nh-uji-tech-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--nh-bg-subtle);
  user-select: none;
}

.nh-uji-tech-summary::-webkit-details-marker { display: none; }

.nh-uji-tech-summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--nh-red);
  color: var(--nh-red);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
}

.nh-uji-tech[open] .nh-uji-tech-summary::before { content: "\2212"; }

.nh-uji-tech-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--nh-heading);
}

.nh-uji-tech-sub {
  font-size: 12px;
  color: var(--nh-muted);
}

.nh-uji-tech-body {
  padding: 20px 18px;
  border-top: 1px solid var(--nh-border);
}

/* Pemilih patung (dropdown semua tokoh) + preview */
.nh-uji-pick-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.nh-uji-select {
  flex: 1 1 300px;
  min-width: 0;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--nh-heading);
  background: #FFFFFF;
  border: 1px solid #c7cacd;
  border-radius: 8px;
  cursor: pointer;
}

.nh-uji-select:focus {
  outline: 2px solid rgba(166, 44, 33, 0.35);
  outline-offset: 1px;
  border-color: var(--nh-red);
}

.nh-uji-pick-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  background: #F5F2EC;
  min-height: 62px;
  flex: 1 1 240px;
}

.nh-uji-pick-preview.kosong {
  background: transparent;
  border-style: dashed;
  justify-content: center;
}

.nh-uji-pick-preview img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: radial-gradient(circle at 50% 42%, #f1f3f4 0%, #dadce0 100%);
  border: 1px solid #dadce0;
  border-radius: 7px;
  flex: 0 0 auto;
}

.nh-uji-pick-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--nh-heading);
}

.nh-uji-pick-empty {
  font-size: 12.5px;
  color: var(--nh-muted);
  text-align: center;
}

/* Galeri semua patung dataset (pemilih) */
.nh-uji-ds-info {
  font-size: 12.5px;
  color: var(--nh-muted);
  margin: 14px 0 10px;
}

.nh-uji-ds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.nh-uji-ds-card {
  padding: 6px;
  border: 1px solid #e8eaed;
  border-radius: 9px;
  background: #F5F2EC;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nh-uji-ds-card:hover {
  transform: translateY(-2px);
  border-color: var(--nh-red);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.2);
}

.nh-uji-ds-card.active {
  border-color: var(--nh-red);
  box-shadow: 0 0 0 2px rgba(166, 44, 33, 0.25);
}

.nh-uji-ds-img {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #f1f3f4 0%, #dadce0 100%);
  border: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-uji-ds-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-uji-ds-cap {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--nh-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nh-uji-loadmore-row {
  text-align: center;
  margin-top: 14px;
}

.nh-uji-loadmore {
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nh-heading);
  background: #FFFFFF;
  border: 1px solid #c7cacd;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nh-uji-loadmore:hover {
  background: var(--nh-red);
  border-color: var(--nh-red);
  color: #FFFFFF;
}

/* Tombol pembuka galeri + modal/pop-up galeri dataset */
.nh-uji-browse-btn {
  flex: 1 1 300px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  background: var(--nh-red);
  border: 1px solid var(--nh-red);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nh-uji-browse-btn:hover { background: var(--nh-red-dark); }

.nh-uji-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 16, 14, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.nh-uji-modal-backdrop.open { display: flex; }

.nh-uji-modal-box {
  background: #FFFFFF;
  border-radius: 14px;
  width: min(880px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.nh-uji-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--nh-border);
  background: var(--nh-bg-subtle);
}
.nh-uji-modal-titlewrap { flex: 1 1 200px; }
.nh-uji-modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-heading);
  margin: 0;
}
.nh-uji-modal-sub { font-size: 12.5px; color: var(--nh-muted); }
.nh-uji-modal-head .nh-uji-select { flex: 0 1 220px; }
.nh-uji-modal-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--nh-border);
  background: #FFFFFF;
  color: var(--nh-heading);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nh-uji-modal-close:hover {
  background: var(--nh-red);
  color: #FFFFFF;
  border-color: var(--nh-red);
}

.nh-uji-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  /* Tampilkan ~5 baris, sisanya digulir di dalam kotak (bukan full layar) */
  max-height: 60vh;
}

.nh-uji-ds-sentinel {
  width: 100%;
  height: 1px;
}

/* =========================================================================
   HALAMAN DOCS "TAHAPAN RISET" - sidebar langkah + scroll-spy (gabung Babak I-III)
   ========================================================================= */
.docs-page {
  padding-top: 28px;
  padding-bottom: 56px;
}

.docs-intro {
  padding: 8px 0 26px;
  border-bottom: 1px solid var(--nh-border);
  margin-bottom: 28px;
}
.docs-intro-headrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.docs-intro-icon { display: none; }
.docs-intro-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--nh-heading);
  margin: 0;
  line-height: 1.1;
}
.docs-intro-sub {
  margin: 14px 0 0;
  color: var(--nh-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 820px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* --- Sidebar "Daftar Isi" bergaya buku --- */
.docs-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 18px 14px 14px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.docs-sidebar-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--nh-heading);
  padding: 2px 8px 12px;
  position: relative;
}
.docs-sidebar-title::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--nh-red);
}
.docs-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
}
.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 8px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  color: var(--nh-text);
  cursor: pointer;
  transition: background 0.18s var(--ease-std), border-color 0.18s var(--ease-std);
}
.docs-nav-link:hover { background: rgba(166, 44, 33, 0.045); }
.docs-nav-link.active {
  background: var(--accent-tint-bg);
  border-left-color: var(--nh-red);
}
.docs-nav-numeral {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--nh-muted);
  background: #fff;
  border: 1px solid #e4ded1;
  border-radius: 7px;
  transition: background 0.18s var(--ease-std), color 0.18s var(--ease-std), border-color 0.18s var(--ease-std);
}
.docs-nav-link.active .docs-nav-numeral {
  color: #fff;
  background: var(--nh-red);
  border-color: var(--nh-red);
}
.docs-nav-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.docs-nav-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nh-muted);
}
.docs-nav-link.active .docs-nav-num { color: var(--nh-red); }
.docs-nav-label { font-size: 13.5px; font-weight: 500; color: var(--nh-heading); }
.docs-nav-link.active .docs-nav-label { font-weight: 600; }

/* --- Kolom konten --- */
.docs-content { min-width: 0; overflow-x: clip; }
.docs-section { scroll-margin-top: 92px; }
.docs-section + .docs-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--nh-border);
}
.docs-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.docs-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-tint-bg);
  color: var(--nh-red);
  flex-shrink: 0;
}
.docs-section-icon svg { width: 22px; height: 22px; }
.docs-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nh-red);
}
.docs-section-title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nh-heading);
  margin: 2px 0 0;
  line-height: 1.2;
}
/* Di dalam docs, seksi fase tidak perlu jarak atas berlebih */
.docs-section .nh-section:first-of-type { padding-top: 8px; }

/* --- Responsif: sidebar jadi baris chip yang bisa digulir di atas konten --- */
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 20px; }
  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 12px;
  }
  .docs-sidebar-title { border-bottom: none; padding-bottom: 8px; }
  .docs-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    margin-top: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .docs-nav-link {
    flex: 0 0 auto;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--btn-radius);
  }
  .docs-nav-link.active { border-left-color: transparent; border-bottom-color: var(--nh-red); }
  .docs-intro-title { font-size: 24px; }
}

/* =========================================================================
   PROSA DOCS (gaya GitHub/Kaggle): teks-first, rata kiri, minim warna
   ========================================================================= */
.docs-prose {
  max-width: 760px;
  color: var(--nh-text);
  font-size: 16px;
  line-height: 1.7;
}
.docs-prose > *:first-child { margin-top: 0; }
.docs-prose p { margin: 0 0 16px; }
.docs-prose strong { color: var(--nh-heading); font-weight: 600; }
.docs-prose em { color: inherit; }
.docs-prose h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--nh-heading);
  margin: 32px 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--nh-border);
  scroll-margin-top: 92px;
}
.docs-prose ul { margin: 0 0 16px; padding-left: 22px; }
.docs-prose li { margin: 5px 0; }
.docs-prose a {
  color: var(--nh-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tabel docs sederhana */
.docs-table {
  border-collapse: collapse;
  width: 100%;
  margin: 4px 0 20px;
  font-size: 14px;
}
.docs-table th,
.docs-table td {
  border: 1px solid var(--nh-border);
  padding: 8px 12px;
  text-align: left;
}
.docs-table thead th {
  background: var(--nh-bg-subtle);
  font-weight: 600;
  color: var(--nh-heading);
}
.docs-table td.n,
.docs-table th.n {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.docs-table tbody tr:nth-child(even) { background: #fafbfc; }
.docs-table .pos { color: var(--nh-green); font-weight: 600; }
.docs-table .neg { color: var(--nh-red); font-weight: 600; }

/* Callout / admonition minimal */
.docs-callout {
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  border-left: 3px solid var(--nh-border);
  background: var(--nh-bg-subtle);
  color: var(--nh-text);
}
.docs-callout.note { border-left-color: #3b7bbf; background: #f3f7fb; }
.docs-callout.warn { border-left-color: #c58a00; background: #fbf6ec; }
.docs-callout strong { color: var(--nh-heading); }

/* =========================================================================
   DOCS MODE - semua konten fase1/2/3 dipertahankan, tapi 'chrome' marketing
   (gradien, shadow tebal, aksen warna, section gray) ditenangkan jadi docs.
   ========================================================================= */

/* Lead ringkas pengganti banner hero tiap babak */
.docs-section-lead {
  color: var(--nh-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 820px;
}

/* Hilangkan nesting container ganda + padding/max-width dari fase */
.docs-content .nh-container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Section fase: rapat, tanpa latar abu/penuh */
.docs-content .nh-section {
  padding: 4px 0 0 !important;
  background: transparent !important;
}
.docs-content .nh-section-gray { background: transparent !important; }
.docs-content .nh-section + .nh-section { margin-top: 28px; }

/* Header seksi internal → gaya docs (kiri, tanpa garis merah) */
.docs-content .nh-section-header { text-align: left; margin: 8px 0 14px; }
.docs-content .nh-section-header .nh-red-line { display: none; }
.docs-content .nh-section-title { text-align: left; font-size: 18px; }
.docs-content .nh-section-subtitle { text-align: left; margin: 6px 0 0; max-width: 820px; }
.docs-content .nh-title-line-wrap { justify-content: flex-start; }

/* Kartu-kartu dekoratif → blok docs datar (putih, border tipis, tanpa shadow tebal) */
.docs-content .nh-vs-card,
.docs-content .nh-white-card,
.docs-content .nh-impact-banner,
.docs-content .nh-cluster-explain-banner,
.docs-content .nh-point-inspector,
.docs-content .nh-why10-preview-block {
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid var(--nh-border) !important;
  border-radius: 8px !important;
}
/* Buang aksen bar atas & wash warna pada kartu VS */
.docs-content .nh-vs-card::before { display: none !important; }
.docs-content .nh-vs-card.good,
.docs-content .nh-vs-card.bad { background: #fff !important; }

/* Grid foto contoh & thumbnail → tile netral */
.docs-content .nh-vs-photo-item,
.docs-content .nh-point-img-box,
.docs-content .galeri figure,
.docs-content .nh-cluster-card-thumbs,
.docs-content .nh-why10-thumb {
  background: var(--nh-bg-subtle) !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid var(--nh-border) !important;
}
.docs-content .galeri figure:hover,
.docs-content .nh-cluster-card:hover { transform: none !important; box-shadow: none !important; }

/* Pills / badge status → tenang (netral, bukan warna solid mencolok) */
.docs-content .nh-status-badge,
.docs-content .nh-red-pill,
.docs-content .nh-cluster-badge,
.docs-content .nh-cluster-chip {
  background: var(--nh-bg-subtle) !important;
  color: var(--nh-text) !important;
  border: 1px solid var(--nh-border) !important;
  box-shadow: none !important;
  font-weight: 600;
}
.docs-content .nh-check-pill {
  background: var(--nh-bg-subtle) !important;
  color: var(--nh-text) !important;
  border: 1px solid var(--nh-border) !important;
}

/* Angka statistik besar → tetap terbaca tapi tidak 'hero' */
.docs-content .nh-big-vs-stat { color: var(--nh-heading) !important; }
.docs-content .nh-big-vs-stat.ok { color: var(--nh-green) !important; }
.docs-content .nh-big-vs-stat.err { color: var(--nh-red) !important; }

/* Kartu kluster galeri → datar */
.docs-content .nh-cluster-card,
.docs-content .nh-mini-stat,
.docs-content .nh-manifold-quick-stats > * {
  box-shadow: none !important;
  border: 1px solid var(--nh-border) !important;
  background: #fff !important;
  background-image: none !important;
}

/* Kontrol interaktif (segmented tabs, tombol) tetap, hanya diselaraskan radius */
.docs-content .nh-seg-tab,
.docs-content .nh-btn-primary,
.docs-content .nh-btn-outline { border-radius: var(--btn-radius) !important; }

/* =========================================================================
   DOCS BERSIH (ala Laravel / Kaggle) - putih polos, header sederhana.
   ========================================================================= */
/* Konten terbuka (bukan kartu) - menyerupai docs sungguhan, bukan 'SaaS-card kit' */
.docs-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2px 0 0;
}

/* Header seksi: kicker sans tenang (sentence case) + judul editorial yang kuat.
   Babak I→III adalah sekuens nyata, jadi kicker urutan sah; aksen = garis bata pendek. */
.docs-head {
  margin: 4px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nh-border);
}
.docs-head-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nh-red);
  margin-bottom: 7px;
}
.docs-head .docs-section-title {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
}

/* Lead = paragraf biasa (tanpa drop cap) */
.docs-section-lead { color: var(--nh-text); }

/* Pembatas antar-bab: garis tipis polos */
.docs-content .docs-section + .docs-section {
  border-top: 1px solid var(--nh-border);
  margin-top: 36px;
  padding-top: 34px;
}

@media (max-width: 680px) {
  .docs-content { padding: 22px 18px 28px; }
  .docs-head .docs-section-title { font-size: 21px; }
}

/* --- Kartu stat kecil: grid seragam, tinggi sama, flat (anti-'AI' & anti-berantakan) --- */
.docs-content .nh-big-vs-stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 10px !important;
}
.docs-content .nh-big-vs-stat {
  background: #fff !important;
  border: 1px solid var(--nh-border) !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  text-align: left;
}
.docs-content .nh-big-vs-stat.ok,
.docs-content .nh-big-vs-stat.err { color: var(--nh-heading) !important; }
.docs-content .nh-big-vs-stat.ok { border-left: 3px solid var(--nh-green) !important; }
.docs-content .nh-big-vs-stat.err { border-left: 3px solid var(--nh-red) !important; }
.docs-content .nh-big-vs-stat span { color: var(--nh-muted) !important; }
.docs-content .nh-big-vs-stat.ok strong { color: var(--nh-green) !important; }
.docs-content .nh-big-vs-stat.err strong { color: var(--nh-red) !important; }
.docs-content .nh-big-vs-stat strong { font-size: 19px; }

/* Baris pill ciri: rata & rapi */
.docs-content .nh-check-pills { gap: 6px; }

@media (max-width: 560px) {
  .docs-content .nh-big-vs-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Babak I: banner status klaster → callout admonition bersih (bukan pill + highlight box) */
.docs-content .nh-cluster-explain-banner {
  background: #fbf6ec !important;
  border: none !important;
  border-left: 3px solid #c58a00 !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  display: block !important;
}
.docs-content .nh-cluster-explain-banner .nh-status-badge {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
  color: var(--nh-heading) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.docs-content .nh-cluster-explain-banner p { margin: 0 !important; color: var(--nh-text); font-size: 14.5px; line-height: 1.6; }
.docs-content .nh-cluster-explain-banner .nh-hl {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--nh-red) !important;
  font-weight: 600;
}

/* Babak II: quick-stats → grid 2×2 rata & menyatu (pemisah 1px via gap) */
/* Top-bar peta: tumpuk (toggle di atas, strip metrik penuh di bawah) - tidak mengambang */
.docs-content .nh-manifold-top-bar {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}
.docs-content .nh-manifold-quick-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px !important;
  background: var(--nh-border) !important;
  border: 1px solid var(--nh-border) !important;
  border-radius: 8px !important;
  overflow: hidden;
  margin: 0 !important;
  width: 100%;
}
.docs-content .nh-mini-stat {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  padding: 11px 16px !important;
  text-align: left;
}
@media (max-width: 620px) {
  .docs-content .nh-manifold-quick-stats { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =========================================================================
   GAMBAR GALERI/CONTOH: dikecilkan, hover bergerak (tanda bisa diklik),
   klik → lightbox (tampil lebih besar). Gaya docs (Laravel/Kaggle).
   ========================================================================= */
/* Kecilkan grid thumbnail galeri bukti */
.docs-content .galeri {
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)) !important;
  gap: 7px !important;
}
.docs-content .nh-vs-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

/* Afordansi klik: cursor zoom + badge pembesar + hover bergerak */
.docs-content .galeri figure,
.docs-content .nh-vs-photo-item {
  cursor: zoom-in;
  position: relative;
  transition: transform 0.18s var(--ease-std), box-shadow 0.18s var(--ease-std);
}
.docs-content .galeri figure::after,
.docs-content .nh-vs-photo-item::after {
  content: "⤢";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  background: rgba(32, 33, 36, 0.72);
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.16s var(--ease-std);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .docs-content .galeri figure:hover,
  .docs-content .nh-vs-photo-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(60, 52, 36, 0.16);
    z-index: 2;
  }
}
.docs-content .galeri figure:hover::after,
.docs-content .nh-vs-photo-item:hover::after { opacity: 1; }

/* Lightbox */
.docs-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 14, 0.82);
  padding: 28px;
}
.docs-lightbox-backdrop.open { display: flex; }
.docs-lightbox-box {
  position: relative;
  max-width: min(920px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.docs-lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.docs-lightbox-cap {
  margin-top: 12px;
  color: #f1ede4;
  font-size: 12.5px;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  max-width: 90%;
}
.docs-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #202124;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.docs-lightbox-close:hover { background: var(--nh-bg-gray); }
@media (max-width: 560px) {
  .docs-lightbox-close { top: -8px; right: -8px; }
}

/* =========================================================================
   ANIMASI SCROLL-REVEAL (seluruh web) - fade + naik halus saat masuk viewport.
   Hanya menyembunyikan saat JS siap (.anim-ready di <body>), jadi kalau JS gagal
   konten tetap terlihat. Dimatikan saat prefers-reduced-motion.
   ========================================================================= */
.anim-ready .nh-reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}
.anim-ready .nh-reveal.nh-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .anim-ready .nh-reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   DOCS - lapisan editorial: chip/badge jadi teks biasa, kartu VS jadi kolom
   terbuka (bukan pill mono-caps / card-kit). Hanya style; info tetap utuh.
   ========================================================================= */
/* Badge status "Dipertahankan · 8.616 citra" → label teks biasa berwarna */
.docs-content .nh-status-badge {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  display: inline-block;
  font-family: var(--font-body) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.docs-content .nh-status-badge.ok { color: var(--nh-green) !important; }
.docs-content .nh-status-badge.err { color: var(--nh-red) !important; }

/* Daftar ciri "✓ Mahkota & Wajah Jelas" → checklist teks (bukan pill) */
.docs-content .nh-check-pills {
  display: flex !important;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0 0;
}
.docs-content .nh-check-pill {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.5;
  color: var(--nh-text) !important;
  display: inline-block;
}

/* Kartu VS → dua kolom terbuka dengan garis atas semantik (good/bad) */
.docs-content .nh-vs-card {
  background: transparent !important;
  border: none !important;
  border-top: 2px solid var(--nh-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 0 !important;
}
.docs-content .nh-vs-card::before { display: none !important; }
.docs-content .nh-vs-card.good { border-top-color: var(--nh-green) !important; }
.docs-content .nh-vs-card.bad { border-top-color: var(--nh-red) !important; }
.docs-content .nh-vs-card-head h3,
.docs-content .nh-vs-card h3 { margin-top: 0; }

/* =========================================================================
   LAB UJI - workflow lebih jelas: satu langkah pilih (galeri | unggah),
   opsi lanjutan tersembunyi, empty-state, peta dipindah ke area hasil.
   ========================================================================= */
.nh-uji-step {
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
}
.nh-uji-step-head { margin-bottom: 18px; }
.nh-uji-step-title { margin: 0; font-size: 19px; font-weight: 700; color: var(--nh-heading); }
.nh-uji-step-sub { margin: 4px 0 0; color: var(--nh-muted); font-size: 14px; }

.nh-uji-choose {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
}
.nh-uji-choose-opt { display: flex; flex-direction: column; gap: 10px; }
.nh-uji-opt-label { font-size: 12.5px; font-weight: 600; color: var(--nh-muted); }
.nh-uji-choose-sep { align-self: center; color: var(--nh-muted); font-size: 13px; }
@media (max-width: 760px) {
  .nh-uji-choose { grid-template-columns: 1fr; gap: 12px; }
  .nh-uji-choose-sep { padding: 2px 0; }
}

.nh-uji-adv { margin-top: 18px; border-top: 1px solid var(--nh-border); padding-top: 14px; }
.nh-uji-adv summary {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--nh-muted); list-style: none;
}
.nh-uji-adv summary::-webkit-details-marker { display: none; }
.nh-uji-adv summary::before { content: "+ "; color: var(--nh-red); font-weight: 700; }
.nh-uji-adv[open] summary::before { content: "\2212 "; }
.nh-uji-adv-body { margin-top: 12px; }
.nh-uji-adv-hint { margin: 10px 0 0; font-size: 13px; color: var(--nh-muted); line-height: 1.55; }

.nh-uji-empty {
  text-align: center; padding: 44px 20px; border: 1px dashed var(--nh-border);
  border-radius: 12px; margin-top: 24px; background: var(--nh-bg-subtle);
}
.nh-uji-empty-title { margin: 0 0 6px; font-weight: 700; color: var(--nh-heading); font-size: 16px; }
.nh-uji-empty-sub { margin: 0 auto; max-width: 460px; color: var(--nh-muted); font-size: 14px; line-height: 1.6; }

.nh-uji-map-block { margin-top: 30px; }
.nh-uji-results-wrap { margin-top: 28px; }

/* De-tell vonis & komparator: pill merah → teks biasa, label caps → sentence case */
.nh-uji-results-wrap .nh-red-pill,
.nh-uji-results-wrap .nh-status-badge {
  background: transparent; border: none; padding: 0; margin: 0 0 8px;
  color: var(--nh-red); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
.nh-vonis-end small { text-transform: none !important; letter-spacing: 0 !important; }

/* Lab Uji - rapikan tinggi tombol galeri + label tag sentence case */
.nh-uji-choose { align-items: start; }
.nh-uji-browse-btn { min-height: 110px; }
.nh-uji-results-wrap .nh-sbs-tag { text-transform: none !important; letter-spacing: 0 !important; }
.nh-vonis-end small { text-transform: none !important; letter-spacing: 0.01em !important; }
.nh-uji-pick-preview { background: var(--nh-bg-subtle) !important; }

/* Lab Uji - banner "contoh otomatis" (biar jelas ini demo, bukan foto user) */
.nh-uji-contoh-note {
  margin: 6px 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent-tint-bg);
  border-left: 3px solid var(--nh-red);
  color: var(--nh-text);
  font-size: 13.5px;
  line-height: 1.55;
}
.nh-uji-contoh-note b { color: var(--nh-heading); }

/* Lab Uji vonis: sub-note kecil di bawah nilai (klaster / kelas tradisional) */
.nh-vonis-subnote { display: block; font-size: 11px; color: var(--nh-muted); margin-top: 3px; }

/* =========================================================================
   LAB UJI - "Pilih Foto Patung" (dua kartu: Galeri Dataset | Unggah Sendiri)
   ========================================================================= */
.nh-uji-pick { margin: 4px 0 0; }
.nh-uji-pick-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.nh-uji-pick-headico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint-bg); color: var(--nh-red);
}
.nh-uji-pick-headico svg { width: 24px; height: 24px; }
.nh-uji-pick-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--nh-heading); }
.nh-uji-pick-subtitle { margin: 3px 0 0; font-size: 14px; color: var(--nh-muted); }

.nh-uji-pick-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 820px) { .nh-uji-pick-cols { grid-template-columns: 1fr; } }

.nh-uji-pcard {
  background: #fff; border: 1px solid var(--nh-border); border-radius: 14px;
  box-shadow: var(--card-shadow); padding: 20px 20px 22px;
}
.nh-uji-pcard-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.nh-uji-pcard-ico { flex-shrink: 0; color: var(--nh-red); display: inline-flex; margin-top: 1px; }
.nh-uji-pcard-ico svg { width: 24px; height: 24px; }
.nh-uji-pcard-ht { flex: 1; min-width: 0; }
.nh-uji-pcard-ht h4 { margin: 0; font-size: 17px; font-weight: 700; color: var(--nh-heading); }
.nh-uji-pcard-ht p { margin: 3px 0 0; font-size: 13px; color: var(--nh-muted); line-height: 1.45; }
.nh-uji-pcard-badge {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-tint-bg); color: var(--nh-red);
  font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
}
.nh-uji-badge-ico svg { width: 15px; height: 15px; display: block; }

/* Panel CTA merah ber-gradien (bukan blok merah polos) */
.nh-uji-browse-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 188px; padding: 26px 48px 26px 24px;
  border: none; border-radius: 14px; cursor: pointer; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.14), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(255,255,255,.10), transparent 42%),
    linear-gradient(135deg, #a62c21 0%, #7e1e16 100%);
  box-shadow: 0 6px 18px rgba(166,44,33,.26);
  overflow: hidden; letter-spacing: 0; text-transform: none;
  transition: transform .18s var(--ease-std), box-shadow .18s var(--ease-std);
}
.nh-uji-browse-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(166,44,33,.34); background:
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.16), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(255,255,255,.12), transparent 42%),
    linear-gradient(135deg, #b33124 0%, #871f17 100%); }
.nh-uji-browse-ico { width: 52px; height: 52px; opacity: .95; }
.nh-uji-browse-ico svg { width: 52px; height: 52px; }
.nh-uji-browse-title { font-size: 18px; font-weight: 700; }
.nh-uji-browse-sub { font-size: 12.5px; opacity: .85; }
.nh-uji-browse-arrow {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.nh-uji-browse-arrow svg { width: 18px; height: 18px; }

/* Kotak "Hasil Pilihan" di bawah CTA galeri */
.nh-uji-resultbox { margin-top: 14px; border: 1px solid var(--nh-border); border-radius: 12px; padding: 14px; background: var(--nh-bg-subtle); }
.nh-uji-resultbox-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.nh-uji-rb-ico { color: var(--nh-muted); display: inline-flex; margin-top: 1px; }
.nh-uji-rb-ico svg { width: 20px; height: 20px; }
.nh-uji-resultbox-head strong { display: block; font-size: 13.5px; color: var(--nh-heading); }
.nh-uji-resultbox-head span { font-size: 12px; color: var(--nh-muted); }

/* Dropzone ala mockup */
.nh-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; min-height: 196px;
  border: 2px dashed var(--nh-border); border-radius: 12px; padding: 24px 20px;
  cursor: pointer; background: var(--nh-bg-subtle);
  transition: border-color .18s var(--ease-std), background .18s var(--ease-std);
}
.nh-dropzone:hover, .nh-dropzone.aktif { border-color: var(--nh-red); background: var(--accent-tint-bg); }
.nh-dz-circle {
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent-tint-bg);
  color: var(--nh-red); display: flex; align-items: center; justify-content: center;
}
.nh-dz-circle svg { width: 26px; height: 26px; }
.nh-dropzone-title { font-size: 16px; font-weight: 700; color: var(--nh-heading); }
.nh-dropzone-sub { font-size: 13px; color: var(--nh-muted); }
.nh-dz-formats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.nh-dz-formats > span { font-size: 11.5px; font-weight: 600; color: var(--nh-text); background: #fff; border: 1px solid var(--nh-border); border-radius: 6px; padding: 3px 9px; }
.nh-dz-formats .nh-dz-sep { background: none; border: none; color: var(--nh-border); padding: 0; }

.nh-uji-pcard-info { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--nh-border); }
.nh-uji-info-ico { color: var(--nh-red); display: inline-flex; flex-shrink: 0; margin-top: 1px; }
.nh-uji-info-ico svg { width: 18px; height: 18px; }
.nh-uji-pcard-info > span:last-child { font-size: 12.5px; color: var(--nh-muted); line-height: 1.5; }

/* =========================================================================
   LAB UJI - vonis lebih MENONJOL (biar perbandingan pakem jelas terlihat)
   ========================================================================= */
.nh-uji-results-wrap .nh-vonis-box {
  padding: 24px 26px 22px;
  border-width: 1.5px;
  border-top-width: 4px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(60, 64, 67, 0.08);
  margin: 22px 0 6px;
}
.nh-vonis-box.benar { border-top-color: var(--nh-green); }
.nh-vonis-box.salah { border-top-color: var(--nh-red); }
.nh-vonis-head { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 18px; }
.nh-vonis-verdict-word {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1;
}
.nh-vonis-verdict-word.benar { color: var(--nh-green); }
.nh-vonis-verdict-word.salah { color: var(--nh-red); }
.nh-vonis-verdict-word.netral { color: var(--nh-muted); }
.nh-vonis-verdict-sub { display: block; font-size: 13px; color: var(--nh-muted); margin-top: 3px; }

.nh-vonis-end { padding: 18px 16px; }
.nh-vonis-end small { font-size: 11.5px; }
.nh-vonis-end strong { font-size: 30px; }
.nh-vonis-box.benar .nh-vonis-end { background: rgba(46, 125, 50, 0.07); border-color: rgba(46, 125, 50, 0.28); }
.nh-vonis-box.benar .nh-vonis-end strong { color: var(--nh-green); }
.nh-vonis-box.salah .nh-vonis-end.asli { background: rgba(46, 125, 50, 0.07); border-color: rgba(46, 125, 50, 0.28); }
.nh-vonis-box.salah .nh-vonis-end.tebak { background: rgba(166, 44, 33, 0.07); border-color: rgba(166, 44, 33, 0.28); }
.nh-vonis-box.salah .nh-vonis-end.tebak strong { color: var(--nh-red); }
.nh-vonis-badge { width: 46px; height: 46px; font-size: 23px; border-width: 4px; }
.nh-vonis-caption { font-size: 14.5px; margin-top: 16px; }
@media (max-width: 560px) {
  .nh-vonis-verdict-word { font-size: 20px; }
  .nh-vonis-end strong { font-size: 24px; }
}
