
/* animasi loading saat halaman Pusat Info dibuka */
#infoLoader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--bg); transition: opacity .35s ease; }
#infoLoader.is-hiding { opacity: 0; pointer-events: none; }
#infoLoader.done { display: none; }
#infoLoader .il-mark { width: 52px; height: 52px; display: grid; place-items: center; animation: ilPulse 1.4s ease-in-out infinite; }
#infoLoader .il-mark img { width: 52px; height: 52px; filter: drop-shadow(0 8px 18px rgba(20,184,166,.35)); }
#infoLoader .il-ring { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: ilSpin .8s linear infinite; }
@keyframes ilSpin { to { transform: rotate(360deg); } }
@keyframes ilPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.9); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { #infoLoader .il-mark, #infoLoader .il-ring { animation: none; } }
/* Pusat Info KASKOW (/info/...). Token warna sama dengan remote-desktop.html. */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0e13; --surface: #0f151c; --surface-2: #131a23; --surface-3: #18212b; --surface-hover: #1b2530;
  --card: rgba(255,255,255,0.035); --card-solid: #0f151c; --border: rgba(160,182,204,0.14); --hover: rgba(255,255,255,0.06);
  --line: rgba(160,182,204,0.09); --line-2: rgba(160,182,204,0.14); --line-3: rgba(160,182,204,0.24);
  --text: #e7eef4; --text-2: #bac7d3; --muted: #8a99a8; --faint: #5f6d7b;
  --brand: #14b8a6; --brand-text: #2dd4bf; --brand-ink: #03231f; --brand-tint: rgba(20,184,166,0.14);
  --brand-soft: rgba(20,184,166,0.12); --brand-softer: rgba(20,184,166,0.06); --brand-line: rgba(45,212,191,0.34);
  --btn-primary: linear-gradient(180deg, #34dcc5 0%, #14b8a6 100%);
  --btn-primary-hover: linear-gradient(180deg, #4ae6d0 0%, #19c4b1 100%);
  --btn-primary-shadow: 0 1px 0 rgba(255,255,255,0.28) inset, 0 8px 22px -8px rgba(20,184,166,0.6);
  --input-bg: rgba(255,255,255,0.04); --glass: rgba(10,14,19,0.78);
  --shadow: 0 12px 30px -14px rgba(0,0,0,0.6), 0 2px 6px -2px rgba(0,0,0,0.35);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,0.8), 0 12px 28px -12px rgba(0,0,0,0.5);
  --ring: 0 0 0 3px rgba(45,212,191,0.32);
  --code-bg: #0c1218; --code-text: #d6e2ec; --inline-code: rgba(160,182,204,0.12);
  --tip: #2dd4bf; --tip-bg: rgba(20,184,166,0.09); --tip-line: rgba(45,212,191,0.32);
  --imp: #f7b84b; --imp-bg: rgba(245,166,35,0.09); --imp-line: rgba(245,166,35,0.32);
  --warn: #fb7185; --warn-bg: rgba(244,63,94,0.09); --warn-line: rgba(244,63,94,0.32);
  --note: #7cb4ff; --note-bg: rgba(96,165,250,0.09); --note-line: rgba(96,165,250,0.32);
  --c-remote: #2dd4bf; --c-scraper: #fb923c; --c-tools: #a5b4fc; --c-kaskow: #4ade80;
  --hero-glow: radial-gradient(700px 360px at 10% 0%, rgba(63,220,156,0.14), transparent 70%), radial-gradient(600px 360px at 100% 20%, rgba(20,184,166,0.10), transparent 70%);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f9; --surface: #ffffff; --surface-2: #f6f9fb; --surface-3: #edf2f6; --surface-hover: #e8eef3;
  --card: #ffffff; --card-solid: #ffffff; --border: rgba(15,35,55,0.12); --hover: rgba(15,23,42,0.04);
  --line: rgba(15,35,55,0.08); --line-2: rgba(15,35,55,0.12); --line-3: rgba(15,35,55,0.2);
  --text: #0d1922; --text-2: #31424f; --muted: #5d6e7d; --faint: #93a2af;
  --brand: #0d9488; --brand-text: #0b7f75; --brand-ink: #ffffff; --brand-tint: rgba(13,148,136,0.1);
  --brand-soft: rgba(13,148,136,0.09); --brand-softer: rgba(13,148,136,0.05); --brand-line: rgba(13,148,136,0.32);
  --btn-primary: linear-gradient(180deg, #13a597 0%, #0d9488 100%);
  --btn-primary-hover: linear-gradient(180deg, #0f9a8d 0%, #0b857a 100%);
  --btn-primary-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 8px 20px -8px rgba(13,148,136,0.55);
  --input-bg: #ffffff; --glass: rgba(255,255,255,0.86);
  --shadow: 0 12px 28px -14px rgba(15,35,55,0.22), 0 2px 6px -2px rgba(15,35,55,0.06);
  --shadow-lg: 0 40px 80px -36px rgba(15,35,55,0.35), 0 12px 28px -14px rgba(15,35,55,0.16);
  --ring: 0 0 0 3px rgba(13,148,136,0.25);
  --code-bg: #0f1a24; --code-text: #dbe7f1; --inline-code: rgba(15,35,55,0.07);
  --tip: #0b7f75; --tip-bg: rgba(13,148,136,0.07); --tip-line: rgba(13,148,136,0.3);
  --imp: #9a5b05; --imp-bg: rgba(245,166,35,0.1); --imp-line: rgba(214,140,20,0.34);
  --warn: #be123c; --warn-bg: rgba(244,63,94,0.07); --warn-line: rgba(225,29,72,0.28);
  --note: #1d5fc4; --note-bg: rgba(59,130,246,0.07); --note-line: rgba(59,130,246,0.28);
  --c-remote: #0b7f75; --c-scraper: #c2410c; --c-tools: #4f46e5; --c-kaskow: #15803d;
  --hero-glow: radial-gradient(700px 360px at 10% 0%, rgba(45,212,191,0.18), transparent 70%), radial-gradient(600px 360px at 100% 20%, rgba(96,165,250,0.12), transparent 70%);
}
:root { --ease: cubic-bezier(0.2, 0.8, 0.2, 1); --gutter: 28px; --head-h: 64px; --maxw: 1400px; }

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(45,212,191,0.3); }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.ico { flex: none; width: 18px; height: 18px; }
.ico-sm { width: 15px; height: 15px; }
.muted { color: var(--muted); }

/* language blocks (article content in two languages) */
html[data-ui-lang="en"] [data-lb="id"] { display: none !important; }
html:not([data-ui-lang="en"]) [data-lb="en"] { display: none !important; }
html:not([data-ui-lang="en"]) .en-only { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.skip:focus { top: 10px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { background: var(--surface-hover); }
.btn-primary { background: var(--btn-primary); color: var(--brand-ink); box-shadow: var(--btn-primary-shadow); }
.btn-primary:hover { background: var(--btn-primary-hover); }
.btn-ghost { background: transparent; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.icon-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); padding: 0; flex: none; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.ih { position: sticky; top: 0; z-index: 50; background: var(--glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line-2); }
.ih-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); height: var(--head-h); display: flex; align-items: center; gap: 6px; }
.ih-burger { display: none; margin-left: -8px; }
.ih-brand { display: flex; align-items: center; gap: 10px; flex: none; margin-right: 18px; }
.ih-brand img { width: 30px; height: 30px; filter: drop-shadow(0 4px 10px rgba(21,155,115,.35)); }
.ih-brand-t { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; line-height: 1; }
.ih-brand-t b { font-weight: 800; font-size: 16px; letter-spacing: .06em; }
.ih-brand-t span { font-weight: 600; font-size: 15px; color: var(--brand-text); }
.ih-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.ih-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 10px; border: 0; background: transparent; font-weight: 600; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.ih-link:hover { background: var(--surface-3); color: var(--text); }
.ih-link.active { color: var(--brand-text); background: var(--brand-softer); }
.ih-link .ico-sm { transition: transform .2s var(--ease); }
.ih-dd { position: relative; }
.ih-dd.open .ih-link .ico-sm { transform: rotate(180deg); }
.ih-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ih-dd-menu { position: absolute; left: 0; top: calc(100% + 8px); width: 340px; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card-solid); box-shadow: var(--shadow-lg); z-index: 60; }
.dd-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 12px; }
.dd-item:hover, .dd-item.current { background: var(--surface-3); }
.dd-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); }
.dd-ic img { width: 22px; height: 22px; }
.dd-t { display: flex; flex-direction: column; min-width: 0; }
.dd-t b { font-size: 14px; }
.dd-t small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.new-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.ih-search { position: relative; display: flex; align-items: center; margin-left: auto; width: 250px; flex: 0 1 250px; min-width: 150px; }
.ih-search .ico, .ih-msearch .ico { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.ih-search input, .ih-msearch input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--input-bg); font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.ih-search input:focus, .ih-msearch input:focus { border-color: var(--brand); box-shadow: var(--ring); }
.ih-actions { display: flex; align-items: center; gap: 4px; flex: none; margin-left: 8px; }
.ih-search-btn { display: none; }
.ih-signin { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--brand-text); white-space: nowrap; }
.ih-signin:hover { background: var(--brand-softer); }
.ih-back { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px 0 12px; margin-left: 4px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line-2); border-radius: 0 10px 10px 0; white-space: nowrap; }
.ih-back:hover { color: var(--text); }
.ih-msearch { border-top: 1px solid var(--line); padding: 10px var(--gutter); }
.ih-msearch form { position: relative; display: flex; align-items: center; max-width: 640px; margin: 0 auto; }

