/* Dashboard kerja tim Tahilalats (v2). Port dari mockup wireframe-dash: tl.css, beranda.css, alur.css, plus
   gaya halaman beranda-v2 dan beranda-kosong-v2. Tanpa CDN dan tanpa impor CSS luar; font cuma file lokal.
   Font self-host, lisensi SIL Open Font License 1.1: Lilita One (Juan Montoreano), Poppins (Indian Type Foundry),
   Patrick Hand (Patrick Wagesreiter). Kalau file font gagal dimuat, jatuh ke Arial Black, system-ui, Comic Sans MS.
   Grid desktop: 1440 - sidebar 236 = 1204; padding 30 kiri kanan, konten 1144, 12 kolom gutter 16. */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(font/lilita-one.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(font/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(font/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(font/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url(font/patrick-hand.woff2) format("woff2"); }

:root {
  --ground: #F7F3F0;      /* krem latar deck */
  --surface: #FFFFFF;
  --raised: #FBF8F5;
  --line: #E7E0D8;
  --rule: #EFE9E2;
  --ink: #141414;
  --muted: #5F5852;
  --faint: #736B63;
  --red: #AA2632;
  --orange: #F08A1E;
  --sky: #57AADF;
  --sky-ink: #1F5F8C;
  --pink: #F14F86;
  --yellow: #F7B014;
  --green: #3DB57A;
  --rose: #D9918F;
  --navy: #182454;
  --pill-yellow: #FDF0CF;
  --pill-pink: #FDE3EC;
  --pill-green: #DDF3E7;
  --pill-sky: #E1EFF9;
  --pill-grey: #EFEAE4;
  --r-panel: 10px;
  --r-ctl: 6px;
  --f-head: "Lilita One", "Arial Black", sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-hand: "Patrick Hand", "Comic Sans MS", cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ground); color: var(--ink);
  font: 400 13.5px/1.45 var(--f-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg.ik { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; padding-bottom: 28px; }
.side { padding: 22px 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: calc(100vh - 28px); }
.side .brand { display: block; padding: 2px 6px 0; }
.side .brand img { width: 150px; display: block; }
.side .brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.nav { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; color: #3B3631; font-size: 14px; }
.nav a svg { stroke: #6B635C; }
.nav a:hover { background: #F0E9E1; }
.nav a.on { background: #ECE4DB; color: var(--ink); font-weight: 600; }
.nav a.on svg { stroke: var(--ink); }
.nav a .n { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.nav a.lock { color: var(--faint); cursor: default; }
.nav a.lock:hover { background: transparent; }
.nav a.lock .n { font-size: 11.5px; }
.nav .grp { font-size: 12px; color: var(--faint); padding: 18px 10px 6px; }
.side .foot { margin-top: auto; padding: 12px; border-radius: var(--r-panel); background: #EFE8E0; font-size: 12.5px; color: #3B3631; }
.side .foot b { font-weight: 600; }
.side .foot .mb { width: 92px; display: block; margin-top: 12px; opacity: .9; }

.main { padding: 0 30px 24px; min-width: 0; }
.top { height: 60px; display: flex; align-items: center; gap: 16px; }
.search { width: 380px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--faint); font-size: 13px; cursor: default; }
.search svg { width: 16px; height: 16px; stroke: var(--faint); stroke-width: 1.8; }
.search kbd { margin-left: auto; font: 500 11.5px var(--f-body); color: var(--faint); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
.top .sp { flex: 1; }
.top .date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.who { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.who .t { line-height: 1.2; }
.who .t b { display: block; font-weight: 600; font-size: 13.5px; }
.who .t span { font-size: 12px; color: var(--muted); }
.who .keluar { font-size: 12px; color: var(--sky-ink); font-weight: 500; margin-left: 4px; }
.av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: inline-grid; place-items: center; font: 600 13px var(--f-body); color: var(--ink); flex: none; background: var(--rose); }
.av.s { width: 24px; height: 24px; font-size: 10px; border-width: 1.5px; }
.av.w0 { background: #F3DEDD; } .av.w1 { background: #DCE0EE; } .av.w2 { background: var(--pill-sky); }
.av.w3 { background: var(--pill-yellow); } .av.w4 { background: var(--pill-pink); } .av.w5 { background: var(--pill-green); }

.bar-bottom { position: fixed; left: 0; right: 0; bottom: 0; height: 28px; background: var(--sky); color: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 32px; font-size: 12px; z-index: 5; }
.hbar, .bnav { display: none; }

/* ---------- judul halaman ---------- */
.title { display: flex; align-items: flex-end; gap: 18px; margin: 4px 0 16px; }
.title h1 { font: 400 32px/1 var(--f-head); color: var(--red); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.title p { margin: 0 0 2px; font-size: 14.5px; color: var(--ink); }
.title p b { font-weight: 600; }
.title .sp { flex: 1; }
.fresh { font-size: 12px; color: var(--muted); white-space: nowrap; margin-bottom: 3px; }
.status { color: var(--muted); padding: 24px 0; margin: 0; }

/* ---------- grid dan panel ---------- */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.s4 { grid-column: span 4; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); min-width: 0; }
.panel.tegas { border: 2px solid var(--ink); }
.ph { display: flex; align-items: center; gap: 10px; padding: 14px 18px 10px; }
.ph.rapat { padding-bottom: 0; }
.ph h2 { font: 400 20px/1.1 var(--f-head); margin: 0; letter-spacing: .005em; }
.ph .c { font: 600 13px var(--f-body); color: var(--muted); }
.ph .sp { flex: 1; }
.ph .more, .more { font-size: 12.5px; color: var(--sky-ink); font-weight: 500; white-space: nowrap; }

.chips { display: flex; gap: 6px; margin-left: 10px; }
.chip { height: 26px; padding: 0 10px; border-radius: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3B3631; background: transparent; border: 1px solid var(--line); cursor: pointer; }
.chip b { font-weight: 600; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* label kotak, garis tegas, gaya label foto di deck. Teks di atas warna selalu hitam. */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1.5px solid var(--ink); border-radius: 3px; font: 600 11.5px/1 var(--f-body); color: var(--ink); white-space: nowrap; }
.tag.telat { background: var(--orange); }
.tag.putus { background: var(--yellow); }
.tag.batas { background: var(--pink); }
.tag.baru { background: var(--orange); }
.tag.tayang { background: var(--sky); }
.tag.kos { background: #ECE7E1; border-color: #B8AFA6; color: var(--muted); font-weight: 500; }

.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill.grey { background: var(--pill-grey); color: #4A433D; }
.pill.yellow { background: var(--pill-yellow); color: #7A5200; }
.pill.pink { background: var(--pill-pink); color: #A3164B; }
.pill.green { background: var(--pill-green); color: #1C6B43; }
.pill.sky { background: var(--pill-sky); color: #1F5F8C; }
.pill.red { background: #F9E1E3; color: #8E1E29; }

.dv { display: inline-block; width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; flex: none; background: #B9B0A6; }
.d-sales { background: var(--navy); } .d-lic { background: var(--red); } .d-kon { background: var(--sky); }
.d-mer { background: var(--yellow); } .d-evt { background: var(--pink); } .d-pos { background: var(--green); }
.d-fin { background: var(--rose); } .d-ven { background: #B9B0A6; }

.btn { height: 30px; padding: 0 12px; border: 1.5px solid var(--ink); background: #fff; border-radius: var(--r-ctl); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #FFF6E0; }
.btn.utama { background: var(--yellow); border-width: 2px; height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn.ghost { border-color: var(--line); font-weight: 500; }

table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 0 12px; height: 46px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 1px; }
.tbl .main-c { font-weight: 600; line-height: 1.3; }
.tbl tbody tr:hover td { background: #FCFAF7; }
.tbl td:first-child, .tbl th:first-child { padding-left: 18px; }
.tbl td:last-child, .tbl th:last-child { padding-right: 18px; }
.dash { color: var(--faint); }
.late { color: #A3341A; font-weight: 600; }

.hand { font: 400 17px/1.15 var(--f-hand); color: var(--ink); }
.scribble { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- strip ringkas 13 tahap di Beranda ---------- */
.strip { display: flex; align-items: stretch; padding: 10px 16px 12px; }
.strip .grp { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.strip .gh { display: flex; align-items: baseline; gap: 8px; }
.strip .gn { font: 400 18px/1 var(--f-head); }
.strip .gc { font-size: 12px; color: var(--muted); font-weight: 500; }
.strip .bm { display: block; font-size: 13px; color: #3B3631; padding: 3px 0 8px; white-space: nowrap; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.strip .bm b { font-weight: 600; color: var(--ink); font-size: 16px; }
.strip .bm.muted { color: var(--faint); }
.strip .chev { width: 10px; height: 24px; flex: none; align-self: center; margin: 42px 2px 0; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip .cells { display: flex; gap: 2px; }
.strip .cell { flex: 0 0 36px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 44px; }
.strip .pp { display: flex; flex-direction: column-reverse; gap: 3px; align-items: center; margin-bottom: 4px; }
.strip .pp i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--ink); }
.strip .pp i.telat { background: var(--orange); } .strip .pp i.batas { background: var(--pink); }
.strip .pp i.putus { background: var(--yellow); } .strip .pp i.ok { background: var(--green); }
.strip .pp .lebih { font-size: 10.5px; font-weight: 600; line-height: 1; }
.strip .cell.tb { flex: 0 0 22px; border-left: 1px dashed #D9D0C6; margin-left: 2px; }
.strip .cell .mn { font-size: 12px; color: var(--muted); line-height: 1.1; }
.strip .cell.nol .pp::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed #CFC6BC; }
.strip .off { flex: none; width: 128px; margin-left: 12px; padding-left: 12px; border-left: 1px dashed #D9D0C6; }
.strip .off .bm { border-bottom-color: #D9D0C6; }
.strip .off .cells { flex-direction: column; gap: 0; }
.strip .lu { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); padding: 3px 2px; }
.strip .lu b { font: 600 16px/1 var(--f-body); color: var(--muted); }
.ms-key { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ms-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); vertical-align: -1px; margin-right: 5px; background: var(--ink); }
.ms-key i.o { background: var(--orange); } .ms-key i.y { background: var(--yellow); } .ms-key i.p { background: var(--pink); } .ms-key i.g { background: var(--green); }

/* catatan putus-putus di blok yang belum keisi */
.blk-note { margin: 6px 0 0; padding: 6px 8px 6px 12px; border: 1px dashed #D9D0C6; border-radius: 8px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #3B3631; }
.blk-note b { font-weight: 600; }
.blk-note .sp { flex: 1; }
.strip-note { margin: 0 16px 12px; }

/* ---------- Nyangkut ---------- */
.att { position: relative; }
.att table { table-layout: fixed; }
.att col.c-pic { width: 106px; } .att col.c-sejak { width: 132px; } .att col.c-go { width: 90px; }
.att .tbl td { height: 42px; overflow: hidden; }
.att .main-c { overflow: hidden; text-overflow: ellipsis; }
.att .tbl td .sub { overflow: hidden; text-overflow: ellipsis; padding-left: 94px; white-space: nowrap; }
.att .tbl td.since { font-size: 12.5px; }
.att .tbl td.pic .sub, .att .tbl td.since .sub { padding-left: 0; }
.att .tbl td.since.late .sub { font-weight: 400; color: var(--muted); }
.att .tbl th:first-child { padding-left: 112px; }
.att .tbl td.go { text-align: right; }
.att .what { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.att .what .tag { width: 86px; justify-content: center; flex: none; }
.att .wc { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.att .wc .nm { overflow: hidden; text-overflow: ellipsis; }
.peek { position: absolute; right: 24px; top: -34px; width: 62px; transform: rotate(6deg); pointer-events: none; }
.peek-note { position: absolute; right: 98px; top: 14px; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.peek-note svg { width: 34px; height: 30px; margin-top: 10px; }
.tfoot { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tfoot .sp { flex: 1; }

/* Nyangkut kosong: Ben gendong kucing nunjuk ke checklist */
.empty-att { display: grid; grid-template-columns: 214px 1fr; position: relative; overflow: hidden; border-radius: 0 0 8px 8px; }
.empty-att .ben { align-self: end; justify-self: start; width: 132px; display: block; margin: 0 0 14px 18px; }
.empty-att .txt { padding: 0 20px 18px 4px; }
.empty-att h3 { font: 600 16px var(--f-body); margin: 0 0 4px; }
.empty-att p { margin: 0 0 14px; color: #3B3631; max-width: 560px; }
.note-ben { position: absolute; left: 96px; top: 6px; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.note-ben .hand { transform: rotate(-3deg); }
.note-ben svg { position: absolute; left: 38px; top: 36px; width: 130px; height: 110px; }
.setup { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: 8px; }
.setup li { display: grid; grid-template-columns: 22px 128px 1fr; align-items: center; gap: 8px; padding: 0 14px; height: 36px; border-top: 1px solid var(--rule); font-size: 13px; white-space: nowrap; }
.setup li:first-child { border-top: 0; }
.setup .ck { width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; display: grid; place-items: center; background: #fff; }
.setup .ck.ok { background: var(--green); }
.setup .ck.ok::after { content: ""; width: 8px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.setup b { font-weight: 600; }
.setup span { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.setup code { white-space: nowrap; font: 500 12.5px var(--f-body); background: var(--pill-grey); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.act { display: flex; align-items: center; gap: 14px; }
.act .prog { font-size: 12.5px; color: var(--muted); }
.ajak { height: 36px; padding: 0 16px; border: 2px solid var(--ink); background: var(--yellow); border-radius: var(--r-ctl); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; white-space: nowrap; }

/* ---------- Beban divisi: bar per divisi, garis = batas tugas ---------- */
.load { padding: 6px 18px 14px; }
.ld { display: grid; grid-template-columns: 172px 1fr 40px; align-items: center; gap: 10px; height: 30px; font-size: 12.5px; }
.load.kosong .ld { height: 28px; }
.ld .nm { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.ld .track { height: 14px; position: relative; background: #F3EEE8; border-radius: 3px; }
.ld .fill { position: absolute; left: 0; top: 0; bottom: 0; border: 1.5px solid var(--ink); border-radius: 3px; background: #B9B0A6; }
.ld .fill.d-sales { background: var(--navy); } .ld .fill.d-lic { background: var(--red); } .ld .fill.d-kon { background: var(--sky); }
.ld .fill.d-mer { background: var(--yellow); } .ld .fill.d-evt { background: var(--pink); } .ld .fill.d-pos { background: var(--green); }
.ld .fill.d-fin { background: var(--rose); }
.ld .cap { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.ld .n { text-align: right; font-weight: 600; white-space: nowrap; }
.ld .n span { color: var(--muted); font-weight: 400; }
.ld.over .n { color: #A3341A; }
.ld .n.zero, .ld .n.zero span { color: var(--faint); }
.load .key { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); display: flex; gap: 16px; align-items: center; }
.load .key i { display: inline-block; width: 2px; height: 12px; background: var(--ink); vertical-align: -2px; margin-right: 6px; }

/* ---------- Minggu ini ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); }
.day { padding: 6px 12px 4px; border-left: 1px solid var(--rule); min-height: 92px; min-width: 0; }
.day:first-child { border-left: 0; }
.day.today { background: #FFF6E2; }
.day.short { min-height: 40px; }
.day h3 { margin: 0 0 6px; font: 600 12.5px var(--f-body); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.day.today h3 { color: var(--ink); }
.day h3 .tag { height: 18px; font-size: 10.5px; padding: 0 5px; }
.ev { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; margin-bottom: 5px; }
.ev .dv { margin-top: 3px; }
.ev .tag { height: 18px; font-size: 10.5px; padding: 0 5px; margin-right: 4px; }
.day .none { font-size: 12.5px; color: var(--faint); }
.week-empty { margin: 0 18px 12px; height: 36px; border: 1px dashed #D9D0C6; border-radius: 8px; display: flex; align-items: center; gap: 12px; padding: 0 14px; font-size: 13px; color: #3B3631; }

/* ---------- Jadwal, Tim, Vendor, Pengetahuan ---------- */
.btn.on { background: var(--yellow); }
.navmg { display: flex; gap: 6px; }
.navmg .btn { text-decoration: none; }
.skrol { overflow-x: auto; }
.empty-att.ben-saja { grid-template-columns: 170px 1fr; padding-top: 14px; }
.empty-att.ben-saja .ben { width: 128px; margin: 0 0 14px 22px; }
.empty-att.ben-saja .txt { padding: 8px 24px 20px 4px; }
.empty-att .siapa { margin: 0 0 14px; font-size: 13px; }
.blk-note.catat { margin: 0 18px 10px; }
.tl-key { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 10px 18px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tl-key span { display: inline-flex; align-items: center; gap: 6px; }
.tl-key b { font-weight: 600; color: var(--ink); }
.tl-key b.lewat { color: var(--red); }
.tl-key i.now { width: 2px; height: 14px; background: var(--orange); border: 0; }

/* lini masa: kolom kiri --lbl, kanan N minggu (--n) dengan garis minggu */
.tl { overflow-x: auto; padding: 0 18px 4px; }
.tl-in { --lbl: 230px; min-width: 880px; position: relative; }
.tl-head { display: grid; grid-template-columns: var(--lbl) 1fr; border-bottom: 1px solid var(--line); }
.tl-head .tl-lbl { padding: 8px 0; font-size: 12px; color: var(--muted); font-weight: 500; }
.tl-weeks { display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.tl-weeks .wk { padding: 6px 0 7px 6px; border-left: 1px solid var(--rule); font-size: 12px; color: var(--muted); line-height: 1.25; }
.tl-weeks .wk b { display: block; font-weight: 600; color: var(--ink); }
.tl-body { position: relative; }
.tl-proj { border-bottom: 1px solid var(--line); padding: 4px 0 6px; }
.tl-proj:last-child { border-bottom: 0; }
.tl-row { display: grid; grid-template-columns: var(--lbl) 1fr; align-items: center; min-height: 24px; }
.tl-row .tl-lbl { padding-right: 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-row .tl-lbl.muted { color: var(--faint); padding-left: 0; }
.tl-row .tl-lbl.dv-l { padding-left: 14px; display: flex; align-items: center; gap: 8px; color: #3B3631; }
.tl-ph { min-height: 30px; }
.tl-ph .tl-lbl { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.tl-ph .tl-lbl b { font-weight: 600; }
.tl-ph .tl-lbl .sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; margin: 0; }
.lane { position: relative; height: 24px; display: flex; align-items: center; background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px); background-size: calc(100% / var(--n)) 100%; }
.tl-ph .lane { padding-left: 6px; }
.lane .bar { position: absolute; top: 4px; bottom: 4px; border: 1.5px solid var(--ink); border-radius: 3px; background: #B9B0A6; }
.lane .bar.d-sales { background: var(--navy); } .lane .bar.d-lic { background: var(--red); } .lane .bar.d-kon { background: var(--sky); }
.lane .bar.d-mer { background: var(--yellow); } .lane .bar.d-evt { background: var(--pink); } .lane .bar.d-pos { background: var(--green); }
.lane .bar.d-fin { background: var(--rose); }
.lane .luar { padding-left: 6px; font-size: 12px; color: var(--faint); }
.tl-proj.batal { opacity: .6; }
.tl-hari { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--orange); pointer-events: none; }

/* Tim: divisi x minggu, sel beban / batas */
.tbl.tim { min-width: 1020px; }
.tbl.tim th, .tbl.tim td { padding-left: 6px; padding-right: 6px; }
.tbl.tim td { height: 40px; }
.tbl.tim th.num { line-height: 1.2; }
.tbl.tim th.num .sub { font-weight: 400; margin: 0; }
.tbl.tim .num { text-align: right; white-space: nowrap; width: 58px; }
.tbl.tim td.num.lewat { color: var(--red); font-weight: 600; background: #FDEFF1; }
.tbl.tim td.num.tanpa { color: var(--faint); }
.tbl.tim td.saran { white-space: normal; }
.tbl.tim .wc { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tbl.tim td.saran .pill { margin-right: 4px; }
.tbl.tim td:first-child { width: 190px; }

/* Vendor dan Konten */
.tbl.vnd { min-width: 760px; }
.tbl.vnd td { height: auto; padding-top: 10px; padding-bottom: 10px; vertical-align: top; }
.tbl.vnd td.teks { font-size: 13px; color: #3B3631; max-width: 280px; }
.tbl.vnd td.lebar { min-width: 200px; }
.tbl.knt { min-width: 760px; }
.tbl.knt td.tgl { white-space: nowrap; color: var(--muted); }
.tbl.knt .num, .tbl.knt th.num { text-align: right; }
.tbl .tautan { color: var(--sky-ink); }
.tbl .tautan:hover { text-decoration: underline; }

/* Pengetahuan: daftar teks yang bisa dibuka */
.pk { list-style: none; margin: 0; padding: 0; }
.pk li { border-top: 1px solid var(--rule); }
.pk-row { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 18px; cursor: pointer; }
.pk-row:hover { background: #FCFAF7; }
.pk-h { display: flex; align-items: center; gap: 10px; }
.pk-h b { font-weight: 600; }
.pk-row .isi { margin: 4px 0 0; color: #3B3631; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.pk-row.buka .isi { display: block; }

/* ---------- halaman Alur: strip 13 tahap, garis tahap per deal, tabel satu baris per deal (port alur.css) ---------- */
.alstrip { display: flex; align-items: stretch; padding: 11px 12px 8px 14px; margin-bottom: 0; }
.alstrip .grp { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.alstrip .gh { display: flex; align-items: baseline; gap: 8px; padding: 0 2px; background: transparent; border: 0; border-radius: 4px; text-align: left; cursor: pointer; }
.alstrip button.gh:hover .gn, .alstrip button.gh.on .gn { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.alstrip .gn { font: 400 18px/1 var(--f-head); }
.alstrip .gc { font-size: 12px; color: var(--muted); font-weight: 500; }
.alstrip .bm { display: block; font-size: 12.5px; color: #3B3631; padding: 2px 2px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.alstrip .bm b { font-weight: 600; color: var(--ink); }
.alstrip .bm.muted { color: var(--muted); }
.alstrip .chev { width: 10px; height: 24px; flex: none; align-self: center; margin: 30px 2px 0; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alstrip .cells { display: flex; gap: 2px; }
.alstrip .cell { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: stretch; padding: 3px 5px 4px; border-radius: 6px; border: 1px solid transparent; background: transparent; text-align: left; cursor: pointer; }
.alstrip .cell:hover { background: #FBF6EF; border-color: var(--line); }
.alstrip .cell.on { background: var(--pill-yellow); border: 1.5px solid var(--ink); }
.alstrip .cell .nm { font-size: 12px; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alstrip .cell .nm b { color: var(--ink); font-weight: 600; }
.alstrip .cell .ct { font: 600 21px/1.1 var(--f-body); margin-top: 1px; display: flex; align-items: center; gap: 6px; }
.alstrip .cell .vl { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alstrip .cell.nol .ct { color: #B8AFA6; }
/* sel tipis tahap tambahan: garis putus-putus di kiri, nempel sesudah sel induknya */
.alstrip .cell.tb { border-left: 1px dashed #CFC6BC; border-radius: 0 6px 6px 0; padding-left: 5px; }
.alstrip .off { flex: none; width: 96px; margin-left: 12px; padding-left: 12px; border-left: 1px dashed #D9D0C6; }
.alstrip .off .bm { border-bottom-color: #D9D0C6; }
.alstrip .off .cells { flex-direction: column; gap: 2px; padding-top: 2px; }
.alstrip .lu { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); padding: 3px 2px; }
.alstrip button.lu { width: 100%; background: transparent; border: 1px solid transparent; border-radius: 6px; font-family: inherit; cursor: pointer; text-align: left; }
.alstrip button.lu:hover { background: #FBF6EF; border-color: var(--line); }
.alstrip button.lu.on { background: var(--pill-yellow); border: 1.5px solid var(--ink); }
.alstrip .lu b { font: 600 16px/1 var(--f-body); color: var(--muted); }
.alstrip + .panel { margin-top: 12px; }
.nkb { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); display: inline-block; flex: none; }

.dots { display: inline-flex; align-items: center; gap: 7px; height: 14px; }
.dots .bk { display: inline-flex; align-items: center; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #C9BFB4; background: #fff; flex: none; }
.dots i.f { background: var(--ink); border-color: var(--ink); }
.dots i.now { width: 14px; height: 14px; border: 2px solid var(--ink); background: var(--sky); }
.dots i.now.telat { background: var(--orange); }
.dots i.now.batas { background: var(--pink); }
.dots i.now.putus { background: var(--yellow); }
.dots.done i { background: var(--green); border-color: var(--ink); }
.dots.besar { gap: 9px; height: 18px; }
.dots.besar .bk { gap: 4px; }
.dots.besar i { width: 12px; height: 12px; }
.dots.besar i.now { width: 17px; height: 17px; }

.ctl { display: flex; gap: 6px; align-items: center; margin: 10px 0 8px; }
.ctl .chip { flex: none; white-space: nowrap; height: 32px; padding: 0 11px; border-radius: 16px; font-size: 13px; background: var(--surface); }
.ctl .chip.on { background: var(--ink); }
.ctl .chip.nk::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); }
.ctl .chip.nk b { color: #A3341A; }
.ctl .chip.on.nk b { color: #fff; }
.ctl .div { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.ctl .sp { flex: 1; }
.ctl .sel-grup { display: inline-flex; gap: 6px; flex: none; }
.ctl .sel-f { flex: none; }
@media (min-width: 761px) { .ctl { flex-wrap: wrap; } }
.sel-f { position: relative; height: 32px; padding: 0 8px 0 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.sel-f select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 600 13px var(--f-body); color: var(--ink); padding: 0 20px 0 2px; height: 30px; cursor: pointer; max-width: 150px; }
.sel-f select:focus-visible { outline: none; }
.sel-f:focus-within { outline: 2px solid var(--sky-ink); outline-offset: 1px; }
.sel-f svg { position: absolute; right: 8px; width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 2; pointer-events: none; }

.dt { table-layout: fixed; }
.dt col.c-brand { width: 184px; } .dt col.c-garis { width: 198px; } .dt col.c-tahap { width: 170px; }
.dt col.c-sejak { width: 170px; } .dt col.c-uang { width: 92px; }
.dt td { height: 40px; overflow: hidden; white-space: nowrap; }
.dt td .main-c, .dt td .sub { overflow: hidden; text-overflow: ellipsis; display: block; }
.dt th { padding-top: 7px; padding-bottom: 7px; }
.dt th.num, .dt td.num { text-align: right; }
.dt td .sub { margin-top: 0; }
.dt td a.main-c:hover { text-decoration: underline; }
.dt tbody tr[data-id] { cursor: pointer; }
.dt .tn { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.dt .tn b { font-weight: 600; }
.dt .nx { font-weight: 500; }
.dt .nx.redup { color: var(--muted); font-weight: 400; }
.dt .wc { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.dt .wc .av.s { width: 18px; height: 18px; font-size: 9px; border-width: 1.25px; }
.dt .since .sj { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.dt .since .tag { height: 20px; font-size: 11px; padding: 0 6px; }
.dt td.num { font-weight: 500; }
.dt td.pot { color: var(--muted); }
.dt tr.sel td { background: #FFF5DC; }
.dt tr.sel td:first-child { box-shadow: inset 4px 0 0 var(--yellow); }
.dt tr.kosong td { height: 64px; color: var(--muted); white-space: normal; }
.dt tr.kosong .btn { margin-left: 8px; }

/* panel detail deal (Task 7): kepala, dua kolom (Perjalanan | Duit, Dokumen, Item), kaki */
.samping.lebar { width: min(690px, calc(100vw - 32px)); }
.samping.lebar .isi { padding: 0; display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.samping .isi .det-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.det-kepala { padding: 14px 20px 14px; border-bottom: 1px solid var(--line); }
.det-garis { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.det { margin: 0; display: grid; grid-template-columns: 1.1fr 1.5fr 1fr 1.2fr; gap: 10px 16px; }
.det div { min-width: 0; }
.det dt { font-size: 12px; color: var(--muted); }
.det dd { margin: 0; font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; }
.samping .isi .det-catat { font-size: 12.5px; color: var(--muted); margin: 0; }
.samping.lebar .status { padding: 20px; }
.det2 { display: grid; grid-template-columns: 1fr 1.18fr; flex: 1 1 auto; }
.det2-l { border-right: 1px solid var(--line); }
.det2-r { min-width: 0; }
.det-bag { padding: 14px 20px 6px; }
.det2-r .det-bag { padding-top: 14px; }
.det-bag h3 { font: 400 17px/1.1 var(--f-head); margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.det-bag h3 .c { font: 500 12px var(--f-body); color: var(--muted); }
.det-bag .dr { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }
.det-bag .dr b { font-weight: 600; white-space: nowrap; }
.det-bag .dr em { font-style: normal; color: var(--muted); font-size: 12px; }
.det-bag .dr a.doc { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.det-bag .kosong-k { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.det-bag .bar { display: block; position: relative; height: 12px; border: 1.5px solid var(--ink); border-radius: 3px; background: #fff; overflow: hidden; margin: 8px 0 6px; }
.det-bag .bar i { position: absolute; left: 0; top: 0; bottom: 0; }
.det-bag .bar i.tg { background: repeating-linear-gradient(135deg, #D8D0C6 0 3px, #fff 3px 6px); }
.det-bag .bar i.ms { background: var(--green); }
.det-bag .leg { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.det-bag .leg span { display: inline-flex; align-items: center; gap: 5px; }
.det-bag .leg i { width: 11px; height: 11px; border: 1.5px solid var(--ink); border-radius: 2px; display: inline-block; }
.det-bag .leg i.ms { background: var(--green); }
.det-bag .leg i.tg { background: #fff; }
.st { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 4px; font-size: 11.5px; font-weight: 500; background: var(--pill-grey); white-space: nowrap; }
.st.ok { background: var(--pill-green); }
.st.fin { background: var(--pill-sky); }
.st.tayang { background: var(--pill-green); }
.it { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.it th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 4px 0; border-bottom: 1px solid var(--line); }
.it td { padding: 4px 0; border-bottom: 1px solid var(--rule); }
.it .num { text-align: right; padding-right: 14px; }
.pj { list-style: none; margin: 0; padding: 0; position: relative; }
.pj li { position: relative; padding-left: 26px; }
.pj li.pj-b { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 0 4px 26px; }
.pj li.pj-b:first-child { padding-top: 0; }
.pj li.pj-r { padding-top: 3px; padding-bottom: 3px; font-size: 13px; line-height: 1.35; }
.pj li.pj-r::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.pj li.belum::before { background: #D9D0C6; }
.pj li.pj-b::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.pj li.pj-b:has(+ li.belum)::before { background: #D9D0C6; }
.pj li.pj-b:first-child::before { top: 50%; }
.pj li.pj-b + li.pj-r::before { top: 0; }
.pj .pj-t { position: absolute; left: 3px; top: 7px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); }
.pj li.belum .pj-t { background: #fff; border-color: #C9BFB4; }
.pj li.belum { color: var(--faint); }
.pj li.belum .pj-n b { font-weight: 500; }
.pj li.sekarang .pj-t { left: 0; top: 6px; width: 16px; height: 16px; background: var(--sky); }
.pj li.sekarang .pj-t.telat { background: var(--orange); }
.pj li.sekarang .pj-t.batas { background: var(--pink); }
.pj li.sekarang .pj-t.putus { background: var(--yellow); }
.pj .pj-n b { font-weight: 600; }
.pj .pj-c { margin: 6px 0 4px; padding: 8px 10px; background: #FFF5DC; border: 1.5px solid var(--ink); border-radius: 6px; }
.samping .isi .pj-c p { margin: 0 0 4px; font-size: 12.5px; color: var(--ink); }
.samping .isi .pj-c p:last-child { margin-bottom: 0; }
.pj .pj-k.redup { color: var(--muted); }
.pj .pj-p { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.pj .pj-p .av.s { width: 18px; height: 18px; font-size: 9px; border-width: 1.25px; }
.det-kaki { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.det-kaki .sp { flex: 1; }
.det-kaki a.btn { height: 34px; padding: 0 14px; border-width: 2px; }
@media (max-width: 760px) {
  .det { grid-template-columns: 1fr 1fr; }
  .det2 { grid-template-columns: 1fr; }
  .det2-l { border-right: 0; border-bottom: 1px solid var(--line); }
}

.bar-babak { display: none; }
.tk-h { display: none; }

/* ---------- halaman yang belum diisi, layar login dan galat ---------- */
.lain-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.belum { padding: 28px 24px; }
.belum h2 { font: 400 22px/1.1 var(--f-head); margin: 0 0 8px; }
.belum p { margin: 0 0 14px; color: #3B3631; max-width: 620px; }
.belum ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.layar { max-width: 560px; margin: 80px auto 0; padding: 28px 28px 24px; }
.layar h1 { font: 400 28px/1.1 var(--f-head); color: var(--red); text-transform: uppercase; margin: 0 0 10px; }
.layar p { margin: 0 0 18px; color: #3B3631; }

/* ---------- panel samping: nimpa sisi kanan, garis tegas, bayangan keras ala panel komik ---------- */
.samping { position: fixed; top: 16px; right: 16px; bottom: 44px; width: 440px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-panel); box-shadow: 6px 6px 0 var(--ink); z-index: 8; display: flex; flex-direction: column; }
.samping .ph { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.samping .isi { padding: 14px 18px 18px; overflow: auto; }
.samping .isi p { margin: 0 0 10px; color: #3B3631; }
.samping .isi code { display: block; white-space: pre-wrap; font: 500 12.5px/1.5 var(--f-body); background: var(--pill-grey); padding: 8px 10px; border-radius: 6px; margin: 0 0 10px; color: var(--ink); }
.samping .isi ol { margin: 0 0 10px; padding-left: 20px; }
.samping .isi li { margin-bottom: 6px; }

/* ================================================================ v3: komponen bersama (Task 13)
   Diambil dari mockup v3.css dan v3b.css, nama kelas v3. Dipakai berkas halaman (hal-*.js); gaya khusus satu halaman
   ditaruh di hal-<nama>.css. Tampilan HP komponen ini dibenerin di Task 22. */

/* ikon Finance di sidebar: gembok waktu kekunci, kartu waktu kebuka */
.nav a.lock .ik-buka, .nav a:not(.lock) .ik-kunci { display: none; }

/* lebar grid tambahan dan tumpukan kolom */
.s3 { grid-column: span 3; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s9 { grid-column: span 9; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mt { margin-top: 16px; }
a.ln { color: var(--sky-ink); font-weight: 500; }
a.ln:hover { text-decoration: underline; }
a.ln.tebal { font-weight: 600; }
.sub-s { font-size: 12px; color: var(--muted); }

/* ---------- .kepala: remah, judul merah, baris kunci-nilai (halaman project, client, persona) ---------- */
.kepala { margin: 0 0 12px; }
.kepala .remah { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.kepala .remah a { color: var(--sky-ink); font-weight: 500; }
.kepala .remah i { font-style: normal; color: #B8AFA6; }
.kepala .jdl { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: end; margin-bottom: 10px; }
.kepala .jdl .tt { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kepala .jdl h1 { font: 400 32px/1 var(--f-head); color: var(--red); text-transform: uppercase; letter-spacing: .01em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kepala .jdl .tag { height: 24px; font-size: 12px; }
.kepala .jdl .aksi { display: flex; gap: 8px; align-items: center; }
.kepala .jdl .aksi .btn { height: 34px; }
.kepala .kv { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 8px 6px; margin: 0; }
.kepala .kv > div { padding: 0 14px; border-left: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.kepala .kv > div:first-child { border-left: 0; }
.kepala .kv dt { font-size: 11.5px; color: var(--muted); margin: 0 0 2px; white-space: nowrap; }
.kepala .kv dd { margin: 0; font-weight: 600; font-size: 13.5px; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.kepala .kv dd .av.s { width: 22px; height: 22px; font-size: 10px; border-width: 1.5px; }
.kepala .kv dd small { font-weight: 400; color: var(--muted); font-size: 12px; }
.kepala .kv .nys { border: 1px dashed #CFC6BC; border-radius: 8px; padding: 4px 12px; margin: -2px 6px; background: repeating-linear-gradient(135deg, #FBF8F5 0 6px, #fff 6px 12px); }
.kepala .kv .nys dd { font-weight: 500; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.kepala .kv .grow { flex: 1; }

/* ---------- .tabmap: tab map kertas (Lilita One, garis hitam tebal), tab kekunci "khusus Finance" ---------- */
.tabmap { display: flex; gap: 4px; border-bottom: 2px solid var(--ink); margin: 0 0 14px; }
.tabmap a, .tabmap span.lock { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; font: 400 17px/1 var(--f-head); color: var(--muted); border: 2px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; margin-bottom: -2px; }
.tabmap a.on { color: var(--ink); background: var(--surface); border-color: var(--ink); box-shadow: 0 2px 0 var(--surface); }
.tabmap a.lock, .tabmap span.lock { color: var(--faint); font: 500 13px var(--f-body); cursor: default; }
.tabmap .lock svg { width: 15px; height: 15px; stroke: var(--faint); fill: none; stroke-width: 1.75; }
.tabmap .sp { flex: 1; }
.tabmap .ket { align-self: center; font-size: 12.5px; color: var(--muted); }

/* ---------- .nyusul: blok arsir putus-putus, data belum ada plus siapa yang ngisi (kosong tetap render) ---------- */
.nyusul { border: 1.5px dashed #CFC6BC; border-radius: 8px; padding: 10px 14px; background: repeating-linear-gradient(135deg, #FBF8F5 0 7px, #FFFFFF 7px 14px); display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: #3B3631; }
.nyusul .tag { flex: none; margin-top: 1px; }
.nyusul b { font-weight: 600; color: var(--ink); }
.nyusul p { margin: 0; }
.nyusul .siapa { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--muted); }
.nyusul .siapa .av.s { width: 18px; height: 18px; font-size: 9px; border-width: 1.25px; background: var(--pill-grey); }
.nyusul .sp { flex: 1; }
.nyusul .btn { flex: none; align-self: center; }
.tag.nys { background: #fff; border-style: dashed; border-color: #8C837A; color: var(--muted); font-weight: 600; }

/* ---------- .babak: strip tahap dengan angka besar per tahap (Leads, Project, Finance) ---------- */
.babak { display: flex; align-items: stretch; padding: 11px 12px 8px 14px; }
.babak .grp { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.babak .gh { display: flex; align-items: baseline; gap: 8px; padding: 0 2px; }
.babak .gh .more { margin-left: auto; }
.babak .gn { font: 400 18px/1 var(--f-head); }
.babak .gc { font-size: 12px; color: var(--muted); font-weight: 500; }
.babak .bm { display: block; font-size: 12.5px; color: #3B3631; padding: 2px 2px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.babak .bm b { font-weight: 600; color: var(--ink); }
.babak .bm.muted { color: var(--muted); }
.babak .chev { width: 10px; height: 24px; flex: none; align-self: center; margin: 30px 2px 0; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.babak .cells { display: flex; gap: 2px; }
.babak .cell { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: stretch; padding: 3px 5px 4px; border-radius: 6px; border: 1px solid transparent; }
.babak .cell .nm { font-size: 12px; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.babak .cell .nm b { color: var(--ink); font-weight: 600; }
.babak .cell .ct { font: 600 21px/1.1 var(--f-body); margin-top: 1px; display: flex; align-items: center; gap: 6px; }
.babak .cell .vl { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.babak .cell.nol .ct { color: #B8AFA6; }
.babak .nkb { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--orange); }

/* ---------- .diluar: kotak Di luar (Ditunda, Ga lanjut, Tahap belum diisi), ga dihitung di strip ---------- */
.diluar { flex: none; width: 150px; margin-left: 12px; padding-left: 12px; border-left: 1px dashed #D9D0C6; display: flex; flex-direction: column; min-width: 0; }
.diluar .gn { font: 400 18px/1 var(--f-head); }
.diluar .bm { display: block; font-size: 12.5px; color: var(--muted); padding: 2px 2px 7px; border-bottom: 2px solid #D9D0C6; margin-bottom: 4px; white-space: nowrap; }
.diluar .lu { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); padding: 3px 2px; }
.diluar .lu b { font: 600 16px/1 var(--f-body); color: var(--muted); }
.diluar .lu.kos b { color: #A3341A; }

/* ---------- .sb: bar stage 13 segmen (TL.barStage), stage kosong = segmen arsir ---------- */
.sb { display: inline-flex; gap: 1.5px; width: 132px; height: 12px; flex: none; vertical-align: middle; }
.sb i { flex: 1; min-width: 0; background: #E6DED5; border-radius: 1px; }
.sb i:first-child { border-radius: 3px 1px 1px 3px; }
.sb i:last-child { border-radius: 1px 3px 3px 1px; }
.sb i.f { background: var(--ink); }
.sb i.now { background: var(--sky); box-shadow: 0 0 0 1.5px var(--ink); border-radius: 2px; margin: 0 1px; flex: 1.5; }
.sb i.now.telat { background: var(--orange); }
.sb i.now.putus { background: var(--yellow); }
.sb i.now.batas { background: var(--pink); }
.sb i.kos { background: repeating-linear-gradient(135deg, #DCD3C9 0 2px, #fff 2px 4px); }
.sb i.lewat { background: #fff; border: 1px dashed #CFC5BA; box-sizing: border-box; opacity: .7; }
.sb.done i { background: var(--green); }
.sb.besar { width: 178px; height: 14px; }
.sn { display: block; }
.sn b { font-weight: 600; }
.sn small { font-size: 12px; color: var(--muted); margin-left: 6px; font-weight: 400; }
.sn.kos b { font-weight: 500; color: var(--muted); }
.stg-sel .sb { display: flex; margin-bottom: 4px; width: 178px; height: 9px; }
.stg-sel .sn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.kepala .kv dd .sn { display: inline-block; vertical-align: middle; margin-left: 8px; }

/* ================================================================ v3: komponen bersama halaman (Task 22)
   Satu sumber buat komponen yang dipakai lebih dari satu halaman atau disalin dari mockup tanpa awalan. Nilai dari
   mockup v3.css dan v3b.css (aturan terakhir yang menang di mockup). Berkas hal-*.css cuma boleh selektor berawalan
   halamannya sendiri (dicek test_css_halaman_pakai_awalan_sendiri). */

/* ---------- .kunci-uang: gembok kecil "Authority dan Finance" di judul panel atau judul halaman ---------- */
.kunci-uang { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.kunci-uang svg { width: 13px; height: 13px; stroke: var(--muted); fill: none; stroke-width: 2; }
.ph .kunci-uang { margin-left: 4px; }
.title .kunci-uang { margin-bottom: 3px; }
.tag.np { background: #fff; border-color: #8C837A; color: #3B3631; font-weight: 600; }

/* ---------- .kpis: baris angka uang (Finance, Project finance) ----------
   Padding 14/12, bukan 10/8 punya v3.css: di mockup dl-nya masih kena margin bawaan browser, jadi panelnya lebih tinggi. */
.kpis { display: flex; align-items: stretch; padding: 14px 6px 12px; margin: 0; }
.kpis > div { flex: 1 1 0; padding: 0 16px; border-left: 1px solid var(--rule); min-width: 0; }
.kpis > div:first-child { border-left: 0; }
.kpis dt { font-size: 12px; color: var(--muted); white-space: nowrap; }
.kpis dd { margin: 2px 0 0; font: 600 22px/1.15 var(--f-body); white-space: nowrap; }
.kpis dd small { display: block; font: 400 12px var(--f-body); color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.kpis dd.ok { color: #1C6B43; }
.kpis dd.late { color: #A3341A; }
.kpis .nyc { background: repeating-linear-gradient(135deg, #FBF8F5 0 7px, #fff 7px 14px); border: 1px dashed #CFC6BC !important; border-radius: 8px; padding: 6px 12px; margin: -4px 4px; }
.kpis .nyc dd { font: 500 12px var(--f-body); display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 4px; white-space: normal; }
.kpis .nyc dd small { margin: 0; }
.kpis .nyc + div { border-left: 0; }

/* ---------- .fbar, .fleg, .kbar: batang uang masuk / ditagih / belum plus legendanya ---------- */
.fbar { display: flex; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; margin: 8px 0 5px; }
.fbar i { display: block; height: 100%; border-right: 1.5px solid var(--ink); }
.fbar i:last-child { border-right: 0; }
.fbar .in { background: var(--green); }
.fbar .tg { background: repeating-linear-gradient(135deg, #D8D0C6 0 3px, #fff 3px 6px); }
.fbar .bl { background: #fff; }
.fleg { display: flex; gap: 14px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.fleg i { width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; display: inline-block; vertical-align: -1px; margin-right: 5px; }
.fleg i.in { background: var(--green); }
.fleg i.tg { background: repeating-linear-gradient(135deg, #D8D0C6 0 2px, #fff 2px 4px); }
.fleg i.bl { background: #fff; }
.kbar { padding: 0 22px 10px; display: flex; align-items: center; gap: 18px; }
.kbar .fbar { flex: 1; margin: 0; height: 12px; }

/* ---------- tabel uang: .ft (Project finance), .vt (Finance vendor), .ct (Client, dengan tfoot total) ---------- */
.ft td { height: 40px; }
.ft td.num, .ft th.num { text-align: right; }
.ft td.num { font-weight: 500; white-space: nowrap; }
.ft .late, .ph .late { white-space: nowrap; }
.vt td { height: 42px; }
.vt td.num, .vt th.num { text-align: right; }
.vt td.num { font-weight: 600; white-space: nowrap; }
.vt .tag { height: 20px; font-size: 11px; padding: 0 6px; }
.vt tr.sep td { height: 28px; background: var(--raised); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt td .sub { display: block; }
.ct td { height: 46px; }
.ct td.num, .ct th.num { text-align: right; }
.ct td.num { font-weight: 600; white-space: nowrap; }
.ct tfoot td { font-weight: 600; border-top: 1.5px solid var(--ink); border-bottom: 0; height: 40px; padding: 0 12px; }
.ct tfoot td:first-child { padding-left: 18px; }
.ct tfoot td:last-child { padding-right: 18px; }
.ct .pill { height: 20px; font-size: 11.5px; }
.ct td .sub { display: block; }

/* ---------- .due2: daftar jatuh tempo (keluar rose, masuk hijau, milestone wajik kuning) ---------- */
.due2 { list-style: none; margin: 0; padding: 0 18px 10px; }
.due2 li { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; height: 32px; border-bottom: 1px solid var(--rule); font-size: 13px; position: relative; padding-left: 22px; }
.due2 li:last-child { border-bottom: 0; }
.due2 li::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: 1.5px solid var(--ink); border-radius: 2px; background: #B9B0A6; }
.due2 li.out::before { background: var(--rose); }
.due2 li.in2::before { background: var(--green); }
.due2 li.ms2::before { background: var(--yellow); transform: rotate(45deg); }
.due2 li.ms2 { background: #FFF6E2; }
.due2 em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.due2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.due2 b { font-weight: 600; }

/* ---------- .board: papan BAST sampai lunas (Finance), kartu .fc, .subhd, .lunas ---------- */
.board-wrap { position: relative; }
.board { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 0; padding: 0 0 10px; }
.board .col { padding: 0 12px; border-left: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.board .col:first-child { border-left: 0; padding-left: 18px; }
.board .col:last-child { padding-right: 18px; }
.board .chd { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.board .chd .t { display: flex; align-items: baseline; gap: 8px; }
.board .chd .t b { font: 400 18px/1 var(--f-head); }
.board .chd .t span { font-size: 12px; color: var(--muted); font-weight: 500; }
.board .chd .t em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 14px; }
.board .chd small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.fc { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; font-size: 12.5px; line-height: 1.35; }
.fc.tel { border: 1.5px solid var(--ink); background: #FFF3E6; }
.fc .a { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.fc .a b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fc .a b a, .fc .a b span { color: var(--ink); }
.fc .a b a:hover { text-decoration: underline; }
.fc .a em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.fc .c { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc .d { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12px; color: #3B3631; white-space: nowrap; }
.fc .d .av.s { width: 18px; height: 18px; font-size: 9px; border-width: 1.25px; }
.fc .d .sp { flex: 1; }
.fc .d .tag { height: 19px; font-size: 10.5px; padding: 0 5px; }
.subhd { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.subhd em { margin-left: auto; font-style: normal; letter-spacing: 0; text-transform: none; font-size: 13px; color: var(--ink); }
.subhd em.ok { color: #1C6B43; }
.lunas { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lunas li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 6px 10px; border-bottom: 1px solid var(--rule); font-size: 12.5px; line-height: 1.3; }
.lunas li:last-child { border-bottom: 0; }
.lunas li b { font-weight: 600; }
.lunas li small { color: var(--muted); font-size: 11.5px; grid-column: 1; }
.lunas li em { font-style: normal; font-weight: 600; color: #1C6B43; grid-row: 1 / 3; grid-column: 2; align-self: center; }

/* ---------- penanda titik timeline (project dan halaman Timeline) plus legendanya ----------
   Dua kosakata kelas, satu gaya: .pn.wajik / .pn.bulat dengan isi, kini, nunggu, telat (project, logika-proyek.js) dan
   .ms (wajik) / .pd (bulat) dengan done, pending, putus, telat (Timeline, logika-timeline.js, nama dari mockup).
   .ms dan .pd cuma di dalam .lane dan .tl-key2: .ms juga dipakai batang duit panel deal (.det-bag .bar i.ms). */
.pn, .lane .ms, .lane .pd, .tl-key2 .ms, .tl-key2 .pd { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1.5px solid var(--ink); background: #fff; z-index: 1; }
.pn.wajik, .lane .ms, .tl-key2 .ms { transform: rotate(45deg); }
.pn.bulat, .lane .pd, .tl-key2 .pd { border-radius: 50%; }
.pn.wajik.isi, .lane .ms.done, .tl-key2 .ms.done { background: var(--ink); }
.pn.bulat.isi, .lane .pd.done, .tl-key2 .pd.done { background: var(--green); }
.pn.kini { background: var(--sky); }
.pn.nunggu, .lane .ms.putus, .lane .pd.putus, .tl-key2 .ms.putus, .tl-key2 .pd.putus { background: var(--yellow); }
.pn.telat, .lane .ms.telat, .lane .pd.telat, .tl-key2 .ms.telat, .tl-key2 .pd.telat { background: var(--orange); }
.pn.batang { width: 14px; height: 9px; border-radius: 2px; background: var(--pill-sky); }
.tl-key2 { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 7px 18px 9px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.tl-key2 > span { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.tl-key2 .pn, .tl-key2 .ms, .tl-key2 .pd { position: static; margin: 0; width: 10px; height: 10px; }
.tl-key2 i.now { width: 2px; height: 12px; background: var(--orange); border: 0; }

/* ---------- HP (lebar sampai 760): sidebar dilipat jadi bar atas + navigasi bawah ----------
   Blok ini sengaja paling akhir: aturan HP harus sesudah aturan dasar yang sama kuatnya, termasuk komponen v3. */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .app { display: block; padding-bottom: 96px; }
  .side, .top { display: none; }
  .main { padding: 0 16px 16px; }
  .hbar { height: 52px; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; background: var(--ground); z-index: 4; border-bottom: 1px solid var(--line); margin: 0 -16px 0; padding: 0 16px; }
  .hbar img { width: 104px; display: block; }
  .hbar .sp { flex: 1; }
  .bnav { position: fixed; left: 0; right: 0; bottom: 0; height: 68px; background: var(--surface); border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: repeat(5, 1fr); z-index: 6; padding-bottom: 6px; }
  .bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; color: var(--muted); }
  .bnav a svg { width: 22px; height: 22px; stroke: var(--muted); }
  .bnav a .ib { width: 44px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid transparent; }
  .bnav a.on { color: var(--ink); font-weight: 600; }
  .bnav a.on .ib { background: var(--yellow); border-color: var(--ink); }
  .bnav a.on svg { stroke: var(--ink); }
  .bar-bottom { display: none; }
  .title { flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 14px 0 14px; }
  .title h1 { font-size: 26px; }
  .title p { order: 3; flex-basis: 100%; font-size: 14px; line-height: 1.4; }
  .grid { display: block; }
  .grid > .panel { margin-bottom: 14px; }
  .ph { padding: 12px 14px 8px; flex-wrap: wrap; }
  .ms-key { display: none; }
  .strip { overflow-x: auto; padding: 8px 14px 10px; scrollbar-width: none; }
  .strip .grp { flex: none; }
  .strip .bm { font-size: 12.5px; }
  .strip .off { width: 104px; }
  .chips { margin-left: 0; overflow-x: auto; flex-basis: 100%; scrollbar-width: none; }
  .chip { flex: none; height: 30px; }
  .att .tbl thead, .att col { display: none; }
  .att table, .att tbody, .att tr { display: block; width: 100%; }
  .att tr { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px 14px; align-items: center; border-top: 1px solid var(--rule); }
  .att .tbl td { display: block; height: auto; padding: 0 !important; border: 0; overflow: visible; }
  .att .tbl td:first-child { grid-column: 1 / -1; }
  .att .what { white-space: normal; flex-wrap: wrap; }
  .att .main-c { white-space: normal; }
  .att .tbl td .sub { padding-left: 0; white-space: normal; }
  .att .tbl td.pic { grid-column: 1; font-size: 12.5px; }
  .att .tbl td.since { grid-column: 2; grid-row: 2; text-align: right; }
  .att .tbl td.go { display: none; }
  .peek { right: 12px; top: -30px; width: 52px; }
  .peek-note { display: none; }
  .empty-att { grid-template-columns: 1fr; }
  .empty-att .ben, .note-ben { display: none; }
  .empty-att .txt { padding: 0 14px 14px; }
  .setup li { grid-template-columns: 22px 1fr; height: auto; padding: 8px 12px; white-space: normal; }
  .setup li span { grid-column: 2; }
  .act { flex-wrap: wrap; }
  .ld { grid-template-columns: minmax(0, 1fr) 96px 40px; }
  .week { grid-template-columns: 1fr; }
  .day { border-left: 0; border-top: 1px solid var(--rule); min-height: 0; }
  .day.short { display: none; }
  .day.today.short { display: block; }
  .week-empty { height: auto; padding: 10px 12px; margin: 0 14px 12px; }
  .navmg { flex-basis: 100%; }
  .navmg .btn { flex: 1; justify-content: center; }
  .tl { padding: 0 14px 4px; }
  .tl-in { --lbl: 150px; }
  .empty-att.ben-saja { grid-template-columns: 1fr; padding-top: 0; }
  .empty-att.ben-saja .ben { display: block; width: 96px; margin: 12px 0 0 14px; }
  .empty-att.ben-saja .txt { padding: 6px 14px 16px; }
  .blk-note.catat { margin: 0 14px 10px; flex-wrap: wrap; }
  .bar-babak { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; }
  .bar-babak .bb { flex: 1 1 0; min-width: 0; height: 34px; padding: 0 4px; display: flex; align-items: center; justify-content: center; gap: 4px; font: 500 13px/1 var(--f-body); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; white-space: nowrap; }
  .bar-babak .bb b { font-weight: 600; }
  .bar-babak .bb.on { background: var(--pill-yellow); border: 1.5px solid var(--ink); }
  .bar-babak .bb-c { flex: none; color: var(--ink); font-size: 16px; line-height: 1; }
  .alstrip { overflow-x: auto; padding: 8px 12px 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .alstrip::-webkit-scrollbar { display: none; }
  .alstrip .grp { flex: none !important; }
  .alstrip .cell { flex: 0 0 auto; min-width: 64px; }
  .alstrip .cell.tb { min-width: 56px; }
  .alstrip .off { margin-right: 40px; }
  .skrol { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .ctl { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .ctl .chip, .ctl .sel-f { flex: none; }
  .ctl .sp, .ctl .div { display: none; }
  .dt thead, .dt colgroup { display: none; }
  .dt, .dt tbody, .dt tr { display: block; width: 100%; }
  .dt tr { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px 14px; align-items: center; border-top: 1px solid var(--rule); }
  .dt td { display: block; height: auto; padding: 0 !important; border: 0; white-space: normal; }
  .dt td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .dt td.num { display: block; grid-column: 2; grid-row: 1; text-align: right; font-size: 15px; }
  .dt td.num ~ td.num { display: none; }
  .dt td:nth-child(4) { grid-column: 1 / -1; grid-row: 2; }
  .dt td:nth-child(2) { grid-column: 1; grid-row: 3; padding-top: 4px !important; }
  .dt td:nth-child(3) { grid-column: 2; grid-row: 3; text-align: right; font-size: 12.5px; color: var(--muted); }
  .dt td:nth-child(3) .tn { overflow: visible; }
  .dt td:nth-child(3) .sub { display: none; }
  .dt td.since { grid-column: 1 / -1; grid-row: 4; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; }
  .dt td.since .sub { font-size: 12px; }
  .det { grid-template-columns: 1fr; }
  .samping, .samping.lebar { left: 0; right: 0; top: 0; bottom: 68px; width: auto; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; box-shadow: none; }
  .samping .ph { flex-wrap: nowrap; align-items: center; padding: 10px 14px; gap: 10px; }
  .samping .ph .btn { order: -1; flex: none; }
  .samping .ph .sp { display: none; }
  .samping .ph h2 { min-width: 0; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .belum { padding: 8px 0; }
  .belum ul { gap: 0; }
  .belum li a.btn { display: flex; width: 100%; height: 48px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; justify-content: flex-start; font-size: 15px; }
  .belum li:last-child a.btn { border-bottom: 0; }
  .tk-d { display: none; }
  .tk-h { display: inline; }
  .det-kaki { padding: 10px 14px; border-radius: 0; }

  /* ---- v3 komponen bersama (Task 22), ikut hp-project.png: kepala jadi kartu kunci-nilai, strip tahap digeser ---- */
  .kepala { margin: 12px 0 12px; }
  .kepala .remah > :not(:first-child) { display: none; }
  .kepala .remah > :first-child::before { content: "\2039\00a0"; }
  .kepala .jdl { display: block; margin-bottom: 10px; }
  .kepala .jdl .tt { flex-wrap: wrap; gap: 8px; }
  .kepala .jdl h1 { font-size: 25px; white-space: normal; line-height: 1.05; min-width: 0; overflow-wrap: anywhere; }
  .kepala .jdl .aksi { margin-top: 10px; flex-wrap: wrap; }
  .kepala .kv { flex-direction: column; padding: 4px 14px; }
  .kepala .kv > div { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; padding: 6px 0; border-left: 0; border-top: 1px solid var(--rule); max-width: none; }
  .kepala .kv > div:first-child { border-top: 0; }
  .kepala .kv dt { font-size: 12.5px; margin: 0; flex: none; max-width: 45%; white-space: normal; }
  .kepala .kv dd { white-space: normal; flex-wrap: wrap; justify-content: flex-end; text-align: right; min-width: 0; }
  .kepala .kv .nys { margin: 6px 0; padding: 8px 10px; flex-direction: column; align-items: flex-start; }
  .kepala .kv .nys dd { justify-content: flex-start; text-align: left; }
  .tabmap { overflow-x: auto; scrollbar-width: none; }
  .tabmap::-webkit-scrollbar { display: none; }
  .tabmap a, .tabmap span.lock { flex: none; }
  .tabmap .ket { display: none; }
  .babak { overflow-x: auto; padding: 8px 12px 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .babak::-webkit-scrollbar { display: none; }
  .babak .grp { flex: none; }
  .babak .cell { flex: 0 0 auto; min-width: 64px; }
  .diluar { margin-right: 40px; }
  .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 0; padding: 12px 4px 10px; }
  .kpis > div { padding: 0 12px; border-left: 0; }
  .kpis > div:nth-child(even) { border-left: 1px solid var(--rule); }
  .kpis dd { font-size: 18px; white-space: normal; }
  .kpis .nyc { margin: 0 4px; }
  .kbar { flex-direction: column; align-items: stretch; gap: 6px; padding: 0 14px 12px; }
  .kbar .fbar { flex: none; }
  .fleg { flex-wrap: wrap; white-space: normal; gap: 4px 14px; }
  .board { grid-template-columns: 1fr; gap: 14px; }
  .board .col, .board .col:first-child, .board .col:last-child { border-left: 0; padding: 0 14px; }
  .due2 { padding: 0 14px 10px; }
  .due2 li { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; padding-left: 18px; }
  .tfoot { flex-wrap: wrap; }
  .tfoot .kunci-uang { white-space: normal; align-items: flex-start; }
  .tl-key2 { padding: 8px 14px 12px; }
}

/* Satu baris lingkup project di Finance dan Client (saya.fin_lingkup) */
.lingkup { margin: 0 0 14px; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--pill-yellow); font-size: 13.5px; line-height: 1.4; }
.lingkup b { font-weight: 600; }
