/* Paket 12: halaman Panduan. Memakai variabel tema, jadi otomatis mengikuti mode terang dan gelap. */
.pd { max-width: 860px; }
.pd-intro { margin: 0 0 14px; color: var(--muted); max-width: 64ch; }
.pd-jump, .pd-tabs, .pd-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-jump { margin-bottom: 6px; position: sticky; top: 0; z-index: 5; padding: 10px 0; background: var(--bg); }
.pd-sec { margin-top: 34px; scroll-margin-top: 70px; }
.pd-h { margin: 0 0 4px; font: 700 1.45rem/1.2 var(--serif); color: var(--text); display: flex; align-items: center; gap: 10px; }
.pd-h::before { content: '◆'; font-size: .5rem; color: var(--gold, #b08d4f); }
.pd-lead, .pd-note { color: var(--muted); margin: 4px 0 12px; max-width: 64ch; }
.pd-note { font-size: .9rem; margin-top: 14px; }
.pd-chip { font: inherit; font-size: .88rem; cursor: pointer; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.pd-chip:hover { border-color: var(--gold, #b08d4f); }
.pd-chip[aria-pressed="true"] { background: linear-gradient(180deg, #ecd29b, #c49b5c); border-color: #c49b5c; color: #1a1205; font-weight: 700; }
.pd-tabs { margin: 10px 0 14px; }
.pd-phone { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pd-bar { padding: 11px 16px; font-weight: 700; color: #f6ead0; background: linear-gradient(135deg, #0d1b33, #060d19); border-bottom: 1px solid rgba(216, 188, 132, .3); }
.pd-chat { padding: 14px; min-height: 300px; display: flex; flex-direction: column; gap: 8px; }
.pd-m { max-width: 84%; padding: 9px 13px; border-radius: 14px; animation: pd-pop .28s ease-out both; }
.pd-c { align-self: flex-start; background: var(--soft); color: var(--text); border-bottom-left-radius: 4px; }
.pd-a { align-self: flex-end; background: linear-gradient(135deg, #0d1b33, #12284a); color: #f6ead0; border: 1px solid rgba(216, 188, 132, .3); border-bottom-right-radius: 4px; }
.pd-dots { align-self: flex-end; display: flex; gap: 4px; padding: 11px 13px; background: #0d1b33; border-radius: 14px; }
.pd-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8bc84; opacity: .4; animation: pd-bl 1s infinite; }
.pd-dots i:nth-child(2) { animation-delay: .15s; } .pd-dots i:nth-child(3) { animation-delay: .3s; }
.pd-tip { border-left: 4px solid #d8bc84; background: var(--card); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 14px; margin: 12px 0; border-radius: 0 10px 10px 0; opacity: 0; transition: opacity .5s; min-height: 44px; }
.pd-tip.on { opacity: 1; }
.pd-path { position: relative; margin-top: 16px; padding-left: 46px; }
.pd-path::before { content: ''; position: absolute; left: 17px; top: 0; bottom: 0; width: 3px; background: var(--line); }
.pd-fill { position: absolute; left: 17px; top: 0; width: 3px; height: 0; background: #d8bc84; transition: height .2s; }
.pd-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; transition: border-color .3s, transform .3s; }
.pd-step.act { border-color: #d8bc84; transform: translateX(4px); }
.pd-step h4 { margin: 0 0 3px; font-size: 1.02rem; color: var(--text); }
.pd-step p { margin: 0; color: var(--muted); }
.pd-n { position: absolute; left: -46px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 3px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--text); transition: .3s; }
.pd-step.act .pd-n { background: linear-gradient(180deg, #ecd29b, #c49b5c); border-color: #c49b5c; color: #1a1205; }
.pd-tl { display: flex; gap: 4px; margin-top: 14px; }
.pd-seg { flex: var(--w) 1 0; min-width: 0; }
.pd-bx { height: 46px; border-radius: 8px; background: var(--line); overflow: hidden; position: relative; }
.pd-bx::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #12284a, #0d1b33); transform: scaleX(0); transform-origin: left; transition: transform .9s ease-out; transition-delay: calc(var(--i) * .35s); }
.pd-seg.hot .pd-bx::after { background: linear-gradient(180deg, #ecd29b, #c49b5c); }
.pd-tl.go .pd-bx::after { transform: scaleX(1); }
.pd-seg small { display: block; margin-top: 6px; font-size: .75rem; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.pd-seg b { font-size: .8rem; color: var(--text); }
.pd-opt { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); color: var(--text); cursor: pointer; font: inherit; }
.pd-opt:hover { border-color: #d8bc84; }
.pd-opt.ok { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.pd-opt.bad { background: #b3261e; border-color: #b3261e; color: #fff; }
.pd-ex { margin-top: 8px !important; color: var(--text) !important; }
.pd-pb { height: 8px; border-radius: 6px; background: var(--line); margin: 8px 0 10px; overflow: hidden; }
.pd-pb i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ecd29b, #c49b5c); transition: width .4s; }
.pd-ck { display: block; padding: 6px 0; cursor: pointer; color: var(--text); }
.pd-ck input { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; accent-color: #c49b5c; }
.pd-ckst { margin-top: 6px !important; font-size: .88rem; }
html[data-theme="dark"] body:not(.is-client) .pd-chip { background: rgba(255, 255, 255, .04); border-color: rgba(216, 188, 132, .25); color: #d9deea; }
html[data-theme="dark"] body:not(.is-client) .pd-chip[aria-pressed="true"] { background: linear-gradient(180deg, #ecd29b, #c49b5c); color: #1a1205; }
html[data-theme="dark"] body:not(.is-client) .pd-phone, html[data-theme="dark"] body:not(.is-client) .pd-step, html[data-theme="dark"] body:not(.is-client) .pd-tip { background: #0e1b30; border-color: rgba(216, 188, 132, .18); }
html[data-theme="dark"] body:not(.is-client) .pd-tip { border-left-color: #d8bc84; }
html[data-theme="dark"] body:not(.is-client) .pd-c { background: rgba(255, 255, 255, .07); }
@keyframes pd-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pd-bl { 50% { opacity: 1; } }
@media (max-width: 720px) { .pd-path { padding-left: 40px; } .pd-n { left: -40px; width: 32px; height: 32px; } .pd-seg small { font-size: .68rem; } }
@media (prefers-reduced-motion: reduce) { .pd *, .pd *::after { animation: none !important; transition: none !important; } .pd-bx::after { transform: scaleX(1); } }
