/* DOX marketing site. Material Design 3 tokens shared with the app (src/app/globals.css). */
:root {
  --primary: #005AC1;
  --on-primary: #FFFFFF;
  --primary-container: #D8E2FF;
  --on-primary-container: #001A41;
  --secondary: #006874;
  --on-secondary: #FFFFFF;
  --secondary-container: #9EEFFD;
  --on-secondary-container: #001F24;
  --tertiary: #984061;
  --tertiary-container: #FFD9E2;
  --on-tertiary-container: #3E001D;
  --warn: #8B5000;
  --warn-container: #FFDDB8;
  --on-warn-container: #2C1600;
  --error: #BA1A1A;
  --error-container: #FFDAD6;
  --on-error-container: #410002;
  --surface: #FDFBFF;
  --on-surface: #1D1B20;
  --on-surface-variant: #49454E;
  --lowest: #FFFFFF;
  --low: #F8F5FB;
  --container: #F2EEF6;
  --high: #EAE5F0;
  --highest: #E2DDE8;
  --outline: #79747E;
  --outline-variant: #CAC4D0;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-full: 9999px;

  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-logo: 'Outfit', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --el-1: 0 1px 3px 1px rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  --el-2: 0 2px 6px 2px rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.09);
  --el-3: 0 4px 10px 3px rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.1);

  /* Aksen edisi: bawaan = primary; .ed-<kunci> (blok situs:accents di bawah) menggantinya per edisi. */
  --ed-accent: var(--primary);
  --ed-accent-container: var(--primary-container);

  --max: 1152px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Material Symbols */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  width: 1em; height: 1em;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  flex-shrink: 0;
}
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.ms.s18 { font-size: 18px; } .ms.s20 { font-size: 20px; } .ms.s16 { font-size: 16px; }

/* Typography */
.logo {
  font-family: var(--font-logo);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #000;
}
.logo b { color: var(--primary); font-weight: inherit; }
.over {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.over.muted { color: var(--on-surface-variant); }
.h1 {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--on-surface);
}
.h2 {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-top: 10px;
  max-width: 22em;
}
.h3 {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead { font-size: 18px; line-height: 1.55; color: var(--on-surface-variant); max-width: 40em; }
.body { font-size: 16px; line-height: 1.6; color: var(--on-surface-variant); max-width: 44em; }
.body + .body { margin-top: 12px; }
.sect-head { margin-bottom: 36px; }
.sect-head .lead, .sect-head .body { margin-top: 16px; }

/* Buttons: M3 pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 500; font-size: 15px; line-height: 1;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn .ms { font-size: 18px; }
.btn-filled { background: var(--ed-accent); color: var(--on-primary); box-shadow: var(--el-1); }
.btn-filled:hover { box-shadow: var(--el-2); transform: translateY(-1px); filter: brightness(1.1); }
.btn-tonal { background: var(--ed-accent-container); color: var(--on-primary-container); }
.btn-tonal:hover { transform: translateY(-1px); filter: brightness(.97); }
.btn-outlined { border: 1px solid var(--outline); color: var(--primary); }
.btn-outlined:hover { background: rgba(0, 90, 193, 0.06); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Cards */
.card {
  background: var(--lowest);
  border-radius: var(--r-lg);
  box-shadow: var(--el-1);
  color: var(--on-surface);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--el-3); }
.tonal {
  background: var(--container);
  border: 1px solid rgba(202, 196, 208, 0.4);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-sm); flex-shrink: 0;
}

.badge {
  display: inline-block; white-space: nowrap;
  border-radius: var(--r-full); padding: 3px 8px;
  font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.02em;
  background: var(--high); color: var(--on-surface-variant);
}
.badge.hijau { background: var(--secondary-container); color: var(--on-secondary-container); }
.badge.kuning { background: var(--warn-container); color: var(--on-warn-container); }
.badge.merah { background: var(--error-container); color: var(--on-error-container); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.g { background: #2e7d32; } .dot.a { background: #ef8f00; } .dot.r { background: var(--error); }

/* Layout grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
section { padding: 88px 0; scroll-margin-top: 72px; }
.band { background: var(--low); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(202, 196, 208, 0.4);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.top .logo { font-size: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 11px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--on-surface-variant); transition: background .15s, color .15s; }
.nav a:hover { background: var(--container); color: var(--on-surface); }
.top-cta { display: flex; align-items: center; gap: 8px; }
.top-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--container); }
.drawer {
  display: none; position: fixed; inset: 64px 0 auto 0; z-index: 49;
  background: var(--lowest); box-shadow: var(--el-3);
  padding: 8px 16px 16px; border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.drawer a { display: block; padding: 12px 8px; font-weight: 500; border-bottom: 1px solid rgba(202,196,208,.35); }
.drawer a:last-of-type { border-bottom: 0; }
.drawer .row { display: flex; gap: 8px; margin-top: 12px; }
.drawer .row .btn { flex: 1; }
body.menu-open .drawer { display: block; }

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(216, 226, 255, 0.7), transparent 70%),
              radial-gradient(40% 50% at 15% 60%, rgba(158, 239, 253, 0.35), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero-copy .lead { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--on-surface-variant); display: flex; gap: 8px; align-items: center; }
.hero-note .ms { color: var(--secondary); }

/* Hero animation stage */
.stage {
  position: relative;
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  padding: 20px;
  background: var(--lowest);
  border-radius: var(--r-xl);
  box-shadow: var(--el-2);
  border: 1px solid rgba(202,196,208,.35);
  min-height: 420px;
}
.stage-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.stage-head .over { color: var(--on-surface-variant); }
.stage-status { font-size: 12px; color: var(--on-surface-variant); display: flex; gap: 6px; align-items: center; min-height: 20px; }
.stage-status .ms { font-size: 16px; color: var(--secondary); }
.pile {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-md);
  background: repeating-linear-gradient(0deg, transparent 0 15px, rgba(202,196,208,.18) 15px 16px), var(--low);
  border: 1px dashed var(--outline-variant);
}
.pile-label { position: absolute; left: 12px; top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-variant); }
.pile-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--on-surface-variant); font-size: 13px; opacity: 0; transition: opacity .4s;
}
.pile-empty .ms { font-size: 28px; color: var(--secondary); }
.pile.done .pile-empty { opacity: 1; }
.chip {
  position: absolute; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: var(--lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--r-sm);
  box-shadow: var(--el-1);
  font-size: 12px; line-height: 1.25;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  transition: transform .5s var(--ease), opacity .3s, box-shadow .3s, background .3s, border-color .3s;
  z-index: 3;
  opacity: 0;
}
.chip .ms { font-size: 18px; color: var(--on-surface-variant); transition: color .3s; }
.chip .name { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-surface); }
.chip .bar { position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; background: var(--primary-container); border-radius: 1px; transform: scaleX(0); transform-origin: left; opacity: 0; }
.chip .bar::after { content: ''; position: absolute; inset: 0; background: var(--primary); transform-origin: left; transform: scaleX(0); }
.chip.reading .bar { opacity: 1; transform: scaleX(1); transition: opacity .2s; }
.chip.reading .bar::after { animation: readbar .8s var(--ease) forwards; }
@keyframes readbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chip.in { opacity: 1; }
.chip.active { z-index: 6; box-shadow: var(--el-3); border-color: var(--primary); }
.chip.named { background: var(--primary-container); border-color: transparent; }
.chip.named .ms { color: var(--primary); }
.chip.named .name { font-family: var(--font-body); font-weight: 500; white-space: normal; font-size: 12px; color: var(--on-primary-container); }
.chip.gone { opacity: 0; transition: opacity .2s; pointer-events: none; }

.shelf { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.entity { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--high); border-radius: var(--r-sm); font-weight: 700; font-size: 13px; }
.entity .ms { font-size: 18px; color: var(--primary); }
.entity .badge { margin-left: auto; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; }
.room { background: var(--low); border: 1px solid rgba(202,196,208,.5); border-radius: var(--r-md); padding: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.room-name { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 2px 2px 0; }
.room-name .ms { font-size: 16px; }
.cab { background: var(--lowest); border: 1px solid rgba(202,196,208,.5); border-radius: var(--r-sm); padding: 6px; }
.cab-name { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-surface-variant); padding: 0 2px 4px; }
.drawer-row { font-size: 10px; color: var(--on-surface-variant); padding: 2px 2px 3px; display: flex; align-items: center; gap: 4px; }
.drawer-row .ms { font-size: 13px; }
.slot {
  min-height: 34px; margin-top: 4px;
  border: 1px dashed var(--outline-variant); border-radius: 6px;
  padding: 5px 7px; font-size: 10.5px; line-height: 1.3;
  display: flex; align-items: center; gap: 5px;
  color: transparent;
  transition: border-color .3s, background .3s, color .3s;
}
.slot .ms { font-size: 14px; opacity: 0; transition: opacity .3s; }
.slot.filled { border-style: solid; border-color: transparent; background: var(--primary-container); color: var(--on-primary-container); font-weight: 500; }
.slot.filled .ms { opacity: 1; color: var(--primary); }
.slot.filled.pop { animation: slotpop .4s var(--ease); }
@keyframes slotpop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.chip.flying { position: absolute; z-index: 60; pointer-events: none; margin: 0; right: auto; opacity: 1; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.show { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }

/* Feature cards */
.feat { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.feat .h3 { margin-top: 4px; }
.feat p { color: var(--on-surface-variant); font-size: 15px; line-height: 1.55; }
.feat .num { font-family: var(--font-logo); font-weight: 800; font-size: 13px; color: var(--primary); letter-spacing: .04em; }
.feat ul.list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.feat ul.list li { font-size: 11px; padding: 3px 8px; border-radius: var(--r-full); background: var(--container); color: var(--on-surface-variant); }
.fact { background: var(--container); border: 1px solid rgba(202,196,208,.4); border-radius: var(--r-md); padding: 10px 12px; }
.fact .over { color: var(--on-surface-variant); }
.fact .v { font-size: 14px; font-weight: 500; margin-top: 3px; }
.fact .v .ms { font-size: 16px; vertical-align: -3px; color: var(--secondary); margin-right: 3px; }

/* Structure: treemap + tree */
.peta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; }
.tree { padding: 16px 12px; font-size: 13px; }
.tree li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-sm); }
.tree li:hover { background: var(--low); }
.tree li .ms { font-size: 18px; color: var(--on-surface-variant); }
.tree li .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree li .c { font-family: var(--font-mono); font-size: 11px; color: var(--on-surface-variant); }
.tree .l1 { font-weight: 700; } .tree .l1 .ms { color: var(--primary); }
.tree .l2 { padding-left: 28px; } .tree .l3 { padding-left: 50px; font-size: 12.5px; color: var(--on-surface-variant); }

