/* panduan.iconfig.id (on top of site.css) */
.gd { background: var(--bg-soft, #f6f8fb); padding: 28px 0 60px; min-height: 70vh; }
.gd .wrap { max-width: 1320px; }
.gd-main { min-width: 0; }
.gd-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }

/* sidebar */
.gd-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; font-size: 14px; scrollbar-width: thin; }
.gd-search { position: relative; margin-bottom: 12px; }
.gd-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.gd-search input { width: 100%; box-sizing: border-box; padding: 10px 12px 10px 36px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; background: #fff; }
.gd-search input:focus { outline: 0; border-color: #5a3ec2; box-shadow: 0 0 0 3px rgba(90,62,194,.15); }
.gd-home { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.gd-home.on, .gd-home:hover { background: #fff; color: #5a3ec2; }
.gd-ch { margin: 2px 0; }
.gd-ch summary { list-style: none; cursor: pointer; display: flex; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 8px; font-weight: 700; color: var(--ink); }
.gd-ch summary::-webkit-details-marker { display: none; }
.gd-ch summary:hover { background: #fff; }
.gd-ch summary .n { flex: 0 0 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: #ede9fe; color: #5a3ec2; }
.gd-ch a, .gd-ch .soon { display: block; padding: 6px 10px 6px 41px; border-radius: 8px; color: var(--text); line-height: 1.4; }
.gd-ch a:hover { background: #fff; color: var(--ink); }
.gd-ch a.on { background: #fff; color: #5a3ec2; font-weight: 600; box-shadow: inset 3px 0 0 #5a3ec2; }
.soon { color: #94a3b8 !important; } .soon em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #f1f5f9; }

/* article */
.gd-doc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px 48px; box-shadow: 0 10px 30px rgba(15,23,42,.05); max-width: 900px; }
.gd-crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; } .gd-crumb i { font-size: 10px; margin: 0 4px; }
.gd-doc h1 { font-size: 32px; font-weight: 800; margin: 0 0 10px; }
.gd-doc .lead { font-size: 17px; color: var(--muted); margin: 0 0 22px; line-height: 1.65; }
.gd-doc h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.gd-doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.gd-doc p, .gd-doc li { font-size: 15.5px; line-height: 1.75; color: var(--text); }
.gd-doc ol, .gd-doc ul { padding-left: 22px; } .gd-doc li { margin-bottom: 6px; }
.gd-doc ol.steps { list-style: none; counter-reset: st; padding: 0; }
.gd-doc ol.steps > li { counter-increment: st; position: relative; padding-left: 44px; margin-bottom: 14px; }
.gd-doc ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #5a3ec2; color: #fff; font-weight: 700; font-size: 14px; }
.gd-doc code { font-family: var(--mono); font-size: 13.5px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1px 6px; }
.gd-doc .ui { font-weight: 600; font-size: 14.5px; background: #eef2ff; border: 1px solid #dbe3ff; color: #3730a3; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.gd-doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0 16px; }
.gd-doc th, .gd-doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.gd-doc th { background: #f8fafc; font-weight: 700; }

.note { display: flex; gap: 12px; border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 15px; line-height: 1.65; border: 1px solid; }
.note > i { font-size: 18px; line-height: 1.4; } .note > div > :first-child { margin-top: 0; } .note > div > :last-child { margin-bottom: 0; }
.note.tip { background: #f0fdf4; border-color: #bbf7d0; } .note.tip > i { color: #16a34a; }
.note.warn { background: #fffbeb; border-color: #fde68a; } .note.warn > i { color: #d97706; }
.note.info { background: #eff6ff; border-color: #bfdbfe; } .note.info > i { color: #2563eb; }

.cli { margin: 14px 0 18px; border-radius: 12px; overflow: hidden; background: #0b1324; box-shadow: 0 6px 18px rgba(15,23,42,.15); }
.cli-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: #111c33; color: #94a3b8; font-size: 12.5px; font-weight: 600; }
.cli-copy { border: 0; background: rgba(255,255,255,.08); color: #e2e8f0; border-radius: 6px; padding: 4px 10px; font: 600 12px var(--font); cursor: pointer; }
.cli-copy:hover { background: #5a3ec2; }
.cli pre { margin: 0; padding: 14px 16px; overflow-x: auto; } .cli code { background: none; border: 0; padding: 0; color: #e2e8f0; font-size: 13.5px; line-height: 1.7; }

.shot { margin: 18px 0 24px; } .shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(15,23,42,.08); }
.shot figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.shot.half { max-width: 560px; margin-left: auto; margin-right: auto; }
.shot.mid { max-width: 620px; margin-left: auto; margin-right: auto; }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.cmp > div { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.cmp h4 { font-size: 16px; margin: 0 0 8px; } .cmp p, .cmp li { font-size: 14.5px; margin: 0; } .cmp ul { margin: 8px 0 0; padding-left: 18px; }
.cmp .rec { border-color: #5a3ec2; box-shadow: 0 0 0 3px rgba(90,62,194,.12); }
.badge-rec { font-size: 11px; font-weight: 700; color: #fff; background: #5a3ec2; border-radius: 20px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; counter-reset: fl; }
.flow a, .flow div { counter-increment: fl; position: relative; display: block; padding: 14px 14px 14px 46px; border-radius: 12px; border: 1px solid var(--line); background: #fafbff; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.35; }
.flow a::before, .flow div::before { content: counter(fl); position: absolute; left: 12px; top: 13px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #5a3ec2; color: #fff; font-size: 12.5px; }
.flow a:hover { border-color: #5a3ec2; } .flow small { display: block; font-weight: 500; color: var(--muted); margin-top: 3px; }

.gd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 900px; margin-top: 18px; }
.gd-pager a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; }
.gd-pager a:hover { border-color: #5a3ec2; color: #5a3ec2; } .gd-pager small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.gd-pager .next { text-align: right; grid-column: 2; }
.gd-help { max-width: 900px; margin-top: 18px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* home */
.gd-hero { padding: 6px 0 22px; } .gd-hero .kicker { color: #5a3ec2; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.gd-hero h1 { font-size: 36px; font-weight: 800; margin: 8px 0 10px; } .gd-hero p { font-size: 17px; color: var(--muted); margin: 0; max-width: 720px; }
.gd-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.gd-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid rgb(var(--c)); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.gd-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--c), .14); }
.gd-card-h { display: flex; gap: 12px; align-items: center; } .gd-card-h .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: rgb(var(--c)); background: rgba(var(--c), .12); }
.gd-card-h small { color: var(--muted); font-weight: 600; font-size: 12.5px; } .gd-card-h h2 { font-size: 18px; margin: 0; }
.gd-card p { font-size: 14px; color: var(--muted); margin: 12px 0 8px; line-height: 1.55; }
.gd-card ol { margin: 0 0 12px; padding-left: 20px; font-size: 14.5px; } .gd-card li { margin: 4px 0; } .gd-card li .soon { font-size: 14px; }
.gd-card .go { margin-top: auto; font-weight: 700; color: rgb(var(--c)); font-size: 14px; }
.gd-hits a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.gd-hits a small { display: block; color: var(--muted); font-size: 12.5px; } .gd-hits a b { display: block; font-size: 16px; margin: 2px 0 4px; } .gd-hits a span { font-size: 14px; color: var(--text); }
.gd-hits mark { background: #fef08a; padding: 0 2px; border-radius: 3px; }

@media (max-width: 960px) {
  .gd-grid { grid-template-columns: 1fr; gap: 16px; }
  .gd-side { order: 2; position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
  .gd-side .gd-ch:not([open]) a { display: none; }
  .gd-doc { padding: 26px 18px; border-radius: 14px; }
  .gd-doc h1 { font-size: 26px; } .gd-hero h1 { font-size: 28px; }
  .cmp { grid-template-columns: 1fr; }
  .gd-main { min-width: 0; } .gd-doc table { display: block; overflow-x: auto; }
}
@media (max-width: 600px) { .gd-pager { grid-template-columns: 1fr; } .gd-pager .next { grid-column: 1; } }
