/* =====================================================================
   HIPMI Tabanan — page-catatan.css (milik halaman Catatan)
   Dokumen editorial untuk pengurus. Prefix kelas: .cn-
   Daftar ul/ol memakai prefix .cn agar mengalahkan reset ul[class] fondasi.
   ===================================================================== */

.cn { --cn-line: color-mix(in srgb, var(--border) 80%, transparent); }
.cn .mono { font-size: .92em; }

/* ============================== SAMPUL ============================== */
.cn-cover { padding-block: clamp(32px, 5vw, 72px) clamp(36px, 5vw, 64px); --contour-color: var(--paper-line); --contour-size: 420px; }
.cn-cover__grid { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1000px) { .cn-cover__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); } }
.cn-cover__title { margin-top: 20px; max-width: 15ch; }
.cn-cover__title em { color: var(--accent-ink); }
.cn-cover__lead { margin-top: 20px; }
.cn-cover__actions { margin-top: 28px; }

.cn-meta { position: relative; margin: 26px 0 0; padding: 18px 22px 6px; border-radius: 0 18px 18px 18px; background: var(--surface); border: 1px solid var(--cn-line); box-shadow: var(--sh-md); }
.cn-meta__tab { position: absolute; top: -27px; left: -1px; height: 28px; padding: 0 14px; border-radius: 10px 10px 0 0; background: var(--forest); color: var(--gold-soft); font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .16em; line-height: 29px; }
.cn-meta > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.cn-meta > div:last-child { border-bottom: 0; }
.cn-meta dt { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cn-meta dd { margin: 0; font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.cn-status { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.cn-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.cn-tldr { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--forest); color: var(--on-forest); }
.cn-tldr::before { content: ''; position: absolute; inset: 0; z-index: -1; background-color: var(--forest-line); -webkit-mask: var(--kontur) 0 0 / 380px auto repeat; mask: var(--kontur) 0 0 / 380px auto repeat; }
.cn-tldr__title { display: grid; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--on-forest); }
.cn-tldr__title .label { color: var(--gold-soft); }
.cn .cn-tldr__list { counter-reset: t; margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 18px 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cn-tldr__list li { counter-increment: t; position: relative; padding-left: 42px; font-size: .96rem; line-height: 1.55; color: var(--on-forest-muted); }
.cn-tldr__list li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--gold); letter-spacing: .06em; }
.cn-tldr__list b { color: var(--on-forest); }
.cn-tldr a { color: var(--gold-soft); }

/* ============================== TATA LETAK ============================== */
.cn-layout { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: var(--section-y); }
@media (min-width: 1080px) { .cn-layout { grid-template-columns: 228px minmax(0, 1fr); column-gap: clamp(48px, 6vw, 88px); } }
.cn-doc { min-width: 0; max-width: 820px; }

