/* Halaman Komponen (4 Des): kepala ala kartu bagan, persen per langkah, logframe berwarna tegas, anggaran terkunci */

/* ---------- daftar komponen ---------- */
.kl-head {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 22px;
  margin: 0 0 18px; padding: 24px 26px; border-radius: 22px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3A86E0 0%, #1A5DB4 45%, #0D3D82 100%);
}
.kl-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px; mask-image: linear-gradient(100deg, transparent 30%, #000 85%); pointer-events: none; }
.kl-head > * { position: relative; }
.kl-head p { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.78); }
.kl-head h1 { margin: 0; font: 700 30px/1.1 var(--head); letter-spacing: -.01em; color: #fff; }
.kl-dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kl-dots li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--kc); color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
.kl-dots .ic { width: 17px; height: 17px; }
.kl-avg { display: grid; justify-items: end; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.kl-avg b { font: 700 30px/1 var(--head); }
.kl-avg small { font-size: 12.5px; color: rgba(255,255,255,.75); }
@media (max-width: 899px) { .kl-dots { display: none; } .kl-head { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 599px) { .kl-head { padding: 18px; border-radius: 18px; } .kl-head h1 { font-size: 24px; } .kl-avg b { font-size: 24px; } }

/* ---------- kepala halaman komponen ---------- */
.kh2 { margin: 0 0 18px; }
.kh2-band {
  position: relative; padding: 18px 22px 20px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #3A86E0 0%, #1A5DB4 45%, #0D3D82 100%); color: #fff;
}
.kh2-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1.4px) 0 0 / 14px 14px; mask-image: linear-gradient(100deg, transparent 35%, #000 90%); pointer-events: none; }
.kh2-band > * { position: relative; }
.kh2-crumb { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.kh2-crumb a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.kh2-crumb .ic { width: 15px; height: 15px; }
.kh2-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.kh2-card { display: grid; gap: 8px; max-width: 620px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(180deg, #E8F2FE, #DDEBFC); border: 1px solid #B9D2F1; color: var(--navy-ink); box-shadow: 0 14px 30px -18px rgba(5,25,60,.6); }
.kh2-card .og-r { display: flex; align-items: center; gap: 9px; min-width: 0; }
.kh2-card .og-n { font: 650 17px/1.2 var(--head); color: #0A2A55; min-width: 0; }
.kh2-card .og-av { width: 38px; height: 38px; }
.kh2-card .og-k { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 600; color: #24466F; }
.kh2-card .og-r1 .og-jd, .kh2-card .og-r2 .og-fp { margin-left: auto; }
.kh2-team { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(26,93,180,.16); }
.kh2-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid #D3E3F6; min-width: 0; flex: 1 1 200px; color: var(--navy-ink); }
.kh2-s b { font: 600 13.5px/1.25 var(--body); }
.kh2-s small { grid-row: 2; font-size: 12px; color: var(--ink-3); }
.kh2-s .og-pill { grid-row: 1 / 3; grid-column: 2; }
.kh2-side { display: grid; gap: 10px; justify-items: end; }
.kh2-appr { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 12px; background: #0A2A5C; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 12.5px; color: rgba(255,255,255,.8); }
.kh2-appr .ic { width: 15px; height: 15px; color: #8FC1FF; }
.kh2-appr a { font-weight: 700; color: #fff; }
.kh2-pct { display: grid; justify-items: end; }
.kh2-pct b { font: 700 40px/1 var(--head); letter-spacing: -.02em; }
.kh2-pct small { font-size: 12.5px; color: rgba(255,255,255,.75); }
.kh2-fl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.kh2-fl a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 9px 12px 9px 9px; border-radius: 13px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; transition: background .2s; }
.kh2-fl a:hover { background: rgba(255,255,255,.2); }
.kh2-fl .og-no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--kc, #1A5DB4); font: 700 14px/1 var(--head); }
.kh2-fl .is-empty a { background: rgba(255,255,255,.05); box-shadow: none; border: 1px dashed rgba(255,255,255,.42); color: rgba(255,255,255,.72); font-weight: 500; }
.kh2-fl .is-empty .og-no { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); color: #fff; }

/* langkah dengan persen */
.steps2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.steps2 a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 14px 14px; border-radius: 15px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.steps2 a:hover { border-color: #B9D2F1; }
.steps2 a b { font: 700 20px/1 var(--head); color: #1A5DB4; min-width: 52px; }
.steps2 a span { font-size: 14px; font-weight: 600; }
.steps2 a i { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #E6EDF6; }
.steps2 a i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: #1A5DB4; border-radius: 0 4px 4px 0; transition: width .6s var(--ease); }
.steps2 a.is-done b { color: var(--green); }
.steps2 a.is-done i::after { background: var(--green); }
.steps2 a.is-on { border-color: #1A5DB4; box-shadow: 0 0 0 1px #1A5DB4, 0 10px 22px -16px rgba(26,93,180,.7); color: var(--navy-ink); }

@media (max-width: 760px) {
  .kh2-band { padding: 14px 14px 16px; border-radius: 18px; }
  .kh2-top { grid-template-columns: minmax(0, 1fr); }
  .kh2-side { grid-auto-flow: column; justify-content: space-between; align-items: end; justify-items: start; }
  .kh2-pct { justify-items: end; }
  .kh2-pct b { font-size: 30px; }
  .kh2-fl { grid-template-columns: minmax(0, 1fr); }
  .steps2 a { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 10px 13px; }
  .steps2 a b { font-size: 18px; min-width: 0; }
  .steps2 a span { font-size: 12.5px; line-height: 1.25; }
}

/* ---------- profil: staf di bawah manager ---------- */
.pf-team { display: grid; gap: 6px; margin: 4px 0 14px; }
.pf-team > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-s { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--blue-wash); color: var(--navy-ink); }
.pf-s b { display: block; font-size: 14px; }
.pf-s small { font-size: 12px; color: var(--ink-3); }

/* ---------- anggaran terkunci ---------- */
.lock-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #F4F6F9; border: 1px dashed #C9D3DF; color: var(--ink-2); }
.lock-box > .ic { width: 22px; height: 22px; flex: none; color: #6A7C92; }
.lock-box b { display: block; font-size: 14.5px; color: var(--navy-ink); }
.lock-box small { font-size: 13px; color: var(--ink-3); }
.fld-locked .lock-in { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 10px; background: #F4F6F9; border: 1px dashed #C9D3DF; font-size: 13px; color: var(--ink-3); }
.fld-locked .lock-in .ic { width: 15px; height: 15px; }

/* ---------- logframe: tantangan, tujuan, sasaran ---------- */
.lfp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; margin-bottom: 16px; }
.lfp-c { min-width: 0; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--lc); }
.lfp-c h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 15.5px/1.2 var(--head); color: var(--navy-ink); }
.lfp-c h3 .ic { width: 18px; height: 18px; color: var(--lc); }
.lfp-tt { --lc: #B4372A; }
.lfp-tj { --lc: #0B2F63; }
.lfp-ss { --lc: #6A3FA0; }
.lfp-sub { margin: -4px 0 10px; font-size: 12.5px; color: var(--ink-3); }
.lfp-ss .fld + .fld { margin-top: 10px; }
.lfp .pts { margin: 0; padding: 0; list-style: none; counter-reset: pt; }
@media (max-width: 1080px) { .lfp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lfp-ss { grid-column: 1 / -1; } }
@media (max-width: 680px) { .lfp { grid-template-columns: minmax(0, 1fr); } }

/* ---------- logframe: matriks berwarna tegas, baris membulat ---------- */
.lfx { border: 0; background: transparent; overflow: visible; }
.lfx-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lfx-head b { display: block; font: 700 16px/1.2 var(--head); color: var(--navy-ink); }
.lfx-head small { font-size: 13px; color: var(--ink-3); }
.lfx-leg { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.lfx-leg li { display: inline-flex; align-items: center; gap: 6px; }
.lfx-leg i { width: 12px; height: 12px; border-radius: 4px; background: var(--lc); }
.lfx-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 6px; padding: 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.lfx-rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lfx-r { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 6px; margin-left: calc(var(--d) * 14px); break-inside: avoid; }
.lfx-r > div { min-width: 0; padding: 11px 14px; border-radius: 14px; background: color-mix(in srgb, var(--lc) 10%, #fff); font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.lfx-r p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.lfx-r em { font-style: normal; color: color-mix(in srgb, var(--lc) 45%, #8A96A3); }
.lfx-r .lfx-n { background: var(--lc); color: #fff; }
.lfx-r .lfx-n em { color: rgba(255,255,255,.7); }
.lfx-lvl { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.2); font: 700 11.5px/1.4 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.lfx-n p { font-weight: 600; }
.lfx-goal .lfx-n p { font-size: 15px; }
.lfx-c small { display: none; }
@media (max-width: 899px) {
  .lfx-cols { display: none; }
  .lfx-r { grid-template-columns: minmax(0, 1fr); gap: 0; margin-left: calc(var(--d) * 8px); border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--lc) 10%, #fff); }
  .lfx-r > div { border-radius: 0; background: transparent; padding: 9px 14px; }
  .lfx-r .lfx-n { background: var(--lc); }
  .lfx-c small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--lc) 70%, #333); }
  .lfx-c + .lfx-c { border-top: 1px solid color-mix(in srgb, var(--lc) 16%, #fff); }
}
@media print {
  .lfp, .lf-bar, .kh2, .hint-box, .next-step { display: none !important; }
  .lfx-r { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===================== Preparation Progress ===================== */
.pp-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0 0 14px; padding: 22px 24px; border-radius: 22px; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #3A86E0 0%, #1A5DB4 45%, #0D3D82 100%); }
.pp-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px; mask-image: linear-gradient(100deg, transparent 30%, #000 85%); pointer-events: none; }
.pp-head > * { position: relative; }
.pp-head p { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.78); }
.pp-head h1 { margin: 0; font: 700 30px/1.1 var(--head); letter-spacing: -.01em; color: #fff; }
.pp-stat { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-stat li { display: grid; min-width: 92px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pp-stat b { font: 700 24px/1 var(--head); }
.pp-stat small { font-size: 12px; line-height: 1.25; color: rgba(255,255,255,.78); }
.pp-stat li.is-red { background: #C8372A; box-shadow: none; }
.pp-stat li.is-amber { background: rgba(255,196,77,.22); box-shadow: inset 0 0 0 1px rgba(255,214,130,.5); }

.pp-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.pp-pills a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-ink); transition: background .25s var(--ease), color .25s, border-color .25s, box-shadow .25s; }
.pp-pills a:hover { border-color: #A9C6EC; }
.pp-pills .ic { width: 20px; height: 20px; color: #1A5DB4; }
.pp-pills b { display: block; font: 650 14.5px/1.2 var(--head); }
.pp-pills small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-pills em { font-style: normal; min-width: 26px; height: 26px; padding: 0 7px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-wash); font: 700 13px/1 var(--head); color: #1A5DB4; }
.pp-pills a.is-on { background: #1A5DB4; border-color: #1A5DB4; color: #fff; box-shadow: 0 12px 24px -14px rgba(26,93,180,.8); }
.pp-pills a.is-on .ic, .pp-pills a.is-on small { color: rgba(255,255,255,.85); }
.pp-pills a.is-on em { background: rgba(255,255,255,.2); color: #fff; }

.pp-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.pp-box { position: relative; display: grid; align-content: start; gap: 8px; padding: 10px 22px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: opacity .25s, box-shadow .25s, border-color .25s; }
.pp-box.is-on { border-color: var(--kc); box-shadow: 0 0 0 1px var(--kc), 0 12px 24px -18px rgba(0,0,0,.5); }
.pp-box.is-dim { opacity: .55; }
.pp-box.is-dim:hover { opacity: 1; }
.pp-bk { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--navy-ink); }
.pp-bk b { flex: 1; min-width: 0; font: 650 14px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-bk em { font-style: normal; font: 700 13px/1 var(--head); color: var(--ink-3); }
.pp-kic { width: 28px; height: 28px; border-radius: 9px; }
.pp-kic .ic { width: 15px; height: 15px; }
.pp-ppl { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 4px; }
.pp-ppl a { padding: 4px 9px; border-radius: 999px; background: #F2F5F9; font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.pp-ppl a:hover { background: color-mix(in srgb, var(--kc) 14%, #fff); }
.pp-ppl a.is-on { background: var(--kc); color: #fff; }
.pp-sig { position: absolute; top: 0; right: 0; bottom: 0; width: 8px; background: var(--kc); font-size: 0; color: transparent; overflow: hidden; }
.pp-filt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; font-size: 13.5px; color: var(--ink-2); }
.pp-filt .ic { width: 15px; height: 15px; }
.pp-filt a { margin-left: 6px; font-weight: 600; color: #1A5DB4; }

.pp-sec { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.pp-sh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.pp-sh h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 18px/1.2 var(--head); color: var(--navy-ink); }
.pp-sh h2 .ic { width: 20px; height: 20px; color: #1A5DB4; }
.pp-sh small { font-size: 13px; color: var(--ink-3); }
.pp-add { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin-bottom: 14px; padding: 10px; border-radius: 14px; background: #F6F8FB; }
.pp-add .dk-up { grid-column: 1 / -1; }
.pp-add-td { grid-template-columns: minmax(0, 2fr) 160px minmax(0, 1fr) minmax(0, 1fr) auto; }
.pp-up { white-space: nowrap; cursor: pointer; }
.pp-list, .pp-tds { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pp-doc { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pp-ti { display: grid; place-items: center; align-content: center; gap: 2px; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--tc) 12%, #fff); color: var(--tc); }
.pp-ti .ic { width: 19px; height: 19px; }
.pp-ti small { font: 700 9px/1 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.pp-dn { display: block; font: 600 14.5px/1.3 var(--body); color: var(--navy-ink); overflow-wrap: anywhere; }
.pp-dm p, .pp-tm p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 3px 0 0; font-size: 12.5px; color: var(--ink-3); }
.pp-tag { padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--kc) 13%, #fff); color: color-mix(in srgb, var(--kc) 80%, #000); font-weight: 700; font-size: 11.5px; }
.pp-da { display: flex; align-items: center; gap: 6px; }
.pp-nil { margin: 6px 0; padding: 14px; border-radius: 12px; border: 1px dashed #CFD8E3; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.pp-kan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-col { min-width: 0; padding: 10px; border-radius: 16px; background: #F6F8FB; }
.pp-col h3 { display: flex; align-items: center; gap: 7px; margin: 2px 4px 10px; font: 700 14px/1.2 var(--head); color: var(--navy-ink); }
.pp-col h3 em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.pp-col h3 .ic { width: 16px; height: 16px; }
.pp-col .pp-doc { grid-template-columns: 40px minmax(0, 1fr); }
.pp-col .pp-ti { width: 40px; height: 40px; }
.pp-col .pp-da { grid-column: 1 / -1; justify-content: flex-end; }
.pp-fin { background: #EAF4EE; }
.pp-fin h3 { color: var(--green); }

.pp-warn { display: grid; gap: 6px; margin-bottom: 14px; }
.pp-warn p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; }
.pp-warn .ic { width: 17px; height: 17px; flex: none; }
.pp-warn .is-red { background: var(--red-wash); color: #8E2A1F; }
.pp-warn .is-amber { background: var(--amber-wash); color: #6E4800; }
.pp-cal { display: grid; gap: 10px; margin-bottom: 14px; }
.pp-mo { display: flex; align-items: center; gap: 10px; }
.pp-mo b { min-width: 150px; text-align: center; font: 700 17px/1 var(--head); color: var(--navy-ink); }
.pp-wks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pp-wks button { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; color: var(--navy-ink); font: inherit; transition: background .2s, border-color .2s, color .2s; }
.pp-wks b { font: 650 14px/1.2 var(--head); }
.pp-wks small { font-size: 12px; color: var(--ink-3); }
.pp-wks button.is-on { background: #1A5DB4; border-color: #1A5DB4; color: #fff; }
.pp-wks button.is-on small { color: rgba(255,255,255,.8); }
.pp-wks button.is-red::after, .pp-days button.is-red::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #D93025; box-shadow: 0 0 0 2px #fff; }
.pp-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
.pp-days button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 4px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy-ink); font: inherit; transition: background .2s, border-color .2s; }
.pp-days small { font-size: 11.5px; color: var(--ink-3); }
.pp-days b { font: 700 18px/1 var(--head); }
.pp-days i { min-width: 20px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: #1A5DB4; color: #fff; font: 700 11px/1 var(--head); font-style: normal; }
.pp-days i.is-0 { width: 5px; min-width: 0; height: 5px; padding: 0; background: #D6DEE8; }
.pp-days i.is-late { background: #D93025; }
.pp-days i.is-done { background: var(--green); }
.pp-days button.is-today { border-color: #1A5DB4; }
.pp-days button.is-on { background: #EAF1F9; border-color: #1A5DB4; box-shadow: 0 0 0 1px #1A5DB4; }
.pp-lh { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 8px; font: 700 15.5px/1.2 var(--head); color: var(--navy-ink); }
.pp-lh small { font: 500 13px var(--body); color: var(--ink-3); }
.pp-td { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--kc); background: #fff; }
.pp-td b { font: 600 14.5px/1.3 var(--body); color: var(--navy-ink); }
.pp-td.is-done b { color: var(--ink-3); text-decoration: line-through; }
.pp-td.is-late { background: #FFF6F5; border-color: #F1C7C2; border-left-color: #D93025; }
.pp-td.is-late .pp-due { color: #B4372A; font-weight: 700; }
.pp-td.is-soon { background: #FFFAF0; border-color: #EED9AE; }
.pp-td.is-soon .pp-due { color: var(--amber); font-weight: 700; }
.pp-wa { background: #E7F6EC; border-color: #BFE3CB; color: #136C3A; }
.pp-wa:hover { background: #1F8A4C; color: #fff; }
.pp-tanpa { margin-top: 10px; }
.pp-tanpa summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.pp-hint { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); }
.pp-hint .ic { width: 15px; height: 15px; }

@media (max-width: 1179px) {
  .pp-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pp-add > .in:first-child, .pp-add > input[name=url] { grid-column: 1 / -1; }
  .pp-add-td { grid-template-columns: minmax(0, 1fr) 160px; }
  .pp-add-td > .in:first-child { grid-column: 1 / -1; }
}
@media (max-width: 899px) { .pp-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-kan { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) {
  .pp-head { grid-template-columns: minmax(0, 1fr); padding: 18px; border-radius: 18px; }
  .pp-head h1 { font-size: 24px; }
  .pp-stat li { min-width: 0; flex: 1; }
  .pp-pills a { border-radius: 16px; grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; }
  .pp-pills small { display: none; }
  .pp-pills em { position: absolute; top: 6px; right: 6px; min-width: 20px; height: 20px; font-size: 11px; }
  .pp-pills b { font-size: 13px; }
  .pp-boxes { gap: 6px; }
  .pp-box { padding: 8px 16px 8px 8px; }
  .pp-sig { width: 6px; }
  .pp-sec { padding: 12px; border-radius: 16px; }
  .pp-add, .pp-add-td { grid-template-columns: minmax(0, 1fr); }
  .pp-add > * { grid-column: 1 / -1; }
  .pp-wks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pp-td { grid-template-columns: auto minmax(0, 1fr) auto; }
  .pp-td .pp-wa { grid-column: 2 / -1; justify-self: start; }
  .pp-doc { grid-template-columns: 40px minmax(0, 1fr); }
  .pp-doc .pp-da { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ===================== Workspace ===================== */
.ws-head { margin-bottom: 12px; }
.ws-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ws-top .ws-t { padding: 16px; border-radius: 18px; }
.ws-top .ws-ic { width: 46px; height: 46px; border-radius: 14px; }
.ws-top b { font-size: 16px; }
.br .br-sub { margin: -6px 0 12px; font-size: 13px; }
.br-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.br-list a { display: grid; gap: 4px; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.br-list a:hover { border-color: #A9C6EC; box-shadow: 0 10px 22px -18px rgba(10,37,64,.5); }
.br-list b { font: 600 14.5px/1.35 var(--body); color: var(--navy-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-list small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.ws-more { padding: 0; }
.ws-more > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; }
.ws-more > summary::-webkit-details-marker { display: none; }
.ws-more > summary h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 16px/1.2 var(--head); color: var(--navy-ink); }
.ws-more > summary h2 .ic { width: 18px; height: 18px; }
.ws-more .ws-chev { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); transition: transform .3s var(--ease); }
.ws-more[open] .ws-chev { transform: rotate(180deg); }
.ws-more > .ws-grid { padding: 0 20px 18px; }
@media (max-width: 899px) { .ws-top { grid-template-columns: minmax(0, 1fr); } .br-list { grid-template-columns: minmax(0, 1fr); } }
button.ws-t { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.pp-warn p a { margin-left: auto; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.block.ws-more { padding: 0; }

/* ---------- pita biru di atas halaman Event dan Kalender Agenda (sama dengan Working Load) ---------- */
.hello, .page-head.jd-head {
  position: relative; overflow: hidden; isolation: isolate; margin-bottom: 22px; padding: 22px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3A86E0 0%, #1A5DB4 45%, #0D3D82 100%);
  box-shadow: 0 18px 40px -28px rgba(11,47,99,.55);
}
.hello::before, .page-head.jd-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%); pointer-events: none; }
.hello .eyebrow, .page-head.jd-head .eyebrow { color: rgba(255,255,255,.78); }
.hello h1, .page-head.jd-head h1 { color: #fff; }
.hello p { color: rgba(255,255,255,.86); }
.hello .hello-prog { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.hello .hp-l, .hello .hp-v, .hello .hp-v b { color: #fff; }
.hello .hello-prog .bar-big { background: rgba(255,255,255,.3); }
/* agenda Google Calendar: satu baris per acara, tanggal di kiri (menimpa gaya agenda lama) */
.agenda > li:has(> a:first-child) { display: block; padding: 0; border-top: 0; }
.agenda > li:has(> a:first-child) + li { border-top: 1px solid var(--line-2); }
/* iPad tegak dan HP: lajur halaman sebelumnya disembunyikan, tombol balik di atas halaman sudah cukup */
@media (max-width: 820px) { .strips { display: none; } }

/* baris logframe tanpa indikator (Objective ala dokumen Papa): satu bentang penuh */
.lfx-r.lfx-wide { grid-template-columns: minmax(0, 1fr); }
.lfx-wide .lfx-t { font-weight: 700; font-size: 15.5px; }
.lfx-wide .lfx-more { margin-top: 6px; opacity: .92; font-size: 13.5px; line-height: 1.55; }
.lfx-wide .lfx-more b { font-weight: 700; }

/* ===== Logframe infografis: blok per Objective ===== */
.lfg-wrap .lfx-head { margin-bottom: 14px; }
.lfg-stat { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.lfg-stat li { display: flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--kc) 18%, #E3E8EF); }
.lfg-stat b { font: 700 17px/1 var(--head); color: var(--kc); }
.lfg-stat span { font-size: 12.5px; color: var(--ink-2, #4A5563); }
.lfg-goal { position: relative; margin: 0 0 16px; padding: 20px 22px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #0B2F63, #15498F); overflow: hidden; }
.lfg-goal::after { content: ''; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.06); pointer-events: none; }
.lfg-tag { display: inline-block; margin-bottom: 6px; font: 700 11.5px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lfg-gt { position: relative; margin: 0; max-width: 62ch; font: 600 18px/1.45 var(--head); text-wrap: pretty; }
.lfg-grid { display: grid; gap: 18px; }
.lfg { border-radius: 22px; background: color-mix(in srgb, var(--gc) 6%, #fff); border: 1px solid color-mix(in srgb, var(--gc) 16%, #fff); overflow: hidden; break-inside: avoid-page; }
.lfg-h { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, var(--gc), color-mix(in srgb, var(--gc) 78%, #0B1B33)); }
.lfg-no { flex: none; display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 16px; background: #fff; color: var(--gc); font: 800 22px/1 var(--head); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.lfg-ht { min-width: 0; flex: 1; }
.lfg-t { margin: 0; font: 650 17px/1.4 var(--head); text-wrap: pretty; overflow-wrap: anywhere; }
.lfg-more { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; opacity: .94; overflow-wrap: anywhere; }
.lfg-more b { font-weight: 700; }
.lfg-list { position: relative; margin: 0; padding: 14px 18px 18px; list-style: none; display: grid; gap: 10px; }
.lfg-list::before { content: ''; position: absolute; left: 30px; top: 22px; bottom: 26px; width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--gc) 26%, #fff); }
.lfn { position: relative; padding-left: calc(34px + var(--d) * 22px); }
.lfn-dot { position: absolute; left: 6px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--gc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gc) 6%, #fff); }
.lfn-op .lfn-dot { background: #fff; border: 3px solid var(--gc); }
.lfn-act .lfn-dot { left: 8px; top: 18px; width: 10px; height: 10px; background: color-mix(in srgb, var(--gc) 55%, #fff); }
.lfn:not([style*="--d:0"]) .lfn-dot::after { content: ''; position: absolute; left: 100%; top: 50%; width: calc(var(--d) * 22px + 12px); height: 2px; background: color-mix(in srgb, var(--gc) 26%, #fff); }
.lfn-b { min-width: 0; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid color-mix(in srgb, var(--gc) 14%, #fff); box-shadow: 0 1px 2px rgba(16,32,64,.04); }
.lfn-act .lfn-b { background: color-mix(in srgb, #fff 70%, transparent); }
.lfn-h { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; }
.lfn-no { padding: 2px 9px; border-radius: 999px; background: var(--gc); color: #fff; font: 700 12.5px/1.5 var(--head); }
.lfn-no:empty { display: none; }
.lfn-lvl { font: 700 11.5px/1 var(--head); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--gc) 80%, #222); }
.lfn-t { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; text-wrap: pretty; }
.lfn-act .lfn-t { font-weight: 500; }
.lfn .lfg-more { color: var(--ink-2, #4A5563); }
.lfg-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin: 10px 0 0; }
.lfg-f > div { min-width: 0; padding: 8px 11px; border-radius: 12px; background: color-mix(in srgb, var(--gc) 6%, #fff); }
.lfg-f dt { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font: 700 11px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--gc) 78%, #222); }
.lfg-f dt .ic { width: 14px; height: 14px; flex: none; }
.lfg-f dd { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.lfg-h .lfg-f > div, .lfg-goal .lfg-f > div { background: rgba(255,255,255,.14); }
.lfg-h .lfg-f dt, .lfg-h .lfg-f dd, .lfg-goal .lfg-f dt, .lfg-goal .lfg-f dd { color: #fff; }
.lfg em { font-style: normal; opacity: .6; }
@media (max-width: 599px) {
  .lfg-stat { margin: 0; }
  .lfg-goal { padding: 16px; border-radius: 18px; }
  .lfg-gt { font-size: 16px; }
  .lfg { border-radius: 18px; }
  .lfg-h { gap: 12px; padding: 14px; }
  .lfg-no { min-width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
  .lfg-t { font-size: 15.5px; }
  .lfg-list { padding: 12px 10px 14px; }
  .lfg-list::before { left: 22px; }
  .lfn { padding-left: calc(28px + var(--d) * 12px); }
  .lfn-dot { left: -2px; }
  .lfn-act .lfn-dot { left: 0; }
  .lfn:not([style*="--d:0"]) .lfn-dot::after { width: calc(var(--d) * 12px + 10px); }
  .lfg-f { grid-template-columns: minmax(0, 1fr); }
}
@media print { .lfg, .lfg-h, .lfg-goal, .lfn-no, .lfn-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
@media (max-width: 599px) {
  .lfg-h { display: block; }
  .lfg-no { float: left; min-width: 36px; height: 36px; margin: 0 10px 4px 0; border-radius: 11px; font-size: 16px; }
  .lfg-h .lfg-tag { display: block; line-height: 36px; margin: 0 0 4px; }
  .lfg-h .lfg-t { clear: left; }
}
