:root{
  --ink:#16202F; --muted:#5A6678; --hair:#DCE1E9; --ground:#F3F5F8; --navy:#1B3A6B; --teal:#2A8C96;
  --brass:#A47A3F; --side:#11213B; --warn-bg:#FBF4E8; --warn-ink:#6B4510;
}
*{box-sizing:border-box}
body{margin:0;background:var(--ground);color:var(--ink);font-family:'IBM Plex Sans',system-ui,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;font-size:14px}
a{color:inherit;text-decoration:none}
h1{margin:0;font-size:28px;font-weight:600;letter-spacing:-0.01em}
h2{margin:0;font-size:16px;font-weight:600}
.sub{font-size:13px;color:var(--muted);font-weight:400}
.lbl{font-size:12px;color:var(--muted)}

.shell{display:flex;flex-wrap:wrap;min-height:100vh}
.side{flex:0 0 232px;background:var(--side);color:#C9D4E5;padding:28px 20px;display:flex;flex-direction:column;gap:32px}
.brand{display:flex;flex-direction:column;gap:2px;padding:0 8px}
.brand-name{font-size:19px;font-weight:600;color:#fff;letter-spacing:.01em}
.brand-sub{font-size:12px;color:#8FA3C2}
.side nav{display:flex;flex-direction:column;gap:4px}
.side nav a{padding:10px 12px;border-radius:6px;font-size:14px}
.side nav a.on{background:#1D3558;color:#fff;font-weight:500}
.side-foot{margin-top:auto;padding:0 8px;font-size:12px;line-height:1.6;color:#8FA3C2}
.side-foot strong{color:#fff;font-weight:500;font-size:13px}

main{flex:999 1 640px;min-width:0;padding:36px 44px 56px;display:flex;flex-direction:column;gap:32px}
.top{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 32px}
.top .sub{display:block;margin-top:4px}
.filters{margin-left:auto;display:flex;flex-wrap:wrap;gap:16px 22px;align-items:flex-end}
.filters.inline{margin-left:0;align-items:center}
.fld{display:flex;flex-direction:column;gap:4px}
.fld input,.fld select{width:132px;height:36px;border:0;border-bottom:1.5px solid #9AA6B8;background:transparent;font:500 14px inherit;font-family:inherit;color:var(--ink);padding:0 2px}
.fld input:focus,.fld select:focus{outline:2px solid #8DA7D0;outline-offset:2px}
.seg{display:flex;height:36px;border-radius:6px;background:#E3E8F0;padding:3px;gap:2px}
.seg button{border:0;border-radius:4px;background:transparent;color:#3F4C61;padding:0 12px;font:500 13px inherit;font-family:inherit;cursor:pointer}
.seg button.on{background:#fff;color:var(--navy);font-weight:600;box-shadow:0 1px 2px rgba(17,33,59,.15)}
.btn{display:inline-flex;align-items:center;height:36px;border:0;border-radius:6px;background:var(--navy);color:#fff;padding:0 18px;font:500 14px inherit;font-family:inherit;cursor:pointer}
.btn:hover{background:#244A86}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid #B5BECC;height:34px;padding:0 14px;font-size:13px}
.btn.ghost:hover{background:#EAEEF4}
#btn-proses{height:42px;padding:0 24px}
.lnk{font-size:13px;font-weight:500;color:#1B4F9C;text-decoration:underline;text-underline-offset:3px}

.empty{padding:20px 24px;border-radius:8px;background:var(--warn-bg);color:var(--warn-ink)}
.view{display:none;flex-direction:column;gap:32px}
.view.on{display:flex}

/* hero */
.hero{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px 56px;padding-bottom:32px;border-bottom:1px solid var(--hair)}
.hero-main{display:flex;flex-direction:column;gap:4px}
.big{font-size:76px;font-weight:500;line-height:1;letter-spacing:-0.03em;color:var(--navy)}
.big small{font-size:36px;color:var(--muted);margin-left:2px}
.hero-parts{display:flex;flex-wrap:wrap;gap:12px 56px;padding-bottom:6px}
.hero-parts>div,.hero-lt{display:flex;flex-direction:column;gap:3px}
.num{font-size:34px;font-weight:500;line-height:1.1}
.num small{font-size:15px;color:var(--muted);font-weight:400}
.hero-lt{margin-left:auto;text-align:right;padding-bottom:6px}

.row{display:flex;flex-wrap:wrap;gap:36px 56px;align-items:flex-start}
.row.ruled{padding-top:32px;border-top:1px solid var(--hair)}
.ruled-b{padding-bottom:32px;border-bottom:1px solid var(--hair)}
.pad{display:flex;flex-direction:column;gap:14px}
.col{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:12px}
.col.grow{flex:999 1 400px}
.col.side-col{flex:1 1 300px}

.bars{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.bar .bl{display:flex;justify-content:space-between;font-size:14px;margin-bottom:5px}
.bar .bl span:first-child{font-weight:500}
.bar .bl span:last-child{font-weight:600}
.bar .tr{height:8px;background:#E3E8F0;border-radius:4px}
.bar .fl{height:8px;border-radius:4px;min-width:4px}
.warnbox{background:var(--warn-bg);border-radius:8px;padding:20px 22px;gap:10px}
.warnbox h2{color:var(--warn-ink)}
.kv{display:flex;justify-content:space-between;gap:16px}
.warnlnk{color:var(--warn-ink);margin-top:6px}

/* tabel */
.scroll{overflow-x:auto}
.t{border-collapse:collapse;width:100%}
.t th{padding:8px 10px;text-align:left;font-weight:500;font-size:12px;color:var(--muted);border-bottom:1.5px solid var(--ink);white-space:nowrap}
.t td{padding:10px;border-bottom:1px solid #E3E7ED}
.t .r{text-align:right}
.t.wide{min-width:1200px;font-size:13px}
.t.wide td{white-space:nowrap}
.t.wide td.it{max-width:320px;overflow:hidden;text-overflow:ellipsis}
.scroll.tall{max-height:560px;overflow:auto}
.scroll.tall th{position:sticky;top:0;background:var(--ground);z-index:1}
.t.plain td{padding:11px 0}
.t.plain td:last-child{text-align:right;font-weight:600}
.t tr.f td{background:#FBF6EC}
.t tr.hi td:first-child{color:var(--navy);font-weight:600}
.pill{display:inline-block;border-radius:10px;padding:3px 9px;font-size:12px;font-weight:500;background:#F4EBDB;color:var(--warn-ink);white-space:nowrap}
.pill.e{background:#EBDDE2;color:#6A2E40}

/* loss time */
.top3{display:flex;flex-wrap:wrap;gap:24px 0}
.top3>div{flex:1 1 260px;min-width:0;padding:0 32px;border-left:1px solid var(--hair);display:flex;flex-direction:column;gap:14px}
.top3>div:first-child{padding-left:0;border-left:0}
.top3 .nm{display:flex;align-items:baseline;gap:12px;font-size:20px;font-weight:600}
.top3 .nm i{font-style:normal;font-size:14px;color:#8A5A1E}
.stats{display:flex;gap:44px}
.stats div{display:flex;flex-direction:column;gap:2px}
.stats b{font-size:34px;font-weight:500;line-height:1}
.stats span{font-size:13px;color:var(--muted)}
.legend-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px}
.legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin-left:auto;font-size:13px;color:#3F4C61}
.legend i{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.stack{display:flex;align-items:center;gap:16px;margin-top:14px}
.stack .nm{width:72px;font-weight:500}
.stack .tot{width:60px;text-align:right;font-weight:600}
.stack .tr{flex:1;display:flex}
.stack .sg{display:flex;gap:2px;height:30px}
.stack .sg div:first-child{border-radius:3px 0 0 3px}
.stack .sg div:last-child{border-radius:0 3px 3px 0}

/* upload */
.drop{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;border:1.5px dashed #9AA6B8;border-radius:8px;padding:14px 18px}
.drop.solid{border:1px solid var(--hair);border-style:solid}
.drop-t{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:2px}
.drop.ok .sub{color:#2F6B4A}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:6px}
.msg{font-size:13px;color:var(--muted)}
.msg.err{color:#8C1D18}

svg text{font-family:inherit}
@media (max-width:760px){main{padding:24px 18px 40px}.big{font-size:56px}.top3>div{padding:0;border-left:0}}

/* filter multi pilihan */
.ms{position:relative}
.ms-btn{width:150px;height:36px;border:0;border-bottom:1.5px solid #9AA6B8;background:transparent;text-align:left;font:500 14px inherit;font-family:inherit;color:var(--ink);padding:0 22px 0 2px;cursor:pointer;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-btn::after{content:"";position:absolute;right:4px;top:15px;border:5px solid transparent;border-top-color:#5A6678}
.ms-btn:focus-visible{outline:2px solid #8DA7D0;outline-offset:2px}
.ms-btn span{display:block;overflow:hidden;text-overflow:ellipsis}
.ms-pop{position:absolute;z-index:30;top:40px;left:0;min-width:200px;background:#fff;border:1px solid var(--hair);border-radius:8px;box-shadow:0 8px 24px rgba(17,33,59,.16);padding:6px}
.ms-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;font-size:14px}
.ms-row:hover{background:#EEF2F8}
.ms-row input{width:16px;height:16px;accent-color:var(--navy);margin:0}
.ms-sep{height:1px;background:var(--hair);margin:4px 6px}

.fld label{font-size:12px;color:var(--muted)}

.pill.ok{background:#DDEBE6;color:#245A45}
.t.wide td.ket{white-space:normal;min-width:420px;max-width:560px;line-height:1.45}
.t.temuan{min-width:0;table-layout:auto}
.t.temuan td.it{max-width:200px}
.t.temuan td.ket{min-width:300px;max-width:380px}
.t.temuan td.it{max-width:140px}
.t.temuan td.ket{min-width:250px;max-width:300px}
.t.temuan th,.t.temuan td{padding-left:8px;padding-right:8px}

.who{margin-top:14px;padding-top:12px;border-top:1px solid #243A5E;display:flex;flex-direction:column;gap:6px;color:#fff;font-size:13px;font-weight:500;word-break:break-word}
.lnk-btn{align-self:flex-start;background:none;border:0;padding:0;color:#9FB6DA;font:500 12px inherit;font-family:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lnk-btn:hover{color:#fff}
.pwform{display:flex;flex-direction:column;gap:16px;max-width:320px;margin-top:12px}
.pwform .fld input{width:100%}
.pill.pending{background:#FBF4E8;color:#6B4510}.pill.disabled{background:#EDEDED;color:#555}
.acts{display:flex;flex-wrap:wrap;gap:6px}
.acts .btn.ghost{height:30px;padding:0 10px;font-size:12px}
.side .seg.lang{height:28px;align-self:flex-start;margin-top:6px}
.side .seg.lang button{padding:0 10px;font-size:11px;letter-spacing:.04em}