/* ---------- shell ---------- */
.shell { flex: 1 0 auto; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 264px minmax(0, 1fr); column-gap: 44px; align-items: start; }
.page-article .shell { grid-template-columns: 264px minmax(0, 1fr) 236px; }
.no-side .shell { grid-template-columns: minmax(0, 1fr); }
.no-side .is-side { display: none; }
.is-main { min-width: 0; padding: 26px 0 72px; }

/* ---------- sidebar tree ---------- */
.is-side { position: sticky; top: var(--head-h); max-height: calc(100vh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; padding: 22px 6px 40px 0; scrollbar-width: thin; }
.side-head, .side-links, .side-prefs { display: none; }
.side-title { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); padding: 4px 10px 10px; }
.tree details > summary { list-style: none; cursor: pointer; user-select: none; }
.tree details > summary::-webkit-details-marker { display: none; }
.tree-app { border-radius: 12px; margin-bottom: 2px; }
.tree-app > summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; font-weight: 700; font-size: 14.5px; }
.tree-app > summary:hover { background: var(--surface-3); }
.tree-app > summary .tw { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease); }
.tree-app[open] > summary .tw { transform: rotate(180deg); }
.tree-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); }
.tree-ic .ico { width: 16px; height: 16px; }
.tree-ic img { width: 17px; height: 17px; }
.tree-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-body { padding: 2px 0 10px 24px; margin-left: 13px; border-left: 1px solid var(--line-2); }
.tree-all, .tree-cat > summary, .tree-cat li a { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-size: 13.5px; color: var(--text-2); }
.tree-all { font-weight: 600; }
.tree-all:hover, .tree-cat > summary:hover, .tree-cat li a:hover { background: var(--surface-3); color: var(--text); }
.tree-cat > summary { font-weight: 600; padding-left: 4px; }
.tree-cat > summary .tw { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.tree-cat[open] > summary .tw { transform: rotate(90deg); }
.tree-n { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.tree-cat ul { list-style: none; margin: 2px 0 6px; padding: 0 0 0 14px; }
.tree-cat li a { font-size: 13.5px; line-height: 1.45; padding-top: 6px; padding-bottom: 6px; position: relative; }
.tree-all.current, .tree-cat > summary.current, .tree-cat li a.current { color: var(--brand-text); background: var(--brand-soft); font-weight: 700; }
.tree-cat li a.current::before { content: ""; position: absolute; left: -15px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--brand); }
.tree-more { color: var(--brand-text) !important; font-weight: 600; }
.tree-empty { margin: 4px 0 6px; padding: 4px 10px; font-size: 13px; color: var(--faint); }
.scrim { display: none; }

/* product colours */
.p-remote { --pc: var(--c-remote); } .p-scraper { --pc: var(--c-scraper); } .p-tools { --pc: var(--c-tools); } .p-kaskow { --pc: var(--c-kaskow); }

/* ---------- breadcrumb, chips ---------- */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(45deg); flex: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--text-2); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
a.chip:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); }
.chip-app { color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent); }
a.chip-app:hover { color: var(--pc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 55%, transparent); }
.chip-ver { font-variant-numeric: tabular-nums; color: var(--imp); background: var(--imp-bg); box-shadow: inset 0 0 0 1px var(--imp-line); }