/* Knows cards */
.chain { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.chain li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--on-surface-variant); padding: 0 0 10px; position: relative; }
.chain li::before { content: ''; position: absolute; left: 8px; top: 16px; bottom: -2px; width: 2px; background: var(--outline-variant); }
.chain li:last-child::before { display: none; }
.chain .pt { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary-container); color: var(--primary); position: relative; z-index: 1; }
.chain .pt .ms { font-size: 12px; }
.chain .pt.sk { background: var(--secondary-container); color: var(--secondary); }
.chain b { display: block; color: var(--on-surface); font-weight: 500; }
.gap { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--on-surface-variant); padding: 8px 10px; background: var(--warn-container); border-radius: var(--r-sm); color: var(--on-warn-container); margin-top: 6px; }
.gap .ms { font-size: 16px; }
.gap + .gap { margin-top: 6px; }
.mini { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.mini .icon-box { width: 36px; height: 36px; }
.mini .icon-box .ms { font-size: 20px; }
.mini h4 { font-family: var(--font-logo); font-weight: 700; font-size: 15px; }
.mini p { font-size: 13.5px; color: var(--on-surface-variant); line-height: 1.5; margin-top: 3px; }
.mini code { font-family: var(--font-mono); font-size: 12px; background: var(--high); padding: 1px 5px; border-radius: 4px; }
.tasks .th { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 10px; }
.tasks .th .h3 { font-size: 17px; }
.task { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid rgba(202,196,208,.35); font-size: 13px; }
.task .icon-box { width: 36px; height: 36px; }
.task .icon-box .ms { font-size: 20px; }
.task .t { font-weight: 500; }
.task .s { font-size: 12px; color: var(--on-surface-variant); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.task .s .ms { font-size: 14px; vertical-align: -2px; }
.task .r { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.task .due { font-family: var(--font-mono); font-size: 12px; color: var(--on-surface-variant); }
.task .due.soon { color: var(--warn); font-weight: 700; }
.task .due.late { color: var(--error); font-weight: 700; }
.owner { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.owner i { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; font-style: normal; color: #fff; }
.decision { margin-top: 16px; border-left: 4px solid var(--primary); }
.decision .acts { display: flex; gap: 8px; padding: 0 18px 16px; }
.decision .acts .btn { height: 36px; padding: 0 16px; font-size: 13px; }
.callout { margin-top: 48px; padding: 40px 44px; border-radius: var(--r-xl); background: var(--primary-container); border: 0; color: var(--on-primary-container); }
.callout .h3 { font-size: clamp(22px, 2.6vw, 30px); max-width: 20em; }
.callout .body { color: var(--on-primary-container); opacity: .85; margin-top: 10px; max-width: 46em; }
.callout .hero-cta { margin-top: 24px; }
.callout .btn-outlined { border-color: var(--primary); background: rgba(255,255,255,.5); }

/* Access */
.access .feat { gap: 10px; }
.access .feat h3 { font-size: 18px; }
.access .feat p { font-size: 14.5px; }
.access .icon-box { width: 44px; height: 44px; border-radius: var(--r-md); }

/* Harga: model tanpa angka (SPEC 17.4): tiga poin, grafik tangga, catatan, "Hubungi kami". */
.price-model { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.price-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price-point { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; min-width: 0; }
.price-point > div { min-width: 0; }
.price-point .h3 { font-size: 18px; }
.price-point p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--on-surface-variant); }
.price-curve { margin: 0; padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; color: var(--ed-accent); }
.price-curve svg { display: block; width: 100%; height: auto; }
.price-curve .area { fill: var(--ed-accent-container); opacity: .6; }
.price-curve .line { stroke: currentColor; }
.price-curve .dot circle { fill: var(--lowest); stroke: currentColor; }
.price-curve .ax { font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--on-surface-variant); }
.price-curve .ax-x { align-self: flex-end; }
.price-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 24px; font-size: 13px; color: var(--on-surface-variant); }
.price-notes span { display: inline-flex; align-items: center; gap: 6px; }
.price-notes .ms { font-size: 16px; color: var(--ed-accent); }
.price-ask { max-width: 640px; margin: 28px auto 0; text-align: center; }
.price-ask .body { margin: 0 auto; }
.price-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
@media (max-width: 840px) {
  .price-model { grid-template-columns: minmax(0, 1fr); }
  .price-curve { width: 100%; max-width: 480px; margin: 0 auto; }
}

/* Coming next */
.next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.next .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-variant); margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.next .lbl .ms { font-size: 16px; color: var(--warn); }

/* Close */
.close { text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.close::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(216, 226, 255, 0.8), transparent 70%); pointer-events: none; }
.close .wrap { position: relative; }
.close .h1 { font-size: clamp(40px, 6vw, 64px); }
.close .lead { margin: 18px auto 0; }
.close .hero-cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid rgba(202,196,208,.4); padding: 28px 0 40px; font-size: 13px; color: var(--on-surface-variant); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
footer .logo { font-size: 22px; }
footer nav { display: flex; gap: 16px; margin-left: auto; }
footer nav a:hover { color: var(--on-surface); text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .callout { padding: 28px 22px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
/* Header: the nav collapses into the menu before it can push the language switch and trial button off the edge (Indonesian labels are wider). */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 840px) {
  .grid-3 { grid-template-columns: 1fr; }
  .peta { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
}
@media (max-width: 640px) {
  .stage { grid-template-columns: 1fr; padding: 14px; min-height: 0; }
  .stage-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pile { min-height: 268px; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .rooms .room:last-child { grid-column: 1 / -1; }
  .price-point { padding: 18px; gap: 14px; }
  .price-cta .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .task { grid-template-columns: 36px 1fr; }
  .callout .hero-cta .btn { width: 100%; }
  .task .r { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .feat { padding: 20px; }
  .decision .acts { flex-wrap: wrap; }
  footer nav { margin-left: 0; width: 100%; }
}

/* Reduced motion: no transitions, show final states. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .card.lift:hover, .btn:hover { transform: none; }
}

/* ---------- Language pill ---------- */
.lang { display: inline-flex; border: 1px solid var(--outline-variant); border-radius: var(--r-full); padding: 2px; background: var(--lowest); }
.lang button { height: 30px; min-width: 38px; padding: 0 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--on-surface-variant); transition: background .15s, color .15s; }
.lang button:hover { background: var(--container); }
.lang button[aria-pressed="true"] { background: var(--primary-container); color: var(--on-primary-container); }

/* ---------- Illustrations ---------- */
.ill { margin: 0; width: 100%; max-width: 320px; justify-self: end; }
.ill svg { width: 100%; height: auto; display: block; }
.ill-center { margin: 0 auto 20px; max-width: 260px; justify-self: center; }
.ill .draw { stroke-dasharray: 900; stroke-dashoffset: 900; }
.rv.show .ill .draw { animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Features page ---------- */
.fhero { padding: 56px 0 40px; }
.fhero .h1 { font-size: clamp(36px, 5vw, 56px); }
.fhero .lead { margin-top: 14px; }
.fgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 48px; }
.findex { position: sticky; top: 84px; }
.findex .over { margin-bottom: 8px; }
.findex a { display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: var(--r-sm); font-size: 13px; color: var(--on-surface-variant); border-left: 2px solid transparent; }
.findex a b { font-family: var(--font-mono); font-size: 10px; color: var(--outline); font-weight: 400; min-width: 16px; }
.findex a:hover { background: var(--container); color: var(--on-surface); }
.findex a.cur { color: var(--primary); border-left-color: var(--primary); background: var(--low); font-weight: 500; }
.fmain { display: flex; flex-direction: column; gap: 20px; }
.fsec { padding: 28px 32px; scroll-margin-top: 84px; }
.fsec-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; }
.fsec-head .num { font-family: var(--font-logo); font-weight: 800; font-size: 12px; color: var(--primary); letter-spacing: .08em; }
.fsec-head .h3 { font-size: 24px; margin-top: 2px; }
.fsec-head .body { margin-top: 8px; }
.ill-mini { margin: 0; width: 96px; }
.ill-mini svg { width: 100%; height: auto; display: block; }
.fl { margin-top: 18px; display: grid; gap: 8px; }
.fl li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--on-surface); }
.fl li::before { content: 'check'; font-family: 'Material Symbols Outlined'; font-size: 16px; position: absolute; left: 2px; top: 3px; color: var(--secondary); font-variation-settings: 'wght' 600; }
.fl li s { color: var(--on-surface-variant); }
.fsec.todo .fl li::before { content: 'construction'; color: var(--warn); }
.fsec.todo { background: var(--low); box-shadow: none; border: 1px dashed var(--outline-variant); }
.fhint { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--on-surface-variant); background: var(--container); border-radius: var(--r-full); padding: 5px 12px; }
.fhint .ms { color: var(--primary); }
.fsec.big .fsec-head { grid-template-columns: minmax(0, 1fr); }
.ill-chain { margin: 22px 0 0; width: 100%; }
.ill-chain svg { width: 100%; height: auto; display: block; }
.fcta { margin-top: 8px; }
.findex-mobile { display: none; }
@media (max-width: 1024px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .findex { display: none; }
  .findex-mobile { display: flex; flex-wrap: wrap; gap: 6px; }
  .findex-mobile a { font-size: 12px; padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--outline-variant); color: var(--on-surface-variant); background: var(--lowest); }
}
@media (max-width: 840px) {
  .ill { max-width: 260px; justify-self: start; }
  .ill-center { justify-self: center; }
  .top-cta .lang button { min-width: 34px; padding: 0 8px; }
}
@media (max-width: 640px) {
  .fsec { padding: 22px 18px; }
  .fsec-head { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .fsec-head .h3 { font-size: 20px; }
  .ill-mini { width: 72px; }
  .top .logo { font-size: 24px; }
  .top-cta .btn-filled { padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ill .draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
}

/* ---------- Spot illustrations, dividers, footer brand ---------- */
.spot { display: block; width: 56px; height: 56px; flex-shrink: 0; }
.spot svg { width: 100%; height: 100%; display: block; }
.mini .spot { width: 48px; height: 48px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand .by { font-size: 13px; color: var(--on-surface-variant); }
@media (max-width: 640px) {
  .ill-chain { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: -4px; margin-right: -4px; padding-bottom: 6px; }
  .ill-chain svg { min-width: 540px; }
}
.fmain, .fsec { min-width: 0; }
.ill-chain { max-width: 100%; }

/* ---------- Legal pages (Ketentuan, Privasi) ---------- */
.page-legal .fhero .h1 { font-size: clamp(36px, 5vw, 56px); }
.lupdated { margin-top: 10px; font-size: 13px; color: var(--on-surface-variant); }
.ldraft { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; max-width: 46em; background: var(--warn-container); color: var(--on-warn-container); border-radius: var(--r-md); padding: 14px 16px; }
.ldraft .ms { color: var(--warn); margin-top: 1px; }
.ldraft b { display: block; font-size: 14.5px; }
.ldraft p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; opacity: .9; }
.larticle { padding: 8px 36px 28px; }
.page-legal .fgrid { padding-top: 40px; }
.lsec { padding: 26px 0 22px; border-top: 1px solid var(--outline-variant); scroll-margin-top: 84px; }
.lsec:first-child { border-top: 0; }
.lsec .h3 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; }
.lsec .num { font-family: var(--font-logo); font-weight: 800; font-size: 12px; color: var(--primary); letter-spacing: .08em; }
.lbody { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--on-surface-variant); max-width: 46em; }
.lbody p + p { margin-top: 10px; }
.lbody ul { display: grid; gap: 8px; padding-left: 0; list-style: none; }
.lbody li { position: relative; padding-left: 22px; }
.lbody li::before { content: ''; position: absolute; left: 6px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.lbody a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.lbody strong { color: var(--on-surface); }
.lother { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--outline-variant); }
.lother a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 500; }
@media (max-width: 900px) { .larticle { padding: 4px 20px 22px; } }