/* daftar isi */
.cn-toc { display: none; }
@media (min-width: 1080px) { .cn-toc { display: block; } }
.cn-toc__inner { position: sticky; top: calc(var(--header-h) + 16px); padding-top: clamp(56px, 7vw, 88px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; scrollbar-width: thin; }
.cn-toc__progress { height: 3px; margin: 12px 0 14px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.cn-toc__progress span, .cn-mbar__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.cn .cn-toc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.cn-toc__list a { display: flex; gap: 12px; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: .88rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: background-color var(--t-hover), color var(--t-hover); }
.cn-toc__list a:hover { color: var(--ink); background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.cn-toc__list a.is-active { color: var(--ink); background: var(--surface); box-shadow: var(--sh-sm), inset 2px 0 0 var(--accent); }
.cn-toc__no { flex: none; width: 18px; padding-top: 2px; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; color: var(--muted); }
.cn-toc__list a.is-active .cn-toc__no { color: var(--accent-ink); }
.cn-toc__foot { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.cn-toc__top { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; font-size: .84rem; font-weight: 600; color: var(--muted); border-radius: 10px; }
.cn-toc__top:hover { color: var(--ink); background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.cn-toc__top .icon { width: 16px; height: 16px; }

/* bilah daftar isi mobile */
.cn-mbar { position: sticky; top: 76px; z-index: 40; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.cn-mbar::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 80px; background: inherit; -webkit-backdrop-filter: inherit; backdrop-filter: inherit; pointer-events: none; }
@media (min-width: 1080px) { .cn-mbar { display: none; } }
.cn-mbar__btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--cn-line); box-shadow: var(--sh-sm); color: var(--ink); font-weight: 600; font-size: .92rem; text-align: left; }
.cn-mbar__no { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; color: var(--accent-ink); }
.cn-mbar__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-mbar__icon { display: inline-flex; color: var(--muted); }
.cn-mbar__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4px; height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* ============================== BAGIAN ============================== */
/* html sudah punya scroll-padding-top = --header-h (fondasi); margin di sini hanya tambahan */
.cn-sec { padding-top: clamp(56px, 7vw, 88px); scroll-margin-top: -24px; }
@media (max-width: 1079px) { .cn-sec { scroll-margin-top: 30px; padding-top: 48px; } }
.cn-sec + .cn-sec { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--border); }
.cn-sec__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; align-items: start; margin-bottom: 28px; }
.cn-sec__no { display: inline-grid; place-items: center; min-width: 40px; height: 30px; margin-top: .22em; padding: 0 8px; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--accent-ink) 40%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--accent-ink); }
.cn-sec__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.cn-sec__title em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.cn-sec__title:focus { outline: none; }
.cn-anchor { display: grid; place-items: center; width: 36px; height: 36px; margin-top: .1em; border-radius: 50%; color: var(--muted); opacity: 0; transition: opacity var(--t-hover), background-color var(--t-hover), color var(--t-hover); }
.cn-sec__head:hover .cn-anchor, .cn-anchor:focus-visible { opacity: 1; }
.cn-anchor:hover { background: var(--surface-2); color: var(--ink); }
@media (hover: none) { .cn-anchor { opacity: .7; } }