/* ---------- article ---------- */
.art { max-width: 820px; }
.art-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.art-head h1 { margin: 14px 0 0; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.18; letter-spacing: -0.022em; font-weight: 800; overflow-wrap: anywhere; }
.art-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.art-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.art-meta time { color: var(--text-2); font-weight: 600; }
.copy-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 700; color: var(--text-2); }
.copy-link:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.copy-link.done { color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-line); }
.en-note { margin: 0 0 22px; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; color: var(--note); background: var(--note-bg); box-shadow: inset 0 0 0 1px var(--note-line); }
.toc-m { display: none; margin: 0 0 24px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.toc-m > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 700; font-size: 14px; }
.toc-m > summary::-webkit-details-marker { display: none; }
.toc-m > summary .tw { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
.toc-m[open] > summary .tw { transform: rotate(180deg); }
.toc-m .toc-list { padding: 0 14px 12px; }

/* markdown body */
.md { font-size: 16px; line-height: 1.75; color: var(--text-2); overflow-wrap: break-word; }
.md > :first-child { margin-top: 0; }
.md p { margin: 0 0 16px; }
.md h2 { margin: 40px 0 12px; font-size: 23px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 800; color: var(--text); scroll-margin-top: calc(var(--head-h) + 18px); }
.md h3 { margin: 30px 0 10px; font-size: 18.5px; line-height: 1.35; font-weight: 800; color: var(--text); scroll-margin-top: calc(var(--head-h) + 18px); }
.md h4 { margin: 24px 0 8px; font-size: 16px; font-weight: 800; color: var(--text); }
.md strong { color: var(--text); font-weight: 700; }
.md a:not(.md-img) { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.md a:not(.md-img):hover { text-decoration-thickness: 2px; }
.md a[target="_blank"]:not(.md-img)::after { content: "\2197"; font-size: .78em; margin-left: 2px; text-decoration: none; display: inline-block; }
.md ul, .md ol { margin: 0 0 18px; padding-left: 24px; }
.md li { margin: 6px 0; padding-left: 4px; }
.md li > ul, .md li > ol { margin: 6px 0 4px; }
.md ul li::marker { color: var(--brand); }
.md ol li::marker { color: var(--brand-text); font-weight: 800; }
.md code { font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace; font-size: .87em; padding: .12em .42em; border-radius: 6px; background: var(--inline-code); color: var(--text); }
.md pre { margin: 0 0 20px; padding: 16px 18px; border-radius: 12px; background: var(--code-bg); border: 1px solid var(--line-2); overflow-x: auto; line-height: 1.6; }
.md pre code { padding: 0; background: none; color: var(--code-text); font-size: 13.5px; white-space: pre; }
.md blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-3); color: var(--muted); }
.md blockquote p:last-child { margin-bottom: 0; }
.md hr { border: 0; height: 1px; background: var(--line-2); margin: 32px 0; }
.md img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); }
.md p > a.md-img { display: inline-block; vertical-align: middle; }
.md .md-img { cursor: zoom-in; }
.md figure { margin: 6px 0 24px; }
.md figure img { margin: 0 auto; }
.md figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.md .table-wrap { margin: 0 0 20px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--line-2); }
.md table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.md th, .md td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.md th { background: var(--surface-2); color: var(--text); font-weight: 700; white-space: nowrap; }
.md tr:last-child td { border-bottom: 0; }
.md del { color: var(--faint); }
.callout { margin: 0 0 20px; padding: 14px 16px 14px 18px; border-radius: 12px; border: 1px solid var(--cl-line); background: var(--cl-bg); position: relative; }
.callout::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cl); }
.callout-title { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cl); margin-bottom: 4px; }
.callout-body { color: var(--text-2); font-size: 15px; }
.callout-body > :last-child { margin-bottom: 0; }
.callout-tip { --cl: var(--tip); --cl-bg: var(--tip-bg); --cl-line: var(--tip-line); }
.callout-important { --cl: var(--imp); --cl-bg: var(--imp-bg); --cl-line: var(--imp-line); }
.callout-warning { --cl: var(--warn); --cl-bg: var(--warn-bg); --cl-line: var(--warn-line); }
.callout-note { --cl: var(--note); --cl-bg: var(--note-bg); --cl-line: var(--note-line); }