/* ---------- Kerangka bersama (scripts/situs/template.mjs) ---------- */
.center { text-align: center; }
.sect-head.center .h2, .sect-head.center .body { margin-left: auto; margin-right: auto; }

/* Halaman edisi: label kecil memakai aksen edisinya. */
body[data-edisi] main .over { color: var(--ed-accent); }

/* Menu "Edisi" di header (details); di laci menjadi daftar biasa. */
.edmenu { position: relative; }
.edmenu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 2px;
  padding: 8px 8px 8px 12px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; white-space: nowrap;
  color: var(--on-surface-variant); transition: background .15s, color .15s;
}
.edmenu summary::-webkit-details-marker { display: none; }
.edmenu summary:hover, .edmenu[open] summary { background: var(--container); color: var(--on-surface); }
.edmenu summary .ms { font-size: 18px; transition: transform .2s var(--ease); }
.edmenu[open] summary .ms { transform: rotate(180deg); }
.edmenu summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.edmenu-list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 260px;
  display: grid; gap: 2px; padding: 8px;
  background: var(--lowest); border-radius: var(--r-lg); box-shadow: var(--el-3); border: 1px solid rgba(202,196,208,.4);
}
.nav .edmenu-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-md); color: var(--on-surface); }
.nav .edmenu-list a:hover, .nav .edmenu-list a[aria-current="page"] { background: var(--ed-accent-container); }
.nav a[aria-current="page"] { color: var(--on-surface); background: var(--container); }
.ed-ic {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--ed-accent-container); color: var(--ed-accent);
}
.ed-ic .ms { font-size: 18px; }
.drawer-over { display: block; padding: 10px 8px 4px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-variant); }
.drawer .drawer-ed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid rgba(202,196,208,.35); }
.drawer .drawer-ed a { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: var(--r-md); font-size: 14px; min-width: 0; }
.drawer .drawer-ed a[aria-current="page"] { background: var(--ed-accent-container); }
.drawer .drawer-ed .ed-ic { width: 28px; height: 28px; }
.drawer .row .btn { display: inline-flex; padding: 0 22px; border-bottom: 0; }
@media (max-width: 400px) { .drawer .drawer-ed { grid-template-columns: minmax(0, 1fr); } }

/* Hero tanpa visual (halaman edisi boleh memilihnya). */
.hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
.hero-grid.solo .hero-copy { max-width: 760px; }
body[data-page="hub"] .hero .h1 { font-size: clamp(40px, 5.2vw, 64px); }

/* Hero dengan ilustrasi industri (hero.visual sebagai fungsi): teks lebih lebar, ilustrasi di kanan ≥ 1001 px,
   di bawah teks pada layar lebih sempit (aturan .hero-grid ≤ 1024 px tidak berlaku di sini karena .vis lebih spesifik). */