/* teks */
.cn-prose { font-size: 1.02rem; color: var(--ink-2); }
.cn-prose > * + * { margin-top: 1em; }
.cn-prose h3 { margin-top: 2em; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.cn-prose > h3:first-child { margin-top: 0; }
.cn-doc a:not([class]), .cn-tldr a:not([class]) { color: var(--accent-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
.cn-doc a:not([class]):hover { text-decoration-color: currentColor; }
.cn-tldr a:not([class]) { color: var(--gold-soft); }
.cn-src { color: var(--accent-ink); font-size: .84em; font-weight: 600; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .2em; }
.cn-src::after { content: '\2009↗'; font-weight: 400; }
.cn-src:hover { text-decoration-style: solid; }
.cn-note { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.cn-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; background: var(--surface-2); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); vertical-align: 1px; }
.cn-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-right: 6px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; white-space: nowrap; }
.cn-pill--auto { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.cn-linkbtn { color: var(--accent-ink); text-decoration: underline; font-size: inherit; }
.cn-wow { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 99px; background: var(--gold); color: #14180F; font-family: var(--font-mono); font-size: .58rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }

.cn .cn-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cn-list li { position: relative; padding-left: 24px; }
.cn-list li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.cn .cn-list--tight { gap: 7px; font-size: .95rem; }

.cn .cn-timeline { margin: 6px 0 0; padding: 0; list-style: none; border-left: 2px solid var(--border); }
.cn-timeline li { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding: 10px 0 10px 22px; font-size: .95rem; }
.cn-timeline li::before { content: ''; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.cn-timeline li:last-child::before { border-color: var(--live); background: var(--live); }
.cn-timeline__when { padding-top: 2px; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media screen and (max-width: 600px) { .cn-timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.cn-cards { display: grid; gap: 12px; margin-top: 16px; }
.cn-cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.cn-cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 24px; }
.cn-card { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); }
.cn-card b { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.cn-card p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.cn-card__no { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }

.cn-quote { margin: 28px 0 0; padding: 22px 24px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.cn-quote p { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.42; color: var(--ink); }
.cn-quote em { font-style: italic; color: var(--accent-ink); }
.cn-quote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: .66rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ============================== 02 PETA SITUS ============================== */
.cn-map { margin: 28px 0 0; padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: var(--surface); border: 1px solid var(--cn-line); }
.cn-map__root { position: relative; display: flex; justify-content: center; padding-bottom: 22px; }
.cn-map__root::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 2px; height: 22px; margin-left: -1px; background: var(--accent); }
.cn-node { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); color: var(--ink); text-align: center; text-decoration: none; transition: border-color var(--t-hover), transform .25s var(--ease-out); }
.cn-node b { font-weight: 700; font-size: .95rem; }
.cn-node small { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
a.cn-node:hover { border-color: var(--ink); transform: translateY(-2px); }
.cn-node--root { min-width: 190px; background: var(--forest); border-color: transparent; color: var(--on-forest); }
.cn-node--root small { color: var(--on-forest-muted); }
.cn-node--root b { color: var(--on-forest); }
.cn .cn-map__cols { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 22px 0 0; list-style: none; }
.cn-map__cols::before { content: ''; position: absolute; top: 0; height: 2px; left: calc((100% - 36px) / 8); right: calc((100% - 36px) / 8); background: var(--accent); }
.cn-map__col { position: relative; display: grid; gap: 10px; align-content: start; }
.cn-map__col::before { content: ''; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; margin-left: -1px; background: var(--accent); }
.cn .cn-map__subs { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.cn-map__subs li { padding: 6px 9px; border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); font-size: .8rem; line-height: 1.35; color: var(--ink-2); }
.cn-map__extra { display: grid; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); }
@media (min-width: 700px) { .cn-map__extra { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.cn-map__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cn-map__group .label { flex-basis: 100%; }
.cn-node--ghost, .cn-node--ext { display: inline-flex; align-items: center; gap: 2px; padding: 7px 12px; font-size: .84rem; font-weight: 600; }
.cn-node--ghost { border-style: dashed; background: transparent; color: var(--muted); }
.cn-node--ext::after { content: ' ↗'; color: var(--accent-ink); }
.cn-figcap { margin-top: 14px; font-size: .82rem; line-height: 1.5; color: var(--muted); }
@media screen and (max-width: 639px) {
  .cn-map__root { justify-content: flex-start; }
  .cn-map__root::after { left: 10px; margin-left: 0; }
  .cn .cn-map__cols { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 6px 0 0 30px; }
  .cn-map__cols::before { left: 10px; right: auto; top: 0; bottom: 34px; width: 2px; height: auto; }
  .cn-map__col::before { top: 21px; left: -20px; width: 20px; height: 2px; margin-left: 0; }
  .cn-map__col .cn-node { text-align: left; }
}

.cn .cn-flows { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cn-flow { display: grid; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); }
@media (min-width: 760px) { .cn-flow { grid-template-columns: 210px minmax(0, 1fr); align-items: center; } }
.cn-flow__who { display: flex; align-items: center; gap: 12px; }
.cn-flow__who b { display: block; color: var(--ink); }
.cn-flow__who small { display: block; font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.cn-flow__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); }
.cn .cn-flow__steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.cn-flow__steps li { position: relative; display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 99px; background: var(--bg); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.cn-flow__steps li + li { margin-left: 22px; }
.cn-flow__steps li + li::before { content: '→'; position: absolute; left: -17px; color: var(--accent-ink); font-weight: 700; }
.cn-flow__steps li.is-end { background: var(--primary); border-color: transparent; color: var(--on-primary); }

/* ============================== 03 ISI ============================== */
.cn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--cn-line); overflow: hidden; }
.cn-stat { display: grid; gap: 2px; align-content: start; padding: 18px 18px 16px; border-left: 1px solid var(--cn-line); }
.cn-stat:first-child { border-left: 0; }
.cn-stat__n { font-family: var(--font-display); font-weight: 500; font-size: 2.4rem; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.cn-stat__l { margin-top: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.cn-stat__d { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.cn-stat__note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 18px; border-top: 1px solid var(--cn-line); background: color-mix(in srgb, var(--surface-2) 35%, transparent); font-size: .8rem; color: var(--muted); }
@media screen and (max-width: 639px) {
  .cn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-stat:nth-child(3) { border-left: 0; }
  .cn-stat:nth-child(n+3):not(.cn-stat__note) { border-top: 1px solid var(--cn-line); }
}
.cn-pages { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.cn-page { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px 52px 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); color: var(--ink-2); text-decoration: none; transition: border-color var(--t-hover), transform .3s var(--ease-out), box-shadow .3s; }
.cn-page:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--sh-md); }
.cn-page__file { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; color: var(--muted); }
.cn-page__name { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; color: var(--ink); }
.cn-page__desc { font-size: .88rem; line-height: 1.5; }
.cn-page__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--ink); transition: background-color var(--t-hover), color var(--t-hover); }
.cn-page__go .icon { width: 16px; height: 16px; }
.cn-page:hover .cn-page__go { background: var(--primary); color: var(--on-primary); }

.cn-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 24px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.cn-callout__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--ink); }
.cn-callout__title { margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.cn-callout p + p { margin-top: 8px; }
.cn-callout--sim { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 38%, var(--border)); }
.cn-callout--sim .cn-callout__icon { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-ink); }
.cn-callout--warn { background: color-mix(in srgb, var(--live) 6%, var(--surface)); border-color: color-mix(in srgb, var(--live) 32%, var(--border)); }
.cn-callout--warn .cn-callout__icon { background: color-mix(in srgb, var(--live) 14%, transparent); color: var(--live); }
.cn-callout--legal { background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }

