/* =====================================================================
   NOTULEN PLUS — tampilan hasil rapat, arsip rekaman & visualisasi
   Simpan di: public/css/notulen-plus.css
   ===================================================================== */
.np, .np-archive, .np-rec { --np-c: #38bdf8; --np-v: #a78bfa; --np-ink: #e2e8f0; --np-mut: #94a3b8; --np-card: linear-gradient(180deg, rgba(30,41,59,.78), rgba(15,23,42,.92)); --np-line: rgba(148,163,184,.16); }
.np { margin-top: 22px; color: var(--np-ink); font-size: 14px; }
.np *, .np-rec * { box-sizing: border-box; }
.np-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 11px; padding: 9px 14px; font-weight: 800; font-size: 12.5px; cursor: pointer; color: #fff; transition: transform .2s, filter .2s, box-shadow .2s; white-space: nowrap; }
.np-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.np-btn:disabled { opacity: .55; cursor: wait; }
.np-btn.main { background: linear-gradient(135deg, #0ea5e9, #8b5cf6); box-shadow: 0 10px 24px -12px rgba(56,189,248,.9); }
.np-btn.ghost { background: rgba(2,6,23,.55); color: #e2e8f0; box-shadow: inset 0 0 0 1px rgba(148,163,184,.28); }
.np-btn.sm { padding: 6px 11px; font-size: 11.5px; }
.np-btn.mp3 { background: linear-gradient(135deg, #10b981, #0d9488); }
.np-btn.mp4 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.np-empty { color: var(--np-mut); font-style: italic; margin: 6px 0; }

/* ---------- hero & KPI ---------- */
.np-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 22px; background: radial-gradient(120% 160% at 0% 0%, rgba(56,189,248,.22), transparent 55%), radial-gradient(120% 160% at 100% 100%, rgba(167,139,250,.22), transparent 55%), linear-gradient(180deg, #0f1b33, #0b1222); box-shadow: inset 0 0 0 1px rgba(125,211,252,.25), 0 24px 50px -30px rgba(56,189,248,.7); }
.np-hero-l { display: flex; gap: 14px; align-items: center; min-width: 0; }
.np-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, rgba(56,189,248,.3), rgba(167,139,250,.3)); box-shadow: inset 0 0 0 1px rgba(125,211,252,.55), 0 0 24px -6px rgba(56,189,248,.9); flex: 0 0 auto; }
.np-hero small { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: #7dd3fc; }
.np-title { margin: 2px 0; font-size: 24px; font-weight: 900; letter-spacing: -.01em; background: linear-gradient(90deg, #f8fafc, #7dd3fc 60%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.np-hero p { margin: 0; font-size: 12.5px; color: var(--np-mut); }
.np-hero-r { display: flex; gap: 8px; flex-wrap: wrap; }
.np-kpi { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; margin: 14px 0; }
.np-kpi > div { padding: 12px 14px; border-radius: 16px; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.np-kpi span { grid-row: span 2; font-size: 20px; }
.np-kpi b { white-space: nowrap; font-size: 22px; font-weight: 900; color: #f8fafc; line-height: 1.1; font-variant-numeric: tabular-nums; }
.np-kpi small { font-size: 11px; color: var(--np-mut); font-weight: 600; }

/* ---------- navigasi bagian ---------- */
.np-nav { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px; margin: 0 0 14px; border-radius: 14px; background: rgba(8,13,28,.88); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(56,189,248,.2), 0 10px 24px -16px rgba(0,0,0,.8); }
.np-nav::-webkit-scrollbar { display: none; }
.np-nav button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 8px 13px; background: transparent; color: #cbd5e1; font-weight: 800; font-size: 12.5px; cursor: pointer; transition: background .2s, color .2s; }
.np-nav button:hover { background: rgba(56,189,248,.14); color: #fff; }

/* ---------- bagian ---------- */
.np-sec { padding: 20px; margin-bottom: 16px; border-radius: 22px; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); scroll-margin-top: 70px; }
.np-sec h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; font-size: 16px; font-weight: 900; color: #f1f5f9; }
.np-sec h3 > span:first-child { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(2,6,23,.6); box-shadow: inset 0 0 0 1px rgba(125,211,252,.35); font-size: 15px; }
.np-sec h3 small { font-size: 11.5px; font-weight: 700; color: var(--np-mut); }
.np-sec h3 .np-sp { flex: 1; }
.np-sec h3 + * { margin-top: 0; }
.np-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-bottom: 22px; }
.np-sumc { position: relative; padding: 14px 14px 14px 52px; border-radius: 14px; background: rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px rgba(56,189,248,.18); }
.np-sumc em { position: absolute; left: 12px; top: 12px; font-style: normal; font-weight: 900; font-size: 15px; color: #0b1222; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #7dd3fc, #c4b5fd); }
.np-sumc p { margin: 0; line-height: 1.6; color: #e2e8f0; font-size: 13.5px; }
.np-tl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.np-tl::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, #38bdf8, #a78bfa, transparent); }
.np-tl li { position: relative; display: flex; gap: 14px; padding: 6px 0 12px; }
.np-tl-n { position: relative; z-index: 1; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #e0f2fe; background: #0b1222; box-shadow: inset 0 0 0 2px #38bdf8, 0 0 12px -2px rgba(56,189,248,.8); }
.np-tl li > div { padding: 10px 14px; border-radius: 12px; background: rgba(2,6,23,.4); line-height: 1.65; color: #cbd5e1; font-size: 13.5px; flex: 1; }
.np-tl.np-clip li:nth-child(n+7) { display: none; }
.np-more { display: block; margin: 4px auto 0; border: 0; background: rgba(56,189,248,.12); color: #7dd3fc; font-weight: 800; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.np-dec { display: grid; gap: 8px; }
.np-dec > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, rgba(16,185,129,.12), rgba(2,6,23,.35)); box-shadow: inset 0 0 0 1px rgba(16,185,129,.28); }
.np-dec i { flex: 0 0 auto; font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #052e16; background: linear-gradient(135deg, #6ee7b7, #10b981); }
.np-dec p { margin: 3px 0 0; color: #e2e8f0; line-height: 1.55; }

/* ---------- kanban tindak lanjut ---------- */
.np-kan { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 14px; }
.np-col { padding: 10px; border-radius: 16px; background: rgba(2,6,23,.4); box-shadow: inset 0 0 0 1px var(--np-line); border-top: 3px solid var(--pc, #94a3b8); }
.np-col.p-tinggi { --pc: #f43f5e; } .np-col.p-sedang { --pc: #f59e0b; } .np-col.p-rendah { --pc: #10b981; }
.np-col-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-weight: 900; font-size: 12.5px; color: #f1f5f9; }
.np-col-h b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--pc); color: #fff; font-size: 12px; }
.np-card { display: flex; gap: 10px; align-items: flex-start; padding: 11px; margin-bottom: 8px; border-radius: 12px; background: rgba(30,41,59,.85); box-shadow: inset 0 0 0 1px rgba(148,163,184,.14); cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.np-card:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(56,189,248,.45); }
.np-card input { margin-top: 3px; width: 17px; height: 17px; accent-color: #10b981; flex: 0 0 auto; }
.np-card p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: #f1f5f9; font-weight: 600; }
.np-card.done { opacity: .55; } .np-card.done p { text-decoration: line-through; }
.np-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.np-pic, .np-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #cbd5e1; background: rgba(2,6,23,.55); padding: 3px 9px 3px 3px; border-radius: 999px; }
.np-dl { padding-left: 9px; }
.np-pic i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 900; color: #fff; }

/* ---------- panel grafik ---------- */
.np-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-bottom: 12px; }
.np-panel { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 16px 34px -24px rgba(0,0,0,.9); margin-bottom: 12px; }
.np-grid2 > .np-panel { margin-bottom: 0; }
.np-ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px 4px; color: #0f172a; }
.np-ph b { display: block; font-size: 13.5px; font-weight: 900; }
.np-ph small { display: block; font-size: 11px; color: #64748b; margin-top: 2px; }
.np-ph-act { display: flex; gap: 4px; flex: 0 0 auto; }
.np-ico { width: 30px; height: 30px; border: 0; border-radius: 9px; background: #f1f5f9; cursor: pointer; font-size: 13px; transition: background .2s; }
.np-ico:hover { background: #e0f2fe; }
.np-pb { width: 100%; }
.np-panel:fullscreen { display: flex; flex-direction: column; }
.np-panel:fullscreen .np-pb { flex: 1; height: auto !important; }
.np-wc { height: auto !important; padding: 0 10px 10px; }
.np-wc svg { display: block; width: 100%; height: auto; }
.np-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--np-mut); }
.np-chips span { padding: 4px 10px; border-radius: 999px; background: rgba(56,189,248,.12); color: #e0f2fe; font-weight: 700; }
.np-chips i { font-style: normal; color: #7dd3fc; font-size: 11px; }

/* ---------- peta konsep (visual bawaan yang ditingkatkan) ---------- */
.np-mapbox > * { margin-bottom: 14px; }
.np-mapbox .np-vt { color: #e2e8f0 !important; font-size: 13.5px !important; font-weight: 900 !important; }
.np-mapbox .np-oldbtn { display: none !important; }
.np-vbox { position: relative; border-radius: 16px !important; border: 0 !important; box-shadow: 0 16px 34px -24px rgba(0,0,0,.9); }
.np-tb { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px -8px rgba(15,23,42,.45), inset 0 0 0 1px #e2e8f0; }
.np-tb button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-size: 13px; }
.np-tb button:hover { background: #e0f2fe; }
.np-vhint { position: absolute; left: 12px; bottom: 10px; z-index: 4; font-size: 11px; font-weight: 700; color: #64748b; background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 999px; }
.np-mm { background: radial-gradient(circle at 20% 20%, #f0f9ff, #fff 60%) !important; }
.np-mm:fullscreen { height: 100vh !important; }
.np-mm text, .np-mm foreignObject div { fill: #0f172a !important; color: #0f172a !important; }
.np-sb { border: 0 !important; border-radius: 16px !important; box-shadow: 0 16px 34px -24px rgba(0,0,0,.9) !important; }
.np-vbox:fullscreen { background: #fff; }

/* ---------- eksplorasi AI ---------- */
.np-exp-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px; border-radius: 16px; background: radial-gradient(120% 140% at 100% 0%, rgba(167,139,250,.2), transparent 60%), rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); }
.np-exp-cta b { font-size: 15px; color: #f1f5f9; } .np-exp-cta p { margin: 4px 0 0; max-width: 760px; color: var(--np-mut); font-size: 13px; line-height: 1.55; }
.np-exp-cta.err { box-shadow: inset 0 0 0 1px rgba(244,63,94,.5); }
.np-loading { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px; text-align: center; }
.np-loading b { color: #f1f5f9; } .np-loading small { color: var(--np-mut); }
.np-orb { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 0deg, #38bdf8, #a78bfa, #f472b6, #38bdf8); animation: np-spin 1.4s linear infinite; -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); }
@keyframes np-spin { to { transform: rotate(360deg); } }
.np-lbar { width: min(420px, 90%); height: 6px; border-radius: 6px; background: rgba(148,163,184,.2); overflow: hidden; }
.np-lbar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #38bdf8, #a78bfa); border-radius: 6px; animation: np-slide 1.6s ease-in-out infinite; }
@keyframes np-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.np-exp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.np-exp-head small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: #c4b5fd; text-transform: uppercase; }
.np-exp-head b { font-size: 18px; color: #f8fafc; }
.np-kw { display: flex; flex-wrap: wrap; gap: 6px; }
.np-kw span { font-size: 11.5px; font-weight: 800; color: #c4b5fd; background: rgba(167,139,250,.14); padding: 4px 10px; border-radius: 999px; }
.np-agl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; margin: -2px 0 14px; }
.np-agl > div { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px var(--np-line); }
.np-agl i { flex: 0 0 auto; font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 900; font-size: 11px; color: #fff; }
.np-agl b { font-size: 13px; color: #f1f5f9; margin-right: 6px; }
.np-agl p { margin: 4px 0 0; font-size: 12px; color: var(--np-mut); line-height: 1.45; }
.np-tm { font-size: 11px; color: #7dd3fc; font-weight: 700; margin-right: 6px; }
.np-st { font-size: 10.5px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); padding: 2px 8px; border-radius: 999px; text-transform: capitalize; }
.np-rlist { display: grid; gap: 8px; align-content: start; }
.np-rlist > div { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(2,6,23,.45); border-left: 4px solid var(--rc); }
.np-rlist .h { --rc: #f43f5e; } .np-rlist .m { --rc: #f59e0b; } .np-rlist .l { --rc: #10b981; }
.np-rlist i { flex: 0 0 auto; font-style: normal; font-weight: 900; font-size: 11px; color: #fff; background: #0f172a; box-shadow: inset 0 0 0 1px var(--rc); width: 30px; height: 24px; border-radius: 7px; display: grid; place-items: center; }
.np-rlist b { font-size: 13px; color: #f1f5f9; } .np-rlist small { display: block; font-size: 11px; color: var(--np-mut); margin: 2px 0; } .np-rlist p { margin: 0; font-size: 12px; color: #cbd5e1; }
.np-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 12px 0; }
.np-lcard { padding: 16px; border-radius: 16px; background: rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px var(--np-line); border-top: 3px solid var(--lc); }
.np-lcard.q { --lc: #f59e0b; } .np-lcard.n { --lc: #38bdf8; } .np-lcard.k { --lc: #a78bfa; }
.np-lcard h4 { margin: 0 0 10px; font-size: 14px; font-weight: 900; color: #f1f5f9; }
.np-lcard ul, .np-lcard ol { margin: 0; padding-left: 20px; color: #cbd5e1; font-size: 13px; line-height: 1.6; }
.np-lcard li { margin-bottom: 6px; }
.np-lcard blockquote { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(167,139,250,.1); border-left: 3px solid #a78bfa; color: #ede9fe; font-style: italic; font-size: 13px; line-height: 1.55; }
.np-lcard cite { display: block; margin-top: 6px; font-size: 11px; font-style: normal; color: var(--np-mut); }
.np-gloss { padding: 16px; border-radius: 16px; background: rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px var(--np-line); }
.np-gloss h4 { margin: 0 0 10px; font-size: 14px; font-weight: 900; color: #f1f5f9; }
.np-gloss dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.np-gloss dl > div { padding: 10px 12px; border-radius: 12px; background: rgba(30,41,59,.7); }
.np-gloss dt { font-weight: 900; color: #7dd3fc; font-size: 13px; } .np-gloss dd { margin: 4px 0 0; color: #cbd5e1; font-size: 12.5px; line-height: 1.5; }

/* ---------- arsip rekaman ---------- */
.np-archive h3 .np-hint { font-size: 11px; font-weight: 700; color: #7dd3fc; margin-left: 6px; }
.np-rec { margin-top: 10px; padding: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(2,6,23,.92)); box-shadow: inset 0 0 0 1px rgba(56,189,248,.2), 0 12px 26px -20px rgba(0,0,0,.9); }
.np-rec-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.np-rec-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, rgba(56,189,248,.25), rgba(167,139,250,.25)); box-shadow: inset 0 0 0 1px rgba(125,211,252,.45); flex: 0 0 auto; }
.np-rec-meta { flex: 1; min-width: 200px; }
.np-rec-meta b { display: block; color: #f1f5f9; font-size: 14px; }
.np-rec-meta small { color: var(--np-mut); font-size: 11.5px; }
.np-rec-meta small b { display: inline; font-size: 11.5px; color: #e2e8f0; }
.np-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #7dd3fc; background: rgba(56,189,248,.14); padding: 1px 7px; border-radius: 6px; margin-left: 2px; }
.np-tag.v { color: #c4b5fd; background: rgba(167,139,250,.16); }
.np-rec-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.np-rec-media { margin-top: 10px; }
.np-rec-media audio { width: 100%; height: 40px; border-radius: 999px; filter: invert(.88) hue-rotate(180deg); }
.np-rec-media video { width: 100%; max-height: 420px; border-radius: 12px; background: #000; }
.np-rec-prog[hidden] { display: none !important; }
.np-rec-prog { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: #cbd5e1; }
.np-rec-bar { flex: 0 0 180px; height: 7px; border-radius: 7px; background: rgba(148,163,184,.2); overflow: hidden; }
.np-rec-bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, #10b981, #38bdf8, #a78bfa); transition: width .3s; }
@media (max-width: 640px) {
    .np-sec { padding: 14px; }
    .np-title { font-size: 19px; }
    .np-hero-r .np-btn { flex: 1 1 auto; justify-content: center; }
    .np-rec-bar { flex-basis: 110px; }
}
@media (prefers-reduced-motion: reduce) { .np *, .np-rec * { animation: none !important; transition: none !important; } }

/* ---------- data dokumen ---------- */
.np-docmeta { margin-top: 12px; padding: 16px; border-radius: 18px; background: var(--np-card); box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); }
.np-docmeta[hidden] { display: none; }
.np-docmeta-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.np-docmeta-h b { color: #f1f5f9; } .np-docmeta-h small { color: var(--np-mut); font-size: 11.5px; }
.np-docmeta-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.np-docmeta-g label { display: flex; flex-direction: column; gap: 4px; }
.np-docmeta-g label:last-child { grid-column: 1 / -1; }
.np-docmeta-g span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7dd3fc; }
.np-docmeta-g input, .np-docmeta-g textarea { width: 100%; border: 0; border-radius: 10px; padding: 9px 11px; background: rgba(2,6,23,.65); color: #f1f5f9; font: inherit; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(148,163,184,.28); resize: vertical; }
.np-docmeta-g input:focus, .np-docmeta-g textarea:focus { outline: none; box-shadow: inset 0 0 0 1px #38bdf8, 0 0 0 3px rgba(56,189,248,.2); }

/* ---------- layar proses AI ---------- */
.npl { --a: #38bdf8; --b: #a78bfa; position: relative; margin: 20px 0; padding: 22px; border-radius: 24px; overflow: hidden; color: #e2e8f0; background: radial-gradient(120% 140% at 0% 0%, rgba(56,189,248,.16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(167,139,250,.18), transparent 55%), linear-gradient(180deg, #0f1b33, #0a1120); box-shadow: inset 0 0 0 1px rgba(125,211,252,.28), 0 24px 50px -28px rgba(56,189,248,.7); animation: npl-in .4s ease-out; }
.npl.off { --a: #f59e0b; --b: #f472b6; }
.npl.warn { box-shadow: inset 0 0 0 1px rgba(245,158,11,.6), 0 24px 50px -28px rgba(245,158,11,.7); }
.npl.done { animation: npl-out .9s ease-in forwards; }
@keyframes npl-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes npl-out { 40% { box-shadow: inset 0 0 0 2px #10b981, 0 0 40px -6px rgba(16,185,129,.8); } to { opacity: 0; transform: scale(.98); } }
.npl::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(125,211,252,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(125,211,252,.05) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.npl-top { position: relative; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.npl-core { position: relative; width: 150px; height: 150px; flex: 0 0 auto; }
.npl-net { position: absolute; inset: 0; width: 100%; height: 100%; animation: np-spin 18s linear infinite; }
.npl-net circle { fill: var(--b); filter: drop-shadow(0 0 4px var(--b)); animation: npl-blink 1.8s ease-in-out infinite; }
.npl-net line { stroke: var(--a); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .55; animation: npl-flow 1.2s linear infinite; }
@keyframes npl-blink { 50% { opacity: .35; } }
@keyframes npl-flow { to { stroke-dashoffset: -20; } }
.npl-ring { position: absolute; inset: 30px; border-radius: 50%; background: conic-gradient(from 0deg, var(--a), var(--b), transparent 70%, var(--a)); animation: np-spin 1.6s linear infinite; -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); filter: drop-shadow(0 0 8px var(--a)); }
.npl-pct { position: absolute; inset: 40px; border-radius: 50%; display: flex; align-items: baseline; justify-content: center; padding-top: 22px; background: radial-gradient(circle, rgba(15,23,42,.95), rgba(2,6,23,.95)); box-shadow: inset 0 0 18px rgba(56,189,248,.35); }
.npl-pct b { font-size: 30px; font-weight: 900; color: #f8fafc; font-variant-numeric: tabular-nums; }
.npl-pct i { font-style: normal; font-size: 13px; color: var(--a); font-weight: 800; margin-left: 1px; }
.npl-info { flex: 1; min-width: 240px; }
.npl-info small { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: var(--a); }
.npl-msg { margin: 4px 0 12px; font-size: 18px; font-weight: 800; color: #f8fafc; min-height: 26px; }
.npl-bar { position: relative; height: 10px; border-radius: 10px; background: rgba(148,163,184,.18); overflow: visible; }
.npl-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--a), var(--b)); box-shadow: 0 0 14px var(--a); overflow: hidden; }
.npl-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); background-size: 200% 100%; animation: npl-shine 1.4s linear infinite; }
@keyframes npl-shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.npl-bar span { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(56,189,248,.35), 0 0 16px var(--a); }
.npl-sub { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; font-weight: 700; color: #cbd5e1; }
.npl-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.npl-dots i { width: 14px; height: 8px; border-radius: 4px; background: rgba(148,163,184,.25); }
.npl-dots i.on { background: var(--a); box-shadow: 0 0 10px var(--a); animation: npl-blink 1s infinite; }
.npl-dots i.ok { background: #10b981; }
.npl-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.npl-steps > div { position: relative; padding: 10px; border-radius: 14px; background: rgba(2,6,23,.45); box-shadow: inset 0 0 0 1px rgba(148,163,184,.14); opacity: .55; transition: opacity .3s, box-shadow .3s, transform .3s; }
.npl-steps > div span { font-size: 18px; } .npl-steps > div b { display: block; font-size: 12.5px; color: #f1f5f9; margin-top: 2px; } .npl-steps > div small { display: block; font-size: 10.5px; color: var(--np-mut, #94a3b8); line-height: 1.35; }
.npl-steps > div.on { opacity: 1; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--a), 0 0 20px -6px var(--a); }
.npl-steps > div.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--a), var(--b)); animation: npl-blink 1s infinite; }
.npl-steps > div.ok { opacity: .9; box-shadow: inset 0 0 0 1px rgba(16,185,129,.5); }
.npl-steps > div.ok span::after { content: " ✓"; color: #10b981; font-weight: 900; font-size: 13px; }
.npl-foot { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-top: 12px; }
.npl-log { min-height: 70px; padding: 10px 12px; border-radius: 14px; background: rgba(2,6,23,.6); font: 12px/1.6 ui-monospace, Menlo, Consolas, monospace; color: #94a3b8; }
.npl-log div:first-child { color: #e0f2fe; } .npl-log div:first-child::after { content: "▍"; color: var(--a); animation: npl-blink 1s steps(2, start) infinite; }
.npl-log time { color: var(--a); margin-right: 8px; }
.npl-tip { padding: 12px 14px; border-radius: 14px; background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.3); font-size: 12.5px; color: #e9d5ff; line-height: 1.5; }
.npl-tip span { display: inline; } .npl-tip span.in { animation: npl-in .5s ease-out; }
@media (max-width: 760px) { .npl-steps { grid-template-columns: repeat(2, 1fr); } .npl-foot { grid-template-columns: 1fr; } .npl-core { width: 120px; height: 120px; } .npl-ring { inset: 22px; } .npl-pct { inset: 30px; padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { .npl *, .npl::before { animation: none !important; } }

/* v1.2 — Markmap besar tetap terbaca */
.np-mm { position: relative; }
.np-mm .np-tb { flex-wrap: wrap; max-width: calc(100% - 20px); }
.np-mm-hint { position: absolute; left: 12px; bottom: 10px; z-index: 4; max-width: calc(100% - 24px); padding: 5px 10px; border-radius: 999px; font: 600 11px/1.4 system-ui, sans-serif; color: #334155; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px #e2e8f0; pointer-events: none; }
.np-mm-hint b { color: #0E4C7A; }
.np-mm.np-mm-big::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -26px 22px -22px rgba(14,76,122,.25), inset 0 26px 22px -22px rgba(14,76,122,.25); border-radius: inherit; }
.np-mm svg { cursor: grab; }
.np-mm svg:active { cursor: grabbing; }

/* Tombol "Download Resmi (DOCX)" lama disembunyikan bila Notulen Plus aktif
   (sudah diganti tombol "📝 Dokumen Word" yang lebih lengkap). Bila Notulen Plus gagal tampil, tombol lama tetap muncul. */
body:has(#aiContent .np) #downloadDocxBtn { display: none !important; }
/* style.css memaksa teks markmap tebal (bold), tetapi markmap mengukur lebar teks
   di wadah tersembunyi tanpa bold → label terpotong ("Anggarar", "SDM"). Samakan ukurannya. */
.markmap-container .markmap-foreign, .markmap-container .markmap-foreign * { font-weight: bold !important; }
.np-mm foreignObject { overflow: visible; }
