:root {
  color-scheme: light;
  --content-ink: #183329;
  --content-soft: #4b6257;
  --content-muted: #75877d;
  --content-line: #dfe9e2;
  --content-paper: #fff;
  --content-ground: #f4f8f5;
  --content-green: #08724e;
  --content-green-dark: #07583e;
  --content-wash: #e9f5ed;
  --content-red: #a92736;
  --content-amber: #875b16;
  /* Page-specific visualizations can keep their own locally defined accents. */
  --ground: var(--content-ground);
  --ink: var(--content-ink);
  --ink-soft: var(--content-soft);
  --ink-faint: var(--content-muted);
  --surface: var(--content-paper);
  --line: var(--content-line);
  --sunk: #edf3ef;
  --brand: var(--content-green);
  --accent: var(--content-green);
  --ok: #17643f;
  --warn: var(--content-amber);
  --bad: var(--content-red);
  --crit: var(--content-red);
  --info: #245c92;
  --sans: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: var(--mono);
  --r-lg: 14px;
  --rule-strong: #bfd1c5;
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--content-ink);
  background: var(--content-ground);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--content-ground); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--content-ink); background: var(--content-ground); font-family: inherit; }
body :where(button,input,select,textarea) { font: inherit; }
body :where(img,svg,video) { max-width: 100%; }
body :where(a) { color: var(--content-green); text-underline-offset: .18em; }
body :where(a:hover) { color: var(--content-green-dark); }
body :where(:focus-visible) { outline: 3px solid #74c89c; outline-offset: 3px; }
.content-shell { min-height: 100vh; }
.content-shell-admin { display: grid; grid-template-columns: 244px minmax(0,1fr); }
.content-sidebar { position: sticky; top: 0; display: flex; height: 100dvh; flex-direction: column; gap: 26px; padding: 21px 15px 16px; border-right: 1px solid var(--content-line); background: #fff; }
.content-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px; color: var(--content-ink); text-decoration: none; }
.content-brand-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--content-green); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: -.04em; }
.content-brand strong,.content-brand small { display: block; }
.content-brand strong { font-size: 13px; font-weight: 850; letter-spacing: -.02em; }
.content-brand small { margin-top: 3px; color: var(--content-muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.content-nav { display: grid; gap: 4px; }
.content-nav-link { display: flex; min-height: 40px; align-items: center; gap: 11px; padding: 0 11px; border-radius: 9px; color: var(--content-soft)!important; font-size: 11px; font-weight: 700; text-decoration: none; }
.content-nav-link > span { width: 18px; color: #698276; text-align: center; font-size: 16px; }
.content-nav-link:hover { background: #f4f8f5; }
.content-nav-link.is-current { background: var(--content-wash); color: var(--content-green-dark)!important; }
.content-nav-link.is-current > span { color: var(--content-green); }
.content-logout { display: flex; margin-top: auto; justify-content: space-between; padding: 12px 11px; border-top: 1px solid var(--content-line); color: var(--content-muted)!important; font-size: 11px; font-weight: 700; text-decoration: none; }
.content-main { min-width: 0; }
.content-topbar { position: sticky; z-index: 15; top: 0; display: flex; min-height: 75px; align-items: center; gap: 14px; padding: 11px clamp(18px,3vw,38px); border-bottom: 1px solid var(--content-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.content-topbar h1 { margin: 1px 0 0; font-size: clamp(17px,2vw,21px); font-weight: 850; letter-spacing: -.045em; }
.content-kicker { margin: 0; color: var(--content-muted); font-size: 10px; font-weight: 700; }
.content-home { margin-left: auto; color: var(--content-soft); font-size: 11px; font-weight: 700; text-decoration: none; }
.content-menu { display: none; width: 38px; height: 38px; border: 1px solid var(--content-line); border-radius: 10px; background: #fff; color: var(--content-ink); cursor: pointer; }
.content-body { width: min(100%, 1260px); min-width: 0; margin: 0 auto; padding: clamp(20px,3vw,38px); }
.content-body > :first-child { margin-top: 0; }
.content-document { max-width: 980px; margin-inline: auto; }
.document-hero { margin-bottom: 28px; padding: clamp(22px,4vw,38px); border: 1px solid #d6e8dc; border-radius: 16px; background: linear-gradient(112deg,#fff 0%,#eff8f2 100%); }
.document-hero h1 { margin: 8px 0 10px; }
.document-hero .lead { margin-bottom: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.section-head h2 { margin: 0 0 12px; }
.history-list { display: grid; gap: 10px; margin-top: 14px; }
.history-entry { padding: 15px 16px; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; }
.history-entry p { margin: 8px 0 0; }
.history-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.history-meta time { color: var(--content-muted); font-size: 10px; }
.empty-state { padding: 18px; border: 1px dashed var(--content-line); border-radius: 11px; color: var(--content-muted)!important; text-align: center; }
.content-body > :where(div,section,article) { min-width: 0; }
.content-body :where(h1,h2,h3,h4) { color: var(--content-ink); letter-spacing: -.035em; line-height: 1.2; }
.content-body h1 { max-width: 900px; font-size: clamp(27px,4vw,44px); font-weight: 850; }
.content-body h2 { margin: 34px 0 12px; font-size: clamp(19px,2.2vw,25px); font-weight: 800; }
.content-body h3 { margin: 24px 0 9px; font-size: 17px; font-weight: 800; }
.content-body :where(p,li) { max-width: 82ch; color: #40574b; font-size: 14px; line-height: 1.75; }
.content-body :where(.lead,.pitch,header p) { max-width: 76ch; color: var(--content-soft); font-size: clamp(14px,1.4vw,17px); line-height: 1.75; }
.content-body :where(.kicker,.eyebrow) { color: var(--content-green); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.content-body :where(blockquote) { margin: 20px 0; padding: 16px 19px; border-left: 3px solid #3da276; border-radius: 0 12px 12px 0; background: var(--content-wash); color: var(--content-green-dark); font-size: 15px; font-weight: 700; line-height: 1.65; }
.content-body :where(.card,.box,.note,.warnbox,.banner-info,.section,.road,.board,.masthead,.part,.chartbox,.tablebox,.qrbox,.glass,.surface) { min-width: 0; padding: 19px; border: 1px solid var(--content-line); border-radius: 14px; background: var(--content-paper); }
.content-body :where(.stats,.tiles,.grid,.grid-infra,.overview,.flow,.fitur,.links) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 12px; }
.content-body :where(.stat,.tile,.metric,.step,.cell,.item,.find) { min-width: 0; padding: 15px; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; }
.content-body :where(.stat .n,.tile .num,.stat-value,.num) { color: var(--content-ink); font-size: 21px; font-weight: 850; letter-spacing: -.045em; }
.content-body :where(.stat .l,.tile .lbl) { display: block; margin-top: 5px; color: var(--content-muted); font-size: 11px; line-height: 1.5; }
.content-body :where(.links > a) { display: block; padding: 15px; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; color: var(--content-ink); text-decoration: none; }
.content-body :where(.links > a:hover) { border-color: #a7d2b7; background: #f8fcf9; }
.content-body :where(.links .t) { font-size: 13px; font-weight: 800; }
.content-body :where(.links .d) { margin-top: 5px; color: var(--content-muted); font-size: 11px; line-height: 1.5; }
.content-body :where(.tag,.pill,.badge,.chip,.status-badge) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--content-line); border-radius: 999px; background: #f5f8f6; color: var(--content-soft); font-size: 10px; font-weight: 800; }
.content-body :where(.tag.ok,.pill.ok,.badge-ok,.status-badge.ok) { border-color: #b7e5c9; background: #eaf8ef; color: #17643f; }
.content-body :where(.tag.warn,.pill.warn,.status-badge.warn) { border-color: #f1d9aa; background: #fff8e9; color: var(--content-amber); }
.content-body :where(.tag.bad,.pill.bad,.status-badge.no) { border-color: #f1c6ca; background: #fff1f2; color: var(--content-red); }
.content-body :where(.filter,.aksi,.top-actions,.heading-actions) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.content-body :where(button,.btn,a.btn) { min-height: 38px; padding: 8px 13px; border: 1px solid #d4e1d9; border-radius: 9px; background: #fff; color: #29483a; cursor: pointer; font-weight: 750; text-decoration: none; }
.content-body :where(button:hover,.btn:hover,a.btn:hover) { border-color: #9dc7ae; background: #f2faf5; }
.content-body :where(.btn.primary,button.primary,.btn.active) { border-color: var(--content-green); background: var(--content-green); color: #fff; }
.content-body :where(.btn.danger,button.danger) { border-color: #f1c6ca; background: #fff2f3; color: var(--content-red); }
.content-body :where(input,select,textarea) { max-width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d4e1d9; border-radius: 9px; background: #fff; color: var(--content-ink); }
.content-body :where(table) { width: 100%; border-collapse: collapse; text-align: left; }
.content-body :where(table) { display: block; max-width: 100%; overflow-x: auto; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; }
.content-body :where(th) { padding: 11px 13px; background: #f2f7f3; color: var(--content-soft); font-size: 11px; font-weight: 800; white-space: nowrap; }
.content-body :where(td) { padding: 11px 13px; border-top: 1px solid #edf2ef; color: #314c3e; font-size: 12px; vertical-align: top; }
.content-body :where(pre) { max-width: 100%; overflow: auto; padding: 15px; border: 1px solid var(--content-line); border-radius: 10px; background: #f6f9f7; }
.content-body :where(code,kbd) { overflow-wrap: anywhere; border-radius: 5px; background: #edf4ef; color: #294b3b; }
.content-body :where(hr) { height: 1px; border: 0; background: var(--content-line); }
.content-body :where(details) { padding: 14px 16px; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; }
.content-body :where(summary) { cursor: pointer; font-weight: 800; }
.content-scrim { display: none; }
.public-topbar { display: flex; max-width: 1240px; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 12px 24px; border-bottom: 1px solid var(--content-line); }
.public-topbar nav { display: flex; flex-wrap: wrap; gap: 18px; }
.public-topbar nav a { color: var(--content-soft); font-size: 11px; font-weight: 750; text-decoration: none; }
.public-content { width: min(100% - 40px, 1160px); margin: 26px auto 70px; }
.public-content > :first-child { margin-top: 0; }
.public-content :where(h1,h2,h3,h4) { color: var(--content-ink); letter-spacing: -.035em; line-height: 1.2; }
.public-content h1 { max-width: 900px; font-size: clamp(27px,4vw,44px); font-weight: 850; }
.public-content h2 { margin: 34px 0 12px; font-size: clamp(19px,2.2vw,25px); font-weight: 800; }
.public-content h3 { margin: 24px 0 9px; font-size: 17px; font-weight: 800; }
.public-content :where(p,li) { max-width: 82ch; color: #40574b; font-size: 14px; line-height: 1.75; }
.public-content :where(.lead,.pitch) { max-width: 76ch; color: var(--content-soft); font-size: clamp(14px,1.4vw,17px); line-height: 1.75; }
.public-content :where(blockquote) { margin: 20px 0; padding: 16px 19px; border-left: 3px solid #3da276; border-radius: 0 12px 12px 0; background: var(--content-wash); color: var(--content-green-dark); font-size: 15px; font-weight: 700; line-height: 1.65; }
.public-content :where(.card,.box,.note,.warnbox,.banner-info,.section,.road,.board,.masthead,.part,.chartbox,.tablebox,.qrbox,.glass,.surface) { min-width: 0; padding: 19px; border: 1px solid var(--content-line); border-radius: 14px; background: var(--content-paper); }
.public-content :where(table) { display: block; max-width: 100%; overflow-x: auto; border: 1px solid var(--content-line); border-radius: 11px; background: #fff; }
.public-content :where(th) { padding: 11px 13px; background: #f2f7f3; color: var(--content-soft); font-size: 11px; font-weight: 800; white-space: nowrap; }
.public-content :where(td) { padding: 11px 13px; border-top: 1px solid #edf2ef; color: #314c3e; font-size: 12px; vertical-align: top; }
.public-content :where(pre) { max-width: 100%; overflow: auto; padding: 15px; border: 1px solid var(--content-line); border-radius: 10px; background: #f6f9f7; }
.public-content :where(code,kbd) { overflow-wrap: anywhere; border-radius: 5px; background: #edf4ef; color: #294b3b; }
.content-login { display: grid; min-height: 100vh; place-items: center; padding: 20px; background: radial-gradient(ellipse at 20% 0%, #e7f4eb 0, transparent 45%), var(--content-ground); }
.login-wrap { width: min(100%, 420px); padding: clamp(23px,5vw,34px); border: 1px solid var(--content-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgba(24,51,41,.08); }
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.login-wrap h1 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.login-wrap .login-description { margin: 8px 0 21px; color: var(--content-muted); font-size: 13px; line-height: 1.6; }
.login-wrap label { display: block; margin: 16px 0 7px; color: var(--content-soft); font-size: 11px; font-weight: 800; }
.login-wrap input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--content-line); border-radius: 10px; background: #fff; color: var(--content-ink); }
.login-wrap button { width: 100%; min-height: 45px; margin-top: 14px; border: 0; border-radius: 10px; background: var(--content-green); color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
.login-error { margin: 12px 0 0; color: var(--content-red); font-size: 12px; }
.login-foot { margin: 19px 0 0; color: var(--content-muted); font-size: 11px; text-align: center; }
@media (max-width: 860px) {
  .content-shell-admin { display: block; }
  .content-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: min(290px,86vw); height: 100dvh; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 16px 0 40px rgba(18,45,32,.12); }
  .content-menu { display: grid; place-items: center; }
  .content-shell-admin .content-scrim:not([hidden]) { position: fixed; z-index: 35; inset: 0; display: block; background: rgba(18,45,32,.34); }
  .content-menu-open .content-sidebar { transform: translateX(0); }
  .content-topbar { min-height: 65px; padding-inline: 14px; }
  .content-home { display: none; }
  .content-body { padding: 20px 15px 45px; }
  .content-body :where(.card,.box,.note,.warnbox,.banner-info,.section,.road,.board,.masthead,.part,.chartbox,.tablebox,.qrbox,.glass,.surface) { padding: 15px; }
  .public-topbar { align-items: flex-start; flex-direction: column; padding: 13px 17px; }
  .public-topbar nav { gap: 12px; }
  .public-content { width: min(100% - 24px, 1160px); margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