.hero-grid.vis { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.hero-grid.vis .h1 { font-size: clamp(38px, 4.6vw, 60px); }
.hero-visual { min-width: 0; }
@media (max-width: 1000px) {
  .hero-grid.vis { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual { max-width: 560px; }
}

/* Halaman edisi: langkah dan penutup memakai aksen edisi (hub tetap memakai biru bawaan); harga memakai --ed-accent langsung. */
body[data-edisi] .hero-note .ms { color: var(--ed-accent); }
body[data-edisi] .close::before { background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--ed-accent-container) 85%, transparent), transparent 70%); }
body[data-edisi] .close .ill [fill="#D8E2FF"] { fill: var(--ed-accent-container); }
body[data-edisi] .close .ill [fill="#9EEFFD"] { fill: color-mix(in srgb, var(--ed-accent) 30%, #fff); }

/* Kartu edisi di hub: 3 + 2 di layar lebar. */
.edcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.edcard { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-top: 4px solid var(--ed-accent); }
.edcard:nth-child(4) { grid-column: 2 / span 2; }
.edcard:hover { transform: translateY(-3px); box-shadow: var(--el-3); }
.edcard-top { display: flex; align-items: center; gap: 12px; }
.edcard-top .ed-ic { width: 44px; height: 44px; border-radius: var(--r-md); }
.edcard-top .ed-ic .ms { font-size: 24px; }
.edcard-top .h3 { font-size: 21px; }
.edcard p { font-size: 15px; line-height: 1.55; color: var(--on-surface-variant); flex: 1; }
.edcard-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.edcard-acts .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.edcard-acts .btn-outlined { border-color: var(--outline-variant); color: var(--ed-accent); position: relative; z-index: 1; background: var(--lowest); }
/* Seluruh kartu membuka halaman edisi; tombol demo tetap di atasnya. Tautan utama tidak boleh memakai filter/transform
   saat hover: keduanya menjadikannya blok penampung ::after, sehingga area klik menyusut dan hover berkedip. */
.edcard-main::after { content: ''; position: absolute; inset: 0; }
.edcard .edcard-main:hover { transform: none; filter: none; }
.edcard:hover .edcard-main { box-shadow: var(--el-2); background: color-mix(in srgb, var(--ed-accent) 88%, #fff); }

/* Pertanyaan pagi + cuplikan tampilan khas. */
.q-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.q-text { position: relative; padding-left: 20px; border-left: 4px solid var(--ed-accent); font-size: clamp(24px, 3vw, 34px); }
.q-copy .body { margin-top: 16px; }
/* Kalimat bersama SPEC 19.5 di bawah cuplikan halaman edisi: tab dan jenis disusun dari dokumen. */
.q-tabs { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; max-width: 820px; font-size: 14.5px; line-height: 1.55; color: var(--on-surface-variant); }
.q-tabs .ms { color: var(--ed-accent); font-size: 20px; margin-top: 1px; }
.preview { padding: 20px; min-width: 0; font-size: 13px; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pv-head .over { color: var(--on-surface-variant); }
.pv-list { display: grid; gap: 6px; }
.pv-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--low); border: 1px solid rgba(202,196,208,.4); }
/* Status di cuplikan: pil tonal merah / kuning / hijau. */
.st-red, .st-amber, .st-green {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  border-radius: var(--r-full); padding: 3px 9px 3px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.2;
}
.st-red::before, .st-amber::before, .st-green::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.st-red { background: var(--error-container); color: var(--on-error-container); }
.st-red::before { background: var(--error); }
.st-amber { background: var(--warn-container); color: var(--on-warn-container); }
.st-amber::before { background: #ef8f00; }
.st-green { background: #cfeee3; color: #0b3b2d; }
.st-green::before { background: #2e7d32; }

/* Yang DOX tangkap. */
.catch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.catch { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.catch .h3 { font-size: 18px; margin-top: 4px; }
.catch p { font-size: 14.5px; line-height: 1.55; color: var(--on-surface-variant); }
.catch .catch-doc { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(202,196,208,.4); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; }
.catch-doc .ms { font-size: 16px; color: var(--ed-accent); }
.catch-doc .lbl { color: var(--on-surface-variant); }
.catch-doc b { font-weight: 500; color: var(--on-surface); }
.ed-tone { background: var(--ed-accent-container); color: var(--ed-accent); }

/* Dokumen yang DOX kenali. */
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: var(--r-full); background: var(--lowest); border: 1px solid var(--outline-variant); font-size: 14px; font-weight: 500; }
.doc-chip .ms { font-size: 18px; color: var(--ed-accent); }

/* Alur tiga langkah. */
.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--lowest); box-shadow: var(--el-1); }
.step > .ms { position: absolute; top: 24px; right: 24px; color: var(--ed-accent); font-size: 26px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ed-accent); color: #fff; font-family: var(--font-logo); font-weight: 800; font-size: 16px; }
.step .h3 { font-size: 18px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--on-surface-variant); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 41px; left: calc(100% + 2px); width: 16px; height: 2px; background: var(--outline-variant); }

/* Kaki: nama edisi. */
footer .foot-ed { flex-wrap: wrap; gap: 6px 16px; }
footer .foot-legal { margin-left: 0; padding-left: 24px; border-left: 1px solid var(--outline-variant); }
@media (max-width: 1024px) { footer .foot-legal { padding-left: 0; border-left: 0; } footer .foot-ed { margin-left: 0; width: 100%; } }
.foot-ed a:hover, .foot-legal a:hover { color: var(--on-surface); text-decoration: underline; }

@media (max-width: 1024px) {
  .q-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .catch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edcard, .edcard:nth-child(4) { grid-column: auto; }
  .edcard:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 840px) {
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { top: auto; bottom: -16px; left: 41px; width: 2px; height: 12px; }
}
@media (max-width: 640px) {
  .edcards, .catch-grid { grid-template-columns: minmax(0, 1fr); }
  .edcard { padding: 20px; }
  .edcard-acts .btn { flex: 1 1 auto; }
  .preview { padding: 14px; }
  .q-text { padding-left: 14px; }
}

/* ---------- Edisi Legal & Corsec: dua tab berdampingan (Hitung mundur RUPS, Radar tenggat pemberitahuan; SPEC 18.5–18.6) ---------- */
/* Pertanyaan di atas, cuplikan selebar halaman agar kedua tab muat berdampingan. */
.ed-legal .q-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ed-legal .q-copy { max-width: 820px; }
.lx { color: var(--on-surface); }
/* Pil netral "menunggu" berbentuk sama dengan .st-*; di cuplikan semua pil boleh membungkus dengan sudut yang sama. */
.lx-wait {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px;
  font-size: 11.5px; font-weight: 700; line-height: 1.2; background: var(--container); color: var(--on-surface-variant);
}
.lx .st-red, .lx .st-amber, .lx .st-green, .lx .lx-wait { white-space: normal; align-self: flex-start; border-radius: 10px; }
.lx-wait::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--outline); flex-shrink: 0; }
.lx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 2px 2px 14px; }
.lx-co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.lx-co .ms { color: var(--ed-accent); font-size: 20px; }
.lx-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--on-surface-variant); }
.lx-sample { padding: 2px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.lx-panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lx-pane { min-width: 0; border: 1px solid rgba(202,196,208,.6); border-radius: var(--r-md); background: var(--lowest); overflow: hidden; }
.lx-ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ed-accent-container); }
.lx-ph > .ms { color: var(--ed-accent); font-size: 20px; }
.lx-tab { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lx-pack { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.lx-tab b { font-size: 14px; font-weight: 700; }
.lx-badge { margin-left: auto; flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-full); background: var(--error); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.lx-body { padding: 14px; }

/* Hitung mundur RUPS: kepala dengan sisa hari, lalu tangga langkah bertanggal dengan bukti per langkah. */
.lx-agm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(202,196,208,.45); }
.lx-agm b { display: block; font-size: 14px; }
.lx-agm > div:first-child span { display: block; margin-top: 2px; font-size: 12px; color: var(--on-surface-variant); }
.lx-count { flex-shrink: 0; text-align: center; line-height: 1; }
.lx-count b { font-family: var(--font-logo); font-weight: 800; font-size: 34px; color: var(--ed-accent); }
.lx-count span { display: block; margin-top: 3px; font-size: 11px; color: var(--on-surface-variant); }
.lx-steps { list-style: none; margin: 10px 0 0; padding: 0; }
.lx-steps li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding: 6px 0; align-items: start; }
.lx-steps li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 30px; bottom: -6px; width: 2px; background: var(--high); }
.lx-steps li.lx-done:not(:last-child)::after { background: #2e7d32; }
.lx-dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--outline-variant); background: var(--lowest); }
.lx-dot .ms { font-size: 14px; font-weight: 700; }
.lx-done .lx-dot { border-color: #2e7d32; background: #2e7d32; color: #fff; }
.lx-late .lx-dot { border-color: var(--error); background: var(--error-container); color: var(--error); }
.lx-st { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 1px; }
.lx-st b { font-size: 13px; font-weight: 500; }
.lx-next .lx-st b { color: var(--on-surface-variant); }
.lx-proof { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #1b5e20; }
.lx-proof .ms { font-size: 15px; }
.lx-sub { font-size: 12px; color: var(--on-surface-variant); }
.lx-date { padding-top: 2px; font-family: var(--font-mono); font-size: 12px; color: var(--on-surface-variant); white-space: nowrap; text-align: right; }
.lx-late .lx-date { color: var(--error); font-weight: 700; }
.lx-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.lx-note .ms { font-size: 16px; color: var(--ed-accent); }

/* Radar: tanggal terakhir pemberitahuan sebagai kolom kunci di kiri; tanggal berakhir hanya keterangan. */
.lx-sort { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.lx-sort .ms { font-size: 16px; color: var(--ed-accent); }
.lx-cols { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; margin-top: 12px; padding-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-surface-variant); }
.lx-cols span:first-child { text-align: center; }
.lx-radar { list-style: none; margin: 0; padding: 0; }
.lx-radar li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(202,196,208,.45); }
.lx-when { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; align-self: start; padding: 7px 4px; border-radius: var(--r-sm); background: var(--low); text-align: center; }
.lx-when b { font-family: var(--font-logo); font-weight: 800; font-size: 15px; line-height: 1.1; }
.lx-when span { font-size: 11px; color: var(--on-surface-variant); }
.lx-late .lx-when { background: var(--error-container); color: var(--on-error-container); }
.lx-late .lx-when span { color: var(--on-error-container); }
.lx-soon .lx-when { background: var(--warn-container); color: var(--on-warn-container); }
.lx-soon .lx-when span { color: var(--on-warn-container); }
.lx-what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lx-what > b { font-size: 13px; font-weight: 500; }
.lx-party { font-size: 12px; color: var(--on-surface-variant); }
.lx-end { font-size: 11.5px; color: var(--outline); }
.lx-what .st-red, .lx-what .st-amber, .lx-what .st-green, .lx-what .lx-wait { margin-top: 3px; }

/* Ilustrasi hero: rantai akta → SK AHU → penerimaan pemberitahuan; mata ketiga tiba sekali dengan gerak halus
   (keadaan akhir = gaya dasar, jadi prefers-reduced-motion cukup mematikan animasinya). */
.dchain { padding: 20px; }
.dc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(202,196,208,.45); }
.dc-head .over { width: 100%; }
.dc-co { font-weight: 700; font-size: 14px; }
.dc-count { margin-left: auto; font-size: 12px; color: var(--on-surface-variant); }
.dc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.dc-node { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.dc-node:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: -14px; width: 2px; background: var(--ed-accent); opacity: .35; transform-origin: top; }
.dc-ic { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--ed-accent-container); color: var(--ed-accent); }
.dc-ic .ms { font-size: 22px; }
.dc-doc { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--low); border: 1px solid rgba(202,196,208,.45); }
.dc-doc b { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.dc-name { font-family: var(--font-mono); font-size: 11.5px; color: var(--on-surface-variant); overflow-wrap: anywhere; }
.dc-doc .st-green { align-self: flex-start; white-space: normal; border-radius: 10px; margin-top: 2px; }
.dc-next { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ed-accent-container); font-size: 12.5px; line-height: 1.45; }
.dc-next .ms { color: var(--ed-accent); font-size: 18px; }
.dc-node:nth-child(2)::after { animation: dc-line .6s var(--ease) .4s both; }
.dc-new .dc-doc { animation: dc-in .7s var(--ease) .8s both; }
.dc-new .dc-ic { animation: dc-ping 1.6s var(--ease) 1.4s both; }
@keyframes dc-line { from { transform: scaleY(0); } to { transform: none; } }
@keyframes dc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dc-ping { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ed-accent) 45%, transparent); } to { box-shadow: 0 0 0 14px transparent; } }