/* TOC column */
.is-toc { position: sticky; top: calc(var(--head-h) + 26px); align-self: start; max-height: calc(100vh - var(--head-h) - 40px); overflow-y: auto; padding: 26px 0 24px; scrollbar-width: thin; }
.toc-in { border-left: 1px solid var(--line-2); padding-left: 16px; }
.toc-title { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc-list a { display: block; padding: 4px 0; font-size: 13px; line-height: 1.45; color: var(--muted); transition: color .15s; position: relative; }
.toc-list a:hover { color: var(--text); }
.toc-list .t3 a { padding-left: 12px; font-size: 12.5px; }
.toc-in .toc-list a.active { color: var(--brand-text); font-weight: 700; }
.toc-in .toc-list a.active::before { content: ""; position: absolute; left: -17px; top: 5px; bottom: 5px; width: 2px; border-radius: 2px; background: var(--brand); }
.toc-top { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.toc-top:hover { color: var(--text); }

/* prev/next + related */
.prevnext { max-width: 780px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, transform .15s var(--ease); min-width: 0; }
.pn:hover { border-color: var(--brand-line); }
.pn small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pn b { font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.pn.next { text-align: right; align-items: flex-end; grid-column: 2; }
.related { max-width: 780px; margin-top: 40px; }
.related h2 { margin: 0 0 14px; font-size: 19px; font-weight: 800; }
.related .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* cards & lists */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.row-list { display: grid; gap: 12px; max-width: 1180px; }
.row-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s var(--ease); min-width: 0; }
.row-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-1px); }
.rc-top { display: flex; align-items: center; gap: 8px; }
.rc-star { margin-left: auto; color: var(--imp); }
.row-card h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; }
.rc-ex { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-meta { margin-top: auto; font-size: 12.5px; color: var(--faint); }
.rc-meta time { color: var(--muted); }

.empty { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 16px; border: 1px dashed var(--line-3); background: var(--brand-softer); max-width: 1180px; }
.empty-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--brand-text); background: var(--brand-soft); }
.empty b { display: block; font-size: 15px; }
.empty p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.empty .more { margin-top: 10px; }
.empty-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.empty-links a { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.empty-links a:hover { box-shadow: inset 0 0 0 1px var(--brand-line); color: var(--brand-text); }

/* listing */
.list-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; max-width: 1180px; }
.lh-ic { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--pc, var(--brand-text)); background: color-mix(in srgb, var(--pc, var(--brand)) 14%, transparent); }
.lh-ic .ico { width: 26px; height: 26px; }
.lh-ic img { width: 30px; height: 30px; }
.lh-t { min-width: 0; flex: 1; }
.lh-t h1 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.lh-sub { font-size: .6em; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; white-space: nowrap; }
.lh-t p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }
.list-head .btn { flex: none; margin-top: 4px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 22px; max-width: 860px; padding-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; flex: none; }
.tabs a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.tabs a.active { color: var(--brand-ink); background: var(--brand); box-shadow: none; }
.tabs a i { font-style: normal; font-size: 11.5px; opacity: .7; }
.pager { max-width: 860px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.pg { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.pg:hover { box-shadow: inset 0 0 0 1px var(--brand-line); }
.pg-info { font-size: 13px; color: var(--muted); }
.search-head h1 { overflow-wrap: anywhere; }
.page-search .hero-search { margin: 0 0 24px; max-width: 860px; }

/* 404 */
.nf { max-width: 560px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nf-code { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, #3fdc9c, #14b8a6 55%, #0d9488); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin: 10px 0 0; font-size: 26px; font-weight: 800; }
.nf p { margin: 6px 0 18px; color: var(--text-2); }
.nf .hero-search { width: 100%; margin-bottom: 18px; }

/* ---------- home ---------- */
.page-home .shell { max-width: 1180px; }
.home { padding-top: 22px; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 52px 48px 44px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--surface); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-glow); }
.eyebrow { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.hero h1 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
.lead { margin: 12px 0 0; max-width: 620px; font-size: 16.5px; color: var(--text-2); }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 26px; padding: 6px 6px 6px 44px; border-radius: 16px; background: var(--input-bg); border: 1px solid var(--line-3); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.hero-search:focus-within { border-color: var(--brand); box-shadow: var(--ring), var(--shadow); }
:root[data-theme="dark"] .hero-search { background: var(--surface-2); }
.hero-search > .ico { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 15.5px; outline: none; }
.hero-search .btn { height: 44px; border-radius: 12px; }
.hero-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-pop a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-weight: 600; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-pop a:hover { color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-line); }
.sec { margin-top: 44px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.sec-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.app-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.app-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.app-card:hover { border-color: color-mix(in srgb, var(--c-remote) 0%, var(--line-3)); box-shadow: var(--shadow); }
.ac-main { display: flex; align-items: center; gap: 12px; }
.ac-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); }
.ac-ic .ico { width: 23px; height: 23px; }
.ac-ic img { width: 26px; height: 26px; }
.ac-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ac-t b { font-size: 15.5px; }
.ac-t small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ac-go { margin-left: auto; color: var(--faint); transition: transform .15s var(--ease), color .15s; }
.ac-main:hover .ac-go { color: var(--brand-text); transform: translateX(2px); }
.ac-main:hover b { color: var(--brand-text); }
.app-card > p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.ac-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.ac-cats a { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ac-cats a:hover { color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-line); }
.rel-list, .news-list { display: grid; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.rel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; }
.rel + .rel, .news + .news { border-top: 1px solid var(--line); }
.rel:hover, .news:hover { background: var(--surface-2); }
.rel-v { min-width: 64px; height: 30px; padding: 0 10px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--imp); background: var(--imp-bg); box-shadow: inset 0 0 0 1px var(--imp-line); }
.rel-t { display: flex; flex-direction: column; min-width: 0; }
.rel-t small { font-size: 12px; font-weight: 700; color: var(--pc); }
.rel-t b { font-size: 14.5px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.news { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; }
.news-d { font-size: 12.5px; color: var(--muted); }
.news b { font-size: 14.5px; line-height: 1.4; }
.news-ex { margin: 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- footer ---------- */
.if { border-top: 1px solid var(--line-2); margin-top: 24px; }
.if-in { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter) 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.if-brand { display: flex; align-items: center; gap: 10px; }
.if-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.if-links a:hover { color: var(--text); }

/* ---------- lightbox ---------- */
.lb-wrap { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(2,6,12,.86); opacity: 0; transition: opacity .18s; cursor: zoom-out; }
.lb-wrap.open { opacity: 1; }
.lb-wrap img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); object-fit: contain; }
.lb-wrap .lb-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lb-wrap .lb-open { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); }
.drawer-lock { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .ih-search { display: none; }
  .ih-search-btn { display: inline-flex; }
  .ih-actions { margin-left: auto; }
}
@media (max-width: 1199px) {
  .page-article .shell { grid-template-columns: 248px minmax(0, 1fr); column-gap: 36px; }
  .is-toc { display: none; }
  .toc-m { display: block; }
  .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ih-back { display: none; }
}
@media (max-width: 960px) {
  .ih-burger { display: inline-flex; }
  .ih-nav { display: none; }
  .ih-brand { margin-right: 0; }
  .shell, .page-article .shell { grid-template-columns: minmax(0, 1fr); }
  .no-side .is-side { display: block; }
  .is-side { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: min(330px, 88vw); max-height: none; padding: 0 12px 32px; background: var(--card-solid); border-right: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transform: translateX(-104%); transition: transform .24s var(--ease); visibility: hidden; }
  .drawer-open .is-side { transform: none; visibility: visible; }
  .side-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -12px 8px; padding: 12px 12px 12px 22px; background: var(--card-solid); border-bottom: 1px solid var(--line); font-weight: 800; }
  .side-links { display: grid; gap: 2px; padding: 4px 0 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
  .side-links a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; font-weight: 700; font-size: 14.5px; }
  .side-links a:hover { background: var(--surface-3); }
  .side-links a:last-child { color: var(--muted); font-weight: 600; }
  .side-prefs { align-items: center; gap: 4px; padding: 0 0 14px 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
  .side-prefs > span:first-child { margin-right: auto; }
  .side-prefs .ks-menu { right: 0; left: auto; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(2,6,12,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
  .drawer-open .scrim { opacity: 1; }
  .sec-2 { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .pn.next { grid-column: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --head-h: 58px; }
  body { font-size: 14.5px; }
  .ih-in { gap: 2px; }
  .ih-brand { gap: 8px; }
  .ih-brand img { width: 27px; height: 27px; }
  .ih-brand-t { gap: 5px; }
  .ih-brand-t b { font-size: 14.5px; letter-spacing: .04em; }
  .ih-brand-t span { font-size: 14px; }
  .ih-actions { gap: 0; margin-left: auto; }
  .icon-btn { width: 36px; height: 36px; }
  .ih-signin { padding: 0 8px; font-size: 13.5px; }
  .is-main { padding-top: 18px; }
  .hero { padding: 30px 18px 24px; border-radius: 18px; }
  .lead { font-size: 15px; }
  .hero-search { padding-left: 40px; margin-top: 20px; }
  .hero-search > .ico { left: 14px; }
  .hero-search input { font-size: 15px; height: 42px; }
  .hero-search .btn { height: 42px; padding: 0 14px; }
  .app-cards, .card-grid, .related .card-grid { grid-template-columns: minmax(0, 1fr); }
  .sec { margin-top: 36px; }
  .rel { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
  .rel-d { grid-column: 2; }
  .art-head h1 { font-size: 26px; }
  .art-lead { font-size: 15.5px; }
  .copy-link { margin-left: 0; }
  .md { font-size: 15.5px; }
  .md h2 { font-size: 20.5px; margin-top: 34px; }
  .md h3 { font-size: 17px; }
  .md pre { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; border-left: 0; border-right: 0; }
  .list-head { flex-wrap: wrap; gap: 12px; }
  .lh-ic { width: 44px; height: 44px; border-radius: 13px; }
  .list-head .btn { width: 100%; }
  .row-card { padding: 14px 15px; }
  .if-in { flex-direction: column; align-items: flex-start; }
  .nf-code { font-size: 52px; }
}
@media (max-width: 520px) {
  .side-prefs { display: flex; }
  .ih-actions [data-lang-switcher], .ih-actions [data-theme-toggle] { display: none; }
}
@media (max-width: 350px) {
  .ih-brand-t b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.listing .empty { max-width: 1180px; }

/* ===== full-width + panel sidebar (desktop) — ditambahkan 2026-10-03 ===== */
@media (min-width: 1200px) { :root { --gutter: 40px; } }
@media (min-width: 961px) {
  .info:not(.no-side) .shell { position: relative; min-height: calc(100vh - var(--head-h) - 168px); }
  .info:not(.no-side) .shell::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0;
    width: calc(var(--gutter) + 264px + 22px);
    background: var(--surface-2);
    border-right: 1px solid var(--line-2);
    z-index: 0;
  }
  .shell > * { position: relative; z-index: 1; }
  .is-side { padding-left: 2px; padding-right: 14px; }
}

@media (min-width: 961px) {
  :root[data-theme="light"] .info:not(.no-side) .shell::before { background: var(--surface-3); }
}