/* ============================== TABEL ============================== */
.cn-tablewrap { margin-top: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); overflow-x: auto; }
.cn-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.cn-table__cap { caption-side: top; padding: 14px 16px 12px; text-align: left; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); border-bottom: 1px solid var(--cn-line); }
.cn-table thead th { padding: 11px 16px; text-align: left; vertical-align: bottom; white-space: nowrap; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--surface-2) 40%, transparent); border-bottom: 1px solid var(--cn-line); }
.cn-table td, .cn-table tbody th { padding: 13px 16px; text-align: left; vertical-align: top; color: var(--ink-2); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.cn-table tbody th { font-weight: 600; color: var(--ink); }
.cn-table tbody tr:last-child > * { border-bottom: 0; }
.cn-table td b { color: var(--ink); }
.cn-table.is-fade tbody { animation: cnFade .2s linear; }
@keyframes cnFade { from { opacity: .2; } to { opacity: 1; } }

/* tabel ide */
.cn-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
@media print, (min-width: 760px) {
  .cn-ideas { table-layout: fixed; }
  .cn-ideas thead th:nth-child(1) { width: 33%; }
  .cn-ideas thead th:nth-child(2) { width: 26%; }
  .cn-ideas thead th:nth-child(3) { width: 10%; }
  .cn-ideas thead th:nth-child(4) { width: 13%; }
  .cn-ideas thead th:nth-child(5) { width: 18%; }
  .cn-ideas td { overflow-wrap: anywhere; }
}
.cn-idea__no { display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.cn-idea__name { color: var(--ink); font-weight: 700; }
.cn-idea__desc { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.cn-idea__src { display: inline-block; margin-top: 6px; font-size: .74rem; }
.cn-eff { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 8px; font-family: var(--font-mono); font-size: .74rem; font-weight: 500; white-space: nowrap; cursor: help; }
.cn-eff--S { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.cn-eff--M { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent-ink); }
.cn-eff--L { background: color-mix(in srgb, var(--live) 13%, transparent); color: var(--live); }
.cn-phase-tag { display: inline-block; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--border); font-size: .76rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.cn-phase-tag--mvp { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); color: var(--ink); }
.cn-st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cn-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cn-st--ada { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.cn-st--sim { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); }
.cn-st--pra { background: color-mix(in srgb, var(--s-wisata) 14%, transparent); color: color-mix(in srgb, var(--s-wisata) var(--chip-strength), var(--ink)); }
.cn-st--belum { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted); }
.cn-st__at { display: block; margin-top: 6px; font-size: .76rem; line-height: 1.35; color: var(--muted); }
.cn-st__at a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.cn-st__at a:hover { color: var(--ink); }

/* matriks visibilitas */
.cn-matrix td { white-space: normal; width: 21%; }
.cn-matrix tbody th { width: 37%; }
.cn-mx { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; vertical-align: -5px; }
.cn-mx .icon { width: 13px; height: 13px; }
.cn-matrix td[data-v="y"] { color: var(--ok); font-weight: 600; }
.cn-matrix td[data-v="y"] .cn-mx { background: color-mix(in srgb, var(--ok) 15%, transparent); }
.cn-matrix td[data-v="n"] { color: var(--muted); }
.cn-matrix td[data-v="n"] .cn-mx { background: color-mix(in srgb, var(--muted) 12%, transparent); }
.cn-matrix td[data-v="c"] { color: var(--accent-ink); }
.cn-matrix td[data-v="c"] .cn-mx { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.cn-free { font-family: var(--font-mono); font-weight: 500; color: var(--ok); margin-right: 4px; }

/* tabel → kartu di layar sempit (layar saja; cetak tetap tabel) */
@media screen and (max-width: 639px) {
  .cn-table thead { display: none; }
  .cn-table, .cn-table tbody { display: block; }
  .cn-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
  .cn-table tbody tr:last-child { border-bottom: 0; }
  .cn-table td, .cn-table tbody th { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 4px 0; border: 0 !important; }
  .cn-table td::before, .cn-table tbody th::before { content: attr(data-label); padding-top: 2px; font-family: var(--font-mono); font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .cn-table caption { display: block; }
  .cn-table:not(.cn-ideas) tr > :first-child { display: block; padding-bottom: 8px; font-weight: 700; color: var(--ink); }
  .cn-table:not(.cn-ideas) tr > :first-child::before { display: none; }
  .cn-table td[colspan] { grid-column: auto; }
  /* matriks: tiga lapis berdampingan */
  .cn-matrix tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; }
  .cn-matrix tr > :first-child { grid-column: 1 / -1; padding-bottom: 2px; }
  .cn-matrix td, .cn-matrix tbody th { width: auto; }
  .cn-matrix td { display: block; font-size: .8rem; line-height: 1.35; }
  .cn-matrix td::before { display: block; margin-bottom: 4px; }
}
@media screen and (max-width: 759px) {
  .cn-ideas thead { display: none; }
  .cn-ideas, .cn-ideas tbody { display: block; }
  .cn-ideas tr { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 10px 16px; padding: 16px; border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
  .cn-ideas tr[hidden] { display: none; }
  .cn-ideas td { display: block; width: auto !important; padding: 0; border: 0 !important; }
  .cn-ideas td:nth-child(1), .cn-ideas td:nth-child(2) { grid-column: 1 / -1; }
  .cn-ideas td:nth-child(2) { font-size: .88rem; }
  .cn-ideas td:nth-child(2)::before, .cn-ideas td:nth-child(n+3)::before { content: attr(data-label); display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: .58rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .cn-ideas td:nth-child(1)::before { display: none; }
}

/* ============================== 05 ROADMAP ============================== */
.cn-gantt { margin-top: 24px; padding: 16px 20px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); }
.cn-gantt__scale { position: relative; height: 18px; margin-left: 70px; font-family: var(--font-mono); font-size: .62rem; color: var(--muted); }
.cn-gantt__scale span { position: absolute; left: calc(var(--at) / 18 * 100%); transform: translateX(-50%); white-space: nowrap; }
.cn-gantt__scale span:first-child { transform: none; }
.cn-gantt__scale span:last-child { transform: translateX(-100%); }
.cn-gantt__row { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; height: 34px; }
.cn-gantt__label { font-weight: 700; font-size: .84rem; color: var(--ink); }
.cn-gantt__track { position: relative; height: 100%; background-image: linear-gradient(90deg, color-mix(in srgb, var(--border) 70%, transparent) 1px, transparent 1px); background-size: calc(100% / 18) 100%; border-right: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.cn-gantt__bar { position: absolute; top: 8px; bottom: 8px; left: calc(var(--s) / 18 * 100%); width: calc((var(--e) - var(--s)) / 18 * 100%); border-radius: 6px; }
.cn-gantt__bar--1 { background: var(--primary); }
.cn-gantt__bar--2 { background: var(--accent); }
.cn-gantt__bar--3 { background: repeating-linear-gradient(135deg, var(--s-wisata) 0 8px, color-mix(in srgb, var(--s-wisata) 78%, var(--surface)) 8px 16px); }
.cn-phases { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cn-phase { --ph: var(--primary); display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--cn-line); border-top: 4px solid var(--ph); }
.cn-phase:nth-child(2) { --ph: var(--accent); }
.cn-phase:nth-child(3) { --ph: var(--s-wisata); }
.cn-phase__when { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cn-phase__title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--ink); }
.cn-phase__sub { font-size: .86rem; color: var(--muted); margin-bottom: 4px; }
.cn-phase .cn-list--tight { font-size: .88rem; }
.cn-phase__kpi { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); }
.cn-phase__kpi .label { color: var(--accent-ink); }
.cn-phase__kpi .label i { font-style: italic; text-transform: none; letter-spacing: 0; }
.cn .cn-phase__kpi ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.cn-phase__kpi li { position: relative; padding-left: 18px; }
.cn-phase__kpi li::before { content: ''; position: absolute; left: 1px; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ph); }

/* ============================== 06 PROGRAM ============================== */
.cn-pull { margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--accent); }
.cn-pull p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.cn-progs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cn-prog { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--cn-line); }
.cn-prog__freq { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.cn-prog__title { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; color: var(--ink); }
.cn-kv { margin: 4px 0 6px; display: grid; }
.cn-kv > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px dashed var(--border); }
.cn-kv dt { padding-top: 2px; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cn-kv dd { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.cn-prog .cn-src { justify-self: start; }
.cn-prog--forest { background: var(--forest); border-color: transparent; color: var(--on-forest); }
.cn-prog--forest::before { content: ''; position: absolute; inset: 0; z-index: -1; background-color: var(--forest-line); -webkit-mask: var(--kontur) 0 0 / 320px auto repeat; mask: var(--kontur) 0 0 / 320px auto repeat; }
.cn-prog--forest .cn-prog__freq, .cn-prog--forest .cn-src { color: var(--gold-soft); }
.cn-prog--forest .cn-prog__title { color: var(--on-forest); }
.cn-prog--forest .cn-kv > div { border-color: rgba(255,252,244,.18); }
.cn-prog--forest .cn-kv dt { color: var(--on-forest-muted); }
.cn-prog--forest .cn-kv dd { color: var(--on-forest); }
.cn-rhythm td:first-child { white-space: nowrap; font-weight: 700; color: var(--ink); }

/* ============================== 07 CHECKLIST ============================== */
.cn-checkbox { margin-top: 28px; padding: clamp(18px, 3vw, 24px); border-radius: 18px; background: var(--surface); border: 1px solid var(--cn-line); scroll-margin-top: 16px; }
@media (max-width: 1079px) { .cn-checkbox { scroll-margin-top: 72px; } }
.cn-checkbox__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cn-checkbox__title { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.15; color: var(--ink); }
.cn-checkbox__head .cn-note { margin-top: 6px; }
.cn-checkbox__count { flex: none; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); font-family: var(--font-mono); font-size: .9rem; font-weight: 500; color: var(--ink); transition: background-color .3s, color .3s; }
.cn-checkbox__count.is-done { background: var(--ok); color: #fff; }
.cn-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 0 22px; margin-bottom: 10px; }
.cn-checklist .check { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.cn-checklist .check__text small { margin-top: 1px; }
.cn-checklist input:checked ~ .check__text b { color: var(--ok); }

/* ============================== 08 PRIVASI ============================== */
.cn .cn-law { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cn-law li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--cn-line); font-size: .92rem; }
.cn-law b { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; color: var(--accent-ink); padding-top: 2px; }
.cn .cn-consent { counter-reset: c; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cn-consent li { counter-increment: c; position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--cn-line); font-size: .94rem; color: var(--ink); }
.cn-consent li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--ink) 32%, transparent); background: var(--bg); }
.cn-consent li::after { content: counter(c); order: -1; width: 12px; font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ink); }