@media (max-width: 760px) {
  .lx-panes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lx-body { padding: 12px; }
  .lx-count b { font-size: 28px; }
}

/* ---------- Edisi Tambang: "Boleh menambang & menjual?" + Produksi vs kuota RKAB (SPEC 18.7), Tangga IUP di hero ---------- */
/* Pertanyaan di atas, cuplikan selebar halaman agar kedua tab muat berdampingan. */
.ed-tambang .q-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ed-tambang .q-copy { max-width: 820px; }
.tb { color: var(--on-surface); }
.tb .st-red, .tb .st-amber, .tb .st-green { white-space: normal; border-radius: 10px; }
.tb-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 2px 2px 14px; }
.tb-co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.tb-co .ms { color: var(--ed-accent); font-size: 20px; }
.tb-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--on-surface-variant); }
.tb-sample { padding: 2px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.tb-panes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.tb-pane { min-width: 0; border: 1px solid rgba(202,196,208,.6); border-radius: var(--r-md); background: var(--lowest); overflow: hidden; }
.tb-ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ed-accent-container); }
.tb-ph > .ms { color: var(--ed-accent); font-size: 20px; }
.tb-tab { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tb-pack { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.tb-tab b { font-size: 14px; font-weight: 700; }
.tb-badge { margin-left: auto; flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-full); background: var(--error); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tb-badge-amber { background: var(--warn); }
.tb-body { padding: 14px; }

/* Lampu konsesi: tiga lampu, merah menyala; putusan dan alasannya di sampingnya. */
.tb-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid rgba(202,196,208,.45); }
.tb-lamp { flex-shrink: 0; display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 12px; background: #2b2930; }
.tb-lamp i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #4a4650; }
.tb-lamp i.on { background: #ff5449; box-shadow: 0 0 0 3px rgba(255,84,73,.28), 0 0 10px rgba(255,84,73,.6); }
.tb-verdict { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tb-con { font-weight: 700; font-size: 14px; }
.tb-con-m { font-size: 12px; color: var(--on-surface-variant); }
.tb-verdict b { margin-top: 6px; font-family: var(--font-logo); font-weight: 800; font-size: 20px; line-height: 1.15; color: var(--error); }
.tb-why { font-size: 12.5px; line-height: 1.45; }
.tb-conds { list-style: none; margin: 4px 0 0; padding: 0; }
.tb-conds li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid rgba(202,196,208,.35); }
.tb-conds li:first-child { border-top: 0; }
.tb-conds li > .st-red, .tb-conds li > .st-amber, .tb-conds li > .st-green { max-width: 168px; }
.tb-dot { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; }
.tb-dot .ms { font-size: 14px; font-weight: 700; }
.tb-ok .tb-dot { background: #2e7d32; color: #fff; }
.tb-warn .tb-dot { background: var(--warn-container); color: var(--warn); }
.tb-bad .tb-dot { background: var(--error-container); color: var(--error); }
.tb-bad { background: linear-gradient(90deg, color-mix(in srgb, var(--error-container) 45%, transparent), transparent); }
.tb-c { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 1px; }
.tb-c b { font-size: 13px; font-weight: 500; }
.tb-proof { display: inline-flex; align-items: flex-start; gap: 4px; font-size: 11.5px; line-height: 1.4; color: var(--on-surface-variant); }
.tb-proof .ms { font-size: 14px; margin-top: 1px; }
.tb-task { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.tb-task .ms { font-size: 16px; color: var(--ed-accent); }

/* Produksi vs kuota: angka utama, meteran pemakaian kuota, batang bulanan dengan garis laju kuota. */
.tb-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tb-kpi div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tb-kpi span { font-size: 11px; color: var(--on-surface-variant); }
.tb-kpi b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tb-meter { height: 8px; margin-top: 12px; border-radius: var(--r-full); background: var(--high); overflow: hidden; }
.tb-meter span { display: block; height: 100%; border-radius: var(--r-full); background: var(--ed-accent); }
.tb-used { margin-top: 5px; font-size: 11.5px; color: var(--on-surface-variant); }
.tb-cap { margin-top: 14px; font-size: 11.5px; color: var(--on-surface-variant); }
.tb-chart { position: relative; height: 150px; margin-top: 18px; }
/* Bidang plot: batang dan garis laju memakai kotak yang sama, 18 px di bawahnya untuk nama bulan. */
.tb-plot { position: absolute; inset: 0 0 18px; border-bottom: 1px solid var(--outline-variant); }
.tb-bars { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 2px; align-items: end; }
.tb-bars li { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.tb-bar { position: relative; display: block; width: min(70%, 18px); border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--ed-accent) 55%, #fff); }
.tb-last .tb-bar { background: var(--ed-accent); }
.tb-bar b { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tb-mo { position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--on-surface-variant); }
.tb-pace { position: absolute; left: 0; right: 0; z-index: 1; border-top: 1.5px dashed var(--on-surface-variant); pointer-events: none; }
.tb-pace span { position: absolute; left: 0; bottom: 2px; padding: 0 4px; border-radius: 4px; background: rgba(255,255,255,.9); font-size: 10.5px; color: var(--on-surface-variant); white-space: nowrap; }
.tb-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 28px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; }
.tb-note .ms { font-size: 16px; color: var(--warn); }
.tb-note .st-amber { display: inline-flex; margin-top: 6px; }

/* Tangga IUP di hero: dibaca naik dari WIUP ke perpanjangan; tahap aktif berdenyut sekali
   (keadaan akhir = gaya dasar, jadi prefers-reduced-motion cukup mematikan animasinya). */
.tladder { padding: 20px; }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(202,196,208,.45); }
.tl-head .over { width: 100%; }
.tl-co { font-weight: 700; font-size: 14px; }
.tl-area { margin-left: auto; font-size: 12px; color: var(--on-surface-variant); }
.tl-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 10px; position: relative; }
/* Dua tiang tangga di kiri; tiap tahap adalah satu anak tangga. */
.tl-list::before, .tl-list::after { content: ''; position: absolute; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--outline-variant); }
.tl-list::before { left: 4px; }
.tl-list::after { left: 37px; }
.tl-list li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.tl-step { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 8px; background: var(--high); color: var(--on-surface-variant); font-family: var(--font-logo); font-weight: 800; font-size: 14px; }
.tl-done .tl-step { background: color-mix(in srgb, var(--ed-accent) 25%, #fff); color: color-mix(in srgb, var(--ed-accent) 70%, #000); }
.tl-now .tl-step { background: var(--ed-accent); color: #fff; }
.tl-card { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; padding: 9px 12px; border-radius: var(--r-md); background: var(--low); border: 1px solid rgba(202,196,208,.45); }
.tl-card b { width: 100%; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.tl-m { font-size: 12px; color: var(--on-surface-variant); }
.tl-card > span:last-child { margin-left: auto; }
.tl-card .st-green { white-space: normal; border-radius: 10px; }
.tl-now .tl-card { background: var(--ed-accent-container); border-color: color-mix(in srgb, var(--ed-accent) 40%, transparent); }
.tl-now-pill { padding: 3px 9px; border-radius: 10px; background: var(--ed-accent); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.tl-later-pill { padding: 3px 9px; border-radius: 10px; background: var(--container); color: var(--on-surface-variant); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.tl-later .tl-card { border-style: dashed; background: var(--lowest); }
.tl-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--low); font-size: 12.5px; line-height: 1.45; }
.tl-foot .ms { color: #2e7d32; font-size: 18px; }
.tl-now .tl-step { animation: tl-ping 1.6s var(--ease) .8s both; }
@keyframes tl-ping { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ed-accent) 50%, transparent); } to { box-shadow: 0 0 0 12px transparent; } }

@media (max-width: 900px) {
  .tb-panes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tb-body { padding: 12px; }
  .tb-conds li { grid-template-columns: 22px minmax(0, 1fr); }
  .tb-conds li > .st-red, .tb-conds li > .st-amber, .tb-conds li > .st-green { grid-column: 2; justify-self: start; max-width: none; }
}

/* ---------- Edisi Properti: dua lampu per klaster + Kisi unit (SPEC 18.8), sertifikat per kavling di hero ---------- */
/* Pertanyaan di atas, cuplikan selebar halaman agar kedua tab muat berdampingan. */
.ed-properti .q-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ed-properti .q-copy { max-width: 820px; }
.pr { color: var(--on-surface); }
.pr .st-red, .pr .st-amber, .pr .st-green, .pr .pr-waitpill { white-space: normal; border-radius: 10px; }
.pr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 2px 2px 14px; }
.pr-co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.pr-co .ms { color: var(--ed-accent); font-size: 20px; }
.pr-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--on-surface-variant); }
.pr-sample { padding: 2px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.pr-panes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.pr-pane { min-width: 0; border: 1px solid rgba(202,196,208,.6); border-radius: var(--r-md); background: var(--lowest); overflow: hidden; }
/* Kepala tab memakai tinta aksen yang dicampur putih: teks aksen di atasnya tetap ≥ 4.5:1. */
.pr-ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: color-mix(in srgb, var(--ed-accent-container) 45%, #fff); }
.pr-ph > .ms { color: var(--ed-accent); font-size: 20px; }
.pr-tab { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pr-pack { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.pr-tab b { font-size: 14px; font-weight: 700; }
.pr-badges { margin-left: auto; flex-shrink: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.pr-badge { padding: 2px 8px; border-radius: var(--r-full); background: var(--error); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pr-badge-amber { background: var(--warn); }
.pr-body { padding: 14px; }

/* Lampu kecil: hijau / kuning / merah. */
.pr-lamp { flex-shrink: 0; display: inline-block; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; border: 2px solid #2b2930; }
.pr-lamp.pr-ok { background: #2e7d32; }
.pr-lamp.pr-warn { background: #ef8f00; }
.pr-lamp.pr-bad { background: #ff5449; box-shadow: 0 0 0 3px rgba(255,84,73,.25); }

/* Daftar klaster: nama, lampu bangun, lampu jual. */
.pr-cols, .pr-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 12px; }
.pr-cols { padding: 0 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on-surface-variant); }
.pr-rows { list-style: none; margin: 0; padding: 0; }
.pr-row { align-items: start; padding: 9px 2px; border-top: 1px solid rgba(202,196,208,.45); }
.pr-k { display: flex; flex-direction: column; min-width: 0; }
.pr-k b { font-size: 13.5px; }
.pr-k span { font-size: 11.5px; color: var(--on-surface-variant); }
.pr-l { display: flex; gap: 8px; align-items: flex-start; min-width: 0; font-size: 12px; line-height: 1.4; }
.pr-open { background: linear-gradient(90deg, color-mix(in srgb, var(--error-container) 50%, transparent), transparent); border-radius: 8px 8px 0 0; }
.pr-l > div { display: flex; flex-direction: column; min-width: 0; }
/* Nama lampu di tiap baris hanya di layar sempit, saat kepala kolom disembunyikan. */
.pr-mlbl { display: none; font-size: 11px; font-weight: 700; color: var(--on-surface-variant); }
.pr-open .pr-l span { color: #8c1d18; font-weight: 700; }

/* Rincian klaster yang dibuka: dua lampu berdampingan, tiap syarat dengan dokumen buktinya. */
.pr-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 10px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--low); border: 1px solid rgba(202,196,208,.45); border-top: 0; }
.pr-light { min-width: 0; }
.pr-lh { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; font-size: 13px; }
.pr-conds { list-style: none; margin: 0; padding: 0; }
.pr-conds li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 2px 8px; align-items: start; padding: 7px 0; border-top: 1px solid rgba(202,196,208,.35); }
.pr-conds li > .st-red, .pr-conds li > .st-green, .pr-conds li > .pr-waitpill { max-width: 132px; }
.pr-dot { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; }
.pr-dot .ms { font-size: 13px; font-weight: 700; }
.pr-conds .pr-ok .pr-dot { background: #2e7d32; color: #fff; }
.pr-conds .pr-bad .pr-dot { background: var(--error-container); color: var(--error); }
.pr-conds .pr-wait .pr-dot { background: var(--high); color: var(--on-surface-variant); }
.pr-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-c b { font-size: 12.5px; font-weight: 500; }
.pr-proof { display: inline-flex; align-items: flex-start; gap: 4px; font-size: 11px; line-height: 1.4; color: var(--on-surface-variant); }
.pr-proof .ms { font-size: 13px; margin-top: 1px; }
.pr-waitpill { display: inline-flex; padding: 3px 9px; background: var(--container); color: var(--on-surface-variant); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.pr-task { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.pr-task .ms { font-size: 16px; color: var(--ed-accent); }

/* Kisi unit: satu baris per unit, satu kolom per dokumen. */
.pr-cap { font-size: 11.5px; color: var(--on-surface-variant); }
.pr-grid { width: 100%; margin-top: 10px; border-collapse: collapse; table-layout: fixed; }
.pr-grid th, .pr-grid td { padding: 6px 2px; text-align: center; border-top: 1px solid rgba(202,196,208,.35); }
.pr-grid thead th { border-top: 0; vertical-align: bottom; font-size: 10.5px; font-weight: 700; line-height: 1.2; color: var(--on-surface-variant); hyphens: manual; }
.pr-grid thead th:first-child, .pr-grid tbody th { width: 13%; text-align: left; }
.pr-grid tbody th { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-redrow { background: color-mix(in srgb, var(--error-container) 40%, transparent); }
.pr-cell { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px dashed var(--outline-variant); vertical-align: middle; }
.pr-cell.pr-ok { border: 0; background: color-mix(in srgb, var(--ed-accent) 70%, #fff); }
.pr-cell.pr-warn { border: 0; background: #ef8f00; }
.pr-cell.pr-bad { border: 0; background: var(--error); }
.pr-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 11px; color: var(--on-surface-variant); }
.pr-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.pr-legend .pr-cell { width: 11px; height: 11px; }
.pr-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; }
.pr-note > .ms { font-size: 16px; color: var(--error); }
.pr-note .st-red { margin-top: 6px; }
.pr-draft { margin-top: 6px; color: var(--on-surface-variant); }

/* Ilustrasi hero: siteplan mini satu blok (dua deret kavling menghadap jalan) menurut status sertifikat, lalu garis waktu HGB induk.
   Kavling yang baru balik nama berdenyut sekali (keadaan akhir = gaya dasar; prefers-reduced-motion cukup mematikannya). */
.prtitle { padding: 20px; }
.pt-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(202,196,208,.45); }
.pt-head .over { width: 100%; }
.pt-co { font-weight: 700; font-size: 14px; }
.pt-blk { margin-left: auto; font-size: 12px; color: var(--on-surface-variant); }
.pt-site { margin-top: 14px; padding: 10px; border-radius: var(--r-md); background: #eef3ec; }
.pt-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.pt-row li { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 4px; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-road { display: block; margin: 6px 0; padding: 3px 0; border-radius: 3px; background: #d6d3cc; color: #3f3d3a; font-size: 10.5px; font-weight: 500; text-align: center; letter-spacing: .06em; }
.kv-b { background: var(--ed-accent); color: #fff; }
.kv-p { background: color-mix(in srgb, var(--ed-accent) 22%, #fff); color: #00363d; }
.kv-i { background: var(--lowest); color: var(--on-surface-variant); border: 1.5px dashed var(--outline); }
.kv-new { animation: pt-ping 1.6s var(--ease) .8s both; }
@keyframes pt-ping { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ed-accent) 55%, transparent); } to { box-shadow: 0 0 0 9px transparent; } }
.pt-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--on-surface-variant); }
.pt-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.pt-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.pt-hgb { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(202,196,208,.45); }
.pt-hgb-t { font-size: 13px; font-weight: 700; }
/* Garis waktu tiga titik: hari ini, perpanjangan dimulai (2 tahun sebelum), HGB berakhir. */
.pt-line { list-style: none; margin: 10px 0 0; padding: 14px 0 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-line::before { content: ''; position: absolute; top: 5px; left: 6px; right: 6px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--outline-variant) 0 50%, #ef8f00 50% 100%); }
.pt-line li { position: relative; display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.3; color: var(--on-surface-variant); }
.pt-line li::before { content: ''; position: absolute; top: -14px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--lowest); border: 3px solid var(--outline); }
.pt-line b { font-size: 12.5px; color: var(--on-surface); }
.pt-line .pt-win::before { border-color: #ef8f00; left: 50%; transform: translateX(-50%); }
.pt-line .pt-win { align-items: center; text-align: center; }
.pt-line .pt-end { align-items: flex-end; text-align: right; }
.pt-line .pt-end::before { left: auto; right: 0; border-color: var(--error); }
.pt-line .pt-now::before { border-color: var(--ed-accent); background: var(--ed-accent); }
.pt-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--low); font-size: 12.5px; line-height: 1.45; }
.pt-foot .ms { color: var(--warn); font-size: 18px; }

@media (max-width: 900px) {
  .pr-panes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pr-body { padding: 12px; }
  .pr-cols { display: none; }
  .pr-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pr-mlbl { display: block; }
  .pr-grid thead th { font-size: 9.5px; }
  .pr-grid th, .pr-grid td { padding-left: 1px; padding-right: 1px; }
  .pr-detail { grid-template-columns: minmax(0, 1fr); }
  .pr-conds li { grid-template-columns: 20px minmax(0, 1fr); }
  .pr-conds li > .st-red, .pr-conds li > .st-green, .pr-conds li > .pr-waitpill { grid-column: 2; justify-self: start; max-width: none; margin-top: 3px; }
  .pt-row li { height: 28px; font-size: 9px; }
  .prtitle { padding: 16px; }
}

/* ---------- Edisi Perusahaan Umum: tab Perjanjian (SPEC 18.9), menu yang disusun dari dokumen di hero (SPEC 18.12) ---------- */
/* Pertanyaan di atas, cuplikan selebar halaman agar daftar tenggat dan keluarga perjanjian muat berdampingan. */
.ed-umum .q-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ed-umum .q-copy { max-width: 820px; }
.um { color: var(--on-surface); }
.um .st-red, .um .st-amber, .um .st-green, .um .um-wait { white-space: normal; border-radius: 10px; align-self: flex-start; }
.um-wait {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px;
  font-size: 11.5px; font-weight: 700; line-height: 1.2; background: var(--container); color: var(--on-surface-variant);
}
.um-wait::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--outline); flex-shrink: 0; }
.um-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 2px 2px 14px; }
.um-co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.um-co .ms { color: var(--ed-accent); font-size: 20px; }
.um-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--on-surface-variant); }
.um-sample { padding: 2px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.um-pane { min-width: 0; border: 1px solid rgba(202,196,208,.6); border-radius: var(--r-md); background: var(--lowest); overflow: hidden; }
/* Kepala tab memakai tinta aksen yang dicampur putih: teks aksen di atasnya tetap ≥ 4.5:1. */
.um-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; background: color-mix(in srgb, var(--ed-accent-container) 45%, #fff); }
.um-ph > .ms { color: var(--ed-accent); font-size: 20px; }
.um-tab { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.um-pack { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.um-tab b { font-size: 14px; font-weight: 700; }
.um-count { font-size: 12px; color: var(--on-surface-variant); }
.um-badge { margin-left: auto; flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-full); background: var(--error); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.um-body { padding: 14px; }
.um-sub { font-size: 11.5px; line-height: 1.4; color: var(--on-surface-variant); }

/* Baris jenis: chip per jenis dengan jumlah perjanjian; yang perlu tindakan membawa hitungan kuning. Di sampingnya kartu usulan jenis. */
.um-typerow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 12px; align-items: start; }
.um-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--on-surface-variant); }
.um-lbl .ms { font-size: 16px; color: var(--ed-accent); }
.um-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.um-type { display: flex; flex-direction: column; gap: 3px; padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--outline-variant); background: var(--lowest); }
.um-tn { display: inline-flex; align-items: baseline; gap: 6px; }
.um-tn b { font-size: 12.5px; font-weight: 500; }
.um-n { font-family: var(--font-logo); font-weight: 800; font-size: 14px; color: var(--ed-accent); font-variant-numeric: tabular-nums; }
.um-act { align-self: flex-start; padding: 1px 6px; border-radius: var(--r-full); background: var(--warn-container); color: var(--on-warn-container); font-size: 10.5px; line-height: 1.35; }
.um-act b { font-weight: 700; }
.um-prop { padding: 10px 12px; border-radius: var(--r-sm); border: 1.5px dashed var(--ed-accent); background: color-mix(in srgb, var(--ed-accent-container) 30%, #fff); font-size: 12px; line-height: 1.45; }
.um-prop-over { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.um-prop-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.um-btn { padding: 3px 10px; border-radius: var(--r-full); border: 1px solid var(--outline-variant); background: var(--lowest); font-size: 11.5px; font-weight: 500; color: var(--ed-accent); }
.um-btn-main { border-color: var(--ed-accent); background: var(--ed-accent); color: #fff; }

/* Lima tampilan di dalam tab Perjanjian; yang aktif bergaris bawah aksen. */
.um-views { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; border-bottom: 1px solid rgba(202,196,208,.6); }
.um-views li { padding: 6px 0; font-size: 12.5px; font-weight: 500; color: var(--on-surface-variant); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.um-views li.um-on { color: var(--ed-accent); border-bottom-color: var(--ed-accent); font-weight: 700; }

/* Tenggat pemberitahuan: hari terakhir sebagai kolom kunci di kiri; tanggal berakhir hanya keterangan. Keluarga di kanan. */
.um-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 12px; align-items: start; }
.um-sort { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.um-sort .ms { font-size: 16px; color: var(--ed-accent); }
.um-cols { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; margin-top: 10px; padding-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-surface-variant); }
.um-cols span:first-child { text-align: center; }
.um-radar { list-style: none; margin: 0; padding: 0; }
.um-radar li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(202,196,208,.45); }
.um-when { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; align-self: start; padding: 7px 4px; border-radius: var(--r-sm); background: var(--low); text-align: center; }
.um-when b { font-family: var(--font-logo); font-weight: 800; font-size: 15px; line-height: 1.1; }
.um-when span { font-size: 10.5px; line-height: 1.25; color: var(--on-surface-variant); }
.um-late .um-when { background: var(--error-container); color: var(--on-error-container); }
.um-late .um-when span { color: var(--on-error-container); }
.um-soon .um-when { background: var(--warn-container); color: var(--on-warn-container); }
.um-soon .um-when span { color: var(--on-warn-container); }
.um-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.um-what > b { font-size: 13px; font-weight: 500; }
.um-party { font-size: 12px; font-weight: 500; color: var(--on-surface); }
.um-what .st-red, .um-what .st-amber, .um-what .st-green, .um-what .um-wait { margin-top: 4px; }
.um-task { display: flex; gap: 5px; align-items: flex-start; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: var(--on-surface-variant); }
.um-task .ms { font-size: 15px; color: var(--ed-accent); }

/* Keluarga perjanjian: pokok → adendum → amandemen → novasi → surat konfirmasi, lalu ketentuan yang berlaku kini. */
.um-fam { min-width: 0; padding: 12px; border-radius: var(--r-md); background: var(--low); }
.um-fh { display: flex; gap: 8px; align-items: flex-start; }
.um-fh > .ms { font-size: 20px; color: var(--ed-accent); }
.um-fh b { display: block; font-size: 13.5px; }
.um-fparty { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 6px; font-size: 12px; color: var(--on-surface-variant); }
.um-fparty b { color: var(--on-surface); font-weight: 500; }
.um-chain { list-style: none; margin: 10px 0 0; padding: 0; }
.um-chain li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 5px 0; }
.um-chain li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 31px; bottom: -5px; width: 2px; background: var(--ed-accent); opacity: .35; }
.um-fi { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--lowest); border: 1px solid var(--outline-variant); }
.um-fi .ms { font-size: 15px; color: var(--ed-accent); }
.um-chain li > div { display: flex; flex-direction: column; min-width: 0; }
.um-chain b { font-size: 12.5px; font-weight: 500; }
.um-fd { font-family: var(--font-mono); font-size: 11px; color: var(--on-surface-variant); }
.um-inforce { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--lowest); border-left: 3px solid var(--ed-accent); font-size: 11.5px; line-height: 1.45; }
.um-inforce b { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }

/* Ilustrasi hero: menu yang disusun dari dokumen. Batang jumlah dokumen tumbuh sekali (keadaan akhir = gaya dasar;
   prefers-reduced-motion cukup mematikan animasinya). Tab yang belum punya dokumen tampil redup bergaris putus. */
.mncard { padding: 20px; }
.mn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(202,196,208,.45); }
.mn-head .over { width: 100%; }
.mn-co { font-weight: 700; font-size: 14px; }
.mn-total { margin-left: auto; font-size: 12px; color: var(--on-surface-variant); }
.mn-g { margin-top: 12px; font-size: 11px; font-weight: 500; color: var(--on-surface-variant); }
.mn-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.mn-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 7px 10px; border-radius: var(--r-sm); background: var(--low); }
.mn-list .ms { font-size: 18px; color: var(--ed-accent); }
.mn-list b { font-size: 13px; font-weight: 500; min-width: 0; }
.mn-n { font-family: var(--font-logo); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.mn-pack li { background: color-mix(in srgb, var(--ed-accent-container) 35%, #fff); }
.mn-bar { grid-column: 2 / -1; display: block; height: 4px; border-radius: var(--r-full); background: rgba(202,196,208,.45); overflow: hidden; }
.mn-bar span { display: block; height: 100%; border-radius: inherit; background: var(--ed-accent); transform-origin: left; animation: mn-grow .9s var(--ease) both; }
@keyframes mn-grow { from { transform: scaleX(0); } }
.mn-pill { padding: 1px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; color: var(--on-surface-variant); white-space: nowrap; }
.mn-pill-on { background: var(--warn-container); color: var(--on-warn-container); }
.mn-off { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-top: 6px; padding: 8px 10px; border-radius: var(--r-sm); border: 1.5px dashed var(--outline-variant); color: var(--on-surface-variant); }
.mn-off .ms { font-size: 18px; }
.mn-off div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mn-off b { font-size: 13px; font-weight: 500; }
.mn-off div span { font-size: 11.5px; line-height: 1.4; }
.mn-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--low); font-size: 12.5px; line-height: 1.45; }
.mn-foot .ms { color: var(--ed-accent); font-size: 18px; }

@media (max-width: 900px) {
  .um-typerow, .um-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .um-body { padding: 12px; }
  .um-cols, .um-radar li { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .um-badge { margin-left: 0; }
  .mncard { padding: 16px; }
}

/* ---------- Edisi Notaris & PPAT: Papan laporan bulanan + riwayat akta satu klien (SPEC 18.10), pohon berkas klien di hero ---------- */
/* Pertanyaan di atas, cuplikan selebar halaman agar papan dan riwayat klien muat berdampingan.
   Aksen edisi ini merah muda tua (#984061), dekat dengan merah galat: aksen hanya dipakai untuk ikon dan label kecil,
   kepala tab berlatar netral, dan "selesai" memakai hijau, agar merah di cuplikan selalu berarti masalah. */
.ed-notaris .q-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ed-notaris .q-copy { max-width: 820px; }
.nt { color: var(--on-surface); }
.nt .st-red, .nt .st-amber, .nt .st-green { white-space: normal; border-radius: 10px; align-self: flex-start; }
.nt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 2px 2px 14px; }
.nt-co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.nt-co .ms { color: var(--ed-accent); font-size: 20px; }
.nt-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--on-surface-variant); }
.nt-sample { padding: 2px 8px; border-radius: var(--r-full); background: var(--container); font-size: 11px; font-weight: 500; }
.nt-panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.nt-pane { min-width: 0; border: 1px solid rgba(202,196,208,.6); border-radius: var(--r-md); background: var(--lowest); overflow: hidden; }
.nt-ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--low); border-bottom: 1px solid rgba(202,196,208,.45); }
.nt-ph > .ms { color: var(--ed-accent); font-size: 20px; }
.nt-tab { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nt-pack { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-accent); }
.nt-tab b { font-size: 14px; font-weight: 700; }
.nt-badges { margin-left: auto; flex-shrink: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nt-badge { padding: 2px 8px; border-radius: var(--r-full); background: var(--error); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nt-badge-amber { background: var(--warn); }
.nt-body { padding: 14px; }
.nt-cap { font-size: 11.5px; color: var(--on-surface-variant); }

/* Papan laporan bulanan: tenggat dan sisa hari sebagai kolom kunci di kiri; garis kiri berwarna menurut keadaan. */
.nt-board { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.nt-rep { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 10px 10px 10px 12px; border-radius: var(--r-sm); background: var(--low); border-left: 4px solid var(--outline-variant); }
.nt-rep.nt-ok { border-left-color: #2e7d32; }
.nt-rep.nt-warn { border-left-color: #ef8f00; }
.nt-rep.nt-bad { border-left-color: var(--error); background: color-mix(in srgb, var(--error-container) 40%, #fff); }
.nt-when { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.nt-when b { font-size: 13px; }
.nt-when span { font-size: 11px; line-height: 1.3; color: var(--on-surface-variant); }
.nt-bad .nt-when span { color: var(--on-error-container); font-weight: 700; }
.nt-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; line-height: 1.4; }
.nt-what b { font-size: 13px; }
.nt-to { font-size: 11.5px; color: var(--on-surface-variant); }
.nt-sub { font-size: 11.5px; }
.nt-wk { font-size: 11.5px; color: var(--on-surface-variant); font-style: italic; }
.nt-what .st-red, .nt-what .st-amber, .nt-what .st-green { margin-top: 4px; }
.nt-rcpt { display: grid; gap: 2px; margin: 4px 0 0; font-size: 11.5px; }
.nt-rcpt li { display: flex; align-items: flex-start; gap: 5px; }
.nt-rcpt .ms { font-size: 15px; margin-top: 1px; }
.nt-rcpt .nt-ok .ms { color: #2e7d32; }
.nt-rcpt .nt-bad { color: var(--on-error-container); font-weight: 700; }
.nt-rcpt .nt-bad .ms { color: var(--error); }
.nt-prev { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 11.5px; color: var(--on-surface-variant); }
.nt-prev .ms { font-size: 15px; color: #2e7d32; }
.nt-task { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--low); font-size: 12px; line-height: 1.45; color: var(--on-surface-variant); }
.nt-task .ms { font-size: 16px; color: var(--ed-accent); }

/* Riwayat akta satu klien: akta terbaru terbuka dengan papan tahapnya, akta lama ringkas di bawahnya. */
.nt-sub2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 12.5px; }
.nt-acc { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--on-surface-variant); }
.nt-acc .ms { font-size: 15px; }
.nt-deeds { list-style: none; margin: 10px 0 0; padding: 0; }
.nt-deed { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 9px 0; border-top: 1px solid rgba(202,196,208,.35); }
.nt-deed .st-green { max-width: 160px; }
.nt-dh { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.nt-dh b { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nt-dh span { font-size: 11.5px; color: var(--on-surface-variant); }
.nt-deed.nt-open { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 10px 12px 12px; border-top: 0; border-radius: var(--r-sm); border-left: 4px solid var(--error); background: color-mix(in srgb, var(--error-container) 40%, #fff); }
.nt-stages { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nt-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 10.5px; line-height: 1.25; color: var(--on-surface-variant); }
.nt-st:not(:last-child)::after { content: ''; position: absolute; top: 9px; left: calc(50% + 11px); right: calc(-50% + 11px); height: 2px; background: var(--outline-variant); }
.nt-st.nt-ok:not(:last-child)::after { background: #2e7d32; }
.nt-dot { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed var(--outline); background: var(--lowest); }
.nt-dot .ms { font-size: 14px; color: #fff; }
.nt-ok .nt-dot { border: 0; background: #2e7d32; }
.nt-bad .nt-dot { border: 0; background: var(--error); box-shadow: 0 0 0 3px rgba(186,26,26,.2); }
.nt-st.nt-bad { color: var(--on-error-container); font-weight: 700; }
.nt-lim { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--on-error-container); font-variant-numeric: tabular-nums; }
.nt-lim .ms { font-size: 16px; color: var(--error); }
.nt-open .st-red { justify-self: start; }
.nt-dtask { font-size: 11.5px; line-height: 1.45; color: var(--on-surface-variant); }

/* Ilustrasi hero: pohon berkas klien. Jalur yang dibuka (klien → Korporasi → urusan → laci) memakai aksen; salinan akta
   tiba dengan satu denyut (keadaan akhir = gaya dasar; prefers-reduced-motion cukup mematikan animasinya). */
.nt-tree { padding: 20px; }
.nt-hhead { padding-bottom: 10px; }
.nt-lv { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nt-node { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: var(--r-sm); min-width: 0; }
.nt-node > .ms { font-size: 18px; color: var(--on-surface-variant); margin-top: 1px; }
.nt-node div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nt-node b { font-size: 13px; font-weight: 700; }
.nt-node span:not(.ms) { font-size: 11.5px; color: var(--on-surface-variant); }
.nt-l1 { margin-left: 14px; }
.nt-l2 { margin-left: 28px; }
.nt-l3 { margin-left: 42px; }
.nt-l4 { margin-left: 56px; }
.nt-node.nt-on > .ms { color: var(--ed-accent); }
.nt-node.nt-drawer { background: color-mix(in srgb, var(--ed-accent-container) 55%, #fff); }
.nt-files { margin: 4px 0 6px 56px; padding: 6px 8px 6px 14px; border-left: 2px solid var(--ed-accent); display: grid; gap: 3px; }
.nt-files li { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.35; min-width: 0; }
.nt-files .ms { font-size: 15px; color: var(--on-surface-variant); flex-shrink: 0; }
.nt-files .nt-hnew { border-radius: var(--r-xs); animation: nt-ping 1.6s var(--ease) .8s both; }
@keyframes nt-ping { from { box-shadow: 0 0 0 0 rgba(152,64,97,.45); } to { box-shadow: 0 0 0 6px transparent; } }
.nt-files .nt-hwait { color: var(--on-surface-variant); }
.nt-hpill { margin-left: auto; flex-shrink: 0; padding: 1px 8px; border-radius: var(--r-full); border: 1px dashed var(--outline); font-size: 10.5px; font-weight: 700; }
.nt-lv-rest { padding-top: 6px; border-top: 1px solid rgba(202,196,208,.45); }
.nt-virt { border: 1px dashed var(--outline-variant); }
.nt-hfoot { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--low); font-size: 12.5px; line-height: 1.45; }
.nt-hfoot .ms { color: var(--ed-accent); font-size: 18px; }

@media (max-width: 900px) {
  .nt-panes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nt-body { padding: 12px; }
  .nt-rep { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
  .nt-tree { padding: 16px; }
  .nt-l1 { margin-left: 8px; }
  .nt-l2 { margin-left: 16px; }
  .nt-l3 { margin-left: 24px; }
  .nt-l4 { margin-left: 32px; }
  .nt-files { margin-left: 32px; }
  .nt-deed { grid-template-columns: minmax(0, 1fr); }
  .nt-deed .st-green { max-width: none; justify-self: start; }
  .nt-st { font-size: 9.5px; }
}

/* situs:accents (dibuat oleh scripts/situs/build.mjs dari src/lib/editions.ts) */
.ed-legal { --ed-accent: #4355B9; --ed-accent-container: #DEE0FF; }
.ed-tambang { --ed-accent: #6B5B4E; --ed-accent-container: #EDE0D6; }
.ed-properti { --ed-accent: #006874; --ed-accent-container: #9EEFFD; }
.ed-umum { --ed-accent: #005AC1; --ed-accent-container: #D8E2FF; }
.ed-notaris { --ed-accent: #984061; --ed-accent-container: #FFD9E2; }
/* /situs:accents */
