/* =====================================================================
   PEDOMAN GENERATOR — gaya tampilan (simpan di: public/css/pedoman-generator.css)
   ===================================================================== */
#pedomanApp { max-width: 1240px; margin: 0 auto; color: #e2e8f0; }
#pedomanApp label { display: block; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
#pedomanApp input, #pedomanApp select, #pedomanApp textarea, #pedomanApp button { box-sizing: border-box; font-family: inherit; }
#pedomanApp select.input-custom { appearance: auto; }
.pdg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pdg-head h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdg-head p { color: #94a3b8; font-size: 14px; margin: 0; max-width: 760px; line-height: 1.55; }
.pdg-beta { font-size: 10px; letter-spacing: .08em; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; padding: 3px 8px; border-radius: 999px; }
.pdg-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.pdg-steps span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(148,163,184,.3); color: #64748b; }
.pdg-steps span.on { color: #bae6fd; border-color: rgba(56,189,248,.6); background: rgba(56,189,248,.12); }
.pdg-card { background: #1e293b; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; }
.pdg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
.pdg-full { grid-column: 1 / -1; }
.pdg-ta { min-height: 92px; resize: vertical; }
.pdg-ta-sm { min-height: 64px; }
.pdg-hint { color: #94a3b8; font-size: 12px; line-height: 1.5; }
.pdg-center { text-align: center; }
.pdg-file { font-size: 13px; color: #cbd5e1; max-width: 100%; margin-bottom: 10px; }
.pdg-file::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 600; cursor: pointer; }
.pdg-logo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdg-logo { height: 42px; width: 42px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; margin-bottom: 10px; }
.pdg-link { background: none; border: 0; color: #7dd3fc; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; font-size: inherit; }
.pdg-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
#pedomanApp .pdg-radio { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(148,163,184,.3); border-radius: 12px; cursor: pointer; text-transform: none; letter-spacing: 0; margin: 0; transition: .2s; }
#pedomanApp .pdg-radio:has(input:checked) { border-color: #38bdf8; background: rgba(56,189,248,.08); box-shadow: 0 0 0 1px #38bdf8 inset; }
.pdg-radio input { margin-top: 3px; accent-color: #38bdf8; }
.pdg-radio b { display: block; color: #f1f5f9; font-size: 14px; }
.pdg-radio b em { font-style: normal; font-size: 10px; background: #0ea5e9; color: #fff; padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }
.pdg-radio small { display: block; color: #94a3b8; font-weight: 500; font-size: 12px; margin-top: 3px; line-height: 1.45; }
.pdg-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#pedomanApp .pdg-swatch { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(148,163,184,.3); border-radius: 10px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 13px; color: #e2e8f0; margin: 0; }
.pdg-swatch input { display: none; }
.pdg-swatch i { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
#pedomanApp .pdg-swatch.on { border-color: #38bdf8; background: rgba(56,189,248,.1); }
.pdg-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 6px 0 16px; }
#pedomanApp .pdg-checks label { text-transform: none; font-size: 14px; color: #e2e8f0; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; }
.pdg-checks input { width: 17px; height: 17px; accent-color: #38bdf8; }
.pdg-btn-main { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; border: 0; padding: 11px 20px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: .2s; font-size: 14px; }
.pdg-btn-main:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(56,189,248,.7); }
.pdg-btn-main:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.pdg-wide { width: 100%; padding: 14px; font-size: 15px; }
.pdg-btn-ghost { background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.35); color: #e2e8f0; padding: 8px 13px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; transition: .2s; white-space: nowrap; }
.pdg-btn-ghost:hover { border-color: #38bdf8; color: #fff; }
.pdg-btn-ghost.on { background: rgba(16,185,129,.18); border-color: #10b981; color: #a7f3d0; }
.pdg-btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.pdg-btn-dl { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: 0; padding: 9px 16px; border-radius: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pdg-btn-dl:disabled { opacity: .6; cursor: wait; }
.pdg-chip { background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.4); color: #bae6fd; padding: 6px 11px; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pdg-chip:disabled { opacity: .5; cursor: wait; }
.pdg-warn { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.45); color: #fcd34d; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin: 8px 0; line-height: 1.5; }
.pdg-info { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.45); color: #a7f3d0; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 12px; line-height: 1.5; }
.pdg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pdg-spin { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(125,211,252,.3); border-top-color: #7dd3fc; border-radius: 50%; animation: pdgspin .8s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes pdgspin { to { transform: rotate(360deg); } }

/* ---------- kerangka ---------- */
.pdg-ol-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.pdg-ol-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; margin-bottom: 14px; flex-wrap: wrap; }
.pdg-ol-head small { color: #7dd3fc; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.pdg-ol-head > div:first-child { flex: 1; min-width: 240px; }
.pdg-stat { font-size: 13px; color: #94a3b8; white-space: nowrap; }
.pdg-stat b { color: #f1f5f9; }
.pdg-in { background: rgba(15,23,42,.7); border: 1px solid rgba(100,116,139,.45); color: #f1f5f9; border-radius: 8px; padding: 7px 9px; font-size: 13px; outline: none; min-width: 0; }
.pdg-in:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.pdg-doc-title { width: 100%; font-size: 17px; font-weight: 800; margin-top: 4px; }
.pdg-ch { border: 1px solid rgba(148,163,184,.2); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: rgba(15,23,42,.35); }
.pdg-ch-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pdg-ch-top b { color: #7dd3fc; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.pdg-ch-title { flex: 1; font-weight: 800; }
.pdg-sec { display: grid; grid-template-columns: 22px minmax(0, 1fr) 300px 74px 26px; gap: 6px; align-items: center; padding: 6px 0 6px 6px; border-top: 1px dashed rgba(148,163,184,.15); }
.pdg-vis2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pdg-vis2 .pdg-in { width: 100%; padding: 7px 4px; font-size: 12px; }
.pdg-let { color: #94a3b8; font-weight: 800; font-size: 13px; }
.pdg-pts { grid-column: 2 / 5; font-size: 12px; color: #94a3b8; padding: 3px 6px; border-radius: 6px; outline: none; min-height: 18px; line-height: 1.45; }
.pdg-pts:empty::before { content: "＋ poin wajib (pisahkan dengan ;)"; color: #475569; }
.pdg-pts:focus { background: rgba(15,23,42,.8); box-shadow: 0 0 0 1px #38bdf8; color: #e2e8f0; }
.pdg-x { background: none; border: 0; color: #64748b; cursor: pointer; font-size: 14px; border-radius: 6px; padding: 4px; }
.pdg-x:hover { color: #f87171; background: rgba(248,113,113,.12); }
.pdg-add { background: none; border: 1px dashed rgba(148,163,184,.35); color: #94a3b8; border-radius: 9px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; margin-top: 6px; }
.pdg-add:hover { color: #7dd3fc; border-color: #38bdf8; }
.pdg-refpanel { position: sticky; top: 8px; max-height: calc(100vh - 120px); overflow: auto; }
.pdg-refpanel h4 { margin: 0 0 8px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.pdg-count { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.45); }
.pdg-count.ok { background: rgba(16,185,129,.15); color: #6ee7b7; border-color: rgba(16,185,129,.5); }
.pdg-refmeter { height: 6px; border-radius: 6px; background: rgba(148,163,184,.15); overflow: hidden; margin-bottom: 6px; }
.pdg-refmeter i { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #10b981); transition: width .6s; }
.pdg-searching { margin: 4px 0; }
.pdg-more { display: flex; gap: 6px; margin: 10px 0; }
.pdg-more .pdg-in { flex: 1; }
.pdg-refpanel details { border-top: 1px solid rgba(148,163,184,.15); padding: 8px 0; }
.pdg-refpanel summary { cursor: pointer; font-weight: 700; font-size: 13px; color: #cbd5e1; }
.pdg-reflist { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 420px; overflow: auto; padding-right: 4px; }
#pedomanApp .pdg-ref, #pedomanApp .pdg-reg { display: flex; gap: 8px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; color: #cbd5e1; padding: 6px; border-radius: 8px; cursor: pointer; margin: 0; }
#pedomanApp .pdg-ref:hover, #pedomanApp .pdg-reg:hover { background: rgba(148,163,184,.08); }
.pdg-ref input, .pdg-reg input { margin-top: 2px; accent-color: #38bdf8; flex: none; }
.pdg-ref b { display: block; color: #e2e8f0; font-weight: 600; line-height: 1.4; }
.pdg-ref small { color: #94a3b8; }
.pdg-ref.off { opacity: .45; }
.pdg-src { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: rgba(56,189,248,.18); color: #7dd3fc; }
.pdg-src.crossref { background: rgba(167,139,250,.18); color: #c4b5fd; }
.pdg-star { font-style: normal; color: #fbbf24; font-weight: 700; }

/* ---------- hasil ---------- */
.pdg-prog { margin-bottom: 12px; }
.pdg-prog .pdg-loader { margin: 0; }
/* ---------- animasi buku bergulir + persentase ---------- */
.pdg-loader { display: flex; align-items: center; gap: 20px; margin-top: 14px; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(56,189,248,.35);
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(99,102,241,.12)); box-shadow: 0 14px 30px -18px rgba(56,189,248,.6), inset 0 1px 0 rgba(255,255,255,.05); }
.pdg-book { position: relative; width: 92px; height: 62px; perspective: 520px; flex: none; filter: drop-shadow(0 8px 14px rgba(14,165,233,.35)); }
.pdg-book .cv { position: absolute; top: 0; width: 50%; height: 100%; background: linear-gradient(160deg, #0ea5e9, #4f46e5); }
.pdg-book .cv.l { left: 0; border-radius: 7px 2px 2px 7px; }
.pdg-book .cv.r { right: 0; border-radius: 2px 7px 7px 2px; }
.pdg-book .cv::after { content: ""; position: absolute; top: 4px; bottom: 4px; width: calc(100% - 5px); background: repeating-linear-gradient(#f8fafc 0 6px, #cbd5e1 6px 7px); background-clip: content-box; padding: 5px 6px; box-sizing: border-box; background-color: #f8fafc; }
.pdg-book .cv.l::after { right: 0; border-radius: 3px 0 0 3px; }
.pdg-book .cv.r::after { left: 0; border-radius: 0 3px 3px 0; }
.pdg-book .pg { position: absolute; top: 4px; left: 50%; width: calc(50% - 5px); height: calc(100% - 8px); transform-origin: left center; border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, rgba(30,64,175,.28), rgba(30,64,175,0) 35%), repeating-linear-gradient(#ffffff 0 6px, #93c5fd 6px 7px); background-color: #eff6ff;
    box-shadow: 0 0 0 1px rgba(30,64,175,.25); animation: pdgflip 2.4s infinite ease-in-out; }
.pdg-book .p2 { animation-delay: .6s; } .pdg-book .p3 { animation-delay: 1.2s; } .pdg-book .p4 { animation-delay: 1.8s; }
@keyframes pdgflip { 0%, 8% { transform: rotateY(0); filter: brightness(1); } 28% { filter: brightness(.72); box-shadow: -6px 0 10px rgba(2,6,23,.45), 0 0 0 1px rgba(30,64,175,.25); } 50%, 100% { transform: rotateY(-180deg); filter: brightness(1); } }
.pdg-ld-body { flex: 1; min-width: 0; }
.pdg-ld-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdg-ld-msg { color: #e0f2fe; font-weight: 700; font-size: 14px; }
.pdg-ld-pct { font-size: 22px; font-weight: 900; color: #7dd3fc; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(56,189,248,.55); }
.pdg-ld-bar { height: 10px; border-radius: 10px; background: rgba(148,163,184,.18); overflow: hidden; }
.pdg-ld-bar i { position: relative; display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #0ea5e9, #6366f1, #10b981); transition: width .45s ease; overflow: hidden; }
.pdg-ld-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-100%); animation: pdgshine 1.6s infinite; }
@keyframes pdgshine { to { transform: translateX(100%); } }
.pdg-loader.sm { gap: 12px; padding: 10px 12px; margin: 8px 0; }
.pdg-loader.sm .pdg-book { width: 62px; height: 42px; }
.pdg-loader.sm .pdg-book .cv::after { padding: 3px 4px; background-image: repeating-linear-gradient(#fff 0 4px, #cbd5e1 4px 5px); }
.pdg-loader.sm .pdg-ld-msg { font-size: 12px; }
.pdg-loader.sm .pdg-ld-pct { font-size: 16px; }
.pdg-loader.sm .pdg-ld-bar { height: 7px; }
@media (prefers-reduced-motion: reduce) { .pdg-book .pg, .pdg-ld-bar i::after { animation: none; } }
@media (max-width: 720px) { .pdg-loader { gap: 12px; padding: 12px; } .pdg-book { width: 66px; height: 44px; } }
.pdg-bar { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; background: #1e293b; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; position: sticky; top: 0; z-index: 5; }
.pdg-chips, .pdg-btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pdg-kpi { font-size: 12px; color: #cbd5e1; background: rgba(15,23,42,.6); border: 1px solid rgba(148,163,184,.2); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.pdg-kpi b { color: #fff; }
.pdg-kpi.ok { border-color: rgba(16,185,129,.55); color: #a7f3d0; }
.pdg-kpi.warn { border-color: rgba(245,158,11,.55); color: #fcd34d; }
.pdg-kpi .bad { color: #fca5a5; }
.pdg-res { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.pdg-nav { position: sticky; top: 70px; max-height: calc(100vh - 160px); overflow: auto; display: flex; flex-direction: column; gap: 1px; font-size: 12px; background: #1e293b; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px; }
.pdg-nav a { color: #94a3b8; text-decoration: none; padding: 4px 8px; border-radius: 6px; line-height: 1.35; }
.pdg-nav a:hover { background: rgba(56,189,248,.12); color: #e0f2fe; }
.pdg-nav a.l1 { color: #e2e8f0; font-weight: 800; margin-top: 4px; }
.pdg-nav a.l2 { padding-left: 16px; }
.pdg-nav a.st-busy::after { content: " ⏳"; }
.pdg-nav a.st-queued { opacity: .55; }
.pdg-nav a.st-error { color: #fca5a5; }
.pdg-nav a.st-error::after { content: " ⚠️"; }
.pdg-paper { min-width: 0; background: #0b1220; border-radius: 16px; padding: 18px 10px; }
.pdg-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(2,6,23,.7); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); }
.pdg-modal-box { width: min(520px, 100%); background: #1e293b; border: 1px solid rgba(56,189,248,.35); border-radius: 16px; padding: 18px; color: #e2e8f0; box-shadow: 0 30px 60px -20px #000; }
.pdg-modal-box h4 { margin: 0 0 10px; font-size: 16px; }
.pdg-modal-box textarea { width: 100%; }

@media (max-width: 1100px) {
    .pdg-ol-wrap { grid-template-columns: 1fr; }
    .pdg-refpanel { position: static; max-height: none; }
    .pdg-res { grid-template-columns: 1fr; }
    .pdg-nav { display: none; }
}
@media (max-width: 720px) {
    .pdg-grid { grid-template-columns: 1fr 1fr; }
    .pdg-modes { grid-template-columns: 1fr; }
    .pdg-sec { grid-template-columns: 20px minmax(0, 1fr) 26px; }
    .pdg-vis2, .pdg-s-target { grid-column: 2 / 3; }
    .pdg-pts { grid-column: 2 / 3; }
    .pdg-bar { position: static; }
}
/* ===================== PRATINJAU DOKUMEN (kertas A4) ===================== */
.pdm-doc { --pdm-acc: #0E4C7A; --pdm-acc-soft: #e7eff6; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 6px 0 40px; counter-reset: none; }
.pdm-page { box-sizing: border-box; width: min(100%, 794px); min-height: 400px; background: #fff; color: #1f2937; border-radius: 4px; padding: 64px 60px 56px 72px;
    box-shadow: 0 18px 40px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(15,23,42,.06); font: 14.5px/1.75 Arial, Helvetica, sans-serif; position: relative; scroll-margin-top: 76px; }
.pdm-page * { box-sizing: border-box; }
.pdm-h1 { text-align: center; color: var(--pdm-acc); font-size: 19px; font-weight: 800; letter-spacing: .02em; margin: 0 0 22px; line-height: 1.4; }
.pdm-h1 small { display: block; font-size: 15px; letter-spacing: .1em; }
.pdm-h2 { font-size: 15px; font-weight: 800; margin: 22px 0 8px; display: flex; gap: 10px; color: #111827; }
.pdm-h2 span { min-width: 18px; }
.pdm-h { font-size: 14.5px; font-weight: 700; margin: 14px 0 4px 28px; color: #111827; }
.pdm-h::before { content: attr(data-n) " "; }
.pdm-p { text-align: justify; text-indent: 36px; margin: 0 0 8px 28px; }
.pdm-list { margin: 2px 0 10px 56px; padding-left: 18px; }
.pdm-list li { margin: 2px 0; text-align: justify; }
.pdm-note { margin: 10px 0 12px 34px; padding: 10px 14px; border-left: 5px solid var(--pdm-acc); background: var(--pdm-acc-soft); font-style: italic; border-radius: 0 8px 8px 0; }
.pdm-cite { color: var(--pdm-acc); font-weight: 700; font-size: .92em; white-space: nowrap; }
.pdm-fig { margin: 14px 0 16px 28px; text-align: center; break-inside: avoid; }
.pdm-fig figcaption { font-size: 13px; font-weight: 700; color: #374151; margin: 6px 0; }
.pdm-tbl figcaption { margin-bottom: 8px; }
.pdm-img { margin: 0 auto; }
.pdm-img svg { max-width: 100%; height: auto; }
.pdm-tblwrap { overflow-x: auto; }
.pdm-fig table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; line-height: 1.45; }
.pdm-fig th { background: var(--pdm-acc); color: #fff; padding: 7px 8px; border: 1px solid #b8c2cc; text-align: center; font-weight: 700; }
.pdm-fig td { padding: 6px 8px; border: 1px solid #b8c2cc; vertical-align: top; }
.pdm-fig tbody tr:nth-child(even) td { background: #f8fafc; }
.pdm-toc { list-style: none; padding: 0; margin: 0; }
.pdm-toc li { padding: 3px 0; border-bottom: 1px dotted #cbd5e1; }
.pdm-toc li.l1 { font-weight: 700; margin-top: 8px; }
.pdm-toc li.l2 { padding-left: 26px; font-size: 13.5px; }
.pdm-toc a { color: inherit; text-decoration: none; }
.pdm-toc a:hover { color: var(--pdm-acc); }
.pdm-hint { font-size: 12px; color: #6b7280; font-style: italic; margin-top: 14px; }
.pdm-abbr { border-collapse: collapse; }
.pdm-abbr td { padding: 3px 10px 3px 0; vertical-align: top; }
.pdm-refs { padding-left: 26px; margin: 0; font-size: 13.5px; line-height: 1.6; }
.pdm-refs li { margin-bottom: 7px; text-align: left; word-break: break-word; }
.pdm-refs a { color: var(--pdm-acc); text-decoration: none; font-weight: 700; }
.pdm-sign { text-align: right; margin-top: 26px; font-weight: 700; }
.pdm-sahtbl { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.pdm-sahtbl th, .pdm-sahtbl td { border: 1px solid #94a3b8; padding: 8px; }
.pdm-sahtbl td { height: 70px; }
.pdm-sahtbl th { background: var(--pdm-acc); color: #fff; }
.pdm-wait { color: #94a3b8; font-style: italic; text-align: center; padding: 18px; border: 1px dashed #cbd5e1; border-radius: 10px; margin: 8px 0 8px 28px; }
.pdm-err { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 10px; margin: 8px 0 8px 28px; font-size: 13px; }
/* sampul */
.pdm-cover { min-height: 1050px; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 80px; }
.pdm-cv-band { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--pdm-acc); border-radius: 4px 4px 0 0; }
.pdm-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--pdm-acc); }
.pdm-cv-logo { max-width: 170px; max-height: 170px; object-fit: contain; margin: 40px 0 70px; }
.pdm-cv-nologo { width: 130px; height: 130px; border: 2px dashed #cbd5e1; border-radius: 50%; display: grid; place-items: center; color: #94a3b8; font-weight: 700; }
.pdm-cv-kind { font-size: 30px; font-weight: 900; letter-spacing: .14em; color: var(--pdm-acc); }
.pdm-cv-title { font-size: 25px; font-weight: 800; margin: 18px 30px 26px; line-height: 1.35; }
.pdm-cv-line { width: 40%; height: 3px; background: var(--pdm-acc); margin-bottom: 150px; }
.pdm-cv-unit, .pdm-cv-inst { font-size: 18px; font-weight: 800; }
.pdm-cv-foot { margin-top: auto; font-weight: 800; font-size: 16px; padding-bottom: 30px; }
/* alat per bagian */
.pdm-sec { position: relative; border-radius: 8px; transition: background .2s; scroll-margin-top: 80px; }
.pdm-tools { position: absolute; right: -6px; top: 18px; display: none; gap: 6px; z-index: 2; }
.pdm-sec:hover .pdm-tools { display: flex; }
.pdm-tools button { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; border-radius: 8px; padding: 4px 9px; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(0,0,0,.3); }
.pdm-tools button:hover { border-color: var(--pdm-acc); color: var(--pdm-acc); }
.pdm-sec.is-busy { background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 10px, #f1f5f9 10px, #f1f5f9 20px); }
[contenteditable="true"] { outline: none; border-radius: 4px; transition: box-shadow .15s, background .15s; }
[contenteditable="true"]:hover { box-shadow: 0 0 0 1px #bfdbfe; }
[contenteditable="true"]:focus { box-shadow: 0 0 0 2px #60a5fa; background: #f0f9ff; }
@media (max-width: 720px) {
    .pdm-page { padding: 32px 18px; font-size: 13.5px; }
    .pdm-p { margin-left: 0; text-indent: 22px; }
    .pdm-list { margin-left: 22px; }
    .pdm-fig, .pdm-note, .pdm-wait, .pdm-err { margin-left: 0; }
    .pdm-h { margin-left: 0; }
    .pdm-cover { min-height: 640px; }
    .pdm-cv-line { margin-bottom: 60px; }
}