/* ============================== 09 TEKNOLOGI ============================== */
.cn-arch { display: grid; gap: 12px; margin: 0 0 4px; padding: clamp(14px, 2.4vw, 20px); border-radius: 18px; background: var(--surface); border: 1px solid var(--cn-line); }
.cn-arch__lane { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--cn-line); }
.cn-arch__lane--private { background: color-mix(in srgb, var(--live) 4%, var(--bg)); border: 1px dashed color-mix(in srgb, var(--live) 35%, var(--border)); }
.cn-arch__lane-label { font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.cn-arch__lane--private .cn-arch__lane-label { color: var(--live); }
.cn-arch__flow { display: flex; align-items: stretch; gap: 10px; }
.cn-box { flex: 1 1 0; min-width: 0; display: grid; gap: 3px; align-content: center; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.cn-box b { font-size: .84rem; line-height: 1.25; color: var(--ink); }
.cn-box small { font-size: .72rem; line-height: 1.35; color: var(--muted); }
.cn-box--site { background: var(--forest); border-color: transparent; }
.cn-box--site b { color: var(--on-forest); }
.cn-box--site small { color: var(--on-forest-muted); }
.cn-box--lock { border-color: color-mix(in srgb, var(--live) 45%, var(--border)); }
.cn-box--gate { border-color: color-mix(in srgb, var(--accent) 70%, var(--border)); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.cn-arrow { position: relative; flex: none; align-self: center; width: 16px; height: 2px; background: var(--accent-ink); }
.cn-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 6px solid var(--accent-ink); border-right: 0; }
@media screen and (max-width: 719px) {
  .cn-arch__flow { flex-direction: column; gap: 6px; }
  .cn-box { flex: none; }
  .cn-arrow { width: 2px; height: 14px; margin-bottom: 4px; }
  .cn-arrow::after { right: auto; left: -4px; top: auto; bottom: -6px; border: 5px solid transparent; border-top: 6px solid var(--accent-ink); border-bottom: 0; }
}
.cn-cost td:first-child { white-space: nowrap; }

/* ============================== 10 KONFIRMASI ============================== */
.cn-asks { display: grid; gap: 8px; margin-top: 18px; }
.cn-ask { position: relative; display: grid; grid-template-columns: 24px 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--cn-line); cursor: pointer; transition: background-color .25s, border-color .25s; }
.cn-ask:hover { border-color: var(--border); }
.cn-ask input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cn-ask__box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid color-mix(in srgb, var(--ink) 32%, transparent); background: var(--bg); transition: background-color var(--t-hover), border-color var(--t-hover); }
.cn-ask__box::after { content: ''; width: 11px; height: 6px; border-left: 2.2px solid var(--on-primary); border-bottom: 2.2px solid var(--on-primary); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease-out); }
.cn-ask input:checked ~ .cn-ask__box { background: var(--primary); border-color: var(--primary); }
.cn-ask input:checked ~ .cn-ask__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.cn-ask input:focus-visible ~ .cn-ask__box { box-shadow: var(--focus); }
.cn-ask:has(input:checked) { background: color-mix(in srgb, var(--ok) 6%, var(--surface)); border-color: color-mix(in srgb, var(--ok) 30%, var(--border)); }
.cn-ask:has(input:checked) .cn-ask__q b { color: var(--ok); }
.cn-ask__no { padding-top: 3px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.cn-ask__q b { display: block; color: var(--ink); line-height: 1.35; }
.cn-ask__q small { display: block; margin-top: 4px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.cn-ask__where { align-self: start; padding: 4px 9px; border-radius: 8px; background: var(--surface-2); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
@media screen and (max-width: 639px) {
  .cn-ask { grid-template-columns: 24px minmax(0, 1fr); }
  .cn-ask__no { display: none; }
  .cn-ask__where { grid-column: 2; justify-self: start; }
}

/* ============================== 11 LANGKAH ============================== */
.cn .cn-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; }
.cn-steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; row-gap: 3px; padding: 18px 0; border-top: 1px solid var(--cn-line); }
.cn-steps li:first-child { border-top: 0; padding-top: 4px; }
.cn-steps li::before { content: counter(s); grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: var(--gold); font-family: var(--font-display); font-size: 1.35rem; }
.cn-steps__when { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.cn-steps b { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; line-height: 1.2; color: var(--ink); }
.cn-steps p { font-size: .94rem; color: var(--ink-2); }
.cn-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: var(--surface-2); }
.cn-end__text { font-weight: 600; color: var(--ink); max-width: 36ch; }

/* ============================== SUMBER ============================== */
.cn-srcs { display: grid; gap: 22px 32px; margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cn-srcs__group .label { color: var(--accent-ink); margin-bottom: 10px; }
.cn .cn-srcs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cn-srcs li { font-size: .88rem; line-height: 1.45; padding-left: 16px; position: relative; color: var(--muted); }
.cn-srcs li::before { content: '↗'; position: absolute; left: 0; color: var(--accent-ink); font-size: .8em; top: .15em; }
.cn-srcs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); overflow-wrap: anywhere; }
.cn-srcs a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ============================== SHEET daftar isi (mobile) ============================== */
.cn-msheet .cn-msheet__list { margin: 0; padding: 0; list-style: none; display: grid; }
.cn-msheet__link { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 12px 4px; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 600; text-decoration: none; }
.cn-msheet__link .icon { margin-left: auto; color: var(--muted); }
.cn-msheet__link.is-active { color: var(--accent-ink); }
.cn-msheet__link.is-active .cn-toc__no { color: var(--accent-ink); }
.cn-msheet__print { margin-top: 18px; }

/* ritme vertikal di dalam .cn-prose (mengalahkan reset ul[class] & margin daftar) */
.cn .cn-prose > * + * { margin-top: 1em; }
.cn .cn-prose > h3 { margin-top: 2em; }
.cn .cn-prose > h3:first-child { margin-top: 0; }
.cn .cn-prose > h3 + * { margin-top: .75em; }
.cn-sec > :not(.cn-sec__head) + .cn-prose, .cn-arch + .cn-cards { margin-top: 36px; }

/* ============================== GERAK ============================== */
@media (prefers-reduced-motion: reduce) {
  .cn-page, .cn-node, .cn-ask { transition: none; }
  .cn-page:hover, a.cn-node:hover { transform: none; }
  .cn-table.is-fade tbody { animation: none; }
}

/* ============================== CETAK ============================== */
@media print {
  @page { margin: 16mm 14mm; }
  :root, :root[data-theme], :root:not([data-theme="light"]) {
    color-scheme: light;
    --bg: #fff; --surface: #fff; --surface-2: #F1ECE0; --ink: #14180F; --ink-2: #2B3025; --muted: #50554A;
    --primary: #1D4A2C; --on-primary: #fff; --accent: #C99A12; --accent-ink: #6E5200; --border: #CFC6B0; --live: #B03A27; --ok: #2F7A45;
    --forest: #fff; --on-forest: #14180F; --on-forest-muted: #2B3025; --gold: #6E5200; --gold-soft: #6E5200; --forest-line: transparent;
    --sh-sm: none; --sh-md: none; --sh-lg: none; --chip-strength: 82%;
  }
  html, body { background: #fff !important; }
  .cn-toc, .cn-mbar, .no-print, .cn-anchor, .cn-filter, .cn-idea__src { display: none !important; }
  html { font-size: 12.5px; }
  .cn-cover { padding: 0 0 6mm; }
  .cn-meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8mm; margin-top: 0; border-radius: 12px; }
  .cn-meta__tab { display: none; }
  .cn-meta > div:nth-last-child(2) { border-bottom: 0; }
  .cn-wow { background: #E8B820 !important; color: #14180F !important; }
  .bg-contour::before, .cn-tldr::before, .cn-prog--forest::before { display: none; }
  .cn-cover__grid { grid-template-columns: 1fr; gap: 6mm; }
  .cn-cover__title { font-size: 28pt; }
  .cn-tldr, .cn-prog--forest, .cn-node--root, .cn-box--site { border: 1px solid #14180F !important; }
  .cn-steps li::before { border: 1.5px solid #14180F; color: #14180F; }
  .cn-layout { display: block; padding-bottom: 0; }
  .cn-doc { max-width: none; }
  .cn-sec { padding-top: 6mm; }
  .cn-sec + .cn-sec { margin-top: 4mm; }
  .cn-tldr { margin-top: 6mm; padding: 6mm; }
  .cn-prog, .cn-phase, .cn-card { padding: 4mm; }
  .cn-sec__head, .cn-prose h3, .cn-table__cap { break-after: avoid; }
  .cn-card, .cn-phase, .cn-prog, .cn-flow, .cn-ask, .cn-table tr, .cn-callout, .cn-page, .cn-map, .cn-arch, .cn-gantt, .cn-steps li, .cn-law li, .cn-consent li, .cn-checklist .check, .cn-tldr__list li { break-inside: avoid; }
  .cn-tablewrap { overflow: visible; }
  .cn-table { font-size: 9pt; }
  .cn-page__go { display: none; }
  .cn-doc a, .cn-tldr a { color: #14180F !important; }
  .cn-srcs a::after { content: ' — ' attr(href); font-size: 7.5pt; color: #50554A; word-break: break-all; }
  .cn-gantt__bar--1, .cn-gantt__bar--2, .cn-gantt__bar--3, .cn-eff, .cn-st, .cn-wow, .cn-pill, .cn-mx, .cn-status { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.cn-page--internal { background: transparent; border-style: dashed; }
